:root {
  --bg: #120F0D;
  --panel: #1E1915;
  --panel2: #272019;
  --line: #3A3028;
  --text: #F3EBDD;
  --sub: #A3968A;
  --faint: #6E645A;
  --amber: #E3A948;
  --amber2: #F6C873;
  --wine: #C2415A;
  --c: var(--amber);
  --serif: 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic UI', system-ui, sans-serif;
  --num: 'Cormorant Garamond', 'Times New Roman', serif;
  --ease-spring: cubic-bezier(.2, 1.25, .35, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--sans); overflow: hidden; overscroll-behavior: none; }
body {
  background:
    radial-gradient(120% 60% at 30% -10%, rgba(227, 169, 72, .16), transparent 60%),
    radial-gradient(80% 50% at 110% 110%, rgba(194, 65, 90, .10), transparent 60%),
    var(--bg);
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
button:active { transform: scale(.97); }
input, textarea, select { font: inherit; color: var(--text); }
svg { width: 1em; height: 1em; display: block; }
[hidden] { display: none !important; }

/* ───── メイン画面 ───── */
#app {
  height: 100dvh; max-width: 480px; margin: 0 auto; position: relative;
  display: grid; grid-template-rows: auto auto auto auto 1fr;
  padding-top: var(--safe-t);
}
@media (min-width: 520px) {
  #app { border-left: 1px solid rgba(255,255,255,.04); border-right: 1px solid rgba(255,255,255,.04); }
}
.hdr { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 6px; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-en { font-family: var(--num); font-style: italic; font-weight: 600; font-size: 28px; letter-spacing: .02em; color: var(--amber2); line-height: 1; }
.brand-sub { font-family: var(--serif); font-size: 11px; color: var(--sub); letter-spacing: .2em; }
.hdr-right { display: flex; align-items: center; gap: 6px; }
.hdr-month { font-family: var(--num); font-size: 17px; color: var(--sub); margin-right: 4px; letter-spacing: .05em; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: var(--sub); position: relative; }
.book-btn { border: 1px solid var(--line); background: var(--panel); color: var(--amber2); }
.book-btn .kanji { font-family: var(--serif); font-weight: 800; font-size: 18px; }
.book-btn .dot { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.warn { margin: 0 16px 6px; padding: 8px 12px; border-radius: 10px; background: rgba(194,65,90,.18); border: 1px solid rgba(194,65,90,.5); font-size: 12px; }

.week { display: grid; grid-template-columns: 32px repeat(7, 1fr) 32px; align-items: center; padding: 4px 8px 6px; }
.week .arrow { height: 52px; display: grid; place-items: center; color: var(--faint); font-size: 18px; }
.day { height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 14px; position: relative; }
.day .wd { font-size: 10px; color: var(--faint); }
.day .dn { font-family: var(--num); font-size: 20px; font-weight: 600; line-height: 1; color: var(--sub); }
.day.today .dn { color: var(--amber2); }
.day.future { opacity: .35; }
.day.sel { background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); }
.day.sel .dn { color: var(--text); }
.day.today.sel .dn { color: var(--amber2); }
.day .dots { display: flex; gap: 2px; height: 5px; }
.day .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--c); }
.day .dots i.rest { background: none; box-shadow: inset 0 0 0 1px var(--sub); }

