/* ko-kana（かな：50音ひょう・おとの かず・かなづかい）。字は 教科書体（あれば）→ 丸ゴシック。
   色：正かい＝みどり・まちがい＝赤、くっつき＝むらさき、ことばの なか＝青、●＝オレンジ（っ＝灰色の わく・ー＝むらさき・ん＝みどり） */
.kk { --kf: "UD Digi Kyokasho NK-R", "UD デジタル 教科書体 NK-R", "UD Digi Kyokasho N-R", "UD デジタル 教科書体 N-R", "Klee One", "YuKyokasho", "游教科書体", "HGKyokashotai", "HG教科書体", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", "Zen Maru Gothic", "M PLUS Rounded 1c", "Kosugi Maru", "BIZ UDGothic", "Noto Sans JP", sans-serif;
  --paper: #fffdf6; --masu: #e9dcc0; --guide: #efe3c9; --ink: #1f2937; --or: #f97316; --ok: #0f8a72; --ng: #dc2626; --pp: #7c3aed; --bl: #2563eb;
  font-size: 1.05rem; }
.kk [hidden] { display: none !important; }
.kk button { font-family: inherit; -webkit-tap-highlight-color: transparent; }
.kk .kk-ic { width: 1.15em; height: 1.15em; vertical-align: -.2em; }

