/* LangLang — one stylesheet. Colours follow the app icon: blue + orange people, light paper by day, navy by night. */
:root {
  --bg1: #ffffff; --bg2: #eef0f5;
  --card: #ffffff; --card2: #f6f7fa;
  --ink: #1c1c1e; --ink2: #63636a; --ink3: #8a8a91;
  --line: rgba(20, 30, 60, .09);
  --blue: #4f7dff; --blue-soft: #e8eeff; --blue-wm: #5e8bff;
  --orange: #ff7a45; --orange-soft: #fff0e8; --orange-wm: #ff8a5b;
  --stamp: #e0352b;
  --ok: #1f9d55; --bad: #d93025;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(20, 30, 60, .04), 0 10px 30px rgba(20, 30, 60, .07);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, "PingFang SC", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg1: #141b33; --bg2: #0b1024;
    --card: #182039; --card2: #1d2643;
    --ink: #f2f3f7; --ink2: #a3abc0; --ink3: #6f7890;
    --line: rgba(255, 255, 255, .09);
    --blue: #7ea2ff; --blue-soft: rgba(94, 139, 255, .16); --blue-wm: #7ea2ff;
    --orange: #ff9a6b; --orange-soft: rgba(255, 138, 91, .15); --orange-wm: #ff9a6b;
    --stamp: #ff5a4f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .25);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 16px/1.65 var(--font); color: var(--ink);
  background: linear-gradient(180deg, var(--bg1) 0, var(--bg2) 520px) fixed, var(--bg2);
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; margin: 0 auto; }
.muted { color: var(--ink2); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Wordmark: "Lang" blue + "Lang" orange, rounded. */
.wordmark { font-family: var(--round); font-weight: 800; font-size: 22px; letter-spacing: -.01em; white-space: nowrap; }
.wordmark b { font-weight: 800; }
.wordmark .l1 { color: var(--blue-wm); }
.wordmark .l2 { color: var(--orange-wm); }
.wordmark.small { font-size: 16px; margin-right: 6px; }
.hero h1 .wordmark { font-size: inherit; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: color-mix(in srgb, var(--bg1) 78%, transparent); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none !important; }
.brand img { border-radius: 9px; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); display: block; }
.top-search { flex: 1; max-width: 360px; }
.top-search input { width: 100%; height: 38px; border-radius: 999px; padding: 0 16px; font-size: 15px; }
.top-nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.top-nav a { color: var(--ink); padding: 7px 12px; border-radius: 999px; font-size: 15px; }
.top-nav a:hover { background: var(--card2); text-decoration: none; }
.top-nav .nav-add { color: #fff; background: linear-gradient(135deg, var(--blue-wm), #3f6df0); font-weight: 600; }
.top-nav .nav-add:hover { background: linear-gradient(135deg, #6b95ff, #3f6df0); }
@media (max-width: 760px) {
  .top-in { flex-wrap: wrap; height: auto; padding: 10px 20px; gap: 10px; }
  .top-search { order: 3; max-width: none; flex-basis: 100%; }
  .top-nav a { padding: 6px 9px; font-size: 14px; }
  .top-nav a[href="/app"] { display: none; }
}

/* Footer */
.foot { margin-top: 72px; border-top: 1px solid var(--line); padding: 28px 0 40px; }
.foot-line { font-size: 15px; }
.foot-links a { color: var(--ink2); margin-right: 18px; font-size: 14px; }

/* Forms */
input, textarea, select {
  font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; width: 100%;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
textarea { min-height: 96px; resize: vertical; }
label { display: block; font-weight: 600; margin: 18px 0 6px; font-size: 15px; }
label .muted { font-weight: 400; }
.btn, button {
  font: inherit; font-weight: 600; border: 0; cursor: pointer; border-radius: 999px; padding: 10px 22px;
  color: #fff; background: linear-gradient(135deg, var(--blue-wm), #3f6df0); box-shadow: 0 4px 14px rgba(79, 125, 255, .3);
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none !important;
}
.btn:hover, button:hover { filter: brightness(1.05); }
.btn.ghost, button.ghost { color: var(--ink); background: var(--card); border: 1px solid var(--line); box-shadow: none; }
.btn.orange, button.orange { background: linear-gradient(135deg, var(--orange-wm), #f26530); box-shadow: 0 4px 14px rgba(255, 122, 69, .3); }
button.danger { background: var(--bad); box-shadow: none; }
.btn.small, button.small { padding: 6px 14px; font-size: 14px; }
.error { color: var(--bad); font-size: 14px; margin: 6px 0 0; }
.flash { margin: 18px 0 0; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--ok) 12%, var(--card)); color: var(--ok); font-weight: 600; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.form-actions { margin-top: 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* The 收录 stamp — same as the app's new-word card. */
.stamp {
  display: inline-flex; flex-direction: column; align-items: center; line-height: 1.15; color: var(--stamp);
  border: 1.6px solid color-mix(in srgb, var(--stamp) 75%, transparent); border-radius: 5px; padding: 3px 7px;
  transform: rotate(-6deg); font-weight: 800; letter-spacing: .04em; opacity: .9; white-space: nowrap; user-select: none;
}
.stamp i { font-style: normal; font-size: 10px; }
.stamp time { font: 700 11px/1.2 var(--mono); letter-spacing: 0; }
.stamp.big { padding: 6px 12px; border-width: 2.2px; border-radius: 8px; }
.stamp.big i { font-size: 14px; }
.stamp.big time { font-size: 16px; }

/* Chips */
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 12.5px; padding: 2px 10px; border-radius: 999px; background: var(--card2); color: var(--ink2); border: 1px solid var(--line); white-space: nowrap; }
.chip.new { background: var(--orange-soft); color: var(--orange); border-color: transparent; font-weight: 600; }
.chip.blue { background: var(--blue-soft); color: var(--blue); border-color: transparent; font-weight: 600; }
a.chip:hover { text-decoration: none; filter: brightness(.97); }

/* Home */
.hero { text-align: center; padding: 72px 0 28px; }
.hero-icon { width: 92px; height: 92px; border-radius: 22px; box-shadow: 0 8px 30px rgba(20, 30, 60, .16); margin-bottom: 26px; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 14px; }
.hero h1 .ai { color: var(--blue); }
.hero h1 .we { color: var(--orange); }
.hero .sub { font-size: clamp(16px, 2.2vw, 19px); color: var(--ink2); margin-bottom: 34px; }
.big-search { max-width: 620px; margin: 0 auto; position: relative; }
.big-search input { height: 64px; border-radius: 999px; padding: 0 140px 0 28px; font-size: 20px; box-shadow: var(--shadow); border-color: transparent; }
.big-search button { position: absolute; right: 7px; top: 7px; height: 50px; padding: 0 26px; font-size: 17px; }
.try { margin-top: 16px; color: var(--ink2); font-size: 14px; }
.try a { margin: 0 6px; }
.counter { display: flex; justify-content: center; gap: 40px; margin: 46px 0 8px; flex-wrap: wrap; }
.counter div { text-align: center; }
.counter b { display: block; font: 800 34px/1.1 var(--round); letter-spacing: -.02em; }
.counter span { color: var(--ink2); font-size: 14px; }
.counter .c-blue b { color: var(--blue); }
.counter .c-orange b { color: var(--orange); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 56px 0 16px; gap: 16px; }
.section-head h2 { font-size: 24px; margin: 0; }

/* Word cards (home, lists) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card {
  position: relative; display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 22px 18px; color: var(--ink); transition: transform .15s, box-shadow .15s;
}
a.card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 2px 4px rgba(20, 30, 60, .05), 0 16px 40px rgba(20, 30, 60, .11); }
.card .w { font: 700 21px/1.3 var(--font); letter-spacing: -.01em; padding-right: 78px; word-break: break-word; }
.card .tr { font-size: 18px; color: var(--orange); font-weight: 700; margin: 4px 0 6px; }
.card .m { color: var(--ink2); font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .stamp { position: absolute; right: 16px; top: 16px; }
.card .kind { margin-top: 10px; }

/* Entry page */
.entry { padding-top: 40px; }
.entry-head { position: relative; }
.entry-head .stamp { position: absolute; right: 4px; top: 6px; }
.entry h1.term { font-size: clamp(40px, 7vw, 68px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 6px; padding-right: 120px; word-break: break-word; }
.entry .aka { color: var(--ink2); margin: 0 0 12px; }
.speak { font-size: 14px; padding: 4px 12px; margin-left: 8px; vertical-align: middle; }
.sense { margin-top: 26px; }
.rec-label { font-size: 13px; color: var(--ink2); letter-spacing: .06em; margin-bottom: 4px; }
.rec { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rec .tr { font: 800 clamp(30px, 5vw, 44px)/1.2 var(--font); color: var(--orange); letter-spacing: -.01em; }
.copy { font-size: 13px; padding: 5px 12px; }
.alts { color: var(--ink2); margin-top: 6px; }
.meaning { font-size: 20px; line-height: 1.6; margin: 18px 0 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } .entry h1.term { padding-right: 0; } .entry-head .stamp { position: static; margin: 8px 0 4px; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; }
.panel h3 { font-size: 15px; color: var(--ink2); font-weight: 600; letter-spacing: .04em; margin-bottom: 14px; }

/* 出生证明 timeline */
.birth { list-style: none; padding: 0; margin: 0; position: relative; }
.birth li { position: relative; padding: 0 0 16px 26px; }
.birth li:last-child { padding-bottom: 0; }
.birth li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink3); }
.birth li::after { content: ""; position: absolute; left: 8.5px; top: 20px; bottom: -2px; width: 1.5px; background: var(--line); }
.birth li:last-child::after { display: none; }
.birth li.b-born::before { background: var(--blue); }
.birth li.b-cut::before { background: var(--ink3); border-radius: 2px; }
.birth li.b-in::before { background: var(--stamp); }
.birth .when { font-weight: 700; }
.birth .what { color: var(--ink2); font-size: 14px; }
.badge-after { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--stamp); background: color-mix(in srgb, var(--stamp) 10%, transparent); padding: 3px 10px; border-radius: 999px; }

/* 机器怎么翻 */
.vs { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; align-items: baseline; }
.vs .who { font-size: 13px; color: var(--ink2); white-space: nowrap; }
.vs .bad { text-decoration: line-through; text-decoration-color: var(--bad); text-decoration-thickness: 2px; color: var(--ink2); }
.vs .good { color: var(--orange); font-weight: 700; }

/* Examples */
.ex { list-style: none; padding: 0; margin: 0; }
.ex li { padding: 14px 0; border-top: 1px solid var(--line); }
.ex li:first-child { border-top: 0; padding-top: 0; }
.ex .en { font-size: 17px; }
.ex .en mark { background: var(--blue-soft); color: inherit; border-radius: 4px; padding: 0 3px; }
.ex .zh { color: var(--ink2); margin-top: 2px; }
.ex .src { font-size: 12.5px; color: var(--ink3); margin-top: 4px; }

/* Signed by */
.byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 15px; flex: none; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }

/* Old-word base */
.oldbox { margin-top: 22px; }
.oldbox .ph { color: var(--ink3); font-family: var(--mono); margin-left: 8px; font-size: 15px; }
.oldbox ol { margin: 8px 0 0; padding-left: 20px; }
.oldbox .src { font-size: 12.5px; color: var(--ink3); margin-top: 10px; }

/* Lists */
.list { list-style: none; padding: 0; margin: 0; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; align-items: center; padding: 16px 4px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row .w { font-weight: 700; font-size: 18px; }
.row .tr { color: var(--orange); font-weight: 700; margin-left: 10px; }
.row .m { grid-column: 1; color: var(--ink2); font-size: 14.5px; }
.row .stamp { grid-row: 1 / span 2; grid-column: 2; }
.pager { display: flex; justify-content: space-between; margin-top: 22px; }

/* Prose pages */
.prose { font-size: 17px; line-height: 1.8; }
.prose h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -.02em; margin-top: 48px; }
.prose h2 { font-size: 22px; margin-top: 40px; }
.prose li { margin-bottom: 6px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0 20px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink2); font-weight: 600; }
.lead { font-size: 20px; color: var(--ink2); }

/* Table (review) */
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th, table.t td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.page-title { margin-top: 40px; font-size: 32px; font-weight: 800; letter-spacing: -.02em; }

/* App page */
.app-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-top: 56px; }
@media (max-width: 760px) { .app-hero { grid-template-columns: 1fr; } }
.mock { background: var(--card); border-radius: 18px; box-shadow: 0 30px 80px rgba(20, 30, 60, .18); border: 1px solid var(--line); padding: 18px; position: relative; }
.mock .bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; display: block; }
.mock .bar i:nth-child(2) { background: #febc2e; } .mock .bar i:nth-child(3) { background: #28c840; }
.mock .src { font-size: 15px; color: var(--ink2); margin-bottom: 12px; }
.mock .nw { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--card2); position: relative; }
.mock .nw .stamp { position: absolute; right: 12px; top: 10px; }
.kbd { font-family: var(--mono); font-size: 13px; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--card2); }

