*{box-sizing:border-box} :root{font-family:Manrope,Arial,sans-serif;color:#14233d;background:#f7f8fb;font-synthesis:none}body{margin:0}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #0674a3;outline-offset:5px}.topbar{height:96px;max-width:1180px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3e6ed;padding:0 4px}.identity{display:flex;align-items:center;gap:7px}.identity img{width:43px;height:43px;mix-blend-mode:multiply}.identity strong{color:#0674a3;font-size:19px;letter-spacing:-.7px}.identity>span{border-left:1px solid #d9dde6;padding-left:20px;margin-left:20px;font-size:10px;letter-spacing:1.8px;color:#7b8494}.source-link{display:flex;align-items:center;gap:14px;font-size:12px;color:#637084}.source-link:hover{color:#0674a3}main{max-width:1040px;margin:52px auto 32px;display:grid;grid-template-columns:312px 1fr;gap:88px}.selection{padding-top:25px}.eyebrow{font-size:10px;letter-spacing:1.65px;font-weight:700;display:flex;align-items:center;gap:8px;color:#778397;margin:0 0 24px}.eyebrow>span{width:6px;height:6px;border-radius:50%;background:#0674a3}h1{font-size:51px;letter-spacing:-2.4px;line-height:1.14;font-weight:700;margin:0 0 19px}.intro{font-size:13px;line-height:1.85;color:#788294;margin:0 0 35px}.ad-tabs{display:flex;flex-direction:column;gap:3px}.ad-tab{padding:19px 12px 19px 0;display:flex;align-items:center;width:100%;text-align:left;border:0;border-bottom:1px solid #e4e7ee;background:transparent;color:#758096;gap:14px;transition:color .2s,background .2s}.ad-tab.active{color:#0674a3;border-bottom-color:#0674a3}.ad-tab:hover{background:#eef2fa}.tab-number{font-size:11px;font-weight:700}.ad-tab strong{font-size:14px;font-weight:700;display:block}.ad-tab small{display:block;font-size:10px;color:#8b94a2;margin-top:6px}.tab-arrow{margin-left:auto;font-size:20px;opacity:0}.active .tab-arrow{opacity:1}.spec{margin-top:36px}.spec>span{font-size:9px;letter-spacing:1.4px;color:#8a94a4;display:block;margin-bottom:9px}.spec>strong{font-size:21px;letter-spacing:-.4px}.spec i{font-size:12px;font-style:normal;color:#8a94a4;font-weight:500}.spec>div{display:flex;gap:11px;font-size:10px;color:#788294;margin-top:9px}.spec b{font-weight:400;color:#bbc3d0}.download{display:flex;align-items:center;justify-content:flex-start;gap:10px;background:#0674a3;color:#fff;padding:15px 19px;margin-top:26px;border-radius:5px;font-size:12px;font-weight:700;transition:background .2s}.download>span{margin-left:auto;font-size:16px}.download:hover{background:#05587c}.download-note{font-size:9px;color:#8a94a4;text-align:center;margin-top:10px}.player-section{min-width:0}.stage-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;font-size:9px;font-weight:700;letter-spacing:1.3px;color:#738098}.version{font-size:8px;letter-spacing:1px;border:1px solid #dce3ef;border-radius:3px;padding:5px 7px;color:#738098}.stage{position:relative;display:flex;justify-content:center;align-items:center;padding:24px;background:#e9edf4;border:1px solid #e0e5ee;border-radius:9px;min-height:570px;background-image:radial-gradient(#cbd3e1 .7px,transparent .7px);background-size:14px 14px}.frame-wrap{width:320px;height:512px;position:relative;background:white;box-shadow:0 15px 50px #243a6524,0 0 0 1px #26354e0a}canvas{width:320px;height:512px;display:block}.dimension{position:absolute;bottom:7px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:1.4px;color:#8d97a8}#safe-zone{display:none;position:absolute;inset:16px;border:1px dashed #dc6262;pointer-events:none}#safe-zone.visible{display:block}#loading{position:absolute;inset:0;display:grid;place-items:center;font-size:12px;color:#0674a3;background:white}#loading.hidden{display:none}.transport{margin:18px 0 0}.time-row{display:flex;justify-content:space-between;font-size:10px;color:#8190a4}.time-row b{font-weight:700;color:#233753;font-variant-numeric:tabular-nums}.time-total{color:#a3adbc}input[type=range]{display:block;appearance:none;width:100%;height:3px;border-radius:3px;margin:14px 0 18px;background:linear-gradient(to right,#0674a3 var(--progress,0%),#dce2ec var(--progress,0%));cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:10px;height:10px;background:#0674a3;border-radius:50%}input[type=range]::-moz-range-thumb{border:0;width:10px;height:10px;background:#0674a3;border-radius:50%}.controls,.controls>div{display:flex;align-items:center;gap:12px}.controls{justify-content:space-between}.controls button{border:0;display:flex;align-items:center;gap:7px;height:35px;background:transparent;color:#6e7c90}.controls .play{padding:0 13px 0 10px;border-radius:4px;background:#0a2136;color:#fff;font-size:10px;min-width:92px;justify-content:center}.controls .play svg{width:14px;height:14px;stroke-width:2}.icon-button{width:28px;justify-content:center;padding:0}.text-button{font-size:10px;padding:0 2px}.text-button svg{width:14px;height:14px}.text-button.on{color:#0674a3}.text-button span{font-size:8px;letter-spacing:.4px;background:#e8eefb;padding:3px 4px;border-radius:2px}.preview-note{text-align:center;font-size:9px;color:#97a1b0;margin:18px 0}.preview-note span{margin-left:13px}@media(min-width:1500px){main{margin-top:70px}}@media(max-width:1220px){.topbar{margin:0 34px}main{margin:36px 50px;gap:50px;grid-template-columns:280px 1fr}.stage{padding-left:12px;padding-right:12px}}@media(max-width:870px){.topbar{height:78px;margin:0 22px}main{grid-template-columns:235px 1fr;margin:28px 24px;gap:28px}h1{font-size:43px}.selection{padding-top:25px}.stage-heading{font-size:8px;letter-spacing:.4px}.version{font-size:7px;letter-spacing:.3px}.stage{min-height:554px;padding:18px 8px}.ad-tab strong{font-size:12px}.ad-tab{gap:10px}.preview-note span{display:none}}@media(max-width:690px){.topbar{height:72px;margin:0 17px}.identity>span{display:none}.identity strong{font-size:17px}.identity img{width:37px;height:37px}.source-link{font-size:10px;gap:8px}main{display:flex;flex-direction:column;gap:22px;margin:25px auto 24px;max-width:500px;padding:0 16px}.selection{display:contents}.eyebrow{margin:0;font-size:8px}h1{font-size:33px;letter-spacing:-1.4px;margin:-9px 0 -7px}h1 br{display:none}h1 br:after{content:' '}.intro{display:none}.ad-tabs{flex-direction:row;gap:10px;margin-top:-4px}.ad-tab{padding:12px 0;flex:1;gap:5px;align-items:flex-start}.ad-tab strong{font-size:10px;line-height:1.5}.ad-tab small,.tab-arrow{display:none}.tab-number{font-size:8px;padding-top:3px}.spec{display:none}.download{order:3;justify-content:center;margin-top:0}.download>span{margin-left:auto}.download-note{order:4;margin:-15px 0 0}.player-section{order:2}.stage{min-height:550px;padding:16px 0 22px;border-radius:6px}.stage-heading{margin-bottom:11px;font-size:8px}.preview-note{margin-bottom:0}.transport{padding:0 4px}.controls{gap:5px}.controls>div{gap:9px}.text-button{font-size:9px}}@media(max-width:354px){main{padding:0 6px}.stage{border:0}.frame-wrap,canvas{width:300px;height:480px}.stage{min-height:520px}.source-link span{display:none}.ad-tab strong{font-size:9px}.topbar{margin:0 10px}}

/* Side-panel preview remains 64 × 512; comparison preserves the 5:1 width ratio. */
[hidden]{display:none!important}.panel-pair{display:block}.stage.side-panel .frame-wrap,.stage.side-panel #motion{width:64px;height:512px}.stage.side-panel #safe-zone{inset:16px 4px}.stage.comparison .panel-pair{width:min(392px,calc(100% - 16px));display:grid;grid-template-columns:minmax(0,5fr) minmax(0,1fr);gap:8px;align-items:stretch}.stage.side-panel.comparison .frame-wrap{width:auto;height:auto;min-width:0;aspect-ratio:1/8}.stage.side-panel.comparison #motion{width:100%;height:auto}.stage.comparison #companion{width:100%;height:auto;aspect-ratio:5/8;box-shadow:0 15px 50px #243a6524}#side-options{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:13px}#side-options p{width:100%;margin:0;color:#8a94a4;font-size:9px}.comparison-button{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#0674a3;border:1px solid #dbe3f3;background:#eef3fc;border-radius:4px;padding:9px 11px;font-size:10px}.comparison-button:hover{background:#e4ecfc}#front-ad{max-width:170px;border:1px solid #dbe3f3;border-radius:4px;font:500 10px Manrope;color:#4d607b;background:#fff;padding:9px}.spec{margin-top:24px}@media(max-width:690px){.ad-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.ad-tab strong{font-size:11px}.stage.comparison .panel-pair{width:calc(100% - 16px);max-width:392px}#side-options{gap:7px}.comparison-button,#front-ad{font-size:9px;padding:8px}.stage.comparison .dimension{font-size:7px;letter-spacing:.8px}}

/* Top switch and the 3D totem view. Only one of the two views is mounted at a time. */
.topbar-tools{display:flex;align-items:center;gap:26px}







.view3d{min-width:0}
.stage3d{position:relative;height:min(62vh,548px);min-height:320px;border-radius:9px;overflow:hidden;background:#dde7ef;border:1px solid #e0e5ee;touch-action:none;cursor:grab}
.stage3d:active{cursor:grabbing}
#scene-note{position:absolute;inset:0;margin:0;display:grid;place-items:center;padding:24px;text-align:center;font-size:12px;line-height:1.7;color:#0674a3}
.controls3d{margin-top:15px;display:flex;flex-direction:column;gap:11px}
.chip-group{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.chip-row{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between}
.chip{border:1px solid #dbe6ee;background:#fff;border-radius:5px;padding:9px 12px;font:700 11px Manrope,Arial,sans-serif;color:#5d7590;transition:border-color .15s,background .15s,color .15s}
.chip:hover{border-color:#a9cfe4;color:#0a2136}
.chip.on{background:#0a2136;border-color:#0a2136;color:#fff}
.chip-label{font:800 9px Manrope,Arial,sans-serif;letter-spacing:1.5px;text-transform:uppercase;color:#8aa0b4;padding-right:3px}
.hint3d{margin:1px 0 0;font-size:10px;line-height:1.7;color:#97a1b0}
@media(max-width:870px){.topbar-tools{gap:16px}}
@media(max-width:690px){
  .topbar-tools{gap:12px}
  
  .view3d{order:2}
  .stage3d{height:58vh;min-height:290px;border-radius:6px}
  .chip{padding:8px 10px;font-size:10px}
  .chip-row{gap:9px}
  .controls3d{padding:0 2px}
}

/* Switch reads as a button, on the phone as well, and the footer closes the page. */



.footer{border-top:1px solid #e3e6ed;margin-top:56px;background:#fff}
.footer-inner{max-width:1040px;margin:auto;padding:26px 4px;display:flex;align-items:center;gap:24px}
.footer-brand{display:flex;align-items:center;gap:10px;flex:none}
.footer-brand img{width:34px;height:32px}
.footer-brand span{display:flex;flex-direction:column;line-height:1.35}
.footer-brand strong{font-size:12px;letter-spacing:1.4px;color:#0674a3}
.footer-brand small{font-size:10px;color:#8aa0b4}
.footer-note{margin:0;flex:1;font-size:10px;line-height:1.8;color:#97a1b0}
.footer-credit{display:inline-flex;align-items:center;gap:8px;flex:none;border:1px solid #dbe6ee;border-radius:99px;padding:9px 14px;font-size:11px;color:#41576f;transition:border-color .2s,color .2s,background .2s}
.footer-credit strong{color:#0a2136}
.footer-credit span{color:#8aa0b4}
.footer-credit svg{width:14px;height:14px;stroke-width:1.9;transition:transform .2s}
.footer-credit:hover{border-color:#10b8f0;background:#effaff;color:#0674a3}
.footer-credit:hover strong{color:#0674a3}
.footer-credit:hover svg{transform:translate(2px,-2px)}
@media(max-width:1220px){.footer-inner{padding:26px 34px}}
@media(max-width:870px){.footer-inner{padding:24px 22px;gap:16px}.footer-note{display:none}}
@media(max-width:690px){
  .topbar{gap:10px}
  .identity>span{display:none}
  .source-link span{display:none}
  
  
  
  
  
  .footer{margin-top:34px}
  .footer-inner{flex-direction:column;align-items:flex-start;gap:14px;padding:22px 18px 26px}
  .footer-credit{width:100%;justify-content:center}
}
@media(max-width:390px){.footer-brand img{width:30px;height:28px}}





@media(max-width:690px){}

/* 2D and 3D live in one place, right above the frame, and drive the download too. */
.stage-heading{justify-content:flex-start;gap:12px;flex-wrap:wrap}
.stage-heading .version{margin-left:auto}
.mode-switch{display:inline-flex;background:#e7edf4;border-radius:99px;padding:3px;gap:2px;flex:none}
.mode{border:0;background:transparent;border-radius:99px;padding:8px 16px;display:inline-flex;align-items:center;justify-content:center;min-height:34px;font:800 10px Manrope,Arial,sans-serif;letter-spacing:1.3px;text-transform:uppercase;color:#5d7590;transition:background .18s,color .18s}
.mode:hover{color:#0a2136}
.mode.on{background:#fff;color:#0674a3;box-shadow:0 1px 3px #1c2a3a26}
@media(max-width:690px){
  .stage-heading{gap:9px}
  .mode{padding:9px 13px;font-size:9px;letter-spacing:1px;min-height:38px;min-width:46px}
  .stage-heading #film-label{display:none}
}

/* Second segmented switch: which version of the film, svijetla ili tamna. */
.theme-switch[hidden]{display:none!important}
.theme-switch .mode.on{background:#0a2136;color:#fff}
.theme-switch .mode[data-theme="dark"].on{background:#0a2136;color:#7fd8ff}
:root[data-film-theme="dark"] .frame-wrap,:root[data-film-theme="dark"] #companion{background:#07131e}
:root[data-film-theme="dark"] #loading{background:#07131e;color:#7fd8ff}
@media(max-width:690px){.theme-switch .mode{padding:9px 12px}}
