/* 通学路すごろく — 1年生盤面（荒組み）
   Layout: 縦スクロールの通学路（4列のへび道）。上に成績バー、下にサイコロボタン。
   見た目は「田舎の学校」1つに決めているので、ダークモードは持たない（色は全部ここで指定）。 */
:root {
  color-scheme: light;
  --sky: #d7ebef;
  --paper: #f7f3e3;      /* わら半紙 */
  --ink: #2a2924;        /* すみ */
  --ink-soft: #5d594d;
  --wood: #c8925a;       /* 木の積み木 */
  --wood-light: #e8c597;
  --wood-dark: #74492a;
  --paddy: #9cc66a;      /* 田んぼ */
  --paddy-dark: #4d7a2c;
  --shu: #d0402b;        /* 赤ペン（はなまる） */
  --ai: #2d4d7c;         /* 藍 */
  --gold: #e0b43c;
  --font-display: "Yusei Magic", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
button { font-family: inherit; color: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid var(--ai); outline-offset: 2px; }

/* ---------- タイトル ---------- */
.title-screen {
  min-height: 100%;
  display: grid;
  align-content: center;
  gap: 22px;
  padding-block: 32px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  background:
    repeating-linear-gradient(0deg, rgba(77,122,44,.18) 0 3px, transparent 3px 16px) bottom / 100% 38% no-repeat,
    linear-gradient(var(--sky) 0 62%, var(--paddy) 62% 100%);
}
.title-inner { width: 100%; max-width: 440px; margin: 0 auto; display: grid; gap: 18px; }
.title-sign {
  background: var(--wood-light);
  background-image: repeating-linear-gradient(90deg, rgba(116,73,42,.10) 0 2px, transparent 2px 9px);
  border: 3px solid var(--wood-dark);
  border-radius: 6px;
  padding: 18px 16px 14px;
  text-align: center;
  box-shadow: 0 6px 0 var(--wood-dark);
}
.title-sign .eyebrow { font-size: 13px; letter-spacing: .2em; color: var(--wood-dark); }
.title-sign h1 { font-family: var(--font-display); font-weight: 400; font-size: 40px; margin: 4px 0 2px; line-height: 1.15; text-wrap: balance; }
.title-sign p { margin: 6px 0 0; color: var(--ink-soft); font-size: 14px; }
.mode-list { display: grid; gap: 12px; }
.mode-card {
  display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center;
  text-align: left; padding: 14px; border-radius: 10px;
  background: var(--paper); border: 2px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .08s;
}
.mode-card:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.mode-card .badge {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 30px; color: #fff;
}
.mode-card.kid .badge { background: var(--shu); }
.mode-card.adult .badge { background: var(--ai); }
.mode-card b { display: block; font-size: 19px; }
.mode-card span { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 3px; line-height: 1.5; }
.title-foot { font-size: 12px; color: var(--ink-soft); text-align: center; }

/* ---------- ゲーム画面 ---------- */
.hud {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  display: flex; align-items: center; gap: 10px;
  padding-block: 8px;
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  padding-right: max(12px, env(safe-area-inset-right, 0px));
  background: var(--wood-dark); color: var(--paper);
  font-variant-numeric: tabular-nums;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--wood-dark); }
