/* ひかり現像 — 暗室の黒、安全光の赤、印画紙と金属の銀 */
:root {
  --ink: #0c0a0a;
  --ink-2: #151111;
  --ink-3: #1f1919;
  --rule: #342a29;
  --silver: #dcd8d1;
  --silver-2: #a9a29a;
  --safe: #c42a1e;
  --safe-press: #9e2016;
  --safe-hi: #ff705c;
  --amber: #e8743a;
  --paper: #f4f1ea;
  --metal: linear-gradient(180deg, #f6f4f0 0%, #b9b5ae 46%, #e7e4de 54%, #8f8b85 100%);

  --ff: 'Murecho', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --r: 4px;
  --snap: cubic-bezier(.2, .9, .25, 1);
  --top: env(safe-area-inset-top, 0px);
  --bot: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--ink); }
body { color: var(--silver); font-family: var(--ff); font-size: 15px; line-height: 1.7; line-break: strict; overflow: hidden; -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--safe-hi); outline-offset: 2px; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
h1, h2, h3, .btn, .chip__n, .film__n, .seg__b, .ttab span { word-break: keep-all; overflow-wrap: anywhere; font-feature-settings: "palt"; }
.noscript { padding: 24px; }

.room { position: fixed; inset: 0; overflow: hidden; background: var(--ink); }
@media (min-width: 600px) {
  html, body { background: #050404 radial-gradient(ellipse at 50% 0%, #3a0d09 0%, #050404 60%) fixed; }
  .room { left: 50%; right: auto; width: 430px; transform: translateX(-50%); box-shadow: 0 0 0 1px var(--rule), 0 0 80px rgba(196, 42, 30, .18); }
}
.deck { position: absolute; inset: 0; margin: 0; }
.fail { padding: 40vh 24px 0; text-align: center; }
.fail__t { font-weight: 800; font-size: 26px; }
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--ink); }
.scr.from-right { animation: inR 300ms var(--snap) both; z-index: 2; }
.scr.from-left { animation: inL 300ms var(--snap) both; z-index: 2; }
.scr.fade-out { animation: out 300ms ease both; }
@keyframes inR { from { transform: translateX(24%); opacity: 0; } }
@keyframes inL { from { transform: translateX(-16%); opacity: 0; } }
@keyframes out { to { opacity: 0; } }
.scroller { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: calc(36px + var(--bot)); }

