/* ヨコイト — やわらかい社内チャット。藤色の地に、部署の色の糸と黄色い結び目 */
:root {
  --ink: #262138;
  --ink-2: #57506b;
  --fuji-900: #2e2452;
  --fuji-700: #4f3f86;
  --fuji-500: #8670c4;
  --fuji-600: #6a54ab;
  --fuji-300: #bfb1e3;
  --fuji-200: #ddd5f0;
  --fuji-100: #efeaf8;
  --fuji-50: #f7f4fc;
  --paper: #fcfbff;
  --white: #fff;
  --kiiro: #f5c842;
  --kiiro-100: #fff3c7;
  --kiiro-700: #6b4f00;
  --line: #e7e1f3;
  --danger: #b3261e;
  --f-jp: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --f-num: "Fredoka", "Zen Maru Gothic", sans-serif;
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 24px;
  --sh-1: 0 1px 2px rgba(62, 44, 120, .06), 0 4px 14px rgba(62, 44, 120, .07);
  --sh-2: 0 8px 30px rgba(52, 36, 104, .18);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  --tab-h: 64px;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--f-jp); color: var(--ink); background: var(--fuji-100);
  font-size: 15px; line-height: 1.6; line-break: strict; overflow: hidden;
  -webkit-font-smoothing: antialiased; text-size-adjust: 100%;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.ic { width: 24px; height: 24px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num, time { font-family: var(--f-num); font-variant-numeric: tabular-nums; }
h1, h2, h3, .t-name, .crow-name, .sec-t, .btn, .empty-t, .weave-msg, .onb-s h2 { word-break: keep-all; overflow-wrap: anywhere; font-feature-settings: "palt"; }
p { word-break: normal; overflow-wrap: break-word; }

/* ---------- 骨組み ---------- */
.app { position: fixed; inset: 0; background: var(--paper); overflow: hidden; overflow: clip; }
.views { position: absolute; inset: 0 0 calc(var(--tab-h) + var(--sab)) 0; overflow: hidden; overflow: clip; }
.app.no-tabs .views { bottom: 0; }
.view { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--paper); will-change: transform; overflow: hidden; overflow: clip; }
.scroller { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: 28px; }
.scroller:focus { outline: none; }
@media (min-width: 600px) {
  body { background: var(--fuji-100) radial-gradient(circle at 20% 10%, #fff7d6 0, transparent 40%), var(--fuji-100); }
  .app { left: 50%; right: auto; width: 430px; transform: translateX(-50%); box-shadow: 0 0 0 1px var(--fuji-200), 0 30px 80px rgba(60, 40, 120, .18); }
  .splash, .onb { left: 50% !important; right: auto !important; width: 430px; transform: translateX(-50%); }
}

/* ---------- タブバー（1本の糸が通り、いまの場所に黄色い結び目） ---------- */
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 20; height: calc(var(--tab-h) + var(--sab)); padding-bottom: var(--sab);
  display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-top: 1px solid var(--line); transition: transform .28s var(--ease);
}
.tabbar::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; border-top: 2px dashed var(--fuji-200); }
.app.no-tabs .tabbar { transform: translateY(110%); }
.tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--ink-2); font-size: 13px; font-weight: 500; min-height: 48px; padding-top: 6px; transition: color .2s; }
.tab .ic { width: 26px; height: 26px; transition: transform .3s var(--pop); }
.tab:active .ic { transform: scale(.86); }
.tab.on { color: var(--fuji-700); font-weight: 700; }
.tab.on .ic { transform: translateY(-1px); }
.tab-badge { position: absolute; top: 8px; left: calc(50% + 6px); min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--kiiro); color: var(--ink); font: 600 13px/20px var(--f-num); text-align: center; box-shadow: 0 0 0 2px #fff; }
.tab-knot { position: absolute; left: 0; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--kiiro); box-shadow: 0 0 0 2px #fff; transition: transform .45s var(--pop), opacity .2s; pointer-events: none; }