/* ---- Round 2: hero says one word, cards show the machine's miss ---- */
.hero { position: relative; }
.hero-stamp { position: absolute; right: 6%; top: 52px; transform: rotate(-9deg) scale(1.35); }
@media (max-width: 760px) { .hero-stamp { right: 4px; top: 18px; transform: rotate(-9deg) scale(.95); } }
.kicker { display: inline-flex; align-items: center; gap: 2px; padding: 5px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); font-weight: 700; font-size: 15px; margin-bottom: 26px; }
.hero h1 .new { color: var(--orange); background: linear-gradient(transparent 68%, var(--orange-soft) 68%); padding: 0 2px; }
.card .born { font-size: 12.5px; color: var(--ink3); margin-bottom: 2px; padding-right: 78px; }
.card .mach { font-size: 13px; color: var(--ink3); margin-top: 2px; }
.card .mach s { text-decoration-color: var(--bad); text-decoration-thickness: 1.5px; }
.cta { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 48px; }
.cta p { margin: 0; }
.cta-title { font-size: 19px; font-weight: 700; margin-bottom: 4px !important; }
.brand-tag { font-size: 13px; font-weight: 600; color: var(--ink2); padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--line); white-space: nowrap; }
@media (max-width: 420px) { .brand-tag { display: none; } }

