:root {
  --bg: #e8ebe2;
  --paper: #fffaf0;
  --paper-2: #f8f3e7;
  --line: #d8ceb8;
  --ink: #20231f;
  --muted: #686b62;
  --green: #2f4031;
  --red: #b93d2e;
  --blue: #315c78;
  --gold: #b5842f;
  --wood: #d7b574;
  --wood-line: #8d612b;
  --shadow: 0 12px 28px rgba(32, 35, 31, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

button {
  font: inherit;
  cursor: pointer;
}

.app {
  width: min(430px, 100vw);
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.82), rgba(248, 243, 231, 0.96)),
    radial-gradient(circle at 18% 0, rgba(49, 92, 120, 0.16), transparent 32%),
    var(--paper-2);
  display: flex;
  flex-direction: column;
}

@media (min-width: 540px) {
  .app {
    width: 410px;
    min-height: 840px;
    max-height: 94vh;
    border: 12px solid #141712;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(24, 32, 20, 0.18);
  }
}

.status {
  height: 30px;
  padding: 9px 18px 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
}

.topbar {
  min-height: 56px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.subtle {
  color: var(--muted);
  font-size: 12px;
}

.screen {
  flex: 1;
  padding: 0 18px 18px;
  overflow: auto;
}

.tabbar {
  min-height: 62px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.tabbar button {
  border: 0;
  background: transparent;
  color: #62675f;
  font-size: 12px;
  font-weight: 800;
}

.tabbar .active {
  color: var(--red);
}

.hero-band {
  min-height: 178px;
  padding: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(47, 64, 49, 0.96), rgba(49, 92, 120, 0.9)),
    var(--green);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.hero-band h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
}

.hero-band p,
.card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.hero-band p {
  color: rgba(255, 250, 240, 0.78);
}

.card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 20px rgba(32, 35, 31, 0.06);
}

.card + .card,
.stack > * + * {
  margin-top: 10px;
}

.card h3 {
  margin: 0;
  font-size: 16px;
}

.primary,
.secondary,
.ghost,
.back {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 14px;
  border: 0;
  font-weight: 900;
}

.primary {
  background: var(--red);
  color: #fff;
}

.secondary {
  background: var(--green);
  color: var(--paper);
}

.ghost,
.back {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.back {
  width: 34px;
  min-height: 34px;
  padding: 0;
  font-size: 18px;
}

.full {
  width: 100%;
}

.mt {
  margin-top: 14px;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bar {
  height: 9px;
  border-radius: 999px;
  background: #ddd4bf;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  background: var(--red);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #efe6d4;
  color: #625f55;
  font-size: 11px;
  font-weight: 800;
}

.draft-status {
  min-height: 42px;
  padding: 0 12px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.draft-status b {
  font-size: 15px;
}

.draft-status span:last-child {
  font-weight: 900;
}

.draft-status.muted {
  min-height: 34px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.hero-card,
.skill-card {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  text-align: left;
  box-shadow: 0 8px 18px rgba(32, 35, 31, 0.05);
}

.hero-card {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 11px;
  align-items: center;
}

.selected {
  border-color: var(--red);
  box-shadow: inset 0 0 0 2px rgba(185, 61, 46, 0.16);
}

.portrait {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: var(--green);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.36);
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.16);
}

.portrait::before,
.portrait::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.22);
}

.portrait::before {
  width: 34px;
  height: 34px;
  top: 8px;
  right: 6px;
}

.portrait::after {
  width: 70px;
  height: 28px;
  left: -6px;
  bottom: -9px;
  border-radius: 50% 50% 0 0;
}