/* ---------- ヘッダー ---------- */
.hd { flex: none; position: relative; z-index: 5; padding-top: var(--sat); background: var(--paper); }
.hd-home { display: flex; align-items: center; justify-content: space-between; padding: calc(var(--sat) + 12px) 16px 10px; }
.ws { display: flex; align-items: center; gap: 10px; }
.ws img { width: 40px; height: 40px; border-radius: 11px; box-shadow: var(--sh-1); }
.ws-co { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.2; }
.ws-name { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: .06em; color: var(--fuji-900); }
.me-btn { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; }
.me-btn .presence { right: 4px; bottom: 4px; }
.hd-big { padding: calc(var(--sat) + 16px) 16px 12px; border-bottom: 1px solid transparent; }
.big-t { margin: 0; font-size: 30px; line-height: 1.25; font-weight: 700; color: var(--fuji-900); letter-spacing: .02em; }
.big-sub { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); word-break: keep-all; }
.hd-talk { display: flex; align-items: center; gap: 4px; min-height: 60px; padding: calc(var(--sat) + 6px) 8px 6px 4px; border-bottom: 1px solid var(--line); background: rgba(252, 251, 255, .96); }
.back { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--fuji-700); flex: none; }
.back:active, .icon-btn:active { background: var(--fuji-100); transform: scale(.94); }
.t-av { flex: none; display: grid; place-items: center; width: 44px; height: 44px; }
.talk-title { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 2px 4px; border-radius: 12px; }
button.talk-title:active { background: var(--fuji-100); }
.t-name { font-size: 17px; font-weight: 700; line-height: 1.3; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fuji-900); }
.t-hash { color: var(--fuji-600); margin-right: 2px; font-family: var(--f-num); }
.t-sub { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); line-height: 1.4; white-space: nowrap; max-width: 100%; overflow: hidden; }
.t-status { overflow: hidden; text-overflow: ellipsis; }
.ddots { display: inline-flex; }
.ddots i { width: 10px; height: 10px; border-radius: 50%; background: var(--d); box-shadow: 0 0 0 1.5px var(--paper); margin-right: -3px; }
.ddots i:last-child { margin-right: 2px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--fuji-700); flex: none; transition: transform .15s; }
.hd-float { position: absolute; left: 0; top: 0; right: 0; background: none; padding: calc(var(--sat) + 8px) 8px; pointer-events: none; }
.back-glass { pointer-events: auto; background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--sh-1); }

