/* FAVORITES shelf — visual tile treatment. Sits BELOW and visibly apart from the shared NOW / HOT / WOW surfaces. */
#nhw-favorites { margin: 32px 0 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); font-family: inherit; color: inherit; }
.nhw-fav-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.nhw-fav-title { font-size: 18px; font-weight: 700; margin: 0; letter-spacing: .04em; }
.nhw-fav-note { font-size: 12px; opacity: .7; }
.nhw-fav-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; align-items: center; }
.nhw-fav-input { flex: 1 1 220px; min-height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: inherit; font: inherit; }
.nhw-fav-add, .nhw-fav-tool, .nhw-fav-undo, .nhw-fav-clear { min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.nhw-fav-tool:disabled { opacity: .3; cursor: default; }
.nhw-fav-msg { font-size: 12px; flex-basis: 100%; min-height: 1em; }
.nhw-fav-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; padding-bottom: 8px; }
.nhw-fav-card { flex: 0 0 min(260px, 78vw); scroll-snap-align: start; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 0 0 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; background: rgba(255,255,255,.03); transition: border-color .15s ease, transform .15s ease; }
.nhw-fav-card:hover { border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.nhw-fav-open { display: flex; flex-direction: column; gap: 0; min-height: 44px; color: inherit; text-decoration: none; }
/* --- visual tile: 16:9 media, the same card language as NOW / HOT / WOW --------------------------------------- */
.nhw-fav-media { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--nhw-a, #2a2f3a), var(--nhw-b, #14161b)); overflow: hidden; }
.nhw-fav-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: inherit; }
.nhw-fav-monogram { font-size: 34px; font-weight: 800; letter-spacing: .04em; color: rgba(255,255,255,.92); }
.nhw-fav-badge { position: absolute; left: 8px; top: 8px; max-width: calc(100% - 16px); padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(0,0,0,.62); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nhw-fav-text { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 0; }
.nhw-fav-name { font-weight: 600; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nhw-fav-sub { font-size: 12px; opacity: .7; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
/* every card in the row is the same height, whatever the length of its title */
.nhw-fav-row { align-items: stretch; }
.nhw-fav-open { flex: 1 1 auto; }
.nhw-fav-text { flex: 1 1 auto; }
.nhw-fav-tools { margin-top: auto; padding-top: 10px; }
.nhw-fav-tools, .nhw-fav-foot { display: flex; gap: 8px; flex-wrap: wrap; }
.nhw-fav-tools { padding: 0 12px; }
.nhw-fav-foot { margin-top: 10px; }
.nhw-fav-group { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .75; margin: 6px 0 8px; }
/* integrated placement: a sibling below the shared public NOW / HOT / WOW surfaces */
#nhw-favorites { display: block; max-width: 100%; }
.nhw-fav-pick { min-height: 44px; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: inherit; font: inherit; max-width: 60vw; }
.nhw-fav-pick option { color: #111; }
.nhw-fav-addurl { min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.nhw-fav-empty { opacity: .7; margin: 4px 0; }
.nhw-fav-open:focus-visible, .nhw-fav-tool:focus-visible, .nhw-fav-add:focus-visible, .nhw-fav-addurl:focus-visible, .nhw-fav-input:focus-visible, .nhw-fav-pick:focus-visible { outline: 2px solid #d4af37; outline-offset: 2px; }
