/* One door (/login/): the unified DiamondBack style Nick approved 2026-11-26. Light only. */
@font-face { font-family: 'Plus Jakarta Sans'; src: url('/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
:root { --ground: #f5f5f7; --card: #fff; --ink: #1d1d1f; --soft: #55555a; --faint: #6e6e73; --rule: #e3e3e8; --hair: #ececf0; --red: #ee223c; --btn: #d81b33; --btn-deep: #c2132b; --chip: #e8e8ed; --tint: #fdecee; --good: #1f8a4c;
  --display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 28px rgba(0,0,0,.05); --shadow-lg: 0 1px 2px rgba(0,0,0,.04), 0 18px 44px rgba(0,0,0,.08); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/1.5 var(--body); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
a { color: var(--ink); }
a:hover { color: var(--btn-deep); }
h1, h2 { font-family: var(--display); font-weight: 800; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(30px, 6vw, 38px); letter-spacing: -1px; line-height: 1.08; }
h2 { font-size: 14px; font-weight: 600; font-family: var(--body); color: var(--faint); letter-spacing: 0; margin: 28px 0 12px; }
p { margin: 0; }
:focus-visible { outline: 3px solid #1d1d1f; outline-offset: 2px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 14px; border-radius: 10px; z-index: 5; }
.skip:focus { left: 8px; }

.bar { position: sticky; top: 0; z-index: 3; background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--rule); }
.bar-in { max-width: 1040px; margin: 0 auto; padding: 0 16px; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mark { font: 800 19px/1 var(--display); letter-spacing: -.3px; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
.mark b { color: var(--red); font-weight: 800; }
.bar form { margin: 0; display: flex; align-items: center; gap: 10px; min-width: 0; }
.bar .who { font-size: 14px; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34vw; }
@media (max-width: 480px) { .bar .who { display: none; } }

.wrap { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 28px 16px 40px; }
.narrow { max-width: 440px; margin: 0 auto; padding-top: clamp(8px, 6vh, 56px); }
.card { background: var(--card); border-radius: 28px; padding: 28px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 420px) { .card { padding: 22px; border-radius: 24px; } }
.lead { font-size: 16px; color: var(--soft); }
.small { font-size: 14px; color: var(--soft); }
.under { margin-top: 18px; text-align: center; }
label { font-size: 14px; font-weight: 600; }
input[type='email'], input[type='text'], input[type='search'] { font: 400 17px var(--body); height: 52px; border-radius: 14px; border: 1px solid #d2d2d7; padding: 0 16px; background: #fff; color: var(--ink); width: 100%; }
input:focus-visible { outline: 3px solid #1d1d1f; outline-offset: 1px; }
.code { font: 600 26px var(--display) !important; letter-spacing: 6px; text-align: center; height: 60px !important; }
.btn { font: 600 17px var(--body); color: #fff; background: var(--btn); border: 0; border-radius: 999px; min-height: 54px; padding: 0 24px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; width: 100%; }
.btn:hover { background: var(--btn-deep); color: #fff; }
.btn.quiet { color: var(--ink); background: var(--chip); }
.btn.quiet:hover { background: #dcdce2; color: var(--ink); }
.pill { font: 600 14px var(--body); color: var(--ink); background: var(--chip); border: 0; border-radius: 999px; padding: 0 16px; min-height: 44px; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; flex: none; white-space: nowrap; }
.pill:hover { background: #dcdce2; color: var(--ink); }
.note { background: #f2f7f3; color: #14532d; border-radius: 14px; padding: 12px 14px; font-size: 15px; }
.note.warn { background: #fdf0cf; color: #6b4a00; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; font-size: 15px; }
.check input { width: 22px; height: 22px; accent-color: var(--btn); }

.hello { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hello p { color: var(--soft); margin-top: 4px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.tile { background: var(--card); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); min-height: 172px; transition: transform .15s ease, box-shadow .15s ease; }
.tile:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 16px 36px rgba(0,0,0,.09); }
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } .tile:hover { transform: none; } }
.tile .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--btn-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.tile .st { font-size: 13px; font-weight: 600; color: var(--soft); }
.tile .st.live { color: var(--good); }
.tile .t { font: 700 20px/1.2 var(--display); }
.tile .l { font-size: 14px; font-weight: 600; color: var(--faint); }
.tile .d { font-size: 15px; color: var(--soft); }
.tile .go { font-size: 15px; font-weight: 600; color: var(--btn-deep); margin-top: auto; padding-top: 6px; }
.tiles.compact .tile { min-height: 0; }
.list { background: var(--card); border-radius: 24px; padding: 4px 22px; box-shadow: var(--shadow); list-style: none; margin: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 66px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.list li:last-child { border-bottom: 0; }
.list .n { font-size: 16px; font-weight: 600; }
.list .s { font-size: 14px; color: var(--soft); }
.list a.row { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: 100%; min-height: 46px; text-decoration: none; font-weight: 600; }
.list a.row span { color: var(--faint); font-weight: 500; font-size: 15px; }
.list.rows li { min-height: 54px; padding: 4px 0; }
.empty { background: var(--card); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); color: var(--soft); }
.qr { align-self: center; width: 208px; height: 208px; padding: 10px; background: #fff; border: 1px solid var(--rule); border-radius: 18px; }
.qr svg { width: 100%; height: 100%; display: block; }
.secret { font: 600 15px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 1px; word-break: break-all; background: var(--ground); border-radius: 12px; padding: 12px 14px; user-select: all; }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; list-style: none; padding: 0; margin: 0; }
.codes li { font: 600 16px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--ground); border-radius: 12px; padding: 12px; text-align: center; user-select: all; }
ol.steps { margin: 0; padding-left: 20px; color: var(--soft); display: flex; flex-direction: column; gap: 6px; }
.foot { text-align: center; font-size: 14px; color: var(--soft); padding: 8px 16px 28px; }
.foot a { color: var(--soft); }
