/* カンバン舟 — 付箋と帆船。海色 × 付箋黄 × 白 */
:root {
  --sea: #0f4c6e;
  --sea-2: #1d6c95;
  --sea-3: #8fbcd4;
  --deep: #0a3550;
  --chart: #e7f1f5;
  --chart-2: #d6e7ef;
  --paper: #ffffff;
  --ink: #13324a;
  --ink-2: #3f5b6e;
  --note: #ffdf66;
  --note-hi: #ffeb94;
  --note-done: #fff4c4;
  --coral: #a3301a;
  --coral-soft: #fde3dc;
  --f-ui: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --f-hand: "Klee One", "Zen Maru Gothic", "Hiragino Mincho ProN", serif;
  --f-num: "Fredoka", "Zen Maru Gothic", sans-serif;
  --r-panel: 18px;
  --r-note: 3px;
  --sh-note: 0 1px 1px rgba(19, 50, 74, .1), 0 10px 14px -10px rgba(19, 50, 74, .55);
  --sh-lift: 0 2px 4px rgba(19, 50, 74, .18), 0 26px 36px -14px rgba(10, 53, 80, .55);
  --spring: cubic-bezier(.3, 1.45, .55, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --tab-h: 62px;
  --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(--deep);
  color: var(--ink);
  font: 500 15px/1.6 var(--f-ui);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  line-break: strict;
  overflow: hidden;
  font-feature-settings: "palt" 0;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-feature-settings: "palt"; word-break: keep-all; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.nb { white-space: nowrap; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 3px solid #f2a900; outline-offset: 2px; }
.noscript { color: #fff; padding: 24px; }

/* ---------- アプリの枠 ---------- */
.app {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0 auto;
  background: var(--chart);
}
@media (min-width: 600px) {
  body {
    background: var(--deep) radial-gradient(circle at 20% 30%, rgba(255, 223, 102, .08) 0 2px, transparent 3px) 0 0 / 46px 46px;
  }
  .app { max-width: 430px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .3), 0 30px 80px rgba(0, 0, 0, .5); }
}
.views { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.view {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: var(--chart);
  overflow: hidden;
}
.view::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(var(--chart-2) 1px, transparent 1px) 0 0 / 100% 28px;
}
.view > * { position: relative; }
.view.is-leaving { pointer-events: none; z-index: 0; }
.enter-push { animation: inR .32s var(--ease) both; z-index: 2; box-shadow: -10px 0 30px rgba(10, 53, 80, .2); }
.leave-push { animation: outL .32s var(--ease) both; }
.enter-pop { animation: inL .3s var(--ease) both; }
.leave-pop { animation: outR .3s var(--ease) both; z-index: 2; }
.enter-right { animation: fadeR .26s var(--ease) both; }
.enter-left { animation: fadeL .26s var(--ease) both; }
.leave-right, .leave-left, .leave-fade { animation: fadeOut .2s ease both; }
.enter-fade { animation: fadeIn .22s ease both; }
@keyframes inR { from { transform: translateX(100%); } }
@keyframes outL { to { transform: translateX(-28%); filter: brightness(.92); } }
@keyframes inL { from { transform: translateX(-28%); } }
@keyframes outR { to { transform: translateX(100%); } }
@keyframes fadeR { from { opacity: 0; transform: translateX(18px); } }
@keyframes fadeL { from { opacity: 0; transform: translateX(-18px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }

.scroll {
  flex: 1; min-height: 0;
  overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.boot-fallback { padding: 80px 24px; text-align: center; color: var(--ink); }
.boot-fallback__title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }

/* ---------- アバター・テープ・浮き ---------- */
.av {
  --s: 30px;
  width: var(--s); height: var(--s); flex: none;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--av);
  color: #fff;
  font: 700 13px/1 var(--f-ui);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9);
}
.av--s { --s: 24px; font-size: 11.5px; }
.av--l { --s: 52px; font-size: 22px; }
.tape {
  display: inline-block;
  padding: 3px 9px 2px;
  background: var(--tape);
  color: var(--tape-ink);
  font: 700 11px/1.3 var(--f-ui);
  letter-spacing: .04em;
  clip-path: polygon(0 8%, 4% 0, 8% 10%, 12% 0, 100% 0, 97% 25%, 100% 50%, 97% 75%, 100% 100%, 92% 92%, 88% 100%, 0 100%, 3% 75%, 0 50%, 3% 25%);
  white-space: nowrap;
}
.buoy {
  margin-left: auto; flex: none;
  min-width: 36px; height: 30px; padding: 0 8px;
  display: inline-flex; align-items: baseline; justify-content: center; gap: 1px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--sea);
  color: var(--sea);
  font: 600 15px/26px var(--f-num);
}
.buoy small { font-size: 11px; font-weight: 500; }

/* ---------- ボード ---------- */
.bd-head {
  position: relative;
  padding: calc(10px + var(--st)) 16px 6px;
  background: var(--sea);
  color: #fff;
  overflow: hidden;
}
.bd-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 10px;
  background: radial-gradient(circle at 10px -4px, transparent 9px, var(--chart) 10px) 0 0 / 20px 10px repeat-x;
}
.bd-head__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 6px; font: 700 13px/1 var(--f-ui); letter-spacing: .08em; color: #fff; }
.brand__ship { width: 30px; height: 25px; }
.bd-head__client { font-size: 12px; color: #d4e5ee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bd-head__row--title { margin-top: 6px; align-items: flex-end; }
.voy { font: 700 26px/1.15 var(--f-ui); letter-spacing: .02em; }
.voy__left {
  flex: none;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--note);
  color: var(--ink);
  font: 700 13px/1.3 var(--f-ui);
  transform: rotate(2deg);
}
.voyage { margin: 4px -6px 0; }
.voyage__svg { display: block; width: 100%; height: 48px; overflow: visible; }
.voyage__legend { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11.5px; color: #d4e5ee; padding-bottom: 8px; white-space: nowrap; }
.voyage__stat { display: inline-flex; align-items: baseline; gap: 4px; color: #fff; }
.voyage__stat b { font: 600 15px/1 var(--f-num); color: var(--note); }

.bd-filter {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px 6px;
  overflow-x: auto; scrollbar-width: none;
  flex: none;
}
.bd-filter::-webkit-scrollbar { display: none; }
.fchip {
  flex: none;
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 36px; padding: 0 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1.5px solid var(--sea-3);
  color: var(--ink);
  font-size: 13px; font-weight: 700;
  transition: transform .15s var(--spring), background .15s;
}
.fchip .ic { width: 16px; height: 16px; }
.fchip.is-on { background: var(--sea); border-color: var(--sea); color: #fff; }
.fchip--over.is-on { background: var(--coral); border-color: var(--coral); }
.fchip:active, .fav:active, .ftape:active { transform: scale(.92); }
.fsep { flex: none; width: 1px; height: 22px; background: var(--sea-3); }
.fav { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: transform .15s var(--spring); }
.fav .av { box-shadow: 0 0 0 2px var(--chart); }
.fav.is-on .av { box-shadow: 0 0 0 2px var(--chart), 0 0 0 4.5px var(--ink); }
.ftape {
  flex: none;
  min-height: 36px; padding: 0 4px;
  display: inline-flex; align-items: center;
  transition: transform .15s var(--spring);
}
.ftape span {
  display: block; padding: 5px 12px 4px;
  background: #fff; color: var(--ink);
  border: 1.5px dashed var(--tape-ink);
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
  clip-path: polygon(0 10%, 5% 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%);
}
.ftape.is-on span { background: var(--tape); color: var(--tape-ink); border-style: solid; border-color: transparent; transform: rotate(-2deg); }

.bd-tabs { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 0 12px; }
.ctab {
  position: relative;
  min-height: 44px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--ink-2);
}
.ctab b { font: 600 13px/1 var(--f-num); min-width: 22px; padding: 3px 6px; border-radius: 999px; background: var(--chart-2); color: var(--ink); }
.ctab::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 4px; height: 5px;
  background: var(--note); border-radius: 2px; transform: scaleX(0) rotate(-1deg);
  transition: transform .25s var(--spring);
}
.ctab.is-on { color: var(--ink); }
.ctab.is-on b { background: var(--sea); color: #fff; }
.ctab.is-on::after { transform: scaleX(1) rotate(-1deg); }

.board {
  flex: 1; min-height: 0;
  display: flex; gap: 12px;
  padding: 6px 16px 0;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 16px;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.board::-webkit-scrollbar { display: none; }
.board::after { content: ""; flex: 0 0 4px; }
.col {
  flex: 0 0 calc(100% - 52px);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  min-height: 0;
  border-radius: var(--r-panel) var(--r-panel) 0 0;
  background: rgba(255, 255, 255, .62);
  border: 1.5px dashed rgba(15, 76, 110, .28);
  border-bottom: 0;
}
.col__h {
  flex: none;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px 8px;
  color: var(--ink);
}
.col__ic { width: 22px; height: 22px; color: var(--sea); }
.col__name { font-size: 17px; font-weight: 700; display: flex; align-items: baseline; gap: 6px; }
.col__name small { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.col__pt { margin-left: auto; font: 600 14px/1 var(--f-num); color: var(--ink-2); }
.wip { display: inline-flex; gap: 4px; align-items: center; padding: 3px 8px; border-radius: 6px; background: var(--chart-2); font-size: 11.5px; font-weight: 700; color: var(--ink); }
.wip--over { background: var(--coral); color: #fff; animation: wobble .5s ease 2; }
@keyframes wobble { 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }
.col__list {
  flex: 1; min-height: 0;
  overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 12px 12px 110px;
  display: flex; flex-direction: column; gap: 16px;
  scrollbar-width: none;
}
.col__list::-webkit-scrollbar { display: none; }
.col--done { background: rgba(255, 255, 255, .5); }
.col__add {
  min-height: 52px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border: 2px dashed rgba(15, 76, 110, .35); border-radius: 6px;
  color: var(--sea); font-weight: 700; font-size: 14px;
  transition: background .15s, transform .15s var(--spring);
}
.col__add:active { transform: scale(.97); background: rgba(255, 223, 102, .35); }

/* 付箋 */
.note {
  position: relative;
  flex: none;
  padding: 18px 14px 12px;
  border-radius: var(--r-note) var(--r-note) 18px var(--r-note);
  background: var(--note);
  color: var(--ink);
  box-shadow: inset 0 26px 22px -22px rgba(255, 250, 220, .9), inset 0 -16px 18px -18px rgba(190, 140, 0, .35), var(--sh-note);
  transform: rotate(var(--tilt));
  transition: transform .2s var(--spring), box-shadow .2s;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-x pan-y;
  cursor: grab;
}
.note::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 18px; height: 18px;
  border-radius: 0 0 18px 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0) 50%, rgba(160, 120, 0, .28) 50%, #fff3b8 85%);
}
.note:active { cursor: grabbing; }
.note.is-pressing { transform: rotate(var(--tilt)) scale(.975); box-shadow: 0 0 0 3px rgba(255, 255, 255, .8), var(--sh-lift); transition-duration: .32s; }
.note__tapes { position: absolute; top: -8px; left: 10px; display: flex; gap: 4px; }
.note__tapes .tape:nth-child(2) { transform: rotate(3deg); }
.note__tapes .tape:first-child { transform: rotate(-2deg); }
.note__t {
  font: 600 16.5px/1.5 var(--f-hand);
  word-break: normal;
  overflow-wrap: anywhere;
  padding-right: 4px;
}
.note__meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.due { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.due .ic { width: 15px; height: 15px; }
.due--over { color: var(--coral); }
.due--soon { color: #6b4a00; }
.due--done { color: var(--ink-2); }
.chk { display: inline-flex; align-items: center; gap: 2px; font: 600 13px/1 var(--f-num); color: var(--ink); }
.chk .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.runpill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--sea); color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.runpill i { width: 7px; height: 7px; border-radius: 50%; background: var(--note); animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.note--done { background: var(--note-done); }
.note--done .note__t { color: var(--ink-2); }
.stamp {
  position: absolute; right: 12px; top: 10px;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 2.5px double var(--sea);
  color: var(--sea);
  font: 700 14px/1 var(--f-ui);
  letter-spacing: .1em;
  background: var(--note-done);
  transform: rotate(-16deg);
}
.stamp--big { width: 72px; height: 72px; font-size: 19px; right: 16px; top: 14px; border-width: 4px; background: var(--note); }
.note--done .note__t { padding-right: 52px; }
.note.is-placeholder {
  background: rgba(255, 255, 255, .5);
  box-shadow: none;
  border: 2px dashed var(--sea-2);
  transform: none;
}
.note.is-placeholder > *, .note.is-placeholder::after { visibility: hidden; }
.note.ghost {
  position: fixed; z-index: 80; margin: 0;
  pointer-events: none;
  box-shadow: var(--sh-lift);
  transition: transform .12s var(--ease);
}
.note.just-landed { animation: land .42s var(--spring); }
.note.just-stuck { animation: stick .55s var(--spring); }
.note.just-docked .stamp { animation: stampIn .5s var(--spring); }
@keyframes land { from { transform: rotate(var(--tilt)) scale(1.06); } }
@keyframes stick { from { transform: translateY(-40px) rotate(-8deg) scale(1.1); opacity: 0; } }
@keyframes stampIn { from { transform: rotate(-40deg) scale(2.2); opacity: 0; } }

.calm { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 8px 0; }
.calm img { width: 170px; height: auto; mix-blend-mode: multiply; }
.calm__t { margin-top: 4px; font-size: 16px; font-weight: 700; word-break: keep-all; }
.calm__s { margin-top: 4px; font-size: 14px; color: var(--ink-2); max-width: 240px; }
.calm--wide { padding: 24px 24px 8px; }
.calm--wide .btn { margin-top: 14px; }

.fab-note {
  position: absolute; right: 18px; bottom: 18px; z-index: 5;
  display: flex; align-items: center; gap: 8px;
  min-height: 56px; padding: 0 20px 0 14px;
  border-radius: 4px 4px 16px 4px;
  background: var(--note);
  color: var(--ink);
  font-size: 15px; font-weight: 700;
  box-shadow: 0 2px 3px rgba(19, 50, 74, .2), 0 14px 22px -8px rgba(10, 53, 80, .55);
  transform: rotate(-2.5deg);
  transition: transform .2s var(--spring);
}
.fab-note__plus { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sea); color: #fff; }
.fab-note__plus .ic { width: 18px; height: 18px; stroke-width: 2.6; }
.fab-note:active { transform: rotate(-2.5deg) scale(.92); }
body.is-dragging .fab-note { opacity: 0; pointer-events: none; }
body.is-dragging { cursor: grabbing; }

/* ドック（ドラッグ中だけ出る船着き場） */
.dock {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 12px calc(14px + var(--sb));
  background: rgba(10, 53, 80, .97);
  border-radius: 22px 22px 0 0;
  transform: translateY(105%);
  transition: transform .26s var(--ease);
  pointer-events: none;
}
.dock.is-on { transform: none; pointer-events: auto; }
.dock__hint { text-align: center; color: #d4e5ee; font-size: 12px; margin-bottom: 8px; }
.dock__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dock__t {
  min-height: 78px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 2px dashed rgba(255, 255, 255, .4); border-radius: 14px;
  color: #fff;
  transition: transform .18s var(--spring), background .15s;
}
.dock__t .ic { width: 24px; height: 24px; }
.dock__n { font-size: 14px; font-weight: 700; }
.dock__c { font: 500 12px/1 var(--f-num); color: #d4e5ee; }
.dock__t.is-from { border-style: solid; border-color: rgba(255, 255, 255, .7); }
.dock__t.is-hover { background: var(--note); color: var(--ink); border-color: var(--note); transform: translateY(-6px) scale(1.06) rotate(-2deg); }
.dock__t.is-hover .dock__c { color: var(--ink); }

/* ---------- 計測バー・タブバー ---------- */
.timerbar {
  flex: none;
  display: flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 6px 0 14px;
  background: var(--ink);
  color: #fff;
}
.timerbar__go { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 44px; }
.timerbar__dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--note); box-shadow: 0 0 0 4px rgba(255, 223, 102, .25); animation: blink 1.2s ease-in-out infinite; }
.timerbar__t { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.timerbar__time { font: 600 16px/1 var(--f-num); color: var(--note); letter-spacing: .03em; }
.timerbar__stop { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; }
.timerbar__stop .ic { width: 20px; height: 20px; }
.timerbar__stop:active { background: rgba(255, 255, 255, .15); }

.tabbar {
  flex: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 4px 6px var(--sb);
  min-height: calc(var(--tab-h) + var(--sb));
  background: var(--paper);
  border-top: 1px solid #cfe0e9;
  position: relative; z-index: 4;
}
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; color: var(--ink-2); }
.tab__ic { width: 46px; height: 30px; display: grid; place-items: center; border-radius: 3px; transition: transform .25s var(--spring), background .2s; }
.tab__lb { font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.tab.is-active { color: var(--ink); }
.tab.is-active .tab__ic { background: var(--note); transform: rotate(-4deg); box-shadow: 0 3px 6px -3px rgba(19, 50, 74, .5); }
.tab:active .tab__ic { transform: scale(.88); }

/* ---------- トースト・シート ---------- */
.toast {
  position: absolute; left: 12px; right: 12px; z-index: 75;
  bottom: calc(var(--tab-h) + var(--sb) + 14px);
  display: flex; align-items: center; gap: 8px;
  min-height: 50px; padding: 6px 6px 6px 16px;
  border-radius: 14px;
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 12px 28px rgba(10, 53, 80, .35);
  transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: transform .25s var(--spring), opacity .2s;
}
body.has-timer .toast { bottom: calc(var(--tab-h) + var(--sb) + 60px); }
body.is-push .toast { bottom: calc(16px + var(--sb)); }
.toast.is-on { transform: none; opacity: 1; pointer-events: auto; }
.toast__msg { flex: 1; min-width: 0; }
.toast__undo { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--note); font-weight: 700; }
.toast__undo .ic { width: 18px; height: 18px; }
.toast__undo:active { background: rgba(255, 255, 255, .12); }

.sheet-layer { position: absolute; inset: 0; z-index: 70; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(5, 28, 42, .5); opacity: 0; transition: opacity .25s; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 90%;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 0 18px calc(20px + var(--sb));
  border-radius: 24px 24px 0 0;
  background: var(--paper);
  transform: translateY(100%);
  transition: transform .3s var(--ease);
}
.sheet-layer.is-open .sheet-scrim { opacity: 1; }
.sheet-layer.is-open .sheet { transform: none; }
.sheet__grab { position: sticky; top: 0; height: 26px; margin: 0 -18px; display: grid; place-items: center; background: var(--paper); z-index: 2; touch-action: none; cursor: grab; }
.sheet__grab::before { content: ""; width: 40px; height: 5px; border-radius: 3px; background: #b7cbd6; }
.sheet__title { font-size: 20px; font-weight: 700; margin: 2px 0 12px; }
.sheet__body { font-size: 15px; color: var(--ink-2); }
.sheet__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }

.btn {
  min-height: 50px; padding: 0 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px;
  font-size: 15px; font-weight: 700;
  transition: transform .15s var(--spring), filter .15s;
}
.btn:active { transform: scale(.95); }
.btn .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.btn--sea { background: var(--sea); color: #fff; }
.btn--note { background: var(--note); color: var(--ink); box-shadow: 0 6px 14px -6px rgba(10, 53, 80, .5); }
.btn--ghost { background: var(--chart); color: var(--ink); }
.btn--danger { background: var(--coral); color: #fff; }
.btn--wide { width: 100%; }

/* ---------- 詳細 ---------- */
.appbar {
  flex: none;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: calc(52px + var(--st)); padding: var(--st) 4px 0;
  background: var(--paper);
  border-bottom: 1px solid #d3e3eb;
}
.appbar__back { justify-self: start; display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 12px 0 6px; color: var(--sea); font-weight: 700; font-size: 15px; border-radius: 12px; }
.appbar__back .ic { width: 24px; height: 24px; stroke-width: 2.4; }
.appbar__back:active { background: var(--chart); }
.appbar__t { font: 600 15px/1 var(--f-num); color: var(--ink); white-space: nowrap; }
.appbar__r { justify-self: end; display: flex; }
.ibtn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--coral); }
.ibtn:active { background: var(--coral-soft); }
#dt { padding: 26px 16px 48px; }
.bignote {
  position: relative;
  padding: 22px 18px 16px;
  border-radius: 3px 3px 26px 3px;
  background: var(--note);
  box-shadow: inset 0 30px 26px -26px rgba(255, 250, 220, .9), var(--sh-note);
  transform: rotate(var(--tilt));
}
.bignote .note__tapes { top: -10px; left: 14px; }
.bignote .tape { font-size: 12px; padding: 4px 11px 3px; }
.bignote__t {
  display: block; width: 100%;
  border: 0; background: transparent; resize: none;
  font: 600 22px/1.45 var(--f-hand);
  color: var(--ink);
  padding: 0;
  word-break: normal;
  outline: none;
}
.bignote--done .bignote__t { padding-right: 76px; }
.bignote__t:focus { background: rgba(255, 255, 255, .35); border-radius: 4px; }
.bignote__foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.bignote__who { font-size: 14px; font-weight: 700; margin-right: auto; }
.blk { margin-top: 26px; }
.blk__h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--sea); letter-spacing: .06em; margin-bottom: 10px; }
.blk__h::after { content: ""; flex: 1; height: 0; border-top: 2px dotted rgba(15, 76, 110, .35); }
.blk__n { font: 600 13px/1 var(--f-num); color: var(--ink); letter-spacing: 0; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: var(--paper); border: 1.5px solid var(--chart-2); }
.seg--sm { grid-template-columns: repeat(3, 1fr); }
.seg__b { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--ink-2); transition: background .2s, color .2s, transform .15s var(--spring); }
.seg__b .ic { width: 20px; height: 20px; }
.seg__b.is-on { background: var(--sea); color: #fff; }
.seg__b:active { transform: scale(.94); }
.blk--timer { margin-top: 22px; padding: 16px 16px 14px; border-radius: var(--r-panel); background: var(--sea); color: #fff; }
.blk--timer .blk__h { color: #d4e5ee; }
.blk--timer .blk__h::after { border-color: rgba(255, 255, 255, .3); }
.tmr { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tmr__big { font: 600 40px/1 var(--f-num); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.blk--timer.is-run .tmr__big { color: var(--note); }
.tmr__btn { flex: none; min-height: 52px; padding: 0 16px 0 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: var(--note); color: var(--ink); font-size: 14px; font-weight: 700; transition: transform .15s var(--spring); }
.tmr__btn .ic { width: 20px; height: 20px; }
.tmr__btn:active { transform: scale(.93); }
.blk--timer.is-run .tmr__btn { background: #fff; }
.tmr__sub { margin-top: 10px; font-size: 13px; color: #d4e5ee; }
.tmr__sub b { font: 600 14px/1 var(--f-num); color: #fff; }
.sess { margin-top: 10px; border-top: 1px solid rgba(255, 255, 255, .2); }
.sess li { display: flex; justify-content: space-between; padding: 7px 0 0; font-size: 13px; color: #d4e5ee; }
.sess b { color: #fff; font-weight: 700; }
.who { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; }
.who__b { flex: none; min-width: 58px; min-height: 66px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px; border-radius: 14px; font-size: 12px; font-weight: 700; color: var(--ink-2); transition: background .15s, transform .15s var(--spring); }
.who__b .av { --s: 34px; }
.who__b.is-on { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px var(--sea); }
.who__b:active { transform: scale(.92); }
.blk--row { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.date { min-height: 46px; padding: 0 12px; border: 1.5px solid var(--sea-3); border-radius: 12px; background: var(--paper); color: var(--ink); font: 600 15px/1 var(--f-num); }
.pts { display: flex; gap: 6px; flex-wrap: wrap; }
.pts__b { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--sea); background: var(--paper); color: var(--sea); font: 600 16px/1 var(--f-num); transition: transform .15s var(--spring); }
.pts__b.is-on { background: var(--sea); color: #fff; }
.pts__b:active { transform: scale(.88); }
.tapes { display: flex; flex-wrap: wrap; gap: 6px; }
.meter { height: 8px; border-radius: 4px; background: var(--chart-2); overflow: hidden; margin-bottom: 8px; }
.meter i { display: block; height: 100%; background: var(--sea); border-radius: 4px; transition: width .35s var(--ease); }
.checks li { display: flex; align-items: center; border-bottom: 1px dashed #c4d8e3; }
.ck { flex: 1; min-height: 48px; display: flex; align-items: center; gap: 12px; text-align: left; font-size: 15px; }
.ck__box { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border: 2px solid var(--sea); border-radius: 5px 7px 5px 6px; background: var(--paper); color: transparent; transition: background .15s, transform .2s var(--spring); }
.ck__box .ic { width: 18px; height: 18px; stroke-width: 3; }
.ck.is-ok .ck__box { background: var(--sea); color: #fff; transform: rotate(-6deg); }
.ck.is-ok .ck__t { text-decoration: line-through; text-decoration-color: rgba(19, 50, 74, .55); color: var(--ink-2); }
.ck__t { word-break: normal; }
.ck__del { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink-2); border-radius: 50%; }
.ck__del .ic { width: 18px; height: 18px; }
.ckadd { display: flex; gap: 8px; margin-top: 10px; }
.ckadd input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--sea-3); border-radius: 12px; background: var(--paper); font-size: 15px; }
.ckadd input::placeholder { color: #5f788a; }
.ckadd__b { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 46px; padding: 0 14px; border-radius: 12px; background: var(--sea); color: #fff; font-weight: 700; }
.ckadd__b .ic { width: 18px; height: 18px; stroke-width: 2.6; }
.is-err { border-color: var(--coral) !important; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.logl { position: relative; padding-left: 18px; }
.logl::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; border-left: 2px dashed var(--sea-3); }
.logl li { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; }
.logl li::before { content: ""; position: absolute; left: -18px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--sea); }
.logl__at { flex: none; color: var(--ink-2); font-size: 13px; }
.lost { text-align: center; padding: 40px 24px; }
.lost img { mix-blend-mode: multiply; }
.lost__t { font-size: 18px; font-weight: 700; word-break: keep-all; }
.lost__s { margin: 6px 0 18px; color: var(--ink-2); font-size: 14px; }
.crash { padding: 80px 24px; text-align: center; }
.crash__t { font-weight: 700; margin-bottom: 16px; }

/* 付箋を貼るシート */
.newf__note { position: relative; padding: 16px; border-radius: 3px 3px 18px 3px; background: var(--note); box-shadow: inset 0 26px 22px -22px rgba(255, 250, 220, .9), var(--sh-note); transform: rotate(-.6deg); margin-bottom: 6px; }
.newf__note textarea { display: block; width: 100%; border: 2px solid transparent; border-radius: 6px; background: rgba(255, 255, 255, .4); resize: none; font: 600 19px/1.45 var(--f-hand); color: var(--ink); padding: 6px 8px; outline: none; }
.newf__note textarea::placeholder { color: #6b5a1c; }
.newf__note textarea:focus { background: rgba(255, 255, 255, .6); }
.newf__err { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--coral); }
.newf__lb { margin: 14px 0 6px; font-size: 13px; font-weight: 700; color: var(--sea); }
.newf__row { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.who--sm { margin: 0 -18px; padding: 2px 18px 4px; }
.newf .btn--wide { margin-top: 20px; }

/* ---------- マイタスク ---------- */
.scroll--mine { padding-bottom: 32px; }
.mine-h {
  position: relative;
  margin: calc(16px + var(--st)) 16px 0;
  padding: 18px 16px 14px;
  border-radius: 3px 3px 22px 3px;
  background: var(--note);
  box-shadow: inset 0 30px 26px -26px rgba(255, 250, 220, .9), var(--sh-note);
  transform: rotate(-.8deg);
}
.mine-h::before { content: ""; position: absolute; top: -9px; left: 50%; width: 80px; height: 20px; margin-left: -40px; background: rgba(159, 208, 236, .85); transform: rotate(2deg); }
.mine-h__who { display: flex; align-items: center; gap: 12px; }
.mine-h__t { font-size: 24px; font-weight: 700; line-height: 1.2; }
.mine-h__s { font-size: 13px; color: #4a3d0f; }
.mine-stats { display: grid; grid-template-columns: 1.3fr 1fr 1fr; margin-top: 14px; border-top: 2px dotted rgba(19, 50, 74, .35); padding-top: 10px; }
.mine-stats div + div { border-left: 2px dotted rgba(19, 50, 74, .25); padding-left: 12px; }
.mine-stats dt { font-size: 12px; font-weight: 700; color: #4a3d0f; }
.mine-stats dd { font: 600 24px/1.2 var(--f-num); color: var(--ink); }
.mine-hint { display: flex; align-items: center; gap: 6px; margin: 18px 16px 0; font-size: 13px; color: var(--ink-2); }
.mine-hint .ic { width: 18px; height: 18px; }
.tl { margin-top: 18px; }
.tl__h { display: flex; align-items: center; gap: 8px; padding: 0 16px 6px; font-size: 14px; font-weight: 700; color: var(--sea); }
.tl__h b { font: 600 12px/1 var(--f-num); padding: 3px 7px; border-radius: 999px; background: var(--sea); color: #fff; }
.tl--over .tl__h { color: var(--coral); }
.tl--over .tl__h b { background: var(--coral); }
.tl__list { position: relative; }
.tl__list::before { content: ""; position: absolute; left: 66px; top: 0; bottom: 0; border-left: 2px dashed var(--sea-3); }
.sw { position: relative; overflow: hidden; }
.sw__bg { position: absolute; inset: 4px 0; display: flex; align-items: center; gap: 8px; padding: 0 22px; font-size: 14px; font-weight: 700; color: #fff; opacity: 0; }
.sw__bg .ic { width: 22px; height: 22px; }
.sw__bg--done { background: var(--sea); justify-content: flex-start; }
.sw__bg--time { background: #7a4a00; justify-content: flex-end; }
.sw.is-swiping.to-done .sw__bg--done, .sw.is-swiping:not(.to-done) .sw__bg--time { opacity: 1; }
.sw.arm .sw__bg .ic { transform: scale(1.25); transition: transform .15s var(--spring); }
.row {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  min-height: 72px; padding: 8px 16px 8px 10px;
  background: var(--chart);
  touch-action: pan-y;
  transition: transform .25s var(--spring);
}
.sw.is-swiping .row { transition: none; }
.row__date { flex: none; width: 46px; display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.row__date b { font: 600 17px/1.1 var(--f-num); }
.row__date small { font-size: 11px; font-weight: 700; color: var(--ink-2); }
.row__date::after { content: ""; position: absolute; left: 61px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--chart); border: 2.5px solid var(--sea); }
.tl--over .row__date b { color: var(--coral); }
.tl--over .row__date::after { border-color: var(--coral); }
.row__body {
  flex: 1; min-width: 0; margin-left: 14px;
  padding: 10px 12px 9px;
  border-left: 6px solid var(--note);
  border-radius: 2px 12px 12px 2px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(19, 50, 74, .12);
}
.row__t { display: block; font: 600 15px/1.45 var(--f-hand); word-break: normal; }
.row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 5px; }
.row .buoy { margin-left: 0; }
.row.is-run .row__body { border-left-color: var(--sea); }
.row.is-done .row__body { border-left-color: var(--chart-2); }
.row.is-done .row__t { color: var(--ink-2); }
.row:active .row__body { background: #fffbe6; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; background: var(--chart-2); color: var(--ink); white-space: nowrap; }
.pill--doing { background: var(--sea); color: #fff; }
.pill--review { background: #f3e2b0; color: #4a3600; }
.pill--done { background: var(--ink-2); color: #fff; }

/* ---------- レポート ---------- */
.scroll--report { padding: 0 0 32px; }
.rp-h { position: relative; background: var(--paper); padding: calc(18px + var(--st)) 20px 116px; overflow: hidden; }
.rp-h__img { position: absolute; left: 0; bottom: 0; width: 100%; height: 120px; object-fit: cover; object-position: 50% 78%; }
.rp-h__in { position: relative; }
.rp-h__k { font-size: 13px; font-weight: 700; color: var(--sea); }
.rp-h__t { font-size: 28px; font-weight: 700; line-height: 1.25; }
.rp-h__s { font: 500 14px/1.4 var(--f-num); color: var(--ink-2); }
.card { margin: 14px 14px 0; padding: 16px; border-radius: var(--r-panel); background: var(--paper); box-shadow: 0 1px 2px rgba(19, 50, 74, .1); }
.card__h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.card__h h2 { font-size: 17px; font-weight: 700; }
.card__k { font: 600 14px/1 var(--f-num); color: var(--ink-2); }
.card--burn .card__k { font-size: 18px; color: var(--sea); }
.card__note { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.ch-grid { stroke: #dfeaf0; stroke-width: 1; }
.ch-ax { fill: #4a6273; font: 500 11px var(--f-num); }
.ch-ideal { stroke: #8aa9bb; stroke-width: 1.6; stroke-dasharray: 5 5; }
.ch-area { fill: rgba(29, 108, 149, .12); }
.ch-act { fill: none; stroke: var(--sea); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.ch-fc { fill: none; stroke: var(--coral); stroke-width: 2; stroke-dasharray: 2 5; stroke-linecap: round; }
.ch-dot { fill: var(--paper); stroke: var(--sea); stroke-width: 2; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 18px; height: 0; border-top: 3px solid var(--sea); }
.legend .lg-ideal { border-top: 2px dashed #8aa9bb; }
.legend .lg-fc { border-top: 2px dotted var(--coral); }
.verdict { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #e3f1ea; }
.verdict--late { background: var(--coral-soft); }
.verdict__big { font-size: 16px; font-weight: 700; word-break: keep-all; }
.verdict--late .verdict__big { color: #8f2814; }
.verdict__s { margin-top: 4px; font-size: 14px; color: var(--ink); }
.vel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: end; height: 150px; padding-top: 6px; }
.vel__c { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.vel__c i { width: 100%; max-width: 40px; border-radius: 8px 8px 3px 3px; background: var(--sea-2); transform-origin: bottom; animation: grow .6s var(--ease) both; }
.vel__c.is-now i { background: repeating-linear-gradient(-45deg, var(--note) 0 6px, #ffd23a 6px 12px); box-shadow: inset 0 0 0 2px var(--ink); }
.vel__v { font: 600 15px/1 var(--f-num); }
.vel__n { font-size: 12px; font-weight: 700; color: var(--ink-2); }
@keyframes grow { from { transform: scaleY(0); } }
.bars li { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.bars__n { width: 3.2em; font-size: 13.5px; font-weight: 700; }
.bars__track { flex: 1; height: 12px; border-radius: 6px; background: var(--chart); overflow: hidden; }
.bars__track i { display: block; height: 100%; border-radius: 6px; background: var(--av); transform-origin: left; animation: growX .6s var(--ease) both; }
@keyframes growX { from { transform: scaleX(0); } }
.bars__v { width: 3.2em; text-align: right; font: 600 14px/1 var(--f-num); }
.stack { display: flex; gap: 3px; height: 20px; border-radius: 6px; overflow: hidden; }
.stack i { display: block; }
.stack__lg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin-top: 12px; }
.stack__lg li { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.stack__lg i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.stack__lg b { margin-left: auto; font: 600 14px/1 var(--f-num); }
.stack__lg small { font: 500 12px/1 var(--f-num); color: var(--ink-2); width: 2.6em; text-align: right; }
.card--cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 12px 10px; }
.cc { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; border-radius: 12px; }
.cc .ic { color: var(--sea); }
.cc__n { font-size: 12.5px; font-weight: 700; }
.cc__v { font: 600 20px/1.1 var(--f-num); }
.cc small { font: 500 12px/1 var(--f-num); color: var(--ink-2); }
.cc--done { background: #fff6cf; }

/* ---------- 設定・アプリについて ---------- */
.scroll--set { padding: calc(18px + var(--st)) 0 40px; }
.set-h { padding: 0 20px 6px; }
.set-h__t { font-size: 28px; font-weight: 700; }
.set-h__s { font-size: 13px; color: var(--ink-2); }
.grp { margin: 18px 14px 0; border-radius: var(--r-panel); background: var(--paper); overflow: hidden; box-shadow: 0 1px 2px rgba(19, 50, 74, .1); }
.grp__h { display: flex; align-items: center; gap: 8px; padding: 14px 16px 6px; font-size: 13px; font-weight: 700; color: var(--sea); letter-spacing: .06em; }
.grp__h .ic { width: 18px; height: 18px; }
.crew li { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; border-top: 1px solid #e3edf2; }
.crew__n { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.crew__n em { font-style: normal; font-size: 11px; padding: 2px 6px; border-radius: 4px; background: var(--note); color: var(--ink); }
.crew__r { margin-left: auto; font-size: 13px; color: var(--ink-2); }
.setrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 10px 16px; border-top: 1px solid #e3edf2; }
.setrow__t { font-size: 15px; font-weight: 700; }
.setrow__s { font-size: 13px; color: var(--ink-2); }
.stepper { flex: none; display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; background: var(--chart); }
.stepper button { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); color: var(--sea); font-size: 20px; font-weight: 700; }
.stepper button:active { transform: scale(.9); }
.stepper b { min-width: 3em; text-align: center; font: 600 15px/1 var(--f-num); }
.switch { flex: none; position: relative; width: 56px; height: 34px; border-radius: 999px; background: #a9bfcc; transition: background .2s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .25s var(--spring); }
.switch.is-on { background: var(--sea); }
.switch.is-on i { transform: translateX(22px); }
.setlink { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; font-size: 15px; font-weight: 700; color: var(--ink); text-align: left; }
.setlink + .setlink { border-top: 1px solid #e3edf2; }
.setlink .ic { color: var(--sea); }
.setlink__chev { margin-left: auto; }
.setlink:active { background: var(--chart); }
.setlink--danger, .setlink--danger .ic { color: var(--coral); }
.set-foot { text-align: center; margin-top: 22px; font: 500 13px/1 var(--f-num); color: var(--ink-2); }
.scroll--about { background: var(--paper); }
.about { padding: 28px 22px 0; text-align: center; }
.about__icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 10px 24px -10px rgba(10, 53, 80, .6); }
.about__t { margin-top: 12px; font-size: 24px; font-weight: 700; }
.about__v { font: 500 13px/1.4 var(--f-num); color: var(--ink-2); }
.about__lead { margin-top: 16px; font-size: 15px; text-align: left; }
.about__note { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--chart); font-size: 14px; text-align: left; }
.about__h { margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--sea); text-align: left; }
.about__tech { margin: 8px 0 22px; text-align: left; }
.about__tech li { position: relative; padding: 6px 0 6px 18px; font-size: 14px; border-bottom: 1px dashed #c9dbe5; }
.about__tech li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-radius: 2px; background: var(--note); box-shadow: 0 0 0 1.5px var(--ink); transform: rotate(-8deg); }
.about__art { display: block; width: calc(100% + 44px); height: auto; margin: 18px -22px 0; }

/* ---------- スプラッシュ・オンボーディング ---------- */
.splash { position: absolute; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--note); transition: opacity .3s; }
.splash img { border-radius: 26px; box-shadow: 0 16px 30px -12px rgba(10, 53, 80, .6); animation: bob 1.4s ease-in-out infinite; }
.splash__name { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: .1em; }
.splash.is-out { opacity: 0; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-2deg); } }
.onb { position: absolute; inset: 0; z-index: 95; display: flex; flex-direction: column; background: var(--paper); padding: calc(10px + var(--st)) 0 calc(18px + var(--sb)); transition: opacity .28s; }
.onb.is-out { opacity: 0; }
.onb__skip { align-self: flex-end; min-height: 44px; padding: 0 18px; font-size: 14px; font-weight: 700; color: var(--sea); }
.onb__art { flex: 1; min-height: 0; display: grid; place-items: center; padding: 0 28px; }
.onb__art img { width: 100%; max-width: 340px; height: auto; max-height: 100%; object-fit: contain; animation: fadeIn .35s ease; }
.onb__txt { padding: 0 28px; }
.onb__no { font: 600 13px/1 var(--f-num); color: var(--sea); }
.onb__t { margin-top: 8px; font-size: 23px; font-weight: 700; line-height: 1.4; }
.onb__s { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.onb__foot { display: flex; align-items: center; justify-content: space-between; padding: 22px 28px 0; }
.onb__dots { display: flex; gap: 6px; }
.onb__dots i { width: 8px; height: 8px; border-radius: 2px; background: var(--chart-2); transform: rotate(-8deg); transition: width .25s var(--spring), background .2s; }
.onb__dots i.is-on { width: 24px; background: var(--note); box-shadow: 0 0 0 1.5px var(--ink); }
.onb__next { min-width: 140px; }

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