/* さいふの地図 — 白×エメラルド×珊瑚。数字がきれいな家計簿（iOS の作法） */
:root {
  --paper: #ffffff;
  --ground: #f2f5f3;
  --line: #e1e8e4;
  --ink: #0e1f18;
  --ink2: #44554d;
  --ink3: #5d6d66;
  --emerald: #0a7552;
  --emerald-deep: #064a34;
  --mint: #ddf2e8;
  --coral: #e8604f;
  --coral-ink: #b13a2a;
  --coral-pale: #ffe7e2;
  --glass: rgba(255, 255, 255, .72);
  --f-jp: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-num: "Geist", "BIZ UDPGothic", system-ui, sans-serif;
  --r-map: 22px;
  --r-card: 16px;
  --r-key: 14px;
  --r-sheet: 28px;
  --ease-push: cubic-bezier(.32, .72, 0, 1);
  --ease-spring: cubic-bezier(.2, 1.3, .35, 1);
  --t-push: 380ms;
  --pad: 16px;
  --tab-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-jp);
  font-size: 15px;
  line-height: 1.6;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { flex: none; }
.nw { white-space: nowrap; }
.kp { word-break: keep-all; overflow-wrap: normal; }
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.amt { font-family: var(--f-num); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.02em; }
.amt .yen { font-size: .62em; font-weight: 500; margin-right: .08em; vertical-align: .18em; letter-spacing: 0; }
.amt .sign { margin-right: .05em; }
.noscript { padding: 40px 24px; }

/* ---------- 端末の枠 ---------- */
.device {
  position: relative;
  height: 100dvh;
  max-width: 430px;
  margin: 0 auto;
  background: var(--paper);
  overflow: hidden;
}
@media (min-width: 600px) {
  body {
    background:
      linear-gradient(90deg, rgba(10, 117, 82, .06) 1px, transparent 1px) 0 0 / 44px 44px,
      linear-gradient(rgba(10, 117, 82, .06) 1px, transparent 1px) 0 0 / 44px 44px,
      #eef3f0;
  }
  .device { box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(6, 74, 52, .12); }
}
.stack { position: absolute; inset: 0; overflow: hidden; }

/* ---------- 画面 ---------- */
.scr {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: var(--paper);
  will-change: transform;
}
.scr--ground { background: var(--ground); }
.scroll {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: calc(52px + var(--safe-t)) 0 calc(var(--tab-h) + 40px + var(--safe-b));
}
.scr.is-enter-push { animation: pushIn var(--t-push) var(--ease-push) both; z-index: 2; box-shadow: -10px 0 30px rgba(14, 31, 24, .08); }
.scr.is-leave-push { animation: pushOut var(--t-push) var(--ease-push) both; }
.scr.is-enter-pop { animation: popIn var(--t-push) var(--ease-push) both; }
.scr.is-leave-pop { animation: popOut var(--t-push) var(--ease-push) both; z-index: 2; box-shadow: -10px 0 30px rgba(14, 31, 24, .08); }
.scr.is-enter-fade { animation: fadeIn 200ms ease-out both; }
@keyframes pushIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes pushOut { from { transform: none; } to { transform: translateX(-28%); filter: brightness(.96); } }
@keyframes popIn { from { transform: translateX(-28%); } to { transform: none; } }
@keyframes popOut { from { transform: none; } to { transform: translateX(100%); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- ナビバー（大きなタイトルがスクロールで縮む） ---------- */
.nav {
  position: absolute; left: 0; right: 0; top: 0; z-index: 5;
  height: calc(52px + var(--safe-t));
  padding: var(--safe-t) 8px 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  transition: background-color .2s, box-shadow .2s;
}
.nav.is-scrolled, .nav.is-solid {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.8) blur(18px);
  backdrop-filter: saturate(1.8) blur(18px);
  box-shadow: 0 .5px 0 rgba(14, 31, 24, .16);
}
.scr--ground .nav.is-scrolled { background: rgba(242, 245, 243, .88); }
.nav__title {
  margin: 0; font-size: 17px; font-weight: 700; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52vw;
  opacity: 0; transform: translateY(4px); transition: opacity .18s, transform .18s;
}
.nav.is-scrolled .nav__title, .nav.is-solid .nav__title, .nav__title.is-always { opacity: 1; transform: none; }
.nav__l, .nav__r { display: flex; align-items: center; gap: 2px; min-width: 0; }
.nav__r { justify-content: flex-end; }
.nav-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 2px;
  min-width: 44px; height: 44px; padding: 0 8px;
  border: 0; background: none; color: var(--emerald);
  font-size: 17px; font-weight: 400; border-radius: 22px; text-decoration: none; white-space: nowrap;
  transition: transform .12s, background-color .15s;
}
.nav-btn:active { transform: scale(.92); background: rgba(10, 117, 82, .08); }
.nav-btn[disabled] { color: #9fb0a8; cursor: default; }
.nav-btn--back { padding-left: 2px; }
.nav-btn--glass {
  width: 44px; padding: 0;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 0 0 .5px rgba(14, 31, 24, .12), 0 4px 14px rgba(14, 31, 24, .08);
}
.lt { padding: 4px var(--pad) 12px; }
.lt__eyebrow { margin: 0 0 2px; font-size: 13px; color: var(--ink2); font-weight: 700; letter-spacing: .02em; }
.lt__title {
  margin: 0; font-family: var(--f-num); font-size: 34px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em;
  font-feature-settings: "palt"; word-break: keep-all;
}
.lt__title .jp { font-family: var(--f-jp); letter-spacing: .02em; }

/* ---------- タブバー（Liquid Glass 風・機能層だけ） ---------- */
.tabbar {
  position: absolute; z-index: 20;
  left: 12px; right: 12px; bottom: calc(10px + var(--safe-b));
  height: var(--tab-h);
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 6px;
  border-radius: 32px;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(1.9) blur(22px);
  backdrop-filter: saturate(1.9) blur(22px);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .9), 0 0 0 .5px rgba(14, 31, 24, .14), 0 10px 30px rgba(14, 31, 24, .14);
  transition: transform .3s var(--ease-push), opacity .2s;
}
.tabbar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.tab {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  border-radius: 26px; text-decoration: none; color: #3b4a43;
  font-size: 11px; font-weight: 700; line-height: 1.2;
  transition: color .2s, transform .15s;
}
.tab svg { width: 26px; height: 26px; }
.tab::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: rgba(10, 117, 82, .11); opacity: 0; transform: scale(.7);
  transition: opacity .2s, transform .35s var(--ease-spring);
}
.tab.is-on { color: var(--emerald); }
.tab.is-on::before { opacity: 1; transform: none; }
.tab:active { transform: scale(.9); }
.tab span, .tab svg { position: relative; }

