/* きょうの色 — 白い水彩紙・墨の文字・その日の色が差し色 */
:root {
  --paper: #fafaf8;
  --sheet: #ffffff;
  --ink: #2e3440;
  --ink2: #555b66;
  --line: #e4e2dd;
  --wash: #f1f0ec;
  --today: #f2b632;
  --danger: #b4372b;
  --hand: "Klee One", "Hiragino Mincho ProN", serif;
  --ui: "Murecho", "Hiragino Sans", "Yu Gothic", sans-serif;
  --ease: cubic-bezier(.22, .9, .3, 1);
  --sb: env(safe-area-inset-bottom, 0px);
  --st: env(safe-area-inset-top, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--paper); color: var(--ink); font: 400 15px/1.7 var(--ui); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; line-break: strict; overflow: hidden; }
h1, h2, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
p { text-wrap: pretty; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { opacity: .35; cursor: default; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.nb { white-space: nowrap; }
.ic { width: 24px; height: 24px; flex: none; display: inline-block; vertical-align: middle; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; }
.hd-t, .day-q, .lead, .sub, .btn, .empty-t, .kept-t, .onb-t, .rv-t, .note, .lockhero p, .paper-hint, .sh-t, .boot-t {
  word-break: keep-all; overflow-wrap: normal; font-feature-settings: "palt";
}

/* ---------- 枠 ---------- */
.app { position: relative; height: 100vh; height: 100dvh; margin: 0 auto; overflow: hidden; background: var(--paper); }
.app::before { content: ""; position: absolute; inset: 0; background: url(/app-development/apps/a065/img/paper.webp) center / cover; opacity: .55; pointer-events: none; z-index: 0; }
@media (min-width: 600px) {
  body { background: #eceae4; }
  .app { max-width: 430px; box-shadow: 0 0 0 1px #dedbd3, 0 30px 70px rgba(46, 52, 64, .14); }
}
.stage { position: absolute; inset: 0; z-index: 1; display: block; }
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; }
.sc { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: calc(8px + var(--st)) 0 calc(112px + var(--sb)); }
.bare .sc { padding-bottom: calc(24px + var(--sb)); }
.bleed-in { z-index: 3; animation: bleed .56s var(--ease) both; background: var(--paper); }
.bleed-in::before { content: ""; position: absolute; inset: 0; background: url(/app-development/apps/a065/img/paper.webp) center / cover; opacity: .55; z-index: -1; }
@keyframes bleed { from { clip-path: circle(0% at var(--ox, 50%) var(--oy, 100%)); } to { clip-path: circle(150% at var(--ox, 50%) var(--oy, 100%)); } }
.boot { padding: 40vh 24px 0; text-align: center; }
.boot-t { font: 600 26px/1.3 var(--hand); }
.nojs { position: fixed; left: 16px; right: 16px; bottom: 16px; background: #fff; padding: 12px; }
.oops { padding: 30vh 24px 0; text-align: center; }
.oops-t { font: 600 22px/1.4 var(--hand); margin-bottom: 6px; }

/* ---------- 見出し ---------- */
.hd { display: flex; align-items: center; gap: 6px; padding: 8px 16px 4px; min-height: 60px; }
.hd-back { display: inline-flex; align-items: center; min-height: 44px; padding-right: 10px; font: 600 16px var(--hand); color: var(--ink2); margin-left: -6px; }
.hd-t { flex: 1; font: 600 26px/1.3 var(--hand); }
.hd-r { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 22px; border: 1.5px solid var(--ink); font-size: 14px; font-weight: 500; }
.sub { display: flex; align-items: baseline; gap: 10px; font: 600 19px/1.4 var(--hand); padding: 26px 20px 10px; }
.sub-n { font: 500 13px/1 var(--ui); color: var(--ink2); }
.lead { padding: 0 20px 6px; color: var(--ink2); font-size: 14px; }
.note { padding: 0 20px 6px; color: var(--ink2); font-size: 13px; }
.disc { padding: 24px 20px 0; font-size: 13px; color: var(--ink2); line-height: 1.75; }

/* ---------- タブ（紙の帯＋にじみの丸） ---------- */
.tabs {
  position: absolute; z-index: 20; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px calc(10px + var(--sb)); background: rgba(250, 250, 248, .96); border-top: 1px solid var(--line);
}
.tabs::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 8px; background: rgba(250, 250, 248, .96); filter: url(#wet); }
.tab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 56px; justify-content: center; color: var(--ink2); font-size: 12px; font-weight: 500; }
.tab .ic { position: relative; width: 26px; height: 26px; }
.tab span { position: relative; }
.tab-blob { position: absolute; top: 0; left: 50%; width: 70px; height: 46px; margin-left: -35px; fill: var(--today); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .45s var(--ease); }
.tab.on { color: var(--ink); font-weight: 700; }
.tab.on .tab-blob { opacity: .38; transform: scale(1); }
.tab:active .ic { transform: scale(.9); }

/* ---------- きょう ---------- */
.day-h { display: flex; align-items: center; gap: 14px; padding: 6px 20px 10px; }
.day-n { font: 600 64px/1 var(--hand); letter-spacing: -.02em; }
.day-m { font: 500 14px/1.4 var(--ui); color: var(--ink2); }
.day-q { font: 600 21px/1.4 var(--hand); }
.paper { position: relative; margin: 6px 20px 0; aspect-ratio: 1; }
.paper::before { content: ""; position: absolute; inset: -4px; background: var(--sheet); filter: url(#wet); box-shadow: 0 10px 28px rgba(46, 52, 64, .12); }
.paper-cv { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.paper-hint { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font: 600 16px/1.4 var(--hand); color: var(--ink2); pointer-events: none; }
.tools { display: flex; align-items: center; gap: 8px; padding: 16px 20px 0; }
.sizes { display: flex; gap: 4px; flex: 1; }
.size { width: 48px; height: 44px; border-radius: 22px; display: grid; place-items: center; }
.size i { display: block; border-radius: 50%; background: var(--ink); opacity: .55; }
.size.on { background: var(--wash); }
.size.on i { opacity: 1; }
.size-s { width: 6px; height: 6px; }
.size-m { width: 11px; height: 11px; }
.size-l { width: 17px; height: 17px; }
.tool { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.tool:active { background: var(--wash); }
.pans { display: flex; gap: 2px; overflow-x: auto; padding: 8px 14px 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
.pans::-webkit-scrollbar { display: none; }
.pan { flex: none; width: 66px; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 4px 0; border-radius: 16px; scroll-snap-align: start; }
.pan-cv { width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: inset 0 2px 5px rgba(46, 52, 64, .16), 0 1px 0 #fff; transition: transform .3s var(--ease); }
.pan-n { font: 600 13px/1.5 var(--hand); color: var(--ink2); }
.pan.on .pan-cv { transform: translateY(-4px); box-shadow: inset 0 2px 5px rgba(46, 52, 64, .16), 0 0 0 2.5px var(--paper), 0 0 0 4.5px var(--ink); }
.pan.on .pan-n { color: var(--ink); }
.pan-d { padding: 2px 20px 0; font-size: 13px; color: var(--ink2); min-height: 22px; }
.memo { margin: 14px 20px 0; padding: 4px 0 0; }
.lb { display: block; font-size: 13px; font-weight: 700; color: var(--ink2); margin: 14px 0 6px; }
.lb b { color: var(--ink); font-size: 15px; }
.word { width: 100%; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; padding: 8px 2px; font: 600 20px/1.5 var(--hand); color: var(--ink); border-radius: 0; }
.word::placeholder { color: #6d727b; font-weight: 400; }
.word:focus { outline: none; border-bottom-color: var(--today); box-shadow: 0 2px 0 var(--today); }
.wxs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wx { min-height: 56px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; font-size: 13px; color: var(--ink2); border: 1.5px solid var(--line); background: rgba(255, 255, 255, .7); }
.wx.on { border-color: var(--ink); color: var(--ink); font-weight: 700; background: #fff; }
.sleep { width: 100%; -webkit-appearance: none; appearance: none; background: transparent; height: 36px; margin: 0; }
.sleep::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--line); }
.sleep::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; margin-top: -12px; background: var(--today); border: 3px solid #fff; box-shadow: 0 1px 6px rgba(46, 52, 64, .35); }
.sleep::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--today); border: 3px solid #fff; }
.sl-ax { display: flex; justify-content: space-between; font: 600 12px var(--hand); color: var(--ink2); }
.err { margin: 12px 20px 0; color: var(--danger); font-weight: 700; font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; transition: transform .2s var(--ease); }
.btn:active { transform: scale(.96); }
.btn--big { display: flex; width: calc(100% - 40px); margin: 22px 20px 0; min-height: 56px; font-size: 16px; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--danger { background: var(--danger); }
.btn--r .ic { transform: scaleX(-1); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 22px 20px 0; }
.paper--done .paper-cv { cursor: default; }
.kept-name { display: flex; align-items: center; gap: 10px; padding: 22px 20px 0; font: 600 17px/1.4 var(--hand); }
.kept-name b { font-size: 22px; }
.kept-d { font: 400 13px var(--ui); color: var(--ink2); }
.swatch { width: 18px; height: 18px; border-radius: 50% 46% 52% 44%; background: var(--c); flex: none; opacity: .9; }
.kept-w { padding: 8px 20px 0; font: 600 24px/1.55 var(--hand); }
.kept-w--none { font-size: 16px; color: var(--ink2); }
.kept-m { display: flex; align-items: center; gap: 6px; padding: 8px 20px 0; color: var(--ink2); font-size: 14px; }
.kept-m .ic { width: 20px; height: 20px; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink2); margin: 0 4px; }
.kept { position: absolute; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(250, 250, 248, .9); opacity: 0; transition: opacity .3s; }
.kept.on { opacity: 1; }
.kept-in { text-align: center; }
.kept-drop { display: block; width: 120px; height: 120px; margin: 0 auto; border-radius: 47% 53% 50% 50% / 52% 46% 54% 48%; background: radial-gradient(circle at 45% 40%, transparent 30%, var(--c) 90%); opacity: .75; filter: url(#wet); transform: scale(.3); }
.kept.on .kept-drop { animation: drop 1.2s var(--ease) forwards; }
@keyframes drop { 0% { transform: scale(.3); } 60% { transform: scale(1.05); } 100% { transform: scale(.35) translateY(120px); opacity: .2; } }
.kept-t { font: 600 24px/1.4 var(--hand); margin-top: 14px; }
.kept-s { font: 600 17px var(--hand); color: var(--ink2); }

/* ---------- カレンダー ---------- */
.year { padding: 10px 16px 0; }
.year-cv { display: block; width: 100%; height: 520px; cursor: pointer; }
.tops { padding: 0 20px; display: grid; gap: 8px; }
.top { display: grid; grid-template-columns: 18px 5em 1fr auto; align-items: center; gap: 10px; }
.top-n { font: 600 15px var(--hand); }
.top-bar { height: 8px; background: var(--wash); border-radius: 4px; overflow: hidden; }
.top-bar i { display: block; height: 100%; background: var(--c); opacity: .8; border-radius: 4px; }
.top-v { font-size: 13px; color: var(--ink2); }
.season { position: relative; margin: 4px 16px 0; height: 120px; border-radius: 4px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.season-t { font: 600 46px/1 var(--hand); background: rgba(255, 255, 255, .86); padding: 8px 18px; border-radius: 40% 46% 42% 48%; }
.season-t span { font-size: 20px; margin-left: 2px; }
.mnav { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .86); }
.mnav--r .ic { transform: scaleX(-1); }
.mgrid { padding: 14px 16px 0; }
.mwd, .mcells { display: grid; grid-template-columns: repeat(7, 1fr); }
.mwd span { text-align: center; font-size: 12px; color: var(--ink2); font-weight: 500; }
.mc { position: relative; aspect-ratio: 1; display: block; }
.mc-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.mc-d { position: absolute; left: 4px; top: 1px; font: 600 12px/1.3 var(--hand); color: var(--ink); }
.mc--empty .mc-d { color: var(--ink2); }
.mc--today::after { content: ""; position: absolute; inset: 3px; border: 1.5px solid var(--ink); border-radius: 46% 54% 50% 50%; }
.words { padding: 0 16px; display: grid; gap: 2px; }
.wl { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 8px; border-bottom: 1px dashed var(--line); }
.wl-d { width: 2em; text-align: right; font: 600 16px var(--hand); color: var(--ink2); }
.wl-w { font: 600 16px/1.5 var(--hand); flex: 1; }

/* ---------- 空 ---------- */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 24px 0; }
.empty img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; }
.empty-t { font: 600 18px/1.5 var(--hand); margin-top: 8px; }
.empty-p { color: var(--ink2); font-size: 14px; margin: 4px 0 14px; }

/* ---------- ふりかえり ---------- */
.rv-top { margin: 0 0 0; height: 150px; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 0 20px 14px; margin-top: calc(-8px - var(--st)); }
.rv-t { font: 600 30px/1.2 var(--hand); background: rgba(255, 255, 255, .88); padding: 6px 16px; border-radius: 44% 50% 46% 52%; }
.strip { display: block; width: calc(100% - 32px); height: 64px; margin: 0 16px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 8px 20px 0; font: 600 14px var(--hand); }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend b { font: 500 12px var(--ui); color: var(--ink2); }
.wxl { padding: 4px 16px 0; display: grid; gap: 8px; }
.wxr { display: grid; grid-template-columns: 5.6em 1fr; grid-template-rows: auto auto; gap: 2px 10px; align-items: center; background: rgba(255, 255, 255, .75); border-radius: 18px; padding: 10px 12px; }
.wxr-h { grid-row: span 2; display: grid; justify-items: start; font-size: 12px; color: var(--ink2); }
.wxr-h .ic { color: var(--ink); }
.wxr-h b { font: 600 15px/1.3 var(--hand); color: var(--ink); }
.wxr-cv { width: 100%; height: 34px; display: block; }
.meter { position: relative; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #a3a7ad, #e4e2dd 50%, #f2b632); }
.meter i { position: absolute; top: -4px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; border: 2.5px solid var(--ink); }
.sleepbox { margin: 0 16px; background: rgba(255, 255, 255, .75); border-radius: 18px; padding: 8px 8px 6px; }
.scatter { display: block; width: 100%; height: 190px; }
.sc-ax { display: flex; justify-content: space-between; padding: 0 6px; font: 600 12px var(--hand); color: var(--ink2); }
.insight { margin: 10px 16px 0; padding: 12px 16px; border-left: 4px solid var(--today); background: rgba(255, 255, 255, .75); }
.insight-k { font-size: 12px; font-weight: 700; color: var(--ink2); }
.insight-t { font: 600 16px/1.6 var(--hand); }
.wcloud { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; }
.wcloud li { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); font: 600 15px var(--hand); }
.wcloud b { font: 500 12px var(--ui); color: var(--ink2); }

/* ---------- ロック ---------- */
.lockhero { display: flex; gap: 14px; align-items: center; margin: 6px 16px 0; padding: 16px; border-radius: 22px; background: rgba(255, 255, 255, .8); }
.lockhero-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #24356b; color: #fff; flex: none; }
.lockhero p { font: 600 16px/1.6 var(--hand); }
.list { margin: 18px 16px 0; background: rgba(255, 255, 255, .85); border-radius: 22px; overflow: hidden; }
.li { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 16px; border-top: 1px solid var(--line); text-align: left; flex-wrap: wrap; }
.list > li:first-child > .li, .list > .li:first-child { border-top: 0; }
.li-b { flex: 1; min-width: 10em; display: grid; }
.li-b b { font-weight: 700; font-size: 15px; }
.li-b span { font-size: 13px; color: var(--ink2); }
.li--danger b { color: var(--danger); }
.sw { appearance: none; -webkit-appearance: none; width: 52px; height: 30px; border-radius: 15px; background: var(--line); position: relative; flex: none; margin: 0; cursor: pointer; transition: background-color .25s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.sw:checked { background: #24356b; }
.sw:checked::after { transform: translateX(22px); }
.seg { display: flex; gap: 2px; background: var(--wash); padding: 3px; border-radius: 999px; }
.seg-b { min-height: 38px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink2); }
.seg-b.on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 4px rgba(46, 52, 64, .16); }
.dots { display: flex; justify-content: center; gap: 16px; margin: 16px 0 8px; }
.dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; transition: background-color .15s; }
.dots i.on { background: currentColor; }
.shake { animation: shake .38s; }
@keyframes shake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
.pad { display: grid; grid-template-columns: repeat(3, 72px); gap: 12px 22px; justify-content: center; margin-top: 10px; }
.key { width: 72px; height: 72px; border-radius: 50%; font: 600 28px/1 var(--hand); background: rgba(255, 255, 255, .14); color: inherit; transition: background-color .15s, transform .15s; }
.key:active { transform: scale(.92); background: rgba(255, 255, 255, .3); }
.key--del { background: transparent; }
.sheet .key { background: var(--wash); color: var(--ink); }
.sheet .dots { color: var(--ink); }
.lockv { position: absolute; inset: 0; background: #1d2a55 center / cover; display: flex; align-items: center; justify-content: center; padding: var(--st) 16px var(--sb); }
.lockv-in { width: 100%; max-width: 360px; text-align: center; color: #fff; background: rgba(18, 26, 58, .8); border-radius: 32px; padding: 26px 16px 22px; }
.lockv-ic { border-radius: 16px; }
.lockv-t { font: 600 24px/1.4 var(--hand); margin-top: 8px; }
.lockv-p { font-size: 14px; color: #e6e9f2; min-height: 1.7em; }
.lockv-demo { margin-top: 14px; font-size: 13px; color: #e6e9f2; }
.lockv-x { margin-top: 10px; min-height: 44px; padding: 0 16px; border-radius: 22px; color: #fff; font-weight: 700; font-size: 14px; background: #121a3a; border: 1.5px solid #8f9bc4; }
.opening { animation: open .42s var(--ease) forwards; }
@keyframes open { to { opacity: 0; transform: scale(1.06); } }
.lockover { position: absolute; inset: 0; z-index: 90; }

/* ---------- シート・トースト ---------- */
.veil { position: absolute; inset: 0; z-index: 40; background: rgba(46, 52, 64, .3); opacity: 0; transition: opacity .3s; }
.veil.on { opacity: 1; }
.sheet { position: absolute; z-index: 41; left: 0; right: 0; bottom: 0; max-height: 90dvh; overflow-y: auto; background: var(--paper); border-radius: 26px 26px 0 0; padding: 10px 20px calc(22px + var(--sb)); transform: translateY(105%); transition: transform .38s var(--ease); box-shadow: 0 -10px 40px rgba(46, 52, 64, .16); }
.sheet.on { transform: none; }
.sheet .btn--big { width: 100%; margin: 14px 0 0; }
.sheet-tab { display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 10px; }
.sh-t { font: 600 22px/1.4 var(--hand); text-align: center; }
.sh-p { font-size: 14px; color: var(--ink2); text-align: center; margin-top: 4px; }
.toast { position: absolute; z-index: 70; left: 16px; right: 16px; bottom: calc(92px + var(--sb)); display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 6px 8px 6px 18px; border-radius: 25px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .2s, transform .3s var(--ease); }
.toast.on { opacity: 1; transform: none; pointer-events: auto; }
.toast span { flex: 1; }
.toast button { min-height: 40px; padding: 0 14px; border-radius: 20px; background: #fff; color: var(--ink); font-weight: 700; flex: none; }
.bare .toast { bottom: calc(18px + var(--sb)); }

/* ---------- アプリについて ---------- */
.about { display: flex; flex-direction: column; align-items: center; padding: 10px 20px 0; }
.about-ic { border-radius: 22px; box-shadow: 0 8px 20px rgba(46, 52, 64, .15); }
.about-n { font: 600 26px/1.4 var(--hand); margin-top: 10px; }
.about-v { font-size: 13px; color: var(--ink2); }
.about-p { margin: 18px 16px 0; padding: 14px 16px; background: rgba(255, 255, 255, .85); border-radius: 18px; line-height: 1.8; }
.tech { padding: 0 16px; display: grid; gap: 6px; }
.tech li { padding: 8px 14px; background: rgba(255, 255, 255, .85); border-radius: 14px; font-size: 14px; }

/* ---------- スプラッシュ・オンボーディング ---------- */
.splash { position: fixed; inset: 0; z-index: 100; background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; transition: opacity .35s; }
.splash.out { opacity: 0; }
.splash img { border-radius: 26px; }
.splash-n { font: 600 26px/1.3 var(--hand); letter-spacing: .08em; }
.onb { position: absolute; inset: 0; z-index: 80; background: var(--paper); display: flex; flex-direction: column; transition: opacity .3s; }
.onb.out { opacity: 0; }
.onb-img { flex: 1; min-height: 0; background-size: cover; background-position: center top; -webkit-mask-image: linear-gradient(#000 45%, transparent 78%); mask-image: linear-gradient(#000 45%, transparent 78%); }
.onb-skip { position: absolute; top: calc(12px + var(--st)); right: 12px; min-height: 44px; padding: 0 16px; border-radius: 22px; background: rgba(255, 255, 255, .9); font-weight: 700; font-size: 14px; }
.onb-b { padding: 0 4px calc(22px + var(--sb)); background: var(--paper); }
.onb-n { padding: 0 20px; font: 600 14px var(--hand); color: var(--ink2); }
.onb-t { padding: 4px 20px 0; font: 600 30px/1.4 var(--hand); }
.onb-p { padding: 10px 20px 0; line-height: 1.8; }

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