:root { color-scheme: light; --bg: #f8f8f5; --ink: #1c1e23; --muted: #63656d; --line: #dedfd8; --focus: #58419c; }
* { box-sizing: border-box; }
html { background: var(--bg); min-height: 100%; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a, button, input { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.entry-shell { width: min(100% - 48px, 440px); margin: 0 auto; padding: max(32px, env(safe-area-inset-top)) 0 max(32px, env(safe-area-inset-bottom)); }
.entry-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; letter-spacing: -.3px; }
.entry-brand img { display: block; }
.entry-brand b { font-weight: 800; }
.activate-card { padding: 64px 0 36px; }
.entry-eyebrow { display: block; color: var(--muted); font-size: 10px; letter-spacing: 1.8px; font-weight: 600; margin-bottom: 18px; }
h1 { margin: 0; font-size: clamp(36px, 8vw, 46px); line-height: 1.13; letter-spacing: -2px; font-weight: 700; }
.activate-subtitle { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 18px 0 0; }
.entry-fields { margin-top: 36px; }
.activation-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.key-input { width: 100%; border: 1px solid #bfc1b9; border-radius: 8px; background: #fff; min-height: 56px; padding: 14px 16px; font: 500 17px/1.5 'JetBrains Mono', monospace; letter-spacing: 1px; color: var(--ink); text-transform: uppercase; outline-offset: 3px; transition: border-color 160ms ease; }
.key-input::placeholder { color: #8a8c86; }
.key-input:focus { outline: 2px solid var(--focus); border-color: var(--focus); }
.key-input.error { border-color: #ac2833; }
.key-hint { font-size: 11px; line-height: 1.6; color: var(--muted); margin: 9px 0 0; }
.activate-error { display: none; font-size: 12px; line-height: 1.6; color: #ac2833; margin-top: 10px; }
.activate-error.visible { display: block; }
.activate-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; border: 0; border-radius: 8px; padding: 14px 18px; background: var(--ink); color: #fff; text-align: left; font-size: 13px; font-weight: 600; margin-top: 24px; cursor: pointer; transition: background 160ms ease, transform 160ms ease; }
.activate-btn:hover:not(:disabled) { background: #35383e; }
.activate-btn:active:not(:disabled) { transform: scale(.985); }
.activate-btn:disabled { cursor: wait; opacity: .7; }
.entry-support { border-top: 1px solid var(--line); padding-top: 24px; }
.entry-support h2 { font-size: 13px; font-weight: 600; margin: 0; }
.entry-support p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 6px 0 0; }
.owner-link { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: 16px; font-weight: 600; margin-top: 12px; }
.telegram-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.btn-spinner { width: 15px; height: 15px; border: 2px solid #ffffff50; border-top-color: white; border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 900px) { .entry-shell { padding-top: 64px; } .activate-card { padding-top: 72px; } }
@media (max-height: 700px) { .activate-card { padding-top: 32px; } .entry-fields { margin-top: 26px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.owner-link { padding-block: 10px; margin-top: 8px; }
.owner-link + .owner-link { border-top: 1px solid var(--line); }
.owner-link small { display: block; color: var(--muted); font-size: 10px; font-weight: 400; margin-bottom: 5px; }
body { background-image: url('./motif.svg'); background-size: 360px 360px; }
.entry-eyebrow { display: flex; align-items: center; gap: 8px; }
@media (prefers-contrast: more) { body { background-image: none; } }
/* The entry page shares the application's blue palette and dice canvas. */
:root { --bg:#edf3fc; --ink:#263e5c; --muted:#5d7089; --line:#cbd9eb; --focus:#416da7; }
html, body { background-color:#edf3fc; }
body { background-image:url('./canvas.svg?v=rich3'); background-size:320px; }
.entry-eyebrow { color:#4c6c97; }
.activate-btn { background:#4d79b3; color:#fff; }
.activate-btn:hover:not(:disabled) { background:#3d679f; }
.key-input { border-color:#bdcfe5; background:#ffffffed; }
.key-input:focus { border-color:#4d79b3; outline-color:#4d79b3; }
.entry-support { border-color:#c2d4eb; }
.owner-link { color:#355b8b; }
@media (prefers-contrast:more) { body { background-image:none; } }
