@font-face{font-family:Onest;src:url('/futures-assets/onest-regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Onest;src:url('/futures-assets/onest-medium.ttf') format('truetype');font-weight:500 700;font-style:normal;font-display:swap}
:root{color-scheme:light;--paper:#fff;--bg:var(--paper);--accent:var(--ink);--accent-fill:#f5f5f5;--hairline-white:var(--line);--ink:#000;--muted:#555;--line:#e5e5e5;--highlight:#c8e6cd;font-family:Onest,sans-serif;background:var(--paper);color:var(--ink);scrollbar-color:var(--muted) var(--paper)}
*{box-sizing:border-box}
body{margin:0;min-height:100svh;background:var(--paper);font:18px/1.55 Onest,sans-serif}
::selection{background:var(--ink);color:var(--paper)}
a{color:inherit;text-underline-offset:.25em;text-decoration-thickness:1px}
a:focus-visible,button:focus-visible{outline:2px solid var(--ink);outline-offset:5px}
.page{width:min(100%,1216px);margin:auto;padding:0 48px}
.top{font-size:16px;line-height:normal;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:12px;min-height:44px;text-decoration:none}
.brand img{display:block;width:44px;height:44px;border:1px solid var(--line);border-radius:2px;object-fit:contain;background:var(--paper)}
.brand strong{display:block;font-size:24px;font-weight:500;letter-spacing:-.04em;line-height:1.15}
.tagline{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:4px}
.community-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 0;font-size:15px;line-height:1.4;white-space:nowrap;text-decoration:none}
.community-link:hover{text-decoration:underline;text-decoration-thickness:2px}
.community-link svg{flex:none;width:20px;height:20px}
main{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:64px;padding:clamp(44px,8vh,88px) 0 52px}
h1{font-size:clamp(36px,5.5vw,58px);font-weight:500;letter-spacing:-.04em;line-height:1.09;margin:0 0 28px;text-wrap:balance}
.invitation{font-size:22px;line-height:1.5;color:var(--ink);margin:0;max-width:440px}
.duration{display:inline-block;color:var(--ink);background:var(--highlight);font-size:14px;margin:28px 0 0;padding:3px 7px}
.practice-card{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:2px;padding:36px 30px 28px;text-align:center}
#status{min-height:2.8em;margin:0;font-size:22px;font-weight:500;line-height:1.4}
#detail{min-height:1.6em;font-size:15px;overflow-wrap:anywhere;color:var(--muted);margin:16px 0 24px}
.meter{height:4px;width:140px;background:var(--hairline-white);margin:20px auto 0;border-radius:4px;overflow:hidden}
.meter span{display:block;transform-origin:left;transform:scaleX(0);background:var(--ink);height:100%;transition:transform .1s}
#start{font:inherit;font-size:16px;font-weight:500;border:1px solid var(--ink);border-radius:2px;padding:14px 26px;background:var(--ink);color:#fff;cursor:pointer;min-height:52px;width:100%;transition:background .15s}
#start:hover{background:#333}
#start:disabled{opacity:.5;cursor:wait}
.note{font-size:12px;color:var(--muted);line-height:1.55;margin:20px auto 0;max-width:320px}
#report{margin:20px 0 28px}
#report img{display:block;width:100%;border-radius:2px;margin-bottom:16px}
#report a{color:var(--accent)}
@font-face{font-family:NotingNeucha;src:url('./fonts/neucha.ttf') format('truetype');font-display:swap}
.noting-player{width:min(100%,calc(75svh * 9 / 16));margin:0 auto 16px;border-radius:2px;overflow:hidden;background:#151719;color:#fff}
.noting-player button{min-height:0;padding:0;border-radius:0;font-size:14px}
.noting-player input{max-width:100%}
[hidden]{display:none!important}
.processing{padding:16px 8px}
.processing p{margin:12px auto}
.processing .note{max-width:280px}
.spinner{display:inline-block;width:32px;height:32px;border:3px solid var(--hairline-white);border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.spinner{animation:none}#start,.meter span{transition:none}}
/* The report uses the viewport remaining below the Sadik header. */
body.has-report{height:100svh;height:100dvh;min-height:0}
.has-report .page{height:100%;display:flex;flex-direction:column}
.has-report .top{flex-shrink:0}
.has-report main{display:flex;flex:1;min-height:0;padding:12px 0;justify-content:center}
.has-report .intro,.has-report .meter,.has-report .privacy-note{display:none}
.has-report .practice-card{height:100%;width:min(100%,560px);min-height:0;display:flex;flex-direction:column;gap:8px;padding:14px 18px}
.has-report #status{min-height:0;font-size:18px;line-height:1.25;margin:0}
.has-report #detail:empty{display:none}
.has-report #detail{min-height:0;margin:0;font-size:13px}
.has-report #report{flex:1;min-height:0;margin:0;display:flex;flex-direction:column;gap:8px;overflow:auto}
.report-visual{flex:1;min-height:120px;display:flex;justify-content:center;align-items:center}
#report .report-visual video,#report .report-visual img{display:block;max-width:100%;height:100%;width:100%;object-fit:contain;border-radius:2px;margin:0}
#report .report-visual video{width:auto;max-width:100%;aspect-ratio:9/16;background:#15171b}
#report .noting-player{margin:0;border-radius:2px;flex-shrink:0}
.report-summary{display:flex;flex-direction:column;gap:6px;flex-shrink:0;margin-top:4px}
.report-actions{display:flex;justify-content:center;gap:10px;width:100%;max-width:360px;align-self:center;margin-top:8px;flex-shrink:0}
#report .download,.has-report #start{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid var(--ink);border-radius:2px;font:14px/1.3 Onest,sans-serif;text-decoration:none;white-space:nowrap}
#report .download{flex:2;color:#fff;background:var(--ink);gap:6px}
.media-action{flex:2;min-width:0;display:flex}
#report .download{cursor:pointer}
#report .download svg{width:19px;height:19px;flex-shrink:0}
#report .download:disabled{opacity:.55;cursor:wait}
#report .download:hover{background:#333}
.has-report #start{flex:1;min-width:0;width:auto;color:var(--accent);background:var(--accent-fill);border-color:var(--line)}
.has-report #start:hover{background:#ebebeb}
#report .report-hint{margin:0;font-size:12px;line-height:1.25;overflow-wrap:anywhere}
#report .report-hint:empty{display:none}
#report .report-state{margin:0;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
#report .report-state span{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}
#report .report-state strong{font-weight:650;display:block;white-space:normal;overflow-wrap:anywhere}
#report .report-caption{margin:0;max-width:none;width:100%;text-align:center;font-size:11px;line-height:1.2}
@media(max-width:760px){
 .page{padding:0 28px}.top{padding:18px 0;gap:12px}.brand{gap:9px}.brand img{width:36px;height:36px}.brand strong{font-size:22px}.tagline{font-size:11px;margin-top:2px}.community-link{font-size:13px;gap:5px}.community-link svg{width:18px;height:18px}
 main{grid-template-columns:1fr;gap:28px;padding:32px 0}.intro{max-width:480px}h1{font-size:36px;margin-bottom:20px}h1 br{display:none}
 .invitation{font-size:18px}.desktop-break{display:none}.duration{margin-top:20px}.practice-card{padding:26px 22px 22px}#status{font-size:20px}
 .has-report .practice-card{padding:12px}.has-report main{padding:10px 0}
}
@media(max-width:380px){.page{padding:0 22px}h1{font-size:34px}.brand{gap:7px}.community-link{font-size:12px;gap:4px}.brand strong{font-size:21px}.brand img{width:32px;height:32px}.practice-card{padding:24px 18px}}
@media(max-height:450px) and (min-width:600px){
 .has-report main{padding:6px 0}.has-report .practice-card{width:100%;padding:10px}
 .has-report #report{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr auto}.report-visual{grid-row:1/3;height:100%}.report-summary{grid-column:2;align-self:center}.report-actions{grid-column:2}
}
/* Keep the waiting indicator in view when the introductory copy is no longer needed. */
body:has(#report[aria-busy="true"]) .intro{display:none}
body:has(#report[aria-busy="true"]) main{display:flex;justify-content:center;padding:32px 0}
body:has(#report[aria-busy="true"]) .practice-card{width:min(100%,520px)}
body:has(#report[aria-busy="true"]) .meter,body:has(#report[aria-busy="true"]) #detail:empty{display:none}

@media(max-width:940px) and (max-height:480px) and (orientation:landscape){.top{padding:12px 0}}
