* { box-sizing: border-box }
[hidden] { display: none !important }
:root { color-scheme: dark; font-family: "Inter", "Segoe UI", Arial, sans-serif; color: #efefed; background: #101011; font-synthesis: none }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column }
button, input { font: inherit }
button, summary { cursor: pointer }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em }
button, a, summary, input { -webkit-tap-highlight-color: transparent }
:focus-visible { outline: 3px solid #929292; outline-offset: 4px }
.frame { width: min(1200px, calc(100% - clamp(32px, 8vw, 128px))); margin-inline: auto }
.bar, .foot { display: flex; align-items: center; justify-content: space-between; gap: 16px }
.bar { min-height: 80px; border-bottom: 1px solid #343437 }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 720; font-size: 15px; letter-spacing: .17em }
.quiet-link { background: transparent; padding: 11px 16px; border-radius: 30px; border: 1px solid #57575a; color: inherit; text-decoration: none; font-size: .9rem }
.quiet-link:hover { border-color: #bababc }
.foot { margin-top: auto; padding-block: 26px; border-top: 1px solid #343437; font-size: .83rem; color: #c3c3c3 }
.foot a { padding-block: 8px }
.login-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); margin-block: clamp(24px, 5vw, 75px); border-radius: 28px; overflow: hidden }
.art-panel, .sub-card { position: relative; isolation: isolate; overflow: hidden; background: #29292b url("./assets/graphite-relief.webp") center 48% / cover }
.art-panel { display: grid; place-items: center }
.art-panel img { width: 92%; height: auto; object-fit: contain; filter: drop-shadow(0 26px 26px #0006) }
.login-panel { color-scheme: light; background: #eeede9; color: #141416; padding: clamp(30px, 5vw, 76px); display: grid; place-items: center }
.form-wrap { width: min(100%, 400px) }
h1, h2, p { margin: 0 }
h1 { font-size: clamp(2.8rem, 5.8vw, 5.7rem); line-height: .96; letter-spacing: -.075em; font-weight: 620 }
h1 span { color: #858589 }
.lede { margin-block: 22px 30px; line-height: 1.5; color: #47474a; max-width: 35ch }
.action { width: 100%; min-height: 50px; border: 0; border-radius: 14px; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; background: #18181a; color: #fafaf7; font-weight: 600; text-align: left; line-height: 1.35 }
.action:hover { background: #343437 }
button:disabled { opacity: .58; cursor: default }
.secondary { background: #d7d6d2; color: #141416 }
.secondary:hover { background: #c9c8c4 }
.login-feedback { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .88rem; line-height: 1.45 }
.login-feedback p:not(:empty), #email-feedback:not(:empty) { margin-top: 14px }
[data-login-timer] { font-variant-numeric: tabular-nums }
.text-btn { border: 0; padding: 10px 0; background: transparent; color: inherit; font-size: .9rem; text-decoration: underline; text-underline-offset: .24em }
.email-entry { border-top: 1px solid #c9c8c4; margin-top: 19px }
.email-entry summary { padding: 17px 0; font-weight: 570 }
.email-entry form { display: grid; gap: 10px }
input { width: 100%; border: 1px solid #a6a6a5; border-radius: 10px; min-height: 48px; padding: .65rem .8rem; color: #19191a; background: #fff }
label { font-size: .86rem; font-weight: 580 }
#otp { letter-spacing: .35em; font-variant-numeric: tabular-nums }
.hint, #email-feedback { color: #49494a; font-size: .87rem; line-height: 1.45 }
.pair { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px }
.cabinet { margin-block: clamp(32px, 5vw, 72px) }
.cabinet h1 { margin-bottom: clamp(24px, 3vw, 40px) }
#retry { margin-top: 20px }
.dashboard { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 18px }
.sub-card, .dark-card { border-radius: 22px; border: 1px solid #424246; padding: clamp(22px, 4vw, 48px) }
.sub-card { grid-row: span 2; display: grid; align-content: end; min-height: 310px }
.sub-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(30deg, #121213 12%, #151517e6 52%, #14141426 100%) }
.kicker { font-size: .86rem; color: #cccbcb; margin-bottom: 12px }
.sub-card h2 { font-size: clamp(2rem, 5vw, 4.5rem); letter-spacing: -.065em; line-height: 1.02; overflow-wrap: anywhere }
#sub-detail, #device-limit, #devices-feedback, #copy-status { margin-top: 12px; color: #d2d2d2; line-height: 1.5 }
#copy-status:empty, #devices-feedback:empty { display: none }
.sub-card .action { width: fit-content; margin-top: 28px; color: #19191a; background: #f0efed }
.sub-card .action:hover { background: white }
.bot-link { display: inline-block; padding-block: 12px; margin-top: 8px; font-size: .95rem }
#manual-copy { margin-top: 10px }
.dark-card { background: #222224 }
.dark-card h2 { font-size: 1.4rem; letter-spacing: -.035em }
.facts { margin: 14px 0 0 }
.facts div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid #464649 }
.facts div:last-child { border: 0 }
.facts dt { color: #bebec0 }
.facts dd { margin: 0; text-align: right; overflow-wrap: anywhere }
#device-list { margin: 0; padding: 0; list-style: none }
#device-list li { padding: 10px 0 4px; overflow-wrap: anywhere }
@media (max-width: 760px) {
  .bar { min-height: 66px }
  .login-layout { grid-template-columns: 1fr; border-radius: 20px; margin-block: 20px 36px }
  .art-panel { height: clamp(96px, 18vh, 156px); background-position: 50% 34% }
  .art-panel img { width: auto; height: 128%; position: absolute; }
  .login-panel { padding: 26px clamp(18px, 6vw, 40px) }
  h1 br { display: none }
  .dashboard { grid-template-columns: 1fr }
  .sub-card { min-height: 235px; grid-row: auto }
}
[data-telegram-mini] { padding-top: max(env(safe-area-inset-top, 0px), var(--tg-content-safe-area-inset-top, 0px)); padding-bottom: max(env(safe-area-inset-bottom, 0px), var(--tg-safe-area-inset-bottom, 0px)); background: #101011 url("./assets/graphite-relief.webp") center top / cover fixed }
[data-telegram-mini] .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%) }
[data-telegram-mini] .cabinet { margin-block: 22px 32px }
[data-telegram-mini] .sub-card { background: #202022 }
[data-telegram-mini] .sub-card::before { inset: 14px 14px auto auto; width: clamp(80px, 22vw, 150px); height: 94px; background: url("./assets/mors-silver.webp") right top / contain no-repeat; opacity: .8 }
[data-telegram-mini] .card-content { padding-top: 40px }
.mini-help { display: grid; justify-items: start; gap: 18px; margin-top: 22px }
.mini-help .action { width: auto; color: #141416; background: #efefed }