.summary { margin: 0 16px 8px; padding: 12px 16px 12px; border-radius: 18px; background: linear-gradient(180deg, var(--panel), rgba(30,25,21,.6)); border: 1px solid rgba(255,255,255,.04); }
.sum-top { display: flex; justify-content: space-between; align-items: baseline; }
.sum-date { font-family: var(--serif); font-weight: 600; font-size: 15px; }
.sum-tag { font-size: 11px; color: var(--amber2); letter-spacing: .2em; font-family: var(--serif); }
.sum-today { font-size: 12px; color: var(--amber2); padding: 4px 10px; border: 1px solid rgba(227,169,72,.4); border-radius: 999px; }
.sum-mid { display: flex; align-items: flex-end; gap: 18px; margin-top: 4px; }
.sum-cups { display: flex; align-items: baseline; gap: 4px; }
.sum-cups b { font-family: var(--num); font-size: 44px; font-weight: 600; line-height: .9; color: var(--text); }
.sum-cups span { color: var(--sub); font-size: 13px; }
.sum-alc { font-size: 12px; color: var(--sub); padding-bottom: 4px; }
.sum-alc b { font-family: var(--num); font-size: 20px; color: var(--text); font-weight: 600; margin: 0 2px 0 6px; }
.sum-rest { margin-left: auto; font-size: 12px; color: var(--sub); padding: 6px 10px; border-radius: 999px; border: 1px dashed var(--line); display: flex; gap: 6px; align-items: center; }
.sum-rest.on { color: var(--text); border-style: solid; border-color: var(--sub); }
.sum-bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; margin-top: 10px; background: var(--panel2); }
.sum-bar i { background: var(--c); }
.sum-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: 11px; color: var(--sub); }
.sum-legend span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--c); margin-right: 5px; vertical-align: 1px; }

