/* Additions to the Home Cinema Advisor home: poster thumbnails in the hero tabs, streaming logos. */
.hero-feature-tab.has-thumb,.hero-feature-tab{display:flex;align-items:center;gap:12px;padding-right:14px}
.hero-thumb{width:34px;height:51px;border-radius:5px;object-fit:cover;flex:none;box-shadow:0 2px 10px rgba(0,0,0,.35);background:#1b1f1c}
.hero-thumb.studio{display:grid;place-items:center;font-size:15px;color:var(--lime);border:1px solid #dce9d759}
.hero-tab-text{min-width:0;display:block}
.hero-feature-tab em{display:block;font-style:normal;font-size:10px;letter-spacing:0;margin-top:3px;color:#daebc5a8}
.hero-feature-tab[aria-pressed=true] em{color:#eff4e1}
.hero-providers{display:flex;align-items:center;gap:12px;margin-top:22px;min-height:34px;font-size:12px;letter-spacing:.3px;color:#e1e8d2c7}
.hero-provider-logos{display:flex;gap:8px}
.hero-provider-logos img{width:32px;height:32px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.4)}
@media (max-width:900px){.hero-feature-tab em{display:none}.hero-thumb{width:28px;height:42px}}
@media (max-width:640px){.hero-feature-tab:not([aria-pressed=true]) .hero-tab-text{display:none}}

/* release radar */
.radar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:14px}
.radar-card{display:grid;grid-template-columns:96px 1fr;gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px}
.radar-poster{position:relative;aspect-ratio:2/3;border-radius:6px;overflow:hidden;background:#e4e7df;border:0;padding:0;cursor:pointer}
.radar-poster img{width:100%;height:100%;object-fit:cover;display:block}
.radar-days{position:absolute;left:6px;bottom:6px;font-size:8.5px;letter-spacing:1.5px;padding:4px 7px;border-radius:5px;background:var(--lime);color:var(--ink)}
.radar-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
.radar-copy time{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted)}
.radar-copy h3{margin:0;font-size:15px;font-weight:450;line-height:1.3}
.radar-copy p{margin:0;font-size:12px;color:var(--muted);line-height:1.5;flex:1}
.bell{align-self:flex-start;border:1px solid var(--ink);border-radius:999px;background:transparent;padding:7px 13px;font-size:12px;cursor:pointer;color:var(--ink);transition:.2s}
.bell:hover{background:#313535}
.bell.on{background:var(--ink);color:var(--lime);border-color:var(--ink)}
.alert-row{display:grid;grid-template-columns:44px 1fr auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.alert-row img{width:44px;height:66px;object-fit:cover;border-radius:5px;background:#333737}
.alert-row h3{margin:0;font-size:14px;font-weight:450}
.alert-row span{font-size:12px;color:var(--muted)}
.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,10px);opacity:0;background:var(--ink);color:#fff;padding:10px 16px;border-radius:999px;font-size:13px;transition:.3s;pointer-events:none;z-index:200}
.toast.show{transform:translate(-50%,0);opacity:1}
#alert-count{display:inline-block;min-width:18px;padding:1px 6px;border-radius:999px;background:var(--lime);color:var(--ink);font-size:10px;text-align:center;margin-left:4px}
@media (max-width:640px){.radar-card{grid-template-columns:78px 1fr}}

/* ad slots + affiliate */
.ad-slot{margin:0 0 42px;display:grid;gap:8px}
.ad-label{font-size:8.5px;letter-spacing:2px;color:var(--muted)}
.ad-box{min-height:120px;display:grid;place-items:center;border:1px dashed var(--line);border-radius:8px;background:var(--surface);color:var(--muted);font-size:12px;letter-spacing:.3px}
.gear-item{position:relative;min-width:0}
.gear-price{position:absolute;top:14px;right:14px;z-index:2;font-size:11px;letter-spacing:.3px;padding:6px 11px;border-radius:999px;background:var(--lime);color:var(--ink);transition:.2s}
.gear-price:hover{background:#cfe77f}
.gear-item .gear-card{width:100%}
.brand-logo{height:54px;width:auto;display:block;flex:none}
@media(max-width:700px){.brand-logo{height:42px}}

/* Charcoal tone (#222424), shared with the studio and Immersion. #161818 is the deeper band used for the top line and footer. */
.topline{background:#161818;color:#969a96}
.site-header{background:#222424f2;border-bottom:1px solid #373a3a}
.site-header nav a.active:after{background:#c5a77b}
.button:not(.dark){color:#161818}
.button.dark,.header-actions .button.dark{background:#c5a77b;color:#161818}
.button.dark:hover{background:#d4b98e}
.radar-days,#alert-count,.gear-price{color:#161818}
.bell.on{background:var(--lime);color:#161818;border-color:var(--lime)}
.toast{background:#3a3d3d;color:#e0e0d8;border:1px solid #4a4d4d}
footer{background:#161818;border-top:1px solid #2c2f2f}
footer .footer-bottom{border-top-color:#2c2f2f}
.brand-logo{height:54px;width:auto;display:block;flex:none}
@media(max-width:700px){.brand-logo{height:42px}.site-header nav{background:#1b1d1d;box-shadow:0 10px 20px #00000066}}

/* Journal cards are buttons, which centre their content vertically; keep them top-aligned and line the "Read the guide" rows up. */
.journal-card{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;height:100%}
.journal-card h3{flex:1 1 auto}

/* Phones: the header ✧ button is the only way into the AI advisor, so keep it (icon only). */
@media(max-width:700px){.header-actions .button{display:flex;align-items:center;justify-content:center;padding:7px 10px;font-size:16px}}

/* Country chip, confirm prompt and picker */
.region-chip{background:transparent;color:#dcdede;border:1px solid #373a3a;border-radius:999px;padding:6px 10px;font:inherit;font-size:12px;letter-spacing:.06em;cursor:pointer;white-space:nowrap}
.region-chip:hover{border-color:#c5a77b}
.region-prompt{margin:auto;max-width:min(420px,calc(100vw - 32px));background:#2a2d2d;color:#dcdede;border:1px solid #373a3a;border-radius:16px;padding:24px;text-align:center;box-shadow:0 20px 50px #00000080}
.region-prompt .region-actions{justify-content:center}
.region-prompt::backdrop,.region-dialog::backdrop{background:#16181899;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.region-prompt p{margin:0 0 16px;font-size:17px;line-height:1.5}
.region-prompt strong{font-weight:500;color:#c5a77b}
.region-actions{display:flex;gap:8px;flex-wrap:wrap}
.region-dialog{background:#2a2d2d;color:#dcdede;border:1px solid #373a3a;border-radius:16px;padding:22px;width:min(380px,calc(100vw - 32px))}
.region-dialog h2{margin:0 0 6px;font-size:20px;font-weight:400}
.region-dialog p{margin:0 0 14px;color:#858a8a;font-size:14px}
.region-dialog label{display:block;font-size:12px;letter-spacing:.08em;color:#858a8a;margin-bottom:6px}
.region-dialog select{width:100%;margin-bottom:16px;background:#222424;color:#dcdede;border:1px solid #373a3a;border-radius:10px;padding:10px;font:inherit}
@media(max-width:700px){.region-chip{padding:6px 8px;font-size:11px}}
.region-dialog .button:not(.dark),.region-prompt .button:not(.dark){background:transparent;color:#dcdede;border:1px solid #4a4d4d}
.region-dialog .button:not(.dark):hover,.region-prompt .button:not(.dark):hover{border-color:#c5a77b}

/* Monetisation off: ad slots stay hidden unless home.js turns the switch on. JustWatch credit next to provider logos and in the footer. */
.ad-slot[hidden]{display:none}
.hero-jw{font-size:10px;letter-spacing:.4px;color:#e1e8d2b3;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.hero-jw:hover{color:#fff}
.hero-providers{flex-wrap:wrap}
.footer-bottom a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.footer-bottom a:hover{color:#e0e0d8}

/* Equipment section and its links are hidden until MONETISATION is switched on in home.js. */
[data-equipment][hidden]{display:none!important}
@media(min-width:701px){.pathways:has(>a[data-equipment][hidden]){grid-template-columns:repeat(2,1fr)}}

a.text-button{text-decoration:none}
.inline-link{color:#c5a77b;text-decoration:none;white-space:nowrap}
.inline-link:hover{text-decoration:underline}

/* Account entry in the header */
.account-chip{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 12px;border:1px solid #4a4d4d;border-radius:999px;color:#dcdede;font-size:12px;letter-spacing:.04em;text-decoration:none;white-space:nowrap}
.account-chip:hover{border-color:#c5a77b}
.account-chip.is-member{padding:0;width:34px;background:#c5a77b;border-color:#c5a77b;color:#161818;font-weight:500}
.nav-account{display:none}
@media(max-width:700px){.account-chip{display:none}.site-header nav .nav-account{display:flex}}

/* Footer legal links: About, Contact, Privacy, Terms. Desktop: copyright left, links centred, credit right. */
.footer-legal{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 26px;font-size:11px;letter-spacing:.02em}
.footer-bottom .footer-legal a{text-decoration:none;color:#9a9f9f;padding:4px 0}
.footer-bottom .footer-legal a:hover{color:#e0e0d8;text-decoration:underline}
@media(min-width:901px){.footer-bottom{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}.footer-bottom>span:last-of-type{text-align:right}}
@media(max-width:900px) and (min-width:701px){.footer-bottom{flex-wrap:wrap}.footer-bottom .footer-legal{order:3;flex-basis:100%;justify-content:flex-start}}
@media(max-width:700px){.footer-legal{justify-content:flex-start;gap:6px 22px}}
