/* おでかけ 空もよう｜SORAMOYO — Design A（Living Sky Bento） */
:root {
  --paper: #f1f6fb;
  --paper-2: #e2edf8;
  --ink: #0f294a;        /* 深い空紺（本文 12:1 以上） */
  --ink-2: #334e6f;      /* 補足文字（7:1 以上） */
  --shu: #0284c7;        /* スカイブルー主アクセント */
  --shu-ink: #0369a1;    /* 文字用スカイブルー（4.5:1 以上） */
  --coral: #dc2626;      /* 日曜・注意アクセント */
  --mizu: #e0f2fe;       /* 空の淡い面 */
  --rule: rgba(15, 41, 74, .22);
  --f-head: 'M PLUS Rounded 1c', 'BIZ UDPGothic', 'Hiragino Sans', sans-serif;
  --f-body: 'BIZ UDPGothic', 'Hiragino Sans', sans-serif;
  --f-num: 'Plus Jakarta Sans', 'Barlow Condensed', 'BIZ UDPGothic', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  background: linear-gradient(180deg, #e0f2fe 0%, #f1f6fb 220px, #f8fafc 100%);
}
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--shu); outline-offset: 2px; }

.sheet { max-width: 1280px; margin: 0 auto; padding: 0 16px 24px; overflow-x: clip; }

