/* フリック忍者 — 墨・朱・金と和紙のデザイントークン */
:root {
  --sumi: #15130f;
  --sumi-2: #24211b;
  --sumi-3: #34302a;
  --washi: #efe6d2;
  --washi-2: #e3d7bd;
  --shu: #c8361f;
  --shu-d: #9c2614;
  --kin: #c9a24a;
  --kin-hi: #e8c66d;
  --hai: #8f887a;
  --ink: #1d1a15;
  --ink-2: #4a4338;

  --f-brush: "Yuji Syuku", "Hiragino Mincho ProN", serif;
  --f-head: "Shippori Antique B1", "Hiragino Mincho ProN", serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;

  --t-press: 70ms;
  --t-scr: 240ms;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--sumi);
  background-image: radial-gradient(circle at 50% 20%, #2c2820 0, var(--sumi) 70%);
  color: var(--ink);
  font-family: var(--f-body); font-weight: 500; font-size: 15px; line-height: 1.65;
  line-break: strict; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overscroll-behavior: none;
}
button, a, input { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
.num { font-family: var(--f-head); font-feature-settings: "tnum"; }
h1, h2, h3 { margin: 0; font-feature-settings: "palt"; }
p { margin: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; color: var(--washi); }

.app {
  position: relative; width: 100%; max-width: 430px; height: 100vh; height: 100dvh; margin: 0 auto; overflow: hidden; isolation: isolate;
  background: var(--sumi); user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
@media (min-width: 600px) { .app { box-shadow: 0 0 0 1px rgba(201, 162, 74, .25), 0 30px 80px rgba(0, 0, 0, .6); } }

.scr {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  visibility: hidden; opacity: 0; transition: opacity var(--t-scr) var(--ease), visibility 0s linear var(--t-scr);
}
.scr.is-active { visibility: visible; opacity: 1; z-index: 2; transition: opacity var(--t-scr) var(--ease); }
.scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }

/* ---- ボタン（札） ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px;
  border: 0; border-radius: 2px; font-family: var(--f-head); font-size: 16px; letter-spacing: .06em; text-decoration: none;
  white-space: nowrap; word-break: keep-all; position: relative;
  transition: transform var(--t-press), filter var(--t-press);
}
.btn svg { font-size: 20px; }
.btn--shu { background: var(--shu); color: #fff6e6; box-shadow: inset 0 0 0 1px rgba(232, 198, 109, .55), 0 6px 16px rgba(0, 0, 0, .35); }
.btn--shu::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(232, 198, 109, .6); pointer-events: none; }
.btn--paper { background: var(--washi); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(29, 26, 21, .25), 0 4px 12px rgba(0, 0, 0, .25); }
.btn--ghost { background: rgba(21, 19, 15, .82); color: var(--washi); box-shadow: inset 0 0 0 1px rgba(232, 198, 109, .45); }
.btn:active { transform: scale(.97); filter: brightness(.92); }
.btn--l { width: 100%; min-height: 56px; font-size: 18px; }
.btn--text { background: none; min-height: 44px; padding: 0 10px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; font-family: var(--f-body); letter-spacing: 0; }
.btn:focus-visible, .ibtn:focus-visible, .lv:focus-visible, .tab:focus-visible, .typebar__kb:focus-visible { outline: 3px solid var(--kin-hi); outline-offset: 2px; }
.ibtn { width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 2px; background: var(--washi); color: var(--ink); box-shadow: 0 4px 12px rgba(0, 0, 0, .3); transition: transform var(--t-press); }
.ibtn svg { font-size: 22px; }
.ibtn:active { transform: scale(.94); }
.ibtn--dark { background: rgba(21, 19, 15, .85); color: var(--washi); box-shadow: inset 0 0 0 1px rgba(232, 198, 109, .4); }

.splash { position: absolute; inset: 0; z-index: 80; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: var(--sumi); }
.splash.is-on { display: flex; animation: fadeOut .3s ease-in .7s forwards; }
.splash img { border-radius: 24px; box-shadow: 0 0 0 1px rgba(232, 198, 109, .4), 0 16px 40px rgba(0, 0, 0, .6); animation: spin .6s var(--ease); }
.splash__name { font-family: var(--f-brush); font-size: 30px; color: var(--washi); letter-spacing: .12em; }
@keyframes spin { from { transform: rotate(-90deg) scale(.6); opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }

/* ======================= タイトル ======================= */
.scr--title {
  background-color: #cfc8b8;
  background-image: url(/app-development/apps/a023/img/title.webp);
  background-size: cover; background-position: center 70%;
  padding: calc(12px + var(--sat)) 18px calc(16px + var(--sab));
}
.title__top { display: flex; justify-content: flex-end; }
.title__head { margin-top: 1vh; display: flex; flex-direction: column; align-items: flex-start; }
.logo { font-family: var(--f-brush); font-weight: 400; color: var(--sumi); line-height: 1; display: flex; flex-direction: column; }
.logo__a { font-size: clamp(34px, 10vw, 42px); letter-spacing: .08em; background: var(--washi); padding: 4px 10px 2px; align-self: flex-start; box-shadow: 4px 4px 0 var(--shu); }
.logo__b { font-size: clamp(82px, 26vw, 110px); letter-spacing: .02em; margin-top: 6px; text-shadow: 0 0 18px rgba(239, 230, 210, .9), 0 0 2px rgba(239, 230, 210, 1); }
.title__lead { margin-top: 10px; background: var(--sumi); color: var(--washi); padding: 6px 12px; font-size: 15px; word-break: keep-all; }
.title__bottom { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.title__pick { align-self: center; font-family: var(--f-head); font-size: 15px; letter-spacing: .2em; color: var(--washi); background: var(--sumi); padding: 2px 14px; }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lv {
  position: relative; border: 0; padding: 14px 6px 10px; min-height: 176px;
  background: var(--washi); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .45);
  transition: transform .15s var(--spring);
}
.lv::before, .lv::after { content: ""; position: absolute; left: -5px; right: -5px; height: 9px; background: linear-gradient(#5a3d24, #22170e); border-radius: 2px; }
.lv::before { top: -5px; } .lv::after { bottom: -5px; }
.lv:active { transform: translateY(3px) scale(.98); }
.lv__no { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--shu); color: #fff6e6; font-family: var(--f-head); font-size: 16px; }
.lv__t { font-family: var(--f-brush); font-size: 30px; line-height: 1.1; writing-mode: vertical-rl; letter-spacing: .1em; margin: 2px 0; }
.lv__d { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.lv__b { font-size: 12px; color: var(--ink-2); white-space: nowrap; border-top: 1px solid rgba(29, 26, 21, .2); padding-top: 3px; }
.lv__b b { font-size: 15px; color: var(--shu-d); }
.lv[data-lv="3"] { background: #1f1c17; color: var(--washi); }
.lv[data-lv="3"] .lv__d, .lv[data-lv="3"] .lv__b { color: #cfc5b0; border-color: rgba(239, 230, 210, .25); }
.lv[data-lv="3"] .lv__b b { color: var(--kin-hi); }
.title__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }

/* ======================= プレイ ======================= */
.scr--play { height: var(--vvh, 100dvh); bottom: auto; background: var(--sumi); }
.field {
  position: relative; flex: 1; min-height: 0; overflow: hidden; touch-action: manipulation;
  background-color: var(--sumi-2);
  background-image: linear-gradient(180deg, rgba(21, 19, 15, .55), rgba(21, 19, 15, .25) 40%, rgba(21, 19, 15, .7)), url(/app-development/apps/a023/img/room.webp);
  background-size: cover; background-position: center 60%;
}
.field__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.is-hurt .field { animation: hurt .45s; }
@keyframes hurt { 0% { box-shadow: inset 0 0 0 0 rgba(200, 54, 31, 0); } 30% { box-shadow: inset 0 0 60px 10px rgba(200, 54, 31, .7); } 100% { box-shadow: inset 0 0 0 0 rgba(200, 54, 31, 0); } }
.hud { position: absolute; left: 0; right: 0; top: 0; padding: calc(8px + var(--sat)) 12px 0; pointer-events: none; }
.incense { display: flex; align-items: center; gap: 10px; background: var(--sumi); padding: 6px 10px; box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .3); }
.incense__stick { position: relative; flex: 1; height: 6px; background: rgba(143, 136, 122, .25); }
.incense__stick i { position: absolute; inset: 0; background: linear-gradient(90deg, #6b5a3a, #8a7346); transform-origin: left; transition: transform .25s linear; }
.incense__ember { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: radial-gradient(#ffe6a0, #e85a28 60%, rgba(200, 54, 31, 0) 70%); box-shadow: 0 0 10px 3px rgba(232, 90, 40, .7); animation: ember .4s ease-in-out infinite alternate; }
@keyframes ember { to { transform: scale(1.25); } }
.incense__t { display: flex; align-items: baseline; gap: 2px; color: var(--washi); white-space: nowrap; }
.incense__t b { font-size: 22px; line-height: 1; min-width: 28px; text-align: right; }
.incense__t span { font-size: 13px; }
.is-late .incense__t b { color: #ff8c6e; }
.hud__row { margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.lives { display: flex; gap: 4px; background: var(--sumi); padding: 5px 8px; box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .3); }
.fuda { width: 16px; height: 24px; transition: transform .3s, opacity .3s; }
.fuda.is-lost { opacity: .22; transform: rotate(-18deg) translateY(4px); filter: grayscale(1); }
.score { margin-left: auto; display: flex; align-items: baseline; gap: 6px; background: var(--sumi); padding: 3px 12px; box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .3); }
.score__k { font-size: 13px; color: #d9cfb8; }
.score b { font-size: 26px; color: var(--kin-hi); line-height: 1.15; }
.hud__row .ibtn { pointer-events: auto; }
.combo { position: absolute; right: 14px; top: calc(110px + var(--sat)); display: flex; align-items: baseline; gap: 2px; color: #fff6e6; background: var(--shu); padding: 2px 10px; opacity: 0; }
.combo b { font-size: 24px; line-height: 1.1; }
.combo span { font-family: var(--f-head); font-size: 14px; }
.combo.is-on { animation: comboIn 1.1s var(--ease) forwards; }
@keyframes comboIn { 0% { opacity: 0; transform: translateX(20px) scale(1.4); } 15% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; } }
.pop { position: absolute; transform: translate(-50%, -50%); font-family: var(--f-head); font-size: 20px; color: var(--washi); background: var(--sumi); padding: 0 8px; pointer-events: none; animation: popUp .9s var(--ease) forwards; white-space: nowrap; }
.pop--2 { color: #ffb19c; }
.pop--3 { color: var(--kin-hi); font-size: 24px; }
@keyframes popUp { from { opacity: 1; transform: translate(-50%, -50%); } to { opacity: 0; transform: translate(-50%, -150%); } }
.count { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); font-family: var(--f-brush); font-size: 96px; color: var(--washi); text-shadow: 0 0 24px rgba(0, 0, 0, .9), 0 0 4px #000; opacity: 0; pointer-events: none; }
.count.is-on { animation: countIn .9s var(--ease) forwards; }
@keyframes countIn { 0% { opacity: 0; transform: translate(-50%, -50%) scale(1.8); } 20% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(.9); } }
.demo { position: absolute; left: 0; right: 0; bottom: 18px; display: none; flex-direction: column; align-items: center; gap: 12px; padding: 0 22px; }
.is-demo .demo { display: flex; }
.demo__tag { display: inline-flex; align-items: center; gap: 8px; background: var(--sumi); color: var(--washi); padding: 4px 14px; font-size: 14px; box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .4); }
.demo__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--shu); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }

.typebar { flex: none; display: grid; grid-template-columns: auto 1fr 52px; gap: 8px; align-items: center; padding: 10px 12px; background: var(--sumi); border-top: 1px solid rgba(201, 162, 74, .45); }
.typebar__k { font-family: var(--f-head); font-size: 14px; color: var(--kin-hi); writing-mode: vertical-rl; letter-spacing: .1em; }
.typebar__box { position: relative; }
.typebar__in {
  width: 100%; height: 52px; border: 0; border-radius: 2px; padding: 0 44px 0 14px;
  background: var(--washi); color: var(--ink); font-size: 22px; font-family: var(--f-body); font-weight: 700; letter-spacing: .06em;
  outline: none; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .15s;
  user-select: text; -webkit-user-select: text;
}
.typebar__in::placeholder { color: #6a6253; font-size: 15px; font-weight: 500; letter-spacing: 0; }
.typebar__in:focus { box-shadow: inset 0 0 0 2px var(--kin); }
.typebar__box.is-bad .typebar__in { animation: bad .35s; box-shadow: inset 0 0 0 2px var(--shu); }
@keyframes bad { 20% { transform: translateX(-6px); } 45% { transform: translateX(5px); } 70% { transform: translateX(-3px); } }
.typebar__pending { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-family: var(--f-head); font-size: 15px; color: var(--shu-d); }
.typebar__kb { width: 52px; height: 52px; border: 0; border-radius: 2px; background: var(--sumi-3); color: var(--washi); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .4); }
.typebar__kb svg { font-size: 26px; }
.kbhint { flex: none; background: var(--sumi); color: #d9cfb8; font-size: 14px; text-align: center; padding: 0 16px calc(10px + var(--sab)); word-break: keep-all; }
.kbhint.is-off { display: none; }

.sheet-bg { position: absolute; inset: 0; z-index: 40; display: flex; align-items: flex-end; background: rgba(10, 9, 7, .7); opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s linear .2s; }
.sheet-bg.is-on { opacity: 1; visibility: visible; transition: opacity .2s; }
.sheet { width: 100%; background: var(--washi); padding: 22px 20px calc(22px + var(--sab)); display: flex; flex-direction: column; gap: 12px; transform: translateY(30px); transition: transform .3s var(--spring); border-top: 3px solid var(--shu); }
.sheet-bg.is-on .sheet { transform: none; }
.sheet__t { font-family: var(--f-brush); font-size: 32px; color: var(--ink); font-weight: 400; }
.sheet__d { font-size: 15px; color: var(--ink-2); }
.sheet__row { display: flex; justify-content: center; gap: 10px; }

/* ======================= リザルト ======================= */
.scr--result { background: var(--washi); }
.res__head {
  flex: none; height: calc(196px + var(--sat)); padding: calc(10px + var(--sat)) 12px 0;
  display: flex; justify-content: space-between; align-items: flex-start;
  background-color: #d8d0bd;
  background-image: linear-gradient(180deg, rgba(239, 230, 210, 0) 55%, var(--washi)), url(/app-development/apps/a023/img/cut.webp);
  background-size: cover; background-position: 70% 40%;
}
.res__chip { background: var(--sumi); color: var(--washi); padding: 4px 12px; font-size: 14px; margin-top: 8px; }
.res__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 18px calc(18px + var(--sab)); margin-top: -70px; display: flex; flex-direction: column; gap: 14px; }
.res__card { position: relative; background: #f7f1e4; padding: 18px 16px 16px; box-shadow: 0 1px 0 #d8ccb1, 0 14px 30px rgba(29, 26, 21, .18); border-top: 3px solid var(--sumi); }
.hanko {
  position: absolute; right: 14px; top: 14px; width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center; border: 3px solid var(--shu); color: var(--shu-d); background: #f7f1e4;
  font-family: var(--f-brush); font-size: 22px; transform: rotate(-12deg); box-shadow: inset 0 0 0 4px #f7f1e4, inset 0 0 0 5px var(--shu);
  animation: stamp .5s var(--spring) .2s backwards;
}
@keyframes stamp { from { transform: scale(2) rotate(-30deg); opacity: 0; } }
.res__eyebrow { font-family: var(--f-head); font-size: 15px; color: var(--ink-2); }
.res__score { display: flex; align-items: baseline; gap: 4px; margin-top: 2px; }
.res__score b { font-size: 60px; line-height: 1.05; color: var(--ink); border-bottom: 3px solid var(--kin); }
.res__score span { font-family: var(--f-head); font-size: 20px; }
.res__new { display: none; margin-top: 6px; color: var(--shu-d); font-size: 15px; font-weight: 700; }
.res__new.is-on { display: block; }
.res__stats { margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.res__stats div { border-bottom: 1px solid rgba(29, 26, 21, .15); padding-bottom: 4px; }
.res__stats dt { font-size: 13px; color: var(--ink-2); }
.res__stats dd { margin: 0; display: flex; align-items: baseline; gap: 3px; white-space: nowrap; }
.res__stats dd b { font-size: 26px; line-height: 1.2; color: var(--ink); }
.res__stats dd span { font-size: 13px; color: var(--ink-2); }
.res__note { margin-top: 12px; padding: 10px 12px; background: var(--sumi); color: var(--washi); font-size: 15px; }
.res__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ======================= 番付 ======================= */
.bar { flex: none; display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; padding: calc(10px + var(--sat)) 12px 10px; background: var(--sumi); }
.bar__t { text-align: center; font-family: var(--f-brush); font-weight: 400; font-size: 26px; color: var(--washi); letter-spacing: .1em; }
.scr--rank { background-color: var(--sumi); }
.scr--rank .scroll {
  background-color: var(--sumi);
  background-image: linear-gradient(180deg, rgba(21, 19, 15, .35), var(--sumi) 260px), url(/app-development/apps/a023/img/dojo.webp);
  background-size: 100% auto, 180% auto; background-position: 0 0, 30% 0; background-repeat: no-repeat;
  padding: 18px 14px calc(26px + var(--sab));
}
.tabs { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--sumi); padding: 0 12px 10px; gap: 6px; }
.tab { min-height: 46px; border: 0; background: var(--sumi-3); color: #d9cfb8; font-family: var(--f-head); font-size: 16px; letter-spacing: .1em; border-bottom: 3px solid transparent; }
.tab.is-on { background: var(--washi); color: var(--ink); border-bottom-color: var(--shu); }
.board { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.brow { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; background: linear-gradient(90deg, #e9dcbd, #dccaa2); color: var(--ink); padding: 8px 12px; box-shadow: 0 3px 0 #6b5638, 0 8px 16px rgba(0, 0, 0, .35); animation: rowIn .35s var(--ease) backwards; }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } }
.brow__no { width: 34px; height: 34px; display: grid; place-items: center; background: var(--sumi); color: var(--washi); font-family: var(--f-brush); font-size: 18px; }
.brow:first-child .brow__no { background: var(--shu); color: #fff6e6; }
.brow__main { display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.brow__main b { font-size: 24px; }
.brow__u { font-size: 13px; }
.brow__t { margin-left: 8px; font-family: var(--f-brush); font-size: 17px; color: var(--shu-d); }
.brow__meta { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; color: var(--ink-2); line-height: 1.4; white-space: nowrap; }
.brow.is-last { box-shadow: 0 0 0 2px var(--kin-hi), 0 3px 0 #6b5638, 0 8px 16px rgba(0, 0, 0, .35); }
.brow--empty { display: block; text-align: center; }
.board__note { margin-top: 14px; font-size: 14px; color: #d9cfb8; text-align: center; }

/* ======================= 設定 ======================= */
.scr--set { background: var(--washi); }
.scr--set .bar { background: var(--sumi); }
.scr--set .scroll {
  background-color: var(--washi);
  background-image: linear-gradient(180deg, rgba(239, 230, 210, 0) 0, var(--washi) 200px), url(/app-development/apps/a023/img/tools.webp);
  background-size: 100% auto, 170% auto; background-position: 0 0, 20% 0; background-repeat: no-repeat;
  padding: 120px 14px calc(26px + var(--sab));
}
.panel { background: #f7f1e4; padding: 16px; margin-bottom: 16px; box-shadow: 0 1px 0 #d8ccb1, 0 10px 24px rgba(29, 26, 21, .14); border-top: 3px solid var(--sumi); }
.sec__t { font-family: var(--f-brush); font-weight: 400; font-size: 24px; color: var(--ink); margin-bottom: 10px; }
.howto { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.howto li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; }
.howto__n { width: 34px; height: 34px; display: grid; place-items: center; background: var(--shu); color: #fff6e6; font-family: var(--f-brush); font-size: 18px; }
.howto__h { font-family: var(--f-head); font-size: 16px; color: var(--ink); word-break: keep-all; }
.howto__d { font-size: 14px; color: var(--ink-2); }
.howto__tip { margin-top: 12px; padding: 8px 12px; background: var(--sumi); color: var(--washi); font-size: 14px; word-break: keep-all; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; border-bottom: 1px solid rgba(29, 26, 21, .15); position: relative; width: 100%; background: none; border-top: 0; border-left: 0; border-right: 0; padding: 0 2px; text-align: left; cursor: pointer; }
.row:last-child { border-bottom: 0; }
.row__l { font-size: 15px; color: var(--ink); }
.row__l--shu { color: var(--shu-d); font-weight: 700; }
.row--btn svg { font-size: 22px; color: var(--shu-d); }
.tg { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tg__ui { width: 50px; height: 28px; background: #c9bea6; position: relative; flex: none; transition: background .15s; }
.tg__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; background: #fff; transition: transform .2s var(--spring); }
.tg:checked + .tg__ui { background: var(--shu); }
.tg:checked + .tg__ui::after { transform: translateX(22px); }
.row:focus-within .tg__ui { outline: 3px solid var(--kin); outline-offset: 2px; }
.about__p { font-size: 15px; color: var(--ink); margin-bottom: 10px; user-select: text; -webkit-user-select: text; }
.about__tech { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.about__tech li { font-size: 13px; background: var(--sumi); color: var(--washi); padding: 2px 10px; }
.about__ver { margin-top: 12px; text-align: center; font-size: 14px; color: var(--ink-2); }

.toast { position: absolute; left: 50%; bottom: calc(90px + var(--sab)); z-index: 90; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--sumi); color: var(--washi); padding: 8px 16px; font-size: 15px; box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .5); transition: opacity .2s, transform .25s var(--ease); max-width: calc(100% - 32px); width: max-content; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.nojs { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; background: var(--washi); z-index: 99; }

@media (prefers-reduced-motion: reduce) {
  .scr, .scr.is-active { transition: none; }
  .brow, .hanko, .splash img, .incense__ember, .demo__dot { animation: none; }
}
.hanko.is-long { font-size: 18px; letter-spacing: -.02em; }