.list { overflow-y: auto; padding: 4px 16px 130px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.empty { text-align: center; padding: 8px 0 20px; color: var(--sub); }
.empty img { width: 100%; max-width: 360px; border-radius: 18px; display: block; margin: 0 auto 14px; opacity: .9; -webkit-mask-image: radial-gradient(90% 85% at 50% 55%, #000 55%, transparent 100%); mask-image: radial-gradient(90% 85% at 50% 55%, #000 55%, transparent 100%); }
.empty p { font-family: var(--serif); font-size: 17px; color: var(--text); margin: 0 0 4px; }
.empty small { font-size: 12px; }

.card-wrap { position: relative; margin-bottom: 10px; border-radius: 16px; animation: cardIn .45s both; overflow: hidden; }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } }
.card-under { position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(90deg, transparent, rgba(227,169,72,.85)); display: flex; align-items: center; justify-content: flex-end; padding-right: 18px; color: #241A0C; font-weight: 700; gap: 8px; font-size: 14px; }
.card-under svg { font-size: 20px; }
.card { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 10px 12px 10px 14px; border-radius: 16px; background: var(--panel); border: 1px solid rgba(255,255,255,.04); touch-action: pan-y; transition: transform .25s ease; }
.card::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); }
.card.dragging { transition: none; }
.thumb { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 45%, transparent), color-mix(in srgb, var(--c) 10%, var(--panel2))); color: color-mix(in srgb, var(--c) 70%, white); font-size: 34px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.c-body { min-width: 0; }
.c-top { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--sub); }
.c-en { color: var(--c); font-weight: 700; letter-spacing: .12em; font-size: 10px; }
.c-first { font-family: var(--serif); font-size: 10px; color: var(--amber2); border: 1px solid rgba(227,169,72,.5); border-radius: 4px; padding: 0 4px; line-height: 15px; }
.c-time { margin-left: auto; font-family: var(--num); font-size: 15px; color: var(--sub); }
.c-name { font-family: var(--serif); font-weight: 800; font-size: 17px; line-height: 1.3; margin: 2px 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag { font-size: 11px; padding: 1px 7px; border-radius: 6px; background: var(--panel2); color: var(--sub); }
.tag.place { color: var(--text); }
.c-bot { display: flex; align-items: center; gap: 10px; margin-top: 5px; font-size: 11px; color: var(--sub); }
.stars { display: flex; gap: 1px; color: var(--amber); font-size: 12px; }
.stars .off { color: var(--line); }
.c-meas { margin-left: auto; font-family: var(--num); font-size: 14px; }

.fab {
  position: absolute; right: 18px; bottom: calc(18px + var(--safe-b)); z-index: 5;
  display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 22px 0 18px; border-radius: 28px;
  background: linear-gradient(135deg, var(--amber), var(--amber2)); color: #2A1D0A; font-weight: 700; font-family: var(--serif); font-size: 16px;
  box-shadow: 0 10px 30px rgba(227,169,72,.35), 0 2px 0 rgba(255,255,255,.3) inset;
}
.fab-ic { font-size: 22px; }

/* ───── シート ───── */
#layer { position: fixed; inset: 0; pointer-events: none; z-index: 20; }
.scrim { position: fixed; inset: 0; background: rgba(5,4,3,.6); opacity: 0; transition: opacity .3s; pointer-events: auto; }
.scrim.on { opacity: 1; }
.sheet {
  position: fixed; left: 50%; bottom: 0; width: 100%; max-width: 480px; transform: translate(-50%, 105%);
  max-height: calc(100dvh - 40px - var(--safe-t)); display: flex; flex-direction: column;
  background: var(--panel); border-radius: 22px 22px 0 0; border-top: 1px solid rgba(255,255,255,.06);
  transition: transform .35s var(--ease-spring); pointer-events: auto; box-shadow: 0 -20px 60px rgba(0,0,0,.5);
}
.sheet.full { height: calc(100dvh - 24px - var(--safe-t)); }
.sheet.on { transform: translate(-50%, 0); }
.grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 8px auto 2px; flex: none; }
.sh-head { display: flex; align-items: center; gap: 10px; padding: 6px 16px 10px; flex: none; border-bottom: 1px solid rgba(255,255,255,.04); }
.sh-title { font-family: var(--serif); font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.sh-title svg { color: var(--c); font-size: 22px; }
.sh-head .sp { flex: 1; }
.link-btn { font-size: 13px; color: var(--sub); padding: 8px 4px; }
.sh-body { overflow-y: auto; padding: 12px 16px 24px; flex: 1; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sh-foot { flex: none; padding: 10px 16px calc(12px + var(--safe-b)); border-top: 1px solid rgba(255,255,255,.05); background: var(--panel); display: flex; gap: 10px; }
.btn-main { flex: 1; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--amber), var(--amber2)); color: #2A1D0A; font-weight: 700; font-family: var(--serif); font-size: 17px; letter-spacing: .1em; }
.btn-sub { height: 52px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--line); color: var(--sub); display: flex; align-items: center; gap: 6px; }
.btn-sub.danger { color: #E58A9B; }

/* なにを飲む？ */
.sec-h { font-size: 12px; color: var(--sub); letter-spacing: .1em; margin: 6px 0 8px; display: flex; align-items: center; gap: 8px; }
.sec-h::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.recent { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin: 0 -16px 14px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.recent::-webkit-scrollbar { display: none; }
.rc { flex: none; width: 150px; text-align: left; padding: 10px 12px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); border-left: 3px solid var(--c); }
.rc-n { display: flex; gap: 6px; align-items: center; font-family: var(--serif); font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; }
.rc-n svg { flex: none; color: var(--c); font-size: 16px; }
.rc-n span { overflow: hidden; text-overflow: ellipsis; }
.rc-s { font-size: 11px; color: var(--sub); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cat-tile { height: 96px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--c) 22%, transparent), var(--panel2) 75%); border: 1px solid color-mix(in srgb, var(--c) 35%, var(--line)); }
.cat-tile svg { font-size: 32px; color: var(--c); }
.cat-tile span { font-size: 14px; font-weight: 500; }

