


html:has(dialog.viewer[open]) { overflow: hidden; }

.viewer {
  --vb: var(--blue, #1F2BD6); --vd: var(--deep, #1620a8); --vf: var(--floor, #1823b8);
  --vbone: var(--bone, #EFEBE3); --vink: var(--ink, #111111);
  --vdisp: var(--display, 'Dela Gothic One', system-ui, sans-serif); --vbody: var(--body, 'Lexend', system-ui, sans-serif);
  --vheavy: cubic-bezier(.65, 0, .35, 1); --vpop: cubic-bezier(.2, .9, .25, 1.15);
  --pad: clamp(24px, 3vw, 48px);
  box-sizing: border-box; position: fixed; border: 0; padding: 0; margin: auto;
  width: min(1440px, calc(100vw - 48px)); height: min(940px, calc(100svh - 48px)); max-width: none; max-height: none;
  border-radius: 28px; overflow: hidden; overscroll-behavior: contain;
  color: var(--vbone); font: 400 20px/1.5 var(--vbody);
  
  background:
    radial-gradient(60% 70% at 18% -6%, rgba(255, 255, 255, .16), transparent 70%),
    linear-gradient(180deg, #2331e0 0%, var(--vb) 50%, var(--vd) 74%, var(--vf) 100%);
}
.viewer::backdrop { background: rgba(8, 10, 40, .76); }
.viewer *, .viewer *::before, .viewer *::after { box-sizing: border-box; margin: 0; padding: 0; }

.viewer::before, .viewer::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.viewer::before { opacity: .5; background: linear-gradient(115deg, rgba(255, 255, 255, .10) 0 18%, transparent 34%); }
.viewer::after { opacity: .28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.viewer [hidden] { display: none !important; }


.viewer .vw-in { position: relative; z-index: 1; height: 100%; display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 64px); padding: var(--pad); }
.viewer .vw-side { display: flex; flex-direction: column; justify-content: safe center; min-height: 0; overflow-y: auto; scrollbar-width: none;
  padding: 6px; margin: -6px; }   
.viewer .vw-side::-webkit-scrollbar { display: none; }
.viewer .vw-side > * { flex-shrink: 0; }   

@media (min-width: 768px) and (orientation: landscape), (min-width: 1101px) {   
  .viewer .vw-side > .vw-list { flex-shrink: 1; min-height: 190px; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain;
    margin-left: -6px; margin-right: -6px; padding: 6px; }
}
.viewer .vw-list::-webkit-scrollbar { display: none; }
.viewer .vw-list.more-below { mask-image: linear-gradient(#000 calc(100% - 44px), transparent); }
.viewer .vw-list.more-above { mask-image: linear-gradient(transparent, #000 44px); }
.viewer .vw-list.more-above.more-below { mask-image: linear-gradient(transparent, #000 44px, #000 calc(100% - 44px), transparent); }
.viewer .vw-kick { font: 500 20px/1.3 var(--vbody); margin-bottom: 12px; }   
.viewer h2 { font: 400 clamp(30px, 2.6vw, 44px)/1.02 var(--vdisp); letter-spacing: -.01em; text-wrap: balance; }
.viewer h2 .w { display: inline-block; transform-origin: 0 100%; }


.viewer .vw-list { list-style: none; margin-top: 28px; display: grid; gap: 10px; }
.viewer .vw-list button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 58px; padding: 8px 12px 8px 24px; border: 0; border-radius: 999px; background: transparent; color: var(--vbone);
  box-shadow: inset 0 0 0 2px rgba(239, 235, 227, .42); font: 400 21px/1.12 var(--vdisp); text-align: left; cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .35s var(--vpop); }
.viewer .vw-list b { font-weight: 400; }

.viewer .vw-list button i { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 2px currentColor; opacity: .75;
  transition: transform .35s var(--vpop), opacity .2s, background-color .2s; }
.viewer .vw-list button i::after { content: ""; position: absolute; left: 13px; top: 11px; width: 10px; height: 12px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
@media (hover: hover) {   
  .viewer .vw-list button:hover { background: rgba(239, 235, 227, .08); box-shadow: inset 0 0 0 2px var(--vbone); }
  .viewer .vw-list button:hover i { transform: scale(1.08); opacity: 1; }
}
.viewer .vw-list button:active { transform: scale(.985); }
.viewer .vw-list button:focus-visible { outline: 3px solid var(--vbone); outline-offset: 3px; }
.viewer .vw-list button[aria-pressed="true"] { background: var(--vbone); color: var(--vb);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 -3px 0 rgba(22, 32, 168, .12) inset, 0 20px 44px -18px rgba(7, 10, 58, .6), 0 5px 12px -6px rgba(7, 10, 58, .35); }
.viewer .vw-list button[aria-pressed="true"] i { background: var(--vb); box-shadow: none; opacity: 1; }
.viewer .vw-list button[aria-pressed="true"] i::after { background: var(--vbone); }

.viewer .vw-list .vw-add { margin: -2px 0 0 30px; position: relative; }
.viewer .vw-list .vw-add::before { content: ""; position: absolute; left: -20px; top: -12px; width: 14px; height: calc(50% + 12px);
  border-left: 2px solid rgba(239, 235, 227, .42); border-bottom: 2px solid rgba(239, 235, 227, .42); border-bottom-left-radius: 12px; }
.viewer .vw-list .vw-add button { min-height: 50px; padding: 6px 8px 6px 20px; font-size: 20px; }
.viewer .vw-list .vw-add button i { width: 28px; height: 28px; }
.viewer .vw-list .vw-add button i::after { left: 11px; top: 9px; width: 8px; height: 10px; }

.viewer .vw-cap { font-size: 20px; line-height: 1.5; margin-top: 22px; min-height: 4.5em; color: rgba(239, 235, 227, .9); }
.viewer .vw-hint { font-size: 20px; line-height: 1.4; margin-top: 8px; opacity: .72; }
.viewer .vw-hint.off { visibility: hidden; }   
.viewer .vw-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.viewer .vw-cta { display: inline-flex; align-items: center; gap: 16px; height: 76px; padding: 0 34px 0 36px; border-radius: 999px;
  background: var(--vbone); color: var(--vb); font: 400 26px/1 var(--vdisp); white-space: nowrap; text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 -3px 0 rgba(22, 32, 168, .12) inset, 0 26px 60px -18px rgba(7, 10, 58, .55), 0 6px 14px -6px rgba(7, 10, 58, .35);
  transition: padding .45s var(--vheavy), background-color .2s; }
.viewer .vw-cta i { font-style: normal; display: inline-block; transition: transform .45s var(--vheavy); }
@media (hover: hover) {
  .viewer .vw-cta:hover { padding-right: 58px; background: #fff; }
  .viewer .vw-cta:hover i { transform: translateX(10px); }
}
.viewer .vw-cta:focus-visible { outline: 3px solid var(--vbone); outline-offset: 5px; }


.viewer .vw-pill { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 24px; border-radius: 999px;
  border: 2px solid rgba(239, 235, 227, .55); background: transparent; color: var(--vbone); font: 400 20px/1 var(--vdisp); cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s; }
.viewer .vw-pill i { font-style: normal; transition: transform .3s var(--vheavy); }
@media (hover: hover) {
  .viewer .vw-pill:hover { border-color: var(--vbone); background: rgba(239, 235, 227, .08); }
  .viewer .vw-explore:hover i { transform: translateX(6px); }
  .viewer .vw-close:hover { background: var(--vbone); color: var(--vb); }
  .viewer .vw-close:hover i { transform: rotate(90deg); }
}
.viewer .vw-pill:focus-visible { outline: 3px solid var(--vbone); outline-offset: 4px; }
.viewer .vw-sound[aria-pressed="true"] { background: var(--vbone); color: var(--vb); border-color: var(--vbone); }
.viewer .vw-close { position: absolute; z-index: 2; top: 20px; right: 20px; background: rgba(17, 17, 17, .14); }
.viewer .vw-close i { font-size: 1.25em; line-height: 0; }


.viewer .vw-screen { container-type: size; display: grid; place-items: center; min-width: 0; min-height: 0; padding: 52px 0 18px; }
.viewer .vw-screen .mac { width: min(calc(100cqw / 1.11), calc(100cqh / .72)); }


.viewer .mac { position: relative; perspective: 1800px; perspective-origin: 50% 110%; }
.viewer .mac .lid { position: relative; aspect-ratio: 1/.658; border-radius: 3.2% 3.2% .7% .7%/4.8% 4.8% 1% 1%; transform-origin: 50% 100%;
  background: linear-gradient(180deg, #0f0f11, #070708 60%, #0b0b0c);
  box-shadow: inset 0 0 0 1.5px #c9cbcf, inset 0 0 0 2.5px #8d9095, inset 0 2px 0 2px #dfe1e4; }
.viewer .mac .lid::after { content: ""; position: absolute; left: .3%; right: .3%; bottom: 0; height: 1.5%; border-radius: 0 0 3px 3px; background: linear-gradient(180deg, #1a1a1c, #6f7277 55%, #b8bbbf); }
.viewer .mac .scr { position: absolute; left: 2.05%; right: 2.05%; top: 2.5%; bottom: 2.9%; overflow: hidden; background: #000; border-radius: .9%/1.4%; }
.viewer .mac .vp { position: absolute; left: 0; top: 0; width: 1280px; height: 831px; transform-origin: 0 0; background: #000; overflow: hidden; font-family: var(--vbody); color: var(--vink); }
.viewer .mac .notch { position: absolute; left: 50%; top: 2.5%; width: 11.2%; height: 3.4%; margin-left: -5.6%; background: #000; border-radius: 0 0 10% 10%/0 0 40% 40%; z-index: 3; }
.viewer .mac .notch i { position: absolute; left: 50%; top: 32%; width: 9%; aspect-ratio: 1; margin-left: -4.5%; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #3b3f52 0 18%, #101218 42%, #050506 70%); }
.viewer .mac .glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4; overflow: hidden; background: linear-gradient(118deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .025) 34%, rgba(255, 255, 255, 0) 34.2%); }
.viewer .mac .glare::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 38%; transform: skewX(-14deg);
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .07) 45%, rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, .07) 55%, rgba(255, 255, 255, 0)); }
.viewer .mac .base { position: relative; width: 111%; margin-left: -5.5%; aspect-ratio: 1/.0205; border-radius: 1px 1px 1.4% 1.4%/1px 1px 100% 100%;
  background: linear-gradient(180deg, #fbfbfc 0, #e3e5e8 10%, #c3c6ca 42%, #9b9ea3 76%, #7b7e83 100%);
  box-shadow: inset 0 1px 0 #fff, inset 1px 0 0 rgba(255, 255, 255, .4), inset -1px 0 0 rgba(255, 255, 255, .4); }
.viewer .mac .scoop { position: absolute; left: 50%; top: 0; width: 13.5%; height: 46%; margin-left: -6.75%; border-radius: 0 0 18px 18px/0 0 100% 100%; background: linear-gradient(180deg, #8a8d92, #b3b6ba 70%, #cfd1d4); }
.viewer .mac .floor { position: absolute; left: -4%; right: -4%; bottom: -2.8%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(3, 5, 40, .6), rgba(3, 5, 40, .2) 60%, transparent); filter: blur(5px); z-index: -1; }
.viewer .mac .floor::after { content: ""; position: absolute; left: 8%; right: 8%; top: 28%; height: 30%; border-radius: 50%; background: rgba(3, 5, 40, .6); filter: blur(3px); }
.viewer .mac.exploring { outline: 3px solid var(--vbone); outline-offset: 6px; border-radius: 6px; }   

.viewer .vp .band { height: 30px; background: #000; }
.viewer .vp .chrome { height: 82px; background: #e2ded6; border-bottom: 1px solid #c9c4bb; position: relative; z-index: 2; }
.viewer .ch-row { height: 46px; display: flex; align-items: center; padding: 0 16px; gap: 18px; }
.viewer .lights { display: flex; gap: 8px; }
.viewer .lights i { width: 12px; height: 12px; border-radius: 50%; background: #cbc6bd; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); }
.viewer .ch-nav { display: flex; gap: 14px; margin-left: 8px; }
.viewer .ch-nav i { width: 9px; height: 9px; border-left: 2px solid #8d887f; border-bottom: 2px solid #8d887f; transform: rotate(45deg); }
.viewer .ch-nav .ch-fwd { transform: rotate(-135deg); opacity: .45; }
.viewer .addr { margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 7px; width: 520px; height: 30px; border-radius: 8px; background: #efebe3; font-size: 14px; color: #9a958c; letter-spacing: .005em; }
.viewer .ch-tools { display: flex; gap: 16px; }
.viewer .ch-tools i { width: 16px; height: 14px; border: 2px solid #8d887f; border-radius: 3px; }
.viewer .ch-tools i + i { width: 14px; border-radius: 2px; }
.viewer .tabs { height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 10px 6px; }
.viewer .tabs > span { flex: 1; height: 29px; border-radius: 7px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; line-height: 1; color: #57534c; }
.viewer .tab-on { background: #efebe3; color: #111 !important; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.viewer .fav { width: 16px; height: 16px; border-radius: 4px; background: var(--vb); }
.viewer .vp .view { position: relative; height: 719px; overflow: hidden; background: var(--vbone); }
.viewer .vp .shot { position: absolute; inset: 0; background: #fff; }
.viewer .shot img { display: block; width: 1280px; max-width: none; height: auto; }

.viewer .shot video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; display: none; background: #fff; }
.viewer .mac.reel .shot video { display: block; }
.viewer .mac.reel .shot img { display: none; }
.viewer .shot video::cue { font-family: var(--vdisp); font-size: 18px; background: rgba(10, 12, 40, .78); }

.viewer .shot iframe.live { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; opacity: 0; transition: opacity .45s; background: #fff; }
.viewer .mac.live-on .shot iframe.live { opacity: 1; }
.viewer .mac:not(.live-on) .shot iframe.live { pointer-events: none; }
.viewer .mac.reel .shot iframe.live { display: none; }

.viewer .mac.pre-reel .shot video { display: block; }
.viewer .mac.pre-pan .shot { overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.viewer .mac.pre-pan .shot::-webkit-scrollbar { display: none; }


.viewer.in::backdrop { animation: vw-fade .55s ease both; }
.viewer.in .vw-kick { animation: vw-rise .7s var(--vpop) .3s both; }
.viewer.in h2 .w { animation: vw-word .7s var(--vpop) calc(.36s + var(--i) * 45ms) both; }
.viewer.in .vw-list li { animation: vw-rise .7s var(--vpop) calc(.46s + var(--n) * 55ms) both; }
.viewer.in .vw-cap, .viewer.in .vw-hint, .viewer.in .vw-acts { animation: vw-rise .7s var(--vpop) .82s both; }
.viewer.in .vw-close { animation: vw-rise .6s var(--vpop) .5s both; }
.viewer.in .vw-screen .mac { animation: vw-land 1.1s cubic-bezier(.16, 1, .3, 1) .2s both; }
.viewer.in .mac .lid { animation: vw-lid 1.3s cubic-bezier(.3, 1.25, .5, 1) .3s both; }
.viewer.in .mac .floor { animation: vw-floor 1.1s cubic-bezier(.16, 1, .3, 1) .2s both; }
.viewer.in .mac .glare::after { animation: vw-sweep 2.6s var(--vheavy) 1.05s both; }

.viewer.out .vw-in, .viewer.out .vw-close { opacity: 0; transition: opacity .18s ease; }
.viewer.out::backdrop { animation: vw-fade .45s ease reverse both; }
@keyframes vw-fade { from { opacity: 0; } }
@keyframes vw-rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes vw-word { from { opacity: 0; transform: translateY(.55em) scale(.96); } }
@keyframes vw-land { from { opacity: 0; transform: translateY(16%) scale(.9); } 45% { opacity: 1; } }
@keyframes vw-lid { from { transform: rotateX(46deg); } }
@keyframes vw-floor { from { opacity: 0; transform: scaleX(.6); } }

@keyframes vw-sweep { 0% { transform: translateX(0) skewX(-14deg); } 38%, 100% { transform: translateX(500%) skewX(-14deg); } }


@media (min-width: 768px) and (max-height: 820px) {
  .viewer h2 { font-size: clamp(28px, 2.3vw, 36px); }
  .viewer .vw-kick { margin-bottom: 8px; }   
  .viewer .vw-list { margin-top: 16px; gap: 6px; }   
  .viewer .vw-list button { min-height: 44px; }
  .viewer .vw-list .vw-add button { min-height: 40px; }
  .viewer .vw-list .vw-add::before { top: -10px; height: calc(50% + 10px); }
  .viewer .vw-cap { margin-top: 14px; min-height: 0; }
  .viewer .vw-hint { display: none; }   
  .viewer .vw-acts { margin-top: 12px; }
  .viewer .vw-pill { height: 48px; }
  .viewer .vw-cta { height: 64px; font-size: 22px; padding: 0 26px 0 28px; }
}


@media (max-width: 767px), (orientation: portrait) and (max-width: 1100px) {
  .viewer { width: 100vw; height: 100vh; height: 100svh; margin: 0; border-radius: 0; }
  .viewer .vw-in { display: flex; flex-direction: column; gap: 0;
    padding: max(16px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom)); }
  .viewer .vw-side { display: contents; }
  .viewer .vw-in > *, .viewer .vw-side > * { flex: none; }   
  .viewer .vw-head { order: 0; padding-right: 116px; min-height: 48px; }
  .viewer .vw-kick { font-size: 18px; margin-bottom: 6px; }
  .viewer h2 { font-size: clamp(24px, 7vw, 30px); }
  .viewer .vw-screen { order: 1; flex: none; container-type: normal; display: block; padding: 20px 0 24px; }
  .viewer .vw-screen .mac { width: calc(100% / 1.11); margin: 0 auto; }
  .viewer .vw-cap { order: 2; margin-top: 0; min-height: 0; font-size: 18px; }
  .viewer .vw-list { order: 3; flex: 1 1 auto; min-height: 0; overflow-y: auto; align-content: start; margin: 14px -6px 0; padding: 6px 6px 12px;
    scrollbar-width: none; overscroll-behavior: contain;
    -webkit-mask-image: linear-gradient(#000 calc(100% - 20px), transparent); mask-image: linear-gradient(#000 calc(100% - 20px), transparent); }
  .viewer .vw-list::-webkit-scrollbar { display: none; }
  .viewer .vw-list button { min-height: 54px; font-size: 19px; padding-left: 20px; }
  .viewer .vw-list .vw-add button { min-height: 48px; font-size: 18px; }
  .viewer .vw-hint { display: none; }
  .viewer .vw-acts { order: 4; margin-top: 12px; }
  .viewer .vw-acts .vw-pill { flex: 1; justify-content: space-between; }
  .viewer .vw-cta { height: 64px; font-size: 22px; padding: 0 26px 0 28px; }
  .viewer .vw-close { top: max(14px, env(safe-area-inset-top)); right: 14px; height: 44px; padding: 0 18px; font-size: 18px; }
}

@media (hover: none) and (pointer: coarse) {
  .viewer .vw-explore { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .viewer, .viewer *, .viewer *::before, .viewer *::after, .viewer::backdrop { animation: none !important; transition: none !important; }
}


.pf-go { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px; border-radius: 999px; box-sizing: border-box;
  background: var(--bone, #EFEBE3); color: var(--blue, #1F2BD6); font: 400 22px/1 var(--display, 'Dela Gothic One', system-ui, sans-serif);
  text-decoration: none; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .7); transition: background-color .2s ease; }
.pf-go:hover { background: #fff; }
.pf-go i { font-style: normal; transition: transform .3s cubic-bezier(.65, 0, .35, 1); }
.pf-go:hover i { transform: translateX(6px); }
.pf-go:active { transform: scale(.98); }
.pf-go:focus-visible { outline: 3px solid var(--bone, #EFEBE3); outline-offset: 4px; }
@media (max-width: 420px) { .pf-go, .greet-btns .watch { font-size: 20px; padding: 0 24px; } }
@media (prefers-reduced-motion: reduce) { .pf-go, .pf-go i { transition: none; } }