/* ---------- 共通部品 ---------- */
.sec { padding: 0 var(--pad); margin-top: 26px; }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sec__title { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: .02em; font-feature-settings: "palt"; word-break: keep-all; }
.sec__note { margin: 0; font-size: 13px; color: var(--ink2); }
.sec__link { font-size: 15px; color: var(--emerald); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.p { margin: 0; font-size: 14px; color: var(--ink2); line-height: 1.7; word-break: normal; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border: 0; border-radius: 25px;
  background: var(--emerald); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none;
  transition: transform .12s, background-color .15s, opacity .15s;
}
.btn:active { transform: scale(.96); background: var(--emerald-deep); }
.btn[disabled] { background: #c9d6cf; color: #44554d; cursor: default; transform: none; }
.btn--block { width: 100%; }
.btn--tint { background: var(--mint); color: var(--emerald-deep); }
.btn--tint:active { background: #c8eadb; }
.btn--danger { background: var(--coral-pale); color: var(--coral-ink); }
.btn--danger:active { background: #ffd6ce; }
.round-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e8eeea; color: var(--ink2); position: relative;
}
.round-btn::after { content: ""; position: absolute; inset: -4px; }
.round-btn:active { transform: scale(.92); }
.cat-ic {
  flex: none; width: 36px; height: 36px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.cat-ic svg { width: 21px; height: 21px; }
.over { color: var(--coral-ink); }
.pill-over {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px;
  background: var(--coral-pale); color: var(--coral-ink); font-size: 12px; font-weight: 700; white-space: nowrap;
}

/* セグメント */
.seg {
  display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 3px; border-radius: 12px; background: #e6ece8; position: relative;
}
.seg button {
  position: relative; z-index: 1; min-width: 72px; min-height: 36px; padding: 0 14px;
  border: 0; background: none; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--ink2);
  transition: color .2s;
}
.seg button[aria-pressed="true"] { color: var(--ink); background: #fff; box-shadow: 0 1px 3px rgba(14, 31, 24, .14), 0 0 0 .5px rgba(14, 31, 24, .06); }
.seg--tight button { min-height: 32px; min-width: 64px; font-size: 13px; }

/* スイッチ */
.switch { position: relative; width: 51px; height: 31px; flex: none; }
.switch input { position: absolute; inset: -7px; width: calc(100% + 14px); height: calc(100% + 14px); margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #d5ddd9; transition: background-color .2s; }
.switch span::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); transition: transform .3s var(--ease-spring);
}
.switch input:checked + span { background: var(--emerald); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--emerald); outline-offset: 2px; }

/* グループリスト（設定 App 風） */
.group { margin: 0 var(--pad); background: var(--paper); border-radius: var(--r-card); overflow: hidden; }
.group__cap { margin: 22px calc(var(--pad) + 16px) 6px; font-size: 13px; color: var(--ink2); font-weight: 700; }
.group__foot { margin: 6px calc(var(--pad) + 16px) 0; font-size: 13px; color: var(--ink2); line-height: 1.6; }
.cell {
  display: flex; align-items: center; gap: 12px; width: 100%;
  min-height: 52px; padding: 8px 16px; border: 0; background: none; text-align: left; text-decoration: none;
  position: relative; font-size: 16px;
}
.cell + .cell::before { content: ""; position: absolute; top: 0; left: 64px; right: 0; height: .5px; background: #d4ddd8; }
.cell--plain + .cell--plain::before { left: 16px; }
.cell:is(a, button):active { background: #edf2ef; }
.cell__main { flex: 1; min-width: 0; }
.cell__title { display: block; font-weight: 400; }
.cell__sub { display: block; font-size: 13px; color: var(--ink2); }
.cell__val { color: var(--ink2); font-size: 15px; white-space: nowrap; }
.cell__chev { color: #8a9a92; width: 18px; height: 18px; }
.cell--danger { color: var(--coral-ink); justify-content: center; font-weight: 700; }

/* ---------- 今月（地図） ---------- */
.sum { margin: 0 var(--pad); }
.sum__label { margin: 0; font-size: 14px; color: var(--ink2); font-weight: 700; }
.sum__big { margin: 0; font-size: 46px; line-height: 1.1; font-weight: 600; }
.sum__big .yen { font-size: .48em; vertical-align: .55em; }
.gauge { position: relative; height: 12px; margin: 14px 0 10px; border-radius: 6px; background: var(--ground); overflow: hidden; }
.gauge__used, .gauge__plan { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 6px; }
.gauge__used { background: var(--emerald); transition: width .8s var(--ease-push); }
.gauge__plan {
  background: repeating-linear-gradient(135deg, rgba(10, 117, 82, .5) 0 3px, rgba(10, 117, 82, .14) 3px 6px);
  border-radius: 0 6px 6px 0;
}
.gauge.is-over .gauge__used { background: var(--coral); }
.sum--after { margin-top: 16px; }
.sum__line { margin: 0; font-size: 14px; color: var(--ink2); font-weight: 700; }
.sum__line .amt { color: var(--ink); }
.perday-inline .amt { color: var(--emerald); }
.sum__grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: .5px solid var(--line); }
.sum__grid div { padding: 10px 0 0; }
.sum__grid div + div { padding-left: 12px; border-left: .5px solid var(--line); }
.sum__grid dt { font-size: 12px; color: var(--ink2); font-weight: 700; white-space: nowrap; }
.sum__grid dd { margin: 0; font-size: 19px; font-weight: 600; }
.sum__grid .perday dd { color: var(--emerald); }

.mapcard { margin: 22px 10px 0; padding: 14px 6px 10px; border-radius: 28px; background: var(--ground); }
.mapcard__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px 10px; }
.mapcard__title { margin: 0; font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.mapcard__title svg { color: var(--emerald); }
.mapcard__opt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink2); font-weight: 700; }
.map {
  position: relative; margin: 0 4px; height: 300px; border-radius: var(--r-map); overflow: hidden;
  background: #fff;
}
.tile {
  position: absolute; border: 0; padding: 0; margin: 0;
  border-radius: 7px; overflow: hidden; text-align: left;
  transition: transform .15s, filter .15s;
  animation: tileIn .55s var(--ease-push) both;
}
.tile:active { transform: scale(.97); filter: brightness(1.05); }
.tile__in { position: absolute; inset: 0; padding: 9px 10px; display: flex; flex-direction: column; justify-content: space-between; }
.tile__top { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; line-height: 1.25; word-break: keep-all; }
.tile__top svg { width: 16px; height: 16px; }
.tile__amt { font-size: 18px; font-weight: 600; line-height: 1.1; }
.tile__pct { font-size: 12px; font-weight: 500; opacity: 1; }
.tile--s .tile__in { padding: 6px 7px; }
.tile--s .tile__amt { font-size: 14px; font-weight: 600; }
.tile--s .tile__top { font-size: 12.5px; }
.tile--xs .tile__in { align-items: center; justify-content: center; padding: 0; }
.tile--over { background: var(--coral-pale) !important; color: var(--coral-ink) !important; box-shadow: inset 0 0 0 2px var(--coral); }
.tile--over::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(232, 96, 79, .14) 0 4px, transparent 4px 9px);
}
.tile--plan {
  background: #fff !important; color: var(--ink2) !important;
  box-shadow: inset 0 0 0 1.5px #9ab5a8; background-image: radial-gradient(#cfe0d7 1px, transparent 1.2px) !important; background-size: 8px 8px !important;
}
.tile--plan .tile__top, .tile--plan .tile__amt { background: #fff; align-self: flex-start; padding: 0 3px; border-radius: 4px; }
.tile__over { display: inline-block; margin-top: 2px; font-size: 12px; font-weight: 700; background: #fff; padding: 0 5px; border-radius: 4px; align-self: flex-start; }
.map__compass { position: absolute; right: 8px; bottom: 8px; width: 28px; height: 28px; color: rgba(14, 31, 24, .55); pointer-events: none; }
@keyframes tileIn { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 12px 2px; font-size: 12px; color: var(--ink2); font-weight: 700; }
.legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.legend__scale { display: inline-block; background: var(--emerald); border-radius: 3px; }
.legend__over { width: 14px; height: 14px; border-radius: 3px; background: var(--coral-pale); box-shadow: inset 0 0 0 2px var(--coral); }
.legend__plan { width: 14px; height: 14px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #9ab5a8; }
.map-empty { text-align: center; padding: 6px 12px 12px; }
.map-empty img { width: 200px; height: 200px; margin: 0 auto 4px; border-radius: 24px; object-fit: cover; }
.map-empty h3 { margin: 6px 0 4px; font-size: 18px; word-break: keep-all; }
.map-empty .p { margin-bottom: 14px; }

/* 予定（引き落とし）タイムライン */
.plan { list-style: none; margin: 0; padding: 0; position: relative; }
.plan::before { content: ""; position: absolute; left: 25px; top: 18px; bottom: 18px; width: 2px; background: repeating-linear-gradient(var(--line) 0 4px, transparent 4px 8px); }
.plan li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; }
.plan__day {
  position: relative; z-index: 1; flex: none; width: 52px; height: 44px; border-radius: 12px; background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05;
}
.plan__day b { font-family: var(--f-num); font-size: 18px; }
.plan__day small { font-size: 11px; color: var(--ink2); font-weight: 700; }
.plan__main { flex: 1; min-width: 0; }
.plan__name { display: block; font-weight: 700; }
.plan__sub { display: block; font-size: 13px; color: var(--ink2); }
.plan__amt { font-size: 17px; font-weight: 600; }
.plan__amt.is-in { color: var(--emerald); }

/* 区画ごとの残り */
.dist { list-style: none; margin: 0; padding: 0; }
.dist a { display: grid; grid-template-columns: 36px 1fr auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 6px; align-items: center; padding: 10px 0; text-decoration: none; }
.dist li + li a { border-top: .5px solid var(--line); }
.dist a:active { background: #f4f8f6; }
.dist .cat-ic { grid-row: 1 / 3; }
.dist__name { font-weight: 700; font-size: 15px; white-space: nowrap; }
.dist__left { font-size: 14px; color: var(--ink2); text-align: right; white-space: nowrap; }
.dist__left b { color: var(--ink); font-family: var(--f-num); font-weight: 600; font-size: 16px; }
.dist__bar { grid-column: 2 / 4; position: relative; height: 6px; border-radius: 3px; background: var(--ground); overflow: hidden; }
.dist__bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; }
.dist__bar.is-over i { background: var(--coral) !important; }
.io { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.io div { padding: 14px; border-radius: var(--r-card); background: var(--ground); }
.io dt { font-size: 13px; color: var(--ink2); font-weight: 700; }
.io dd { margin: 2px 0 0; font-size: 22px; font-weight: 600; }
.io .is-plus { color: var(--emerald); }
.io .is-minus { color: var(--coral-ink); }

/* ---------- 区画の詳細 ---------- */
.cathero { position: relative; height: 250px; margin-top: calc(-52px - var(--safe-t)); overflow: hidden; background: var(--ground); }
.cathero img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 0; }
.cathead { position: relative; margin: -34px 12px 0; padding: 18px 16px 16px; background: #fff; border-radius: 24px; box-shadow: 0 -1px 0 rgba(14, 31, 24, .04); }
.cathead__chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink2); }
.cathead__chip .cat-ic { width: 28px; height: 28px; border-radius: 8px; }
.cathead__chip .cat-ic svg { width: 17px; height: 17px; }
.cathead h1 { margin: 8px 0 0; font-size: 15px; color: var(--ink2); font-weight: 700; }
.cathead__big { margin: 0; font-size: 44px; line-height: 1.12; font-weight: 600; }
.cathead__big .yen { font-size: .5em; vertical-align: .5em; }
.pace { margin-top: 14px; }
.pace__bar { position: relative; height: 14px; border-radius: 7px; background: var(--ground); }
.pace__bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 7px; }
.pace__mark { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--ink); border-radius: 1px; }
.pace__mark::after { content: ""; position: absolute; left: -4px; top: -6px; border: 5px solid transparent; border-top-color: var(--ink); }
.pace__row { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 13px; color: var(--ink2); font-weight: 700; }
.pace__msg { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--mint); color: var(--emerald-deep); font-size: 14px; font-weight: 700; word-break: keep-all; }
.pace__fx { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; word-break: normal; }
.pace__msg.is-warn { background: var(--coral-pale); color: var(--coral-ink); }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; gap: 2px; height: 86px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.days i { display: block; min-height: 2px; border-radius: 2px 2px 0 0; background: #cfe3d9; }
.days i.has { background: var(--emerald); }
.days i.is-today { box-shadow: 0 0 0 1.5px var(--ink); }
.days i.is-future { background: transparent; border: 1px dashed #c9d6cf; min-height: 6px; }
.days__axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink2); padding: 4px 2px 0; font-family: var(--f-num); }