/* ── 題字 ── */
.mast {
  display: grid; grid-template-columns: 64px 1fr; gap: 4px 12px; align-items: end;
  padding: 14px 0 0; border-bottom: 3px double var(--ink);
}
.mast-vane { width: 64px; height: auto; align-self: start; margin-top: 2px; }
.mast-kicker {
  margin: 0; display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .06em;
  border-bottom: 1px solid var(--rule); padding-bottom: 3px;
}
.mast-no { font-family: var(--f-num); font-weight: 500; font-size: 14px; letter-spacing: .04em; }
.mast-title {
  margin: 2px 0 0; font-family: var(--f-head); font-weight: 800; font-size: 40px; line-height: 1.1; letter-spacing: .12em;
  text-shadow: 2px 1.5px 0 rgba(216, 69, 43, .55);
}
/* 副題（2026-11-27 ユーザーの決定）：はじめの画面と印刷だけに出す（毎日開く画面では題字を高くしない） */
.mast-sub { display: none; margin: 3px 0 0; font-family: var(--f-head); font-weight: 800; font-size: 14px; line-height: 1.4; letter-spacing: .06em; }
body[data-view="setup"] .mast-sub { display: block; }
@media print { .mast-sub { display: block; font-size: 13px; } }
.mast-issued { margin: 6px 0 8px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.issued-date { font-family: var(--f-head); font-weight: 600; font-size: 14px; text-wrap: balance; word-break: auto-phrase; } /* 特大で最後の「ら」だけ次の行に落ちないように（u8） */
.issued-what {
  font-family: var(--f-head); font-weight: 800; font-size: 14px; color: var(--paper); background: var(--ink);
  padding: 1px 10px 2px; letter-spacing: .14em;
}
.tabs { grid-column: 1 / -1; display: flex; margin-top: 2px; }
.tab {
  flex: 1; min-height: 46px; display: grid; place-items: center; text-decoration: none;
  font-family: var(--f-head); font-weight: 800; font-size: 15px; letter-spacing: .12em;
  border-top: 1px solid var(--rule); position: relative;
}
.tab + .tab { border-left: 1px solid var(--rule); }
.tab[aria-current="page"] { color: var(--shu-ink); }
.tab[aria-current="page"]::after { content: ''; position: absolute; left: 18%; right: 18%; bottom: 6px; height: 3px; background: var(--shu); }

/* ── 見出しの共通 ── */
.sec-title {
  margin: 22px 0 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-family: var(--f-head); font-weight: 800; font-size: 19px; letter-spacing: .1em;
  border-bottom: 1.5px solid var(--ink); padding-bottom: 4px;
}
.sec-title small { font-family: var(--f-body); font-weight: 400; font-size: 13px; letter-spacing: .02em; color: var(--ink-2); text-align: right; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend {
  padding: 0; margin-bottom: 6px; font-family: var(--f-head); font-weight: 800; font-size: 16px; letter-spacing: .12em;
  display: flex; align-items: baseline; gap: 8px;
}
legend small { font-family: var(--f-body); font-weight: 400; font-size: 13px; letter-spacing: .02em; color: var(--ink-2); }

/* ── 画面の出し分け（スマホは週と日を別の画面に） ── */
body[data-view="week"] #daypane { display: none; }
body[data-view="day"] #weekpane { display: none; }

/* ── 発表の曜日 ── */
.deliver {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px;
  margin-top: 12px; padding: 4px 0 8px; border-bottom: 1px solid var(--rule);
}
.deliver-line { margin: 0; font-size: 14px; display: flex; align-items: center; gap: 8px; line-height: 1.45; }
.deliver-line b { font-family: var(--f-head); font-weight: 800; font-size: 17px; }
.deliver-line small { display: block; font-size: 13px; color: var(--ink-2); }
.deliver-mark {
  flex: none; border: 1.5px solid var(--shu); color: var(--shu-ink); font: 800 13px var(--f-head);
  padding: 1px 6px; transform: rotate(-5deg); letter-spacing: .1em;
}
.deliver-btn, .preset-btn, .notice-btn {
  min-height: 44px; padding: 0 14px; border: 1.5px solid var(--ink); background: var(--paper); font-weight: 700; font-size: 14px; cursor: pointer;
}
.deliver-pick { grid-column: 1 / -1; }
.deliver-q { margin: 2px 0 6px; font-size: 13px; color: var(--ink-2); }
.deliver-list { display: grid; grid-template-columns: repeat(7, 1fr); border: 1.5px solid var(--ink); }
.deliver-day { min-height: 44px; border: 0; background: transparent; font: 800 16px var(--f-head); cursor: pointer; }
.deliver-day + .deliver-day { border-left: 1px solid var(--rule); }
.deliver-day[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ── おでかけする曜日 ── */
.pick { margin-top: 14px; }
.dow-list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1.5px solid var(--ink); }
.dow-btn {
  min-height: 60px; border: 0; background: transparent; cursor: pointer; display: grid; align-content: center; justify-items: center; gap: 0;
  padding: 4px 0;
}
.dow-btn + .dow-btn { border-left: 1px solid var(--rule); }
.dow-btn b { font: 800 21px/1.1 var(--f-head); }
.dow-btn small { font: 500 14px/1.1 var(--f-num); letter-spacing: .02em; }
.dow-btn.dow-sun b { color: var(--shu-ink); }
.dow-btn[aria-pressed="true"] {
  background: var(--ink); color: var(--paper);
  background-image: radial-gradient(rgba(242,234,216,.14) 1px, transparent 1.3px); background-size: 4px 4px;
}
.dow-btn.dow-sun[aria-pressed="true"] b { color: #ffd2c6; }
.dow-btn[aria-pressed="false"] b::after { content: ''; }
.presets { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.preset-btn[aria-pressed="true"] { background: var(--mizu); box-shadow: inset 0 -3px 0 var(--shu); }

/* ── 週間の表 ── */
.wk-title { margin-top: 20px; }
.src-line { margin: -2px 0 8px; font-size: 13.5px; line-height: 1.55; }
.src-line b { font-weight: 700; }
.wk { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
/* 1 日 1 行。スマホは畳んだ形（日付・空・顔ぶれ・いちばん・車で何分）が既定、押すと開く */
.wk-row { border-bottom: 1px solid var(--rule); position: relative; }
.wk-head {
  width: 100%; display: grid; grid-template-columns: 54px 44px minmax(0, 1fr) 22px; column-gap: 8px; align-items: center;
  padding: 8px 0; border: 0; background: transparent; text-align: left; cursor: pointer; min-height: 68px;
}
.wk-head:hover { background: rgba(214,229,232,.3); }
.wk-skybox { position: relative; display: grid; place-items: center; }
.wk-rainmk { position: absolute; right: -4px; bottom: -4px; font: 800 13px/1 var(--f-head); color: #fff; background: var(--ink); padding: 2px 3px; }
.wk-sum { display: grid; gap: 1px; min-width: 0; }
.wk-sum1 { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sum-top { font: 800 13px var(--f-head); color: var(--shu-ink); border: 1.5px solid var(--shu); border-radius: 999px; padding: 0 7px; }
.wk-sum2 { display: flex; align-items: baseline; gap: 6px; min-width: 0; font-family: var(--f-head); font-weight: 800; font-size: 15px; line-height: 1.35; }
.sum-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-sum2.dim { font-family: var(--f-body); font-weight: 400; font-size: 13.5px; color: var(--ink-2); }
.wk-sum2.dim .sum-name { white-space: normal; }
.sum-drive { flex: none; font-family: var(--f-body); font-weight: 700; font-size: 13px; color: var(--shu-ink); }
.wk-chev { font-size: 16px; color: var(--shu-ink); text-align: center; }
.wk-body { display: none; padding: 0 0 12px; }
.wk-row.is-open .wk-body { display: block; }
.wk-row.is-open .wk-head { background: rgba(214,229,232,.35); }
.wk-row.off .wk-head { opacity: .62; }
.wk-sky.big { width: 34px; height: 34px; }
.wx-none { display: grid; place-items: center; width: 36px; height: 36px; color: var(--ink-2); font-size: 18px; }
.wk-date {
  align-self: center; display: grid; justify-items: center; border: 1.5px solid var(--ink);
  padding: 4px 0 3px; background: var(--paper);
}
.wk-dow { font: 800 27px/1.1 var(--f-head); }
.wk-md { font: 500 15px/1.2 var(--f-num); }
.dow-sun .wk-dow { color: var(--shu-ink); }
.dow-sat .wk-date, .dow-sun .wk-date { background: var(--mizu); }
.wk-wx { display: flex; margin: 2px 0 4px; flex-wrap: wrap; align-items: center; gap: 2px 10px; font-size: 13.5px; min-height: 40px; }
.wk-sky { width: 36px; height: 36px; object-fit: contain; }
.rain-glyph { position: relative; display: block; width: 40px; height: 40px; flex: none; }
.rain-glyph img { width: 40px; height: 28px; object-fit: contain; }
.rain-glyph svg { position: absolute; left: 0; bottom: 0; width: 40px; height: 14px; }
.wk-word { font: 800 17px var(--f-head); }
.wk-temp { font: 500 18px var(--f-num); letter-spacing: .02em; }
.hi { color: var(--shu-ink); font-weight: 700; }
.wk-pop { font-size: 13.5px; }
.wk-rel { font-size: 13px; border: 1px solid var(--ink); padding: 0 6px; line-height: 1.5; }
.wk-rel.rel-C { border: 1.5px dashed var(--shu); color: var(--shu-ink); font-weight: 700; }
.wk-lab { font-size: 13px; color: var(--ink-2); letter-spacing: .06em; }

.wk-party { margin-top: 2px; }
.party-btn {
  width: 100%; min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 0; border: 0; border-bottom: 1px dotted var(--rule);
  background: transparent; cursor: pointer; text-align: left;
}
.party-btn b { font-size: 15px; font-weight: 700; }
.party-chg { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--shu-ink); border: 1px solid var(--shu); padding: 2px 8px; }
.party-pick { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--ink); margin: 6px 0 2px; }
.party-pick button { min-height: 46px; border: 0; background: transparent; font-weight: 700; font-size: 14px; cursor: pointer; }
.party-pick button:nth-child(even) { border-left: 1px solid var(--rule); }
.party-pick button:nth-child(n+3) { border-top: 1px solid var(--rule); }
.party-pick button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* 1 週間の画面の頭：次のおでかけの日のいちばん（u8） */
.wk-next { margin: 10px 0 14px; }
.nx-when { margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.nx-when b { font: 800 17px/1.3 var(--f-head); color: var(--shu-ink); }
.nx-when span { font-size: 14px; color: var(--ink-2); }
.nx-card { display: grid; gap: 4px; text-decoration: none; color: var(--ink); border: 2px solid var(--ink); background: rgba(242,234,216,.85); padding: 10px 12px; }
.nx-card:hover { background: rgba(214,229,232,.45); }
.nx-name { font: 800 20px/1.35 var(--f-head); overflow-wrap: anywhere; }
.nx-nums { font-size: 15px; font-weight: 700; }
.nx-why { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.nx-go { display: block; margin-top: 6px; min-height: 48px; line-height: 48px; text-align: center; font-weight: 800; font-size: 16px; background: var(--ink); color: var(--paper); }
.wk-best {
  margin-top: 8px; position: relative; text-decoration: none; color: var(--ink);
  display: grid; grid-template-columns: minmax(0, 1fr) 70px; column-gap: 10px;
  grid-template-areas: "lab illo" "name illo" "nums nums" "fit fit" "more more";
  border: 1.5px solid var(--ink); padding: 8px 10px 8px; background: rgba(242,234,216,.7);
}
.wk-best::after { content: ''; position: absolute; inset: 3px -4px -4px 3px; border: 1px solid rgba(216,69,43,.45); pointer-events: none; z-index: -1; }
.wk-best:hover { background: rgba(214,229,232,.45); }
.wk-best .wk-lab { grid-area: lab; }
.wk-illo { grid-area: illo; width: 70px; height: 70px; object-fit: contain; align-self: start; }
.wk-name { grid-area: name; font: 800 17px/1.35 var(--f-head); align-self: start; }
.wk-nums { grid-area: nums; display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 6px; border-top: 1px solid var(--rule); padding-top: 4px; }
.wk-fit { grid-area: fit; margin-top: 6px; }
.wk-more { grid-area: more; margin-top: 6px; text-align: right; font-size: 13.5px; font-weight: 700; color: var(--shu-ink); }
.wk-none { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.alltop-mini { display: inline-flex; align-items: center; gap: 6px; color: var(--shu-ink); border: 2px solid var(--shu); border-radius: 999px; padding: 2px 12px 2px 4px; background: rgba(242,234,216,.85); transform: rotate(-2deg); }
.alltop-mini img { width: 26px; height: 26px; }
.alltop-mini b { font: 800 15px var(--f-head); letter-spacing: .08em; }
.alltop-mini small { font-size: 13px; }

.wk-notes { display: grid; gap: 6px; margin-top: 10px; }
.wk-note { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 1.45; padding: 5px 8px; border-left: 3px solid var(--ink); }
.wk-note b { font-weight: 700; }
.n-rain { background: rgba(37,54,106,.06); }
.mini-front { width: 46px; height: 16px; flex: none; }
.n-mk { flex: none; font: 800 13px/1 var(--f-head); border: 1.5px solid currentColor; padding: 3px 5px; }
.n-relc { border-left: 3px dashed var(--shu); color: var(--shu-ink); }

.wk-off {
  width: 100%; min-height: 46px; margin-top: 4px; text-align: left; padding: 6px 10px; cursor: pointer;
  border: 1.5px dashed var(--rule); background: transparent; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px;
}
.wk-off b { font: 800 15px var(--f-head); color: var(--ink-2); letter-spacing: .1em; }
.wk-off small { font-size: 13px; color: var(--ink-2); }
.wk-off:hover { background: rgba(214,229,232,.4); }
.rel-key { margin: 8px 0 0; font-size: 13px; color: var(--ink-2); }

/* ── その日の天気図 ── */
.back { display: inline-flex; align-items: center; min-height: 46px; font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 1.5px solid var(--shu); margin-top: 6px; color: var(--ink); }
.strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1.5px solid var(--ink); margin-top: 8px; }
.strip-day {
  min-height: 92px; border: 0; background: transparent; cursor: pointer; padding: 5px 0 6px;
  display: grid; justify-items: center; align-content: start; gap: 1px; position: relative;
}
.strip-day + .strip-day { border-left: 1px solid var(--rule); }
.strip-day b { font: 800 18px/1.15 var(--f-head); }
.strip-day.dow-sun b { color: var(--shu-ink); }
.strip-sky { width: 30px; height: 30px; object-fit: contain; }
.strip-day .rain-glyph { width: 32px; height: 30px; }
.strip-day .rain-glyph img { width: 32px; height: 22px; }
.strip-day .rain-glyph svg { width: 32px; height: 11px; }
.strip-t { font: 500 15px/1.1 var(--f-num); }
.strip-p { font: 500 14px/1.1 var(--f-num); color: var(--ink-2); }
.strip-day.off { opacity: .5; }
.strip-day.off::after { content: 'なし'; position: absolute; top: 3px; right: 2px; font-size: 13px; display: none; }
.strip-day[aria-pressed="true"] { background: var(--mizu); box-shadow: inset 0 -4px 0 var(--shu); opacity: 1; }

.day-head { margin-top: 12px; }
.day-title { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 800; }
.day-dow { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--ink); font-size: 27px; background: var(--mizu); }
.day-dow.dow-sun { color: var(--shu-ink); }
.day-title > span { font-size: 26px; letter-spacing: .04em; text-shadow: 1.5px 1px 0 rgba(216,69,43,.4); }
.day-title small { font-size: 16px; letter-spacing: .1em; }
.day-wx { margin: 6px 0 0; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.day-wx b { font: 800 16px var(--f-head); }
.day-wx small { display: block; font-size: 13px; color: var(--ink-2); }
.day-sky { width: 40px; height: 40px; object-fit: contain; }

.zone { margin-top: 14px; }
.zone-list { display: grid; grid-template-columns: repeat(4, 1fr); border: 1.5px solid var(--ink); }
.zone-btn {
  min-height: 60px; padding: 6px 2px 5px; border: 0; background: transparent; cursor: pointer;
  display: grid; gap: 1px; align-content: center; justify-items: center; text-align: center;
}
.zone-btn + .zone-btn { border-left: 1px solid var(--rule); }
.zone-name { font-weight: 700; font-size: 13.5px; line-height: 1.25; }
.zone-who { font-size: 13px; color: var(--ink-2); line-height: 1.25; }
.zone-btn[aria-pressed="true"] {
  background: var(--ink); color: var(--paper);
  background-image: radial-gradient(rgba(242,234,216,.13) 1px, transparent 1.3px); background-size: 4px 4px;
}
.zone-btn[aria-pressed="true"] .zone-who { color: #d6dcef; }

.notice { margin-top: 12px; border: 1.5px dashed var(--ink); padding: 8px 10px; display: grid; gap: 6px; font-size: 14px; }
.notice p { margin: 0; display: flex; align-items: center; gap: 8px; line-height: 1.5; }
.notice p:first-child:has(.notice-btn) { flex-wrap: wrap; }
.notice .n-mk { color: var(--ink); }

.revision {
  margin-top: 12px; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center;
  border: 1.5px solid var(--shu); padding: 8px 10px; color: var(--shu-ink); background: rgba(216,69,43,.06);
}
.revision p { margin: 0; font-size: 14px; line-height: 1.5; }
.revision b { font-family: var(--f-head); font-weight: 800; }
.revision small { color: var(--ink); font-size: 13px; }
.revision-stamp {
  width: 48px; height: 48px; border: 2.5px solid var(--shu); border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-head); font-weight: 800; font-size: 15px; color: var(--shu-ink); transform: rotate(-12deg);
}
.revision.pop .revision-stamp { animation: stampIn .5s cubic-bezier(.2,1.6,.4,1) both .9s; }

/* ── 天気図 ── */
.chart { margin: 14px 0 0; }
.chart-cap { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; letter-spacing: .04em; padding: 0 2px 4px; font-family: var(--f-head); font-weight: 600; }
#chart { display: block; width: 100%; height: auto; background: var(--paper); border: 1.5px solid var(--ink); overflow: hidden; }
.ch-sea { font-family: var(--f-head); font-weight: 600; font-size: 13px; fill: #4f7280; writing-mode: vertical-rl; letter-spacing: .3em; }
.ch-grid line { stroke: var(--ink); stroke-opacity: .12; stroke-dasharray: 2 4; }
.ch-iso path { fill: none; stroke: var(--ink); }
.ch-iso .iso-sub { stroke-opacity: .45; }
.ch-iso .iso-main { stroke-opacity: .95; }
.iso-gap { fill: var(--paper); }
.iso-label { font-family: var(--f-num); font-weight: 700; font-size: 15px; fill: var(--ink); text-anchor: middle; }
.ch-north path { fill: var(--ink); }
.ch-north text { font-family: var(--f-head); font-weight: 800; font-size: 13px; fill: var(--ink); text-anchor: middle; }
.ch-home .home-ring { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.home-glyph { font-family: var(--f-head); font-weight: 800; font-size: 24px; fill: var(--ink); text-anchor: middle; }
.home-sub { font-family: var(--f-body); font-weight: 700; font-size: 13px; fill: var(--ink); text-anchor: middle; letter-spacing: .2em; paint-order: stroke; stroke: var(--paper); stroke-width: 3px; }
.off-dot { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; stroke-opacity: .55; }
.miss circle { fill: var(--paper); stroke: var(--ink); stroke-opacity: .55; stroke-width: 1.2; stroke-dasharray: 2.5 2; }
.miss path { stroke: var(--ink); stroke-opacity: .55; stroke-width: 1.4; }
.miss { animation: fadeIn .8s ease both .6s; }
.stn { transition: transform .9s cubic-bezier(.6,.05,.25,1); }
.stn-dot { fill: var(--shu); stroke: var(--paper); stroke-width: 2.5; }
.stn-no { font-family: var(--f-num); font-weight: 700; font-size: 15px; fill: #fff; text-anchor: middle; }
.stn-rays { opacity: 0; transition: opacity .4s; }
.stn-rays line { stroke: var(--shu); stroke-width: 2.2; stroke-linecap: round; }
.stn.all-top .stn-rays { opacity: 1; animation: spin 14s linear infinite; }
.ch-labels { opacity: 0; }
.ch-labels.in { animation: fadeIn .5s ease both .55s; }
.lbl-bg { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.lbl-name { font-family: var(--f-head); font-weight: 800; font-size: 15px; fill: var(--ink); }
.lbl-sub { font-family: var(--f-body); font-weight: 700; font-size: 13px; fill: var(--shu-ink); }
.lbl-lead { fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-dasharray: 3 2; }
.ch-rain { opacity: 0; transition: opacity 1s ease .5s; }
.ch-fronts { transform: translateX(-440px); transition: transform 1.4s cubic-bezier(.3,.1,.2,1); }
.is-rain .ch-rain { opacity: 1; }
.is-rain .ch-fronts { transform: translateX(0); }
.front-line { fill: none; stroke: var(--ink); stroke-width: 2.2; }
.sym-cold { fill: var(--ink); }
.sym-warm { fill: var(--shu); }
.front-label { font-family: var(--f-head); font-weight: 800; font-size: 13px; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 3.5px; }
.ch-low circle { fill: var(--paper); stroke: var(--shu); stroke-width: 2; }
.ch-low text { font-family: var(--f-head); font-weight: 800; font-size: 17px; fill: var(--shu-ink); text-anchor: middle; }
.legend { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; }
.legend li { display: flex; align-items: center; gap: 5px; }
.lg-ring { width: 18px; height: 10px; border: 1.5px solid var(--ink); border-radius: 50%; }
.lg-stn { width: 17px; height: 17px; border-radius: 50%; background: var(--shu); color: #fff; font: 700 13px/17px var(--f-num); text-align: center; }
.lg-off { width: 9px; height: 9px; border-radius: 50%; border: 1.2px solid var(--ink-2); }
.lg-miss { width: 15px; height: 15px; border-radius: 50%; border: 1.2px dashed var(--ink-2); font-size: 13px; line-height: 13px; text-align: center; }
.lg-rain-only { display: none !important; }
.is-rain .lg-rain-only { display: flex !important; }
.lg-note { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }

/* ── 地点予報の札 ── */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.card { position: relative; }
.card.swap { animation: cardIn .55s cubic-bezier(.2,.8,.2,1) both; }
.card-link {
  display: grid; grid-template-columns: 34px 1fr 76px; grid-template-areas:
    "no cat illo" "no name illo" "nums nums nums" "chips chips chips" "note note note" "src src src";
  gap: 2px 10px; padding: 10px 12px 10px 10px; text-decoration: none; color: var(--ink);
  border: 1.5px solid var(--ink); background: rgba(242,234,216,.6); position: relative;
}
.card-link:hover { background: rgba(214,229,232,.45); }
.card-link::after { content: ''; position: absolute; inset: 3px -4px -4px 3px; border: 1px solid rgba(216,69,43,.45); pointer-events: none; z-index: -1; }
.card-no { grid-area: no; font-family: var(--f-head); font-weight: 800; font-size: 30px; line-height: 1; color: var(--shu-ink); text-shadow: 1.5px 1px 0 rgba(37,54,106,.35); }
.card-illo { grid-area: illo; width: 76px; height: 76px; object-fit: contain; align-self: start; }
.card-cat { grid-area: cat; font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.card-cat em { font-style: normal; font-weight: 700; color: var(--paper); background: var(--shu-ink); padding: 0 6px; font-size: 13px; }
.card-name { grid-area: name; font-family: var(--f-head); font-weight: 800; font-size: 17px; line-height: 1.35; }
.card-nums { grid-area: nums; display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 6px; border-top: 1px solid var(--rule); padding-top: 6px; }
.num { display: inline-flex; align-items: baseline; gap: 3px; }
.num small { font-size: 13px; }
.num b { font-family: var(--f-num); font-weight: 700; font-size: 28px; line-height: 1.05; letter-spacing: .01em; }
.wk-nums .num b { font-size: 24px; }
.chips { grid-area: chips; list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.chip { display: inline-flex; align-items: center; gap: 2px; padding: 2px 7px 2px 3px; border: 1px solid var(--rule); background: var(--paper); }
.chip img { width: 22px; height: 22px; object-fit: contain; }
.chip-mk { font-weight: 700; font-size: 15px; line-height: 1.1; }
.chip-who { font-size: 13px; line-height: 1.1; color: var(--ink-2); margin-left: 2px; }
.chip-note { font-size: 13px; line-height: 1.1; color: var(--ink-2); }
.chip.v2 { background: var(--mizu); }
.chip.v2 .chip-mk { color: var(--shu-ink); }
.chip.v0 { border-style: dashed; }
.chips.mini .chip img { width: 18px; height: 18px; }
.chips.mini .chip { padding: 1px 6px 1px 2px; }
.card-src { grid-area: src; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.alltop-stamp {
  position: absolute; right: 10px; top: 82px; display: grid; justify-items: center;
  width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--shu); color: var(--shu-ink); background: rgba(242,234,216,.88);
  transform: rotate(-10deg); align-content: center; animation: stampIn .5s cubic-bezier(.2,1.6,.4,1) both .7s;
}
.alltop-stamp img { width: 24px; height: 24px; }
.alltop-stamp b { font-family: var(--f-head); font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.alltop-stamp.big { width: 88px; height: 88px; right: 4px; top: auto; bottom: 4px; }
.alltop-stamp.big img { width: 34px; height: 34px; }
.alltop-stamp.big b { font-size: 14px; }
.is-alltop .card-nums { padding-right: 70px; }
.sky-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 12px 0 0; font-size: 13px; }
.sky-key span { display: inline-flex; align-items: center; gap: 4px; }
.sky-key img { width: 22px; height: 22px; object-fit: contain; }

/* ── 地点の詳しい予報 ── */
.d-kicker { margin: 10px 0 2px; font-family: var(--f-head); font-weight: 800; font-size: 14px; letter-spacing: .12em; color: var(--shu-ink); }
.d-kicker span { font-family: var(--f-body); font-weight: 400; letter-spacing: .02em; color: var(--ink-2); font-size: 13px; }
.d-name { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: 24px; line-height: 1.3; text-shadow: 1.5px 1px 0 rgba(216,69,43,.4); }
.d-no { color: var(--shu-ink); margin-right: 6px; }
.d-cat { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.d-illo { position: relative; margin: 8px auto 0; max-width: 300px; }
.d-illo > img { width: 100%; height: auto; }
.d-warn { margin: 8px 0 0; padding: 6px 10px; border: 1.5px dashed var(--shu); color: var(--shu-ink); font-size: 14px; }
.d-facts { margin: 12px 0 0; display: grid; border-top: 1.5px solid var(--ink); }
.d-facts div { display: grid; grid-template-columns: 64px 1fr; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.d-facts dt { font-family: var(--f-head); font-weight: 800; font-size: 14px; }
.d-facts dd { margin: 0; font-size: 14px; }
.mono { font-family: var(--f-mono); font-size: 14px; }
.cond { font-family: var(--f-num); font-weight: 700; font-size: 22px; line-height: 1; }
.wind { font-size: 13px; color: var(--ink-2); margin-left: 8px; }
.tags { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 13px; padding: 2px 8px; border: 1px solid var(--ink); background: var(--mizu); }
.tags li::before { content: '・'; color: var(--shu-ink); }
.wx-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.wx-table thead th { font-family: var(--f-head); font-weight: 800; font-size: 13px; text-align: left; padding: 4px 6px; border-bottom: 1.5px solid var(--ink); letter-spacing: .1em; }
.wx-table tbody th { text-align: left; font-weight: 700; padding: 8px 6px; white-space: nowrap; width: 4.5em; }
.wx-table td { padding: 6px 6px; vertical-align: middle; }
.wx-table tbody tr { border-bottom: 1px solid var(--rule); }
.wx-table tbody tr:nth-child(odd) { background: rgba(214,229,232,.35); }
.t-sky { white-space: nowrap; width: 7.6em; }
.t-sky img { width: 30px; height: 30px; object-fit: contain; display: inline-block; vertical-align: middle; }
.t-sky b { font-size: 18px; margin: 0 3px; vertical-align: middle; }
.t-sky small { font-size: 13px; color: var(--ink-2); vertical-align: middle; }
tr.v2 .t-sky b { color: var(--shu-ink); }
.t-why { font-size: 13.5px; line-height: 1.45; }
.t-why-i { display: block; } /* 直し p：設備は 1 つずつの行に */
.t-why-h { display: block; font-size: 13px; color: var(--ink-2); } /* 直し p：わけの見出し（「施設の案内から：」）を別の行に */
.ledger { font-family: var(--f-mono); font-size: 14px; border-top: 1.5px solid var(--ink); }
.ledger-row { display: grid; grid-template-columns: 5.4em 4.6em 1fr auto; gap: 4px; padding: 5px 2px; border-bottom: 1px dotted var(--rule); align-items: baseline; }
.ledger-row .l-k { font-family: var(--f-head); font-weight: 800; font-size: 14px; }
.ledger-row .l-who { font-family: var(--f-body); font-size: 13px; }
.ledger-row .l-calc { color: var(--ink-2); text-align: right; }
.ledger-row .l-v { text-align: right; min-width: 5.5em; font-weight: 600; }
.ledger-row.total { border-bottom: 3px double var(--ink); }
.ledger-row.total .l-v { font-family: var(--f-num); font-weight: 700; font-size: 28px; color: var(--shu-ink); }
.ledger-row.total .l-v small { font-family: var(--f-body); font-size: 13px; margin-left: 2px; }
.ledger-read { font-size: 13px; color: var(--ink-2); margin: 6px 0 0; font-family: var(--f-mono); letter-spacing: -.02em; line-height: 1.6; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 6px; }
.btn {
  min-height: 48px; display: grid; place-items: center; text-align: center; padding: 6px 10px; font: 700 14px var(--f-body);
  color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--mizu); }
.btn-went {
  grid-column: 1 / -1; min-height: 56px; font-family: var(--f-head); font-weight: 800; font-size: 20px; letter-spacing: .3em;
  background: var(--shu); color: #fff; border-color: var(--shu); box-shadow: 3px 3px 0 var(--ink);
}
.btn-went:hover { background: #c63c23; }
.btn-went:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-went:disabled { background: var(--paper); color: var(--shu-ink); box-shadow: none; letter-spacing: .1em; font-size: 16px; cursor: default; }
.visit-stamp {
  position: absolute; left: 4px; top: 6px; width: 96px; height: 96px; border-radius: 50%; border: 3px double var(--shu);
  color: var(--shu-ink); display: grid; place-content: center; text-align: center; transform: rotate(-14deg) scale(.6); opacity: 0;
  background: rgba(242,234,216,.78);
}
.visit-stamp b { font-family: var(--f-head); font-weight: 800; font-size: 20px; letter-spacing: .1em; }
.visit-stamp small { font-family: var(--f-num); font-weight: 700; font-size: 15px; }
.visit-stamp.on { opacity: 1; transform: rotate(-14deg) scale(1); }
.visit-stamp.slam { animation: slam .55s cubic-bezier(.2,1.5,.35,1) both; }

/* ── 観測記録（制覇帳） ── */
.log-title { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: 22px; display: flex; align-items: baseline; gap: 6px; }
.log-title .cond { font-size: 56px; color: var(--shu-ink); text-shadow: 2px 1.5px 0 rgba(37,54,106,.3); }
.log-title span { font-size: 18px; }
.gauge { display: grid; grid-template-columns: 1fr 64px; gap: 12px; align-items: center; margin-top: 8px; }
.gauge-tube { position: relative; height: 30px; border: 1.5px solid var(--ink); background: var(--paper); }
.gauge-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 100%); background: var(--ink);
  background-image: radial-gradient(rgba(242,234,216,.18) 1px, transparent 1.3px); background-size: 4px 4px;
  animation: fill 1.2s cubic-bezier(.3,.1,.2,1) both .2s;
}
.gauge-tick { position: absolute; left: calc(var(--i) * 100%); top: 100%; height: 0; font: 600 13px var(--f-mono); transform: translateX(-50%); padding-top: 8px; }
.gauge-tick::before { content: ''; position: absolute; left: 50%; top: 0; width: 1px; height: 6px; background: var(--ink); }
.gauge-illo { width: 64px; height: auto; margin-top: -18px; }
.log-note { font-size: 14px; margin: 26px 0 0; }
.stations { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--ink); border-left: 1px solid var(--rule); }
.st {
  display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto auto; gap: 0 8px; align-items: center;
  padding: 8px 8px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); min-height: 96px;
}
.st.done { background: rgba(214,229,232,.28); }
.st-no { grid-column: 1 / -1; font: 600 13px var(--f-mono); color: var(--ink-2); }
.st-mark { grid-row: 2 / 4; width: 40px; height: 40px; }
/* 観測所の記号：未＝点線の輪、済＝実線の輪＋中心の点＋十字の目盛（塗りつぶさず軽く） */
.st-mark .ring { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 2.5; stroke-opacity: .7; }
.st.done .st-mark .ring { stroke-dasharray: none; stroke-opacity: 1; fill: none; }
.st-mark .core { fill: var(--shu); }
.st-mark .tick { stroke: var(--ink); stroke-width: 1.4; }
.st-name { font-family: var(--f-head); font-weight: 800; font-size: 15px; }
.st-yet { font-size: 13px; color: var(--ink-2); }
.st-date { display: flex; align-items: center; gap: 6px; }
.st-date small { font: 400 13px var(--f-mono); line-height: 1.3; }
.hanko {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--shu);
  color: var(--shu-ink); font: 700 13px var(--f-num); transform: rotate(-12deg); flex: none; background: rgba(242,234,216,.6);
}
.hanko.sm { width: 34px; height: 34px; font: 800 13px var(--f-head); }
.st.done .hanko { animation: stampIn .45s cubic-bezier(.2,1.6,.4,1) both; }
.st.done:nth-child(2) .hanko { animation-delay: .08s; } .st.done:nth-child(3) .hanko { animation-delay: .16s; }
.st.done:nth-child(4) .hanko { animation-delay: .24s; } .st.done:nth-child(5) .hanko { animation-delay: .32s; }
.recent-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.recent-list li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.recent-list .hanko { grid-row: 1 / 3; }
.recent-list b { font-family: var(--f-head); font-weight: 800; font-size: 15px; }
.recent-list small { font-size: 13px; color: var(--ink-2); }
.recent-empty { font-size: 14px; color: var(--ink-2); margin: 0; }

/* ── 下の欄 ── */
.foot { margin-top: 28px; border-top: 3px double var(--ink); padding-top: 10px; display: grid; grid-template-columns: 54px 1fr; gap: 4px 12px; font-size: 13px; align-items: center; }
.foot p { margin: 0; }
.foot b { color: var(--shu-ink); }
.foot-screen { width: 54px; height: auto; grid-row: 1 / 3; }
.foot-mark { font-family: var(--f-head); font-weight: 800; letter-spacing: .1em; font-size: 13px; }

.toast {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%); transition: transform .35s cubic-bezier(.2,1,.3,1);
  background: var(--ink); color: var(--paper); padding: 12px 16px; font-size: 14px; max-width: calc(100% - 32px); z-index: 10;
  box-shadow: 3px 3px 0 var(--shu); visibility: hidden;
}
.toast a { color: #ffd9cf; font-weight: 700; margin-left: 8px; display: inline-block; min-height: 24px; }
.toast.on { transform: translate(-50%, 0); visibility: visible; }

/* ── 動き ── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes stampIn { from { opacity: 0; transform: rotate(-10deg) scale(1.8); } to { opacity: 1; transform: rotate(-10deg) scale(1); } }
@keyframes slam { 0% { opacity: 0; transform: rotate(-14deg) scale(2.2); } 60% { opacity: 1; transform: rotate(-14deg) scale(.92); } 100% { opacity: 1; transform: rotate(-14deg) scale(1); } }
@keyframes fill { from { width: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ch-labels { opacity: 1; }
}

/* ── PC：左に週間の表、右にその日の天気図（1 画面で週と日） ── */
@media (min-width: 900px) {
  .sheet { padding: 0 32px 32px; }
  .mast { grid-template-columns: 92px 1fr 360px; padding-top: 22px; }
  .mast-vane { width: 92px; }
  .mast-title { font-size: 56px; }
  .tabs { grid-column: 3; margin-bottom: 8px; border: 1.5px solid var(--ink); }
  .tab { border-top: 0; }
  .tab-day { display: none; }
  .tab.pc-cur { color: var(--shu-ink); }
  .tab.pc-cur::after { content: ''; position: absolute; left: 18%; right: 18%; bottom: 6px; height: 3px; background: var(--shu); }
  .tab-day + .tab { border-left: 1px solid var(--rule); }
  body[data-view] #weekpane, body[data-view] #daypane { display: block; }
  .home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
  .daypane { border-left: 1px solid var(--rule); padding-left: 32px; }
  .daypane .back, .daypane .strip { display: none; }
  .daypane .day-head { margin-top: 16px; }
  /* PC は全部開いた形。見出しの行を押すと、その日を右に出す */
  .wk-row { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 12px; padding: 10px 6px 12px; }
  .wk-head { grid-column: 1; grid-row: 1 / 3; display: block; padding: 0; min-height: 0; align-self: start; }
  .wk-head:hover { background: transparent; }
  .wk-head .wk-skybox, .wk-head .wk-sum, .wk-head .wk-chev { display: none; }
  .wk-head .wk-date { box-shadow: 2px 2px 0 rgba(216,69,43,.35); }
  .wk-row.is-open .wk-head { background: transparent; }
  .wk-body, .wk-row.is-open .wk-body { display: block; grid-column: 2; padding: 0; }
  .wk-row.off .wk-head { opacity: .55; }
  .wk-row.is-cur { background: rgba(214,229,232,.5); box-shadow: inset 4px 0 0 var(--shu); }
  .wk-row.is-cur::after {
    content: '右に表示中 →'; position: absolute; right: 8px; top: 10px; font-size: 13px; font-weight: 700; color: var(--shu-ink);
  }
  .wk-row.is-cur .wk-wx { padding-right: 104px; }
  .cards { gap: 16px; }
  .card-link { grid-template-columns: 40px 1fr 96px; }
  .card-illo { width: 96px; height: 96px; }
  .alltop-stamp { top: 104px; }
  .d-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
  .d-grid .d-table .sec-title:first-child { margin-top: 10px; }
  .d-name { font-size: 32px; }
  .d-illo { max-width: 360px; }
  .log-grid { display: grid; grid-template-columns: 340px 1fr; gap: 18px 40px; align-items: start; }
  .log-grid .recent { grid-column: 1; }
  .log-grid .stations { grid-column: 2; grid-row: 1 / 3; grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
  .foot { grid-template-columns: 54px 1fr auto; }
  .foot-screen { grid-row: auto; }
}

/* ══ 本体で足した部品 ══ */
.banner { margin-top: 10px; border: 1.5px dashed var(--shu); padding: 8px 12px; font-size: 14px; color: var(--ink); background: rgba(216,69,43,.05); }
.banner p { margin: 0; }
.banner a { color: var(--shu-ink); font-weight: 700; }
.fallback { font-style: normal; font-weight: 700; color: var(--shu-ink); }
.sample-mark {
  display: inline-block; font: 800 13px/1.3 var(--f-head); letter-spacing: .12em; color: var(--shu-ink);
  border: 1.5px solid var(--shu); padding: 0 5px; transform: rotate(-4deg); background: var(--paper); vertical-align: middle;
}
.num-q { align-items: center; }
.q-word { font-size: 13.5px; font-weight: 700; color: var(--ink-2); border-bottom: 1.5px dotted var(--ink-2); line-height: 1.4; }
.chip.vq { border-style: dotted; border-color: var(--ink-2); }
.chip.vq .chip-mk { color: var(--shu-ink); }
tr.vq .t-sky b { color: var(--shu-ink); }
.t-note { font-size: 13px; color: var(--ink-2); margin: 6px 0 0; }
.card-tags { grid-area: tags; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.card-tags span { font-size: 13px; padding: 1px 7px; border: 1px solid var(--ink); background: var(--mizu); }
.card-link { grid-template-areas: "no cat illo" "no name illo" "no when illo" "nums nums nums" "chips chips chips" "note note note" "tags tags tags" "src src src"; }
/* 札の日にちと時間（D4） */
.card-when { grid-area: when; font: 600 13px/1.4 var(--f-body); color: var(--ink); }
.fold-when { display: block; font-weight: 400; font-size: 13px; color: var(--ink-2); }
/* 同じ会場でこの日ほかの催し（D3） */
.same-venue {
  margin: 0 4px 0 0; border: 1px solid var(--ink); border-top: 0;
  background: rgba(242,234,216,.5); padding: 6px 10px; font-size: 13px;
}
.sv-stamp {
  border: 1px solid var(--ink); color: var(--ink); background: var(--paper);
  font: 800 13px/1.4 var(--f-head); padding: 0 6px; letter-spacing: .08em;
}
.same-venue .te-list a { flex-wrap: wrap; }
.sv-meta { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; }
.sv-q { font-size: 13px; font-weight: 700; color: var(--shu-ink); border: 1px dashed var(--shu-ink); padding: 0 4px; white-space: nowrap; }
.card-cat .sample-mark { margin-left: 2px; }
.approx { font-weight: 700; color: var(--shu-ink); }
.cards .empty { border: 1.5px dashed var(--ink); padding: 10px 12px; font-size: 14px; }
.cards .empty p { margin: 0 0 4px; }
.cards .empty.short { border-style: dotted; color: var(--ink-2); }
.wk-none a { color: var(--shu-ink); font-weight: 700; }
.notice a { color: var(--shu-ink); font-weight: 700; }
.d-sample { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); }
.d-facts dd small { font-size: 13px; color: var(--ink-2); }
.ledger-row.q .l-v { color: var(--ink-2); font-family: var(--f-body); font-size: 13.5px; }
.ledger-row.total.q { grid-template-columns: 5.4em 1fr; }
.ledger-row.total .l-note { font-family: var(--f-body); font-weight: 700; font-size: 14px; color: var(--shu-ink); text-align: left; }
.btn-off { color: var(--ink-2); border-style: dashed; cursor: default; }
.btn-off:hover { background: var(--paper); }

/* 観測記録 */
.log-grid .recent .log-title { margin-bottom: 8px; }
.recent-list li { grid-template-columns: 40px 1fr auto; }
.recent-list .rm { grid-row: 1 / 3; grid-column: 3; min-height: 44px; min-width: 52px; border: 1px solid var(--rule); background: var(--paper); font-size: 13px; cursor: pointer; }
.log-store { font-size: 13px; color: var(--ink-2); margin: 8px 0 0; }
.stamp { margin-top: 26px; }
.stamp .log-note { margin-top: 30px; }

/* 登録・設定の用紙（開設届） */
.form-sheet { max-width: 720px; margin: 10px auto 0; border: 1.5px solid var(--ink); padding: 14px 14px 18px; background: rgba(242,234,216,.75); position: relative; }
.form-sheet::after { content: ''; position: absolute; inset: 4px -5px -5px 4px; border: 1px solid rgba(216,69,43,.45); z-index: -1; pointer-events: none; }
.form-title { margin: 0; font: 800 26px/1.3 var(--f-head); letter-spacing: .14em; text-shadow: 1.5px 1px 0 rgba(216,69,43,.4); }
.is-setup .form-title::after { content: none; display: none; } /* 「受付」の判子はやめた（J6） */
.form-lead { font-size: 14px; margin: 6px 0 0; }
.btn-sample { width: 100%; margin-top: 12px; min-height: 56px; font-family: var(--f-head); font-weight: 800; font-size: 16px; background: var(--mizu); display: grid; gap: 0; }
.btn-sample small { font-family: var(--f-body); font-weight: 400; font-size: 13px; }
.fsec { margin-top: 18px; border-top: 1.5px solid var(--ink); padding-top: 8px; }
.fsec-title { margin: 0 0 8px; font: 800 17px var(--f-head); letter-spacing: .08em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fsec-title small { font-family: var(--f-body); font-weight: 400; font-size: 13px; color: var(--ink-2); }
.fsec-no { width: 28px; height: 28px; display: grid; place-items: center; border: 1.5px solid var(--shu); color: var(--shu-ink); font-size: 15px; flex: none; }
.fld { display: grid; gap: 3px; font-size: 14px; margin-top: 6px; }
.fld > span { font-weight: 700; font-size: 13.5px; }
.fld input, .fld select { min-height: 46px; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); padding: 4px 8px; border-radius: 0; width: 100%; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fld-help { font-size: 13px; color: var(--ink-2); margin: 6px 0 0; }
.fld-help b { color: var(--ink); }
.mems { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mem { border: 1px solid var(--rule); padding: 8px 10px 10px; background: var(--paper); }
.mem-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mem-no { font: 800 14px var(--f-head); letter-spacing: .1em; }
.mem-me { font-size: 13px; color: var(--ink-2); }
.mem-rm { min-height: 44px; min-width: 60px; border: 1px solid var(--shu); color: var(--shu-ink); background: var(--paper); font-weight: 700; font-size: 13px; cursor: pointer; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1.5px solid var(--ink); margin-top: 8px; }
.seg button { min-height: 46px; border: 0; background: transparent; font-weight: 700; font-size: 14px; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--rule); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.btn-add { width: 100%; margin-top: 10px; border-style: dashed; }
.parties { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.parties li { display: grid; grid-template-columns: 8.5em 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px dotted var(--rule); font-size: 14px; }
.parties b { font-family: var(--f-head); font-weight: 800; }
.form-dows .dow-btn { min-height: 52px; }
.form-err { color: var(--shu-ink); font-weight: 700; font-size: 14px; min-height: 1.4em; margin: 12px 0 0; }
.form-actions { display: grid; }
.form-actions .btn-went { letter-spacing: .14em; }
.danger { border-top-style: dashed; }
.btn-danger { width: 100%; border-color: var(--shu); color: var(--shu-ink); margin-top: 8px; }
.tabs[hidden] { display: none !important; }
.foot-text p { margin: 0 0 4px; }
.foot-text em { font-style: normal; }

@media (min-width: 900px) {
  .log-grid { grid-template-columns: 360px 1fr; }
  .log-grid .recent { grid-column: 1; }
  .log-grid .stamp { grid-column: 2; grid-row: 1; margin-top: 0; }
  .log-grid .stations { grid-column: auto; grid-row: auto; grid-template-columns: repeat(3, 1fr); }
  .tabs { grid-template-columns: none; }
  .form-sheet { padding: 22px 26px 26px; }
}
.cards .more { margin-top: 4px; }
.more-title { margin: 6px 0 4px; font: 800 16px var(--f-head); letter-spacing: .08em; border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; align-items: baseline; }
.more-title small { font-family: var(--f-body); font-weight: 400; font-size: 13px; color: var(--ink-2); letter-spacing: 0; }
.more-list { list-style: none; margin: 0; padding: 0; }
.more-list a { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; min-height: 56px; padding: 6px 0; border-bottom: 1px dotted var(--rule); text-decoration: none; color: var(--ink); }
.more-list a:hover { background: rgba(214,229,232,.35); }
.more-list img { grid-row: 1 / 3; width: 44px; height: 44px; object-fit: contain; }
.more-name { font-family: var(--f-head); font-weight: 800; font-size: 15px; line-height: 1.35; word-break: auto-phrase; text-wrap: balance; }
.more-name .sample-mark { margin-left: 6px; }
.more-sub { font-size: 13px; color: var(--ink-2); }
.more-sub b { color: var(--shu-ink); }

/* ══ UI 改善 ①〜⑥（Antigravity Gemini 4 Neon × 天気図・新聞 2 色刷り） ══ */
:root { --target-size: 24px; }
@media (pointer: coarse) { :root { --target-size: 44px; } }
html { scroll-padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px)); }
body { overflow-wrap: break-word; }
:where(a, code) { overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ① 3 つの細部修正：文節改行・顔ぶれコンテナ適応・全員快晴印の安全配置 */
.d-name, .card-name, .wk-name, .sec-title { word-break: auto-phrase; text-wrap: balance; }
.d-warn, .fld-help, .log-note, .form-lead, .peek-sub { text-wrap: pretty; }

.zone { container: zone / inline-size; }
.zone-who-compact { display: none; }
@container zone (inline-size < 470px) {
  .zone-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zone-btn + .zone-btn { border-left: 0; }
  .zone-btn:nth-child(even) { border-left: 1px solid var(--rule); }
  .zone-btn:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .zone-who-full { display: none; }
  .zone-who-compact { display: inline; }
}

/* 全員快晴印：イラスト下部や長文タイトルと干渉しないカード右上角の固定枠へ */
.card-link { padding-top: 12px; }
.card.is-alltop .card-link { padding-top: 14px; }
.card .alltop-stamp {
  position: absolute; right: 6px; top: -11px; width: auto; height: auto; border-radius: 999px;
  padding: 2px 10px 2px 4px; display: inline-flex; align-items: center; gap: 4px;
  border: 2px solid var(--shu); background: var(--paper); box-shadow: 2px 2px 0 rgba(37,54,106,.22);
  transform: rotate(-3deg); z-index: 2;
}
.card .alltop-stamp img { width: 20px; height: 20px; }
.card .alltop-stamp b { font-size: 13px; letter-spacing: .06em; }
.is-alltop .card-nums { padding-right: 0; }
@media (min-width: 900px) {
  .card .alltop-stamp { top: -12px; right: 8px; }
}
.toast { bottom: max(18px, env(safe-area-inset-bottom, 0px)); }

/* ② 触れる天気図：SVG ⇄ カード双方向ハイライト・パルス輪・早見ポップアップ */
.chart-wrap { position: relative; }
.stn { cursor: pointer; outline: none; }
.stn-pulse { fill: none; stroke: var(--shu); stroke-width: 2; opacity: 0; pointer-events: none; transform-box: fill-box; transform-origin: center; }
.stn.is-hi .stn-dot, .stn:hover .stn-dot, .stn:focus-visible .stn-dot { stroke: var(--ink); stroke-width: 3; }
.stn.is-hi .stn-pulse, .stn:hover .stn-pulse, .stn:focus-visible .stn-pulse { opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .stn.is-hi .stn-pulse, .stn:hover .stn-pulse, .stn:focus-visible .stn-pulse {
    animation: isobarPulse 1.6s ease-out infinite;
  }
}
@keyframes isobarPulse {
  0% { transform: scale(1); opacity: .85; }
  100% { transform: scale(2.15); opacity: 0; }
}
.off-hit { cursor: pointer; outline: none; }
.off-hit .off-area { fill: transparent; }
.off-hit:hover .off-dot, .off-hit:focus-visible .off-dot, .off-hit.is-sel .off-dot {
  fill: var(--shu); stroke: var(--ink); stroke-opacity: 1; stroke-width: 1.8;
}
.lbl { cursor: pointer; }
.lbl.is-hi .lbl-bg, .lbl:hover .lbl-bg { fill: var(--mizu); stroke: var(--shu); stroke-width: 1.6; }
.card.is-hi .card-link { background: rgba(214,229,232,.68); border-color: var(--shu); box-shadow: inset 4px 0 0 var(--shu); }
.chart-tip {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 4;
  border: 1.5px solid var(--ink); background: rgba(242,234,216,.97); padding: 8px 10px;
  box-shadow: 3px 3px 0 rgba(37,54,106,.3); display: grid; gap: 3px; font-size: 13.5px;
}
.chart-tip-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.chart-tip-name { font: 800 15px/1.3 var(--f-head); word-break: auto-phrase; }
.chart-tip-close {
  flex: none; min-width: 30px; min-height: 30px; border: 1px solid var(--rule); background: var(--paper);
  font-weight: 700; cursor: pointer; line-height: 1;
}
.chart-tip-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--ink-2); font-size: 13px; }
.chart-tip-meta b { color: var(--shu-ink); }
.chart-tip-go { justify-self: end; font-weight: 700; color: var(--shu-ink); text-decoration: none; border-bottom: 1.5px solid var(--shu); }

/* ③ 4 都市圏ごとのご当地海岸線・等高線 */
.ch-sea-h { font-family: var(--f-head); font-weight: 600; font-size: 13px; fill: #4f7280; letter-spacing: .24em; text-anchor: middle; }
.ch-sea-h.left { text-anchor: start; }
.ch-contour { fill: none; stroke: #4f7280; stroke-width: 1.1; stroke-dasharray: 4 3; opacity: .6; }

/* ④ 新聞の紙面切替フィルタ・モールカード階層整理・費用明細並置 */
.day-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 0 12px; }
.paper-filter { display: flex; flex-wrap: wrap; border: 1.5px solid var(--ink); background: var(--paper); }
.pf-btn {
  min-block-size: max(38px, var(--target-size)); padding: 4px 10px; border: 0; background: transparent; cursor: pointer;
  font: 700 13px var(--f-body); display: inline-flex; align-items: center; gap: 5px;
}
.pf-btn + .pf-btn { border-left: 1px solid var(--rule); }
.pf-cnt { font: 600 13px var(--f-num); opacity: .82; }
.pf-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: inset 0 -3px 0 var(--shu); }
.pf-btn[aria-pressed="true"] .pf-cnt { color: #ffd9cf; opacity: 1; }
@media (max-width: 480px) {
  .paper-filter .pf-lab { padding: 0 6px; font-size: 13px; }
  .pf-btn { padding: 4px 7px; font-size: 13px; }
}
.mall-badge {
  display: inline-block; font: 700 13px/1.3 var(--f-body); color: var(--ink);
  background: var(--mizu); border: 1px solid var(--ink); padding: 0 6px;
}
.venue-badge {
  display: inline-block; font: 700 13px/1.3 var(--f-body); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--ink); padding: 0 6px;
}
.venue-badge.venue-city {
  color: var(--ink); background: transparent; border: 1px dashed var(--ink);
}
.mall-floor { color: var(--ink-2); font-size: 13px; }
.ledger-split { display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--f-body); font-size: 13.5px; }
.ledger-split b { color: var(--shu-ink); }

/* ⑤ 989 市区町村エリア登録（4 都市圏タブ＋主要都市チップ＋絞り込み）＆別エリア覗き見 */
.mast-area-wrap { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.peek-btn {
  min-block-size: 28px; padding: 1px 8px; border: 1px solid var(--ink); background: var(--paper);
  font: 700 13px var(--f-body); cursor: pointer; color: var(--ink);
}
.peek-btn:hover { background: var(--mizu); }
.peek-btn.is-peeking { border-color: var(--shu); color: var(--shu-ink); background: rgba(216,69,43,.08); }
.peek-pop {
  margin: auto; padding: 14px; width: min(440px, calc(100vw - 24px));
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  box-shadow: 5px 5px 0 rgba(37,54,106,.28);
}
.peek-pop::backdrop { background: rgba(37,54,106,.22); }
[popover]:is(:popover-open, .\:popover-open) { display: block; }
@supports not selector(:popover-open) { [popover]:not(.\:popover-open) { display: none; } }
.peek-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1.5px solid var(--ink); padding-bottom: 6px; }
.peek-head b { font: 800 17px var(--f-head); letter-spacing: .08em; }
.peek-close { min-width: 34px; min-height: 34px; border: 1px solid var(--ink); background: var(--paper); font-weight: 700; cursor: pointer; }
.peek-sub { margin: 8px 0; font-size: 13px; color: var(--ink-2); }
.peek-chips, .city-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chip-btn {
  min-block-size: max(34px, var(--target-size)); padding: 3px 10px; border: 1px solid var(--ink);
  background: var(--paper); font-size: 13px; font-weight: 700; cursor: pointer;
}
.chip-btn:hover { background: var(--mizu); }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.peek-search input, .city-search-in {
  width: 100%; min-block-size: 44px; padding: 6px 10px; font: inherit; font-size: 15px;
  border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink);
}
.peek-hits, .city-hits {
  list-style: none; margin: 6px 0 0; padding: 0; max-height: 180px; overflow-y: auto;
  border: 1px solid var(--rule); background: rgba(242,234,216,.9);
}
.peek-hits:empty, .city-hits:empty { display: none; }
.peek-hits button, .city-hits button {
  width: 100%; text-align: left; min-block-size: 40px; padding: 6px 10px; border: 0;
  border-bottom: 1px dotted var(--rule); background: transparent; cursor: pointer; font-size: 14px;
}
.peek-hits button:hover, .city-hits button:hover { background: var(--mizu); }
.peek-foot { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--rule); display: flex; justify-content: flex-end; }
.city-reg-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border: 1.5px solid var(--ink); margin-top: 6px; }
.city-reg-tabs button { min-block-size: 44px; border: 0; background: transparent; font: 700 13.5px var(--f-body); cursor: pointer; }
.city-reg-tabs button + button { border-left: 1px solid var(--rule); }
.city-reg-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.city-selected { margin: 8px 0 0; font-size: 13.5px; }
.city-selected b { color: var(--shu-ink); font-size: 15px; }

/* ⑥ LINE 3 行共有ボタン・コピー通知（opacity 切替）・A4 印刷・第 4 段 URL 下書き */
.day-acts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.copy-wrap { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.mini-act {
  min-block-size: max(38px, var(--target-size)); padding: 4px 10px; border: 1.5px solid var(--ink);
  background: var(--paper); font: 700 13px var(--f-body); cursor: pointer;
}
.mini-act:hover { background: var(--mizu); }
.mini-act[data-copied] { border-color: var(--shu); color: var(--shu-ink); }
.copy-tip {
  font-size: 13px; font-weight: 700; color: var(--shu-ink); opacity: 0; pointer-events: none;
  transition: opacity .2s ease; white-space: nowrap;
}
.copy-tip.on { opacity: 1; }
.draft-details { border: 1.5px dashed var(--ink); padding: 8px 12px; background: rgba(242,234,216,.55); margin-top: 8px; }
.draft-details summary {
  cursor: pointer; font: 800 15px var(--f-head); letter-spacing: .06em; list-style: none;
  display: flex; align-items: center; gap: 8px; min-block-size: 40px;
}
.draft-details summary::-webkit-details-marker { display: none; }
.draft-details summary::before { content: '▸'; color: var(--shu-ink); font-size: 14px; transition: transform .15s; }
.draft-details[open] summary::before { transform: rotate(90deg); }
.draft-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.draft-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dotted var(--rule); font-size: 13.5px; }
.draft-cli { margin: 8px 0 0; padding: 8px; background: var(--paper-2); border: 1px solid var(--rule); font: 12px/1.45 var(--f-mono); overflow-x: auto; }

/* A4 1 枚・週間おでかけ新聞 印刷レイアウト */
@media print {
  @page { size: A4 portrait; margin: 10mm; }
  body { background: #fff !important; color: #16234a; font-size: 13px; line-height: 1.45; }
  .sheet { max-width: none; padding: 0; }
  .tabs, .pick, .strip, .zone, .day-bar, .peek-btn, .peek-pop, .back, .toast, .banner, .actions, .wk-more, .party-chg, .chart-tip { display: none !important; }
  .mast { padding-top: 0; border-bottom-width: 2px; grid-template-columns: 44px 1fr; }
  .mast-vane { width: 44px; }
  .mast-title { font-size: 28px; text-shadow: none; }
  body[data-view="week"] #daypane, body[data-view="day"] #weekpane { display: block !important; }
  .home { display: grid !important; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .daypane { border-left: 1px solid var(--ink); padding-left: 14px; }
  .wk-body { display: block !important; }
  .wk-head .wk-skybox, .wk-head .wk-sum, .wk-head .wk-chev { display: none !important; }
  .wk-row { display: grid; grid-template-columns: 42px 1fr; gap: 8px; padding: 4px 0; break-inside: avoid; }
  .card, .wk-best, .chart { break-inside: avoid; }
  .card-link::after, .wk-best::after { display: none; }
  .foot { margin-top: 12px; font-size: 13px; }
}

/* ── 2026-11-27 件数・束ね・畳んだ行・上限（新聞の欄の切り替えの体裁） ── */
.mast-no { white-space: nowrap; flex-shrink: 0; margin-left: 8px; }
.mast-kicker { align-items: baseline; gap: 6px; }
.mast-area-wrap { min-width: 0; }
@media (max-width: 420px) { .mast-kicker { font-size: 13px; letter-spacing: .03em; } .peek-btn { padding: 1px 6px; } }
.fc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; border-bottom: 1.5px solid var(--ink); margin-top: 22px; }
.fc-head .sec-title { margin: 0; border-bottom: 0; padding-bottom: 6px; }
.count-pick { display: inline-flex; align-items: stretch; border: 1.5px solid var(--ink); border-bottom: 0; background: var(--paper); margin-bottom: -1px; }
.cp-lab {
  writing-mode: vertical-rl; display: grid; place-items: center; padding: 2px 3px; letter-spacing: .12em;
  background: var(--ink); color: var(--paper); font: 800 13px var(--f-head);
}
.cp-btn {
  min-inline-size: 42px; min-block-size: max(42px, var(--target-size, 42px)); padding: 0 8px; border: 0; border-left: 1px solid var(--rule);
  background: transparent; color: var(--ink); cursor: pointer; font: 700 19px/1 var(--f-num); letter-spacing: .02em;
}
.cp-btn.cp-all { font: 700 13px var(--f-body); letter-spacing: .04em; }
.cp-btn:hover { background: rgba(214,229,232,.55); }
.cp-btn[aria-pressed="true"] { color: var(--shu-ink); background: rgba(216,69,43,.09); box-shadow: inset 0 -3px 0 var(--shu); }
.fc-tally { margin: 6px 0 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 13px; color: var(--ink-2); }
#fc-tally { font-family: var(--f-body); }
.pf-lab { display: grid; place-items: center; padding: 0 8px; background: var(--ink); color: var(--paper); font: 800 13px var(--f-head); letter-spacing: .16em; }
.cards .empty.cap { border-color: var(--shu); background: rgba(216,69,43,.05); }
.cards .empty .mini-act { margin-top: 4px; }

/* 束ねた札：ほか ◯ 館でも開催 */
.card.has-also .card-link { border-bottom-style: dashed; }
.also { position: relative; margin: 0 4px 0 0; border: 1px dashed var(--ink); border-top: 0; background: rgba(214,229,232,.4); font-size: 13px; }
.also summary {
  list-style: none; cursor: pointer; min-block-size: 40px; padding: 6px 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px;
  font-weight: 700; color: var(--shu-ink);
}
.also summary::-webkit-details-marker { display: none; }
.also summary::before { content: '＋'; font-family: var(--f-num); color: var(--ink); }
.also[open] summary::before { content: '－'; }
.also summary small { font-weight: 400; color: var(--ink-2); }
.also ul { list-style: none; margin: 0; padding: 0 10px 8px 28px; }
.also li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-top: 1px dotted var(--rule); }
.also li small { color: var(--ink-2); white-space: nowrap; }

/* 「すべて」の 11 件目から：畳んだ 1 行 */
.folds-wrap { margin-top: 6px; }
.folds { list-style: none; margin: 0; padding: 0; }
.fold a {
  display: grid; grid-template-columns: 30px 1fr auto; grid-template-areas: "no name fit" "no sub fit";
  column-gap: 8px; align-items: center; min-height: 54px; padding: 7px 0; border-bottom: 1px dotted var(--rule);
  text-decoration: none; color: var(--ink);
}
.fold a:hover { background: rgba(214,229,232,.35); }
.fold-no { grid-area: no; align-self: start; padding-top: 2px; text-align: right; font: 700 17px var(--f-num); color: var(--shu-ink); }
.fold-name { grid-area: name; font: 800 14.5px/1.35 var(--f-head); word-break: auto-phrase; }
.fold-name .sample-mark { margin-left: 6px; }
.fold-sub { grid-area: sub; display: flex; flex-wrap: wrap; gap: 0 4px; font-size: 13px; color: var(--ink-2); }
.fold-sub span + span::before { content: '・'; }
.fold-fit { grid-area: fit; white-space: nowrap; padding: 1px 6px; border: 1px solid var(--ink); font: 700 13px var(--f-body); letter-spacing: .02em; }
.fold-fit.is-top { background: var(--shu-ink); border-color: var(--shu-ink); color: var(--paper); }
.more-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; min-block-size: 52px; margin-top: 12px; padding: 6px 10px;
  border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer;
  font: 800 15px var(--f-head); letter-spacing: .14em; box-shadow: 3px 3px 0 rgba(37,54,106,.25);
}
.more-btn small { font: 400 13px var(--f-body); letter-spacing: .02em; color: var(--ink-2); }
.more-btn:hover { background: var(--mizu); }
.folds-end { margin: 8px 0 0; text-align: center; font-size: 13px; color: var(--ink-2); }

/* 天気図：6〜10 件目は薄朱塗りの小さな点（白抜き破線の場所未確認と明確に区別） */
.stn-sm .stn-dot { fill: #fdeee9; stroke: var(--shu); stroke-width: 1.8; }
.stn-sm .stn-no { fill: var(--shu-ink); font-size: 13px; }
.stn-sm.stn-approx .stn-dot { fill: var(--paper); stroke-dasharray: 3 2; }
.stn-sm.is-hi .stn-dot, .stn-sm:hover .stn-dot, .stn-sm:focus-visible .stn-dot { fill: var(--shu); stroke: var(--ink); }
.stn-sm.is-hi .stn-no, .stn-sm:hover .stn-no, .stn-sm:focus-visible .stn-no { fill: #fff; }

/* 相性表：館の設備の出どころ */
.t-venue { margin: 8px 0 0; padding: 6px 10px; border-left: 3px solid var(--shu); background: rgba(214,229,232,.4); font-size: 13.5px; }
.t-venue a { color: var(--ink); font-weight: 700; }
.t-venue small { display: block; color: var(--ink-2); font-size: 13px; }

/* 設定：件数と範囲 */
.fld-lab { margin: 10px 0 4px; font-weight: 700; font-size: 14px; display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.fld-lab small { font-weight: 400; font-size: 13px; color: var(--ink-2); }
.seg-count, .seg-max { flex-wrap: wrap; }
@media print { .count-pick, .also summary::before, .more-btn { display: none !important; } .also ul { display: block; } }.pf-lab { background: transparent; color: var(--shu-ink); border-right: 1.5px solid var(--ink); }
.fold-sub { gap: 0 10px; } .fold-sub span + span::before { content: none; } .fold-sub span { white-space: nowrap; }
.seg-max { grid-template-columns: repeat(4, 1fr) 1.4fr; } .seg-max button { white-space: nowrap; padding: 0 2px; }

/* ── 第 4 段：拒否・未自動施設の追加支援（クイック選択・貼り付け自動抽出・ブックマークレット・JSON 書き出し） ── */
.bv-box { margin: 10px 0; padding: 10px; border: 1px solid var(--rule); background: var(--paper); }
.bv-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; margin-bottom: 6px; }
.bv-head b { font: 800 14px var(--f-head); letter-spacing: .06em; }
.bv-head small { font-size: 13px; color: var(--ink-2); }
.bv-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.bv-chip {
  min-block-size: max(38px, var(--target-size)); padding: 4px 10px; border: 1px solid var(--ink);
  background: var(--paper); color: var(--ink); font: 700 13px/1.3 var(--f-body); cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
}
.bv-chip:hover { background: var(--mizu); }
.bv-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.bv-chip-tag { font-size: 13px; padding: 0 4px; border: 1px solid currentColor; opacity: .85; }
.bv-open-link {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; min-block-size: 36px;
  font: 700 13px var(--f-body); color: var(--shu-ink); text-decoration: none; border-bottom: 1.5px solid var(--shu);
}
.bv-reason { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }

.intake-paste-box { margin: 12px 0; padding: 10px; border: 1.5px solid var(--ink); background: rgba(214,229,232,.32); }
.intake-paste-box textarea {
  field-sizing: content; width: 100%; height: auto; min-block-size: 4lh; max-block-size: 12lh;
  font: inherit; font-size: max(1rem, 15px); line-height: 1.5; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--ink); padding: 8px 10px; border-radius: 0; resize: vertical;
}
.intake-paste-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.intake-status { margin: 6px 0 0; font-size: 13px; font-weight: 700; color: var(--shu-ink); min-height: 1.3em; }
.intake-status:empty { min-height: 0; margin: 0; }
.intake-tools {
  margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--rule);
  display: grid; gap: 8px;
}
.intake-tools-title { margin: 0; font: 800 14px var(--f-head); letter-spacing: .06em; }
.intake-tools-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bm-link {
  display: inline-flex; align-items: center; min-block-size: 38px; padding: 4px 12px;
  border: 1.5px dashed var(--shu); background: var(--paper); color: var(--shu-ink);
  font: 700 13px var(--f-body); text-decoration: none;
}
.bm-link:hover { background: rgba(216,69,43,.08); }
.sr-code { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: pre; }
.draft-kind-badge {
  display: inline-block; font-size: 13px; font-weight: 700; padding: 0 5px; margin-right: 4px;
  border: 1px solid var(--ink); background: var(--mizu); color: var(--ink); vertical-align: middle;
}
.draft-kind-badge.is-venue { background: var(--paper); border-color: var(--ink); color: var(--ink); border-style: dashed; }
.draft-details .fld-row > .fld { min-width: 0; }
.draft-details input[type="date"] { min-width: 0; max-width: 100%; }
@media (max-width: 520px) {
  .draft-details .fld-row { grid-template-columns: 1fr; }
}


/* 場所が未確認の催し（2026-11-27b）：天気図の点は白抜き・破線の輪、凡例も同じ形 */
.stn.stn-approx .stn-dot { fill: var(--paper); stroke: var(--shu); stroke-width: 2.2; stroke-dasharray: 3.2 2.4; }
.stn.stn-approx .stn-no { fill: var(--shu-ink); }
.stn.stn-approx .stn-rays line { stroke-dasharray: 2 2; }
.stn.stn-approx.is-hi .stn-dot, .stn.stn-approx:hover .stn-dot, .stn.stn-approx:focus-visible .stn-dot { fill: var(--paper); stroke: var(--ink); stroke-width: 2.6; }
.lg-stn.lg-approx { background: var(--paper); color: var(--shu-ink); border: 1.5px dashed var(--shu); line-height: 14px; box-sizing: border-box; }
.num-approx small:first-child { white-space: normal; }
.intake-private { border-left: 3px solid var(--shu); padding-left: 8px; color: var(--ink); font-weight: 700; }


/* ══ ロードマップ #1〜#6（合体カード・UX 4点セット・出動予定・雨天号外・カスタム顔ぶれ・白書） ══ */
.quick-bar { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; align-items: center; }
.q-chip {
  min-block-size: max(34px, var(--target-size)); padding: 3px 10px; border: 1px solid var(--ink);
  background: var(--paper); color: var(--ink); font: 700 13px var(--f-body); cursor: pointer;
}
.q-chip:hover { background: var(--mizu); }
.q-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.q-chip.q-break[aria-pressed="true"] { background: var(--shu-ink); border-color: var(--shu-ink); }
.q-chip.q-add-ev { margin-left: auto; border-style: dashed; color: var(--shu-ink); border-color: var(--shu); }
.q-chip.q-add-ev:hover { background: rgba(216,69,43,.1); }

/* 祝日バッジ・今週末限定・開催時刻 */
.hol-badge {
  display: inline-block; margin-left: 4px; padding: 0 4px; font: 700 13px/1.3 var(--f-body);
  background: var(--shu); color: #fff; border-radius: 2px; vertical-align: middle;
}
.wknd-badge {
  display: inline-block; padding: 0 6px; font: 700 13px/1.35 var(--f-body);
  background: var(--shu-ink); color: var(--paper); letter-spacing: .04em;
}
.time-badge {
  display: inline-block; padding: 0 5px; font: 600 13px/1.35 var(--f-mono);
  border: 1px solid var(--rule); background: rgba(242,234,216,.8); color: var(--ink);
}
.chips-unknown {
  grid-column: 2 / -1; justify-self: start;
  margin: 4px 0 2px; font-size: 13px; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px;
  border: 1px dashed var(--rule); background: rgba(242,234,216,.5);
}
.wk-fit .chips-unknown { grid-column: auto; }
#rain-extra-slot { grid-column: 1 / -1; width: 100%; }
#rain-extra-slot:empty { display: none; }
#print-log-btn { white-space: nowrap; flex-shrink: 0; }

/* カード上の☆候補・出動予定バー＆実在スポット「＋本日の催し」帯 */
.card-tools {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 5px 10px;
  border: 1px solid var(--ink); border-top: 0; background: rgba(242,234,216,.65); margin-right: 4px;
}
.card-tool-btn {
  min-block-size: 44px; padding: 2px 12px; border: 1px solid var(--ink); background: var(--paper);
  font: 700 13px var(--f-body); color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
}
.card-tool-btn:hover { background: var(--mizu); }
.card-tool-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.card-tool-btn.is-plan[aria-pressed="true"] { background: var(--shu-ink); border-color: var(--shu-ink); color: #fff; }
.card.is-planned .card-link { box-shadow: inset 4px 0 0 var(--shu); }
.plan-pill {
  display: inline-block; padding: 0 6px; font: 800 13px/1.4 var(--f-head);
  background: var(--shu); color: #fff; letter-spacing: .08em;
}

.today-events {
  margin: 0 4px 0 0; border: 1.5px solid var(--shu); border-top: 0;
  background: rgba(216,69,43,.06); padding: 7px 10px; font-size: 13px;
}
.te-head { margin: 0 0 5px; display: flex; align-items: center; gap: 8px; }
.te-stamp {
  background: var(--shu); color: #fff; font: 800 13px/1.4 var(--f-head);
  padding: 1px 7px; letter-spacing: .08em;
}
.te-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.te-list a {
  min-block-size: 44px; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 4px 6px; text-decoration: none; color: var(--ink); border-bottom: 1px dotted var(--rule);
}
.te-head small { color: var(--ink-2); font-size: 13px; }
.te-list a:hover { background: rgba(242,234,216,.85); color: var(--shu-ink); }
.te-name { font-weight: 700; }
.te-time { font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.te-more { margin-top: 4px; }
/* 押せる summary はすべて 44px 以上 */
summary { min-block-size: 44px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; cursor: pointer; }
.te-more summary { font-size: 13px; font-weight: 700; color: var(--shu-ink); }

/* 線の記号（藍 1 色。意味は隣の言葉で） */
.gl { flex: none; width: 16px; height: 16px; vertical-align: -3px; }

/* 段の印・自分で確認の印 */
.tier-badge {
  display: inline-block; padding: 0 6px; margin-left: 4px; font: 700 13px/1.5 var(--f-body);
  border: 1px solid var(--ink); color: var(--ink); background: var(--paper); letter-spacing: .02em;
}
.tier-badge.is-q { border-style: dashed; color: var(--shu-ink); border-color: var(--shu-ink); }
.chip-self {
  display: inline-block; margin-left: 4px; padding: 0 4px; font: 700 13px/1.5 var(--f-body);
  border: 1px dotted var(--ink); color: var(--ink-2); white-space: nowrap;
}
.self-note { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.fold-q { color: var(--shu-ink); font-weight: 700; }
.illo-none { display: block; }
.card-illo.illo-none { width: 76px; height: 76px; border: 1px dashed var(--rule); background: radial-gradient(rgba(37,54,106,.12) 1px, transparent 1.3px) 0 0 / 6px 6px; }
.wk-illo.illo-none { border: 1px dashed var(--rule); }

/* 催しの札に添える会場の事実 */
.venue-facts {
  margin: 0 4px 0 0; border: 1px solid var(--ink); border-top: 0; padding: 6px 10px 4px;
  background: rgba(214,229,232,.35); font-size: 13px;
}
.vf-head { margin: 0 0 2px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.vf-stamp { background: var(--ink); color: var(--paper); font: 800 13px/1.5 var(--f-head); padding: 0 6px; letter-spacing: .1em; }
.vf-head small { color: var(--ink-2); }
.venue-facts ul { list-style: none; margin: 0; padding: 0; }
.venue-facts li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 8px; border-top: 1px dotted var(--rule); }
.venue-facts li a { min-block-size: 44px; display: inline-flex; align-items: center; color: var(--ink); font-weight: 700; white-space: nowrap; }

/* 雨天「号外（予報修正）」2 カラム対比 */
.rain-extra {
  margin: 10px 0 12px; padding: 10px 12px; border: 2px solid var(--shu);
  background: #faf4e6; box-shadow: 3px 3px 0 rgba(201,70,44,.22);
}
.re-kicker { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.re-stamp { background: var(--shu); color: #fff; padding: 1px 7px; font: 800 13px var(--f-head); letter-spacing: .1em; }
.re-cols { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 680px) { .re-cols { grid-template-columns: 1fr 1.6fr; } }
.re-col { border: 1px solid var(--rule); padding: 8px 10px; background: var(--paper); }
.re-orig { border-style: dashed; opacity: .88; }
.re-lab { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 4px; }
.re-orig b { display: block; font-size: 15px; text-decoration: line-through; color: var(--shu-ink); }
.re-alts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.re-alts li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; padding-top: 4px; border-top: 1px dotted var(--rule); }
.re-alts li:first-child { border-top: 0; padding-top: 0; }
.re-alts a { color: var(--ink); text-decoration: none; }
.re-alts a:hover { color: var(--shu-ink); text-decoration: underline; }
.re-swap { padding: 3px 8px; font-size: 13px; border-color: var(--shu); color: var(--shu-ink); }

/* 詳細ページ最上部クイックバー・前夜チェックリスト・1タップ現地タグ */
.d-quick-bar {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; padding: 8px;
  border: 1.5px solid var(--ink); background: rgba(214,229,232,.35);
}
.q-act {
  min-block-size: max(36px, var(--target-size)); padding: 4px 10px; border: 1px solid var(--ink);
  background: var(--paper); color: var(--ink); text-decoration: none; font: 700 13px var(--f-body);
  display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
}
.q-act:hover { background: var(--mizu); }
.q-act.is-on { background: var(--ink); color: var(--paper); }
.q-act.q-plan.is-on { background: var(--shu-ink); border-color: var(--shu-ink); color: #fff; }

.night-check { margin: 16px 0 10px; padding: 10px 12px; border: 1.5px solid var(--ink); background: rgba(242,234,216,.7); }
.night-check .sec-title { margin-top: 0; }
.nc-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.nc-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; padding: 5px 8px; border-left: 3px solid var(--rule); background: var(--paper); }
.nc-list li.nc-ok { border-left-color: var(--ink); }
.nc-list li.nc-warn { border-left-color: var(--shu); background: rgba(216,69,43,.07); font-weight: 700; }
.nc-list li.nc-check { border-left: 3px dashed var(--ink); }
.nc-ic { flex: none; color: var(--ink); padding-top: 2px; }
.nc-warn .nc-ic { color: var(--shu-ink); }
.nc-word {
  flex: none; min-width: 3.6em; text-align: center; font: 800 13px/1.7 var(--f-head); letter-spacing: .05em;
  border: 1px solid var(--ink); color: var(--ink); padding: 0 3px; margin-top: 1px;
}
.nc-warn .nc-word { background: var(--shu-ink); border-color: var(--shu-ink); color: #fff; }
.nc-check .nc-word { border-style: dashed; }

.local-tags { margin: 12px 0; border: 1.5px dashed var(--ink); padding: 8px 10px; background: rgba(214,229,232,.25); }
.local-tags summary { cursor: pointer; font: 800 14px var(--f-head); color: var(--ink); }
.lt-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lt-btn {
  min-block-size: max(36px, var(--target-size)); padding: 4px 10px; border: 1px solid var(--ink);
  background: var(--paper); font: 700 13px var(--f-body); cursor: pointer;
}
.lt-btn { display: inline-flex; align-items: center; gap: 4px; min-block-size: 44px; }
.lt-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* カスタム顔ぶれ・年間観測白書・モバイル配慮 */
.custom-party-box { margin-top: 12px; padding: 10px; border: 1px dashed var(--ink); background: rgba(242,234,216,.6); }
.cp-checks { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 6px 0 8px; }
.cp-chk { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; cursor: pointer; }
.cp-add-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-add-row input { flex: 1 1 180px; min-block-size: 40px; padding: 4px 8px; border: 1.5px solid var(--ink); background: var(--paper); font: inherit; }
.cp-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.cp-list li { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; border-top: 1px dotted var(--rule); font-size: 13.5px; }

.annual-card { margin-top: 16px; padding: 12px; border: 1.5px solid var(--ink); background: rgba(242,234,216,.75); }
.an-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.an-head .sec-title { margin: 0; border: 0; }
.an-nums { display: flex; gap: 20px; margin: 10px 0 6px; }
.an-nums small { display: block; font-size: 13px; color: var(--ink-2); }
.an-nums b { font-size: 28px; color: var(--shu-ink); }
.an-line { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }

/* PC 専用ブックマークレットはタッチ端末で隠し、iPhone 2ステップ案内を表示 */
.iphone-guide { display: none; margin: 8px 0; padding: 8px 10px; border-left: 3px solid var(--ink); background: rgba(242,234,216,.75); font-size: 13px; }
@media (pointer: coarse) {
  .pc-only { display: none !important; }
  .iphone-guide { display: block; }
}
@media print {
  .quick-bar, .card-tools, .d-quick-bar, .local-tags, .rain-extra .re-swap, #print-log-btn { display: none !important; }
  body[data-view="log"] #log { display: block !important; }
}

/* 2026-11-27c：押せる所はすべて 44px 以上（スマホでも PC でも） */
.pf-btn, .chip-btn, .mini-act, .cp-btn, .bv-chip, .q-chip, .q-act, .peek-btn, .peek-close, .chart-tip-close,
.peek-hits button, .city-hits button, .also summary, .draft-details summary, .te-more summary, .local-tags summary,
.bv-open-link, .bm-link, .chart-tip-go, .notice-btn, .re-swap, .rm { min-block-size: 44px; }
.chart-tip-close, .peek-close { min-inline-size: 44px; }
.peek-btn, .bv-open-link, .bm-link, .chart-tip-go { display: inline-flex; align-items: center; }
.q-act .gl, .card-tool-btn .gl { margin-right: 2px; }


/* ── 2026-11-27e：字の大きさ（E6） ──
   本文 16px、押す所の字は 15px 以上、いちばん小さい注記も 13px 以上（上で 13px 未満を 13px に上げた）。
   設定の「文字の大きさ」は画面全体を拡大する（390px の幅でも並びがそのまま縮むので、横にはみ出さない） */
.pf-btn, .cp-btn, .q-chip, .mini-act, .card-tool-btn, .zone-btn, .chip-btn, .party-btn, .party-pick button, .dow-btn, .preset-btn,
.seg button, .notice-btn, .q-act, .lt-btn, .peek-btn, .more-btn, .re-swap, .te-more summary, .also summary, .local-tags summary,
.draft-details summary, .city-reg-tabs button, .city-hits button, .peek-hits button, .rm, .mem-rm, .btn, .tab { font-size: max(15px, 1em); }
.pf-btn, .cp-btn, .q-chip, .mini-act, .card-tool-btn, .chip-btn, .party-pick button, .preset-btn, .seg button, .notice-btn, .q-act, .lt-btn,
.peek-btn, .te-more summary, .also summary, .local-tags summary, .city-reg-tabs button, .rm, .mem-rm { font-size: 15px; }
html[data-fontsize="large"] body { zoom: 1.12; }
html[data-fontsize="xlarge"] body { zoom: 1.25; }

/* きょうの印・「ほかの曜日も同じにする」・登録の小さな添え書き・年齢（E1・E5・E7・E8） */
.today-mk {
  display: inline-block; margin: 0 4px; padding: 0 5px; font: 700 13px/1.5 var(--f-body);
  background: var(--ink); color: var(--paper); letter-spacing: .04em; vertical-align: middle;
}
.strip-day .today-mk { display: block; margin: 0 auto 2px; width: fit-content; }
.same-ask { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.mini-act.is-plain { background: transparent; border-style: dashed; }
.form-meta { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); letter-spacing: .12em; }
.m-age { margin: 6px 0 0; font-size: 15px; color: var(--ink); }
.m-age b { color: var(--shu-ink); font-size: 17px; margin-right: 4px; }
.seg-font button { min-block-size: 44px; }
.q-send { font-weight: 700; }

.seg-sub { display: block; font-size: 13px; font-weight: 400; line-height: 1.2; }
.tab { letter-spacing: .02em; white-space: nowrap; padding: 0 2px; }
.wk-date .today-mk { white-space: nowrap; letter-spacing: 0; padding: 0 3px; margin: 2px 0 0; font-size: 13px; }
/* 文字を大きくしても題字は 1 行（画面全体を拡大するので、題字だけ元の大きさに戻す） */
@media (max-width: 899px) {
  html[data-fontsize="large"] .mast-title { font-size: 36px; }
  html[data-fontsize="xlarge"] .mast-title { font-size: 32px; letter-spacing: .06em; }
}
.mast-title { white-space: nowrap; }
.strip-day .today-mk { white-space: nowrap; letter-spacing: 0; padding: 0 2px; font-size: 13px; max-width: 100%; overflow: hidden; }
.seg-font button { padding: 0 4px; letter-spacing: 0; white-space: nowrap; }

/* 2026-11-27f：語の途中で折れない・小さな添え書き・入力の誤り */
.num small, .q-act, .card-tool-btn, .mini-act { white-space: nowrap; }
#mast-area { white-space: nowrap; }
.tier-badge .tier-sub { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.m-age.is-err { color: var(--shu-ink); font-weight: 700; }
.city-miss { padding: 8px 4px; font-size: 14px; color: var(--shu-ink); }
.sky-note { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }
.fsec-font .seg-font { margin-top: 4px; }
.sv-other summary { color: var(--ink-2); }
/* 駐車場の確かめた文（合計の外）：文は 2 列ぶん使って左寄せ（F3） */
.ledger-row.ledger-park .l-calc { grid-column: 2 / 4; text-align: left; font-family: var(--f-body); font-size: 14px; }
.ledger-row.ledger-park .l-v { font-family: var(--f-body); font-size: 13px; color: var(--ink-2); font-weight: 400; }
.tier-badge .tier-sub { word-break: keep-all; overflow-wrap: anywhere; }

/* 2026-11-27g：決め手の 1 行（G1） */
.card-link { grid-template-areas: "no cat illo" "no name illo" "no why illo" "no when illo" "nums nums nums" "chips chips chips" "note note note" "tags tags tags" "src src src"; }
.card-why { grid-area: why; margin-top: 2px; font: 700 15px/1.45 var(--f-body); color: var(--shu-ink); }
.d-why { margin: 4px 0 8px; font: 700 16px/1.5 var(--f-body); color: var(--shu-ink); }
.why-part { white-space: nowrap; }

/* 2026-11-27h：詳細の分からない事（1 行にまとめる） */
.d-missing dd { color: var(--ink-2); font-size: 14px; }
.d-missing dd a { display: inline-flex; align-items: center; min-block-size: 44px; margin-left: 4px; color: var(--shu-ink); font-weight: 700; }
/* 催しの料金の文（I1・I2） */
.ledger-sum { margin: 4px 0 8px; font-size: 15px; font-weight: 700; color: var(--ink); }

/* 2026-11-27j：1 週間の表の名前は 2 行まで・コピーのあとの文は折り返す（J6） */
.sum-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.copy-wrap { display: inline-flex; flex-direction: column; align-items: flex-start; max-width: 100%; }
.copy-tip { position: static !important; white-space: normal !important; max-width: 100%; }
.parties-now { margin: 4px 0 8px; font-size: 15px; font-weight: 700; }
/* 区分のボタンは「祖父母・／シニア」で折る・文字が大きい時は 1 週間の表の名前と車の時間を縦に（J6） */
.seg button { word-break: keep-all; }
html[data-fontsize="large"] .wk-sum2, html[data-fontsize="xlarge"] .wk-sum2 { flex-direction: column; align-items: flex-start; gap: 2px; }
/* 送る文を見せる欄（K5） */
.share-box { margin: 8px 0; padding: 10px; border: 1.5px solid var(--ink); background: var(--paper); }
.share-box-lab { margin: 0 0 6px; font-size: 14px; font-weight: 700; }
.share-box textarea { width: 100%; box-sizing: border-box; font: 15px/1.5 var(--f-body); color: var(--ink); background: rgba(242,234,216,.6); border: 1px solid var(--rule); padding: 6px; resize: vertical; }
.share-box-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }

/* はじめの画面の「だれと行きますか」（K1） */
.who-presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.who-btn { min-block-size: 64px; padding: 6px 8px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font: 800 17px/1.3 var(--f-head); cursor: pointer; display: grid; place-items: center; }
.who-btn small { font: 400 13px/1.2 var(--f-body); color: var(--ink-2); }
.who-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.who-btn[aria-pressed="true"] small { color: var(--paper); }
.mems.simple { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.mem.simple .mem-top { display: flex; align-items: center; gap: 8px; }
.mem-name { font-size: 17px; } .mem-role { color: var(--ink-2); font-size: 14px; }
.mem.simple .mem-rm { margin-left: auto; }
.age-btns { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.age-btns button { min-block-size: 44px; border: 1px solid var(--ink); background: var(--paper); font: 700 15px var(--f-body); color: var(--ink); cursor: pointer; }
.age-btns button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.age-btns button:last-child { grid-column: span 2; }
.who-add { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.setup-more { margin: 12px 0; border-top: 1px dashed var(--rule); padding-top: 6px; }
.setup-more > summary { font: 700 16px var(--f-body); color: var(--ink); }

/* 2026-11-27k：文字を大きくした時に小さいままだった所・薄い字（K8） */
html[data-fontsize="large"] .strip-t, html[data-fontsize="large"] .strip-p { font-size: 16px; }
html[data-fontsize="xlarge"] .strip-t, html[data-fontsize="xlarge"] .strip-p { font-size: 17px; }
html[data-fontsize="large"] .lbl-name { font-size: 16px; } html[data-fontsize="large"] .lbl-sub { font-size: 14px; }
html[data-fontsize="xlarge"] .lbl-name { font-size: 17px; } html[data-fontsize="xlarge"] .lbl-sub { font-size: 15px; }
.wk-sum2.dim, .wk-off small { color: var(--ink); opacity: .82; }
.seg-max button { white-space: normal; line-height: 1.2; }
/* K1：呼び名と役割が 2 行に割れないように */
.mem.simple .mem-name, .mem.simple .mem-role { white-space: nowrap; }
.mem.simple .mem-top { flex-wrap: wrap; }

/* 2026-11-27l：少し遠くの案・行った所・確かさ・市区町村の欄・行った所の出し方 */
.far-picks, .visited-note { list-style: none; border: 1px dashed var(--rule); padding: 10px 12px; margin: 12px 0 0; font-size: 15px; }
.far-picks ul { margin: 6px 0; padding-left: 1.2em; }
.far-picks li { margin: 4px 0; }
.far-picks small { color: var(--ink-2); font-size: 13px; margin-left: 4px; }
.visited-note p, .far-picks p { margin: 0; }
.visited-note a { display: inline-block; padding: 11px 4px; }
.baby-note { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.wk-relmk { display: inline-block; margin-left: 6px; font: 700 13px/1.2 var(--f-body); color: var(--ink); border: 1px solid var(--rule); padding: 1px 4px; white-space: nowrap; vertical-align: middle; }
.fsec-city.is-err { outline: 3px solid var(--shu); outline-offset: 4px; }
.city-err { margin: 6px 0 0; color: var(--shu-ink); font: 800 18px/1.4 var(--f-body); }
.city-err:empty, .city-msg:empty { display: none; }
.city-msg { margin: 6px 0 0; font: 700 16px/1.4 var(--f-body); color: var(--ink); }
.visit-modes { display: grid; gap: 8px; }
.vm-btn { text-align: left; min-block-size: 44px; padding: 8px 10px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; display: grid; gap: 2px; }
.vm-btn b { font: 800 16px/1.3 var(--f-head); }
.vm-btn small { font: 400 13px/1.45 var(--f-body); color: var(--ink-2); }
.vm-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.vm-btn[aria-pressed="true"] small { color: var(--paper); }
.v-ret { display: block; font-size: 13px; color: var(--ink-2); }
.v-resume { margin-top: 4px; }
.plan-ask { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fsec.danger { margin-top: 40px; }

/* 直し n（2026-11-27n） */
/* n5「行った！」の日付の欄 */
.went-when { margin: 10px 0 0; padding: 12px; border: 1.5px solid var(--ink); background: var(--paper); }
.went-when .ww-q { margin: 0 0 8px; font-weight: 700; font-size: 16px; }
.went-when .ww-q small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-2); }
.ww-opts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ww-opt { min-height: 44px; min-width: 72px; padding: 6px 12px; font: 700 15px var(--f-body); background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); cursor: pointer; }
.ww-opt[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.ww-pick { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; }
.ww-pick input { min-height: 44px; font-size: 16px; padding: 4px 6px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); }
.went-when.is-pick .ww-pick input { outline: 2px solid var(--shu); }
.ww-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 0; }
.ww-acts .btn-went { grid-column: auto; min-height: 48px; font-size: 17px; letter-spacing: .08em; padding: 6px 16px; }
/* n5 行った所の日付を直す */
.v-fix { grid-column: 2; font-size: 13px; }
.v-fix summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; color: var(--ink-2); }
.v-fix-row { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.v-fix-row input { min-height: 44px; font-size: 16px; padding: 4px 6px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
/* n4「？」の凡例（一覧に 1 回だけ） */
.q-legend { list-style: none; margin: 0 0 8px; padding: 6px 10px; border-left: 3px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.q-legend p { margin: 0; }

/* n0：札の注記（赤ちゃんの ○ のわけ・自分で確認）は、相性の印のすぐ下の 1 行に（前は grid-area が無く、番号の列に 1 文字ずつ縦に並んだ） */
.card-notes { grid-area: note; display: block; min-width: 0; }
.card-link .chips-unknown { grid-area: chips; }

/* n0-3：お知らせは 1 行目に結論だけ（くわしくは開く）。ボタンは折らず、狭い時は下の行に回す */
.notice .n-item + .n-item { margin-top: 6px; }
.notice .n-head { flex-wrap: wrap; row-gap: 6px; }
.notice .n-text { flex: 1 1 12em; min-width: 0; font-weight: 700; }
.notice-btn { white-space: nowrap; flex: none; }
.notice .n-more { margin: 2px 0 0; font-size: 14px; }
.notice .n-more summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; color: var(--ink-2); }
.notice .n-more p { display: block; margin: 0 0 4px; line-height: 1.6; }
/* 短い注記・名前が 3 行に折れない（n0-3） */
.sec-title { flex-wrap: wrap; }
.sec-title small { white-space: nowrap; }
@media (max-width: 480px) { .stations { grid-template-columns: 1fr; } }

/* ── 2026-11-27n 第 2 段 ── */
/* s3 好きな種類のボタン（設定・はじめの画面）：押しやすく、折れても 1 つのボタンの中で 2 行まで */
.like-btns { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; margin-top: 8px; }
.like-btn { min-block-size: 46px; padding: 4px 8px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font: 700 15px/1.3 var(--f-body); cursor: pointer; word-break: keep-all; }
.like-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: inset 0 -3px 0 var(--shu); }
.who-extra { margin-top: 12px; padding-top: 8px; border-top: 1px dotted var(--rule); }
.seg-travel button { white-space: nowrap; }
/* s3 種類でしぼる：横に流せる 1 行（スマホで折れて縦に並ばない） */
.kind-filter { display: flex; align-items: stretch; border: 1.5px solid var(--ink); background: var(--paper); margin: 0 0 12px; max-width: 100%; }
.kind-filter .pf-lab { flex: none; white-space: nowrap; padding: 0 8px; }
.kf-row { display: flex; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; min-width: 0; flex: 1 1 auto; }
.kf-btn { flex: none; white-space: nowrap; }
.kf-btn.is-like::before { content: '★'; color: var(--shu); margin-right: 3px; font-size: 13px; }
.kf-btn[aria-pressed="true"].is-like::before { color: #ffd9cf; }
/* s5 札に同じ会場のほかの催しの名前（2 つまで） */
.card-also-names { grid-area: also; font: 600 14px/1.45 var(--f-body); color: var(--ink-2); margin-top: 1px; }
.card-link { grid-template-areas: "no cat illo" "no name illo" "no also illo" "no why illo" "no when illo" "nums nums nums" "chips chips chips" "note note note" "tags tags tags" "src src src"; }
/* s6 自分で作る組み合わせ：人は押しやすい大きなボタン */
.cp-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; margin: 6px 0 10px; }
.cp-person { min-block-size: 52px; padding: 4px 8px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font: 700 16px/1.3 var(--f-body); cursor: pointer; }
.cp-person[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: inset 0 -3px 0 var(--shu); }
.cp-name { flex: 1 1 200px; margin: 0; }
.cp-add-row { align-items: flex-end; }
/* s7 設定：目次・まとまりの見出し・保存した知らせ */
.set-toc { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 4px 0 10px; padding: 6px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.toc-link { min-block-size: 44px; padding: 2px 8px; border: 0; background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font: 600 15px/1.3 var(--f-body); cursor: pointer; white-space: nowrap; }
.set-group { margin: 18px 0 4px; font: 800 15px/1.4 var(--f-head); letter-spacing: .12em; color: var(--shu-ink); }
.form .fsec { scroll-margin-top: 12px; }
.save-msg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 0; padding: 8px 10px; border: 1.5px solid var(--ink); background: #eef3e6; font-size: 16px; }
.save-msg[hidden] { display: none; }
.save-msg .mini-act { white-space: nowrap; }
/* s8-7 見出し「11/27（きょう・金）の／おでかけの案」は言葉の切れ目で折る */
.day-title .nw { white-space: nowrap; }
/* 直し o1：文字を大きくした時（拡大 1.12・1.25 倍）も、中身の幅を画面の幅に収め、文字は折り返す（切らない・隠さない） */
.cards { grid-template-columns: minmax(0, 1fr); }
.card, .card-link > *, .cards > li, .fold a > *, .same-venue, .today-events, .venue-facts, .day-bar, .day-acts { min-width: 0; }
.card-link { grid-template-columns: 34px minmax(0, 1fr) 76px; }
@media (min-width: 900px) { .card-link { grid-template-columns: 40px minmax(0, 1fr) 96px; } }
.an-head { flex-wrap: wrap; }
html[data-fontsize="large"] .mini-act, html[data-fontsize="xlarge"] .mini-act { white-space: normal; }
.fold-sub span { white-space: normal; }
.fold a { grid-template-columns: 30px minmax(0, 1fr) auto; }
.ledger-row { grid-template-columns: 5.4em 4.6em minmax(0, 1fr) auto; }
.ledger-row.total.q { grid-template-columns: 5.4em minmax(0, 1fr); }
.ledger-row > * { min-width: 0; }
html[data-fontsize="xlarge"] .ledger-row { grid-template-columns: 4.8em 4em minmax(0, 1fr) auto; }
/* 直し o6 しぼる：1 つの行（横に流せる） */
.day-bar .paper-filter { flex: 1 1 100%; flex-wrap: nowrap; min-width: 0; margin: 0; }
.day-bar .paper-filter .pf-lab { flex: none; white-space: nowrap; padding: 0 8px; align-self: center; }
.day-bar .paper-filter .pf-btn { flex: none; white-space: nowrap; }
/* 直し o2 会場の札・会場の名前・名前の頭の札 */
.label-badge { font-size: 13px; font-weight: 700; color: var(--ink); border: 1px solid var(--ink); padding: 0 5px; background: var(--paper-2); }
.day-events .te-head small { font-size: 13px; }
.de-fee, .de-why { font-size: 13px; color: var(--shu-ink); font-weight: 700; }
.wk-venue { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.wk-weekday { font-weight: 700; }
/* 直し o9-3 くわしい画面のいちばん上 */
.d-sum { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 4px 0 8px; font: 700 15px/1.45 var(--f-body); color: var(--ink); }
.d-head .d-quick-bar { margin: 6px 0 10px; }
.q-more { display: inline-block; }
.q-more > summary { cursor: pointer; min-block-size: 44px; display: inline-flex; align-items: center; padding: 0 10px; border: 1.5px solid var(--ink); font: 700 15px var(--f-body); }
.q-more-body { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
/* 直し o7 送る文 */
.send-err { margin: 4px 0 0; color: var(--shu-ink); font-weight: 700; font-size: 14px; }
.send-err:empty { display: none; }
/* 直し o9-4 祖父母 */
.m65-btn { min-block-size: 44px; padding: 4px 10px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font: 700 15px/1.3 var(--f-body); cursor: pointer; }
.m65-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.who-add { display: flex; flex-wrap: wrap; gap: 8px; }
/* o1：理由の 1 行の部分は、長い時は折り返す（言葉の途中でなるべく折らない） */
.why-part { display: inline-block; max-width: 100%; white-space: normal; word-break: keep-all; overflow-wrap: anywhere; }
/* o1：文字が大きい時のスマホの幅は、札の絵を小さくして名前の列を広く（名前が 3 行に折れない） */
@media (max-width: 480px) { html[data-fontsize="large"] .card-link, html[data-fontsize="xlarge"] .card-link { grid-template-columns: 28px minmax(0, 1fr) 48px; } html[data-fontsize="large"] .card-illo, html[data-fontsize="xlarge"] .card-illo { width: 48px; height: 48px; } }
.day-events .te-list a { flex-wrap: wrap; }
@media (max-width: 480px) { html[data-fontsize="xlarge"] .card-link { column-gap: 6px; } html[data-fontsize="xlarge"] .card-name { font-size: 16px; line-break: anywhere; } }

/* 直し p 第 2 段：保存のボタンの添え書き・すぐ反映の 1 行・くわしい人向けの欄 */
.save-note { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.set-instant { margin: 0 0 8px; }
.intake-more { margin-top: 10px; }
.intake-more > summary { cursor: pointer; font-size: 13.5px; }

/* 直し q（q1）：理由の行の見出し「理由」 */
.why-head { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 4px; background: var(--shu-ink); color: var(--paper); font: 700 13px/1.6 var(--f-body); vertical-align: 1px; }
.wk-why { display: block; margin: 2px 0; font: 700 14px/1.45 var(--f-body); color: var(--shu-ink); }
/* 直し q（q3）：だいたいの目安の 1 行（全部の案に同じ形） */
.rough-line { flex-basis: 100%; margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
/* 直し q：狭い画面では一人ずつの表の「わけ」を行の下に回して、全部の幅を使う（文字を大きくした時に 1 文字ずつ折れない） */
@media (max-width: 560px) {
  .wx-table thead { display: none; }
  .wx-table tbody tr { display: grid; grid-template-columns: auto 1fr; align-items: center; }
  .wx-table tbody th { width: auto; }
  .wx-table td.t-sky { width: auto; }
  .wx-table td.t-why { grid-column: 1 / -1; padding-top: 0; }
}
/* 直し q 第 2 段（s5）：天気の絵の横の短い言葉 */
.wk-skyword, .strip-word { display: inline-block; margin-left: 3px; font-size: 13px; line-height: 1.3; color: var(--ink); vertical-align: middle; }
/* 祖父母の年齢（r2-a2）：2 つ並べる・選んだ方は「（選択中）」の文字も */
.seg-m65 { display: flex; gap: 6px; flex-wrap: wrap; }
.seg-m65 .m65-btn { flex: 1 1 8em; }
.m65-on { display: inline; font-size: 13px; font-weight: 700; margin-left: 2px; }
.m65-unset, .m65-warn { color: var(--ink); font-size: 14px; }
.m65-warn { margin: 4px 0; padding: 6px 10px; border-left: 4px solid var(--ink); background: var(--paper); }
/* 直し s：案の面を短く（s2）。PC の幅（900px 以上）は今のまま、それより狭い幅は 5 つの部品だけ・「くわしく」でその場に開く */
.m-only { display: none; }
.money1 .money-line { font: 800 16px/1.35 var(--f-head); }
.card-sum { grid-area: sum; font-weight: 700; font-size: 15px; line-height: 1.45; margin-top: 4px; }
@media (max-width: 899px) {
  .m-only { display: revert; }
  .card-sum.m-only { display: block; }
  .card-link { grid-template-areas: "no cat illo" "no name illo" "no also illo" "no why illo" "no sum illo" "no when illo" "nums nums nums" "chips chips chips" "note note note" "tags tags tags" "src src src"; }
  .card:not(.is-open) .m-extra { display: none !important; }
  .card-more-btn { display: block; margin: 6px 0 0 34px; min-block-size: 44px; padding: 4px 14px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font: 700 15px/1.3 var(--f-body); cursor: pointer; }
  .card.is-open .card-more-btn { background: var(--ink); color: var(--paper); }
  .card-detail-link { display: inline-block; margin: 6px 0 2px; font-weight: 700; min-block-size: 44px; line-height: 44px; }
  .card-venue-m { display: inline; font-size: 14px; font-weight: 700; }
  .lead-more:not([open]) ~ .lead-rest { display: none; }
}
/* 文字の大きさ「特大」（s4）：1.5 倍。「大きめ」以上は、うすい紺の小さい説明文を本文と同じ色に */
html[data-fontsize="huge"] body { zoom: 1.5; }
html[data-fontsize="large"], html[data-fontsize="xlarge"], html[data-fontsize="huge"] { --ink-2: var(--ink); }
html[data-fontsize="huge"] .card-link { grid-template-columns: 24px minmax(0, 1fr) 0; column-gap: 4px; }
html[data-fontsize="huge"] .card-illo { display: none; }
html[data-fontsize="huge"] .card-name { line-break: anywhere; }
html[data-fontsize="huge"] .wk-sum2 { flex-direction: column; align-items: flex-start; gap: 2px; }
html[data-fontsize="huge"] .mini-act { white-space: normal; }
html[data-fontsize="huge"] .ledger-row { grid-template-columns: 4.8em 4em minmax(0, 1fr) auto; }
@media (max-width: 899px) { html[data-fontsize="huge"] .mast-title { font-size: 28px; letter-spacing: .04em; } }
.seg-font { flex-wrap: wrap; }
.seg-font button { flex: 1 1 4.5em; }
/* 並べ方（s1）と、頭の説明文はスマホでは 2 行まで（s2） */
.sort-pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.sort-pick button { min-block-size: 44px; padding: 2px 12px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font: 700 15px/1.3 var(--f-body); cursor: pointer; }
.sort-pick button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.sort-note { display: block; margin-top: 2px; }
@media (max-width: 899px) {
  .fc-tally:not(.is-open) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .lead-more-btn { display: inline-block; min-block-size: 44px; padding: 2px 10px; border: 0; background: transparent; color: var(--ink); font: 700 14px/1.3 var(--f-body); text-decoration: underline; cursor: pointer; }
  .paper-filter:not(.is-open) .kf-row { display: none; }
  .pf-toggle { display: inline-block; min-block-size: 44px; padding: 2px 12px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font: 700 15px/1.3 var(--f-body); cursor: pointer; }
  .paper-filter.is-open .pf-toggle { background: var(--ink); color: var(--paper); }
  .paper-filter .pf-lab { display: none; }
}
@media (min-width: 900px) { .pf-toggle { display: none; } }
/* 直し s：狭い幅では、理由・移動とお金の行を絵の列まで広げる（長い理由が 3 行に折れないように） */
@media (max-width: 899px) {
  .card-link { grid-template-areas: "no cat illo" "no name illo" "no also also" "no why why" "no sum sum" "no when when" "nums nums nums" "chips chips chips" "note note note" "tags tags tags" "src src src"; }
  .kf-row .pf-btn { flex: 0 0 auto; white-space: nowrap; }
}
/* 特大（s4）：画面の幅が 1.5 倍ぶん狭くなるので、題字・設定の並び・内訳の表を 1 列に */
html[data-fontsize="huge"] .sheet { padding-left: 8px; padding-right: 8px; }
html[data-fontsize="huge"] .mast { grid-template-columns: minmax(0, 1fr); }
html[data-fontsize="huge"] .mast-vane { display: none; }
html[data-fontsize="huge"] .mast-kicker { flex-wrap: wrap; }
html[data-fontsize="huge"] .mast-no { margin-left: 0; }
html[data-fontsize="huge"] .mast-title { font-size: 24px; letter-spacing: .02em; }
html[data-fontsize="huge"] .mast-issued { font-size: 13px; }
html[data-fontsize="huge"] .peek-btn { white-space: nowrap; }
html[data-fontsize="huge"] .bv-chip { display: flex; flex-wrap: wrap; width: 100%; }
html[data-fontsize="huge"] .bv-chip-tag { white-space: nowrap; }
html[data-fontsize="huge"] .parties li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
html[data-fontsize="huge"] .ledger-row { grid-template-columns: minmax(0, 1fr) auto; }
html[data-fontsize="huge"] .ledger-row > .l-k, html[data-fontsize="huge"] .ledger-row > .l-who, html[data-fontsize="huge"] .ledger-row > .l-calc { grid-column: 1; }
html[data-fontsize="huge"] .ledger-row > .l-v { grid-column: 2; grid-row: 1; }
html[data-fontsize="huge"] .ledger-row .l-calc:empty, html[data-fontsize="huge"] .ledger-row .l-who:empty { display: none; }
html[data-fontsize="huge"] .q-act, html[data-fontsize="huge"] .btn { white-space: normal; }
html[data-fontsize="huge"] .ledger-row.total.q { grid-template-columns: minmax(0, 1fr); }
html[data-fontsize="huge"] .ledger-row.total.q > .l-v { grid-column: 1; grid-row: auto; text-align: left; }
/* 大きめ・とても大きいのスマホの幅：内訳の計算の欄が細くなりすぎないように 2 列に（直し s で「700 円（3 時間まで）」が 3 行に折れた） */
@media (max-width: 480px) {
  html[data-fontsize="large"] .ledger-row:not(.total), html[data-fontsize="xlarge"] .ledger-row:not(.total) { grid-template-columns: minmax(0, 1fr) auto; }
  html[data-fontsize="large"] .ledger-row:not(.total) > .l-k, html[data-fontsize="large"] .ledger-row:not(.total) > .l-who, html[data-fontsize="large"] .ledger-row:not(.total) > .l-calc,
  html[data-fontsize="xlarge"] .ledger-row:not(.total) > .l-k, html[data-fontsize="xlarge"] .ledger-row:not(.total) > .l-who, html[data-fontsize="xlarge"] .ledger-row:not(.total) > .l-calc { grid-column: 1; text-align: left; }
  html[data-fontsize="large"] .ledger-row:not(.total) > .l-v, html[data-fontsize="xlarge"] .ledger-row:not(.total) > .l-v { grid-column: 2; grid-row: 1; }
  html[data-fontsize="large"] .ledger-row .l-calc:empty, html[data-fontsize="large"] .ledger-row .l-who:empty, html[data-fontsize="xlarge"] .ledger-row .l-calc:empty, html[data-fontsize="xlarge"] .ledger-row .l-who:empty { display: none; }
}
html[data-fontsize="huge"] .ledger-row .l-calc { text-align: left; }
/* 詳細の押す所（「☆ 気になる（あとで比べる）」が長くなった。直し s）：狭い幅では折り返して画面に収める */
@media (max-width: 899px) { .d-quick-bar .q-act { white-space: normal; max-width: 100%; text-align: left; } }
/* 直し s の見た目の点検で出た所 */
@media (max-width: 899px) { .d-quick-bar .q-act { flex: 1 1 12em; } }
.seg.seg-font { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(5.2em, 1fr)); }
.seg.seg-font button + button { border-left: 0; }
.seg.seg-font button { border-left: 1px solid var(--rule); }
html[data-fontsize="huge"] .tab { letter-spacing: 0; font-size: 14px; }
html[data-fontsize="huge"] .mem-top { flex-wrap: wrap; }
html[data-fontsize="huge"] .notice p { flex-wrap: wrap; }
.q-more[open] { display: block; flex-basis: 100%; }
.q-more-body .q-act { flex: 1 1 12em; white-space: normal; text-align: left; }
html[data-fontsize="huge"] .wk-relmk { white-space: normal; margin-left: 0; }
html[data-fontsize="huge"] .wk-head { grid-template-columns: 44px 36px minmax(0, 1fr) 16px; column-gap: 4px; }
html[data-fontsize="huge"] .seg:not(.seg-font) { grid-auto-flow: row; }
html[data-fontsize="huge"] .seg:not(.seg-font) button + button { border-left: 0; border-top: 1px solid var(--rule); }
html[data-fontsize="huge"] .fld input { min-width: 0; max-width: 100%; }
.q-more:not([open]) .q-act { white-space: nowrap; } /* 閉じている間の中身が細く測られて 1〜2 字ずつに折れないように */
/* 題字のロゴ（2026-11-28 ユーザーの決定「おでかけ 空もよう帳」）：狭い幅は 2 段組み（logo-d）、900px 以上は横 1 列（logo-e） */
.mast-title { font-size: 0; line-height: 0; letter-spacing: 0; text-shadow: none; white-space: normal; margin: 4px 0 2px; }
.mast-title picture { display: block; }
.mast-logo { display: block; width: min(100%, 300px); height: auto; max-width: 100%; }
@media (max-width: 899px) {
  .mast { grid-template-columns: minmax(0, 1fr); }
  .mast-vane { display: none; }
  /* 入口（1 週間・はじめの入力）は大きく。その先の画面（その日の案・くわしく・行った所・設定）は、案が早く見えるように小さく（2026-11-28） */
  body[data-view="day"] .mast-logo, body[data-view="detail"] .mast-logo, body[data-view="log"] .mast-logo, body[data-view="settings"] .mast-logo { width: min(100%, 190px); }
}
@media (min-width: 900px) {
  .mast-logo { width: auto; height: 134px; max-width: 100%; object-fit: contain; object-position: left center; } /* 前の題字の文字（56px）の約 2.4 倍 */
}
html[data-fontsize="large"] .mast-title, html[data-fontsize="xlarge"] .mast-title, html[data-fontsize="huge"] .mast-title { font-size: 0; letter-spacing: 0; }
@media print { .mast-title { font-size: 0; } .mast-logo { width: 240px; height: auto; } }
.auto-mk { margin-left: 6px; padding: 0 4px; border: 1px solid var(--rule); font: 400 13px/1.4 var(--f-body); vertical-align: middle; }
.ww-approx { margin: 4px 0 0; font-size: 14px; }
@media (max-width: 480px) { html[data-fontsize="large"] .parties li, html[data-fontsize="xlarge"] .parties li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
/* 直し t の t1：その日の案は、札にたどり着くまでを短く */
.zone-pick { margin-top: 10px; border: 1.5px solid var(--ink); background: var(--paper); }
.zone-pick > summary { list-style: none; cursor: pointer; min-block-size: 44px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; padding: 6px 10px; font-size: 15px; }
.zone-pick > summary::-webkit-details-marker { display: none; }
.zone-pick .zone-lab { font-weight: 700; }
.zone-pick .zone-chg { margin-left: auto; padding: 2px 10px; border: 1px solid var(--ink); font-weight: 700; font-size: 14px; }
.zone-pick[open] .zone-chg { background: var(--ink); color: var(--paper); }
.zone-pick .zone-list { padding: 0 8px 8px; }
.daypane .revision p { margin: 0; }
.forecast .sort-pick { margin-top: 10px; }
.fc-count { margin: 6px 0 4px; font-size: 14px; color: var(--ink); }
.fc-after { margin: 10px 0 4px; display: grid; gap: 4px; }
.fc-after .count-pick { justify-content: flex-start; }
.count-note { margin: 0; font-size: 13px; }
.day-tools { margin-top: 14px; }
.about-order { margin: 16px 0 8px; border-top: 1px solid var(--rule); padding-top: 6px; }
.about-order > summary { cursor: pointer; min-block-size: 44px; display: flex; align-items: center; font-weight: 700; font-size: 15px; text-decoration: underline; }
.about-order .fc-tally, .about-order .fc-tally:not(.is-open) { display: block; -webkit-line-clamp: unset; overflow: visible; }
.about-order p { font-size: 14px; line-height: 1.6; }
/* 特大（t1）：畳んだ行は印を名前の下へ・札の前の件数の行は「この並びについて」と同じ所で足りるので出さない */
html[data-fontsize="huge"] .fold a { grid-template-columns: 24px minmax(0, 1fr); grid-template-areas: "no name" "no sub" "no fit"; column-gap: 4px; }
html[data-fontsize="huge"] .fold-fit { justify-self: start; }
html[data-fontsize="huge"] .fc-count { display: none; }
html[data-fontsize="huge"] .daypane .revision-stamp { display: none; }
html[data-fontsize="huge"] #day-notice .n-mk { display: none; }
html[data-fontsize="huge"] #day-notice .n-text { font-size: 15px; }

/* u1（2026-11-28 ユーザーの決定「組み直しの案でいきましょう」）：PC の題字まわりは、新聞の題字の組み。
   上の細い行は横いっぱい／左に風見鶏・中央にロゴ E と副題・右に発表の行と札／その下に切り替えを横いっぱい。
   公開ページ（worker\assets\site.css）と同じ組み。ロゴの右を空けたままにしない・タブを右下に離して置かない（SPEC） */
@media screen and (min-width: 900px) {
  .mast {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "kick kick kick" "left title issued" "left sub issued" "tabs tabs tabs";
    column-gap: 24px; row-gap: 0; align-items: center; padding-top: 14px;
  }
  .mast-text { display: contents; }
  .mast-kicker { grid-area: kick; }
  .mast-vane { grid-area: left; justify-self: start; align-self: center; width: 84px; margin: 8px 0; }
  .mast-title { grid-area: title; justify-self: center; margin: 10px 0 0; }
  .mast-logo { width: auto; height: 118px; max-width: 100%; object-position: center; }
  .mast-sub, body[data-view] .mast-sub { grid-area: sub; display: block; justify-self: center; align-self: start; margin: 2px 0 12px; font-size: 15px; letter-spacing: .12em; text-align: center; }
  .mast-issued { grid-area: issued; justify-self: end; align-self: center; margin: 0; flex-direction: column; flex-wrap: nowrap; align-items: flex-end; gap: 6px; text-align: right; }
  .mast-issued .issued-date { text-wrap: balance; } /* 狭い時に 1 字だけ次の行に落ちないように */
  .tabs { grid-area: tabs; margin: 0; border: 0; }
  .tab { border-top: 1px solid var(--rule); }
  /* 文字を大きくした時（全体を拡大するので、使える幅が狭くなる）：とても大きいはロゴを少し小さく、特大は 1 列に重ねる */
  html[data-fontsize="xlarge"] .mast-logo { height: 100px; }
  html[data-fontsize="huge"] .mast { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kick" "title" "sub" "issued" "tabs"; }
  html[data-fontsize="huge"] .mast-logo { height: 96px; }
  html[data-fontsize="huge"] .mast-issued { justify-self: center; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; margin: 0 0 8px; text-align: center; }
}
@media screen and (min-width: 900px) and (max-width: 1099px) {
  .mast { grid-template-columns: minmax(0, 1fr) auto minmax(244px, 1fr); column-gap: 14px; } /* 右の発表の行が 1 行に収まる幅を先に取る */
  .mast-logo { height: 100px; }
  .mast-vane { width: 72px; }
  .mast-issued .issued-date { font-size: 13px; letter-spacing: 0; white-space: nowrap; }
  html[data-fontsize="large"] .mast-issued .issued-date, html[data-fontsize="xlarge"] .mast-issued .issued-date { white-space: normal; }
}
.went-done { margin: 6px 0 0; font-weight: 700; color: var(--shu-ink); flex-basis: 100%; }
/* 設定の人の欄（直し t 第 2 段）：人と人の間をはっきり分ける（呼び名の下に別の人の年齢の欄が続いて見えた） */
.mems > .mem + .mem, .mem + .mem { border-top: 2px solid var(--ink); margin-top: 12px; padding-top: 12px; }
/* 送るボタン（u6）：頭の 5 件のすぐ下と、詳細の合計の近くに大きく */
.head-send { list-style: none; margin: 4px 0 14px; }
.big-send { display: block; width: 100%; min-height: 52px; border: 2px solid var(--shu); background: var(--shu); color: #fff; font: 800 17px/1.3 var(--f-body); cursor: pointer; padding: 8px 12px; }
.big-send:hover { background: var(--shu-ink); }
.d-send-row { margin: 8px 0 4px; }
.why-first { display: block; font-weight: 700; color: var(--ink); }
.near-hint { list-style: none; margin: 2px 0 6px; }
.near-hint p { margin: 0; font-size: 14px; color: var(--ink-2); }
/* u10：PC の幅では、種類でしぼるボタンを折り返す（横に流さない。隠れたボタンに気づけなかった） */
@media (min-width: 900px) {
  .kf-row { flex-wrap: wrap; overflow-x: visible; }
  .kf-btn { border-bottom: 1px solid var(--rule); }
  .day-bar .paper-filter { flex-wrap: wrap; }
}
.d-flt-out { margin: 4px 0; font-size: 14px; color: var(--ink-2); }
/* u9：おでかけなしの平日も、天気の字は読める濃さと大きさに（薄さ 0.75 以上・15px 以上） */
.wk-row.off .wk-head, .wk-row.off .wk-head * { opacity: 1; }
.wk-row.off .wk-head { opacity: .8; }
.wk-row.off .wk-skyword, .wk-row.off .wk-sum2, .wk-row.off .wk-sum2.dim { font-size: 15px; }
@media (max-width: 899px) { .wk-row.off .wk-head { opacity: .8; } }
@media (min-width: 900px) { .wk-row.off .wk-head { opacity: .8; } }
/* u9：設定の市を選んである時は一覧を畳む・節の頭の保存の 1 行 */
.fsec-city.is-folded .city-reg-tabs, .fsec-city.is-folded .city-chips, .fsec-city.is-folded label.fld, .fsec-city.is-folded .city-selected:not(.city-sel-top) { display: none; }
.city-sel-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.fsec-save { margin: 0 0 6px; font-size: 13.5px; color: var(--ink-2); }
/* u13：札の「要予約」 */
.card-resv { display: block; font: 400 13.5px/1.5 var(--f-body); color: var(--shu-ink); margin-top: 2px; }
.card-resv b { border: 1px solid var(--shu); padding: 0 5px; margin-right: 4px; font-weight: 700; }
.seen-line { list-style: none; margin: 0 0 8px; } .seen-line p { margin: 0; font-size: 14px; color: var(--ink-2); } .seen-line a { color: var(--ink); }
/* 最終日の枠（直し y の y1-c）：頭の 5 件の上。番号は付けない */
.last-frame { list-style: none; margin: 0 0 12px; padding: 10px 12px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--paper, transparent); }
.last-frame .lf-title { margin: 0 0 6px; font-size: 15px; }
.last-frame ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.last-frame li a { font-weight: 700; color: var(--ink); }
.last-frame small { display: block; font-size: 13px; color: var(--ink-2); }
.went-inline { border: 1.5px solid var(--ink); padding: 6px 10px; margin: 6px 0; background: var(--paper); } .went-inline p { margin: 2px 0; } .went-days { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .went-more { font-size: 14px; }
/* v4・v7：はじめの画面の小さな説明も 15px 以上 */
.form-sheet.is-setup .fld-help, .form-sheet.is-setup .fld-lab small, .form-sheet.is-setup .fsec-title small, .form-sheet.is-setup .mem-role, .form-sheet.is-setup .mob-pick small, .form-sheet.is-setup .who-btn small, .form-sheet.is-setup .m65-warn { font-size: 15px; }
.mob-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 6px 0; }
/* v7：「変える」をほかの押す所と同じボタンの見た目に（枠・影・押せる大きさ） */
.zone-pick .zone-chg, .party-chg { display: inline-flex; align-items: center; min-block-size: max(38px, var(--target-size)); padding: 4px 12px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font: 700 15px var(--f-body); box-shadow: 2px 2px 0 rgba(37,54,106,.35); border-radius: 0; }
.zone-pick .zone-chg::after, .party-chg::after { content: ' ▾'; font-size: 13px; }
/* v7：1 週間の表の出かけない日も、行全体を読める濃さに */
.wk-row.off { opacity: 1; }
.wk-row.off .wk-head, .wk-row.off .wk-body { opacity: .85; }
.wk-row.off .wk-skyword, .wk-row.off .wk-temp, .wk-row.off .wk-pop, .wk-row.off .wk-off small, .wk-row.off .wk-sum2 { font-size: 15px; }
.form-solo-ok { margin: 0 0 6px; font-size: 15px; color: var(--ink-2); }
.seen-head { list-style: none; margin: 12px 0 4px; }
/* x2：文字が「とても大きい」「特大」の時、その日の案の画面ではロゴを小さく（幅 130px）・7 日ぶんの表はたたんで「ほかの日を見る」 */
.strip-toggle { display: none; }
html[data-fontsize="xlarge"] body[data-view="day"] .mast-logo, html[data-fontsize="huge"] body[data-view="day"] .mast-logo { width: 130px; height: auto; }
html[data-fontsize="xlarge"] .strip-toggle, html[data-fontsize="huge"] .strip-toggle { display: block; width: 100%; min-height: 46px; margin-top: 8px; border: 1.5px solid var(--ink); background: var(--paper); font: 700 15px var(--f-body); cursor: pointer; }
html[data-fontsize="xlarge"] body:not(.strip-open) .strip, html[data-fontsize="huge"] body:not(.strip-open) .strip { display: none; }
/* x2：日を切り替える表の出かけない日も読める濃さ・15px */
.strip-day.off { opacity: .85; }
.strip-day.off .strip-t, .strip-day.off .strip-p, .strip-day.off .strip-word { font-size: 15px; }
/* x5：「＋ いっしょに行く人を足す」は組み合わせの一覧の下に 1 行で */
.zone-add { display: block; grid-column: 1 / -1; width: 100%; text-align: center; text-decoration: none; color: var(--ink); white-space: nowrap; }
/* x2：特大・とても大きいのその日の案では、題字の下の小見出しと発表の行も畳む（1 番目の札を上へ） */
html[data-fontsize="xlarge"] body[data-view="day"] .mast-sub, html[data-fontsize="huge"] body[data-view="day"] .mast-sub,
html[data-fontsize="xlarge"] body[data-view="day"] .mast-issued, html[data-fontsize="huge"] body[data-view="day"] .mast-issued { display: none; }
html[data-fontsize="huge"] body[data-view="day"] .mast-title { margin: 4px 0 0; }
/* x2 の残り：特大・とても大きいのその日の案では、並べ方・種類でしぼるの行と、題字の上の行（うち：◯◯・ほかの地域を見る）も畳む（「ほかの日・並べ方を見る」で開く） */
html[data-fontsize="xlarge"] body[data-view="day"]:not(.strip-open) .sort-pick, html[data-fontsize="huge"] body[data-view="day"]:not(.strip-open) .sort-pick,
html[data-fontsize="xlarge"] body[data-view="day"]:not(.strip-open) .kind-filter, html[data-fontsize="huge"] body[data-view="day"]:not(.strip-open) .kind-filter,
html[data-fontsize="huge"] body[data-view="day"]:not(.strip-open) .mast-kicker, html[data-fontsize="huge"] body[data-view="day"]:not(.strip-open) .mast-vane { display: none; }
html[data-fontsize="huge"] body[data-view="day"] .back { min-height: 40px; margin-top: 2px; }
.card-lib { display: block; font: 400 14px/1.4 var(--f-body); color: var(--ink-2); } .lib-more { margin: 4px 0; font-size: 15px; } .lib-more ul { margin: 4px 0 0; padding-left: 1.2em; }

/* ════════════════════════════════════════════════════════════════════════
   Design A（Living Sky Bento）× S01 ガラス太陽＋SORAMOYO × 13 天気アイコン × 1 か月カレンダー
   ════════════════════════════════════════════════════════════════════════ */

/* 13 空模様ごとの Living Sky ヘッダー背景（明暗に応じた高コントラスト文字色） */
.mast {
  --mast-fg: #0f294a;
  --mast-sub: #334e6f;
  --mast-pill-bg: rgba(255, 255, 255, .78);
  --mast-pill-bd: rgba(15, 41, 74, .14);
  background: linear-gradient(135deg, #fef9c3 0%, #e0f2fe 48%, #bae6fd 100%);
  border-radius: 0 0 24px 24px;
  border-bottom: 2px solid rgba(2, 132, 199, .26);
  padding: 12px 16px 10px;
  color: var(--mast-fg);
  box-shadow: 0 10px 28px rgba(15, 41, 74, .06);
  transition: background .3s ease, color .25s ease;
}
.mast[data-sky="partly"] { background: linear-gradient(135deg, #fef3c7 0%, #e0f2fe 52%, #cbd5e1 100%); }
.mast[data-sky="cloudy"] { background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 55%, #cbd5e1 100%); }
.mast[data-sky="sun_rain"] { background: linear-gradient(135deg, #fef3c7 0%, #dbeafe 46%, #93c5fd 100%); }
.mast[data-sky="fog"] { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 55%, #cbd5e1 100%); }
.mast[data-sky="snow"] { background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 52%, #bfdbfe 100%); }
.mast[data-sky="rain"],
.mast[data-sky="heavy_rain"],
.mast[data-sky="sleet"],
.mast[data-sky="storm"],
.mast[data-sky="thunder"],
.mast[data-sky="heat"],
.mast[data-sky="night"] {
  --mast-fg: #ffffff;
  --mast-sub: #e0f2fe;
  --mast-pill-bg: rgba(15, 23, 42, .42);
  --mast-pill-bd: rgba(255, 255, 255, .28);
  border-bottom-color: rgba(255, 255, 255, .22);
}
.mast[data-sky="rain"] { background: linear-gradient(135deg, #334155 0%, #1e3a8a 65%, #1d4ed8 100%); }
.mast[data-sky="heavy_rain"] { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1e40af 100%); }
.mast[data-sky="sleet"] { background: linear-gradient(135deg, #334155 0%, #475569 55%, #1e3a8a 100%); }
.mast[data-sky="storm"] { background: linear-gradient(135deg, #0f172a 0%, #115e59 60%, #1e293b 100%); }
.mast[data-sky="thunder"] { background: linear-gradient(135deg, #0f172a 0%, #312e81 58%, #1e1b4b 100%); }
.mast[data-sky="heat"] { background: linear-gradient(135deg, #ea580c 0%, #dc2626 62%, #991b1b 100%); --mast-sub: #fef3c7; }
.mast[data-sky="night"] { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 58%, #312e81 100%); --mast-sub: #e0e7ff; }

.mast-kicker { color: var(--mast-fg); border-bottom-color: var(--mast-pill-bd); }
.mast-sub { color: var(--mast-sub); }
.mast-issued { color: var(--mast-sub); }
.mast .issued-what { background: var(--mast-fg); color: #ffffff; border-radius: 999px; padding: 2px 11px; }
.mast[data-sky="rain"] .issued-what,
.mast[data-sky="heavy_rain"] .issued-what,
.mast[data-sky="sleet"] .issued-what,
.mast[data-sky="storm"] .issued-what,
.mast[data-sky="thunder"] .issued-what,
.mast[data-sky="heat"] .issued-what,
.mast[data-sky="night"] .issued-what { background: rgba(255, 255, 255, .2); color: #ffffff; }
.mast .peek-btn {
  background: var(--mast-pill-bg);
  color: var(--mast-fg);
  border: 1.5px solid var(--mast-pill-bd);
  border-radius: 999px;
}

/* S01 ガラス太陽＋SORAMOYO ロックアップ */
.mast-brand-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 14px; margin: 6px 0 4px;
}
.mast-title { font-size: 16px; line-height: 1.15; margin: 0; text-shadow: none; letter-spacing: 0; }
html[data-fontsize="large"] .mast-title,
html[data-fontsize="xlarge"] .mast-title,
html[data-fontsize="huge"] .mast-title { font-size: 16px; }
.s01-lockup { display: inline-flex; align-items: center; gap: 12px; }
.s01-svg {
  width: 48px; height: 48px; flex: none; display: block;
  filter: drop-shadow(0 5px 12px rgba(15, 41, 74, .2));
}
.s01-rays { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .s01-lockup[data-sky="sunny"]:hover .s01-rays,
  .s01-lockup[data-sky="heat"]:hover .s01-rays {
    animation: s01-spin 18s linear infinite;
  }
}
@keyframes s01-spin { to { transform: rotate(360deg); } }
.s01-word { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.s01-en { font-family: 'Plus Jakarta Sans', 'BIZ UDPGothic', sans-serif; font-weight: 800; font-size: 25px; letter-spacing: .04em; color: var(--mast-fg); }
.s01-en b { font-weight: 800; color: var(--mast-fg); }
.s01-en em { font-style: normal; font-weight: 800; color: #0284c7; }
.mast[data-sky="rain"] .s01-en em,
.mast[data-sky="heavy_rain"] .s01-en em,
.mast[data-sky="sleet"] .s01-en em,
.mast[data-sky="storm"] .s01-en em,
.mast[data-sky="thunder"] .s01-en em,
.mast[data-sky="night"] .s01-en em { color: #7dd3fc; }
.mast[data-sky="heat"] .s01-en em { color: #fef08a; }
.s01-ja { font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: .12em; color: var(--mast-sub); margin-top: 2px; }
.mast-sky-pill {
  margin: 0; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: var(--mast-pill-bg); color: var(--mast-fg); border: 1.5px solid var(--mast-pill-bd);
}
.mast-sky-pill .wx-glyph { width: 24px; height: 24px; }

/* PC ヘッダー（Design A レイアウト：S01 を主役にすっきり 2 段） */
@media screen and (min-width: 900px) {
  .mast {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "kick kick" "brand issued" "sub issued" "tabs tabs";
    gap: 4px 18px;
    padding: 14px 22px 12px;
  }
  .mast-text { display: contents; }
  .mast-kicker { grid-area: kick; }
  .mast-brand-row { grid-area: brand; justify-content: flex-start; margin: 6px 0 2px; }
  .mast-sub, body[data-view] .mast-sub { grid-area: sub; display: block; justify-self: start; text-align: left; margin: 0 0 8px; font-size: 14px; }
  .mast-issued { grid-area: issued; justify-self: end; align-self: center; flex-direction: column; align-items: flex-end; gap: 5px; margin: 0; }
  .tabs { grid-area: tabs; }
  html[data-fontsize="huge"] .mast { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kick" "brand" "sub" "issued" "tabs"; }
  html[data-fontsize="huge"] .mast-issued { justify-self: start; align-items: flex-start; }
}

/* ガラスピル型ナビタブ */
.tabs {
  display: flex; flex-wrap: nowrap;
  gap: 4px; padding: 4px; margin-top: 6px; max-width: 100%;
  background: var(--mast-pill-bg); border: 1px solid var(--mast-pill-bd); border-radius: 999px;
}
.tab {
  flex: 1 1 0; min-width: 0;
  border: 0 !important; border-radius: 999px; min-height: 44px; padding: 6px 4px;
  color: var(--mast-fg); letter-spacing: 0; font-size: 14px;
  transition: background-color .18s ease, color .18s ease;
}
@media (max-width: 899px) {
  body[data-view="day"] #span-pick { display: none; }
}
@media (max-width: 480px) {
  .mast { padding: 8px 10px 8px; }
  .mast-sky-pill { display: none; }
  .tab { font-size: 13px; padding: 6px 2px; }
  .span-bar { margin: 8px 0 2px; padding: 3px; }
  .span-btn { min-height: 40px; padding: 4px 12px; font-size: 14px; }
}
html[data-fontsize="huge"] body[data-view="day"] .mast { padding: 4px 8px; border-radius: 0 0 14px 14px; }
html[data-fontsize="huge"] body[data-view="day"] .mast-brand-row { margin: 2px 0; }
html[data-fontsize="huge"] body[data-view="day"] .s01-svg { width: 32px; height: 32px; }
html[data-fontsize="huge"] body[data-view="day"] .s01-en { font-size: 18px; }
html[data-fontsize="huge"] body[data-view="day"] .s01-ja,
html[data-fontsize="huge"] body[data-view="day"] .mast-sub,
html[data-fontsize="huge"] body[data-view="day"] .mast-issued { display: none; }
html[data-fontsize="huge"] body[data-view="day"] .tabs { margin-top: 3px; padding: 2px; gap: 2px; }
html[data-fontsize="huge"] body[data-view="day"] .tab { min-height: 36px; padding: 3px 4px; font-size: 13px; }
.wk-skyword, .strip-word { white-space: nowrap; }
html[data-fontsize="xlarge"] .ledger-row.total { grid-template-columns: minmax(0, 1fr) auto; }
html[data-fontsize="xlarge"] .ledger-row.total .l-v,
html[data-fontsize="huge"] .ledger-row.total .l-v { font-size: 24px; }
html[data-fontsize="large"] .tabs,
html[data-fontsize="xlarge"] .tabs,
html[data-fontsize="huge"] .tabs {
  flex-wrap: wrap; border-radius: 18px;
}
html[data-fontsize="large"] .tab,
html[data-fontsize="xlarge"] .tab,
html[data-fontsize="huge"] .tab {
  flex: 1 1 44%; font-size: 14px; padding: 6px 4px;
}
.tab[aria-current="page"],
.tab.pc-cur {
  background: #ffffff; color: #0369a1;
  box-shadow: 0 3px 10px rgba(15, 41, 74, .12);
}
.tab[aria-current="page"]::after {
  content: ''; position: absolute; left: 26%; right: 26%; bottom: 4px; height: 3px;
  border-radius: 999px; background: #0284c7;
}

/* 13 種類コンパクト天気アイコン */
.wx-glyph { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; }
.wx-glyph-svg { width: 100%; height: 100%; display: block; }
.wk-sky.big.wx-glyph { width: 38px; height: 38px; }
.day-sky.wx-glyph { width: 42px; height: 42px; }
.strip-sky.wx-glyph { width: 32px; height: 32px; }

/* 7日ストリップ：ホバー時に上部が切れない余白（ユーザー指摘修正） */
.strip {
  padding: 6px 4px 8px;
  margin-inline: -4px;
  gap: 6px;
}
.strip-day {
  border-radius: 14px;
  border: 1.5px solid rgba(15, 41, 74, .14);
  background: #ffffff;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.strip-day:hover {
  transform: translateY(-2px);
  border-color: #0284c7;
  box-shadow: 0 6px 14px rgba(2, 132, 199, .14);
}
.strip-day[aria-pressed="true"] {
  border-color: #0284c7;
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  box-shadow: 0 4px 12px rgba(2, 132, 199, .18);
}

/* 悪天候・猛暑（35℃〜）注意バナー */
.revision {
  border-radius: 16px;
  border: 1.5px solid #0284c7;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 12px 14px;
}
.revision.is-alert {
  border-color: #d97706;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #78350f;
}
.revision.is-heat {
  border-color: #dc2626;
  background: linear-gradient(135deg, #fff7ed 0%, #fee2e2 100%);
  color: #7f1d1d;
}
.revision-stamp {
  border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 800;
  background: #0284c7; color: #ffffff; width: auto; height: auto; border: 0; transform: none;
}
.revision.pop .revision-stamp { animation: none; }
.revision.is-alert .revision-stamp { background: #d97706; }
.revision.is-heat .revision-stamp { background: #dc2626; }
.revision-note { margin: 4px 0 0; font-size: 14px; }

/* 1日ごと ⇄ 1か月カレンダー切替バー（PC の 2 列 .home グリッドで全幅 1 行目に固定） */
.span-bar {
  grid-column: 1 / -1; justify-self: start;
  display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px;
  margin: 14px 0 4px;
  background: #ffffff; border: 1.5px solid rgba(15, 41, 74, .12); border-radius: 999px;
  box-shadow: 0 4px 12px rgba(15, 41, 74, .05);
}
.monthpane { grid-column: 1 / -1; width: 100%; min-width: 0; }
@media screen and (min-width: 900px) {
  .home { row-gap: 14px; column-gap: 40px; }
  #weekpane { grid-column: 1; grid-row: 2; }
  #daypane { grid-column: 2; grid-row: 2; }
  .daypane .day-head { margin-top: 0; }
}
@media print {
  .span-bar, .monthpane { display: none !important; }
}
.span-btn {
  min-height: 44px; padding: 6px 16px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); font: 700 15px var(--f-head); cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.span-btn[aria-pressed="true"] {
  background: #0284c7; color: #ffffff;
  box-shadow: 0 4px 10px rgba(2, 132, 199, .24);
}
body[data-span="month"] #weekpane,
body[data-span="month"] #daypane { display: none !important; }
body[data-span="day"] #monthpane { display: none !important; }

/* 1か月カレンダー（#monthpane） */
.mc-wrap {
  margin-top: 12px; padding: 18px 16px;
  background: #ffffff; border: 1.5px solid rgba(15, 41, 74, .1); border-radius: 20px;
  box-shadow: 0 8px 24px rgba(15, 41, 74, .05);
}
.mc-title { margin: 0 0 6px; font: 800 20px var(--f-head); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.mc-title small { font: 400 14px var(--f-body); color: var(--ink-2); }
.mc-note { margin: 0 0 12px; font-size: 14px; color: var(--ink-2); }
.mc-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.mc-flt {
  min-height: 40px; padding: 4px 14px; border-radius: 999px;
  border: 1.5px solid rgba(15, 41, 74, .16); background: #f8fafc; color: var(--ink);
  font: 700 14px var(--f-body); cursor: pointer;
}
.mc-flt[aria-pressed="true"] { background: #0f294a; color: #ffffff; border-color: #0f294a; }
.mc-dow-head {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px;
  margin-bottom: 6px; text-align: center; font: 700 14px var(--f-head); color: var(--ink-2);
}
.mc-dow-head .is-sat { color: #0369a1; }
.mc-dow-head .is-sun { color: #dc2626; }
.mc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mc-cell {
  min-height: 82px; padding: 6px 5px; border-radius: 14px;
  border: 1.5px solid rgba(15, 41, 74, .12); background: #ffffff;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 3px;
  cursor: pointer; text-align: center;
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.mc-cell:hover { transform: translateY(-2px); border-color: #0284c7; box-shadow: 0 5px 12px rgba(2, 132, 199, .14); }
.mc-cell.is-wx { background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%); border-color: rgba(2, 132, 199, .32); }
.mc-cell.is-sel { border: 2px solid #0284c7; background: #e0f2fe; }
.mc-cell.is-dim { opacity: .45; }
.mc-cell.dow-sun .mc-d { color: #dc2626; }
.mc-cell.dow-sat .mc-d { color: #0369a1; }
.mc-top { display: flex; align-items: center; gap: 3px; font: 700 14px var(--f-num); }
.mc-hol { font-size: 13px; color: #dc2626; font-weight: 800; }
.mc-today-tag { font-size: 13px; padding: 0 5px; border-radius: 999px; background: #0284c7; color: #ffffff; font-weight: 700; }
.mc-wx-ic.wx-glyph { width: 28px; height: 28px; }
.mc-no-wx { font-size: 13px; color: var(--ink-2); }
.mc-bot { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; justify-content: center; }
.mc-cnt { font-size: 13px; font-weight: 700; color: var(--ink); }
.mc-dot { display: inline-grid; place-items: center; padding: 0 5px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #ffffff; }
.mc-end { background: #dc2626; }
.mc-res { background: #d97706; }
.mc-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.mc-leg-wx { color: #0369a1; }
.mc-preview { margin-top: 16px; padding-top: 14px; border-top: 1.5px solid rgba(15, 41, 74, .12); }
.mc-p-head { margin: 0 0 10px; font: 800 17px var(--f-head); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.mc-p-head small { font: 400 14px var(--f-body); color: var(--ink-2); }
.mc-p-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.mc-p-item a {
  display: flex; flex-direction: column; gap: 4px; padding: 12px 14px;
  border-radius: 14px; border: 1.5px solid rgba(15, 41, 74, .12); background: #f8fafc;
  text-decoration: none;
}
.mc-p-item a:hover { border-color: #0284c7; background: #f0f9ff; }
.mc-p-tags { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.mc-p-tag { font-size: 13px; font-weight: 700; padding: 1px 8px; border-radius: 999px; color: #ffffff; }
.mc-p-tag.is-end { background: #dc2626; }
.mc-p-tag.is-res { background: #d97706; }
.mc-p-tag.is-cafe { background: #92400e; }
.mc-p-cat { font-size: 13px; color: var(--ink-2); font-weight: 700; }
.mc-p-name { font: 700 15px var(--f-head); color: var(--ink); }
.mc-p-meta { font-size: 13px; color: var(--ink-2); }
.mc-p-empty, .mc-p-more { font-size: 14px; color: var(--ink-2); margin: 8px 0 0; }
@media (max-width: 640px) {
  .mc-grid, .mc-dow-head { gap: 4px; }
  .mc-cell { min-height: 70px; padding: 5px 2px; border-radius: 10px; }
  .mc-cell.is-today { border-color: #0284c7; box-shadow: inset 0 0 0 1px #0284c7; }
  .mc-today-tag { display: none; }
  .mc-cnt { font-size: 13px; }
}

/* Bento カード・カフェバッジ・空もよう帳天気スタンプ */
.card {
  background: #ffffff;
  border: 1.5px solid rgba(15, 41, 74, .12);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(15, 41, 74, .05);
}
.card:hover { border-color: rgba(2, 132, 199, .42); }
.cafe-badge {
  display: inline-block; padding: 1px 8px; border-radius: 999px;
  background: #fef3c7; color: #78350f; border: 1px solid #f59e0b;
  font-size: 13px; font-weight: 700; margin-right: 4px;
}
.log-sky-stamp { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; margin-right: 4px; }
.log-sky-stamp .wx-glyph { width: 24px; height: 24px; }
.big-send { border-radius: 14px; background: #0284c7; border-color: #0284c7; }
.big-send:hover { background: #0369a1; }
.wk-row { background: #ffffff; border-radius: 14px; margin-bottom: 6px; border: 1.5px solid rgba(15, 41, 74, .1); padding: 0 10px; }
.wk { border-top: 0; }
.dow-list { border-radius: 14px; overflow: hidden; background: #ffffff; }
.zone-pick { border-radius: 14px; background: #ffffff; border-color: rgba(15, 41, 74, .18); }

/* View Transitions（reduced-motion 準拠） */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

/* 17回目使う人目線の点検（2026-11-28）で判明した表示不具合の修正 */
.recent-list li { grid-template-columns: 52px minmax(0, 1fr); align-items: start; row-gap: 4px; }
.recent-list li > *:not(.hanko) { grid-column: 2; min-width: 0; }
.recent-list .hanko { grid-column: 1; grid-row: 1 / 6; width: 46px; height: 46px; font-size: 13px; }
.toast .notice-btn {
  background: #ffffff; color: #0f294a; border: 1.5px solid #ffffff;
  border-radius: 999px; font-weight: 700; margin-left: 8px; padding: 4px 12px;
}
.toast .notice-btn:hover { background: #e0f2fe; }
.form-sheet {
  background: #ffffff; border: 1.5px solid rgba(15, 41, 74, .12);
  border-radius: 20px; box-shadow: 0 8px 24px rgba(15, 41, 74, .05);
}
.form-sheet::after { display: none !important; content: none !important; }
.mc-top, .mc-today-tag, .mc-cnt { white-space: nowrap; }
html[data-fontsize="xlarge"] .mc-today-tag,
html[data-fontsize="huge"] .mc-today-tag { display: none; }
html[data-fontsize="huge"] .mc-grid,
html[data-fontsize="huge"] .mc-dow-head { gap: 3px; }
html[data-fontsize="huge"] .mc-cell { min-height: 62px; padding: 4px 2px; border-radius: 10px; }
html[data-fontsize="huge"] .mc-cnt { font-size: 13px; letter-spacing: -.03em; }
@media (max-width: 899px) {
  .day-bar .paper-filter { flex-wrap: wrap; }
  .kf-row { padding: 4px 16px 4px 4px; gap: 4px; }
}