/* ---- Entry page, round 2 ---- */
.head-chips { margin-bottom: 10px; }
.entry h1.term { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.say { font-size: 18px; padding: 6px 10px; background: var(--card); border: 1px solid var(--line); box-shadow: none; color: var(--ink); }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 30px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 26px; }
.v-label { font-size: 13px; color: var(--ink2); letter-spacing: .06em; }
.v-word { font: 800 clamp(24px, 4vw, 34px)/1.25 var(--font); margin: 4px 0; }
.v-machine .v-word { color: var(--ink2); }
.v-machine .v-word s { text-decoration-color: var(--bad); text-decoration-thickness: 3px; }
.v-people .v-word { color: var(--orange); }
.v-note { font-size: 13px; color: var(--ink3); }
.v-arrow { font-size: 28px; color: var(--ink3); }
@media (max-width: 560px) { .versus { grid-template-columns: 1fr; } .v-arrow { display: none; } }
.ex-one .en { font-size: 17px; }
.ex-one .en mark, .ex .en mark { background: var(--blue-soft); color: inherit; border-radius: 4px; padding: 0 3px; }
.ex-one .zh { color: var(--ink2); margin-top: 4px; }
.ex-one .src, .ex .src { font-size: 12.5px; color: var(--ink3); margin-top: 6px; }
.mach-line { font-size: 13px; color: var(--ink3); margin-top: 6px; }
.signoff { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signoff-actions { margin-left: auto; display: flex; gap: 8px; }
.app-strip { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px 20px; border-radius: var(--radius); background: var(--blue-soft); color: var(--ink); }
.app-strip:hover { text-decoration: none; filter: brightness(.98); }
.app-strip img { border-radius: 10px; }
.app-strip .go { margin-left: auto; font-weight: 700; color: var(--blue); white-space: nowrap; }
details.more { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
details.more summary { cursor: pointer; color: var(--blue); font-weight: 600; }
label.chip.pick { margin: 0; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; }
label.chip.pick input { width: auto; margin: 0 6px 0 0; }
.wanted { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.want { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px dashed color-mix(in srgb, var(--orange) 55%, transparent); color: var(--ink); font-weight: 600; }
.want:hover { text-decoration: none; background: var(--orange-soft); }
.want .n { font-size: 12px; color: var(--ink3); font-weight: 500; }
.timeline { margin: 28px 0 8px; }
.tl-bar { display: grid; grid-template-columns: 3fr auto 2.2fr auto; align-items: stretch; border-radius: 14px; overflow: hidden; font-size: 13px; font-weight: 600; }
.tl-bar span { padding: 12px 12px; }
.tl-known { background: var(--blue-soft); color: var(--blue); }
.tl-cut { background: var(--ink); color: var(--bg1); }
.tl-gap { background: color-mix(in srgb, var(--stamp) 12%, var(--card)); color: var(--stamp); }
.tl-next { background: var(--card2); color: var(--ink2); }
.tl-ll { margin-top: 8px; text-align: right; color: var(--orange); font-weight: 700; font-size: 14px; }
@media (max-width: 560px) { .tl-bar { grid-template-columns: 1fr; } }
.nw, .try a { white-space: nowrap; }
@media (max-width: 560px) {
  .hero { padding-top: 56px; }
  .hero h1 { font-size: 30px; }
  .big-search input { height: 56px; font-size: 18px; padding: 0 110px 0 22px; }
  .big-search button { height: 44px; padding: 0 18px; font-size: 16px; }
  .counter { gap: 28px; }
}
details.fold summary { list-style: none; cursor: pointer; }
details.fold summary::-webkit-details-marker { display: none; }
details.fold summary h3 { display: inline; margin: 0; }
details.fold summary::after { content: " 展开"; font-size: 13px; color: var(--blue); }
details.fold[open] summary::after { content: " 收起"; }
details.fold[open] summary { margin-bottom: 10px; }
.mach-inline { color: var(--ink3); text-decoration-color: var(--bad); margin-right: 4px; }
.card .born { padding-right: 0; }
.card .mach { font-size: 15px; }

/* ---- Entry page, round 3: one answer, then the proof in one line ---- */
.alts-inline { display: block; font-size: 15px; color: var(--ink2); margin-top: 4px; }
.birthline { margin: 18px 2px 0; font-size: 15px; line-height: 1.8; }
.birthline b { color: var(--ink); }
.usage { margin-top: 22px; padding: 16px 20px; border-left: 3px solid var(--blue-wm); background: var(--card); border-radius: 0 14px 14px 0; }
.usage .en { font-size: 17px; }
.usage .en mark { background: var(--blue-soft); color: inherit; border-radius: 4px; padding: 0 3px; }
.usage .zh { color: var(--ink2); margin-top: 4px; }
.usage .src { font-size: 12.5px; color: var(--ink3); margin-top: 6px; }
.oldfold { margin-top: 16px; color: var(--ink2); }
.oldfold summary { cursor: pointer; color: var(--blue); font-size: 15px; }
.oldfold ol { margin: 8px 0 4px; padding-left: 20px; }
.proof { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 44px auto 0; max-width: 640px; text-align: left; }
.proof > b { font: 800 64px/1 var(--round); color: var(--orange); letter-spacing: -.03em; }
.proof > span { font-size: 17px; font-weight: 600; line-height: 1.5; }
.proof .muted { font-size: 14px; font-weight: 400; }
@media (max-width: 560px) { .proof { flex-direction: column; text-align: center; gap: 6px; } .proof > b { font-size: 52px; } }
.mach-row { display: block; font-size: 13px; color: var(--ink3); margin-top: 2px; }
.mach-row s { text-decoration-color: var(--bad); text-decoration-thickness: 1.5px; }
a.proof { text-decoration: none !important; color: var(--ink); border-radius: 20px; padding: 10px 18px; transition: background .15s; }
a.proof:hover { background: var(--card); }
.card .tr.big { font-size: 24px; margin-top: 2px; }
.card .mach { margin-top: 6px; }
.versus { position: relative; }
.v-copy { position: absolute; right: 14px; bottom: 12px; font-size: 12px; padding: 4px 10px; }
@media (max-width: 560px) { .v-copy { position: static; justify-self: start; } }

/* a button for something not available yet */
.btn[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }

/* try-words wrap instead of running off a phone screen; section heads stack on narrow screens */
.try { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; }
.try a { margin: 0; }
@media (max-width: 600px) {
  .section-head { flex-wrap: wrap; gap: 6px 16px; }
  .section-head h2 { white-space: nowrap; }
}

/* the first-screen contrast: what the machine said, struck, then the answer */
.hero-proof s { color: var(--ink3); text-decoration-color: #e0605a; text-decoration-thickness: 2px; }
.hero-proof .hero-answer { color: var(--orange); font-weight: 800; }
.hero-proof a { color: var(--ink); }

.nav-beta { font-size: 11px; margin-left: 3px; color: var(--ink3); font-weight: 600; }

.v-ok { color: var(--ink2); }

.chip.coined { color: var(--ink3); border-style: dashed; }