/* ---------- 明細（タイムライン） ---------- */
.monthsw { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8px 0 var(--pad); }
.monthsw__label { font-family: var(--f-num); font-size: 17px; font-weight: 600; white-space: nowrap; }
.filters { padding: 8px var(--pad) 4px; }
.day { margin-top: 18px; }
.day__head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 6px var(--pad); background: rgba(255, 255, 255, .94);
}
.day__date { font-weight: 700; font-size: 15px; white-space: nowrap; }
.day__date small { margin-left: 6px; font-size: 13px; color: var(--ink2); }
.day__sum { font-size: 14px; color: var(--ink2); white-space: nowrap; }
.rows { position: relative; margin: 0 var(--pad); }
.rows::before { content: ""; position: absolute; left: 17px; top: 6px; bottom: 6px; width: 2px; background: var(--line); border-radius: 1px; }
.rw { position: relative; overflow: hidden; border-radius: 14px; }
.rw__del {
  opacity: 0;
  position: absolute; right: 0; top: 0; bottom: 0; width: 88px; border: 0;
  background: var(--coral-ink); color: #fff; font-weight: 700; font-size: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.rw.is-open .rw__del { opacity: 1; }
.row {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 8px 4px 8px 0; background: #fff;
  touch-action: pan-y; transition: transform .28s var(--ease-push);
  cursor: pointer; user-select: none;
}
.row.is-drag { transition: none; }
.row:active { background: #f5f8f6; }
.row .cat-ic { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 3px #fff; }
.row__main { flex: 1; min-width: 0; }
.row__memo { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__sub { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink2); white-space: nowrap; }
.badge-fx { display: inline-flex; align-items: center; gap: 3px; padding: 0 6px; border-radius: 6px; background: var(--mint); color: var(--emerald-deep); font-size: 12px; font-weight: 700; }
.badge-fx svg { width: 12px; height: 12px; }
.row__amt { font-size: 17px; font-weight: 600; }
.row__amt.is-in { color: var(--emerald); }
.rw.is-gone { animation: rowGone .32s ease-in forwards; }
@keyframes rowGone { to { height: 0; opacity: 0; margin: 0; } }
.empty { text-align: center; padding: 30px 28px 10px; }
.empty img { width: 210px; height: 210px; margin: 0 auto; border-radius: 28px; object-fit: cover; }
.empty h2 { margin: 14px 0 6px; font-size: 19px; word-break: keep-all; }
.empty .p { margin: 0 auto 18px; max-width: 290px; }
.hint { margin: 10px var(--pad) 0; font-size: 13px; color: var(--ink2); display: flex; align-items: center; gap: 6px; }

/* ---------- 入力（電卓） ---------- */
.ctx { display: flex; align-items: center; gap: 12px; margin: 4px 0 0; padding: 9px 14px 10px; border-radius: var(--r-card); background: var(--ground); }
.freq-wrap { margin-top: 10px; }
.freq__cap { margin: 0 2px 6px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.freq { padding-bottom: 2px; }
.chip--freq { background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 400; }
.chip--freq b { font-weight: 600; margin-left: 2px; }
.ctx__main { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 10px; }
.ctx__t { font-size: 13px; color: var(--ink2); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctx__v { font-size: 17px; font-weight: 700; font-family: var(--f-num); white-space: nowrap; text-align: right; }
.ctx__arrow { color: var(--ink2); font-weight: 400; }
.ctx__bar { grid-column: 1 / 3; position: relative; height: 6px; border-radius: 3px; background: #dde6e1; overflow: hidden; margin-top: 6px; }
.ctx__bar i { position: absolute; top: 0; bottom: 0; left: 0; transition: width .25s var(--ease-push), left .25s var(--ease-push); }
.ctx__add { background: repeating-linear-gradient(135deg, var(--ink) 0 2px, rgba(14, 31, 24, .35) 2px 4px); }
.ctx__bar.is-over .ctx__add { background: var(--coral); }
.scr--input .scroll { padding-bottom: calc(var(--tab-h) + 22px + var(--safe-b)); display: flex; flex-direction: column; }
.calc { flex: 1; display: flex; flex-direction: column; padding: 0 12px; }
.display {
  position: relative; padding: 6px 10px 6px; text-align: right; min-height: 92px; margin-top: auto;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.display__expr { margin: 0; font-size: 17px; color: var(--ink2); min-height: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; direction: ltr; }
.display__val { margin: 0; font-size: 48px; line-height: 1.08; font-weight: 600; transition: color .2s; }
.display__val .yen { font-size: .46em; vertical-align: .6em; }
.display__val.is-in { color: var(--emerald); }
.display__note { margin: 0; font-size: 13px; min-height: 20px; color: var(--ink2); font-weight: 700; }
.display__note.is-err { color: var(--coral-ink); }
.display.is-shake { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px 0 6px;
  border-radius: 22px; border: 0; background: var(--ground); font-size: 14px; font-weight: 700; color: var(--ink);
  scroll-snap-align: start; transition: background-color .15s, transform .12s;
}
.chip .cat-ic { width: 32px; height: 32px; border-radius: 50%; }
.chip .cat-ic svg { width: 18px; height: 18px; }
.chip[aria-checked="true"] { background: var(--ink); color: #fff; }
.chip:active { transform: scale(.95); }
.metarow { display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 0 0 8px; }
.datebtn {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  border-radius: 12px; background: var(--ground); font-size: 14px; font-weight: 700; white-space: nowrap;
}
.datebtn svg { color: var(--emerald); width: 20px; height: 20px; }
.datebtn input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.memo {
  min-width: 0; min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--ground);
  font-size: 16px; outline: none;
}
.memo::placeholder { color: #5d6d66; }
.memo:focus { box-shadow: inset 0 0 0 2px var(--emerald); }
.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.key {
  height: 50px; border: 0; border-radius: var(--r-key);
  background: var(--ground); font-family: var(--f-num); font-size: 26px; font-weight: 500; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform 80ms, background-color 80ms;
  touch-action: manipulation;
}
.key:active, .key.is-press { transform: scale(.94); background: #dfe7e2; }
.key--op { background: var(--mint); color: var(--emerald-deep); font-size: 28px; }
.key--op.is-on { background: var(--emerald); color: #fff; }
.key--fn { font-family: var(--f-jp); font-size: 17px; font-weight: 700; color: var(--ink2); }
.key--save {
  grid-column: span 2; background: var(--emerald); color: #fff; font-family: var(--f-jp); font-size: 17px; font-weight: 700;
}
.key--save:active { background: var(--emerald-deep); }
.key--save[disabled] { background: #c9d6cf; color: #44554d; transform: none; }
.key svg { width: 26px; height: 26px; }
.editbar { display: flex; justify-content: center; padding: 10px 0 0; }
.linkbtn { border: 0; background: none; color: var(--coral-ink); font-weight: 700; min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; }
.fly {
  position: absolute; z-index: 30; pointer-events: none; font-family: var(--f-num); font-weight: 600; color: var(--emerald);
  font-size: 22px; animation: fly .7s var(--ease-push) forwards;
}
@keyframes fly { to { transform: translate(var(--dx), var(--dy)) scale(.4); opacity: 0; } }

/* ---------- 推移 ---------- */
.chart { margin: 0 var(--pad); padding: 14px 10px 8px; border-radius: 24px; background: var(--ground); }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 8px 6px 2px; font-size: 12px; color: var(--ink2); font-weight: 700; }
.chart__legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lg-bar { width: 12px; height: 12px; border-radius: 3px; background: var(--emerald); }
.lg-line { width: 16px; height: 0; border-top: 2.5px solid var(--coral); }
.lg-avg { width: 16px; height: 0; border-top: 2px dashed var(--ink2); }
.bar-hit { cursor: pointer; }
.picked { margin: 12px var(--pad) 0; padding: 14px 16px; border-radius: var(--r-card); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.picked__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.picked__title { margin: 0; font-size: 17px; font-weight: 700; white-space: nowrap; }
.picked dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 0; }
.picked dt { font-size: 12px; color: var(--ink2); font-weight: 700; }
.picked dd { margin: 0; font-size: 17px; font-weight: 600; }
.spark { list-style: none; margin: 0; padding: 0; }
.spark li { display: grid; grid-template-columns: 36px 1fr 86px auto; align-items: center; gap: 10px; padding: 10px 0; }
.spark li + li { border-top: .5px solid var(--line); }
.spark__name { font-weight: 700; font-size: 15px; display: block; white-space: nowrap; }
.spark__avg { display: block; font-size: 12px; color: var(--ink2); white-space: nowrap; }
.spark svg { width: 86px; height: 30px; }
.spark__diff { font-size: 13px; font-weight: 700; white-space: nowrap; text-align: right; min-width: 58px; }
.spark__diff.is-up { color: var(--coral-ink); }
.spark__diff.is-down { color: var(--emerald); }

/* ---------- 予算 ---------- */
.alloc { margin: 0 var(--pad); }
.alloc__big { margin: 0; font-size: 40px; line-height: 1.12; font-weight: 600; }
.alloc__big .yen { font-size: .5em; vertical-align: .5em; }
.alloc__bar { display: flex; height: 22px; gap: 2px; margin: 12px 0 8px; border-radius: 8px; overflow: hidden; }
.alloc__bar i { display: block; height: 100%; transition: flex-grow .5s var(--ease-push); }
.blist { list-style: none; margin: 0; padding: 0; }
.blist li { display: grid; grid-template-columns: 36px 1fr auto; gap: 4px 12px; align-items: center; padding: 10px 0; }
.blist li + li { border-top: .5px solid var(--line); }
.blist .cat-ic { grid-row: 1 / 3; }
.blist__name { font-weight: 700; white-space: nowrap; }
.blist__use { grid-column: 2; font-size: 13px; color: var(--ink2); white-space: nowrap; }
.blist__amt {
  grid-row: 1 / 3; grid-column: 3; min-height: 44px; min-width: 104px; padding: 0 12px;
  border: 0; border-radius: 12px; background: var(--ground); font-family: var(--f-num); font-size: 18px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; font-variant-numeric: tabular-nums;
}
.blist__amt svg { color: var(--emerald); width: 16px; height: 16px; }
.blist__amt:active { transform: scale(.96); }
.fxlink {
  display: flex; align-items: center; gap: 12px; margin: 0 var(--pad); padding: 14px 14px 14px 16px; border-radius: var(--r-card);
  background: var(--mint); color: var(--emerald-deep); text-decoration: none;
}
.fxlink:active { filter: brightness(.97); }
.fxlink svg.lead { width: 26px; height: 26px; }
.fxlink b { display: block; font-size: 16px; }
.fxlink span { display: block; font-size: 13px; font-weight: 700; }
.fxlink .cell__chev { margin-left: auto; color: var(--emerald-deep); }

/* シート内の電卓（予算） */
.bcalc .display { min-height: 92px; padding: 0 4px 6px; }
.bcalc .display__val { font-size: 44px; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 0 12px; }
.quick button { min-height: 40px; padding: 0 12px; border: 0; border-radius: 20px; background: var(--ground); font-size: 13px; font-weight: 700; white-space: nowrap; }
.quick button:active { transform: scale(.95); }
.quick b { font-family: var(--f-num); font-weight: 600; }

/* ---------- 固定費 ---------- */
.fxlist { list-style: none; margin: 0 var(--pad); padding: 0; }
.fxlist li + li { border-top: .5px solid var(--line); }
.fxrow { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 10px 0; border: 0; background: none; text-align: left; }
.fxrow:active { background: #f5f8f6; }
.leaf {
  flex: none; width: 54px; height: 58px; border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line); text-align: center; line-height: 1;
}
.leaf small { display: block; padding: 4px 0 3px; background: var(--emerald); color: #fff; font-size: 11px; font-weight: 700; }
.leaf b { display: block; margin-top: 6px; font-family: var(--f-num); font-size: 22px; font-weight: 600; }
.leaf.is-in small { background: var(--emerald-deep); }
.fxrow.is-off { opacity: .55; }
.fxrow__main { flex: 1; min-width: 0; }
.fxrow__name { display: block; font-size: 16px; font-weight: 700; }
.fxrow__sub { display: block; font-size: 13px; color: var(--ink2); white-space: nowrap; }
.fxrow__amt { font-size: 17px; font-weight: 600; }
.fxrow__amt.is-in { color: var(--emerald); }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--ink2); }
.field input, .field select {
  min-height: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--ground); font-size: 17px; outline: none; width: 100%;
}
.field input:focus, .field select:focus { box-shadow: inset 0 0 0 2px var(--emerald); }
.field__err { color: var(--coral-ink); font-size: 13px; font-weight: 700; min-height: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; font-weight: 700; }
.btnrow { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 4px; }

/* ---------- 設定・アプリについて ---------- */
.about-hero { text-align: center; padding: 8px 24px 6px; }
.about-hero img { width: 112px; height: 112px; margin: 0 auto 12px; border-radius: 26px; box-shadow: 0 10px 30px rgba(6, 74, 52, .18); }
.about-hero h1 { margin: 0; font-size: 26px; font-feature-settings: "palt"; }
.about-hero p { margin: 4px 0 0; color: var(--ink2); font-size: 14px; word-break: keep-all; }
.note-box { margin: 18px var(--pad) 0; padding: 14px 16px; border-radius: var(--r-card); background: #fff; font-size: 14px; line-height: 1.75; color: var(--ink); }
.note-box p { margin: 0; word-break: normal; }
.note-box p + p { margin-top: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 var(--pad); }
.tags span { padding: 6px 12px; border-radius: 99px; background: #fff; font-size: 13px; font-weight: 700; color: var(--emerald-deep); white-space: nowrap; }
.cta { margin: 18px var(--pad) 0; }

/* ---------- シート ---------- */
.sheet-layer { position: absolute; inset: 0; z-index: 40; }
.sheet-dim { position: absolute; inset: 0; background: rgba(14, 31, 24, .32); animation: dimIn .25s ease-out both; }
.sheet {
  position: absolute; left: 8px; right: 8px; bottom: calc(8px + var(--safe-b));
  max-height: calc(100% - 56px - var(--safe-t));
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border-radius: var(--r-sheet);
  box-shadow: 0 -2px 40px rgba(14, 31, 24, .2);
  animation: sheetIn .42s var(--ease-push) both;
  touch-action: none;
}
.sheet.is-out { animation: sheetOut .26s ease-in both; }
.sheet-layer.is-out .sheet-dim { animation: dimOut .26s ease-in both; }
@keyframes sheetIn { from { transform: translateY(105%); } to { transform: none; } }
@keyframes sheetOut { to { transform: translateY(105%); } }
@keyframes dimIn { from { opacity: 0; } }
@keyframes dimOut { to { opacity: 0; } }
.sheet__grab { display: flex; justify-content: center; padding: 8px 0 2px; cursor: grab; }
.sheet__grab span { width: 38px; height: 5px; border-radius: 3px; background: #c6d0cb; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 14px 8px 20px; }
.sheet__title { margin: 0; font-size: 19px; font-weight: 700; font-feature-settings: "palt"; word-break: keep-all; }
.sheet__body { overflow-y: auto; overscroll-behavior: contain; padding: 0 20px 20px; touch-action: pan-y; }
.txd { text-align: center; padding: 4px 0 14px; }
.txd .cat-ic { width: 56px; height: 56px; border-radius: 18px; margin: 0 auto; }
.txd .cat-ic svg { width: 30px; height: 30px; }
.txd__amt { margin: 10px 0 0; font-size: 40px; font-weight: 600; line-height: 1.1; }
.txd__amt .yen { font-size: .5em; vertical-align: .5em; }
.txd__amt.is-in { color: var(--emerald); }
.txd__memo { margin: 4px 0 0; font-weight: 700; font-size: 16px; }
.kv { margin: 0 0 16px; border-radius: 14px; background: var(--ground); }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; font-size: 15px; }
.kv div + div { border-top: .5px solid #d7e0db; }
.kv dt { color: var(--ink2); font-weight: 700; white-space: nowrap; }
.kv dd { margin: 0; text-align: right; }

/* ---------- アラート・トースト ---------- */
.alert-layer { position: absolute; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(14, 31, 24, .32); padding: 24px; }
.alert { width: min(290px, 100%); border-radius: 22px; background: rgba(255, 255, 255, .97); text-align: center; overflow: hidden; animation: alertIn .3s var(--ease-spring) both; }
.alert h2 { margin: 20px 18px 4px; font-size: 17px; word-break: keep-all; }
.alert p { margin: 0 18px 18px; font-size: 14px; color: var(--ink2); line-height: 1.6; }
.alert__btns { display: grid; grid-template-columns: 1fr 1fr; border-top: .5px solid #d2dad6; }
.alert__btns button { min-height: 48px; border: 0; background: none; font-size: 16px; color: var(--emerald); }
.alert__btns button + button { border-left: .5px solid #d2dad6; font-weight: 700; }
.alert__btns .is-danger { color: var(--coral-ink); }
.alert__btns button:active { background: #edf1ef; }
@keyframes alertIn { from { opacity: 0; transform: scale(1.12); } }
.toast {
  position: absolute; z-index: 50; left: 16px; right: 16px; bottom: calc(var(--tab-h) + 22px + var(--safe-b));
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 50px; padding: 6px 6px 6px 18px; border-radius: 25px;
  background: #13261e; color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: 0 10px 30px rgba(14, 31, 24, .25);
  opacity: 0; transform: translateY(20px) scale(.96); pointer-events: none;
  transition: opacity .2s, transform .35s var(--ease-spring);
}
.toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.toast span { word-break: keep-all; }
.toast button { flex: none; min-height: 40px; padding: 0 14px; border: 0; border-radius: 20px; background: #2b4a3c; color: #c9f2dd; font-weight: 700; font-size: 14px; }

/* ---------- 起動 ---------- */
.splash {
  position: absolute; inset: 0; z-index: 90; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  transition: opacity .35s;
}
.splash img { width: 108px; height: 108px; border-radius: 25px; box-shadow: 0 12px 34px rgba(6, 74, 52, .2); animation: splashPop .6s var(--ease-spring) both; }
.splash p { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: .08em; }
.splash.is-out { opacity: 0; }
@keyframes splashPop { from { transform: scale(.7); opacity: 0; } }
.onb { position: absolute; inset: 0; z-index: 80; background: #fff; display: flex; flex-direction: column; }
.onb__track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.onb__track::-webkit-scrollbar { display: none; }
.onb__slide { flex: none; width: 100%; scroll-snap-align: start; display: flex; flex-direction: column; }
.onb__img { flex: 1; min-height: 0; position: relative; overflow: hidden; }
.onb__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.onb__text { padding: 18px 26px 4px; }
.onb__text h2 { margin: 0 0 8px; font-size: 27px; line-height: 1.3; font-feature-settings: "palt"; word-break: keep-all; }
.onb__text p { margin: 0; font-size: 15px; color: var(--ink2); line-height: 1.75; }
.onb__foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px calc(18px + var(--safe-b)); }
.onb__dots { display: flex; gap: 6px; }
.onb__dots i { width: 7px; height: 7px; border-radius: 4px; background: #c6d0cb; transition: width .3s, background-color .3s; }
.onb__dots i.on { width: 22px; background: var(--emerald); }
.onb__skip { position: absolute; top: calc(12px + var(--safe-t)); right: 14px; z-index: 2; }
.boot-fail { padding: 120px 28px; text-align: center; }

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

/* 背の低い画面では、電卓が1画面に収まるように詰める */
@media (max-height: 720px) {
  .freq-wrap { display: none; }
  .ctx { padding: 6px 12px 8px; }
  .display { min-height: 74px; padding-top: 2px; }
  .display__val { font-size: 40px; }
  .key { height: 44px; }
  .keys { gap: 6px; }
  .chips { padding-bottom: 6px; }
  .metarow { padding-bottom: 6px; }
}