.hud .term { font-family: var(--font-display); font-size: 18px; white-space: nowrap; }
.hud .spacer { flex: 1; }
.hud .stat { font-size: 13px; white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.hud .stat b { font-size: 17px; }
.hud .hana { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #ff8a72; display: inline-block; }
.hud .quit { background: transparent; border: 1px solid rgba(247,243,227,.5); border-radius: 6px; padding: 3px 8px; font-size: 12px; color: var(--paper); }

.board-wrap {
  padding-block: 10px 120px;
  padding-left: max(8px, env(safe-area-inset-left, 0px));
  padding-right: max(8px, env(safe-area-inset-right, 0px));
}
.board { position: relative; width: 100%; max-width: 460px; margin: 0 auto; }
.zone { position: absolute; left: 0; right: 0; border-radius: 14px; overflow: hidden; }
.zone-sign {
  position: absolute; left: 10px; top: 8px; z-index: 2;
  background: var(--wood-light); border: 2px solid var(--wood-dark); border-radius: 4px;
  padding: 3px 10px 2px; box-shadow: 0 3px 0 var(--wood-dark);
  display: flex; align-items: baseline; gap: 8px;
}
.zone-sign b { font-family: var(--font-display); font-weight: 400; font-size: 18px; }
.zone-sign span { font-size: 12px; color: var(--ink-soft); }
.z-spring { background:
  radial-gradient(circle at 85% 18%, #f6c9d2 0 14px, transparent 15px),
  radial-gradient(circle at 92% 30%, #f3b8c4 0 10px, transparent 11px),
  repeating-linear-gradient(0deg, rgba(77,122,44,.16) 0 3px, transparent 3px 18px),
  #bcdc8f; }
.z-summer { background:
  radial-gradient(circle at 8% 70%, #3f7a35 0 22px, transparent 23px),
  radial-gradient(circle at 16% 82%, #4d8a3b 0 18px, transparent 19px),
  linear-gradient(170deg, transparent 0 44%, #7fc1d9 44% 56%, transparent 56%),
  #8fc46a; }
.z-autumn { background:
  repeating-linear-gradient(0deg, rgba(150,95,20,.18) 0 3px, transparent 3px 16px),
  #e7cc76; }
.z-winter { background:
  radial-gradient(circle, #fff 0 2px, transparent 3px) 0 0 / 26px 26px,
  radial-gradient(circle, #fff 0 1.5px, transparent 2.5px) 13px 13px / 26px 26px,
  #dfe9ee; }
.z-early { background:
  radial-gradient(circle at 88% 22%, #e46a7e 0 6px, transparent 7px),
  radial-gradient(circle at 80% 30%, #e46a7e 0 5px, transparent 6px),
  repeating-linear-gradient(0deg, rgba(77,122,44,.10) 0 3px, transparent 3px 18px),
  #cfe0a8; }

.path { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: visible; }
.sq {
  position: absolute; z-index: 3; transform: translate(-50%, -50%);
  display: grid; place-items: center; text-align: center;
  border-radius: 12px; border: 2px solid var(--ink);
  background: var(--paper); box-shadow: 0 3px 0 rgba(42,41,36,.55);
  line-height: 1.05; padding: 2px;
}
.sq .k { font-family: var(--font-display); font-size: 22px; }
.sq .l { font-size: 10px; color: var(--ink-soft); margin-top: 2px; white-space: nowrap; }
.sq.ev { background: #fff6cf; }
.sq.ev .k { color: var(--wood-dark); }
.sq.quiz .k { color: var(--ai); }
.sq.end, .sq.goal { background: var(--shu); color: #fff; border-color: #7d2214; }
.sq.end .l, .sq.goal .l { color: #ffe3dc; }
.sq.start { background: var(--wood-light); }
.sq.done { opacity: .82; }
.sq.done.quiz::after {
  content: ""; position: absolute; right: -5px; top: -5px; width: 16px; height: 16px; border-radius: 50%;
  border: 3px solid var(--shu); background: transparent;
}
.sq.done.miss::after { border-color: var(--ink-soft); border-style: dashed; }

.token {
  position: absolute; z-index: 6; width: 30px; height: 34px; transform: translate(-50%, -78%);
  transition: left .22s ease-out, top .22s ease-out;
  pointer-events: none;
}
.token .bag { position: absolute; inset: 6px 2px 0; background: var(--shu); border-radius: 8px 8px 6px 6px; border: 2px solid #7d2214; }
.token .bag::before { content: ""; position: absolute; left: 3px; right: 3px; top: 6px; height: 9px; border-radius: 0 0 6px 6px; background: #b33420; border-top: 2px solid #7d2214; }
.token .bag::after { content: ""; position: absolute; left: 50%; top: 13px; width: 6px; height: 6px; margin-left: -3px; border-radius: 2px; background: var(--gold); }
.token .handle { position: absolute; left: 8px; right: 8px; top: 0; height: 9px; border: 3px solid #7d2214; border-bottom: 0; border-radius: 8px 8px 0 0; }
.token.hop { animation: hop .22s ease-out; }
@keyframes hop { 50% { transform: translate(-50%, -110%); } }

.school { position: relative; margin: 14px auto 0; max-width: 460px; display: grid; justify-items: center; }
.school svg { width: 220px; max-width: 70%; height: auto; }
.school p { margin: 4px 0 0; font-size: 12px; color: var(--ink-soft); }

/* 下のボタン */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: linear-gradient(transparent, rgba(215,235,239,.95) 35%);
  display: flex; justify-content: center;
}
.roll-btn {
  width: 100%; max-width: 420px; height: 60px; border-radius: 14px;
  border: 3px solid var(--wood-dark);
  background: var(--wood); background-image: repeating-linear-gradient(90deg, rgba(116,73,42,.14) 0 2px, transparent 2px 9px);
  box-shadow: 0 5px 0 var(--wood-dark);
  font-family: var(--font-display); font-size: 24px; color: var(--ink);
}
.roll-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--wood-dark); }
.roll-btn:disabled { opacity: .55; }

/* ---------- サイコロ ---------- */
.dice-stage {
  position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; align-content: center; gap: 30px;
  background: rgba(42,41,36,.35);
}
.dice-stage[hidden] { display: none !important; }
.dice-scene { width: 120px; height: 120px; perspective: 600px; }
.dice-pop { width: 100%; height: 100%; transform-style: preserve-3d; animation: pop .5s cubic-bezier(.3,1.6,.5,1) both; }
.dice-pop.land { animation: land .35s ease-out; }
@keyframes pop { 0% { transform: translateY(160px) scale(.2); } 100% { transform: translateY(0) scale(1); } }
@keyframes land { 40% { transform: scale(1.12, .9); } 100% { transform: scale(1); } }
.cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.face {
  position: absolute; inset: 0; border-radius: 14px;
  background: var(--wood-light);
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.35), transparent 60%),
    repeating-linear-gradient(100deg, rgba(116,73,42,.13) 0 2px, transparent 2px 8px, rgba(116,73,42,.07) 8px 9px, transparent 9px 15px);
  border: 2px solid var(--wood-dark);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.18), inset 0 -8px 14px rgba(116,73,42,.25);
  display: grid; place-items: center;
  backface-visibility: hidden;
}
.face .n { font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--ai); }
.face.f1 .n, .face.f4 .n { color: var(--shu); }
.face .d { position: absolute; right: 10px; bottom: 6px; font-size: 13px; color: var(--wood-dark); font-weight: 700; }
.f1 { transform: translateZ(60px); }
.f6 { transform: rotateY(180deg) translateZ(60px); }
.f3 { transform: rotateY(90deg) translateZ(60px); }
.f4 { transform: rotateY(-90deg) translateZ(60px); }
.f2 { transform: rotateX(90deg) translateZ(60px); }
.f5 { transform: rotateX(-90deg) translateZ(60px); }
.dice-caption { font-family: var(--font-display); font-size: 26px; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.35); min-height: 36px; }
.stop-btn {
  min-width: 180px; height: 54px; border-radius: 27px; border: 3px solid #7d2214;
  background: var(--shu); color: #fff; font-family: var(--font-display); font-size: 22px;
  box-shadow: 0 4px 0 #7d2214;
}
.stop-btn[hidden] { display: none !important; }

/* ---------- シート（問題・通知表・結果） ---------- */
.sheet-back { position: fixed; inset: 0; z-index: 50; background: rgba(42,41,36,.45); display: flex; align-items: flex-end; justify-content: center; }
.sheet-back[hidden] { display: none !important; }
.sheet {
  width: 100%; max-width: 480px; max-height: 92%; overflow-y: auto;
  background: var(--paper); border-radius: 18px 18px 0 0;
  padding: 18px max(16px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  animation: up .25s ease-out;
  position: relative;
}
@keyframes up { from { transform: translateY(40%); opacity: .3; } }
.sheet h2 { font-family: var(--font-display); font-weight: 400; font-size: 22px; margin: 0; }
.sheet .kind { font-size: 12px; letter-spacing: .12em; color: var(--ink-soft); }

.q-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.q-prompt {
  margin: 14px 0; padding: 14px 8px; border-radius: 12px;
  background: #24402f; color: #f1efe4;             /* 黒板 */
  border: 6px solid var(--wood);
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--font-display);
  min-height: 108px;
}
.q-prompt .part { display: grid; justify-items: center; }
.q-prompt .part .c { font-size: 50px; line-height: 1.1; }
.q-prompt .part .nm { font-size: 11px; font-family: var(--font-body); opacity: .85; }
.q-prompt .op { font-size: 30px; opacity: .8; }
.q-prompt .ask { font-size: 50px; color: #ffd76a; }
.q-text { text-align: center; font-size: 14px; color: var(--ink-soft); margin: -4px 0 10px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice {
  height: 76px; border-radius: 12px; border: 2px solid var(--ink); background: #fff;
  font-family: var(--font-display); font-size: 40px; box-shadow: 0 3px 0 var(--ink);
}
.choice.small { font-size: 26px; }
.choice:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.choice:disabled { opacity: .35; }
.choice.right { background: #ffe7e1; border-color: var(--shu); color: var(--shu); opacity: 1; }
.hint-btn { border: 2px dashed var(--ai); background: transparent; color: var(--ai); border-radius: 18px; padding: 5px 12px; font-size: 13px; }
.hint-box { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #e6eef7; color: var(--ai); font-size: 14px; }
.timer { height: 8px; border-radius: 4px; background: #e3ddc8; overflow: hidden; margin-top: 10px; }
.timer i { display: block; height: 100%; background: var(--ai); width: 100%; }
.timer-label { font-size: 12px; color: var(--ai); font-variant-numeric: tabular-nums; }

.verdict { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: center; margin-top: 14px; }
.mark { width: 74px; height: 74px; position: relative; }
.mark svg { width: 100%; height: 100%; overflow: visible; }
.mark .draw { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw .55s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.verdict b { font-size: 18px; display: block; }
.verdict p { margin: 4px 0 0; font-size: 14px; line-height: 1.6; }
.next-btn {
  margin-top: 16px; width: 100%; height: 54px; border-radius: 12px; border: 0;
  background: var(--ink); color: var(--paper); font-size: 18px; font-weight: 700;
}
.sub-btn { margin-top: 10px; width: 100%; height: 48px; border-radius: 12px; border: 2px solid var(--ink); background: transparent; font-size: 16px; }

/* 通知表 */
.report { border: 2px solid var(--ink); border-radius: 6px; margin-top: 12px; background: #fffdf4; }
.report .rhead { display: flex; justify-content: space-between; padding: 8px 12px; border-bottom: 2px solid var(--ink); font-size: 13px; }
.report table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.report td, .report th { padding: 8px 12px; border-bottom: 1px solid #d9d2ba; text-align: left; font-size: 14px; }
.report th { font-weight: 400; color: var(--ink-soft); width: 46%; }
.report td.big { font-family: var(--font-display); font-size: 20px; }
.report .comment { padding: 10px 12px; font-size: 14px; line-height: 1.7; }
.report .comment small { display: block; color: var(--ink-soft); font-size: 11px; }
.stamp {
  display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; white-space: nowrap;
  border: 3px solid var(--shu); color: var(--shu); font-family: var(--font-display); font-size: 13px; line-height: 1.1;
  transform: rotate(-12deg); text-align: center;
}
.nigate { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 12px; }
.nigate span { font-family: var(--font-display); font-size: 22px; width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid var(--ink-soft); border-radius: 6px; background: #fff; }

/* 修了証 */
.cert {
  margin-top: 12px; padding: 18px 16px; border-radius: 4px; text-align: center;
  background: #fffdf4; border: 6px double var(--gold);
}
.cert .ct { font-family: var(--font-display); font-size: 30px; letter-spacing: .1em; }
.cert .cs { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.compare { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.compare div { background: #fff; border: 1.5px solid #d9d2ba; border-radius: 8px; padding: 8px 6px; text-align: center; }
.compare small { display: block; font-size: 11px; color: var(--ink-soft); }
.compare b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.compare i { display: block; font-style: normal; font-size: 12px; margin-top: 2px; }
.up { color: var(--shu); } .down { color: var(--ink-soft); }

/* トースト */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 45;
  transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; padding: 10px 14px;
  box-shadow: 0 4px 0 var(--ink); font-size: 15px; text-align: center;
  animation: toast .3s ease-out;
}
.toast[hidden] { display: none !important; }
.toast b { font-family: var(--font-display); font-weight: 400; font-size: 19px; display: block; }
@keyframes toast { from { transform: translate(-50%, 20px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* 留年・オール◎ */
.marks { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #d9d2ba; }
.marks div { text-align: center; padding: 6px 4px; border-left: 1px solid #d9d2ba; }
.marks div:first-child { border-left: 0; }
.marks small { display: block; font-size: 11px; color: var(--ink-soft); }
.marks b { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.2; }
.marks b.top { color: var(--shu); }
.cert .marks { margin-top: 10px; border: 1px solid #d9d2ba; border-radius: 4px; background: #fff; }
.comment.secret { color: var(--ai); font-weight: 700; border-top: 1px dashed #d9d2ba; }
.unlock { margin-top: 12px; padding: 14px; border-radius: 10px; background: #1f2a44; color: #f1efe4; }
.unlock .u-eyebrow { font-size: 12px; letter-spacing: .12em; color: #ffd76a; }
.unlock .u-title { font-family: var(--font-display); font-size: 22px; margin: 4px 0 10px; }
.unlock .u-board { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; }
.unlock .u-board b { display: block; font-size: 14px; }
.unlock .u-board small { display: block; font-size: 12px; opacity: .8; margin-top: 2px; }
.unlock .moon { width: 40px; height: 40px; border-radius: 50%; background: #ffe9a8; box-shadow: inset -10px -4px 0 #e0b43c; }
.unlock.locked { background: #ebe5cf; color: var(--ink); }
.unlock.locked .u-eyebrow { color: var(--ai); }
.unlock.locked small { display: block; font-size: 13px; line-height: 1.6; margin-top: 4px; }
.titles { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; }
.titles small { width: 100%; text-align: center; font-size: 12px; color: var(--ink-soft); }
.titles span { background: #1f2a44; color: #ffd76a; border-radius: 14px; padding: 4px 12px; font-size: 13px; }

/* 学年えらび */
.grade-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 0; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--paper); }
.grade-tab { border: 0; border-left: 2px solid var(--ink); background: transparent; height: 44px; font-family: var(--font-display); font-size: 18px; }
.grade-tab:first-child { border-left: 0; }
.grade-tab.on { background: var(--ink); color: var(--paper); }

/* 算数：10をつくる */
.ten-goal { display: flex; align-items: baseline; gap: 8px; }
.ten-goal .ask { font-size: 64px; }
.q-area.locked { pointer-events: none; opacity: .6; }
.ten-log { min-height: 44px; padding: 8px 12px; border-radius: 8px; background: #fff; border: 1.5px solid #d9d2ba; font-size: 16px; line-height: 1.5; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.ten-tiles { display: flex; justify-content: center; gap: 10px; margin: 12px 0; flex-wrap: wrap; }
.ten-n {
  width: 64px; height: 64px; border-radius: 10px; border: 2px solid var(--wood-dark);
  background: var(--wood-light); background-image: repeating-linear-gradient(100deg, rgba(116,73,42,.12) 0 2px, transparent 2px 8px);
  box-shadow: 0 4px 0 var(--wood-dark); font-family: var(--font-display); font-size: 30px; font-variant-numeric: tabular-nums;
}
.ten-n.sel { background: #ffe7a6; transform: translateY(-4px); box-shadow: 0 8px 0 var(--wood-dark); }
.ten-ops { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.ten-op, .ten-reset { height: 52px; border-radius: 10px; border: 2px solid var(--ink); background: #fff; font-size: 26px; box-shadow: 0 3px 0 var(--ink); }
.ten-op.sel { background: var(--ai); color: #fff; }
.ten-reset { font-size: 14px; grid-column: -2; }
.ten-msg { min-height: 20px; margin-top: 8px; font-size: 13px; color: var(--shu); text-align: center; }
.sq.s-sansu .k { color: var(--paddy-dark); }
.sq.s-sansu { background: #eef6e2; }
.ten-goal .op { font-size: 24px; }

/* 校舎の絵 */
.title-school img, .school img { display: block; width: 100%; height: auto; border-radius: 10px; border: 3px solid var(--wood-dark); }
.title-school { margin-bottom: -26px; }          /* 看板を絵に少し重ねる */
.title-school + .title-sign { position: relative; margin-inline: 10px; }
.school img { max-width: 460px; }
.school { padding-inline: 8px; }

/* タイトル画面：校舎の絵を背景に（2026-11-28 ken-1）。年配の方にも読みやすい大きさに */
.title-screen {
  background: linear-gradient(rgba(42,41,36,.05), rgba(42,41,36,.45) 70%), url("img/school.jpg") center top / cover no-repeat, var(--sky);
  align-content: end;
  padding-block: 20px 24px;
}
.title-school { display: none; }
.title-inner { gap: 12px; }
.title-sign { padding: 14px 14px 12px; }
.title-sign h1 { font-size: 46px; margin: 0; }
.title-sign p { font-size: 19px; color: var(--ink); margin-top: 6px; }
.grade-ask { font-family: var(--font-display); font-size: 24px; color: #fff; text-align: center; text-shadow: 0 2px 4px rgba(0,0,0,.6); }
.grade-tab { height: 52px; font-size: 22px; }
.mode-list { gap: 10px; }
.mode-card { padding: 12px; grid-template-columns: 56px 1fr; }
.mode-card .badge { width: 56px; height: 56px; font-size: 28px; }
.mode-card b { font-size: 21px; }
.mode-card span { font-size: 15px; line-height: 1.45; }
.title-foot { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.7); font-size: 12px; }
.titles small { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.title-screen { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.title-inner { flex: 1; display: flex; flex-direction: column; }
.grade-ask { margin-top: auto; padding-top: 12px; }
@media (max-height: 640px) {
  .title-sign h1 { font-size: 38px; }
  .title-sign p { font-size: 17px; }
  .mode-card span { font-size: 13px; }
  .mode-card b { font-size: 19px; }
  .grade-ask { font-size: 21px; }
  .title-inner { gap: 8px; }
}
.title-sign p { white-space: nowrap; font-size: min(19px, 5.2vw); }

/* 理科・社会 */
.sq.s-rika { background: #e4eff8; }
.sq.s-rika .k { color: #2d6a9a; }
.sq.s-shakai { background: #f8eadb; }
.sq.s-shakai .k { color: #9a4a1f; }
.q-fact { display: grid; justify-items: center; gap: 6px; font-family: var(--font-body); text-align: center; padding-inline: 6px; }
.q-fact .sym { font-family: var(--font-display); font-size: 56px; line-height: 1.1; color: #ffd76a; }
.q-fact .qt { font-size: 20px; font-weight: 700; line-height: 1.5; }
.choices.long { grid-template-columns: 1fr; }
.choices.long .choice { height: auto; min-height: 56px; padding: 10px 12px; font-family: var(--font-body); font-size: 17px; font-weight: 700; text-align: left; }
.choice.right { opacity: 1; }

/* 選択肢の大きさ（はみ出し防止） */
.choice { line-height: 1.2; overflow-wrap: anywhere; word-break: keep-all; }
.choices.c-big .choice { font-size: 40px; }
.choices.c-mid .choice { font-size: 22px; height: auto; min-height: 76px; padding: 8px 6px; font-family: var(--font-body); font-weight: 700; }
.choices.c-long { grid-template-columns: 1fr; }
.choices.c-long .choice { height: auto; min-height: 56px; padding: 10px 12px; font-family: var(--font-body); font-size: 17px; font-weight: 700; text-align: left; word-break: normal; }
/* 学年のかぎ */
.grade-tab.locked { color: var(--ink-soft); background: #e3ddc8; }
.grade-tab .lock { display: inline-block; width: 12px; height: 10px; margin-right: 6px; border-radius: 2px; background: currentColor; position: relative; top: 1px; }
.grade-tab .lock::before { content: ""; position: absolute; left: 2px; top: -7px; width: 8px; height: 8px; border: 2px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; box-sizing: border-box; }
.grade-note { text-align: center; color: #fff; font-size: 15px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.8); margin-top: -4px; }
.opened { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: #fff3cf; border: 2px solid var(--gold); font-size: 14px; }
.opened b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--wood-dark); }

/* オール◎／オール5 の おいわい */
.cert.gold { border-color: #d4a52a; background: linear-gradient(160deg, #fffbe8, #fff3c4); box-shadow: 0 0 0 3px #f6dc8a inset; }
.stamp.gold { color: #b8860b; border-color: #d4a52a; font-size: 20px; line-height: 1.05; }
.celebrate { position: fixed; inset: 0; z-index: 60; background: radial-gradient(circle at 50% 38%, #2c3c66 0%, #141b30 75%); display: grid; place-items: center; overflow: hidden; color: #fff8e0; text-align: center; padding: 16px; }
.celebrate .confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 2px; animation: cel-fall linear infinite; }
@keyframes cel-fall { to { top: 110%; transform: rotate(720deg) translateX(30px); } }
.cel-in { position: relative; max-width: 360px; width: 100%; }
.cel-sub { font-size: 15px; letter-spacing: .08em; opacity: .9; }
.cel-big { font-family: var(--font-display); font-size: 46px; line-height: 1.1; margin: 6px 0 14px; color: #ffd76a; text-shadow: 0 0 18px rgba(255, 215, 106, .6); animation: cel-pop .7s cubic-bezier(.2, 1.6, .4, 1) both; }
.cel-big b { font-size: 92px; display: inline-block; margin-left: 4px; color: #ffe9a8; }
.cel-marks { display: flex; justify-content: center; gap: 10px; }
.cel-marks span { width: 84px; padding: 6px 0 4px; border-radius: 10px; background: #fff8e0; color: #c43a2f; font-family: var(--font-display); font-size: 34px; line-height: 1; animation: cel-pop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.cel-marks small { display: block; font-family: inherit; font-size: 12px; color: #5d594d; margin-bottom: 2px; }
.cel-medal { margin: 22px auto 6px; width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff4c2, #e6b532 55%, #b8860b); box-shadow: 0 0 0 6px #f6dc8a, 0 0 40px rgba(255, 215, 106, .7); animation: cel-pop .8s cubic-bezier(.2, 1.6, .4, 1) both; }
.cel-medal span { font-family: var(--font-display); font-size: 24px; color: #5a3b00; padding: 0 16px; line-height: 1.3; }
.cel-msg { font-size: 18px; margin: 10px 0 16px; color: #ffd76a; }
.cel-btn { max-width: 280px; margin: 0 auto; background: #ffd76a; color: #3a2a00; position: relative; z-index: 1; }
@keyframes cel-pop { from { transform: scale(.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .celebrate .confetti { display: none; } .cel-big, .cel-marks span, .cel-medal { animation: none; } }

/* スタートの 演出 */
.curtain { position: fixed; inset: 0; z-index: 55; display: grid; place-items: center; overflow: hidden; text-align: center; padding: 16px; color: #3a2a12; background: radial-gradient(circle at 50% 42%, #fff8e6 0%, #fbe3ea 70%, #f4c9d6 100%); transition: opacity .35s; cursor: pointer; }
.curtain.out { opacity: 0; }
.curtain .petals i { position: absolute; top: -16px; width: 12px; height: 9px; border-radius: 12px 0 12px 0; background: #f6a9bf; opacity: .85; animation: petal-fall linear infinite; }
@keyframes petal-fall { to { top: 110%; transform: translateX(60px) rotate(540deg); } }
.cur-in { position: relative; }
.cur-bell { font-size: 14px; letter-spacing: .2em; color: #8a6b4a; animation: cur-fade .5s both; }
.cur-grade { font-family: var(--font-display); font-size: 64px; line-height: 1.15; margin: 8px 0 4px; animation: cel-pop .7s .25s cubic-bezier(.2, 1.6, .4, 1) both; }
.cur-grade small { display: block; font-size: 20px; color: #8a6b4a; }
.cur-term { display: inline-block; font-family: var(--font-display); font-size: 24px; padding: 6px 18px; border-radius: 6px; background: #6b4a2b; color: #fff8e0; animation: cur-fade .5s .6s both; }
.cur-sub { margin-top: 14px; font-size: 16px; animation: cur-fade .5s .9s both; }
@keyframes cur-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .curtain .petals { display: none; } .cur-bell, .cur-grade, .cur-term, .cur-sub { animation: none; } }

/* 5年から：家庭・英語 */
.sq.s-katei { background: #fbe6ee; }
.sq.s-katei .k { color: #a23a63; }
.sq.s-eigo { background: #e6f3e8; }
.sq.s-eigo .k { color: #2f7a43; }
/* 学年タブ 6つ＋中学生：4列×2段 */
.grade-tabs { grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--ink); }
.grade-tab, .grade-tab:first-child { border-left: 0; background: var(--paper); }
.grade-tab.locked { background: #e3ddc8; }
.grade-tab.on { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); }
.grade-tab.soon { grid-column: span 2; font-size: 18px; }
.grade-tab.soon small { font-size: 12px; font-family: var(--font-body, inherit); }

/* ページの 行き来（小学生ページ ⇔ 大人ページ） */
.site-link { display: block; text-align: center; padding: 12px; border-radius: 10px; background: rgba(255, 250, 235, .92); color: var(--ink); font-size: 15px; text-decoration: underline; }
.title-foot a { color: inherit; }
/* 広告の 場所（修了式の あと）。中身が ないあいだは 見えない */
.ad-slot { margin: 12px 0; min-height: 0; }
.ad-slot:empty { display: none; }
.grade-tabs .grade-tab { font-size: 20px; white-space: nowrap; padding: 0 2px; }
.grade-tabs .grade-tab .lock { margin-right: 3px; }

/* 1・2年：生活 */
.sq.s-seikatsu { background: #fdf1d6; }
.sq.s-seikatsu .k { color: #9a6a12; }
/* ソフト紹介の 枠（年配の 方も 読めるよう 大きめ） */
.promo { margin: 12px 0; padding: 12px; border-radius: 12px; background: rgba(255, 253, 246, .96); border: 1px dashed #b9a67a; color: var(--ink); display: grid; gap: 10px; text-align: left; }
.promo-label { display: block; font-size: 13px; color: var(--ink-soft); letter-spacing: .08em; }
.promo-item { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: start; }
.promo-item:not(:has(img)) { grid-template-columns: 1fr; }
.promo-item + .promo-item { border-top: 1px solid #e6dcc4; padding-top: 10px; }
.promo img { width: 72px; height: 72px; object-fit: cover; border-radius: 16px; box-shadow: 0 2px 5px rgba(0,0,0,.18); }
.promo-tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: #e9e4d4; color: var(--ink); }
.promo-tag.test { background: #2f7a2a; color: #fff; }
.promo-tag.soon { background: #d9772e; color: #fff; }
.promo b { display: block; font-size: 19px; margin: 4px 0 2px; line-height: 1.35; }
.promo p { margin: 0; font-size: 16px; line-height: 1.6; color: #3f3c33; }
.promo-btn { display: inline-block; margin-top: 8px; padding: 10px 18px; min-height: 44px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 16px; font-weight: 700; text-decoration: none; }
.promo-item.banner { grid-template-columns: 1fr; gap: 8px; }
.promo-item.banner img { width: 100%; max-width: 360px; height: auto; aspect-ratio: 1; margin: 0 auto; display: block; border-radius: 14px; }
.promo-item.banner .promo-body { text-align: center; }
.promo-item.banner p { text-align: left; }
.promo-oya { display: block; font-size: 13px; color: var(--ink-soft); }
.promo-gate { position: fixed; inset: 0; z-index: 80; background: rgba(20, 16, 10, .6); display: grid; place-items: center; padding: 16px; }
.pg-card { background: var(--paper); border-radius: 14px; padding: 18px; max-width: 340px; width: 100%; text-align: center; }
.pg-card b { font-size: 20px; }
.pg-card p { font-size: 15px; line-height: 1.6; margin: 8px 0; }
.pg-q { font-size: 28px; font-weight: 700; margin: 8px 0 12px; }
.pg-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pg-opts button, .pg-close { font: inherit; font-size: 20px; padding: 10px; border-radius: 10px; border: 2px solid var(--ink); background: #fff; }
.pg-close { margin-top: 12px; font-size: 15px; border-width: 1px; width: 100%; }

/* シェア */
.share-btn { margin-top: 8px; }
.cel-share { max-width: 280px; margin: 10px auto 0; display: block; position: relative; z-index: 1; color: #fff8e0; border-color: #fff8e0; background: transparent; }
.share-pop { position: fixed; inset: 0; z-index: 70; background: rgba(20, 16, 10, .7); display: grid; place-items: center; padding: 16px; }
.share-in { background: var(--paper); border-radius: 14px; padding: 16px; width: 100%; max-width: 380px; max-height: 100%; overflow: auto; display: grid; gap: 8px; text-align: center; }
.share-in img { width: 100%; height: auto; border-radius: 8px; }
.share-in a { text-decoration: none; display: block; }
.share-note { margin: 0; font-size: 14px; color: var(--ink-soft); }
.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.share-in a.sub-btn, .share-in a.next-btn { display: grid; place-items: center; margin-top: 0; }
.share-in a.sub-btn { color: var(--ink); }

/* 学年ごとの クリア割合 */
.clear-meter { background: rgba(255, 250, 235, .92); border-radius: 10px; padding: 8px 12px 10px; color: var(--ink); }
.clear-meter .cm-text { font-size: 15px; }
.clear-meter .cm-text b { font-size: 17px; }
.clear-meter .plus { margin-left: 8px; color: #c43a2f; font-weight: 700; }
.cm-bar { margin-top: 6px; height: 10px; border-radius: 6px; background: #e3ddc8; overflow: hidden; }
.cm-bar i { display: block; height: 100%; background: linear-gradient(90deg, #e0a73c, #c43a2f); border-radius: 6px; }
.clear-meter.in-sheet { margin-top: 12px; border: 1px solid #d9d2ba; }
.news { background: #1f2a44; color: #fff8e0; border-radius: 10px; padding: 10px 12px; font-size: 15px; line-height: 1.6; text-align: center; }
.news b { color: #ffd76a; }
.news small { display: block; font-size: 12px; opacity: .85; }
/* 新しい問題：ポップアップと タブの NEW */
.news-pop { position: fixed; inset: 0; z-index: 65; background: rgba(20, 16, 10, .6); display: grid; place-items: center; padding: 16px; }
.news-in { width: 100%; max-width: 340px; background: var(--paper); border-radius: 14px; padding: 20px 18px 16px; text-align: center; border: 3px solid #1f2a44; animation: cel-pop .45s cubic-bezier(.2, 1.6, .4, 1) both; }
.news-ico { font-size: 40px; line-height: 1; }
.news-in h2 { font-family: var(--font-display); font-size: 22px; margin: 8px 0; }
.news-in p { margin: 0; font-size: 17px; line-height: 1.7; }
.news-in p b { color: #c43a2f; }
.news-in small { display: block; color: var(--ink-soft); margin: 6px 0 12px; }
.grade-tab { position: relative; }
.new-badge { position: absolute; top: 2px; right: 2px; font-style: normal; font-family: var(--font-body, sans-serif); font-size: 10px; line-height: 1; padding: 2px 4px; border-radius: 4px; background: #c43a2f; color: #fff; letter-spacing: .03em; }
.news-ico svg { display: block; margin: -4px auto 0; overflow: visible; }
.news-ico .env { transform-origin: 70px 96px; animation: env-hop 1.4s ease-in-out .3s infinite; }
.news-ico .spark { animation: spark 1.4s ease-in-out infinite; }
@keyframes env-hop { 0%, 60%, 100% { transform: translateY(0) rotate(0); } 20% { transform: translateY(-10px) rotate(-5deg); } 40% { transform: translateY(0) rotate(4deg); } }
@keyframes spark { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .news-ico .env, .news-ico .spark { animation: none; } }

/* ---------- 図鑑・虫とり・魚つり ---------- */
.title-extra { display: flex; flex-wrap: wrap; gap: 8px; }
.zk-open, .kyuka { flex: 1 1 140px; min-height: 52px; border-radius: 12px; border: 2px solid var(--ink); background: rgba(255, 250, 235, .95); font-size: 17px; font-family: var(--font-display); display: flex; align-items: center; justify-content: center; gap: 6px; }
.zk-open span { font-size: 22px; }
.zk-open small { font-family: var(--font-body, sans-serif); font-size: 13px; color: var(--ink-soft); }
.kyuka { flex-direction: column; gap: 0; background: #2f6b3a; color: #fff8e0; border-color: #1f4a28; font-size: 13px; }
.kyuka b { font-size: 17px; }
.kyuka small { font-size: 11px; opacity: .8; }
.mg-tries { color: #c43a2f; letter-spacing: .2em; font-size: 15px; margin: 4px 0 8px; }
.mg-msg { text-align: center; font-family: var(--font-display); font-size: 22px; min-height: 34px; margin: 10px 0 0; }
.mg-field { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; border-radius: 12px; background: linear-gradient(#bfe3a6, #7fbf6a); }
.bush { position: relative; height: 92px; border: 0; border-radius: 46px 46px 14px 14px; background: radial-gradient(circle at 30% 30%, #5fae4e, #2f7a37); overflow: hidden; box-shadow: inset 0 -6px 0 rgba(0,0,0,.15); }
.bush .bug { position: absolute; left: 50%; bottom: -60px; transform: translateX(-50%); transition: bottom .18s; }
.bush.show .bug { bottom: 20px; }
.bush.shake { animation: bush-shake .3s; }
@keyframes bush-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.mg-water { position: relative; height: 170px; border-radius: 12px; background: linear-gradient(#9fd3f0, #3d8dbd); overflow: hidden; margin-bottom: 10px; }
.float { position: absolute; left: 50%; top: 70px; width: 18px; height: 40px; margin-left: -9px; border-radius: 9px; background: linear-gradient(#e8453c 0 50%, #fff 50%); box-shadow: 0 2px 0 rgba(0,0,0,.2); animation: bob 1.6s ease-in-out infinite; }
.float.bite { animation: bite .18s ease-in-out infinite; top: 84px; }
@keyframes bob { 50% { transform: translateY(4px); } }
@keyframes bite { 50% { transform: translateY(10px) rotate(8deg); } }
.ripple { position: absolute; left: 50%; top: 104px; width: 80px; height: 14px; margin-left: -40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); }
.zk-emo { font-size: 44px; line-height: 1; }
.zk-ini { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e7d6ae; color: #5a3b00; font-family: var(--font-display); font-size: 26px; }
.zk-ini.q { background: #e3ddc8; color: #9a9384; }
.zk-card { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 16px; border-radius: 12px; background: #fffdf6; border: 2px solid #d9d2ba; }
.zk-card.new { border-color: #d4a52a; background: #fff6d8; }
.zk-card .zk-emo { font-size: 64px; }
.zk-card b { font-family: var(--font-display); font-size: 24px; }
.zk-card p { margin: 4px 0 0; font-size: 15px; line-height: 1.7; text-align: left; }
.zk-tag { font-size: 13px; color: #c43a2f; font-weight: 700; }
.zk-rare { font-size: 12px; padding: 1px 8px; border-radius: 10px; background: #e3ddc8; }
.zk-rare.r3 { background: #c43a2f; color: #fff; }
.zk-total { font-size: 16px; color: var(--ink-soft); }
.zk-lead { font-size: 14px; color: var(--ink-soft); margin: 0 0 6px; }
.zk-h { font-size: 17px; margin: 14px 0 6px; }
.zk-h small { color: var(--ink-soft); font-weight: 400; }
.zk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.zk-cell { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 10px; border: 1px solid #d9d2ba; background: #fffdf6; font: inherit; color: inherit; }
.zk-cell .zk-emo { font-size: 32px; }
.zk-cell .zk-ini { width: 40px; height: 40px; font-size: 20px; }
.zk-cell b { font-size: 12px; line-height: 1.3; word-break: keep-all; overflow-wrap: anywhere; }
.zk-cell small { font-size: 11px; color: var(--ink-soft); }
.zk-detail { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .float, .float.bite { animation: none; } }
/* 図鑑 v2：仮イラスト・タブ・バードウォッチング */
.zk-pic { display: inline-grid; place-items: center; width: 56px; height: 56px; }
.zk-pic img, .zk-pic svg { width: 100%; height: 100%; object-fit: contain; }
.zk-card .zk-pic { width: 120px; height: 120px; }
.zk-cell .zk-pic { width: 48px; height: 48px; }
.bug .zk-pic { width: 46px; height: 46px; }
.zk-tabs { display: flex; gap: 6px; margin: 8px 0 2px; }
.zk-tab { flex: 1; min-height: 46px; border-radius: 10px; border: 2px solid #d9d2ba; background: #fffdf6; font-family: var(--font-display); font-size: 17px; color: inherit; display: grid; line-height: 1.2; }
.zk-tab small { font-family: var(--font-body, sans-serif); font-size: 11px; color: var(--ink-soft); }
.zk-tab.on { border-color: var(--ink); background: #fff1c2; }
.mg-sky { position: relative; height: 190px; border-radius: 12px; overflow: hidden; margin-bottom: 10px; background: linear-gradient(#bfe4f6, #e9f6e0 70%, #a6cf86 70%); }
.mg-sky .tree { position: absolute; bottom: 22%; width: 46%; height: 70%; border-radius: 50% 50% 40% 40%; background: #6fae5a; opacity: .85; }
.mg-sky .tree.t1 { left: -6%; } .mg-sky .tree.t2 { right: -6%; background: #5f9e4c; }
.mg-sky .perch { position: absolute; width: 14%; aspect-ratio: 1; opacity: 0; transform: scale(.4); transition: opacity .15s, transform .15s; }
.mg-sky .perch .zk-pic { width: 100%; height: 100%; }
.mg-sky .perch.show { opacity: 1; transform: none; }
.mg-sky .scope { position: absolute; top: 0; bottom: 0; width: 16%; border: 4px solid rgba(30, 30, 30, .75); border-radius: 12px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .12); pointer-events: none; }
.mg-sky.flash::after { content: ""; position: absolute; inset: 0; background: #fff; animation: mgflash .25s ease-out forwards; }
@keyframes mgflash { from { opacity: .9; } to { opacity: 0; } }
.zk-real { display: grid; justify-items: center; margin-top: 10px; padding: 10px 16px; border-radius: 10px; border: 2px solid #2f6b3a; background: #eef7e6; color: #1f4a28; font-family: var(--font-display); font-size: 17px; text-decoration: none; }
.zk-real small { font-family: var(--font-body, sans-serif); font-size: 12px; color: var(--ink-soft); }
.zk-oya { font-size: 12px; color: #c43a2f; }