/* 共通部品 */
.bar { flex: none; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; min-height: calc(54px + var(--top)); padding: var(--top) 4px 0; background: var(--ink); border-bottom: 1px solid var(--rule); }
.bar__t { text-align: center; font-size: 17px; font-weight: 700; letter-spacing: .04em; }
.bar__sp { width: 44px; }
.ibtn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--silver); transition: transform 120ms var(--snap), background 160ms; }
.ibtn svg { width: 24px; height: 24px; }
.ibtn:active { transform: scale(.88); background: var(--ink-3); }
.ibtn--solid { background: var(--ink); box-shadow: 0 0 0 1px var(--rule); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r); font-weight: 700; font-size: 15px; letter-spacing: .04em; transition: transform 120ms var(--snap), background 160ms, box-shadow 160ms; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn--red { background: var(--safe); color: #fff; box-shadow: 0 0 0 1px #e0473a inset, 0 8px 24px rgba(196, 42, 30, .28); }
.btn--red:active { background: var(--safe-press); }
.btn--red:disabled { background: var(--ink-3); color: var(--silver-2); box-shadow: none; }
.btn--line { color: var(--silver); box-shadow: inset 0 0 0 1px var(--rule); background: var(--ink-2); }
.btn--line:active { background: var(--ink-3); }
.btn--big { min-height: 56px; font-size: 16px; width: 100%; }
.btn--sm { min-height: 40px; padding: 0 12px; font-size: 14px; gap: 4px; }
.btn--sm svg { width: 18px; height: 18px; }
.btn--block { display: flex; width: 100%; }
.link { color: var(--safe-hi); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; padding: 0 4px; }
.link:disabled { color: var(--silver-2); text-decoration: none; cursor: default; }
.sec { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 16px; margin: 32px 0 12px; font-size: 18px; font-weight: 800; letter-spacing: .04em; }
.sec small { font-size: 11px; color: var(--safe-hi); letter-spacing: .14em; font-weight: 400; }
.sec--in { padding: 0; }

/* ---------- 写真を選ぶ ---------- */
.hero { position: relative; height: 340px; background-size: cover; background-position: center 22%; }
.hero::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.hero__gear { position: absolute; top: calc(var(--top) + 12px); right: 12px; z-index: 2; }
.plate { position: absolute; left: 16px; right: 16px; bottom: 0; z-index: 2; padding: 16px 16px 14px; background: var(--ink); border-left: 3px solid var(--safe); }
.plate__edge { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--safe-hi); }
.plate__t { font-size: 38px; font-weight: 800; line-height: 1.15; letter-spacing: .06em; color: #e6e2db; text-shadow: 0 1px 0 #fff, 0 -1px 0 #6d6964, 0 0 18px rgba(196, 42, 30, .35); }
.plate__s { font-size: 14px; color: var(--silver-2); }
.cta { padding: 20px 16px 0; }
.cta__note { margin-top: 8px; font-size: 13px; color: var(--silver-2); text-align: center; }
.contact { padding: 0 10px; }
.strip { background: #050404; border-radius: 2px; margin-bottom: 10px; box-shadow: 0 0 0 1px #1a1414; }
.strip__holes { height: 14px; background: repeating-linear-gradient(90deg, transparent 0 9px, #3b3130 9px 19px, transparent 19px 28px); background-size: 28px 8px; background-repeat: repeat-x; background-position: 4px 3px; }
.strip__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 8px; }
.neg { display: flex; flex-direction: column; gap: 6px; text-align: left; transition: transform 140ms var(--snap); }
.neg:active { transform: scale(.97); }
.neg__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px; background: #000; }
.neg__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter 300ms; }
.neg:hover .neg__img img { filter: brightness(1.08); }
.neg__cap { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--silver); padding: 0 2px 2px; }
.neg__cap b { color: var(--amber); font-size: 12px; }
.prints { display: flex; gap: 14px; overflow-x: auto; padding: 4px 16px 6px; scrollbar-width: none; }
.prints::-webkit-scrollbar { display: none; }
.print-s { flex: none; width: 128px; display: flex; flex-direction: column; text-align: left; transition: transform 160ms var(--snap); }
.print-s:nth-child(odd) { transform: rotate(-1.5deg); }
.print-s:nth-child(even) { transform: rotate(1.2deg); }
.print-s:active { transform: scale(.95); }
.print-s__paper { display: block; padding: 7px 7px 20px; background: var(--paper); box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }
.print-s__paper canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; background: #222; }
.print-s__t { margin-top: 8px; font-size: 13px; font-weight: 700; }
.print-s__d { font-size: 12px; color: var(--silver-2); }

/* ---------- 編集 ---------- */
.etop { flex: none; display: grid; grid-template-columns: 44px 1fr 44px auto; gap: 6px; align-items: center; min-height: calc(56px + var(--top)); padding: var(--top) 12px 0 4px; background: var(--ink); }
.etop__t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.etop__t b { font-size: 16px; font-weight: 800; letter-spacing: .1em; }
.etop__t span { font-size: 11px; color: var(--safe-hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; background: #070606; touch-action: none; }
.tray-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(196, 42, 30, .22), transparent 60%); pointer-events: none; }
.view { position: relative; display: block; box-shadow: 0 0 0 1px #000, 0 18px 40px rgba(0, 0, 0, .7); user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.view.develop { animation: develop 1100ms ease-out both; }
@keyframes develop { from { filter: brightness(.05) contrast(.6) sepia(.6); } 60% { filter: brightness(.8) contrast(.95) sepia(.1); } to { filter: none; } }
.hist { position: absolute; left: 12px; top: 12px; width: 96px; height: 33px; border-radius: 2px; box-shadow: 0 0 0 1px var(--rule); pointer-events: none; }
.orig-tag { position: absolute; top: 12px; right: 12px; padding: 2px 10px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 700; border-radius: 2px; }
.loading { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-size: 14px; color: var(--silver-2); }
.cropbox { position: absolute; z-index: 3; box-shadow: 0 0 0 9999px rgba(5, 4, 4, .66); outline: 1.5px solid var(--paper); cursor: move; touch-action: none; }
.cropbox[hidden] { display: none; }
.cropbox__grid { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(244, 241, 234, .5) calc(33.33% - .5px) calc(33.33% + .5px), transparent calc(33.33% + .5px) calc(66.66% - .5px), rgba(244, 241, 234, .5) calc(66.66% - .5px) calc(66.66% + .5px), transparent calc(66.66% + .5px)),
  linear-gradient(180deg, transparent calc(33.33% - .5px), rgba(244, 241, 234, .5) calc(33.33% - .5px) calc(33.33% + .5px), transparent calc(33.33% + .5px) calc(66.66% - .5px), rgba(244, 241, 234, .5) calc(66.66% - .5px) calc(66.66% + .5px), transparent calc(66.66% + .5px)); }
.cropbox i { position: absolute; width: 44px; height: 44px; z-index: 2; }
.cropbox i::before { content: ''; position: absolute; width: 18px; height: 18px; border: 3px solid var(--paper); }
.cropbox i[data-h="nw"] { left: -22px; top: -22px; cursor: nwse-resize; } .cropbox i[data-h="nw"]::before { left: 19px; top: 19px; border-right: 0; border-bottom: 0; }
.cropbox i[data-h="ne"] { right: -22px; top: -22px; cursor: nesw-resize; } .cropbox i[data-h="ne"]::before { right: 19px; top: 19px; border-left: 0; border-bottom: 0; }
.cropbox i[data-h="sw"] { left: -22px; bottom: -22px; cursor: nesw-resize; } .cropbox i[data-h="sw"]::before { left: 19px; bottom: 19px; border-right: 0; border-top: 0; }
.cropbox i[data-h="se"] { right: -22px; bottom: -22px; cursor: nwse-resize; } .cropbox i[data-h="se"]::before { right: 19px; bottom: 19px; border-left: 0; border-top: 0; }

.panel { flex: none; min-height: 172px; padding: 12px 0 8px; background: var(--ink-2); border-top: 1px solid var(--rule); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: grid; grid-template-columns: 22px auto; grid-template-rows: auto auto; column-gap: 6px; align-items: center; min-height: 52px; padding: 6px 12px 6px 10px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--rule); text-align: left; transition: background 160ms, box-shadow 160ms; }
.chip svg { grid-row: 1 / 3; width: 22px; height: 22px; color: var(--silver-2); }
.chip__n { font-size: 13px; font-weight: 700; line-height: 1.3; }
.chip__v { font-size: 12px; color: var(--silver-2); line-height: 1.3; }
.chip.is-set svg, .chip.is-set .chip__v { color: var(--safe-hi); }
.chip.is-on { background: var(--paper); box-shadow: none; color: var(--ink); }
.chip.is-on svg, .chip.is-on .chip__v { color: #7a1c14; }
.dial { padding: 12px 16px 0; }
.dial__head { display: flex; align-items: center; gap: 10px; }
.dial__head b { font-size: 15px; }
.dial__head output { font-size: 20px; font-weight: 700; color: var(--paper); min-width: 56px; }
.dial__head .link { margin-left: auto; }
.dial__scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--silver-2); padding: 0 2px; }