/* フォーム */
.fld { margin-bottom: 16px; }
.fld-l { font-size: 12px; color: var(--sub); margin-bottom: 7px; display: flex; align-items: baseline; gap: 8px; }
.fld-l small { color: var(--faint); font-size: 11px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  min-height: 40px; padding: 0 13px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); color: var(--sub);
  font-size: 14px; display: inline-flex; align-items: center; gap: 5px; position: relative; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: background .08s, border-color .08s;
}
.chip:active { transform: scale(.96); }
.chip.on { background: color-mix(in srgb, var(--c) 22%, var(--panel2)); border-color: var(--c); color: var(--text); }
.chip.auto::before { content: ''; position: absolute; top: 4px; left: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--c); }
.chip .hist { font-size: 12px; color: var(--faint); }
.chip.on .hist { color: var(--sub); }
.chip.ghost { border-style: dashed; color: var(--faint); }
.chip.back { color: var(--faint); }
.chip .x { font-size: 12px; opacity: .7; }
.chip-input { min-height: 40px; border-radius: 12px; background: var(--bg); border: 1px solid var(--c); padding: 0 12px; outline: none; font-size: 16px; width: 100%; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.steps .chip { justify-content: center; padding: 0 2px; font-size: 12px; }
.more-tg { display: flex; align-items: center; gap: 6px; color: var(--sub); font-size: 13px; padding: 8px 0 12px; }
.more-tg svg { transition: transform .2s; }
.more-tg.open svg { transform: rotate(180deg); }
.photo-row { display: flex; gap: 8px; margin-bottom: 16px; }
.photo-row .chip { flex: 1; justify-content: center; }
.photo-row svg { font-size: 18px; }
.photo-prev { position: relative; margin-bottom: 16px; }
.photo-prev img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; display: block; }
.photo-prev .acts { display: flex; gap: 8px; margin-top: 8px; }
.photo-prev .acts .chip { flex: 1; justify-content: center; }
.abv { display: flex; align-items: center; gap: 10px; }
.abv .chip { width: 44px; justify-content: center; font-size: 18px; padding: 0; }
.abv-v { font-family: var(--num); font-size: 26px; font-weight: 600; min-width: 80px; text-align: center; }
.abv-v small { font-family: var(--sans); font-size: 11px; color: var(--faint); margin-left: 3px; }
.abv-in { width: 90px; text-align: center; font-family: var(--num); font-size: 22px; background: var(--bg); border: 1px solid var(--amber); border-radius: 10px; height: 40px; }
.rate { display: flex; gap: 4px; }
.rate button { width: 44px; height: 44px; display: grid; place-items: center; font-size: 28px; color: var(--line); }
.rate button.on { color: var(--amber); }
.dt { position: relative; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); }
.dt b { font-family: var(--num); font-size: 20px; font-weight: 600; }
.dt span { color: var(--sub); font-size: 13px; }
.dt svg { margin-left: auto; color: var(--faint); }
.dt input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
textarea.memo { width: 100%; min-height: 90px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); padding: 10px 12px; font-size: 16px; resize: vertical; outline: none; }
textarea.memo:focus { border-color: var(--amber); }
.year-sel { height: 40px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); padding: 0 12px; font-family: var(--num); font-size: 18px; }
.note { font-size: 11px; color: var(--faint); margin-top: 6px; }
.subfld { margin-top: 10px; padding-left: 10px; border-left: 2px solid var(--line); }

