:root {
  --ground: #13181E; --surface: #181E25; --surface-2: #1F262E; --surface-3: #262E38;
  --text: #E7EBF1; --muted: #A0AAB8; --faint: #6B7686; --outline: #323B47;
  --accent: #F2913F; --accent-hi: #F9A155; --accent-fg: #FBB67E; --on-accent: #1C1304;
  --ok: #3DAE7E; --ok-fg: #5FCB9A; --warn: #D6982F; --warn-fg: #EDBB62; --bad: #D85543; --bad-fg: #EE8576; --info: #4E8FD4; --info-fg: #8FBCEB;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font: 15px/1.55 "Segoe UI", system-ui, -apple-system, "Microsoft YaHei UI", "PingFang SC", sans-serif; }
a { color: var(--accent-fg); }
h1, h2 { font-family: "Chakra Petch", "Segoe UI", sans-serif; letter-spacing: .01em; }
h1 { font-size: 30px; margin: 0 0 10px; line-height: 1.2; }
h1 em { font-style: normal; color: var(--accent-hi); }
h2 { font-size: 17px; margin: 0 0 14px; color: var(--accent-hi); }
code, kbd { font-family: "JetBrains Mono", Consolas, monospace; font-size: 13px; background: var(--surface-3); padding: 1px 5px; border-radius: 4px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; background: var(--surface); border-bottom: 1px solid var(--outline); position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 700; font-family: "Chakra Petch", "Segoe UI", sans-serif; }
.brand span { color: var(--accent-hi); font-weight: 600; }
.top nav { display: flex; align-items: center; gap: 16px; font-size: 14px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--text); }
.who { color: var(--text); font-weight: 600; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 24px 16px 60px; }
.wrap.narrow { max-width: 720px; }
.hero { margin: 18px 0 22px; }
.lead { font-size: 17px; color: var(--muted); margin: 0; }
.card { background: var(--surface); border: 1px solid var(--outline); border-radius: 12px; padding: 20px 22px; margin-bottom: 18px; position: relative; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.note { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; background: rgba(78,143,212,.12); border: 1px solid rgba(78,143,212,.5); color: var(--info-fg); }
.note.warn { background: rgba(216,85,67,.12); border-color: rgba(216,85,67,.6); color: var(--bad-fg); }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: none; border-radius: 8px; cursor: pointer; font: inherit; font-weight: 700; font-size: 14px; text-decoration: none; background: linear-gradient(180deg, var(--accent-hi), var(--accent)); color: var(--on-accent); }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: var(--surface-3); color: var(--text); border: 1px solid var(--outline); font-weight: 600; }
.btn.ok { background: var(--ok); color: #06150E; }
.btn.small { padding: 5px 11px; font-size: 13px; }
.btn.discord { background: #5865F2; color: #fff; padding: 11px 22px; font-size: 15px; }
.bar { height: 10px; border-radius: 99px; background: var(--surface-3); overflow: hidden; display: flex; }
.bar i { display: block; height: 100%; transition: width .4s; }
.bar .safe { background: var(--ok); }
.bar .done { background: var(--warn); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 4px 0 12px; vertical-align: middle; }
.dot.safe { background: var(--ok); margin-left: 0; }
.dot.done { background: var(--warn); }
.legend { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.lang-row { display: grid; grid-template-columns: 200px 1fr 220px; gap: 14px; align-items: center; margin: 10px 0; }
.lang-num { font-size: 13px; color: var(--muted); text-align: right; }
.lang-num b { color: var(--text); font-size: 15px; }
.steps { margin: 0; padding-left: 20px; }
.steps li { margin: 6px 0; }
.form label { display: block; margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.form input:not([type=checkbox]), .form textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--outline); border-radius: 8px; color: var(--text); font: inherit; }
.form input:focus, .form textarea:focus, textarea:focus, input[type=search]:focus { outline: none; border-color: var(--accent); }
.form fieldset { border: 1px solid var(--outline); border-radius: 10px; padding: 12px 16px 2px; margin: 0 0 14px; }
.form legend { color: var(--muted); font-size: 14px; padding: 0 6px; }
.form .check { display: flex; align-items: center; gap: 8px; color: var(--text); }
.form .check input { width: 18px; height: 18px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.foot { text-align: center; color: var(--faint); font-size: 13px; padding: 26px 16px 40px; }
.foot a { color: var(--muted); }

.intro ul { margin: 0; padding-left: 20px; }
.intro li { margin: 5px 0; }
.intro .x { position: absolute; top: 10px; right: 12px; background: none; border: none; color: var(--muted); font-size: 22px; cursor: pointer; }
.head { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.langs { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--outline); background: var(--surface-2); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.pill.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.overall { flex: 1; min-width: 240px; }
.overall-text { margin-bottom: 6px; }
.overall .big { font-size: 22px; color: var(--accent-hi); }
.overall .bar { margin-bottom: 6px; }
.toolbar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.areas, .filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 12px; border-radius: 99px; font: inherit; font-size: 13px; background: var(--surface-2); border: 1px solid var(--outline); color: var(--muted); cursor: pointer; }
.chip .n { opacity: .75; }
.chip.active { background: var(--surface-3); border-color: var(--accent); color: var(--text); }
.filters { background: var(--surface); border: 1px solid var(--outline); border-radius: 10px; padding: 4px; width: fit-content; max-width: 100%; }
.seg { padding: 7px 14px; border: none; border-radius: 7px; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.seg.active { background: var(--accent); color: var(--on-accent); }
input[type=search] { width: 100%; padding: 10px 14px; background: var(--surface); border: 1px solid var(--outline); border-radius: 10px; color: var(--text); font: inherit; }
#count { margin: 4px 2px 8px; }
.list { display: flex; flex-direction: column; gap: 12px; }
.empty { padding: 40px 16px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--outline); border-radius: 12px; }
.item { background: var(--surface); border: 1px solid var(--outline); border-left: 4px solid var(--faint); border-radius: 12px; padding: 14px 16px; transition: opacity .2s, box-shadow .3s; }
.item.st-official, .item.st-reviewed { border-left-color: var(--ok); }
.item.st-suggested { border-left-color: var(--warn); }
.item.st-outdated { border-left-color: var(--bad); }
.item.busy { opacity: .55; pointer-events: none; }
.item.flash { box-shadow: 0 0 0 2px rgba(61,174,126,.45); }
.meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--faint); margin-bottom: 8px; }
.meta .area { text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.meta .ctx { font-family: "JetBrains Mono", Consolas, monospace; overflow-wrap: anywhere; }
.meta .badge { margin-left: auto; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.badge.missing { background: rgba(160,170,184,.14); color: var(--muted); }
.badge.suggested { background: rgba(214,152,47,.18); color: var(--warn-fg); }
.badge.outdated { background: rgba(216,85,67,.18); color: var(--bad-fg); }
.badge.reviewed, .badge.official { background: rgba(61,174,126,.18); color: var(--ok-fg); }
.src .en { font-size: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.src .de { margin-top: 4px; font-size: 13px; color: var(--muted); }
.src .de summary { cursor: pointer; color: var(--faint); width: fit-content; }
.cur { margin: 10px 0; padding: 10px 12px; background: var(--surface-2); border-radius: 8px; }
.cur .tx, .sugg .tx { font-size: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.cur .none { color: var(--faint); font-style: italic; font-size: 14px; }
.by { font-size: 12px; color: var(--faint); margin-top: 2px; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.cur + .actions { margin-top: 0; }
.editor { margin-top: 10px; }
.editor textarea { width: 100%; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--accent); border-radius: 8px; color: var(--text); font: inherit; font-size: 16px; resize: vertical; }
.phs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 6px 0; }
.ph { font-family: "JetBrains Mono", Consolas, monospace; font-size: 12px; padding: 3px 8px; border-radius: 6px; background: var(--surface-3); border: 1px solid var(--outline); color: var(--accent-fg); cursor: pointer; }
.editor .actions { margin-top: 8px; }
.suggs { margin-top: 12px; border-top: 1px solid var(--outline); padding-top: 10px; }
.suggs .label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--warn-fg); font-weight: 700; margin-bottom: 6px; }
.sugg { padding: 8px 10px; border-radius: 8px; background: rgba(214,152,47,.07); margin-bottom: 6px; }
.sugg .actions { margin-top: 6px; }
.msg { font-size: 13px; margin-top: 6px; min-height: 0; }
.msg.good { color: var(--ok-fg); }
.msg.bad { color: var(--bad-fg); }
.more { text-align: center; margin-top: 16px; }

@media (max-width: 700px) {
  h1 { font-size: 24px; }
  .lang-row { grid-template-columns: 1fr; gap: 6px; }
  .lang-num { text-align: left; }
  .top { padding: 10px 16px; }
  .meta .badge { margin-left: 0; }
  .filters { width: 100%; }
  .seg { flex: 1; padding: 7px 8px; }
}
