:root{--deep:#142932;--deep2:#203944;--slate:#293b45;--teal:#007e82;--cyan:#04a8ae;--lime:#b0cd36;--white:#f7faf9;--muted:#aebfc2;--line:rgba(255,255,255,.15);--panel:rgba(26,55,64,.90);--shadow:0 25px 85px rgba(0,0,0,.42)}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;background:var(--deep);color:var(--white);font-family:Inter,"Segoe UI",Arial,sans-serif}button,input,textarea{font:inherit}button{color:inherit}a{color:inherit;text-decoration:none}.app{height:100%;position:relative;background:linear-gradient(145deg,#142a33,#203944 62%,#162a32)}.screen{position:absolute;inset:0;display:none;overflow:hidden}.screen.active{display:flex}.page{flex-direction:column}.btn,.mini-btn{border:1px solid var(--line);background:rgba(255,255,255,.055);border-radius:12px;cursor:pointer;transition:.2s;display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn:hover,.mini-btn:hover{border-color:rgba(176,205,54,.72);background:rgba(176,205,54,.10);transform:translateY(-1px)}.btn.primary{border-color:transparent;background:var(--lime);color:#182d34;font-weight:850}.btn.primary:hover{background:#c2db49}.icon{width:40px;height:40px;padding:0}.kicker,.theatre-mode{font-size:9px;letter-spacing:.19em;text-transform:uppercase;color:var(--cyan);font-weight:850}
/* Unified profile opening */
.home.active{display:block}.profile-home-bg{position:absolute;inset:0;background:url('../../assets/img/hero-clean.webp') center/cover no-repeat;transform:scale(1.01)}.profile-home-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,29,35,.98) 0%,rgba(11,36,43,.92) 46%,rgba(6,23,28,.54) 76%,rgba(5,18,23,.35)),linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.34))}.profile-home-head{position:relative;z-index:2;height:76px;padding:0 4vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.11);background:rgba(18,39,48,.72);backdrop-filter:blur(15px)}.profile-brand{display:flex;align-items:center;gap:12px}.profile-brand>img:first-child{width:118px}.profile-brand>i{width:1px;height:32px;background:rgba(255,255,255,.28)}.profile-brand>img:last-child{width:45px;height:39px;object-fit:contain}.home-actions{display:flex;align-items:center;gap:8px}.mini-btn{padding:9px 12px;font-size:10px}.download-top{border-color:rgba(176,205,54,.50);color:#e1f070}.profile-home-main{position:relative;z-index:2;width:min(1180px,92vw);height:calc(100dvh - 112px);margin:auto;display:grid;grid-template-columns:minmax(330px,.82fr) minmax(600px,1.45fr);gap:58px;align-items:center;padding:30px 0 44px}.profile-intro{max-width:490px}.profile-intro h1{font-size:clamp(42px,4.8vw,67px);line-height:1.01;letter-spacing:-.045em;margin:17px 0 19px}.profile-intro p{font-size:15px;line-height:1.7;color:#c9d8da;margin:0;max-width:470px}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.choice{min-height:174px;text-align:left;padding:19px;border:1px solid var(--line);border-radius:17px;background:rgba(31,63,72,.72);backdrop-filter:blur(12px);cursor:pointer;transition:.22s;position:relative;overflow:hidden;color:white}.choice:hover{transform:translateY(-3px);border-color:rgba(4,168,174,.72);background:rgba(26,78,83,.78)}.choice:before{content:"";position:absolute;right:-30px;top:-32px;width:100px;height:100px;border-radius:50%;background:rgba(176,205,54,.08)}.choice-no{position:absolute;right:16px;top:14px;color:var(--lime);font-size:10px;font-weight:850}.choice strong{display:block;font-size:16px;padding-right:30px}.choice>span:not(.choice-no):not(.download-icon):not(.download-copy){display:block;font-size:10.5px;color:var(--muted);line-height:1.5;margin-top:8px}.choice small{display:inline-block;margin-top:13px;color:var(--cyan);font-size:8.5px;text-transform:uppercase;letter-spacing:.12em;font-weight:850}.choice.download{grid-column:1/-1;min-height:86px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;column-gap:15px}.choice.download:before{display:none}.download-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:rgba(176,205,54,.13);color:var(--lime);font-size:22px}.download-copy strong{padding:0}.download-copy>span{display:block;color:var(--muted);font-size:10px;margin-top:4px}.choice.download small{margin:0;justify-self:end}.profile-home-foot{position:absolute;z-index:2;left:4vw;right:4vw;bottom:18px;display:flex;justify-content:space-between;color:#9eb4b7;font-size:8px;letter-spacing:.12em}
/* Shared page headers */
.page-head{height:70px;flex:0 0 70px;padding:0 18px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);background:rgba(21,43,51,.93);backdrop-filter:blur(18px);z-index:10}.back{height:40px;padding:0 13px;font-size:10px}.head-copy{min-width:0}.theatre-title{font-size:11px;color:#e1ebec;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:50vw;margin-top:4px}.head-actions{margin-left:auto;display:flex;gap:7px}.head-actions .btn{height:40px;padding:0 12px;font-size:10px}.content{flex:1;min-height:0;overflow:auto}
/* Precision theatre */
.theatre{background:linear-gradient(145deg,#0e1e25,#203944)}.theatre-main{flex:1;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 108px;gap:9px;padding:10px 14px 13px;overflow:hidden}.stage-area{min-height:0;display:grid;place-items:center;overflow:hidden}.slide-frame{width:var(--stage-w,960px);height:var(--stage-h,540px);max-width:100%;max-height:100%;position:relative;background:#fff;border-radius:8px;overflow:hidden;box-shadow:var(--shadow);outline:1px solid rgba(255,255,255,.17);contain:layout paint}.slide-frame img{width:100%;height:100%;display:block;object-fit:contain;background:#fff}.slide-badge{position:absolute;left:10px;top:10px;padding:6px 8px;border-radius:7px;background:rgba(25,49,58,.86);font-size:8px;letter-spacing:.1em;font-weight:850;opacity:0;transition:.18s}.slide-frame:hover .slide-badge{opacity:1}.narrator-strip{position:relative;height:108px;display:grid;grid-template-columns:54px 132px minmax(0,1fr) auto;grid-template-rows:1fr 4px;align-items:center;gap:12px;max-width:1480px;width:100%;margin:auto;padding:10px 13px 0;border:1px solid var(--line);border-radius:15px;background:rgba(26,56,65,.94);backdrop-filter:blur(16px);overflow:hidden}.guide-mark{width:48px;height:48px;border:1px solid rgba(4,168,174,.48);border-radius:13px;display:grid;place-items:center;background:rgba(2,28,34,.78)}.guide-mark img{width:38px;height:38px;object-fit:contain}.guide strong{font-size:10px;display:block}.guide>span{font-size:7.5px;color:var(--cyan);display:block;margin-top:4px;letter-spacing:.08em;text-transform:uppercase}.wave{display:inline-flex;gap:2px;align-items:center;margin-top:5px}.wave i{width:2px;height:8px;background:var(--lime);border-radius:3px;animation:wave 1s infinite ease-in-out}.wave i:nth-child(2){animation-delay:.12s}.wave i:nth-child(3){animation-delay:.24s}.wave i:nth-child(4){animation-delay:.36s}.wave.paused i{animation-play-state:paused;height:3px}@keyframes wave{50%{height:14px}}.caption{height:66px;max-height:66px;overflow:auto;display:flex;align-items:center;font-size:10px;line-height:1.5;color:#e2ebec;padding-inline:4px;contain:layout paint}.caption.hidden{visibility:hidden}.controls{display:flex;align-items:center;gap:5px;white-space:nowrap}.control{width:34px;height:34px;border-radius:10px;padding:0;font-size:14px}.control.primary{color:#183039}.volume{width:70px;accent-color:var(--lime)}.time{font-size:8px;color:var(--muted);font-variant-numeric:tabular-nums;min-width:68px;text-align:center}.tour-progress{grid-column:1/-1;align-self:end;height:4px;background:rgba(255,255,255,.08);overflow:hidden;border-radius:0 0 15px 15px;cursor:pointer}.tour-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--cyan),var(--lime));transition:width .12s linear}.control:disabled{opacity:.35;cursor:not-allowed;transform:none!important}
.theatre:fullscreen{background:#07171c}.theatre:fullscreen .theatre-head{display:none}.theatre:fullscreen .theatre-main{height:100dvh;grid-template-rows:minmax(0,1fr) 92px;padding:7px 9px 9px;gap:7px}.theatre:fullscreen .narrator-strip{height:92px;grid-template-columns:48px 116px minmax(0,1fr) auto}.theatre:fullscreen .caption{height:54px;max-height:54px}.theatre:fullscreen .slide-frame{border-radius:4px}
/* Explore */
.explore-body{padding:20px;display:grid;grid-template-columns:260px 1fr;gap:17px}.explore-intro{position:sticky;top:0;align-self:start;padding:18px;border:1px solid var(--line);border-radius:17px;background:rgba(255,255,255,.045)}.explore-intro h2{font-size:23px;line-height:1.08;margin:0 0 11px}.explore-intro p{font-size:10.5px;line-height:1.6;color:var(--muted)}.search{height:42px;width:100%;margin-top:13px;border:1px solid var(--line);border-radius:11px;background:rgba(0,0,0,.18);color:#fff;padding:0 12px;outline:0}.search:focus{border-color:var(--lime)}.topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-content:start}.topic{border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.048);padding:16px;min-height:210px;display:flex;flex-direction:column;transition:.2s}.topic:hover{border-color:rgba(4,168,174,.7);transform:translateY(-2px)}.topic-num{font-size:8px;color:var(--lime);font-weight:850;letter-spacing:.13em;text-transform:uppercase}.topic h3{font-size:15px;line-height:1.25;margin:11px 0 7px}.topic p{font-size:10px;color:var(--muted);line-height:1.5;margin:0}.topic-slides{display:flex;gap:5px;margin-top:auto;padding-top:12px;flex-wrap:wrap}.slide-chip{border:1px solid var(--line);background:rgba(0,0,0,.17);color:white;border-radius:8px;padding:6px 8px;cursor:pointer;font-size:8px}.slide-chip:hover{background:rgba(176,205,54,.14);border-color:var(--lime)}.ask-topic{margin-top:9px;border:0;background:transparent;color:var(--cyan);cursor:pointer;padding:0;text-align:left;font-size:9px;font-weight:800}
/* Assistant */
.assistant-layout{height:calc(100dvh - 70px);display:grid;grid-template-columns:285px minmax(0,1fr);overflow:hidden}.assistant-side{padding:22px 18px;border-right:1px solid var(--line);overflow:auto;background:rgba(12,40,48,.44)}.assistant-avatar{width:78px;height:78px;margin:0 auto 16px}.assistant-avatar img{width:100%;height:100%;object-fit:contain}.assistant-side h2{font-size:21px;line-height:1.1;margin:0 0 10px}.assistant-side>p{font-size:10.5px;line-height:1.6;color:var(--muted)}.prompt-chip{width:100%;text-align:left;border:1px solid var(--line);background:rgba(255,255,255,.035);color:white;padding:10px 11px;border-radius:11px;margin-top:7px;cursor:pointer;font-size:9px;line-height:1.4}.prompt-chip:hover{border-color:var(--cyan);background:rgba(4,168,174,.10)}.local-note{margin-top:18px;padding-top:14px;border-top:1px solid var(--line);font-size:8px;line-height:1.55;color:#90a8ac}.assistant-main{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden}.messages{min-height:0;overflow-y:auto;scroll-behavior:smooth;padding:22px 26px 34px}.message{max-width:900px;padding:15px 17px;border-radius:16px;font-size:11px;line-height:1.65;margin:0 0 12px;white-space:pre-wrap}.message.bot{background:rgba(255,255,255,.055);border:1px solid var(--line)}.message.user{margin-left:auto;background:rgba(4,168,174,.16);border:1px solid rgba(4,168,174,.45)}.message.rtl{text-align:right;direction:rtl}.message.loading{opacity:.75}.message.loading::after{content:' ···';animation:dots 1.2s steps(4,end) infinite}@keyframes dots{0%{opacity:.2}100%{opacity:1}}.answer-block{margin-top:14px}.answer-block:first-child{margin-top:0}.answer-block h4{font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:var(--lime);margin:0 0 6px}.related{display:flex;gap:6px;flex-wrap:wrap}.related button{border:1px solid var(--line);background:rgba(0,0,0,.15);color:white;padding:6px 8px;border-radius:8px;cursor:pointer;font-size:8px}.assistant-form{position:sticky;bottom:0;z-index:4;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:16px 22px max(16px,env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(19,48,58,.15),#17343d 25%);align-items:end}.assistant-form textarea{resize:none;max-height:140px;min-height:48px;border:1px solid var(--line);border-radius:13px;background:rgba(0,0,0,.20);color:white;padding:13px;outline:0;line-height:1.45}.assistant-form textarea:focus{border-color:var(--lime)}.assistant-form button{height:48px;padding:0 20px}
/* Overview */
.overview-modal[hidden]{display:none}.overview-modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:22px}.overview-backdrop{position:absolute;inset:0;background:rgba(5,20,25,.80);backdrop-filter:blur(12px)}.overview-panel{position:relative;width:min(1180px,96vw);height:min(800px,90vh);display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.18);border-radius:22px;background:linear-gradient(145deg,#17313a,#203944 72%,#155f65);box-shadow:0 40px 120px rgba(0,0,0,.55);overflow:hidden}.overview-panel>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 20px;border-bottom:1px solid var(--line)}.overview-panel h2{font-size:23px;line-height:1.1;margin:5px 0 0}.overview-tools{display:flex;align-items:center;gap:13px;padding:11px 20px;border-bottom:1px solid var(--line)}.overview-tools .search{margin:0;max-width:500px}.overview-tools span{margin-left:auto;color:var(--muted);font-size:10px;white-space:nowrap}.overview-grid{flex:1;min-height:0;overflow:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;padding:16px 20px 22px}.overview-card{border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.045);padding:7px;cursor:pointer;color:white;text-align:left;transition:.2s}.overview-card:hover,.overview-card.current{border-color:var(--lime);background:rgba(176,205,54,.09);transform:translateY(-2px)}.overview-thumb{aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:#fff}.overview-thumb img{width:100%;height:100%;object-fit:cover;display:block}.overview-meta{display:flex;align-items:flex-start;gap:8px;padding:8px 4px 3px}.overview-meta b{font-size:9px;color:var(--lime);min-width:25px}.overview-meta span{font-size:8.5px;line-height:1.35;color:#dce7e8}.toast{position:fixed;left:50%;bottom:22px;z-index:150;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#0d3038;border:1px solid var(--line);border-radius:12px;padding:10px 14px;font-size:9px;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
html[dir="rtl"] body{font-family:"Segoe UI",Tahoma,Arial,sans-serif}html[dir="rtl"] .head-actions{margin-left:0;margin-right:auto}html[dir="rtl"] .choice,html[dir="rtl"] .prompt-chip,html[dir="rtl"] .ask-topic{text-align:right}html[dir="rtl"] .choice-no{right:auto;left:16px}html[dir="rtl"] .choice strong{padding-right:0;padding-left:30px}html[dir="rtl"] .assistant-side{border-right:0;border-left:1px solid var(--line)}html[dir="rtl"] .message.user{margin-left:0;margin-right:auto}html[dir="rtl"] .overview-card{text-align:right}html[dir="rtl"] .overview-tools span{margin-left:0;margin-right:auto}
@media(max-width:1080px){.profile-home-main{grid-template-columns:1fr;gap:28px;align-content:center;height:auto;min-height:calc(100dvh - 112px);padding:38px 0 55px}.profile-intro{max-width:720px}.choices{max-width:820px}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.explore-body{grid-template-columns:1fr}.explore-intro{position:static}.assistant-layout{grid-template-columns:250px minmax(0,1fr)}.narrator-strip{grid-template-columns:50px 115px minmax(0,1fr);grid-template-rows:1fr auto 4px;height:136px}.controls{grid-column:1/-1;justify-content:center}.theatre-main{grid-template-rows:minmax(0,1fr) 136px}}
@media(max-width:700px){.profile-home-head{height:68px;padding:0 16px}.profile-brand>img:first-child{width:96px}.profile-brand>img:last-child{width:36px}.profile-brand>i{height:27px}.home-actions .download-top,.home-actions a:last-child{display:none}.profile-home-main{width:calc(100% - 28px);padding:25px 0 52px;display:block;overflow:auto;height:calc(100dvh - 68px)}.profile-intro h1{font-size:38px}.profile-intro p{font-size:13px}.choices{grid-template-columns:1fr;margin-top:22px}.choice{min-height:142px}.choice.download{grid-column:auto;min-height:92px}.profile-home-foot{display:none}.page-head{height:60px;flex-basis:60px;padding:0 8px}.theatre-title{max-width:35vw}.head-actions .btn:not(.icon){padding:0 8px}.theatre-main{grid-template-rows:minmax(0,1fr) 174px;padding:5px;gap:5px}.narrator-strip{height:174px;grid-template-columns:44px 1fr;grid-template-rows:auto 1fr auto 4px;padding:8px 9px 0;gap:7px 10px}.guide-mark{width:42px;height:42px}.guide-mark img{width:33px;height:33px}.caption{grid-column:1/-1;height:62px;max-height:62px}.controls{grid-column:1/-1;overflow-x:auto;justify-content:flex-start}.volume{width:54px}.time{min-width:64px}.theatre:fullscreen .theatre-main{grid-template-rows:minmax(0,1fr) 156px}.theatre:fullscreen .narrator-strip{height:156px;grid-template-columns:42px 1fr;grid-template-rows:auto 1fr auto 4px}.topic-grid{grid-template-columns:1fr}.explore-body{padding:11px}.assistant-layout{display:block;height:calc(100dvh - 60px);overflow:auto}.assistant-side{display:none}.assistant-main{height:100%;min-height:0}.messages{padding:12px}.assistant-form{padding:9px}.assistant-form button{width:70px;padding:0}.overview-modal{padding:7px}.overview-panel{width:100%;height:96vh;border-radius:16px}.overview-panel>header{padding:13px}.overview-panel h2{font-size:18px}.overview-tools{padding:9px 13px;align-items:stretch;flex-direction:column}.overview-tools span{margin:0}.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.overview-meta span{font-size:8px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media (orientation:landscape) and (max-height:520px){
  .page-head{height:54px;flex-basis:54px}
  .theatre-main,.theatre:fullscreen .theatre-main{position:relative;display:block;height:calc(100dvh - 54px);padding:5px;overflow:hidden}
  .theatre:fullscreen .theatre-main{height:100dvh}
  .stage-area{width:100%;height:100%;padding:0}
  .theatre .narrator-strip,.theatre:fullscreen .narrator-strip{position:absolute;z-index:5;left:10px;right:10px;bottom:9px;width:auto;height:70px;min-height:70px;display:grid;grid-template-columns:42px 105px minmax(0,1fr) auto;grid-template-rows:1fr 4px;gap:8px;padding:7px 10px 0;background:rgba(21,53,61,.91);box-shadow:0 12px 34px rgba(0,0,0,.28)}
  .guide-mark{width:38px;height:38px;border-radius:10px}.guide-mark img{width:30px;height:30px}.guide strong{font-size:9px}.guide>span{font-size:6.5px}.wave{margin-top:3px}
  .caption{grid-column:auto;height:42px;max-height:42px;font-size:8.5px;line-height:1.35;overflow:hidden}
  .controls{grid-column:auto;justify-content:flex-end;overflow:visible}.control{width:31px;height:31px}.volume{width:58px}.time{font-size:7px;min-width:60px}
  .tour-progress{grid-column:1/-1;grid-row:2}
}

/* v5.4 — guided narrated tours plus silent in-site profile browsing */
.browse-top{border-color:rgba(176,205,54,.5);color:#e1f070}
.choice.browse{grid-column:1/-1;min-height:86px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;column-gap:15px}
.choice.browse:before{display:none}
.browse-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:rgba(176,205,54,.13);color:var(--lime);font-size:20px}
.browse-copy strong{padding:0}
.browse-copy>span{display:block;color:var(--muted);font-size:10px;margin-top:4px}
.choice.browse small{margin:0;justify-self:end}
.theatre-main{grid-template-rows:minmax(0,1fr) 108px}
.slide-frame{background:transparent;border:0;outline:0;border-radius:0}
.slide-frame img{object-fit:fill;background:transparent}
.theatre:fullscreen .theatre-main{grid-template-rows:minmax(0,1fr) 92px;padding:7px 9px 9px;gap:7px}
.theatre:fullscreen .stage-area{position:static}
.theatre:fullscreen .narrator-strip{height:92px;display:grid;opacity:1;position:relative;left:auto;bottom:auto;transform:none;width:100%}
.theatre:fullscreen .slide-frame{box-shadow:none}

@media(max-width:1080px){
  .theatre-main{grid-template-rows:minmax(0,1fr) 136px}
}
@media(max-width:700px){
  .home-actions .browse-top{display:none}
  .choice.browse{grid-column:auto;min-height:92px}
  .browse-copy>span{font-size:9px}
  .theatre-main{grid-template-rows:minmax(0,1fr) 174px}
  .theatre:fullscreen .theatre-main{grid-template-rows:minmax(0,1fr) 156px;padding:5px}
  .theatre:fullscreen .narrator-strip{height:156px;grid-template-columns:42px 1fr;grid-template-rows:auto 1fr auto 4px}
}
@media (orientation:landscape) and (max-height:520px){
  .theatre-main,.theatre:fullscreen .theatre-main{position:relative;display:block;height:calc(100dvh - 54px);padding:5px;overflow:hidden}
  .theatre:fullscreen .theatre-main{height:100dvh}
  .theatre .narrator-strip,.theatre:fullscreen .narrator-strip{position:absolute;z-index:5;left:10px;right:10px;bottom:9px;width:auto;height:70px;min-height:70px;transform:none;opacity:1}
}

/* v5.3 — stable, silent presentation experience */
.profile-home-bg{background-image:url('../../assets/img/hero-clean.webp');transform:none}
.profile-home-overlay{background:linear-gradient(90deg,rgba(8,29,35,.98),rgba(11,36,43,.9) 52%,rgba(5,22,28,.48)),linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.4))}
.profile-home-head{padding-inline:max(20px,5vw);background:rgba(14,36,44,.82)}
.profile-home-main{width:min(1240px,90vw);grid-template-columns:minmax(320px,.85fr) minmax(560px,1.35fr)}
.choice{background:linear-gradient(145deg,rgba(31,63,72,.86),rgba(18,47,56,.72));border-color:rgba(255,255,255,.13);box-shadow:0 16px 42px rgba(0,0,0,.14)}
.choice:hover{box-shadow:0 22px 52px rgba(0,0,0,.26)}

.theatre-main{position:relative;grid-template-rows:minmax(0,1fr) 54px;gap:8px;padding:10px 14px 12px;background:radial-gradient(circle at 50% 40%,#24444f 0,#122932 68%,#0b1e25 100%)}
.stage-area{padding:0}
.slide-frame{aspect-ratio:16/9;width:var(--stage-w,960px);height:var(--stage-h,540px);background:transparent;border:0;border-radius:0;outline:0;box-shadow:0 26px 80px rgba(0,0,0,.48);line-height:0}
.slide-frame img{width:100%;height:100%;object-fit:fill;background:transparent}
.presentation-bar{position:relative;width:min(620px,100%);height:54px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:7px 10px 10px 15px;border:1px solid rgba(255,255,255,.13);border-radius:15px;background:rgba(14,38,46,.92);box-shadow:0 14px 38px rgba(0,0,0,.24);backdrop-filter:blur(18px)}
.presentation-status{display:flex;align-items:center;gap:12px;min-width:0}
.presentation-status span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--cyan);font-size:8px;font-weight:850;letter-spacing:.12em}
.presentation-status strong{color:#fff;font-size:10px;font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}
.presentation-bar .controls{display:flex;gap:7px}
.presentation-bar .control{width:34px;height:34px;border-radius:10px;font-size:20px}
.presentation-progress{position:absolute;left:10px;right:10px;bottom:5px;height:2px;overflow:hidden;border-radius:3px;background:rgba(255,255,255,.09)}
.presentation-progress i{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--cyan),var(--lime));transition:width .2s ease}
.theatre:fullscreen{background:#06171d}
.theatre:fullscreen .theatre-main{height:100dvh;display:grid;grid-template-rows:minmax(0,1fr);padding:0}
.theatre:fullscreen .stage-area{position:absolute;inset:0;display:grid;place-items:center}
.theatre:fullscreen .slide-frame{border-radius:0;box-shadow:none}
.theatre:fullscreen .presentation-bar{position:absolute;z-index:6;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);width:auto;min-width:260px;opacity:.2;transition:opacity .2s}
.theatre:fullscreen .presentation-bar:hover,.theatre:fullscreen .presentation-bar:focus-within{opacity:1}

@media(max-width:1080px){
  .theatre-main{grid-template-rows:minmax(0,1fr) 54px}
}
@media(max-width:700px){
  .profile-home-main{width:calc(100% - 28px)}
  .choice{min-height:132px}
  .theatre-main{grid-template-rows:minmax(0,1fr) 50px;padding:5px}
  .presentation-bar{height:50px;border-radius:12px;padding:5px 7px 8px 11px}
  .presentation-status span{font-size:7px}
  .presentation-bar .control{width:32px;height:32px}
  .theatre:fullscreen .presentation-bar{bottom:max(7px,env(safe-area-inset-bottom))}
}
@media (orientation:landscape) and (max-height:520px){
  .theatre-main,.theatre:fullscreen .theatre-main{display:grid;grid-template-rows:minmax(0,1fr);height:calc(100dvh - 54px);padding:0}
  .theatre:fullscreen .theatre-main{height:100dvh}
  .presentation-bar,.theatre .presentation-bar,.theatre:fullscreen .presentation-bar{position:absolute;z-index:6;left:50%;right:auto;bottom:7px;width:auto;min-width:250px;height:44px;transform:translateX(-50%);grid-template-columns:minmax(0,1fr) auto;padding:4px 7px 7px 10px}
}