/* トースト */
.toast {
  position: fixed; left: 50%; bottom: calc(90px + var(--safe-b)); transform: translate(-50%, 20px); opacity: 0;
  background: #2E261F; color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px;
  display: flex; align-items: center; gap: 14px; font-size: 14px; transition: .25s; pointer-events: auto; z-index: 40; box-shadow: 0 10px 30px rgba(0,0,0,.4); white-space: nowrap;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast button { color: var(--amber2); font-weight: 700; }
.toast.gold { background: linear-gradient(135deg, #8A6420, #E3A948 45%, #F6C873); color: #2A1D0A; border: 0; font-family: var(--serif); font-weight: 800; letter-spacing: .05em; box-shadow: 0 10px 40px rgba(227,169,72,.45); }

/* 写真ビュー */
.viewer { position: fixed; inset: 0; background: rgba(0,0,0,.94); display: grid; place-items: center; pointer-events: auto; opacity: 0; transition: opacity .2s; z-index: 50; }
.viewer.on { opacity: 1; }
.viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }
.viewer .icon-btn { position: absolute; top: calc(12px + var(--safe-t)); right: 12px; color: #fff; font-size: 24px; }

/* コレクション */
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg); margin: 0 16px; flex: none; }
.tabs button { flex: 1; height: 38px; border-radius: 10px; font-size: 14px; color: var(--sub); }
.tabs button.on { background: var(--panel2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.seg .chip { min-height: 34px; font-size: 13px; }
.tilemap { display: grid; gap: 3px; margin: 8px 0; }
.tile { aspect-ratio: 1; border-radius: 5px; background: var(--panel2); border: 1px solid rgba(255,255,255,.03); font-size: 9px; display: grid; place-items: center; color: var(--faint); padding: 0; line-height: 1; overflow: hidden; }
.tile.l1 { background: color-mix(in srgb, var(--c) 35%, var(--panel2)); color: var(--text); }
.tile.l2 { background: color-mix(in srgb, var(--c) 65%, var(--panel2)); color: var(--text); }
.tile.l3 { background: var(--c); color: #1B140E; font-weight: 700; }
.map-stat { font-size: 13px; color: var(--sub); margin: 6px 0 14px; }
.map-stat b { font-family: var(--num); font-size: 24px; color: var(--text); margin: 0 3px; }
.legend-scale { display: flex; gap: 10px; align-items: center; font-size: 11px; color: var(--faint); }
.legend-scale i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 4px; }
.cont { margin-bottom: 14px; }
.cont h4 { margin: 0 0 6px; font-size: 12px; color: var(--sub); font-weight: 500; }
.ctiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.ctile { min-height: 46px; border-radius: 9px; font-size: 11px; padding: 4px; aspect-ratio: auto; }
.blist { display: grid; gap: 8px; }
.brow { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: var(--panel2); }
.brow .thumb { width: 48px; height: 48px; font-size: 22px; border-radius: 9px; }
.brow b { font-family: var(--serif); font-size: 15px; display: block; }
.brow small { color: var(--sub); font-size: 11px; }
.comp { display: grid; gap: 10px; margin-bottom: 16px; }
.comp-r .fld-l b { font-family: var(--num); font-size: 16px; color: var(--text); }
.comp .chip { min-height: 28px; font-size: 11px; padding: 0 8px; border-radius: 8px; }
.comp .chip:not(.on) { background: transparent; color: var(--faint); border-style: dashed; }
.zgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.zc { border-radius: 14px; overflow: hidden; background: var(--panel2); border: 1px solid var(--line); text-align: left; }
.zc .thumb { width: 100%; height: auto; aspect-ratio: 1; border-radius: 0; font-size: 48px; }
.zc .zi { padding: 8px 10px 10px; }
.zc b { font-family: var(--serif); font-size: 14px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zc small { display: block; color: var(--sub); font-size: 11px; margin-top: 2px; }
.ach-g { font-size: 12px; color: var(--sub); letter-spacing: .15em; margin: 16px 0 8px; }
.ach { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 12px; border-radius: 14px; background: var(--panel2); margin-bottom: 8px; align-items: center; }
.medal { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 800; font-size: 14px; border: 1px dashed var(--line); color: var(--faint); }
.medal.t1 { background: radial-gradient(circle at 35% 30%, #E0A57A, #8A5532); color: #2A160A; border: 0; }
.medal.t2 { background: radial-gradient(circle at 35% 30%, #F2F2F2, #8E949B); color: #24272A; border: 0; }
.medal.t3, .medal.max { background: radial-gradient(circle at 35% 30%, #FBE3A0, #C88E2A); color: #2A1D0A; border: 0; box-shadow: 0 0 14px rgba(227,169,72,.4); }
.ach b { font-family: var(--serif); font-size: 15px; }
.ach p { margin: 2px 0 6px; font-size: 11px; color: var(--sub); }
.bar { height: 5px; background: var(--bg); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--amber2)); }
.ach .nx { display: flex; justify-content: space-between; font-size: 11px; color: var(--sub); margin-top: 4px; }
.home-set { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); font-size: 13px; }
.home-set select { margin-left: auto; height: 36px; border-radius: 10px; background: var(--panel2); border: 1px solid var(--line); padding: 0 10px; }

/* データ */
.dsec { padding: 14px; border-radius: 14px; background: var(--panel2); margin-bottom: 12px; font-size: 13px; color: var(--sub); line-height: 1.7; }
.dsec h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 16px; color: var(--text); }
.dsec .chip { margin-top: 8px; }
.dsec ol { padding-left: 1.3em; margin: 6px 0; }
.meter { height: 6px; background: var(--bg); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; background: var(--amber); }

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