/* ---------- 共通部品 ---------- */
.av { display: inline-block; width: var(--s); height: var(--s); border-radius: 50%; object-fit: cover; flex: none; background: var(--fuji-100); vertical-align: middle; }
.av-sp { background: var(--fuji-100) url(/app-development/apps/a035/img/avatars.webp) no-repeat; background-size: 300% 300%; }
.av-me { display: grid; place-items: center; background: var(--kiiro); color: var(--fuji-900); font-weight: 700; font-size: calc(var(--s) * .42); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.av-all { display: grid; place-items: center; background: var(--fuji-100); color: var(--fuji-700); }
.av-all .ic { width: 18px; height: 18px; }
.presence { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #3f9b5a; box-shadow: 0 0 0 2.5px #fff; }
.presence.away { background: #c98a1c; }
.dchip { display: inline-flex; align-items: center; gap: 4px; flex: none; height: 22px; padding: 0 8px 0 6px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1; white-space: nowrap; }
.dchip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--d); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .16s var(--ease), background .2s; }
.btn .ic { width: 20px; height: 20px; }
.btn:active { transform: scale(.96); }
.btn-fuji { background: var(--fuji-700); color: #fff; }
.btn-kiiro { background: var(--kiiro); color: var(--ink); }
.btn-soft { background: var(--fuji-100); color: var(--fuji-900); }
.btn-line { background: #fff; color: var(--fuji-900); box-shadow: inset 0 0 0 1.5px var(--fuji-300); }
.btn-danger { background: var(--danger); color: #fff; }
.link-btn { min-height: 44px; padding: 0 4px; color: var(--fuji-700); font-size: 14px; font-weight: 700; }
.sec { padding: 0 16px; margin-top: 22px; }
.sec-t { display: flex; align-items: center; justify-content: space-between; margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); letter-spacing: .04em; min-height: 32px; }
.sec-empty { margin: 8px 0; color: var(--ink-2); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--fuji-200); font-size: 15px; font-weight: 500; color: var(--fuji-900); }
a.chip:active { background: var(--fuji-100); transform: scale(.96); }
.chip-static { background: var(--fuji-50); box-shadow: none; min-height: 36px; }
.foot-note { margin: 28px 16px 0; font-size: 13px; color: var(--ink-2); text-align: center; }
.hint { text-align: center; color: var(--ink-2); font-size: 13px; margin: 14px 16px; word-break: keep-all; }

/* ---------- ホーム ---------- */
.weave { margin: 4px 16px 0; padding: 14px 16px 12px; border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--fuji-100); }
.weave.full { background: linear-gradient(#fffbea, #fff 60%); box-shadow: var(--sh-1), inset 0 0 0 1.5px var(--kiiro); }
.weave-top { display: flex; align-items: baseline; justify-content: space-between; }
.weave-t { margin: 0; font-size: 17px; font-weight: 700; color: var(--fuji-900); }
.weave-n { margin: 0; color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.weave-n b { font: 600 28px/1 var(--f-num); color: var(--fuji-700); margin-right: 2px; }
.weave-svg { display: block; width: 100%; height: 80px; margin-top: 4px; }
.weave-lb { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 13px; color: var(--ink-2); margin-top: -2px; }
.weave-lb .on { color: var(--ink); font-weight: 700; }
.weave-msg { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.clist { display: flex; flex-direction: column; }
.crow { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 8px 8px; margin: 0 -8px; border-radius: var(--r-m); transition: background .15s, transform .15s; }
.crow:active { background: var(--fuji-100); transform: scale(.985); }
.spool, .spool-av { position: relative; width: 44px; height: 44px; flex: none; }
.spool svg { width: 44px; height: 44px; display: block; }
.spool-av .presence { right: -1px; bottom: -1px; }
.crow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.crow-name { font-size: 16px; font-weight: 500; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.has-unread .crow-name { font-weight: 700; color: var(--fuji-900); }
.hash { font-family: var(--f-num); color: var(--fuji-600); margin-right: 3px; }
.crow-prev { font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.5; }
.crow-prev b { font-weight: 500; color: var(--ink); }
.crow-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.crow-side time { font-size: 13px; color: var(--ink-2); }
.knot { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px; background: var(--kiiro); color: var(--ink); font: 600 14px/26px var(--f-num); text-align: center; box-shadow: 0 2px 0 #e0b02a; }
.knot-at { background: var(--fuji-700); color: #fff; box-shadow: 0 2px 0 var(--fuji-900); }

/* ---------- トーク ---------- */
.v-talk .hd-talk, .v-thread .hd-talk { box-shadow: 0 1px 0 var(--line); }
.pinbar { flex: none; display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px; min-height: 44px; background: var(--kiiro-100); color: var(--kiiro-700); font-size: 14px; font-weight: 500; text-align: left; border-bottom: 1px solid #f1e2a6; }
.pinbar .ic { width: 18px; height: 18px; color: var(--kiiro-700); }
.pinbar span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.talk-wrap { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; overflow: clip; }
.talk-sc { position: relative; padding-bottom: 0; }
.vs-inner { position: relative; width: 100%; }
.vs-row { position: absolute; left: 0; right: 0; }
.day { display: flex; align-items: center; gap: 10px; padding: 14px 16px 6px; color: var(--ink-2); font-size: 13px; font-weight: 700; }
.day::before, .day::after { content: ""; flex: 1; border-top: 2px dashed var(--fuji-200); }
.day span { padding: 3px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.unread-line { display: flex; align-items: center; gap: 10px; padding: 10px 16px 4px; }
.unread-line::before, .unread-line::after { content: ""; flex: 1; height: 3px; border-radius: 2px; background: var(--kiiro); }
.unread-line span { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--kiiro); border-radius: 12px; padding: 2px 12px; }
.intro { margin: 16px 16px 4px; padding: 0 0 14px; border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-1); overflow: hidden; text-align: center; }
.intro img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.intro-t { margin: 12px 16px 2px; font-size: 17px; font-weight: 700; color: var(--fuji-900); word-break: keep-all; }
.intro-s { margin: 0 16px; font-size: 14px; color: var(--ink-2); }
.intro-p { margin: 4px 16px 0; font-size: 14px; color: var(--ink-2); text-align: left; }
.intro-dm { padding-top: 22px; }
.intro-dm .av { margin: 0 auto; }
.intro-dm .intro-p { text-align: center; }

.msg { display: grid; grid-template-columns: 48px 1fr; gap: 0 8px; padding: 8px 16px 6px 12px; position: relative; transition: background .2s; }
.msg.grouped { padding-top: 0; }
.msg.pressing { background: var(--fuji-100); }
.msg.mine { background: linear-gradient(90deg, var(--fuji-50), transparent 85%); }
.msg.ment { background: linear-gradient(90deg, var(--kiiro-100), rgba(255, 243, 199, .3) 90%); box-shadow: inset 4px 0 0 var(--kiiro); }
.msg-side { position: relative; display: flex; justify-content: center; }
.msg-av { display: block; width: 44px; height: 44px; border-radius: 50%; padding: 2px; box-shadow: inset 0 0 0 2px var(--d); }
.msg-av .av { width: 40px; height: 40px; }
.msg.grouped .msg-side::before { content: ""; position: absolute; top: -8px; bottom: 0; left: 50%; border-left: 2px dashed var(--d); opacity: .6; }
.g-time { display: none; }
.msg-main { min-width: 0; }
.msg-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 24px; }
.msg-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.msg-head time { font-size: 13px; color: var(--ink-2); }
.you { font-size: 13px; color: var(--fuji-700); font-weight: 700; }
.msg-text { margin: 2px 0 0; font-size: 15px; line-height: 1.7; white-space: normal; }
.mt { display: inline; padding: 0 4px; border-radius: 6px; background: var(--fuji-100); color: var(--fuji-700); font-weight: 700; }
.mt-me { background: var(--kiiro); color: var(--ink); }
.mt-all { background: var(--fuji-700); color: #fff; }
.also { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--fuji-700); min-height: 28px; }
.also .ic { width: 16px; height: 16px; }
.msg.fresh { animation: msgIn .42s var(--pop) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.files { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.f-img { position: relative; display: block; max-width: 270px; border-radius: 16px; overflow: hidden; box-shadow: var(--sh-1); text-align: left; }
.f-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.f-cap { display: block; padding: 6px 10px; background: #fff; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-doc { display: flex; align-items: center; gap: 10px; max-width: 300px; min-height: 60px; padding: 8px 12px 8px 8px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); text-align: left; }
.f-doc:active, .f-img:active { transform: scale(.98); }
.f-kind { display: grid; place-items: center; align-content: center; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.f-kind .ic { width: 20px; height: 20px; }
.f-kind small { font-size: 11px; font-weight: 700; line-height: 1; margin-top: -1px; }
.f-kind.big { width: 72px; height: 72px; border-radius: 20px; }
.f-kind.big .ic { width: 34px; height: 34px; }
.k-pdf { background: #fde6df; color: #a63a22; }
.k-xls { background: #e1f1e4; color: #2a6e36; }
.k-img { background: var(--fuji-100); color: var(--fuji-700); }
.k-doc { background: var(--fuji-100); color: var(--fuji-700); }
.f-meta { min-width: 0; display: flex; flex-direction: column; }
.f-name { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-size { font-size: 13px; color: var(--ink-2); font-family: var(--f-num); }
.reacts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rx { display: inline-flex; align-items: center; gap: 4px; height: 36px; min-width: 52px; padding: 0 10px 0 7px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--fuji-200); transition: transform .2s var(--pop), background .2s; }
.rx svg { width: 22px; height: 22px; flex: none; }
.rx b { font: 500 15px/1 var(--f-num); color: var(--ink); }
.rx.on { background: var(--kiiro-100); box-shadow: inset 0 0 0 2px var(--kiiro); }
.rx:active { transform: scale(.88); }
.rx.on svg { animation: rxPop .4s var(--pop); }
@keyframes rxPop { 40% { transform: scale(1.35) rotate(-8deg); } }
.rx-add { min-width: 0; padding: 0 9px; color: var(--ink-2); position: relative; }
.rx-add .ic { width: 20px; height: 20px; }
.rx-plus { font: 600 14px/1 var(--f-num); margin-left: -2px; }
.thr { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 6px; padding: 4px 10px 4px 6px; border-radius: 20px; background: var(--fuji-50); box-shadow: inset 0 0 0 1px var(--fuji-100); }
.thr:active { background: var(--fuji-100); }
.thr-avs { display: inline-flex; }
.thr-avs .av { box-shadow: 0 0 0 2px #fff; margin-right: -6px; }
.thr-avs .av:last-child { margin-right: 0; }
.thr b { font-size: 14px; color: var(--fuji-700); }
.thr-last { font-size: 13px; color: var(--ink-2); }
.thr-chev { width: 16px; height: 16px; color: var(--fuji-500); }
.seen { display: inline-flex; align-items: center; gap: 2px; min-height: 32px; margin-top: 2px; padding: 0 6px 0 0; font-size: 13px; color: var(--ink-2); }
.seen .ic { width: 18px; height: 18px; }
.seen.all { color: var(--fuji-700); font-weight: 700; }
.typing { position: absolute; left: 12px; bottom: 8px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 20px; background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); font-size: 13px; color: var(--ink-2); animation: msgIn .3s var(--pop); }
.ty-dots { display: inline-flex; gap: 3px; }
.ty-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--fuji-500); animation: ty 1s infinite ease-in-out; }
.ty-dots i:nth-child(2) { animation-delay: .15s; }
.ty-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ty { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.jump { position: absolute; right: 14px; bottom: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px 0 10px; border-radius: 22px; background: var(--fuji-700); color: #fff; font-size: 14px; font-weight: 700; box-shadow: var(--sh-2); animation: msgIn .3s var(--pop); }
.jump .ic { width: 20px; height: 20px; }
.jump.round { width: 48px; padding: 0; justify-content: center; }
.jump.round span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 入力欄 */
.composer { flex: none; position: relative; z-index: 6; padding: 8px 10px calc(8px + var(--sab)); background: #fff; border-top: 1px solid var(--line); }
.cmp-row { display: flex; align-items: flex-end; gap: 2px; }
.cmp-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--fuji-700); flex: none; transition: transform .15s; }
.cmp-btn:active { background: var(--fuji-100); transform: scale(.9); }
.cmp-field { flex: 1; min-width: 0; display: block; margin: 0 4px; }
.cmp-field textarea { display: block; width: 100%; min-height: 44px; max-height: 132px; resize: none; border: 0; outline: 0; padding: 10px 16px; border-radius: 22px; background: var(--fuji-50); box-shadow: inset 0 0 0 1.5px var(--fuji-200); font-size: 16px; line-height: 1.5; transition: box-shadow .2s; }
.cmp-field textarea:focus { box-shadow: inset 0 0 0 2px var(--fuji-500); background: #fff; }
.cmp-field textarea::placeholder { color: #6e6785; }
.cmp-send { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--fuji-700); color: #fff; flex: none; transition: transform .2s var(--pop), background .2s; }
.cmp-send:disabled { background: var(--fuji-200); color: #fff; cursor: default; }
.cmp-send:not(:disabled):active { transform: scale(.86) rotate(-10deg); }
.cmp-send .ic { width: 22px; height: 22px; }
.also-ch { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin: 0 0 4px 8px; font-size: 14px; color: var(--ink-2); }
.also-ch input { width: 20px; height: 20px; accent-color: var(--fuji-700); }
.att-row { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 4px 8px; }
.att { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 44px; padding: 0 2px 0 4px; border-radius: 12px; background: var(--fuji-50); box-shadow: inset 0 0 0 1px var(--fuji-200); font-size: 13px; }
.att img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.att .ic { width: 20px; height: 20px; color: var(--fuji-700); }
.att-n { max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.att button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink-2); }
.att button .ic { width: 16px; height: 16px; }
.mention-pop { position: absolute; left: 10px; right: 10px; bottom: calc(100% + 6px); max-height: 260px; overflow-y: auto; padding: 6px; border-radius: 20px; background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); animation: msgIn .25s var(--pop); }
.mp { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 4px 10px; border-radius: 14px; text-align: left; }
.mp:active, .mp:hover { background: var(--fuji-50); }
.mp-n { flex: 1; font-size: 15px; font-weight: 500; }

/* スレッド */
.th-list { padding-top: 6px; }
.msg.root { margin: 4px 0 0; padding-bottom: 12px; background: var(--fuji-50); }
.th-div { display: flex; align-items: center; gap: 10px; padding: 12px 16px 6px; color: var(--fuji-700); font-size: 14px; font-weight: 700; }
.th-div::after { content: ""; flex: 1; border-top: 2px dashed var(--fuji-300); }
.th-empty { margin: 24px 32px; text-align: center; color: var(--ink-2); font-size: 14px; word-break: keep-all; }

/* ---------- メンション ---------- */
.seg { display: inline-flex; gap: 4px; margin-top: 12px; padding: 4px; border-radius: 999px; background: var(--fuji-100); }
.seg a, .seg button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.seg .on { background: #fff; color: var(--fuji-900); font-weight: 700; box-shadow: var(--sh-1); }
.seg b { font: 600 14px/1 var(--f-num); }
.mlist { display: flex; flex-direction: column; gap: 12px; padding: 8px 16px 0; }
.mcard { position: relative; border-radius: var(--r-l); background: #e3f2e5; overflow: hidden; touch-action: pan-y; transition: opacity .22s, transform .22s var(--ease); }
.mcard.leaving { opacity: 0; transform: translateX(30%); }
.mcard-in { position: relative; z-index: 1; padding: 12px 14px 14px; border-radius: var(--r-l); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--pop); }
.mcard-in::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--d); }
.mcard-swipe { position: absolute; left: 18px; top: 50%; transform: translateY(-50%) scale(.7); color: #2a6e36; transition: transform .25s var(--pop); }
.mcard-swipe .ic { width: 30px; height: 30px; }
.mcard.armed .mcard-swipe { transform: translateY(-50%) scale(1.15); }
.mcard-ch { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--fuji-700); }
.mcard-ch time { font-weight: 400; color: var(--ink-2); white-space: nowrap; }
.mcard-body { display: flex; gap: 10px; }
.mcard-av { flex: none; }
.mcard-who { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 15px; }
.mcard-text { margin: 2px 0 0; font-size: 15px; line-height: 1.7; }
.mcard-acts { display: flex; gap: 8px; margin-top: 12px; }
.mcard-acts .btn { flex: 1; min-height: 44px; padding: 0 10px; font-size: 14px; }
.mcard.is-done .mcard-in { background: var(--fuji-50); }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 24px 24px; }
.empty img { width: min(280px, 80%); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.empty-t { margin: 16px 0 4px; font-size: 18px; font-weight: 700; color: var(--fuji-900); }
.empty-p { margin: 0 0 16px; font-size: 14px; color: var(--ink-2); max-width: 300px; }
.empty-s { padding-top: 24px; }

/* ---------- さがす ---------- */
.search { position: relative; display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.search-f { flex: 1; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--fuji-200); color: var(--fuji-700); }
.search-f:focus-within { box-shadow: inset 0 0 0 2px var(--fuji-500); }
.search-f input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; height: 46px; color: var(--ink); }
.search-f input::placeholder { color: #6e6785; }
.search-x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink-2); }
.flist { display: flex; flex-direction: column; gap: 4px; }
.frow { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 6px 8px; margin: 0 -8px; border-radius: 16px; }
.frow:active { background: var(--fuji-100); }
.frow img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 12px 6px; }
.person { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 16px; }
.person:active { background: var(--fuji-100); }
.person .av { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--d); margin-bottom: 4px; }
.person-n { font-size: 14px; font-weight: 700; }
.person-d { font-size: 13px; color: var(--ink-2); }
.rlist { display: flex; flex-direction: column; }
.rrow { display: flex; gap: 10px; padding: 10px 8px; margin: 0 -8px; border-radius: 16px; }
.rrow:active { background: var(--fuji-100); }
.rrow-main { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.rrow-h { display: flex; gap: 8px; align-items: baseline; font-size: 13px; color: var(--ink-2); }
.rrow-h b { color: var(--ink); font-size: 14px; }
.rrow-h time { margin-left: auto; white-space: nowrap; }
.rrow-t { font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
mark { background: var(--kiiro); color: var(--ink); border-radius: 4px; padding: 0 2px; }

/* ---------- プロフィール ---------- */
.prof-sc { padding-top: 0; }
.prof-cover { height: 188px; overflow: hidden; }
.prof-cover img { width: 100%; height: 100%; object-fit: cover; }
.prof-card { position: relative; margin: -56px 16px 0; padding: 0 16px 18px; border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-1); text-align: center; }
.prof-av { display: inline-block; margin-top: -52px; padding: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--d); }
.prof-av .av { display: grid; }
.prof-name { margin: 10px 0 0; font-size: 24px; font-weight: 700; color: var(--fuji-900); line-height: 1.3; }
.prof-kana { margin: 0; font-size: 13px; color: var(--ink-2); letter-spacing: .08em; }
.prof-dept { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; font-size: 14px; }
.prof-status { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 4px 14px 4px 10px; border-radius: 16px; background: var(--fuji-50); font-size: 14px; }
.prof-status .presence { position: static; box-shadow: none; width: 10px; height: 10px; }
.prof-acts { display: flex; gap: 8px; margin-top: 16px; }
.prof-acts .btn { flex: 1; padding: 0 12px; }
.kv { margin: 0; border-radius: var(--r-m); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.kv div { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 16px; border-top: 1px solid var(--line); }
.kv div:first-child { border-top: 0; }
.kv dt { color: var(--ink-2); font-size: 14px; }
.kv dd { margin: 0; font-size: 15px; font-weight: 500; }
.kv .num { font-size: 17px; }

/* ---------- じぶん ---------- */
.me-card { display: flex; align-items: center; gap: 14px; margin: 4px 16px 0; padding: 16px; border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-1); }
.me-card:active { transform: scale(.985); }
.me-card > .ic { color: var(--fuji-500); }
.me-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.me-name { font-size: 19px; font-weight: 700; color: var(--fuji-900); }
.me-dept { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.me-status { position: relative; display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.me-status .presence { position: static; width: 10px; height: 10px; box-shadow: none; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 16px 0; }
.stats p { margin: 0; padding: 12px 6px; border-radius: var(--r-m); background: var(--fuji-50); text-align: center; display: flex; flex-direction: column; }
.stats b { font-size: 26px; line-height: 1.1; color: var(--fuji-700); font-weight: 600; }
.stats span { font-size: 13px; color: var(--ink-2); word-break: keep-all; }
.group { border-radius: var(--r-m); background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.set-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 8px 16px; border-top: 1px solid var(--line); text-align: left; color: var(--ink); }
.group > .set-row:first-child { border-top: 0; }
.set-row > .ic { color: var(--fuji-700); }
.set-row .chev { color: var(--fuji-500); width: 20px; height: 20px; }
.set-l { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 15px; font-weight: 500; }
.set-l small { font-size: 13px; color: var(--ink-2); font-weight: 400; }
.set-row.danger, .set-row.danger > .ic { color: var(--danger); }
a.set-row:active, button.set-row:active { background: var(--fuji-50); }
.set-col { border-bottom: 0; }
.seg-in { display: flex; margin: 0 16px 14px; }
.seg-in button { flex: 1; justify-content: center; }
.sw { appearance: none; -webkit-appearance: none; position: relative; width: 52px; height: 32px; border-radius: 16px; background: var(--fuji-200); flex: none; cursor: pointer; transition: background .2s; margin: 0; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(40, 30, 80, .3); transition: transform .3s var(--pop); }
.sw:checked { background: var(--fuji-700); }
.sw:checked::after { transform: translateX(20px); }

/* ---------- アプリについて ---------- */
.about-hero { display: flex; flex-direction: column; align-items: center; padding: 24px 16px 4px; }
.about-hero img { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--sh-2); }
.about-name { margin: 12px 0 0; font-size: 22px; font-weight: 700; color: var(--fuji-900); }
.about-v { margin: 0; font-size: 13px; color: var(--ink-2); }
.about-lead { margin: 14px 24px 0; text-align: center; font-size: 15px; word-break: keep-all; }
.about-note { margin: 16px 16px 0; padding: 14px 16px; border-radius: var(--r-m); background: var(--kiiro-100); font-size: 14px; line-height: 1.7; }
.tech { margin: 0; padding: 0 0 0 20px; font-size: 14px; line-height: 1.8; }
.stamp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sg { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px; border-radius: 14px; background: var(--fuji-50); }
.sg svg { width: 36px; height: 36px; }
.sg small { font-size: 13px; word-break: keep-all; text-align: center; line-height: 1.3; }
.cta { display: flex; align-items: center; justify-content: space-between; margin: 24px 16px 0; min-height: 56px; padding: 0 20px; border-radius: 28px; background: var(--fuji-700); color: #fff; font-weight: 700; font-size: 15px; }
.cta:active { transform: scale(.98); }

/* ---------- シート・トースト・お知らせ ---------- */
.scrim { position: absolute; inset: 0; z-index: 40; background: rgba(38, 28, 74, .36); opacity: 0; transition: opacity .24s; }
.scrim.on { opacity: 1; }
.sheet { position: absolute; left: 8px; right: 8px; bottom: calc(8px + var(--sab)); z-index: 41; max-height: 78%; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 18px; border-radius: 28px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--sh-2); transform: translateY(calc(100% + 24px)); transition: transform .34s var(--ease); }
.sheet.on { transform: translateY(0); }
.sheet.tall { max-height: 88%; }
.sheet-grip { position: sticky; top: 0; height: 22px; margin: 0 -16px; display: grid; place-items: center; cursor: grab; touch-action: none; z-index: 1; }
.sheet-grip::after { content: ""; width: 40px; height: 5px; border-radius: 3px; background: var(--fuji-200); }
.sheet-t { margin: 4px 0 4px; font-size: 18px; font-weight: 700; color: var(--fuji-900); line-height: 1.4; }
.sheet-t small { font-size: 14px; color: var(--ink-2); font-weight: 500; margin-left: 2px; }
.sheet-t-file { word-break: break-all; }
.sheet-sub { margin: 0 0 12px; font-size: 13px; color: var(--ink-2); }
.sheet-h { margin: 16px 0 6px; font-size: 14px; color: var(--ink-2); }
.sheet-note { margin: 4px 0 12px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.sheet-btns { display: flex; gap: 8px; margin-top: 12px; }
.sheet-btns .btn { flex: 1; }
.sheet > .btn { width: 100%; margin-top: 14px; }
.picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0 4px; }
.pk { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px 8px; border-radius: 16px; background: var(--fuji-50); transition: transform .2s var(--pop); }
.pk svg { width: 34px; height: 34px; }
.pk span { font-size: 13px; line-height: 1.2; word-break: keep-all; text-align: center; }
.pk:active { transform: scale(.88); background: var(--kiiro-100); }
.as-quote { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin: 4px 0 8px; border-radius: 16px; background: var(--fuji-50); }
.as-quote p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.as-quote b { color: var(--ink); margin-right: 6px; }
.acts { display: flex; flex-direction: column; margin-top: 8px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.act { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; text-align: left; color: var(--ink); }
.act:first-child { border-top: 0; }
.act .ic { color: var(--fuji-700); }
.act:active { background: var(--fuji-50); }
.pl { display: flex; flex-direction: column; }
.pl-row { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 4px 6px; border-radius: 14px; }
.pl-row:active { background: var(--fuji-50); }
.pl-name { flex: 1; font-size: 15px; font-weight: 500; }
.pl-state { font-size: 13px; color: var(--ink-2); padding: 2px 10px; border-radius: 10px; background: var(--fuji-50); }
.pl-state.ok { color: var(--fuji-900); background: var(--kiiro-100); font-weight: 700; }
.ci-img { width: calc(100% + 32px); margin: -26px -16px 10px; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 28px 28px 0 0; }
.ci-topic { margin: 0; font-size: 14px; color: var(--ink-2); }
.ci-pin { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 10px 12px; border-radius: 14px; background: var(--kiiro-100); color: var(--kiiro-700); font-size: 14px; }
.ci-pin .ic { width: 18px; height: 18px; margin-top: 3px; }
.pv-img { width: 100%; border-radius: 18px; }
.pv-doc { display: flex; flex-direction: column; align-items: center; padding: 24px 0 8px; text-align: center; color: var(--ink-2); font-size: 14px; }
.att-device { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; border-radius: 18px; background: var(--fuji-700); color: #fff; font-weight: 700; cursor: pointer; }
.att-device:active { transform: scale(.98); }
.att-list { display: flex; flex-direction: column; gap: 2px; }
.att-pick { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 6px 8px; border-radius: 16px; text-align: left; }
.att-pick:active { background: var(--fuji-50); }
.att-pick img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; }
.att-pick .f-meta { flex: 1; }
.att-pick > .ic { color: var(--fuji-700); }
.opts { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.opt { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px; border-radius: 16px; background: var(--fuji-50); font-size: 15px; text-align: left; }
.opt.on { background: var(--kiiro-100); font-weight: 700; }
.opt .ic { color: var(--fuji-700); }
.toast { position: absolute; left: 16px; right: 16px; bottom: calc(var(--tab-h) + var(--sab) + 12px); z-index: 50; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 8px 8px 18px; border-radius: 18px; background: var(--fuji-900); color: #fff; font-size: 14px; box-shadow: var(--sh-2); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .2s, transform .3s var(--pop); }
.toast span { flex: 1; }
.app.no-tabs .toast { bottom: calc(var(--sab) + 84px); }
.toast.on { opacity: 1; transform: none; pointer-events: auto; }
.toast-a { min-height: 40px; padding: 0 14px; border-radius: 12px; color: var(--kiiro); font-weight: 700; }
.banner { position: absolute; left: 10px; right: 10px; top: calc(var(--sat) + 8px); z-index: 55; transform: translateY(-140%); transition: transform .42s var(--pop); }
.banner.on { transform: none; }
.banner-in { display: flex; gap: 10px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 22px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.bn-main { min-width: 0; display: flex; flex-direction: column; }
.bn-h { display: flex; gap: 8px; font-size: 13px; color: var(--ink-2); }
.bn-h b { color: var(--ink); font-size: 14px; }
.bn-t { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- スプラッシュ・オンボーディング ---------- */
.splash { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--fuji-100); transition: opacity .3s; }
.splash img { width: 104px; height: 104px; border-radius: 26px; box-shadow: var(--sh-2); animation: splashIn .6s var(--pop) both; }
.splash-name { margin: 18px 0 0; font-size: 28px; font-weight: 700; letter-spacing: .14em; color: var(--fuji-900); }
.splash-sub { margin: 4px 0 0; font-size: 15px; color: var(--fuji-700); word-break: keep-all; }
.splash.bye { opacity: 0; }
@keyframes splashIn { from { transform: scale(.7); opacity: 0; } }
.onb { position: fixed; inset: 0; z-index: 90; overflow: hidden; background: #e9e1f7; transition: opacity .3s, transform .3s; }
.onb.bye { opacity: 0; }
.onb-bg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; transform: translateX(calc(var(--pan, 0) * -3%)) scale(1.08); transition: transform .6s var(--ease); }
.onb-skip { position: absolute; top: calc(var(--sat) + 10px); right: 12px; z-index: 3; min-height: 44px; padding: 0 16px; border-radius: 22px; background: rgba(255, 255, 255, .85); color: var(--fuji-900); font-weight: 700; font-size: 14px; }
.onb-track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; z-index: 2; }
.onb-track::-webkit-scrollbar { display: none; }
.onb-s { flex: 0 0 100%; scroll-snap-align: start; padding: calc(var(--sat) + 72px) 28px 0; }
.onb-no { margin: 0; font: 600 34px/1 var(--f-num); color: var(--fuji-700); }
.onb-no small { font-size: 16px; color: var(--fuji-700); }
.onb-s h2 { margin: 10px 0 8px; font-size: 27px; line-height: 1.4; color: var(--fuji-900); font-weight: 700; }
.onb-p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--fuji-900); max-width: 330px; word-break: keep-all; }
.onb-foot { position: absolute; left: 12px; right: 12px; bottom: calc(var(--sab) + 12px); z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 22px; border-radius: 28px; background: rgba(255, 255, 255, .94); box-shadow: var(--sh-2); }
.onb-dots { display: flex; gap: 6px; }
.onb-dots i { width: 8px; height: 8px; border-radius: 4px; background: var(--fuji-200); transition: width .3s var(--pop), background .2s; }
.onb-dots i.on { width: 24px; background: var(--fuji-700); }
.onb-next { min-width: 132px; }

.nojs, .fatal { position: fixed; inset: auto 16px 40% 16px; z-index: 200; padding: 20px; border-radius: 20px; background: #fff; box-shadow: var(--sh-2); font-size: 15px; }
.fatal-t { margin: 0 0 6px; font-weight: 700; font-size: 17px; }

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