/* The Sportinuum preview gate: the product's dark theme (claude-mocks/prototype/styles.css). System fonts only. */
:root{
  color-scheme:dark;
  --bg:#0b0e13;--panel:#10141a;--raised:#1a2029;--line:#1e2530;--border:#262e3a;--border-2:#313a48;
  --text:#e6e9ef;--muted:#8a94a3;--in:#32a86e;--in-fill:#23704a;--in-ink:#e3f5ea;--out:#d35b5b;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  color:var(--text);background:var(--bg);
}
*{box-sizing:border-box}
body{margin:0}
h1,h2,h3,p{margin:0}
::selection{background:#2b3442;color:var(--text)}
.icon{display:block;width:1.1em;height:1.1em;flex:none}

.gate{display:flex;flex-direction:column;min-height:100vh;min-height:100svh;background:var(--bg)}
.shell{width:min(calc(100% - 48px),1200px);margin-inline:auto}

/* the splash: one card, the lockup large on top */
.landing{flex:1;display:grid;place-items:center;padding:56px 20px}
.card{width:min(100%,440px);padding:44px 40px 40px;background:var(--panel);border:1px solid var(--border);border-radius:4px}
.lockup img{display:block;width:100%;max-width:300px;height:auto}
.lockup{margin-bottom:28px}

.headline{font-size:1.5rem;line-height:1.25;font-weight:500;letter-spacing:-.01em;text-wrap:balance}
.lede{color:var(--text);line-height:1.55;font-size:.9375rem;text-wrap:pretty}
.headline+.lede{margin-top:10px}
.note{display:flex;align-items:center;gap:.5em;margin-top:14px;color:var(--muted);font-size:.8125rem;letter-spacing:.02em}
.note .icon{width:1em;height:1em}
.detail{margin-top:20px}
.caption,.message,.fine{color:var(--muted);line-height:1.55;font-size:.875rem}
.caption{text-transform:uppercase;letter-spacing:.04em;font-size:.75rem}
.value{display:flex;align-items:center;gap:.5em;margin-top:4px;font-size:1rem;line-height:1.5;overflow-wrap:anywhere}
.value .icon{width:1em;height:1em;color:var(--muted)}
.value+.message{margin-top:12px}
.fine{margin-top:14px;font-size:.8125rem}
.dest{display:flex;flex-wrap:wrap;align-items:center;gap:.25em .6em;margin-top:16px}
.dest .value{margin:0;font-size:.875rem;color:var(--muted)}
#msg:not(:empty){margin-top:14px}
.message a{color:var(--text);text-decoration:underline}

.action-row{margin-top:24px}
.action-row.split{display:flex;flex-wrap:wrap;gap:12px}
.key-button{display:inline-flex;justify-content:center;align-items:center;gap:10px;width:100%;min-height:48px;padding:10px 16px;
  font-family:inherit;font-weight:500;font-size:1rem;line-height:1.4;color:var(--in-ink);background:var(--in-fill);text-decoration:none;
  border:1px solid var(--in);border-radius:4px;cursor:pointer;transition:background-color .12s ease}
.key-button .icon{width:1em;height:1em}
.key-button span{display:inline-flex;align-items:center;gap:inherit}
.key-button:hover:enabled,a.key-button:hover{background:#277a51}
.key-button:focus-visible{outline:2px solid var(--text);outline-offset:3px}
/* waiting: the button stays pressed and quiet, with the spinner */
.key-button:disabled{color:var(--muted);background:var(--raised);border-color:var(--border-2);cursor:default}
.split .key-button{width:auto;flex:1 1 auto}
.key-button.quiet{flex:0 0 auto;padding-inline:20px;color:var(--text);background:transparent;border-color:var(--border-2)}
.key-button.quiet:hover{background:var(--raised)}

.spinner{display:block;width:1em;height:1em;flex:none;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.load{display:flex;justify-content:center;padding:8px 0 2px;color:var(--in)}
.load .spinner{width:28px;height:28px;border-width:2.5px}

/* app.js marks the page .waiting while the passkey prompt is open, .failed after it went wrong,
   .loading once signed in (until the next page arrives) and .done once a passkey is saved */
main:not(.waiting) .busy,.waiting .ready,main:not(.loading) .load,.loading .form,main:not(.done) .next,.done .form{display:none}
.failed #msg{color:var(--out)}
.loading #msg{margin-top:16px;text-align:center;color:var(--text)}

.colophon{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 16px;border-top:1px solid var(--line);padding-block:16px 20px}
.host,.method{display:flex;align-items:center;gap:.5em;color:var(--muted);font-size:.8125rem}

@media (max-width:520px){
  .landing{padding:28px 16px;place-items:start center}
  .card{padding:32px 22px 28px}
  .lockup{margin-bottom:22px}
  .lockup img{max-width:240px}
  .shell{width:calc(100% - 32px)}
}
@media (prefers-reduced-motion:reduce){
  .key-button{transition:none}
  .spinner{animation:none;border-right-color:currentColor;opacity:.55}
}
@media (forced-colors:active){.key-button{border-color:ButtonText}}
