/* けさの見出し — 白 × 墨 × 紺。朝刊の紙面の品格を、スマホの縦スクロールに */
:root {
  --paper: #fbfaf6;
  --sheet: #ffffff;
  --ink: #17171a;
  --ink-2: #45454b;
  --ink-3: #5e5e64;
  --navy: #1f2f55;
  --navy-2: #e8ebf3;
  --rule: #d8d5cd;
  --rule-2: #17171a;
  --hl: #f1ede2;
  --f-head: 'Shippori Mincho B1', 'Noto Serif JP', serif;
  --f-body: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --f-sans: 'Zen Kaku Gothic Antique', 'Hiragino Sans', sans-serif;
  --f-lat: 'Newsreader', Georgia, serif;
  --ease: cubic-bezier(.22, .8, .25, 1);
  --tab-h: 58px;
  --sb: env(safe-area-inset-bottom, 0px);
  --st: env(safe-area-inset-top, 0px);
  --fs: 17px;
  --lh: 1.9;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
html { background: #e9e6de; }
body { font-family: var(--f-sans); color: var(--ink); background: repeating-linear-gradient(0deg, #e9e6de 0 3px, #e5e2d9 3px 4px); line-break: strict; overflow: hidden; font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
svg { width: 24px; height: 24px; flex: none; }
.nowrap { white-space: nowrap; }
.kp { word-break: keep-all; overflow-wrap: normal; }
.num { font-family: var(--f-lat); font-variant-numeric: lining-nums tabular-nums; }
.nojs { padding: 40px 24px; font-size: 16px; }

.app { position: relative; height: 100dvh; width: 100%; max-width: 430px; margin: 0 auto; background: var(--paper); overflow: hidden; isolation: isolate; }
@media (min-width: 600px) { .app { box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 24px 60px rgba(30, 30, 40, .2); } }
.stage { position: absolute; inset: 0; }
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--paper); }
.scr.push { animation: push 320ms var(--ease) both; box-shadow: -10px 0 30px rgba(0, 0, 0, .12); z-index: 2; }
.scr.pop-under { animation: popUnder 320ms var(--ease) both; }
.scr.leave-r { animation: leaveR 300ms var(--ease) both; z-index: 3; }
.scr.fade { animation: fade 180ms ease both; }
@keyframes push { from { transform: translateX(100%); } }
@keyframes leaveR { to { transform: translateX(100%); } }
@keyframes popUnder { from { transform: translateX(-25%); opacity: .7; } }
@keyframes fade { from { opacity: 0; } }

/* ---------- ナビ ---------- */
.nav { position: relative; z-index: 5; flex: none; height: calc(48px + var(--st)); padding: var(--st) 6px 0; display: grid; grid-template-columns: minmax(80px, 1fr) auto minmax(80px, 1fr); align-items: center; background: var(--paper); transition: box-shadow 200ms; }
.nav.stuck { box-shadow: 0 .5px 0 var(--rule); }
.nav .ttl { font-family: var(--f-head); font-weight: 800; font-size: 17px; letter-spacing: .08em; opacity: 0; transition: opacity 180ms; white-space: nowrap; }
.nav.stuck .ttl, .nav.always .ttl { opacity: 1; }
.nav .l, .nav .r { display: flex; align-items: center; }
.nav .r { justify-content: flex-end; }
.nb { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 0; padding: 0 8px; color: var(--navy); font-size: 16px; border-radius: 10px; transition: background 120ms, transform 120ms; }
.nb:active { background: var(--navy-2); transform: scale(.94); }
.nb.back { padding-left: 0; }
.nb.back svg { width: 26px; height: 26px; }
.nb[aria-pressed="true"] { color: var(--navy); }
.prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.prog i { display: block; height: 100%; width: 0; background: var(--navy); transition: width 120ms linear; }
.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding-bottom: calc(var(--tab-h) + var(--sb) + 28px); }

/* ---------- タブバー ---------- */
.tabs { position: absolute; z-index: 20; left: 0; right: 0; bottom: 0; height: calc(var(--tab-h) + var(--sb)); padding: 0 6px var(--sb); display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(251, 250, 246, .97); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 -.5px 0 var(--rule); transition: transform 280ms var(--ease); }
.tabs.hide { transform: translateY(110%); }
.tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: #5c5c62; font-size: 11px; font-weight: 500; letter-spacing: .04em; transition: color 160ms, transform 120ms; }
.tab:active { transform: scale(.93); }
.tab.on { color: var(--navy); font-weight: 700; }
.tab svg { width: 25px; height: 25px; }
.badge { position: absolute; top: 6px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--navy); color: #fff; font-style: normal; font-family: var(--f-lat); font-size: 12px; line-height: 18px; text-align: center; }

/* ---------- 題字 ---------- */
.mast { margin: 2px 18px 0; padding-bottom: 10px; border-bottom: 3px double var(--rule-2); }
.mast .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12px; color: var(--ink-2); padding-bottom: 6px; border-bottom: .5px solid var(--rule-2); }
.mast .meta .num { font-size: 13px; }
.mast h1 { margin: 10px 0 2px; font-family: var(--f-head); font-weight: 800; font-size: 42px; line-height: 1.1; letter-spacing: .14em; text-align: center; font-feature-settings: "palt"; }
.mast .sub { display: flex; justify-content: center; gap: 14px; font-size: 12px; color: var(--ink-2); letter-spacing: .06em; }
.mast .sub svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 2px; }
.gtabs { position: sticky; top: 0; z-index: 4; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; padding: 0 10px; background: var(--paper); border-bottom: .5px solid var(--rule); }
.gtabs::-webkit-scrollbar { display: none; }
.gtabs button { flex: none; position: relative; min-height: 46px; padding: 0 12px; font-family: var(--f-head); font-weight: 700; font-size: 16px; color: var(--ink-3); white-space: nowrap; transition: color 160ms; }
.gtabs button.on { color: var(--ink); }
.gtabs button.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--navy); }

