/* Visual-only companion to assets/login.css; login.js and DOM are unmodified. */
:root {
  --ink-0: #080a09;
  --ink-1: #0a0e0c;
  --ink-2: #151a17;
  --paper: #f3f0e8;
  --paper-dim: #c7c4bb;
  --paper-faint: #a8a79f;
  --line: rgba(255,255,255,.19);
  --line-strong: rgba(255,255,255,.27);
  --gilt: #cfbc98;
  --control-bg: #111615;
  --serif: "STFangsong","FangSong","Songti SC",serif;
  --sans: "PingFang SC","Microsoft YaHei",sans-serif;
  color-scheme: dark;
}
body { font-weight: 400; letter-spacing: 0; }
.page-texture { display: none; }
.page-glow {
  background: linear-gradient(90deg,rgba(3,7,7,.48),rgba(3,7,7,.7)),linear-gradient(180deg,rgba(3,7,7,.28),rgba(3,7,7,.76)),url('hero.webp') center/cover no-repeat;
}
.site-header { width: min(1280px,calc(100% - 64px)); min-height: 84px; }
.brand { letter-spacing: .16em; font-size: 20px; }
.brand small { color: var(--paper-dim); letter-spacing: .2em; }
.back-link { min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(4,7,7,.45); letter-spacing: 0; font-size: 13px; }
.login-shell { width: min(1200px,calc(100% - 80px)); min-height: calc(100svh - 160px); padding: 68px 0; gap: clamp(48px,7vw,110px); grid-template-columns: minmax(0,1fr) minmax(410px,.83fr); }
.story-kicker,.auth-kicker { color: var(--gilt); font-size: 11px; letter-spacing: .2em; }
.story-panel h2 { margin: 24px 0; font-size: clamp(42px,4.8vw,68px); font-weight: 500; letter-spacing: .02em; line-height: 1.35; }
.story-panel h2 em { color: var(--paper); }
.story-copy { font-size: 17px; line-height: 1.85; }
.path-list { margin-top: 36px; }
.path-list li { padding-block: 20px; gap: 10px; }
.path-list > li > span { color: var(--gilt); }
.path-list b { font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.path-list small { font-size: 12px; line-height: 1.65; }
.trust-note { font-size: 12px; letter-spacing: 0; line-height: 1.7; }
.auth-panel::before,.auth-panel::after { display: none; }
.auth-card { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: rgba(4,7,7,.94); box-shadow: none; backdrop-filter: none; }
.auth-heading h1 { font-family: var(--sans); font-size: 30px; font-weight: 500; letter-spacing: -.02em; margin: 14px 0; }
.auth-heading p { font-size: 15px; line-height: 1.8; }
.field > label,.agreements legend { font-size: 13px; letter-spacing: 0; }
.field > label small { font-size: 11px; letter-spacing: 0; }
.field-hint { font-size: 12px; line-height: 1.7; }
.field-control,.code-control { min-height: 52px; border-radius: 12px; }
.field input[type="tel"],.field input[type="text"] { height: 50px; font-size: 16px; letter-spacing: 0; }
.field input::placeholder { color: var(--paper-faint); }
.field-control:focus-within,.code-control:focus-within { border-color: var(--gilt); box-shadow: 0 0 0 3px rgba(207,188,152,.12); }
.send-button { min-height: 44px; height: 44px; min-width: 102px; margin-right: 4px; font-size: 12px; letter-spacing: 0; border-radius: 0 10px 10px 0; }
.submit-button { min-height: 52px; border: 1px solid var(--paper); border-radius: 999px; background: var(--paper); color: #141613; font-size: 15px; font-weight: 500; letter-spacing: 0; }
.submit-button:hover:not(:disabled) { border-color: #e5ddcf; background: #e5ddcf; box-shadow: none; }
.douyin-button { min-height: 52px; border-radius: 999px; font-size: 14px; letter-spacing: 0; }
.login-method-divider { font-size: 12px; letter-spacing: 0; }
.security-note { font-size: 11px; line-height: 1.7; letter-spacing: 0; align-items: flex-start; }
.security-note svg { flex-shrink: 0; margin-top: 2px; }
.form-message { font-size: 13px; color: #f2a894; }
.agreements label { font-size: 13px; min-height: 44px; align-items: center; }
.agreements input { width: 20px; height: 20px; margin: 0; }
.session-profile { border-radius: 16px; overflow: hidden; }
.session-profile-head strong { font-size: 20px; }
.session-profile-head small,.session-profile-facts dt,.session-profile-facts dd { font-size: 12px; }
.logout-button { min-height: 44px; font-size: 13px; }
.douyin-link-dialog { border-radius: 22px; border-color: var(--line-strong); background: #080c0b; box-shadow: 0 24px 72px rgba(0,0,0,.5); }
.douyin-link-seal { background: #141a16; }
.douyin-link-kicker { color: var(--gilt); }
.douyin-link-actions button { border-radius: 999px; font-size: 13px; }
.douyin-link-primary { color: #141613; border-color: var(--paper); background: var(--paper); }
.douyin-link-primary:hover { color: #141613; border-color: #e5ddcf; background: #e5ddcf; }
.douyin-link-expiry,.douyin-link-paths p { font-size: 12px; }
.site-footer { width: min(1280px,calc(100% - 64px)); min-height: 76px; color: var(--paper-faint); font-size: 12px; letter-spacing: 0; line-height: 1.7; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; }
:focus-visible { outline: 2px solid var(--gilt); outline-offset: 4px; }
@media (max-width: 960px) {
  .login-shell { width: min(680px,calc(100% - 48px)); min-height: 0; grid-template-columns: minmax(0,1fr); gap: 36px; padding: 48px 0 56px; }
  .story-panel { max-width: none; }
  .story-panel h2 { font-size: clamp(38px,7vw,56px); }
  .story-copy { max-width: none; }
  .path-list { margin-top: 26px; }
}
@media (max-width: 600px) {
  .page-glow { background: linear-gradient(180deg,rgba(3,7,7,.45),rgba(3,7,7,.91) 62%),url('hero-m.webp') center top/cover no-repeat; }
  .site-header { width: calc(100% - 40px); min-height: 76px; }
  .brand { gap: 10px; font-size: 17px; }
  .brand small { display: none; }
  .back-link { padding-inline: 12px; font-size: 12px; }
  .login-shell { width: calc(100% - 32px); padding-top: 36px; gap: 32px; }
  .story-panel { padding-inline: 4px; }
  .story-panel h2 { font-size: clamp(32px,8.9vw,48px); }
  .story-copy { font-size: 16px; line-height: 1.85; }
  .path-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .path-list li { padding: 16px 7px 16px 0; display: block; }
  .path-list li + li { padding-left: 9px; border-top: 0; border-left: 1px solid var(--line); }
  .path-list li > span { display: block; margin-bottom: 8px; }
  .path-list b { font-size: 14px; }
  .path-list small { font-size: 11px; }
  .auth-card { padding: 26px 20px; border-radius: 18px; }
  .auth-heading h1 { font-size: 28px; }
  .send-button { min-width: 94px; padding-inline: 9px; }
  .site-footer { width: calc(100% - 40px); padding: 20px 0; gap: 4px; align-items: flex-start; }
  .douyin-link-dialog { border-radius: 18px; }
}
