/* Scoped presentation. The decorative background comes from the shared panel rules. */
.guest-home{min-height:100dvh;overflow:clip;--muted:#afbcaa}
.guest-content{min-width:0}
.guest-header,.guest-main,.guest-footer{max-width:1184px;margin:auto;padding-left:24px;padding-right:24px}
.guest-header{height:86px;border:0;display:flex;align-items:center;justify-content:space-between;gap:24px}
.guest-header .logo{font-size:17px;white-space:nowrap}
.guest-header nav{display:flex;gap:28px;align-items:center}
.guest-header nav a{font-size:14px;font-weight:600;color:#ccd7c5}
.guest-home a:hover{color:var(--lime)}
.guest-home :is(button,.button){min-height:44px;font-size:14px}
.guest-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.guest-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:56px;padding:62px 0 80px}
.guest-eyebrow{color:var(--lime);font-size:13px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
.guest-copy h1{font-size:clamp(36px,4.15vw,56px);line-height:1.06;letter-spacing:-.035em;margin:22px 0 24px;max-width:540px}
.guest-lead{font-size:18px;line-height:1.5;margin:0 0 24px;color:var(--muted)}
.guest-copy .guest-actions :is(button,.button){min-height:58px;padding:16px 25px}
.guest-privacy{display:flex;gap:10px;align-items:flex-start;margin:22px 0 0;color:var(--muted);font-size:13px}
.guest-privacy svg{width:16px;height:16px;flex:none;margin-top:3px;color:var(--lime)}
.guest-player{aspect-ratio:1.45;position:relative;border:1px solid #ffffff24;border-radius:24px;background:#121a12b8;min-width:0;margin-bottom:144px}
.guest-player>img,.guest-player>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:23px}
.guest-player [hidden],.guest-home [hidden],.guest-auth [hidden]{display:none!important}
.guest-player>video{cursor:pointer}
.guest-player :is(video,.guest-play,.guest-toggle){-webkit-tap-highlight-color:transparent}
.guest-player .guest-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:68px;height:68px;min-height:68px;border-radius:50%;background:var(--lime);color:#172013;border:0;padding:0;display:grid;place-items:center;z-index:1}
.guest-player .guest-play:hover{transform:translate(-50%,-50%) scale(1.04);background:#e0ffa8;color:#172013}
.guest-play svg{width:32px;height:32px}
.guest-player .guest-toggle{position:absolute;right:12px;bottom:12px;width:40px;height:40px;min-height:40px;padding:0;border:1px solid #ffffff24;border-radius:50%;background:#121a12b8;color:var(--lime);display:grid;place-items:center;z-index:2;opacity:0;pointer-events:none}
.guest-toggle svg{width:20px;height:20px}
.guest-player.guest-controls-visible .guest-toggle,.guest-player:focus-within .guest-toggle{opacity:1;pointer-events:auto}
.guest-player :is(.guest-toggle,.guest-play):focus-visible{outline:2px solid var(--lime);outline-offset:4px}
@media(hover:none),(pointer:coarse),(any-pointer:coarse){.guest-player .guest-toggle{opacity:1;pointer-events:auto}}
.guest-idea{position:absolute;left:-24px;top:calc(100% - 24px);width:min(330px,calc(100% - 76px));border:1px solid #6d873b;border-radius:17px;padding:14px 16px;background:#121a12ed;backdrop-filter:blur(12px);display:grid;gap:3px}
.guest-idea .guest-type{position:static;justify-self:start;margin:3px 0;max-width:100%}
.guest-idea strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:16px;line-height:1.35;overflow-wrap:anywhere}
.guest-idea a{color:var(--lime);font-size:14px;font-weight:650;min-height:30px;display:flex;align-items:center}
.guest-media-message{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:70px 24px;text-align:center;color:var(--muted);font-size:14px}
.guest-section{padding:0 0 82px;scroll-margin-top:24px}
.guest-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}
.guest-home h2{font-size:32px;line-height:1.18;letter-spacing:-.025em;margin:6px 0 0}
.guest-heading p{font-size:14px;color:var(--muted);margin:9px 0 0}
.guest-heading>.button{flex:none}
.guest-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.guest-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
.guest-card{border:1px solid #ffffff16;border-radius:20px;padding:25px;background:#121a12cf;min-width:0}
.guest-card h3{font-size:18px;line-height:1.3;margin:12px 0 10px;letter-spacing:0}
.guest-card p{font-size:15px;color:var(--muted);margin:0;line-height:1.55}
.guest-step{width:34px;height:34px;display:grid;place-items:center;background:#cfef6b22;color:var(--lime);border-radius:50%;font-weight:750}
.guest-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;color:var(--lime);background:#cfef6b1c}
.guest-icon svg{width:21px;height:21px}
.guest-chip{display:inline-flex;align-items:center;border-radius:20px;background:#ffffff0b;padding:3px 10px;font-size:13px;color:#d7e1d0;line-height:1.5;white-space:normal}
.guest-chip.accent{background:#b6e04e20;color:var(--lime)}
.guest-trend-skeleton{background:#121a12cf;border:1px solid #ffffff16;border-radius:20px}
.guest-trend-skeleton::before{content:"";display:block;aspect-ratio:4/5}.guest-trend-skeleton::after{content:"";display:block;height:112px}
.guest-empty{min-height:320px;grid-column:1/-1;color:var(--muted)}
.guest-pack{padding:22px}
.guest-pack>span{font-size:13px;color:var(--muted)}
.guest-pack h3{font-size:21px;margin:3px 0}
.guest-pack>strong{display:block;color:var(--lime);font-size:34px;line-height:1.4;letter-spacing:-.03em}
.guest-pack p{font-size:13px}
.guest-pack button{margin-top:14px;width:100%}
.guest-purchase-terms{font-size:13px;color:var(--muted);margin:8px 0 0}
.guest-cta{display:flex;align-items:center;justify-content:space-between;gap:30px;background:#121a12c9;border:1px solid #b5d85e66;border-radius:28px;padding:48px;margin:0 0 64px}
.guest-cta h2{font-size:36px}
.guest-cta p{color:var(--muted);font-size:16px;margin:10px 0 0}
.guest-cta .guest-actions{flex-shrink:0}
.guest-footer{display:flex;justify-content:space-between;gap:20px;padding-top:24px;padding-bottom:40px;border-top:1px solid #ffffff16;font-size:13px;color:var(--muted)}
.guest-footer nav{display:flex;gap:22px;flex-wrap:wrap}
.guest-footer a{display:inline-flex;align-items:center;min-height:44px}
.guest-footer>span{padding-top:12px}
body:has(#auth[open]){overflow:hidden}
#auth.guest-auth{padding:0;width:min(900px,calc(100% - 40px));max-width:900px;max-height:calc(100dvh - 40px);border-radius:24px;border-color:#ffffff26;background:#121a12e8;box-shadow:0 32px 100px #0007;overflow:auto;font-size:14px;color:var(--fg)}
#auth.guest-auth::backdrop{background:rgba(0,0,0,.6);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.auth-layout{display:grid;grid-template-columns:.94fr 1.06fr;min-height:560px}
.auth-promo{padding:38px 36px;border-right:1px solid #ffffff17;background:#121a1255;display:flex;flex-direction:column;justify-content:space-between;gap:40px}
.auth-brand{display:flex;gap:11px;align-items:center;font-weight:750;font-size:16px}
.auth-promo h2{font-size:38px;letter-spacing:-.03em;line-height:1.12;margin:18px 0}
.auth-promo p{color:#b4c1ae;font-size:15px;line-height:1.6}
.auth-promo ul{list-style:none;padding:0;margin:28px 0;display:grid;gap:18px;font-size:14px;color:#d8e2d1}
.auth-promo li{position:relative;padding-left:27px}
.auth-promo li::before{content:'✓';position:absolute;left:0;color:var(--lime)}
.auth-promo .auth-promo-foot{font-size:13px;margin:0}
.auth-form-panel{padding:30px 38px 20px;min-width:0}
#auth .auth-close{position:absolute;top:8px;right:8px;width:44px;height:44px;padding:0;background:transparent;border:0;font-size:27px;z-index:2;color:#c9d5c2}
.auth-tabs{display:flex;background:#ffffff06;padding:4px;border:1px solid #ffffff15;border-radius:12px;margin:12px 0 16px}
.auth-tabs button{flex:1;min-height:44px;border:0;background:transparent;font-size:14px;color:#b4c1ae}
.auth-tabs button[aria-selected=true]{background:#cfef6b1c;color:var(--lime);font-weight:650}
#auth-title{font-size:28px;letter-spacing:-.025em;line-height:1.2;margin:0 0 18px}
#auth.guest-auth button,#auth.guest-auth .button{min-height:44px;font-size:14px}
#auth.guest-auth .auth-close{font-size:27px}
#auth .auth-telegram{background:#ffffff06;border-color:#ffffff2a;height:50px}
.auth-divider{display:flex;align-items:center;gap:12px;color:#b4c1ae;font-size:13px;margin:14px 0 8px}
.auth-divider::before,.auth-divider::after{content:'';height:1px;background:#ffffff18;flex:1}
#auth.guest-auth label{font-size:13px;color:#cad6c3;margin:10px 0 7px}
#auth.guest-auth input:not([type=checkbox]){height:50px;border-radius:12px;font-size:16px;padding:12px 14px;background:#0b130c80;border:1px solid #ffffff26;box-shadow:none;outline:none}
#auth.guest-auth input::placeholder{color:#9eaf98;opacity:1;font-size:14px}
#auth.guest-auth input:focus{border-color:rgba(207,243,107,.7);box-shadow:0 0 0 3px rgba(207,243,107,.18);outline:none}
.auth-password-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
#auth .auth-password-label label{margin:0}
#auth.guest-auth .link{padding:0 3px;color:var(--lime);font-size:13px;min-height:44px}
.auth-password-wrap{position:relative}
#auth.guest-auth .auth-password-wrap input{padding-right:52px}
#auth-password-toggle{position:absolute;right:3px;top:3px;width:44px;height:44px;padding:0;border:0;background:transparent;color:#b4c1ae}
.auth-help{font-size:13px;color:#b4c1ae;margin:8px 0;line-height:1.5}
#auth.guest-auth .auth-consent{display:flex;align-items:center;gap:11px;min-height:44px;line-height:1.5;margin:13px 0}
.auth-consent input{flex:none;width:20px;height:20px;accent-color:var(--lime);margin:0}
.auth-consent a{color:var(--lime);text-decoration:underline;text-underline-offset:3px}
#auth.guest-auth [aria-invalid=true]{border-color:#ef9a94!important;box-shadow:0 0 0 1px #ef9a94!important}
.auth-feedback{color:#ffb5ac;font-size:14px;line-height:1.45;margin:13px 0}
.auth-feedback.is-good{color:var(--lime)}
#authform>.primary{height:50px;margin-top:12px}
.auth-switch{display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;color:#b4c1ae;margin:8px 0 0}
#auth .auth-back{margin-top:12px}
@media(max-width:1100px){.guest-header{gap:14px}.guest-header nav{gap:14px}.guest-hero{gap:32px}.guest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guest-cta{padding:32px}.guest-cta .guest-actions{flex-direction:column;align-items:stretch}.guest-steps .guest-card:last-child{grid-column:1/-1}.guest-header .guest-actions{gap:8px}.guest-header .guest-actions button{padding:11px 12px}}
@media(max-width:900px){.guest-header{height:auto;min-height:86px;padding-top:16px;padding-bottom:16px;flex-wrap:wrap}.guest-header nav{order:3;justify-content:center;width:100%}.guest-hero{padding-top:40px;gap:28px}.guest-copy h1{font-size:40px}.guest-lead{font-size:16px}.guest-idea{left:-12px}.guest-hero .guest-actions{align-items:stretch;flex-direction:column}.guest-cta h2{font-size:30px}}
@media(max-width:719px){.guest-hero{grid-template-columns:1fr;padding-bottom:64px;gap:36px}.guest-copy h1{max-width:560px}.guest-copy .guest-actions{flex-direction:row}.guest-player{width:100%;aspect-ratio:1.45}.guest-idea{left:12px}.auth-promo{display:none}.auth-layout{display:block;min-height:0}.auth-form-panel{max-width:480px;margin:auto;padding:40px 30px 24px}.guest-home h2{font-size:28px}.guest-section{padding-bottom:56px}.guest-cta{display:block}.guest-cta .guest-actions{flex-direction:row;margin-top:24px}.guest-footer{flex-direction:column;gap:8px}.guest-footer nav{gap:8px 18px}}
@media(max-width:540px){.guest-header,.guest-main,.guest-footer{padding-left:20px;padding-right:20px}.guest-header .logo{font-size:14px}.guest-header .logo img{width:28px;height:28px}.guest-header{gap:10px}.guest-header .guest-actions{margin-left:auto}.guest-header .guest-actions button{padding:10px;font-size:13px}.guest-header .logo{flex-basis:100%}.guest-header .guest-actions{margin-left:0;width:100%}.guest-header .guest-actions button{flex:1}.guest-header nav{justify-content:space-between;gap:10px}.guest-header nav a{font-size:13px;min-height:44px;display:flex;align-items:center}.guest-copy h1{font-size:40px;margin-top:18px}.guest-copy .guest-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.guest-copy .guest-actions :is(button,.button){padding:12px 10px;font-size:13px}.guest-grid{grid-template-columns:1fr}.guest-steps .guest-card:last-child{grid-column:auto}.guest-heading{align-items:start;gap:14px;flex-wrap:wrap}.guest-heading>.button{min-height:44px}.guest-card{padding:24px}.guest-cta{padding:28px 24px;margin-bottom:40px}.guest-cta .guest-actions{display:grid;grid-template-columns:1fr;width:100%}.guest-idea{padding:10px 12px}.guest-idea strong{font-size:14px}.guest-idea .guest-eyebrow{font-size:13px}.guest-player .guest-play{width:56px;height:56px;min-height:56px}.guest-footer nav{display:grid;grid-template-columns:1fr 1fr}.guest-footer nav a:last-child{grid-column:1/-1}#auth.guest-auth{margin:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0;border:0}.auth-form-panel{padding:54px 24px calc(24px + env(safe-area-inset-bottom))}.auth-tabs{margin-top:4px}.guest-auth .auth-layout{min-height:100%}.auth-form-panel #auth-title{font-size:28px}.guest-footer{padding-bottom:24px}}

/* Home uses the catalogue card component; only the section layout is local. */
#guest-trends{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"heading more" "cards cards" "status status";gap:24px 16px}
#guest-trends>.guest-heading{grid-area:heading;margin:0}
#guest-trends>.guest-all-trends{grid-area:more;align-self:end;text-align:center}
#guest-trend-grid{grid-area:cards;grid-template-columns:repeat(4,minmax(0,1fr))}
#guest-catalog-error{grid-area:status;margin:0}
.guest-home .trend-card-compact{background:#121a12cf;border-color:#ffffff16}
@media(max-width:1100px){#guest-trend-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){
 #guest-trends{grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "cards" "status" "more";row-gap:12px;margin-left:calc(16px - 24px);margin-right:calc(16px - 24px)}
 #guest-trends>.guest-heading{margin-bottom:8px}
 #guest-trend-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #guest-trends>.guest-all-trends{width:100%;justify-content:center}
 .guest-trend-skeleton::after{height:100px}
}
@media(max-width:540px){#guest-trends{margin-left:calc(16px - 20px);margin-right:calc(16px - 20px)}}