/* 目盛りつきのスライダー（つまみは銀のレバー） */
.rng { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 40px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.rng::-webkit-slider-runnable-track { height: 18px; background: repeating-linear-gradient(90deg, #6f6560 0 1px, transparent 1px 10px) left center / 100% 10px no-repeat, linear-gradient(var(--rule), var(--rule)) left center / 100% 2px no-repeat; }
.rng::-moz-range-track { height: 18px; background: repeating-linear-gradient(90deg, #6f6560 0 1px, transparent 1px 10px) left center / 100% 10px no-repeat, linear-gradient(var(--rule), var(--rule)) left center / 100% 2px no-repeat; }
.rng--mid::-webkit-slider-runnable-track { background: linear-gradient(var(--safe-hi), var(--safe-hi)) center / 2px 18px no-repeat, repeating-linear-gradient(90deg, #6f6560 0 1px, transparent 1px 10px) left center / 100% 10px no-repeat, linear-gradient(var(--rule), var(--rule)) left center / 100% 2px no-repeat; }
.rng::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 34px; margin-top: -8px; border-radius: 3px; background: var(--metal); box-shadow: 0 2px 8px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .5); }
.rng::-moz-range-thumb { width: 16px; height: 34px; border: 0; border-radius: 3px; background: var(--metal); box-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.rng:active::-webkit-slider-thumb { transform: scaleY(1.08); }
.rng:disabled { opacity: .35; cursor: default; }

.films { display: flex; gap: 10px; overflow-x: auto; padding: 2px 12px 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
.films::-webkit-scrollbar { display: none; }
.film { flex: none; width: 82px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 5px 6px; border-radius: 3px; background: #050404; scroll-snap-align: center; transition: transform 160ms var(--snap), box-shadow 160ms; box-shadow: inset 0 0 0 1px #1d1716; }
.film__img { display: block; width: 72px; height: 72px; border-radius: 2px; overflow: hidden; background: #222; }
.film__img canvas { display: block; width: 100%; height: 100%; }
.film__n { font-size: 14px; font-weight: 700; margin-top: 2px; }
.film__iso { font-size: 11px; color: var(--amber); }
.film:active { transform: scale(.95); }
.film.is-on { box-shadow: inset 0 0 0 2px var(--safe-hi), 0 0 18px rgba(196, 42, 30, .35); }
.amt { display: grid; grid-template-columns: auto 1fr 52px; gap: 12px; align-items: center; padding: 2px 16px 0; }
.amt__k { font-size: 13px; color: var(--silver-2); }
.amt__v { text-align: right; font-size: 15px; color: var(--paper); }
.film-note { padding: 0 16px; font-size: 13px; color: var(--silver-2); min-height: 22px; }
.aspects { display: flex; gap: 8px; overflow-x: auto; padding: 0 12px 6px; scrollbar-width: none; }
.aspects::-webkit-scrollbar { display: none; }
.asp { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-width: 64px; min-height: 76px; padding: 8px 8px 6px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--rule); font-size: 13px; font-weight: 700; transition: background 160ms; }
.asp__box { display: block; height: 28px; width: calc(28px * var(--r)); max-width: 46px; border: 2px solid currentColor; border-radius: 2px; }
.asp.is-on { background: var(--paper); color: var(--ink); box-shadow: none; }
.crop-help { padding: 8px 16px 0; font-size: 13px; color: var(--silver-2); }
.crop-help .link { display: block; min-height: 36px; padding: 0; margin-top: 2px; }

.ttabs { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: var(--bot); background: var(--ink); border-top: 1px solid var(--rule); }
.ttab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; font-size: 12px; font-weight: 700; color: var(--silver-2); transition: color 160ms; }
.ttab svg { width: 24px; height: 24px; }
.ttab.is-on { color: var(--paper); }
.ttab.is-on::before { content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; background: var(--safe-hi); box-shadow: 0 0 12px var(--safe); }
.ttab:active svg { transform: scale(.88); }

/* ---------- 書き出し ---------- */
.line { position: relative; padding: 26px 16px 18px; background: radial-gradient(ellipse at 50% 0%, #2a0c08 0%, var(--ink) 70%); }
.line__wire { position: absolute; left: -10px; right: -10px; top: 22px; height: 2px; background: #6d6460; transform: rotate(-1deg); }
.hang { position: relative; width: 82%; margin: 0 auto; animation: sway 4s ease-in-out infinite alternate; transform-origin: 50% 0; }
@keyframes sway { from { transform: rotate(-.8deg); } to { transform: rotate(.8deg); } }
.hang__img { display: block; width: 100%; height: auto; box-shadow: 0 16px 36px rgba(0, 0, 0, .75); }
.clip { position: absolute; top: -14px; width: 14px; height: 30px; border-radius: 3px; background: var(--metal); z-index: 2; box-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
.clip--l { left: 14%; }
.clip--r { right: 14%; }
.line__cap { margin-top: 14px; text-align: center; font-size: 12px; color: var(--silver-2); letter-spacing: .08em; }
.xo { padding: 4px 16px 0; }
.xo__h { margin: 16px 0 8px; font-size: 14px; font-weight: 700; color: var(--silver-2); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.seg__b { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 6px 4px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--rule); font-size: 14px; font-weight: 700; line-height: 1.35; transition: background 160ms; }
.seg__b small { font-size: 11px; font-weight: 400; color: var(--silver-2); }
.seg__b.is-on { background: var(--paper); color: var(--ink); box-shadow: none; }
.seg__b.is-on small { color: #4a403d; }
.seg--s { grid-auto-columns: 84px; }
.seg--s .seg__b { min-height: 44px; }
.spec { margin-top: 16px; border-top: 1px solid var(--rule); }
.spec > div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.spec dt { color: var(--silver-2); }
.go { padding: 20px 16px 0; }
.go__note { margin-top: 10px; font-size: 13px; color: var(--silver-2); }
.meter { margin-bottom: 12px; }
.meter[hidden] { display: none; }
.meter__bar { height: 6px; background: var(--ink-3); border-radius: 3px; overflow: hidden; }
.meter__bar i { display: block; height: 100%; background: var(--safe-hi); transform: scaleX(0); transform-origin: left; transition: transform 120ms linear; box-shadow: 0 0 10px var(--safe); }
.meter__t { margin-top: 6px; font-size: 13px; color: var(--paper); text-align: center; }
.done { margin-top: 14px; padding: 14px; background: var(--ink-2); border: 1px solid var(--rule); border-radius: var(--r); display: grid; gap: 10px; }
.done[hidden] { display: none; }
.done__t { font-size: 17px; font-weight: 800; color: var(--paper); }
.done__f { display: flex; flex-direction: column; font-size: 13px; word-break: break-all; }
.done__f span { color: var(--silver-2); }

/* ---------- 設定・アプリについて ---------- */
.rows { margin: 8px 16px 0; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.row__lab { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; text-align: left; cursor: pointer; }
.row__lab > svg { width: 20px; height: 20px; color: var(--silver-2); }
.row__t { flex: 1; display: flex; flex-direction: column; }
.row__t b { font-size: 15px; }
.row__t span { font-size: 13px; color: var(--silver-2); line-height: 1.6; }
.row--warn b { color: var(--safe-hi); }
.sw { flex: none; position: relative; width: 50px; height: 30px; margin: 0; border-radius: 15px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--rule); -webkit-appearance: none; appearance: none; cursor: pointer; transition: background 180ms; }
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--metal); transition: transform 220ms var(--snap); }
.sw:checked { background: var(--safe); box-shadow: none; }
.sw:checked::after { transform: translateX(20px); }
.fg { margin: 0 16px; }
.fg li { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.fg b { display: flex; flex-direction: column; font-size: 15px; line-height: 1.3; }
.fg b span { font-size: 11px; color: var(--amber); font-weight: 400; }
.fg li > span { color: var(--silver-2); }
.ab { padding: 24px 16px 0; text-align: center; }
.ab__icon { border-radius: 24px; box-shadow: 0 0 0 1px var(--rule), 0 0 30px rgba(196, 42, 30, .3); }
.ab__n { margin-top: 12px; font-size: 26px; font-weight: 800; letter-spacing: .06em; }
.ab__v { font-size: 12px; color: var(--silver-2); }
.ab__note { margin: 18px 0 12px; padding: 14px; text-align: left; background: var(--paper); color: var(--ink); border-radius: 2px; font-size: 14px; line-height: 1.85; }
.ab__p { text-align: left; font-size: 14px; color: var(--silver-2); }
.ab__tech { text-align: left; margin-bottom: 22px; }
.ab__tech li { padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }

/* ---------- 確認・通知・起動 ---------- */
.modal { position: absolute; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.m__veil { position: absolute; inset: 0; background: rgba(5, 4, 4, .72); }
.m { position: relative; width: 100%; max-width: 340px; padding: 20px 18px 16px; background: var(--ink-2); border: 1px solid var(--rule); border-radius: 6px; transform: scale(.94); opacity: 0; transition: transform 220ms var(--snap), opacity 180ms; }
.modal.is-on .m { transform: none; opacity: 1; }
.m__t { font-size: 18px; font-weight: 800; }
.m__p { margin-top: 6px; font-size: 14px; color: var(--silver-2); }
.m__acts { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; margin-top: 16px; }
.snack { position: absolute; left: 50%; bottom: calc(80px + var(--bot)); z-index: 80; width: max-content; max-width: calc(100% - 40px); padding: 10px 16px; border-radius: var(--r); background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 700; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity 200ms, transform 240ms var(--snap); }
.snack.is-on { opacity: 1; transform: translate(-50%, 0); }
.boot { position: absolute; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: var(--ink); transition: opacity 400ms; }
.boot[hidden] { display: none; }
.boot img { border-radius: 26px; box-shadow: 0 0 60px rgba(196, 42, 30, .4); }
.boot p { font-size: 22px; font-weight: 800; letter-spacing: .3em; }
.boot.is-out { opacity: 0; }

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