/* よそう */
.kk .kk-guess { background: #fff8e6; border: 2px solid #f59e0b; border-radius: 14px; padding: 8px 12px 10px; margin-bottom: 10px; }
.kk .kk-ask { font-weight: 700; margin: 0 0 6px; font-size: 1.08rem; line-height: 1.6; }
.kk .kk-gb { display: flex; flex-wrap: wrap; gap: 8px; }
.kk .kk-g { min-height: 50px; min-width: 56px; padding: 4px 16px; border: 2px solid var(--ink); background: #fff; border-radius: 12px; font-weight: 700; font-size: 1.1rem; color: var(--ink); cursor: pointer; font-family: var(--kf) !important; box-shadow: 0 2px 0 #cbd5e1; }
.kk .kk-g:disabled { opacity: .45; cursor: default; }
.kk .kk-g[aria-pressed="true"] { opacity: 1; background: #eaf1ff; border-color: var(--bl); }
.kk .kk-g.spk { border-color: var(--bl); color: var(--bl); }

/* ます（1字・1はく） */
.kk .kk-t { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; margin: 0; padding: 0; border: 2px solid var(--masu); border-radius: 8px; color: var(--ink); font-family: var(--kf); font-size: 1.85rem; line-height: 1; font-weight: 500; cursor: pointer;
  background: linear-gradient(var(--guide), var(--guide)) center / 100% 1.5px no-repeat, linear-gradient(var(--guide), var(--guide)) center / 1.5px 100% no-repeat, var(--paper);
  box-shadow: 0 2px 0 #e7d7b4, inset 0 0 0 3px #fff; transition: transform .12s, background-color .2s, border-color .2s; }
.kk .kk-t > span { position: relative; }
.kk .kk-t .sm { font-size: .62em; align-self: flex-end; margin-bottom: .18em; }
.kk .kk-t.w2 { width: 3.5rem; letter-spacing: -.06em; }
.kk .kk-t.s { width: 2.15rem; height: 2.3rem; font-size: 1.5rem; }
.kk .kk-t:active { transform: translateY(2px); box-shadow: 0 0 0 #e7d7b4, inset 0 0 0 3px #fff; }
span.kk-t { cursor: default; }
.kk .kk-t.lit { background-color: #fff1c2; border-color: #f59e0b; transform: translateY(-3px) scale(1.06); }
.kk .kk-t.done { border-color: #fdba74; }
.kk .kk-t.tg { border-color: var(--bl); box-shadow: 0 2px 0 #93c5fd, inset 0 0 0 3px #fff; }
.kk .kk-t.tg.ins, .kk .kk-t.chg { border-color: #f59e0b; background-color: #fff1c2; box-shadow: 0 0 0 4px rgba(245, 158, 11, .25); }
.kk .kk-t.chg.src { background-color: #fef9e7; box-shadow: none; }
.kk .kk-t.sel { border-color: var(--bl); background-color: #e8f0ff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .25); }
.kk .pop { animation: kk-pop .32s ease-out; }

/* 50音ひょう */
.kk .kk-tbl { display: grid; direction: rtl; gap: 3px; background: linear-gradient(180deg, #fffaf0, #fdf3df); border: 2px solid #e8d6b0; border-radius: 16px; padding: 8px 6px 8px 4px; box-shadow: 0 3px 10px rgba(120, 80, 20, .1); }
.kk .kk-tbl > * { direction: ltr; }
.kk .kk-c { aspect-ratio: 1 / 1.08; min-width: 0; padding: 0; border: 1.5px solid #ead9b6; border-radius: 7px; background: var(--paper); color: var(--ink); font-family: var(--kf); font-size: clamp(1.05rem, 5.6vw, 1.9rem); line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; position: relative; box-shadow: 0 1.5px 0 #e9d6ad; transition: background-color .2s, transform .12s; }
.kk .kk-c.alt { background: #fff6e3; }
.kk .kk-c .sm { font-size: .62em; align-self: flex-end; margin-bottom: .2em; }
.kk .kk-tbl.you .kk-c { font-size: 1.6rem; aspect-ratio: auto; height: 2.4rem; letter-spacing: -.04em; }
.kk .kk-tbl.you .kk-hd .sm { font-size: 1rem; }
.kk .kk-tbl.you .kk-rh { height: 1.9rem; }
.kk .kk-tbl.daku .kk-c { font-size: clamp(1.2rem, 6.4vw, 2rem); }
.kk .kk-c.e { visibility: hidden; }
.kk .kk-c.on { background: #ffe8b8; border-color: #f59e0b; }
.kk .kk-c.hit { background: #f97316; color: #fff; border-color: #c2410c; transform: scale(1.1); z-index: 1; box-shadow: 0 4px 10px rgba(194, 65, 12, .35); }
.kk .kk-c.seen { background: #d1fae5; border-color: #34d399; }
.kk .kk-c.twice { background: #fde68a; border-color: #f59e0b; }
.kk .kk-c.ok { background: var(--ok); color: #fff; border-color: #0a6553; transform: scale(1.1); z-index: 1; }
.kk .kk-c.ng { background: #fee2e2; border-color: var(--ng); animation: kk-shake .3s 2; }
.kk .kk-n { position: absolute; top: 1px; right: 2px; font: 800 .55rem/1 sans-serif; color: #92400e; }
.kk .kk-hd { min-width: 0; padding: 2px 0 0; border: 0; border-radius: 8px 8px 4px 4px; background: #0f8a72; color: #fff; font: 700 .62rem/1.1 sans-serif; display: flex; flex-direction: column; align-items: center; cursor: pointer; min-height: 2.3rem; }
.kk .kk-hd span { font-family: var(--kf); font-size: 1rem; font-weight: 500; }
.kk .kk-rh { min-width: 0; padding: 0; border: 0; border-radius: 999px; background: #2563eb; color: #fff; font-family: var(--kf); font-size: 1rem; align-self: center; height: 2rem; cursor: pointer; }
.kk .kk-rh.e { visibility: hidden; }
.kk .kk-cn { font: 700 .62rem/1 sans-serif; color: #2563eb; align-self: end; text-align: center; padding-bottom: 4px; }

/* ボタン */
.kk .kk-ctl { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 6px; align-items: center; justify-content: center; }
.kk .kk-ctl:empty { display: none; }
.kk .kk-seg { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; width: 100%; }
.kk .kk-tab { min-height: 46px; padding: 2px 16px; border: 2px solid #e5e7eb; background: #fff; border-radius: 999px; font-weight: 700; font-size: 1rem; color: var(--ink); cursor: pointer; }
.kk .kk-tab[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.kk .kk-b { min-height: 48px; padding: 4px 16px; border: 2px solid var(--ink); background: #fff; border-radius: 12px; font-weight: 700; font-size: 1rem; color: var(--ink); cursor: pointer; box-shadow: 0 2px 0 #cbd5e1; }
.kk .kk-b.spk { border-color: var(--bl); color: var(--bl); }
.kk .kk-b.q { border-color: #f59e0b; background: #fff8e6; }
.kk .kk-b:disabled { opacity: .45; }
.kk .kk-go { min-height: 52px; padding: 6px 22px; border: 0; border-radius: 14px; background: var(--ok); color: #fff; font-weight: 700; font-size: 1.1rem; cursor: pointer; box-shadow: 0 3px 0 #0a6553; }
.kk .kk-go:disabled { background: #9ca3af; box-shadow: 0 3px 0 #6b7280; cursor: default; }
.kk .kk-go:not(:disabled):active { transform: translateY(2px); box-shadow: 0 1px 0 #0a6553; }

/* けっか */
.kk .kk-out { background: #f3f6ff; border-radius: 12px; padding: 6px 14px; margin-top: 6px; line-height: 1.7; }
.kk .kk-out:empty { display: none; }
.kk .kk-out p { margin: 4px 0; }
.kk .kk-out .kk-go { margin: 6px 0 4px; }
.kk .kk-big { font-size: 1.5rem; font-weight: 800; font-family: var(--kf); }
.kk .kk-res { font-weight: 700; color: var(--ok); }
.kk .kk-res.ng { color: #c2410c; }
.kk .kk-note { color: #4b5563; }
.kk .kk-why { padding-left: 1.4em; position: relative; }
.kk .kk-why::before { content: ""; position: absolute; left: .2em; top: .45em; width: .8em; height: .8em; border-radius: 50%; background: var(--or); }
.kk .kk-why.k-soku::before { background: #fff; border: 2.5px dashed #64748b; width: .55em; height: .55em; }
.kk .kk-why.k-chou::before { background: var(--pp); }
.kk .kk-why.k-n::before { background: var(--ok); }

/* beat */
.kk .kk-card { background: var(--paper); border: 2px solid #ecdcb9; border-radius: 18px; padding: 14px 10px 12px; box-shadow: 0 3px 10px rgba(120, 80, 20, .08); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.kk .kk-card.verse { align-items: stretch; padding: 12px 4px; }
.kk .kk-card.verse .kk-brow { gap: 4px; }
.kk .kk-poem { display: flex; flex-direction: column; align-items: center; font-family: var(--kf); font-size: 1.35rem; line-height: 1.6; color: #374151; padding: 2px 0 8px; border-bottom: 2px dotted #e8d6b0; margin-bottom: 4px; }
.kk .kk-brow { display: flex; align-items: center; gap: 6px; justify-content: center; }
.kk .kk-ln { flex: none; width: 1.3rem; height: 1.3rem; line-height: 1.3rem !important; font-size: .75rem !important; border-radius: 50%; background: #e5e7eb; color: #374151; font: 800 .85rem/1.6rem sans-serif; text-align: center; }
.kk .kk-bw { display: flex; gap: 5px; flex-wrap: nowrap; min-width: 0; }
.kk .kk-mc { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.kk .kk-mc.over .kk-t { border-color: #fca5a5; }
.kk .kk-t.ph { border-style: dashed; border-color: #93c5fd; background: #f8fbff; box-shadow: none; }
.kk .kk-card.verse .kk-t { width: 2rem; height: 2.15rem; font-size: 1.4rem; border-radius: 6px; }
.kk .kk-card.verse .kk-t.w2 { width: 2.7rem; }
.kk .kk-dot { width: 100%; height: 1.9rem; display: flex; align-items: center; justify-content: center; position: relative; }
.kk .kk-dot::before { content: ""; width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 2.5px dashed #d6c7a6; transition: all .15s; }
.kk .kk-dot.on::before { border: 0; width: 1.5rem; height: 1.5rem; background: radial-gradient(circle at 35% 30%, #fdba74, var(--or) 60%, #c2410c); box-shadow: 0 2px 4px rgba(194, 65, 12, .35); }
.kk .kk-dot.on.k-chou::before { background: radial-gradient(circle at 35% 30%, #c4b5fd, var(--pp) 60%, #5b21b6); box-shadow: 0 2px 4px rgba(91, 33, 182, .3); }
.kk .kk-dot.on.k-n::before { background: radial-gradient(circle at 35% 30%, #6ee7b7, #10b981 60%, #047857); box-shadow: 0 2px 4px rgba(4, 120, 87, .3); }
.kk .kk-dot.on.k-soku::before { background: #fff; border: 3px solid #64748b; width: 1.2rem; height: 1.2rem; box-shadow: none; }
.kk .kk-shh { position: absolute; top: 1.7rem; font-size: .7rem; font-weight: 800; color: #64748b; white-space: nowrap; }
.kk .kk-dot.over::before { border-color: #fca5a5; }
.kk .kk-dot.on.over::before { background: radial-gradient(circle at 35% 30%, #fca5a5, var(--ng) 60%, #991b1b); }
.kk .kk-dot.need::before { border-color: #93c5fd; }
.kk .kk-card.verse .kk-dot { height: 1.6rem; }
.kk .kk-card.verse .kk-dot::before { width: 1rem; height: 1rem; }
.kk .kk-card.verse .kk-dot.on::before { width: 1.2rem; height: 1.2rem; }
.kk .kk-card.verse .kk-shh { top: 1.25rem; font-size: .6rem; }
.kk .kk-cnt { flex: none; min-width: 2.1rem; font: 800 1.05rem/1 sans-serif; color: #374151; text-align: center; }
.kk .kk-cnt small { font-size: .7rem; color: #6b7280; }
.kk .kk-cnt.ok { color: var(--ok); }
.kk .kk-cnt.ov { color: var(--ng); }
.kk .kk-t.k-soku, .kk .kk-t.k-chou { color: #475569; }
.kk .kk-dbar { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; width: 100%; }
.kk .kk-drum { border: 0; background: none; padding: 0; width: 132px; cursor: pointer; display: flex; flex-direction: column; align-items: center; touch-action: manipulation; }
.kk .kk-drum-s { width: 120px; height: auto; display: block; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .15)); transition: transform .08s; }
.kk .kk-drum:active .kk-drum-s { transform: translateY(3px) scaleY(.96); }
.kk .kk-drum:disabled { opacity: .4; cursor: default; }
.kk .kk-dl { font-weight: 800; color: #9a3412; margin-top: -2px; }
.kk .kk-mean2 { margin: 0; font-weight: 700; color: #4b5563; font-size: 1rem; }

/* え・いみ の カード */
.kk .kk-pv { display: flex; flex-direction: column; align-items: center; margin: 12px auto 4px; }
.kk .kk-pic { width: 180px; height: 132px; margin: 0; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px; box-sizing: border-box; text-align: center;
  background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #eef6ff 100%); border: 3px solid #bfdbfe; box-shadow: 0 3px 0 #bfdbfe; }
.kk .kk-pic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.kk .kk-pic.s { width: 140px; height: 104px; }
.kk .kk-pic.m .kk-mean { font-family: var(--kf); font-size: 1.15rem; font-weight: 600; color: #1e3a8a; line-height: 1.5; }
.kk .kk-pv.ok .kk-pic { border-color: #6ee7b7; box-shadow: 0 3px 0 #6ee7b7; background: radial-gradient(ellipse at 50% 35%, #fff 0%, #ecfdf5 100%); }
.kk .kk-pic.no { background: repeating-linear-gradient(-45deg, #f8fafc 0 10px, #f1f5f9 10px 20px); border: 3px dashed #cbd5e1; box-shadow: none; }
.kk .kk-q { font-size: 2.6rem; font-weight: 800; color: #94a3b8; line-height: 1; }
.kk .kk-pic.no .kk-mean { font-size: .9rem; color: #64748b; font-weight: 700; }
.kk .kk-word { margin: 6px 0 0; font-family: var(--kf); font-size: 1.7rem; font-weight: 600; color: var(--ok); letter-spacing: .08em; }
.kk .kk-word.no { color: #94a3b8; }

/* toggle */
.kk .kk-trow { display: flex; justify-content: center; align-items: flex-start; gap: 6px; flex-wrap: wrap; padding: 22px 4px 4px; }
.kk .kk-trow.lock { pointer-events: none; opacity: .75; }
.kk .kk-tc { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.kk .kk-trow .kk-t { width: 3.6rem; height: 3.6rem; font-size: 2.6rem; border-radius: 10px; }
.kk .kk-trow .kk-t.w2 { width: 4.6rem; }
.kk .kk-dk { position: absolute; top: -22px; right: -20px; width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--bl); background: #fff; color: var(--bl); font-size: 1rem; font-weight: 800; padding: 0; cursor: pointer; box-shadow: 0 2px 4px rgba(37, 99, 235, .3); z-index: 2; }
.kk .kk-dkm { letter-spacing: -.1em; }
.kk .kk-sw { min-height: 36px; padding: 0 10px; border: 2px solid var(--bl); border-radius: 999px; background: #eff6ff; color: var(--bl); font-weight: 800; font-size: .85rem; cursor: pointer; }
.kk .kk-sw.x { border-color: #94a3b8; color: #475569; background: #f8fafc; }
.kk .kk-gap { align-self: center; width: 40px; height: 40px; border-radius: 50%; border: 2.5px dashed #f59e0b; background: #fffbeb; color: #b45309; font-size: 1.3rem; font-weight: 800; padding: 0; cursor: pointer; animation: kk-breath 1.4s ease-in-out infinite alternate; }
.kk .kk-gap.s { width: 26px; height: 40px; border-radius: 8px; font-size: 1rem; animation: none; opacity: .75; }
.kk .kk-gap.sel { opacity: 1; background: #fde68a; border-style: solid; }
.kk .kk-pick, .kk .kk-pool { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px 0; }
.kk .kk-pk { min-width: 52px; min-height: 52px; border: 2px solid #e8d6b0; border-radius: 10px; background: var(--paper); font-family: var(--kf); font-size: 1.6rem; color: var(--ink); cursor: pointer; box-shadow: 0 2px 0 #e7d7b4; }
.kk .kk-pk:disabled { opacity: .4; }
.kk .kk-pk.x, .kk .kk-pk.r { font-family: inherit; font-size: .95rem; font-weight: 700; color: #475569; }
.kk .kk-pl { width: 100%; text-align: center; margin: 0; font-weight: 700; color: #6b7280; font-size: .95rem; }

/* hawo */
.kk .kk-sent { display: flex; flex-wrap: wrap; gap: 26px 0; justify-content: center; background: var(--paper); border: 2px solid #ecdcb9; border-radius: 16px; padding: 14px 8px 26px; }
.kk .kk-wg { display: inline-flex; gap: 3px; flex-wrap: nowrap; margin-right: .45rem; }
.kk .kk-wg:empty { display: none; }
.kk .kk-t.pu { width: 1.2rem; border-color: transparent; background: none; box-shadow: none; }
.kk .kk-bl { border: 2.5px dashed #f59e0b !important; background: #fffbeb !important; overflow: visible; }
.kk .kk-bl.sel { border-style: solid !important; box-shadow: 0 0 0 4px rgba(245, 158, 11, .3); animation: kk-breath 1.2s ease-in-out infinite alternate; }
.kk .kk-bl.full { border-style: solid !important; }
.kk .kk-bl.okp { background: #ede9fe !important; border-color: var(--pp) !important; color: var(--pp); font-weight: 700; }
.kk .kk-bl.okw { background: #dbeafe !important; border-color: var(--bl) !important; color: var(--bl); }
.kk .kk-bl.ng { background: #fee2e2 !important; border-color: var(--ng) !important; animation: kk-shake .3s 2; }
.kk .kk-tag { position: absolute; top: calc(100% + 3px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 800 .62rem/1.3 sans-serif; color: #fff; background: var(--pp); border-radius: 999px; padding: 0 6px; }
.kk .kk-tag.w { background: var(--bl); }
.kk .kk-cards { display: flex; justify-content: center; gap: 14px; margin: 12px 0 2px; }
.kk .kk-card2 { width: 74px; height: 74px; border: 3px solid #e8d6b0; border-radius: 14px; background: var(--paper); font-family: var(--kf); font-size: 2.6rem; color: var(--ink); cursor: pointer; box-shadow: 0 4px 0 #e7d7b4; }
.kk .kk-card2.on { border-color: #f59e0b; background: #fff1c2; }
.kk .kk-card2:active { transform: translateY(3px); box-shadow: 0 1px 0 #e7d7b4; }
.kk .kk-mk { display: inline-block; border-radius: 999px; padding: 0 8px; color: #fff; font-weight: 800; font-size: .85rem; }
.kk .kk-mk.p { background: var(--pp); }
.kk .kk-mk.w { background: var(--bl); }

/* swap */
.kk .kk-found { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin-top: 6px; }
.kk .kk-fl { font-weight: 800; color: #374151; }
.kk .kk-fw { min-width: 3.2em; text-align: center; border-radius: 999px; padding: 2px 10px; background: #f1f5f9; color: #94a3b8; font-family: var(--kf); font-size: 1.1rem; border: 2px dashed #cbd5e1; }
.kk .kk-fw.on { background: #d1fae5; color: #065f46; border: 2px solid #34d399; animation: kk-pop .4s; }
.kk .kk-rev { position: relative; background: var(--paper); border: 2px solid #ecdcb9; border-radius: 16px; padding: 4px 6px 10px; }
.kk .kk-rev .kk-trow { padding-top: 26px; gap: 4px; flex-wrap: nowrap; }
.kk .kk-rev .kk-trow .kk-t { width: 2.55rem; height: 2.7rem; font-size: 1.7rem; }
.kk .kk-rev .kk-trow .kk-t.w2 { width: 3.3rem; }
.kk .kk-rl { position: absolute; left: 10px; font-weight: 800; font-size: .8rem; color: #6b7280; }
.kk .kk-rl.a { top: 6px; }
.kk .kk-rl.b { top: calc(50% + 2px); }
.kk .kk-t.fly { animation: kk-fly .45s ease-out both; }
.kk .kk-t.fly.m { border-color: #34d399; background-color: #ecfdf5; }
.kk .kk-t.fly.x { border-color: #fca5a5; background-color: #fef2f2; }

/* join */
.kk .kk-join { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 0; transition: gap .4s; }
.kk .kk-wc { display: flex; gap: 3px; padding: 8px; border-radius: 14px; background: #eff6ff; border: 2px solid #bfdbfe; transition: transform .4s, background .3s; }
.kk .kk-wc.b { background: #fdf2f8; border-color: #fbcfe8; }
.kk .kk-plus { font-size: 1.8rem; font-weight: 800; color: #9ca3af; transition: opacity .3s, width .4s; }
.kk .kk-join.on { gap: 0; }
.kk .kk-join.on .kk-plus { opacity: 0; width: 0; overflow: hidden; }
.kk .kk-join.on .kk-wc.a { transform: translateX(4px); }
.kk .kk-join.on .kk-wc.b { transform: translateX(-4px); }
.kk .kk-jres { display: flex; flex-direction: column; align-items: center; opacity: 0; transform: translateY(-8px); transition: all .35s; }
.kk .kk-jres.show { opacity: 1; transform: none; }
.kk .kk-jres .kk-trow { padding-top: 34px; }
.kk .kk-was { position: absolute; bottom: calc(100% + 2px); font-family: var(--kf); font-size: 1.15rem; color: #9ca3af; text-decoration: line-through; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.kk .kk-was i { font-style: normal; text-decoration: none; display: inline-block; color: #f59e0b; font-size: .9rem; }
.kk .kk-brk { white-space: nowrap; text-align: center; font-weight: 800; color: #b45309; background: #fff7e0; border-radius: 999px; padding: 2px 12px; width: fit-content; margin: 4px auto 0; font-family: var(--kf); }

/* つぎへ */
.kk .kk-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.kk .kk-nb { min-height: 46px; padding: 2px 14px; border: 2px solid #e5e7eb; border-radius: 12px; background: #fff; font-weight: 700; color: var(--ink); cursor: pointer; }
.kk .kk-nb.go { border-color: var(--ok); color: var(--ok); }
.kk .kk-nb:disabled { opacity: .35; }
.kk .kk-dots { display: flex; gap: 6px; }
.kk .kk-dots span { width: 9px; height: 9px; border-radius: 50%; background: #d1d5db; }
.kk .kk-dots span.on { background: var(--ok); }

@media (max-width: 420px) {
  .kk .kk-trow .kk-t { width: 3rem; height: 3.1rem; font-size: 2.2rem; }
  .kk .kk-trow .kk-t.w2 { width: 3.9rem; }
  .kk .kk-t { width: 2.35rem; height: 2.4rem; font-size: 1.65rem; }
  .kk .kk-t.w2 { width: 3.1rem; }
  .kk .kk-card.verse .kk-t { width: 1.6rem; height: 1.8rem; font-size: 1.15rem; border-width: 1.5px; }
  .kk .kk-card.verse .kk-t.w2 { width: 2.3rem; }
  .kk .kk-card.verse .kk-bw { gap: 3px; }
  .kk .kk-rev .kk-trow .kk-t { width: 2.05rem; height: 2.3rem; font-size: 1.4rem; }
  .kk .kk-rev .kk-trow .kk-t.w2 { width: 2.7rem; }
  .kk .kk-tbl { gap: 2px; padding: 6px 3px; }
  .kk .kk-tbl .kk-c { border-radius: 5px; }
}
@keyframes kk-pop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes kk-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@keyframes kk-breath { from { box-shadow: 0 0 0 0 rgba(245, 158, 11, .35); } to { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); } }
@keyframes kk-fly { from { opacity: 0; transform: translateY(-46px) scale(.8); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .kk .pop, .kk .kk-gap, .kk .kk-bl.sel, .kk .kk-t.fly, .kk .kk-fw.on, .kk .kk-c.ng, .kk .kk-bl.ng { animation: none; } .kk .kk-join, .kk .kk-wc, .kk .kk-jres { transition: none; } }
.kk .kk-card:not(.verse) .kk-bw { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
/* よそうの ボタン：゛と ゜が 見分けられる 大きさ（2026-11-14） */
.kk .kk-g { font-size: 1.4rem; line-height: 1.4; padding: 4px 18px; }
.kk .kk-g rt { font-size: .45em; }
