:root {
  --bg: #0f1115;
  --bg2: #161920;
  --card: #1b1f27;
  --line: #2a303b;
  --text: #e7e9ee;
  --dim: #9aa3b2;
  --acc: #ffb020;
  --acc2: #2fbf71;
  --red: #ff5d5d;
  --radius: 14px;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --side: 232px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15.5px/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--acc); }
code { font-family: var(--mono); font-size: .92em; background: #252a35; padding: 1px 6px; border-radius: 5px; color: #ffd98a; }
h1, h2, h3 { line-height: 1.3; letter-spacing: .01em; }
h2 { font-size: 26px; margin: 0 0 14px; }
h3 { font-size: 18px; margin: 28px 0 10px; color: #fff; }
p { margin: 0 0 12px; }
b { color: #fff; }
em { font-style: normal; color: var(--acc); }
.note { color: var(--dim); font-size: 14px; }

/* ---------- 侧边栏 ---------- */
.side {
  position: fixed; inset: 0 auto 0 0; width: var(--side); background: var(--bg2);
  border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; z-index: 20;
}
.brand { display: flex; gap: 10px; align-items: center; margin: 0 6px 22px; }
.brand b { display: block; font-size: 16px; }
.brand small { color: var(--dim); font-size: 12px; }
.logo {
  width: 34px; height: 34px; border-radius: 8px; flex: none;
  background: conic-gradient(#ffd500 0 25%, #2fbf71 0 50%, #ff6a00 0 75%, #1f5fd6 0);
  box-shadow: inset 0 0 0 3px #111;
}
#nav { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
#nav a {
  color: var(--dim); text-decoration: none; padding: 7px 10px; border-radius: 8px; font-size: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
#nav a:hover { background: #1f242d; color: var(--text); }
#nav a.on { background: #262c37; color: #fff; }
#nav a em { font-size: 11px; color: var(--acc2); font-family: var(--mono); }
.side-foot { margin-top: auto; color: #6b7382; font-size: 12px; padding: 0 8px; }

main { margin-left: var(--side); max-width: 1180px; padding: 0 40px 60px; }
.block { padding: 48px 0 20px; border-top: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: center; padding: 48px 0 30px; min-height: 560px; }
.eyebrow { color: var(--acc); font-size: 13px; letter-spacing: .08em; margin: 0 0 8px; font-weight: 600; }
.hero h1 { font-size: 40px; margin: 0 0 16px; }
.hl { background: linear-gradient(90deg, #ffd500, #ff7a1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: #c7ccd6; font-size: 16.5px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.hero-stats div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.hero-stats b { display: block; font-size: 22px; color: var(--acc); }
.hero-stats span { color: var(--dim); font-size: 12.5px; line-height: 1.5; display: block; }
.hero-cube { text-align: center; }
.cap { color: var(--dim); font-size: 13px; }

/* ---------- 3D 播放器 ---------- */
.cp { --s: 56px; display: flex; flex-direction: column; align-items: center; gap: 10px; user-select: none; }
.cp-stage {
  width: calc(var(--s) * 5.4); height: calc(var(--s) * 5.2); position: relative; cursor: grab; touch-action: none;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(closest-side, #242a36, transparent 85%); border-radius: 50%;
}
.cp-stage.dragging { cursor: grabbing; }
.cp-hint { position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font-size: 11px; color: #5d6676; pointer-events: none; }
.cp-scene { perspective: calc(var(--s) * 16); width: 0; height: 0; }
.cp-cube { transform-style: preserve-3d; position: relative; width: 0; height: 0; }
.cp-cubie { position: absolute; width: var(--s); height: var(--s); left: calc(var(--s) / -2); top: calc(var(--s) / -2); transform-style: preserve-3d; }
.cp-face { position: absolute; inset: 0; background: #0c0d10; backface-visibility: hidden; }
.cp-face i { position: absolute; inset: 5%; border-radius: 12%; display: block; }
.cp-face.inner i { display: none; }
.c-y i { background: #ffd500; } .c-w i { background: #f4f5f7; } .c-g i { background: #00a651; }
.c-b i { background: #1f5fd6; } .c-o i { background: #ff6a00; } .c-r i { background: #d1202f; }
.c-x i { background: #4a505b; }
.cp-alg { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; max-width: 440px; min-height: 30px; }
.cp-alg .tok { font-family: var(--mono); padding: 2px 7px; border-radius: 6px; background: #222733; color: #c2c8d3; cursor: pointer; font-size: 14px; }
.cp-alg .tok.done { color: #6c7485; }
.cp-alg .tok.cur { background: var(--acc); color: #111; font-weight: 700; }
.cp-empty { color: #555c69; }
.cp-controls { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: center; }
.cp-btn { width: 40px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: #212631; color: #fff; cursor: pointer; font-size: 14px; }
.cp-btn:hover { background: #2a3040; }
.cp-play { width: 52px; background: var(--acc); color: #111; border-color: var(--acc); font-weight: 700; }
.cp-play:hover { background: #ffc24f; }
.cp-speed { font-size: 12.5px; color: var(--dim); display: flex; align-items: center; gap: 6px; margin-left: 6px; }
.cp-speed input { width: 90px; accent-color: var(--acc); }
.cp-speed span { width: 64px; white-space: nowrap; font-family: var(--mono); }

/* ---------- 通用组件 ---------- */
.btn {
  background: var(--acc); color: #111; border: 0; border-radius: 9px; padding: 8px 16px; font-weight: 600;
  cursor: pointer; font-size: 14px; font-family: inherit;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { background: #222733; }
.btn.ok { background: var(--acc2); }
.btn.sm { padding: 4px 11px; font-size: 13px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.tipc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: #c2c8d3; font-size: 14px; line-height: 1.65; }
.tipc b { display: block; margin-bottom: 4px; font-size: 15px; }
ul.check { padding: 0; list-style: none; margin: 0 0 12px; }
ul.check li { position: relative; padding-left: 26px; margin-bottom: 9px; color: #c7ccd6; }
ul.check li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: var(--acc2); font-weight: 700; }
ul.check.warn li::before { content: "!"; color: var(--red); left: 7px; }
.table-wrap { overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 14px; }
.cmp th, .cmp td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp th { color: var(--dim); font-weight: 500; font-size: 13px; }
.cmp tr.pick td { background: rgba(255, 176, 32, .08); }
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps4 .s { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; position: relative; overflow: hidden; }
.steps4 i { position: absolute; right: 10px; top: -8px; font-size: 64px; font-weight: 900; color: #262c38; font-style: normal; }
.steps4 b { display: block; font-size: 16px; position: relative; }
.steps4 span { color: var(--dim); font-size: 13px; position: relative; line-height: 1.6; display: block; margin-top: 4px; }

/* ---------- 用时拆解 ---------- */
.budget { display: grid; grid-template-columns: 330px 1fr; gap: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 14px; }
.budget-ctl label { display: grid; grid-template-columns: 92px 1fr 46px; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 8px; }
.budget-ctl input { accent-color: var(--acc); width: 100%; }
.budget-ctl b { font-family: var(--mono); text-align: right; }
.bb-row { display: grid; grid-template-columns: 82px 1fr 56px; gap: 10px; align-items: center; margin-bottom: 12px; font-size: 13.5px; }
.bb-row > b { font-family: var(--mono); text-align: right; }
.bb-track { display: flex; height: 30px; background: #12151b; border-radius: 7px; overflow: hidden; position: relative; }
.bb-seg { height: 100%; color: #111; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: width .25s; border-right: 2px solid #12151b; }
.bb-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--dim); margin: 4px 0 12px 92px; }
.bb-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.budget-sum { background: #12151b; border-radius: 10px; padding: 12px 14px; font-size: 14.5px; color: #c7ccd6; }

/* ---------- 路线图 ---------- */
.road { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px; }
.road-stage { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: border-color .2s; }
.road-stage.done { border-color: var(--acc2); }
.rs-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.rs-head b { display: block; }
.rs-head small { color: var(--dim); font-size: 12.5px; }
.rs-n { width: 30px; height: 30px; border-radius: 50%; background: var(--acc); color: #111; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.rs-p { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--acc2); }
.road ul { list-style: none; padding: 0; margin: 0; }
.road li label { display: flex; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 14px; color: #c7ccd6; }
.road input { accent-color: var(--acc2); width: 16px; height: 16px; margin-top: 4px; flex: none; }
.road input:checked + span { color: #7d8594; text-decoration: line-through; }

/* ---------- 记号 ---------- */
.move-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.mv { font-family: var(--mono); font-size: 15px; padding: 7px 0; border-radius: 8px; border: 1px solid var(--line); background: #1e232c; color: #fff; cursor: pointer; }
.mv:hover { background: #283040; }
.mv.on { background: var(--acc); color: #111; border-color: var(--acc); }
.finger-card { margin-top: 14px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--acc); border-radius: 10px; padding: 14px 16px; color: #c7ccd6; min-height: 92px; }
.finger-card .big { font-family: var(--mono); font-size: 20px; color: var(--acc); margin-right: 6px; }
.free-input { display: flex; gap: 8px; margin-top: 12px; }
.free-input input, .free-input input:focus { flex: 1; background: #12151b; border: 1px solid var(--line); color: #fff; border-radius: 9px; padding: 8px 12px; font-family: var(--mono); font-size: 14px; outline: none; }
.free-input input.err { border-color: var(--red); }
.triggers { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.trig { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; color: var(--dim); font-family: inherit; font-size: 13px; line-height: 1.55; }
.trig:hover { border-color: var(--acc); }
.trig b { display: block; font-size: 15px; }
.trig code { display: inline-block; margin: 4px 0; }
.trig span { display: block; }

/* ---------- 十字训练 ---------- */
.trainer-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.tb-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.scr { font-family: var(--mono); font-size: 14.5px; background: #12151b; border-radius: 9px; padding: 8px 12px; margin-bottom: 6px; word-spacing: 3px; }
.scr small { font-family: inherit; color: var(--dim); display: block; font-size: 12px; }
.tb-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.tb-row.center { justify-content: center; margin-top: 22px; }
.cd { font-family: var(--mono); font-size: 20px; color: var(--acc); min-width: 80px; }
.cr-sol p { margin: 10px 0 6px; font-size: 14px; color: #c7ccd6; }
.sol { font-family: var(--mono); font-size: 13.5px; background: #222733; color: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; margin: 0 6px 6px 0; cursor: pointer; }
.sol:hover { border-color: var(--acc); }
.sol.on { background: var(--acc); color: #111; border-color: var(--acc); }
.tm-opt { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--dim); margin-top: 10px; cursor: pointer; }
.tm-opt input { accent-color: var(--acc); }

/* ---------- 案例卡片 ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 10px; }
.chip { background: #1e232c; border: 1px solid var(--line); color: #c7ccd6; border-radius: 99px; padding: 5px 13px; font-size: 13.5px; cursor: pointer; font-family: inherit; }
.chip small { color: var(--acc2); font-family: var(--mono); margin-left: 3px; }
.chip.on { background: #fff; color: #111; border-color: #fff; }
.chip.on small { color: #0a7a3f; }
.grp-tip { color: var(--dim); font-size: 14px; margin-bottom: 12px; min-height: 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 12px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer;
  display: flex; flex-direction: column; gap: 8px; transition: transform .15s, border-color .15s; position: relative;
}
.card:hover, .card:focus-visible { border-color: var(--acc); transform: translateY(-2px); outline: none; }
.card.is-learned { border-color: rgba(47, 191, 113, .55); }
.card.is-learned::after { content: "✓"; position: absolute; top: 8px; right: 10px; color: var(--acc2); font-weight: 800; }
.thumb { display: flex; justify-content: center; align-items: center; height: 118px; }
.dg { height: 112px; width: auto; }
.dg-iso .sh1 { filter: brightness(.86); }
.dg-iso .sh2 { filter: brightness(.72); }
.dg-arrow { stroke: #111; stroke-width: 2.6; stroke-linecap: round; }
.meta b { display: flex; align-items: center; gap: 6px; font-size: 14.5px; }
.meta code { display: block; background: none; padding: 0; color: #ffd98a; font-size: 12.5px; line-height: 1.5; margin-top: 2px; word-spacing: 1px; }
.tag { font-size: 11px; background: var(--acc2); color: #062; border-radius: 5px; padding: 0 5px; font-weight: 700; }
.learn { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--dim); cursor: pointer; margin-top: auto; }
.learn input { accent-color: var(--acc2); }
.learn.big { font-size: 15px; color: var(--text); margin-top: 16px; }
.learn.big input { width: 18px; height: 18px; }

/* ---------- 弹窗 ---------- */
.dlg { background: #171a21; color: var(--text); border: 1px solid var(--line); border-radius: 18px; padding: 26px; width: min(880px, 94vw); max-height: 94vh; }
.dlg::backdrop { background: rgba(5, 6, 9, .72); backdrop-filter: blur(3px); }
.dlg-x { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--dim); font-size: 20px; cursor: pointer; }
.dlg-body { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; }
.dlg-info h3 { margin: 0 0 10px; font-size: 24px; }
.dlg-alg { font-family: var(--mono); font-size: 18px; color: #ffd98a; background: #12151b; padding: 10px 14px; border-radius: 10px; word-spacing: 4px; }
.dlg-alts { margin-top: 10px; font-size: 13px; color: var(--dim); }
.dlg-alts span { display: block; margin-bottom: 4px; }
.dlg-sec { margin-top: 14px; color: #c7ccd6; font-size: 14.5px; }
.dlg-sec b { display: block; color: var(--acc); font-size: 13px; letter-spacing: .05em; }
.tr-set { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 10px; }
.tr-ans .ans { background: #12151b; border-radius: 10px; padding: 12px 14px; margin-top: 8px; }
.tr-ans .ans b { font-size: 22px; display: block; }
.tr-ans .ans code { display: block; margin-top: 6px; font-size: 15px; background: none; padding: 0; }
.tr-ans .pre { color: var(--dim); font-size: 13px; }
.tr-ans .pre code { display: inline; font-size: 13px; }
.tr-score { margin-top: 14px; color: var(--acc2); font-size: 14px; }

/* ---------- 前瞻 ---------- */
.metro { display: flex; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.metro label { display: block; font-size: 14px; margin-bottom: 6px; }
.metro input[type=range] { width: 100%; accent-color: var(--acc); margin-bottom: 10px; }
.metro > div:last-child { flex: 1; }
.metro-beat { width: 54px; height: 54px; border-radius: 50%; background: #262c37; flex: none; }
.metro-beat.pulse { animation: pulse .18s ease-out; }
@keyframes pulse { 0% { background: var(--acc); transform: scale(1.12); } 100% { background: #262c37; transform: scale(1); } }
table.plan { width: 100%; border-collapse: collapse; font-size: 14px; }
.plan td { padding: 9px 10px; border-bottom: 1px solid var(--line); color: #c7ccd6; vertical-align: top; }
.plan td:first-child { white-space: nowrap; color: var(--acc); font-family: var(--mono); font-size: 13px; }

/* ---------- 计时器 ---------- */
.tm { display: grid; grid-template-columns: 1fr 330px; gap: 18px; margin-top: 14px; }
.tm-main, .tm-side { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.tm-scr { display: flex; gap: 12px; align-items: center; justify-content: center; font-family: var(--mono); font-size: 17px; text-align: center; word-spacing: 4px; flex-wrap: wrap; }
.tm-zone { text-align: center; padding: 26px 0 16px; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; }
.tm-display { font-family: var(--mono); font-size: 88px; font-weight: 700; line-height: 1.1; transition: color .1s; font-variant-numeric: tabular-nums; }
.tm-display.hold { color: var(--red); }
.tm-display.ready { color: var(--acc2); }
.tm-display.inspecting { color: var(--acc); }
.tm-help { color: #6b7382; font-size: 13px; }
.tm-stats { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 16px 0; }
.tm-stats div { background: #12151b; border-radius: 9px; padding: 8px 6px; text-align: center; }
.tm-stats span { display: block; font-size: 11.5px; color: var(--dim); }
.tm-stats b { font-family: var(--mono); font-size: 16px; }
.tm-svg { width: 100%; height: auto; }
.tm-svg text { fill: #6b7382; font-size: 11px; font-family: var(--mono); }
.tm-svg .grid { stroke: #232833; }
.tm-svg .goal { stroke: var(--acc2); stroke-dasharray: 5 4; stroke-width: 1.5; }
.tm-svg .goal-t { fill: var(--acc2); }
.tm-svg .raw { fill: none; stroke: #5d6676; stroke-width: 1.4; }
.tm-svg .ao5 { fill: none; stroke: var(--acc); stroke-width: 2.4; }
.tm-svg .dot { fill: #8a93a3; }
.tm-svg .dot.good { fill: var(--acc2); }
.tm-legend { font-size: 12px; color: var(--dim); display: flex; gap: 8px; align-items: center; justify-content: center; }
.lg { display: inline-block; width: 18px; height: 3px; border-radius: 2px; }
.lg.raw { background: #5d6676; } .lg.ao5 { background: var(--acc); margin-left: 10px; }
.tm-chart-empty { color: #5d6676; text-align: center; padding: 30px 0; font-size: 13px; }
.tm-side-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tm-list { list-style: none; padding: 0; margin: 0; max-height: 520px; overflow-y: auto; }
.tm-list li { display: grid; grid-template-columns: 30px 64px 1fr auto; gap: 6px; align-items: center; padding: 5px 2px; border-bottom: 1px solid #232833; font-size: 13px; }
.tm-list li.empty { display: block; color: var(--dim); border: 0; }
.tm-list .n { color: #5d6676; font-family: var(--mono); font-size: 11.5px; }
.tm-list .t { font-family: var(--mono); font-weight: 700; }
.tm-list li.good .t { color: var(--acc2); }
.tm-list .t small { color: var(--red); margin-left: 2px; }
.tm-list .s { color: #5d6676; font-family: var(--mono); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-list .acts button { background: none; border: 1px solid var(--line); color: var(--dim); border-radius: 5px; font-size: 10.5px; padding: 0 5px; cursor: pointer; margin-left: 2px; }
.tm-list .acts button.on { background: var(--red); color: #fff; border-color: var(--red); }
body.timing .side, body.timing main > *:not(#timer), body.timing #timer > *:not(.tm), body.timing .tm-side, body.timing .tm-stats, body.timing .tm-chart, body.timing .tm-scr, body.timing .tm-opt { visibility: hidden; }

footer { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; color: #6b7382; font-size: 13px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .cards3 { grid-template-columns: 1fr 1fr; }
  .tm { grid-template-columns: 1fr; }
  .tm-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  :root { --side: 0px; }
  .side { position: sticky; top: 0; width: auto; height: auto; flex-direction: row; align-items: center; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { margin: 0 10px 0 0; }
  .brand div, .side-foot { display: none; }
  #nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  #nav a { white-space: nowrap; }
  #nav a em { margin-left: 4px; }
  main { padding: 0 16px 40px; }
  .hero, .two, .budget, .dlg-body { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero h1 { font-size: 30px; }
  .road, .cards3, .steps4 { grid-template-columns: 1fr; }
  .tm-display { font-size: 64px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .dg { height: 96px; }
  .dlg-body > div:first-child { justify-self: center; }
}