/* 今朝の5本 */
.five { margin: 18px 18px 0; border: 1px solid var(--ink); background: var(--sheet); }
.five-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: var(--ink); color: #fff; }
.five-h b { font-family: var(--f-head); font-weight: 800; font-size: 18px; letter-spacing: .1em; }
.five-h span { font-size: 13px; letter-spacing: .04em; white-space: nowrap; }
.five-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; padding: 10px 14px 0; }
.five-bar i { height: 4px; background: var(--rule); }
.five-bar i.on { background: var(--navy); }
.five ol { list-style: none; margin: 0; padding: 4px 0; counter-reset: n; }
.five li a { display: grid; grid-template-columns: 34px 1fr 24px; gap: 8px; align-items: center; padding: 11px 14px 11px 12px; transition: background 120ms; }
.five li + li a { border-top: .5px solid var(--rule); }
.five li a:active { background: var(--hl); }
.five .no { font-family: var(--f-lat); font-weight: 500; font-size: 28px; line-height: 1; color: var(--navy); text-align: center; }
.five .tt { font-family: var(--f-head); font-weight: 700; font-size: 17px; line-height: 1.45; font-feature-settings: "palt"; }
.five .mt { display: block; margin-top: 2px; font-family: var(--f-sans); font-weight: 500; font-size: 12px; color: var(--ink-3); }
.five .ck { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; color: transparent; }
.five .ck svg { width: 16px; height: 16px; }
.five li.read .ck { background: var(--navy); border-color: var(--navy); color: #fff; }
.five li.read .tt { color: var(--ink-2); }
.five li.read .no { color: #8a8f9e; }
.five-done { padding: 10px 14px 12px; border-top: .5px solid var(--rule); font-size: 13px; color: var(--navy); font-weight: 700; }

/* トップ記事 */
.top-story { display: block; margin: 22px 18px 0; padding-bottom: 18px; border-bottom: .5px solid var(--rule-2); }
.top-story figure { margin: 0; }
.top-story img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #ddd; }
.top-story figcaption, .fig figcaption { margin-top: 6px; font-size: 12px; line-height: 1.6; color: var(--ink-3); word-break: normal; }
.kick { display: inline-flex; gap: 8px; align-items: baseline; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--navy); }
.kick .g { padding: 0 6px; border: 1px solid var(--navy); line-height: 1.5; }
.top-story .kick { margin-top: 12px; }
.top-story h2 { margin: 6px 0 6px; font-family: var(--f-head); font-weight: 800; font-size: 25px; line-height: 1.4; font-feature-settings: "palt"; }
.top-story p { margin: 0; font-family: var(--f-body); font-size: 15px; line-height: 1.85; color: var(--ink-2); word-break: normal; }
.read-tag { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.read-tag svg { width: 14px; height: 14px; }

/* セクション */
.sect { margin: 26px 18px 0; }
.sect-h { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.sect-h h3 { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: 19px; letter-spacing: .12em; white-space: nowrap; }
.sect-h::after { content: ""; flex: 1; height: 0; border-top: 3px double var(--rule-2); }
.item { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 0; border-bottom: .5px solid var(--rule); transition: background 120ms; }
.item:active { background: var(--hl); }
.item h4 { margin: 3px 0 4px; font-family: var(--f-head); font-weight: 700; font-size: 18px; line-height: 1.45; font-feature-settings: "palt"; }
.item p { margin: 0; font-family: var(--f-body); font-size: 14px; line-height: 1.75; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: normal; }
.item .th { width: 96px; height: 96px; object-fit: cover; background: #ddd; margin-top: 4px; }
.item .meta { display: flex; gap: 10px; align-items: center; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.item.read h4 { color: var(--ink-2); }
.foot-note { margin: 22px 18px 0; padding: 12px 14px; border: .5px solid var(--rule-2); font-size: 13px; line-height: 1.7; color: var(--ink-2); word-break: normal; }

/* ---------- 記事 ---------- */
.art { --fs: 17px; --lh: 1.9; }
.art.sans .body p, .art.sans .lead { font-family: var(--f-sans); }
.art.sepia, .art.sepia .nav, .art.sepia .scroll { background: #f4eedf; }
.art.night, .art.night .nav, .art.night .scroll { background: #16181d; color: #e9e7e1; }
.art.night .nb { color: #c4cdf0; }
.art.night .lead, .art.night .body p, .art.night .bym, .art.night .fig figcaption { color: #d6d4cd; }
.art.night .kick { color: #c4cdf0; }
.art.night .kick .g { border-color: #c4cdf0; }
.art.night .prog i { background: #c4cdf0; }
.art.night .endmark, .art.night .rel h3 { color: #e9e7e1; }
.art.night .rel a { border-color: #3a3d46; }
.art.night .endmark .done { border-color: #c4cdf0; color: #c4cdf0; }
.art.night .rel a span, .art.night .bym b { color: #c9c7c0; }
.art.night .later-btn.on { background: #c4cdf0; color: #16181d; }
.art.night .later-btn { background: #262a33; color: #e9e7e1; }
.art .wrap { padding: 4px 20px 0; }
.art h1 { margin: 8px 0 10px; font-family: var(--f-head); font-weight: 800; font-size: calc(var(--fs) * 1.6); line-height: 1.4; font-feature-settings: "palt"; }
.art .lead { margin: 0; font-family: var(--f-body); font-weight: 600; font-size: calc(var(--fs) * .98); line-height: 1.85; color: var(--ink); word-break: normal; }
.bym { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 12px 0 0; padding: 8px 0; border-top: .5px solid var(--rule); border-bottom: .5px solid var(--rule); font-size: 12px; color: var(--ink-3); }
.bym b { color: var(--ink-2); font-weight: 700; }
.fig { margin: 16px -20px 0; }
.fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #ddd; }
.fig figcaption { padding: 0 20px; }
.fig .off { display: flex; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 3 / 2; background: #e6e3db; color: var(--ink-2); font-size: 13px; }
.body { margin-top: 16px; }
.body p { margin: 0 0 1.05em; font-family: var(--f-body); font-size: var(--fs); line-height: var(--lh); text-indent: 1em; word-break: normal; overflow-wrap: break-word; color: var(--ink); }
.endmark { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--ink); }
.endmark::before { content: ""; width: 10px; height: 10px; background: currentColor; }
.endmark .done { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border: 1.5px solid var(--navy); color: var(--navy); font-family: var(--f-sans); font-size: 13px; transform: rotate(-4deg); opacity: 0; transition: opacity 300ms, transform 400ms var(--ease); }
.endmark .done.show { opacity: 1; transform: rotate(-4deg) scale(1); }
.endmark .done svg { width: 15px; height: 15px; }
.later-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; margin-top: 20px; background: var(--navy-2); color: var(--navy); font-weight: 700; font-size: 15px; transition: transform 120ms; }
.later-btn:active { transform: scale(.98); }
.later-btn.on { background: var(--navy); color: #fff; }
.rel { margin-top: 28px; }
.rel h3 { margin: 0 0 4px; font-family: var(--f-head); font-weight: 800; font-size: 16px; letter-spacing: .1em; }
.rel a { display: block; padding: 12px 0; border-top: .5px solid var(--rule); font-family: var(--f-head); font-weight: 700; font-size: 16px; line-height: 1.5; }
.rel a span { display: block; font-family: var(--f-sans); font-weight: 500; font-size: 12px; color: var(--ink-3); }
.disc { margin-top: 18px; font-size: 12px; color: var(--ink-3); }
.art.night .disc { color: #b9b7b0; }

/* ---------- 大きなタイトル（あとで読む・記録・設定） ---------- */
.lt { margin: 4px 18px 6px; font-family: var(--f-head); font-weight: 800; font-size: 32px; line-height: 1.25; letter-spacing: .06em; font-feature-settings: "palt"; }
.lt-sub { margin: 0 18px; font-size: 13px; color: var(--ink-2); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.net { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 1px solid var(--rule); font-size: 12px; font-weight: 700; }
.net.off { border-color: var(--navy); color: var(--navy); }
.net svg { width: 15px; height: 15px; }

/* あとで読む */
.saved { margin: 14px 0 0; border-top: .5px solid var(--rule-2); }
.sv { position: relative; overflow: hidden; border-bottom: .5px solid var(--rule); }
.sv .del { position: absolute; top: 0; bottom: 0; right: 0; width: 96px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; background: #9c2b1f; color: #fff; font-size: 12px; font-weight: 700; }
.sv .del svg { width: 20px; height: 20px; }
.sv .row { position: relative; display: grid; grid-template-columns: 1fr 76px; gap: 12px; padding: 14px 18px; background: var(--paper); transition: transform 260ms var(--ease); touch-action: pan-y; user-select: none; }
.sv .row.dragging { transition: none; }
.sv .row h4 { margin: 3px 0 4px; font-family: var(--f-head); font-weight: 700; font-size: 17px; line-height: 1.45; font-feature-settings: "palt"; }
.sv .row .meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--ink-3); }
.sv .row .ok { display: inline-flex; align-items: center; gap: 2px; color: var(--navy); font-weight: 700; }
.sv .row .ok svg { width: 14px; height: 14px; }
.sv .row img, .sv .row .noimg { width: 76px; height: 76px; object-fit: cover; background: var(--hl); }
.sv .row .noimg { display: flex; align-items: center; justify-content: center; font-family: var(--f-head); font-weight: 800; font-size: 22px; color: var(--navy); border: .5px solid var(--rule); }
.swipe-tip { margin: 10px 18px 0; font-size: 12px; color: var(--ink-3); }
.empty { padding: 30px 30px 0; text-align: center; }
.empty .ill { width: 180px; height: 120px; margin: 0 auto; object-fit: cover; filter: grayscale(.3); border: .5px solid var(--rule-2); padding: 4px; background: #fff; }
.empty h3 { margin: 16px 0 4px; font-family: var(--f-head); font-weight: 800; font-size: 19px; }
.empty p { margin: 0 0 16px; font-size: 14px; color: var(--ink-2); word-break: normal; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; font-weight: 700; font-size: 15px; transition: transform 120ms, filter 120ms; }
.btn:active { transform: scale(.97); filter: brightness(.95); }
.btn.navy { background: var(--navy); color: #fff; }
.btn.line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.btn.danger { background: #f6e3df; color: #8c2618; }
.btn.wide { width: 100%; }

/* 記録 */
.stat3 { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.stat3 div { padding: 12px 6px 10px; text-align: center; }
.stat3 div + div { border-left: .5px solid var(--rule); }
.stat3 b { display: block; font-family: var(--f-lat); font-weight: 500; font-size: 32px; line-height: 1.1; color: var(--navy); }
.stat3 b small { font-family: var(--f-sans); font-size: 13px; margin-left: 2px; color: var(--ink-2); }
.stat3 span { font-size: 12px; color: var(--ink-2); }
.chart { margin: 0; }
.chart svg { display: block; width: 100%; height: auto; }
.mix { display: flex; height: 14px; margin: 6px 0 8px; border: .5px solid var(--ink); }
.mix i { display: block; height: 100%; }
.mix-k { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--ink-2); }
.mix-k span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.mix-k i { width: 10px; height: 10px; display: inline-block; }
.tl-day { margin: 18px 18px 0; }
.tl-day h4 { margin: 0 0 4px; font-family: var(--f-head); font-weight: 800; font-size: 15px; letter-spacing: .06em; padding-bottom: 4px; border-bottom: .5px solid var(--ink); }
.tl { display: grid; grid-template-columns: 50px 1fr; gap: 10px; padding: 10px 0; border-bottom: .5px solid var(--rule); }
.tl time { font-family: var(--f-lat); font-size: 15px; color: var(--ink-2); }
.tl b { display: block; word-break: keep-all; font-family: var(--f-head); font-weight: 700; font-size: 15px; line-height: 1.5; }
.tl .k { font-size: 12px; color: var(--ink-3); }
.tl .x { display: inline-block; margin-left: 6px; padding: 0 6px; border: .5px solid var(--rule); font-size: 11px; color: var(--ink-3); }
a.tl:active { background: var(--hl); }

/* 設定 */
.grp { margin: 22px 18px 0; }
.grp h3 { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--ink-2); }
.cells { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.cell { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 2px; width: 100%; text-align: left; }
.cell + .cell { border-top: .5px solid var(--rule); }
.cell .lb { flex: 1; min-width: 0; font-size: 15px; }
.cell .lb small { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.5; word-break: normal; }
.cell .v { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.cell svg.ch { width: 18px; height: 18px; color: #8a8a90; }
a.cell:active, button.cell:active { background: var(--hl); }
.cell.danger .lb { color: #8c2618; font-weight: 700; }
.preview { margin: 0 0 4px; padding: 14px 14px; border: .5px solid var(--rule); background: var(--sheet); }
.preview p { margin: 0; font-family: var(--f-body); font-size: var(--fs); line-height: var(--lh); text-indent: 1em; word-break: normal; }
.preview.sans p { font-family: var(--f-sans); }
.preview.sepia { background: #f4eedf; }
.preview.night { background: #16181d; color: #e9e7e1; }
.sizer { display: flex; align-items: center; gap: 10px; }
.sizer .a { font-family: var(--f-head); font-weight: 800; }
.sizer input { flex: 1; accent-color: var(--navy); height: 32px; }
.seg { display: inline-grid; grid-auto-flow: column; border: 1px solid var(--ink); }
.seg button { min-height: 36px; padding: 0 12px; font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--ink-2); }
.seg button + button { border-left: .5px solid var(--ink); }
.seg button.on { background: var(--ink); color: #fff; }
.switch { position: relative; width: 50px; height: 30px; border-radius: 15px; background: #cfccc4; flex: none; transition: background 200ms; }
.switch::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 240ms var(--ease); }
.switch[aria-checked="true"] { background: var(--navy); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
select.time { height: 36px; padding: 0 8px; border: 1px solid var(--ink); background: #fff; font-family: var(--f-lat); font-size: 16px; }
.foot { margin: 14px 18px 0; font-size: 12px; color: var(--ink-3); line-height: 1.7; word-break: normal; }

/* 読み物 */
.read { margin: 0 18px; }
.read h2 { margin: 24px 0 8px; font-family: var(--f-head); font-weight: 800; font-size: 19px; }
.read p { margin: 0 0 10px; font-family: var(--f-body); font-size: 15px; line-height: 1.9; word-break: normal; }
.note { padding: 14px 16px; border: 1px solid var(--navy); background: var(--navy-2); font-size: 14px; line-height: 1.8; word-break: normal; }
.techs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.techs li { padding: 4px 10px; border: .5px solid var(--ink); font-size: 13px; }
.about-art { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- シート・トースト・スプラッシュ ---------- */
.sheet-root { position: absolute; inset: 0; z-index: 40; }
.scrim { position: absolute; inset: 0; background: rgba(15, 16, 20, .4); animation: fade 200ms ease both; }
.sheet { position: absolute; left: 8px; right: 8px; bottom: calc(8px + var(--sb)); padding: 8px 18px 18px; border-radius: 28px; background: var(--paper); box-shadow: 0 -8px 40px rgba(0, 0, 0, .25); animation: up 340ms var(--ease) both; max-height: 86%; overflow-y: auto; }
.sheet .grab { width: 36px; height: 5px; border-radius: 3px; background: #cbc7bd; margin: 0 auto 12px; }
.sheet h3 { margin: 0 0 10px; font-family: var(--f-head); font-weight: 800; font-size: 19px; }
.sheet p { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); word-break: normal; }
.sheet .row2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: .5px solid var(--rule); }
.sheet .row2 > span { font-size: 14px; font-weight: 700; white-space: nowrap; }
.bgs { display: flex; gap: 8px; }
.bgs button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); font-family: var(--f-head); font-weight: 800; font-size: 15px; }
.bgs button.on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--navy); }
.sheet .btns { display: grid; gap: 10px; margin-top: 14px; }
.sheet-root.out .scrim { animation: fadeOut 200ms ease both; }
.sheet-root.out .sheet { animation: down 220ms ease both; }
@keyframes up { from { transform: translateY(110%); } }
@keyframes down { to { transform: translateY(110%); } }
@keyframes fadeOut { to { opacity: 0; } }
.toast { position: absolute; z-index: 60; left: 50%; top: calc(10px + var(--st)); transform: translate(-50%, -150%); max-width: calc(100% - 32px); padding: 10px 16px; background: var(--ink); color: #fff; font-size: 14px; line-height: 1.55; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .45); transition: transform 320ms var(--ease); pointer-events: none; word-break: normal; }
.toast.show { transform: translate(-50%, 0); }
.splash { position: absolute; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--paper); transition: opacity 300ms; }
.splash img { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .4); }
.splash b { font-family: var(--f-head); font-weight: 800; font-size: 26px; letter-spacing: .2em; }
.splash span { font-size: 12px; letter-spacing: .2em; color: var(--ink-2); }
.splash.out { opacity: 0; pointer-events: none; }

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