.portrait.sage {
  background: linear-gradient(145deg, #7c5135, #2f4031);
}

.portrait.general {
  background: linear-gradient(145deg, #9e362c, #263b54);
}

.portrait.strategist {
  background: linear-gradient(145deg, #315c78, #d1a249);
}

.portrait.schemer {
  background: linear-gradient(145deg, #6f2c4f, #b5842f);
}

.portrait.ink {
  background: linear-gradient(145deg, #151713, #fbf7ec);
  color: #f5ead6;
}

.portrait {
  isolation: isolate;
}

.portrait {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.24);
}

.board-shell {
  padding: 12px;
  border: 2px solid #a06e35;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 245, 205, 0.28), transparent 34%),
    var(--wood);
  box-shadow: var(--shadow);
}

.board {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  grid-template-rows: repeat(15, 1fr);
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(var(--wood-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--wood-line) 1px, transparent 1px);
  background-size: calc(100% / 14) calc(100% / 14);
}

.cell {
  border: 0;
  padding: 0;
  background: transparent;
  display: grid;
  place-items: center;
}

.stone {
  width: 78%;
  height: 78%;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.black {
  background: #151713;
}

.white {
  background: #fbf7ec;
  border: 1px solid #bfb49f;
}

.hint {
  width: 62%;
  height: 62%;
  border: 2px solid var(--red);
  border-radius: 50%;
  background: rgba(185, 61, 46, 0.15);
}

.skill-row,
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.battle-head {
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.player,
.timer,
.log,
.list-row {
  border-radius: 8px;
}

.player {
  min-height: 56px;
  padding: 9px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 12px;
}

.timer {
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}

.skill-button {
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 9px;
  text-align: left;
  font-size: 12px;
}

.skill-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.skill-button b {
  display: block;
}

.skill-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: inset 0 -8px 14px rgba(0, 0, 0, 0.16);
}

.skill-icon.red {
  background: linear-gradient(145deg, #c94b38, #7f2d24);
}

.skill-icon.blue {
  background: linear-gradient(145deg, #417da0, #243f59);
}

.skill-icon.green {
  background: linear-gradient(145deg, #54724a, #263d2b);
}

.skill-icon.gold {
  background: linear-gradient(145deg, #d1a249, #8f5d20);
}

.skill-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(32, 35, 31, 0.05);
}

.skill-group + .skill-group {
  margin-top: 10px;
}

.skill-group summary {
  min-height: 48px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.skill-group summary::-webkit-details-marker {
  display: none;
}

.skill-group summary::after {
  content: "⌄";
  color: var(--muted);
  font-size: 16px;
}

.skill-group[open] summary::after {
  transform: rotate(180deg);
}

.skill-group-body {
  padding: 0 10px 10px;
}

.skill-card.illustrated {
  min-height: 142px;
  position: relative;
  overflow: hidden;
  color: #fffaf0;
  border-color: rgba(255, 250, 240, 0.2);
  background-color: #2f4031;
  background-image:
    linear-gradient(90deg, rgba(20, 23, 18, 0.84), rgba(20, 23, 18, 0.26)),
    var(--skill-bg),
    var(--scene-bg);
  background-size: cover, cover, cover;
  background-position: center, center right, center;
  background-blend-mode: normal, normal, screen;
}

.skill-card.illustrated h3,
.skill-card.illustrated p {
  position: relative;
  z-index: 1;
}

.skill-card.illustrated p {
  color: rgba(255, 250, 240, 0.82);
}

.skill-card.illustrated::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 23, 18, 0.72), rgba(20, 23, 18, 0.2)),
    linear-gradient(180deg, transparent, rgba(20, 23, 18, 0.38));
}

.sea {
  --scene-bg:
    radial-gradient(ellipse at 80% 20%, rgba(255, 250, 240, 0.28) 0 10%, transparent 11%),
    repeating-linear-gradient(165deg, rgba(255, 250, 240, 0.16) 0 6px, transparent 7px 18px),
    linear-gradient(135deg, #315c78, #20364b);
}

.walled-city {
  --scene-bg:
    linear-gradient(90deg, transparent 0 58%, rgba(255, 250, 240, 0.18) 59% 62%, transparent 63%),
    repeating-linear-gradient(0deg, rgba(255, 250, 240, 0.14) 0 8px, transparent 9px 18px),
    linear-gradient(135deg, #7b3b2d, #2f4031);
}

.borrowed-blade {
  --scene-bg:
    linear-gradient(126deg, transparent 0 42%, rgba(255, 250, 240, 0.42) 43% 46%, transparent 47%),
    radial-gradient(circle at 82% 24%, rgba(185, 61, 46, 0.58), transparent 18%),
    linear-gradient(135deg, #522820, #20231f);
}

.rest-camp {
  --scene-bg:
    radial-gradient(circle at 74% 28%, rgba(209, 162, 73, 0.48), transparent 16%),
    linear-gradient(0deg, rgba(255, 250, 240, 0.16) 0 16%, transparent 17%),
    linear-gradient(135deg, #5a5b3d, #283827);
}

.burning-camp {
  --scene-bg:
    radial-gradient(ellipse at 72% 72%, rgba(255, 180, 70, 0.72), transparent 20%),
    radial-gradient(ellipse at 86% 44%, rgba(185, 61, 46, 0.82), transparent 24%),
    linear-gradient(135deg, #5b201b, #171712);
}

.east-west {
  --scene-bg:
    linear-gradient(90deg, rgba(255, 250, 240, 0.24) 0 18%, transparent 19% 80%, rgba(255, 250, 240, 0.24) 81%),
    radial-gradient(circle at 18% 48%, rgba(65, 125, 160, 0.64), transparent 18%),
    linear-gradient(135deg, #263b54, #6b352a);
}

.empty-mist {
  --scene-bg:
    radial-gradient(circle at 70% 25%, rgba(255, 250, 240, 0.3), transparent 18%),
    repeating-linear-gradient(175deg, rgba(255, 250, 240, 0.14) 0 10px, transparent 11px 24px),
    linear-gradient(135deg, #536a6b, #243f59);
}

.hidden-road {
  --scene-bg:
    linear-gradient(122deg, transparent 0 44%, rgba(255, 250, 240, 0.2) 45% 54%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 250, 240, 0.09) 0 4px, transparent 5px 13px),
    linear-gradient(135deg, #263d2b, #1c211a);
}

.river-fire {
  --scene-bg:
    linear-gradient(100deg, rgba(65, 125, 160, 0.55) 0 44%, transparent 45%),
    radial-gradient(circle at 82% 42%, rgba(255, 140, 64, 0.68), transparent 17%),
    linear-gradient(135deg, #20364b, #5b201b);
}

.smile-dagger {
  --scene-bg:
    radial-gradient(ellipse at 74% 30%, rgba(255, 250, 240, 0.22), transparent 18%),
    linear-gradient(132deg, transparent 0 58%, rgba(255, 250, 240, 0.42) 59% 62%, transparent 63%),
    linear-gradient(135deg, #54724a, #3a2638);
}

.peach-plum {
  --scene-bg:
    radial-gradient(circle at 76% 24%, rgba(255, 180, 180, 0.52), transparent 15%),
    radial-gradient(circle at 88% 46%, rgba(255, 250, 240, 0.28), transparent 13%),
    linear-gradient(135deg, #8f5d20, #44633c);
}

.loose-sheep {
  --scene-bg:
    radial-gradient(circle at 80% 34%, rgba(255, 250, 240, 0.46), transparent 15%),
    linear-gradient(0deg, rgba(255, 250, 240, 0.16) 0 22%, transparent 23%),
    linear-gradient(135deg, #7f2d24, #476a4d);
}

.grass-snake {
  --scene-bg:
    repeating-linear-gradient(82deg, rgba(255, 250, 240, 0.12) 0 3px, transparent 4px 12px),
    radial-gradient(ellipse at 78% 58%, rgba(84, 114, 74, 0.8), transparent 26%),
    linear-gradient(135deg, #263d2b, #455b35);
}

.old-banner {
  --scene-bg:
    linear-gradient(90deg, transparent 0 62%, rgba(255, 250, 240, 0.18) 63% 66%, transparent 67%),
    radial-gradient(circle at 78% 28%, rgba(65, 125, 160, 0.44), transparent 18%),
    linear-gradient(135deg, #243f59, #2b2a2a);
}

.tiger-mountain {
  --scene-bg:
    repeating-linear-gradient(135deg, rgba(255, 250, 240, 0.13) 0 6px, transparent 7px 17px),
    radial-gradient(ellipse at 80% 62%, rgba(185, 61, 46, 0.62), transparent 23%),
    linear-gradient(135deg, #5b201b, #2f4031);
}

.open-gate {
  --scene-bg:
    linear-gradient(90deg, transparent 0 34%, rgba(255, 250, 240, 0.16) 35% 64%, transparent 65%),
    radial-gradient(circle at 75% 30%, rgba(209, 162, 73, 0.56), transparent 18%),
    linear-gradient(135deg, #8f5d20, #2d3329);
}

.jade-brick {
  --scene-bg:
    repeating-linear-gradient(0deg, rgba(255, 250, 240, 0.12) 0 9px, transparent 10px 20px),
    radial-gradient(circle at 80% 44%, rgba(120, 190, 142, 0.44), transparent 17%),
    linear-gradient(135deg, #54724a, #83522b);
}

.king-flag {
  --scene-bg:
    linear-gradient(90deg, transparent 0 70%, rgba(255, 250, 240, 0.22) 71% 73%, transparent 74%),
    radial-gradient(circle at 78% 26%, rgba(185, 61, 46, 0.74), transparent 20%),
    linear-gradient(135deg, #7f2d24, #20231f);
}

.under-cauldron {
  --scene-bg:
    radial-gradient(ellipse at 78% 76%, rgba(255, 140, 64, 0.56), transparent 19%),
    linear-gradient(0deg, rgba(255, 250, 240, 0.16) 0 18%, transparent 19%),
    linear-gradient(135deg, #243f59, #3b2d22);
}

.muddy-water {
  --scene-bg:
    repeating-radial-gradient(circle at 78% 45%, rgba(255, 250, 240, 0.12) 0 4px, transparent 5px 16px),
    linear-gradient(135deg, #54724a, #6c5630);
}

.golden-shell {
  --scene-bg:
    radial-gradient(ellipse at 78% 42%, rgba(209, 162, 73, 0.72), transparent 22%),
    linear-gradient(135deg, #8f5d20, #263d2b);
}

.closed-gate {
  --scene-bg:
    linear-gradient(90deg, rgba(255, 250, 240, 0.18) 0 13%, transparent 14% 86%, rgba(255, 250, 240, 0.18) 87%),
    repeating-linear-gradient(90deg, rgba(255, 250, 240, 0.1) 0 5px, transparent 6px 15px),
    linear-gradient(135deg, #7f2d24, #2d3329);
}

.distant-allies {
  --scene-bg:
    linear-gradient(100deg, rgba(65, 125, 160, 0.48) 0 30%, transparent 31%),
    radial-gradient(circle at 84% 30%, rgba(255, 250, 240, 0.34), transparent 14%),
    linear-gradient(135deg, #243f59, #4c5a31);
}

.borrowed-road {
  --scene-bg:
    linear-gradient(128deg, transparent 0 46%, rgba(255, 250, 240, 0.22) 47% 58%, transparent 59%),
    linear-gradient(135deg, #54724a, #312b22);
}

.pillar-swap {
  --scene-bg:
    repeating-linear-gradient(90deg, rgba(255, 250, 240, 0.18) 0 8px, transparent 9px 24px),
    linear-gradient(135deg, #8f5d20, #2d3329);
}

.mulberry-tree {
  --scene-bg:
    radial-gradient(circle at 82% 28%, rgba(84, 114, 74, 0.72), transparent 19%),
    linear-gradient(90deg, transparent 0 74%, rgba(255, 250, 240, 0.18) 75% 78%, transparent 79%),
    linear-gradient(135deg, #263d2b, #615136);
}

.masked-mind {
  --scene-bg:
    radial-gradient(circle at 78% 36%, rgba(255, 250, 240, 0.24), transparent 18%),
    linear-gradient(135deg, #243f59, #3a2638);
}

.ladder-house {
  --scene-bg:
    repeating-linear-gradient(48deg, rgba(255, 250, 240, 0.18) 0 4px, transparent 5px 15px),
    linear-gradient(135deg, #7f2d24, #3d3227);
}

.tree-bloom {
  --scene-bg:
    radial-gradient(circle at 76% 24%, rgba(255, 220, 140, 0.58), transparent 13%),
    radial-gradient(circle at 88% 42%, rgba(255, 250, 240, 0.28), transparent 11%),
    linear-gradient(135deg, #8f5d20, #476a4d);
}

.guest-host {
  --scene-bg:
    linear-gradient(90deg, rgba(185, 61, 46, 0.36) 0 48%, rgba(47, 64, 49, 0.5) 49%),
    radial-gradient(circle at 77% 33%, rgba(255, 250, 240, 0.24), transparent 15%),
    linear-gradient(135deg, #7f2d24, #2f4031);
}

.beauty-curtain {
  --scene-bg:
    repeating-linear-gradient(90deg, rgba(255, 250, 240, 0.16) 0 4px, transparent 5px 14px),
    radial-gradient(circle at 82% 30%, rgba(209, 162, 73, 0.62), transparent 18%),
    linear-gradient(135deg, #6f2c4f, #8f5d20);
}

.empty-city {
  --scene-bg:
    linear-gradient(90deg, transparent 0 38%, rgba(255, 250, 240, 0.18) 39% 62%, transparent 63%),
    radial-gradient(circle at 80% 24%, rgba(65, 125, 160, 0.5), transparent 16%),
    linear-gradient(135deg, #243f59, #6b6a5d);
}

.secret-letter {
  --scene-bg:
    linear-gradient(132deg, transparent 0 48%, rgba(255, 250, 240, 0.3) 49% 68%, transparent 69%),
    radial-gradient(circle at 82% 62%, rgba(84, 114, 74, 0.66), transparent 18%),
    linear-gradient(135deg, #263d2b, #2b2a2a);
}

.bitter-wound {
  --scene-bg:
    linear-gradient(125deg, transparent 0 56%, rgba(185, 61, 46, 0.72) 57% 61%, transparent 62%),
    linear-gradient(135deg, #7f2d24, #20231f);
}

.linked-chain {
  --scene-bg:
    repeating-radial-gradient(circle at 82% 44%, rgba(255, 250, 240, 0.17) 0 5px, transparent 6px 14px),
    linear-gradient(135deg, #263d2b, #3a4a37);
}

.retreat-road {
  --scene-bg:
    linear-gradient(135deg, transparent 0 48%, rgba(255, 250, 240, 0.22) 49% 61%, transparent 62%),
    radial-gradient(circle at 82% 24%, rgba(65, 125, 160, 0.56), transparent 17%),
    linear-gradient(135deg, #243f59, #2d3329);
}

.mini-stone {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
  vertical-align: -1px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.log {
  min-height: 46px;
  margin-top: 10px;
  padding: 10px;
  background: var(--green);
  color: var(--paper);
  font-size: 12px;
  line-height: 1.45;
}

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13px;
}

.medal {
  width: 108px;
  height: 108px;
  margin: 46px auto 20px;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-size: 36px;
  font-weight: 900;
}

.center {
  text-align: center;
}

.login-screen {
  flex: 1;
  padding: 30px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.login-art {
  min-height: 260px;
  padding: 24px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 250, 240, 0.18) 0 16%, transparent 17%),
    var(--green);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-art > span {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 48px;
  font-weight: 900;
}

.login-art h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
}

.login-art p {
  margin: 8px 0 0;
  color: rgba(255, 250, 240, 0.76);
  font-size: 13px;
}

.field {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.field input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf6;
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
}

.section-title {
  margin: 18px 0 10px;
  font-size: 15px;
}

.record-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--muted);
  border-radius: 8px;
  background: var(--paper);
  font-size: 12px;
}

.record-row.win {
  border-left-color: var(--red);
}

.record-row.lose {
  border-left-color: var(--green);
}

.record-row p {
  margin: 4px 0 0;
  color: var(--muted);
}

.record-row > span {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}
