:root {
  color-scheme: light;
  --ink: #302722;
  --muted: #716860;
  --soft: #f7f4f1;
  --line: #e9e2dc;
  --paper: #fff;
  --accent: #b55436;
  --accent-dark: #743b2b;
  --accent-pale: #fff2eb;
  --gold-pale: #fff5dc;
  --green-pale: #eef6f0;
  --shadow: 0 12px 32px rgba(54, 39, 29, .055);
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.65; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -50px; left: 12px; z-index: 20; padding: 8px 12px; background: #fff; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; min-height: 74px; padding: 10px clamp(18px, 5vw, 72px); background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 208px; text-decoration: none; }
.brand-symbol { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: #fff; background: var(--accent); font-size: 20px; font-weight: 800; }
.brand strong { display: block; font-size: 20px; line-height: 1.15; font-weight: 650; letter-spacing: -.03em; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.1; }
.main-nav { display: flex; align-items: center; gap: 3px; flex: 1; }
.main-nav a { padding: 9px 12px; border-radius: 9px; color: #4f453e; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--accent-dark); background: var(--accent-pale); }
.global-search-wrap { position: relative; flex: 0 1 300px; width: min(300px, 26vw); min-width: 190px; }
.global-search { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 11px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: #fff; }
.global-search input { width: 100%; min-width: 0; border: 0; outline: 0; font-size: 13px; background: transparent; }
.global-search-results { position: absolute; z-index: 30; top: calc(100% + 7px); right: 0; width: min(420px, 92vw); max-height: min(65vh, 520px); overflow: auto; padding: 6px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 14px 36px rgba(56, 39, 25, .16); }
.global-search-results[hidden] { display: none; }
.global-search-result { display: grid; width: 100%; gap: 3px; padding: 10px 12px; border: 0; border-radius: 9px; color: var(--ink); text-align: left; background: transparent; cursor: pointer; }
.global-search-result:hover, .global-search-result:focus-visible { background: var(--accent-pale); outline: none; }
.global-search-result strong { font-size: 14px; }
.global-search-result small { color: var(--muted); font-size: 12px; }
.global-search-empty { padding: 14px 12px; color: var(--muted); font-size: 13px; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 23px; color: var(--ink); }
main { max-width: 1240px; min-height: 75vh; margin: 0 auto; padding: 28px clamp(18px, 4vw, 48px) 70px; }
.page { display: none; }
.page.active { display: block; animation: appear .2s ease-out; }
@keyframes appear { from { opacity: .65; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr); gap: 38px; align-items: center; padding: 40px clamp(20px, 5vw, 60px); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 20px; background: linear-gradient(120deg, #fff 55%, #fff9f5); }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 12px; font-size: clamp(31px, 4vw, 47px); font-weight: 550; line-height: 1.3; letter-spacing: -.045em; }
.hero h1 span { color: var(--accent); }
.hero-text { max-width: 640px; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 16px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; }
.button.primary { color: #fff; background: var(--accent); }
.button.primary:hover { background: var(--accent-dark); }
.button.secondary { color: var(--accent-dark); border-color: #e7c9bc; background: #fff; }
.button.secondary:hover { background: var(--accent-pale); }
.hero-aside { display: grid; gap: 2px; align-content: center; }
.hero-illustration { display: block; width: min(100%, 165px); height: auto; margin: -4px auto 0; }
.hero-note { padding: 17px 20px; border: 1px solid #f0ded4; border-radius: 15px; background: rgba(255,255,255,.9); }
.note-mark { display: grid; width: 30px; height: 30px; margin-bottom: 11px; place-items: center; border-radius: 50%; color: var(--accent); background: var(--accent-pale); font-weight: 800; }
.hero-note strong { font-size: 15px; }
.hero-note p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.section-block { margin-top: 45px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 0 0 15px; }
.section-heading h2, .page-intro h1 { margin: 0; font-size: clamp(23px, 2.7vw, 30px); font-weight: 580; letter-spacing: -.035em; line-height: 1.3; }
.section-heading p:not(.eyebrow), .page-intro > p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.text-link { padding: 4px 0; border: 0; color: var(--accent); background: none; font-size: 13px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.category-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0; }
.category-pills button, .topic-chips span { min-height: 35px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 22px; color: #5e5149; background: #fff; font-size: 13px; font-weight: 620; }
.category-pills button:hover, .category-pills button.selected { color: var(--accent-dark); border-color: #d9a58f; background: var(--accent-pale); }
.deal-grid, .story-grid, .stock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.alcohol-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.deal-card, .story-card, .stock-card, .topic-card, .surface { border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.alcohol-card { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.alcohol-card h3 { margin: 0 0 12px; font-size: 17px; font-weight: 650; line-height: 1.55; }
.alcohol-facts { margin: 0; }
.alcohol-facts div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.alcohol-facts dt { color: var(--muted); font-weight: 650; }
.alcohol-facts dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.alcohol-facts a, .alcohol-detail-link { color: var(--accent-dark); font-weight: 700; }
.alcohol-detail-link { display: inline-block; margin-top: 11px; font-size: 14px; }
.archive-panel { margin-top: 16px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.archive-panel summary { color: var(--muted); cursor: pointer; font-size: 14px; font-weight: 650; }
.archive-panel .alcohol-grid { margin-top: 14px; }
.archived-card { background: #fcfbfa; }
.archived-card .status-tag { margin-bottom: 8px; }
.deal-card { display: flex; min-height: 226px; flex-direction: column; padding: 17px; }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.category-tag, .status-tag, .date-chip, .story-tag { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 9px; border-radius: 20px; color: #8a4d35; background: #fbefe8; font-size: 11px; font-weight: 750; }
.status-tag.pending { color: #795c19; background: var(--gold-pale); }
.deal-card h3 { margin: 0; font-size: 16px; font-weight: 640; line-height: 1.45; }
.reward { margin: 9px 0 6px; color: var(--accent-dark); font-size: 22px; font-weight: 750; letter-spacing: -.03em; }
.deal-card p { margin: 0; color: var(--muted); font-size: 13px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 16px; }
.deadline { color: #a3452b; font-size: 12px; font-weight: 750; }
.card-bottom button { padding: 5px 0; border: 0; color: var(--accent); background: none; font-size: 12px; font-weight: 750; }
.surface { padding: 20px; }
.columns { display: grid; gap: 14px; }
.columns.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.routine-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.routine-card { min-width: 0; }
.routine-card .eyebrow { margin-bottom: 7px; }
.routine-card h3 { margin-bottom: 10px; }
.routine-card .guide-list { margin: 12px 0 16px; }
.routine-card .guide-list li { line-height: 1.75; }
.routine-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 12px 0 0; font-size: 13px; }
.routine-links a { color: var(--accent-dark); text-underline-offset: 3px; }
.routine-earnings { margin: 20px 0; }
.routine-earnings-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 10px; }
.routine-earnings-heading h3 { margin: 0; font-size: 19px; }
.routine-earnings-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.routine-earnings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.routine-earning { padding: 15px 17px; }
.routine-earning .routine-item-heading { align-items: center; margin-bottom: 7px; }
.routine-earning h4 { margin: 0; font-size: 15px; line-height: 1.45; }
.routine-amount { flex: 0 0 auto; color: var(--accent-dark); font-size: 17px; }
.routine-earning p { margin: 5px 0; font-size: 13px; line-height: 1.6; }
.routine-earning > a { display: inline-block; margin-top: 4px; color: var(--accent-dark); font-size: 13px; text-underline-offset: 3px; }
.routine-cost-note { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; color: #554439; background: var(--soft); font-size: 12px; line-height: 1.65; }
.routine-detail-list { margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; }
.routine-detail-list summary { padding: 12px 16px; color: var(--accent-dark); font-weight: 700; cursor: pointer; }
.routine-detail-list[open] { padding-bottom: 16px; }
.routine-detail-list[open] > summary { margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.routine-detail-list .routine-groups { margin: 16px; }
.routine-groups { display: grid; gap: 26px; margin-top: 22px; }
.routine-group-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.routine-group-heading h3 { margin: 0; font-size: 18px; }
.routine-group-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.routine-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.routine-item { min-width: 0; padding: 16px 18px; }
.routine-item-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.routine-item h4 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; }
.routine-date { flex: 0 0 auto; padding: 3px 8px; border-radius: 20px; color: var(--accent-dark); background: var(--accent-pale); font-size: 11px; font-weight: 700; line-height: 1.5; }
.routine-item p { margin: 6px 0; font-size: 13px; line-height: 1.7; }
.routine-item .routine-check { color: var(--muted); }
.routine-item > a { display: inline-block; margin-top: 4px; color: var(--accent-dark); font-size: 13px; text-underline-offset: 3px; }
.surface h2, .surface h3 { font-weight: 620; }
.surface h2 { font-size: 21px; }
.surface h3 { margin-bottom: 13px; font-size: 17px; }
.surface p { color: #514941; font-size: 14px; }
.surface p:last-child { margin-bottom: 0; }
.surface-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.surface-title h3 { margin: 0; }
.date-chip { color: #615144; background: var(--soft); }
.compact-list { margin-top: 12px; }
.compact-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid #f0ece8; font-size: 13px; }
.compact-row:last-child { border-bottom: 0; }
.compact-row strong { font-weight: 630; }
.compact-row span { color: var(--muted); white-space: nowrap; }
.empty-state { padding: 17px; border: 1px dashed #d8ccc2; border-radius: 11px; color: var(--muted); background: #fcfbfa; font-size: 13px; }
.story-card { overflow: hidden; }
.story-copy { padding: 16px; }
.story-date { color: var(--muted); font-size: 12px; }
.story-card h3 { margin: 9px 0 6px; font-size: 15px; line-height: 1.45; font-weight: 640; }
.story-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.story-card a { display: inline-block; margin-top: 13px; color: var(--accent); font-size: 12px; font-weight: 750; text-decoration: none; }
.story-card a:hover { text-decoration: underline; }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.topic-card { display: block; padding: 17px; text-decoration: none; transition: border-color .15s, transform .15s; }
.topic-card:hover { border-color: #d5a18b; transform: translateY(-2px); }
.topic-card span { display: block; color: var(--accent); font-size: 11px; letter-spacing: .08em; }
.topic-card strong { display: block; margin: 9px 0 3px; font-size: 16px; font-weight: 650; }
.topic-card small { color: var(--muted); font-size: 12px; }
.page-intro { margin: 15px 0 24px; }
.page-intro h1 { font-size: clamp(29px, 3.5vw, 38px); }
.filter-panel, .search-tools { margin-bottom: 20px; }
.search-field { display: flex; align-items: center; gap: 10px; max-width: 600px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); }
.search-field:focus-within { border-color: #d5a18b; box-shadow: 0 0 0 3px #fff4ee; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 14px; }
.small-note { margin: 12px 0 0 !important; color: var(--muted) !important; font-size: 12px !important; line-height: 1.6; }
.notice-box { padding: 15px 17px; border-left: 3px solid #d29a39; border-radius: 0 11px 11px 0; color: #574936; background: #fff9eb; font-size: 13px; line-height: 1.7; }
.beta-notice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: -8px 0 20px; padding: 10px 14px; font-size: 12px; }
.beta-notice strong { color: #80551b; white-space: nowrap; }
.story-tag { min-height: unset; font-size: 10px; }
.subnav { display: flex; gap: 7px; overflow: auto; margin: 8px 0 23px; padding-bottom: 4px; }
.subnav button { flex: none; padding: 9px 13px; border: 1px solid var(--line); border-radius: 9px; color: #51463f; background: #fff; font-size: 13px; font-weight: 650; }
.subnav button.selected { border-color: var(--accent); color: #fff; background: var(--accent); }
.activity-pane { display: none; }
.activity-pane.active { display: block; }
.guide-list { padding-left: 20px; color: #514941; font-size: 14px; }
.guide-list li { margin: 10px 0; }
.note-list p { padding: 12px; border-radius: 10px; background: #fcf8f4; }
.note-list strong { color: var(--accent-dark); }
.table-wrap, .responsive-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 12px 11px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: #63584f; background: #faf8f6; font-size: 12px; font-weight: 700; white-space: nowrap; }
td { min-width: 104px; }
#alcohol-campaigns td { min-width: 125px; font-size: 14px; }
#alcohol-campaigns .alcohol-name { min-width: 250px; }
#alcohol-campaigns .alcohol-status { font-size: 14px; }
#alcohol-campaigns a { color: var(--accent-dark); font-weight: 700; }
.alcohol-status.open { color: #276143; }
.alcohol-status.ended { color: #77614c; }
.archive-title { display: block; margin-top: 4px; font-weight: 600; }
.archive-list-empty { color: var(--muted); }
.bank-status { color: #7a5b1a; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.topic-chips span { display: inline-flex; align-items: center; }
.investing-jump { margin: 12px 0 20px; }
.investing-jump a, .investing-jump button { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 22px; color: var(--accent-dark); background: #fff; font: inherit; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; }
.investing-jump a:hover, .investing-jump button:hover { background: var(--accent-pale); }
.activity-pane > h2 { margin: 0; font-size: 24px; }
.activity-pane > h2 + p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.investment-detail-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0; }
.investment-detail-facts div { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.investment-detail-facts dt { color: var(--muted); font-size: 13px; }
.investment-detail-facts dd { margin: 7px 0 0; font-size: 20px; font-weight: 750; }
.investment-detail-note { max-width: 760px; padding: 20px; }
.investment-detail-note + .investment-detail-note { margin-top: 12px; }
.investment-detail-note h2 { margin: 0 0 8px; font-size: 19px; }
.investment-detail-note p { margin: 0 0 12px; line-height: 1.7; }
.dividend-reward-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.dividend-reward-facts div { display: grid; gap: 5px; padding: 13px 15px; border-radius: 10px; background: #faf7f4; }
.dividend-reward-facts span { color: var(--muted); font-size: 12px; }
.dividend-reward-facts strong { font-size: 15px; }
.dividend-stock-list { padding-top: 3px; }
.dividend-stock-list h3 { margin-bottom: 6px; font-size: 18px; }
.dividend-stock-list > p:first-of-type { margin-top: 0; color: var(--muted); font-size: 14px; }
.dividend-stock-list .table-wrap { margin-top: 14px; }
.instant-sell-summary { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; margin-top: 16px; padding: 13px 15px; border-radius: 10px; background: #fff8ef; font-size: 13px; line-height: 1.6; }
.instant-sell-summary strong { color: var(--accent-dark); }
.form-label { display: block; margin: 18px 0 8px; font-size: 14px; font-weight: 700; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.check-grid label { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; font-size: 13px; }
.check-grid input { accent-color: var(--accent); }
select { min-height: 43px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff; }
.route-search-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
.route-search-panel h2, .route-results-panel h2 { margin-top: 0; }
.route-card-options { display: grid; grid-template-columns: 1fr; gap: 8px; max-height: none; overflow: visible; padding-right: 0; }
.route-card-options > details { min-width: 0; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; }
.route-card-options > details > summary { cursor: pointer; font-size: 13px; font-weight: 700; }
.route-card-options .check-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: 200px; overflow: auto; padding: 8px 2px 2px; }
.route-card-options .check-grid label { min-width: 0; overflow-wrap: anywhere; }
.route-search-panel select { width: 100%; }
.route-source-field, .route-target-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.route-source-field legend, .route-target-field legend { padding: 0; }
.route-target-field { margin-top: 16px; }
.route-target-field legend { padding: 0; }
.route-target-toolbar { display: flex; gap: 14px; margin: 4px 0 8px; }
.route-target-options { display: grid; gap: 7px; }
.route-target-options > details { min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.route-target-options > details > summary { cursor: pointer; font-size: 13px; font-weight: 700; }
.route-target-options .check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding-top: 8px; }
.route-target-options .check-grid label { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.route-target-options .check-grid input { flex: 0 0 auto; }
.route-top-picks { display: grid; gap: 12px; }
.route-top-title { margin: 0 0 8px; color: var(--accent-dark); font-size: 16px; }
.route-results-ranked { display: grid; gap: 10px; }
.route-other-options { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; }
.route-other-options > summary { padding: 12px 14px; cursor: pointer; color: var(--accent-dark); font-weight: 700; }
.route-other-list { display: grid; gap: 12px; padding: 0 10px 10px; }
.route-search-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.route-search-actions .button { margin: 0; }
.route-sort-control { display: grid; gap: 4px; min-width: 175px; color: var(--muted); font-size: 12px; }
.route-results-panel .section-heading { align-items: end; }
.route-results { display: grid; gap: 12px; }
.route-card { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.route-card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.route-card-heading h3 { margin: 0; font-size: 16px; }
.route-card strong { display: block; margin-bottom: 5px; }
.route-map { display: flex; align-items: stretch; gap: 8px; overflow-x: auto; margin: 14px 0 10px; padding: 3px 2px 9px; }
.route-map-node { display: grid; flex: 1 0 105px; align-content: center; min-height: 78px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #faf8f6; text-align: center; }
.route-map-node small { margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.route-map-node strong { margin: 0; font-size: 13px; }
.route-map-node.is-reward { border-color: #e8b999; background: #fff4ec; color: var(--accent-dark); }
.route-map-arrow { align-self: center; flex: 0 0 auto; color: var(--accent); font-size: 20px; font-weight: 700; }
.route-card p { margin: 8px 0 4px; color: var(--muted); font-size: 14px; }
.route-return { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 11px 13px; border-radius: 9px; background: #f8f4f0; }
.route-return strong { margin: 0; color: var(--accent-dark); font-size: 16px; }
.route-return span { color: var(--muted); font-size: 13px; text-align: right; }
.route-segment-rewards { margin: 10px 0 0; padding: 10px 12px 10px 28px; border-radius: 9px; background: #f8f4f0; color: var(--ink); font-size: 13px; }
.route-segment-rewards li + li { margin-top: 6px; }
.route-segment-rewards li span { display: block; color: var(--muted); }
.route-details { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.route-details summary { color: var(--accent-dark); cursor: pointer; font-size: 13px; font-weight: 700; }
.route-card ol, .route-card ul { margin: 8px 0 10px; padding-left: 1.4rem; color: var(--ink); font-size: 13px; line-height: 1.65; }
.route-card a { color: var(--accent); text-underline-offset: 2px; }
.route-source-links { display: flex; flex-wrap: wrap; gap: 12px; }
.route-empty { display: grid; gap: 6px; text-align: left; }
.route-empty strong { color: var(--ink); }
.saved-routes-panel { margin-top: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.saved-routes-panel > summary { display: flex; justify-content: space-between; gap: 12px; cursor: pointer; color: var(--accent-dark); font-size: 13px; font-weight: 700; }
.saved-routes-panel > summary span { color: var(--muted); font-weight: 400; }
.saved-routes-content { padding-top: 8px; }
.saved-routes-content > .small-note { margin: 0 0 4px; }
.saved-routes-toolbar { display: flex; justify-content: flex-end; }
.saved-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.saved-row > span { min-width: 0; }
.saved-row > span strong, .saved-row > span small { display: block; }
.saved-row > span strong { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saved-row > span small { margin-top: 2px; color: var(--muted); }
.saved-row-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.saved-row button { border: 0; color: var(--accent); background: none; font-size: 12px; cursor: pointer; }
.stock-card { padding: 16px; }
.stock-card h3 { margin: 7px 0 8px; font-size: 16px; font-weight: 650; }
.stock-card p { margin: 0 0 11px; color: var(--muted); font-size: 13px; }
.stock-category-badge { display: inline-flex; align-items: center; min-height: 23px; padding: 3px 8px; border-radius: 20px; color: #795c19; background: var(--gold-pale); font-size: 11px; font-weight: 700; }
.stock-card .stock-benefit-one-line { display: -webkit-box; overflow: hidden; margin: 0 0 10px; color: var(--ink); font-size: 17px; font-weight: 750; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.stock-meta { display: flex; gap: 18px; margin: 12px 0; }
.stock-meta div { display: grid; gap: 2px; }
.stock-meta dt { color: var(--muted); font-size: 12px; }
.stock-meta dd { margin: 0; font-weight: 650; }
.source-line { display: block; margin-top: 12px; color: var(--muted); }
.bank-points { display: inline-block; margin-top: 5px; padding: 6px 8px; border-radius: 8px; background: var(--gold-pale); color: #564629; }
.stock-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stock-tags span { padding: 3px 8px; border-radius: 20px; color: var(--accent-dark); background: var(--accent-pale); font-size: 11px; }
.benefit-list-heading { align-items: end; }
.benefit-start-here { margin: 0 0 22px; padding: 15px 18px; border-color: #f0cbb8; background: #fffaf6; }
.benefit-start-here > strong { color: var(--accent-dark); }
.benefit-start-here p { margin: 5px 0 8px; color: var(--muted); font-size: 14px; }
.benefit-start-here .text-link { font-weight: 700; }
.sort-control { display: grid; gap: 5px; min-width: 220px; color: var(--muted); font-size: 13px; }
.sort-control select, .calculator-fields input, .calculator-fields select { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font: inherit; }
.stock-quick-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 13px 0; }
.stock-quick-metrics div, .calculator-results div { display: grid; gap: 5px; padding: 10px; border-radius: 10px; background: #f8f6f3; }
.stock-quick-metrics span, .calculator-results span { color: var(--muted); font-size: 12px; }
.stock-quick-metrics strong { font-size: 14px; overflow-wrap: anywhere; }
.stock-detail-link { display: inline-block; margin-top: 12px; color: var(--accent-dark); font-weight: 700; text-underline-offset: 3px; }
.calculator-panel, .stock-detail-facts { padding: 20px; }
.stock-detail-facts { margin-top: 18px; }
.stock-benefit-tiers { margin-bottom: 18px; padding: 20px; }
.tier-table { min-width: 820px; }
.tier-table td:nth-child(3) { min-width: 300px; }
.tier-select { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--accent-dark); background: #fff; font: inherit; white-space: nowrap; }
.tier-select:hover { border-color: var(--accent); background: var(--accent-pale); }
.calculator-panel h2, .stock-detail-facts h2 { margin: 0 0 10px; font-size: 20px; }
.calculator-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.calculator-fields label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 650; }
.quote-now-button { align-self: end; min-height: 42px; }
.quote-date-note { align-self: center; margin: 0; }
.calculator-fields input, .calculator-fields select { color: var(--ink); font-weight: 400; }
.calculator-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 14px 0; }
.calculator-results strong { font-size: 16px; }
.vertical-meta { display: grid; gap: 0; }
.vertical-meta div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.vertical-meta dd { text-align: right; }
.inventory-table { width: 100%; border-collapse: collapse; background: #fff; }
.inventory-table th, .inventory-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.inventory-table th { color: var(--muted); font-size: 13px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.broker-fee-table { width: 100%; min-width: 0; table-layout: fixed; }
.broker-fee-table thead th, .broker-fee-table tbody th, .broker-fee-table td { overflow-wrap: anywhere; vertical-align: top; }
.broker-fee-table th:first-child { width: 24%; }
.broker-fee-table tbody th { min-width: 0; color: var(--ink); font-size: 13px; white-space: normal; }
.broker-fee-table tbody th a { color: var(--accent); }
.broker-fee-table tbody th small { display: block; width: 100%; max-width: 100%; margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.premium-save-status { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 400; }
.broker-fee-table input, .broker-fee-table select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 38px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
.month-grid { display: grid; grid-template-columns: repeat(6, minmax(40px, 1fr)); gap: 7px; margin-top: 18px; }
.month-grid button { min-height: 38px; border: 1px solid var(--line); border-radius: 8px; color: #5d5148; background: #fff; font-size: 13px; font-weight: 650; }
.month-grid button:hover, .month-grid button.selected { border-color: var(--accent); color: #fff; background: var(--accent); }
.calendar-list { padding: 0 20px; }
.calendar-row { display: grid; grid-template-columns: 95px minmax(150px, 1fr) minmax(100px, .7fr) auto; gap: 15px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.calendar-row:last-child { border-bottom: 0; }
.calendar-date { color: var(--accent); font-weight: 750; }
.calendar-row strong { font-size: 14px; font-weight: 650; }
.calendar-row span { color: var(--muted); font-size: 12px; }
.calendar-detail-link { display: inline-block; margin-left: 5px; color: var(--accent-dark); font-weight: 700; text-underline-offset: 2px; white-space: nowrap; }
.calendar-month-label { margin: 0; padding: 15px 0 8px; font-size: 16px; }
.site-footer { padding: 28px max(18px, calc((100vw - 1140px)/2)); border-top: 1px solid var(--line); background: #fcfbfa; }
.footer-brand strong { font-size: 16px; font-weight: 700; }
.footer-brand p, .footer-note, .copyright { color: var(--muted); font-size: 12px; }
.footer-brand p { margin: 4px 0 14px; }
.footer-policy { max-width: 900px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.footer-policy h2 { margin: 0 0 5px; font-size: 14px; font-weight: 700; }
.footer-policy p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 14px 0 8px; font-size: 13px; }
.footer-links a { color: var(--accent-dark); text-underline-offset: 3px; }
.footer-note { max-width: 850px; line-height: 1.65; }
.copyright { margin: 14px 0 0; font-size: 11px; }
.detail-dialog { position: fixed; width: min(660px, calc(100% - 28px)); max-height: min(80vh, 800px); padding: 24px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); box-shadow: 0 20px 70px rgba(0,0,0,.2); }
.detail-dialog::backdrop { background: rgba(31, 24, 20, .45); }
.dialog-close { float: right; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: white; font-size: 22px; line-height: 1; }
.detail-dialog h2 { margin: 8px 40px 6px 0; font-size: 23px; font-weight: 630; }
.detail-dialog p { color: #52483f; font-size: 14px; }
.detail-list { margin: 14px 0 0; }
.detail-list div { display: grid; grid-template-columns: 95px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.detail-list dt { color: var(--muted); font-weight: 700; }
.detail-list dd { margin: 0; }
.detail-links { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 16px; }
.detail-links a { color: var(--accent); font-size: 13px; font-weight: 700; }
.campaign-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 15px; margin-top: 18px; }
.campaign-detail-layout h2 { margin-top: 2px; font-size: 19px; }
.campaign-lead { margin: 8px 0; color: var(--muted); }
.campaign-qr-card { text-align: center; }
.campaign-qr-card h2 { margin-bottom: 12px; }
.campaign-qr { width: min(100%, 230px); margin: 0 auto; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.campaign-qr svg { display: block; width: 100%; height: auto; }
.campaign-qr-card p { margin: 10px 0 0; font-size: 13px; }
.alcohol-note { margin-top: 14px; }
@media (max-width: 980px) {
  .site-header { gap: 14px; padding-inline: 20px; }
  .brand { min-width: 180px; }
  .main-nav a { padding-inline: 9px; font-size: 13px; }
  .global-search-wrap { width: 210px; }
  .deal-grid, .story-grid, .stock-grid, .alcohol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-header { position: sticky; min-height: 64px; display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; padding: 8px 14px; }
  .brand { min-width: 0; }
  .brand-symbol { width: 34px; height: 34px; }
  .brand strong { font-size: 18px; }
  .brand small { display: none; }
  .menu-toggle { display: block; grid-column: 2; grid-row: 1; }
  .main-nav { display: none; grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; justify-content: space-between; padding: 6px 0 2px; }
  .main-nav.open { display: flex; }
  .main-nav a { flex: 1; padding: 9px 5px; text-align: center; font-size: 12px; }
  .global-search-wrap { grid-column: 1 / -1; grid-row: 3; width: 100%; min-width: 0; }
  .global-search { min-height: 38px; }
  main { padding: 18px 14px 48px; }
  .hero { grid-template-columns: 1fr; gap: 22px; padding: 26px 21px; }
  .hero h1 { font-size: 34px; }
  .hero-illustration { width: min(100%, 125px); margin: -2px auto 0; }
  .hero-note { padding: 15px; }
  .section-block { margin-top: 34px; }
  .section-heading { align-items: flex-start; }
  .section-heading .text-link { margin-top: 20px; }
  .columns.two { grid-template-columns: 1fr; }
  .dividend-reward-facts { grid-template-columns: 1fr; }
  .routine-earnings-grid { grid-template-columns: 1fr; }
  .routine-earning .routine-item-heading { align-items: flex-start; flex-wrap: wrap; }
  .routine-grid { grid-template-columns: 1fr; }
  .routine-items { grid-template-columns: 1fr; }
  .routine-item { padding: 15px; }
  .routine-item-heading { flex-wrap: wrap; }
  .deal-grid, .story-grid, .stock-grid, .alcohol-grid { grid-template-columns: 1fr; }
  .benefit-list-heading { display: grid; align-items: start; gap: 12px; }
  .sort-control { min-width: 0; }
  .stock-quick-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .stock-quick-metrics div { padding: 8px 6px; }
  .stock-quick-metrics span { font-size: 11px; }
  .stock-quick-metrics strong { font-size: 13px; }
  .calculator-fields, .calculator-results { grid-template-columns: 1fr; }
  .calculator-panel, .stock-detail-facts { padding: 15px; }
  .stock-benefit-tiers { padding: 15px; }
  .inventory-table { min-width: 560px; }
  .broker-fee-table { min-width: 940px; }
  .tier-table { min-width: 820px; }
  .campaign-detail-layout { grid-template-columns: 1fr; }
  .deal-card { min-height: 0; }
  .alcohol-table-wrap { overflow: visible; }
  .alcohol-table, .alcohol-table tbody, .alcohol-table tbody tr, .alcohol-table tbody td { display: block; width: 100%; }
  .alcohol-table thead { display: none; }
  #alcohol-campaigns tr:not(.no-alcohol-items) { margin: 10px 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  #alcohol-campaigns td { display: grid; grid-template-columns: minmax(94px, 34%) minmax(0, 1fr); gap: 10px; min-width: 0; padding: 8px 2px; border-bottom: 1px solid #f0ece8; overflow-wrap: anywhere; }
  #alcohol-campaigns td::before { content: attr(data-label); color: var(--muted); font-weight: 650; }
  #alcohol-campaigns td:last-child { border-bottom: 0; }
  #alcohol-campaigns .no-alcohol-items td { display: block; text-align: center; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subnav { margin-right: -14px; }
  .surface { padding: 16px; }
  .check-grid { grid-template-columns: 1fr; }
  .route-search-layout { grid-template-columns: 1fr; }
  .route-card-options { grid-template-columns: 1fr; max-height: none; }
  .route-card-options .check-grid { grid-template-columns: 1fr; max-height: 240px; }
  .route-target-options .check-grid { grid-template-columns: 1fr; }
  .route-card-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .route-map-node { flex-basis: 100px; }
  .route-search-actions .button { flex: 1 1 auto; }
  .calendar-list { padding-inline: 15px; }
  .calendar-row { grid-template-columns: 74px 1fr; gap: 3px 10px; }
  .calendar-row span:nth-child(3) { grid-column: 2; }
  .calendar-row .status-tag { grid-column: 2; justify-self: start; }
  .month-grid { grid-template-columns: repeat(4, minmax(40px, 1fr)); }
  .footer-links { gap: 11px; }
}
@media (max-width: 390px) {
  .hero { padding: 22px 17px; }
  .hero h1 { font-size: 30px; }
  .topic-grid { grid-template-columns: 1fr 1fr; }
  .topic-card { padding: 13px; }
  .section-heading { display: block; }
  .section-heading .text-link { display: inline-block; margin-top: 7px; }
}

/* Routine overview and single-purpose detail pages */
.routine-program-group { margin: 24px 0 30px; }
.routine-program-group > h3 { margin: 0 0 11px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 18px; }
.routine-program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.routine-program-card { display: block; color: inherit; text-decoration: none; padding: 17px 19px; transition: border-color .15s ease, box-shadow .15s ease; }
.routine-program-card:hover, .routine-program-card:focus-visible { border-color: var(--accent); box-shadow: 0 4px 18px #603b2014; }
.routine-program-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.routine-program-heading h4 { margin: 0; font-size: 16px; line-height: 1.45; }
.routine-program-heading strong { flex: 0 0 auto; color: var(--accent-dark); text-align: right; font-size: 14px; }
.routine-program-card p { margin: 10px 0 0; font-size: 14px; }
.routine-purpose { color: var(--muted); }
.routine-category-tag { display: inline-block; margin: 0 0 5px; padding: 3px 7px; border-radius: 10px; color: var(--accent-dark); background: var(--accent-pale); font-size: 10px; font-weight: 700; }
.routine-program-name { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; }
.routine-task-preview { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.routine-card-footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 9px; border-top: 1px solid #f0ece8; color: var(--muted); font-size: 12px; }
.routine-card-footer b { color: var(--accent-dark); white-space: nowrap; }
.routine-calendar-list { display: grid; gap: 8px; }
.routine-calendar-list a { display: grid; grid-template-columns: 175px minmax(0,1fr) 95px; gap: 14px; align-items: center; padding: 13px 16px; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: 10px; background: white; }
.routine-calendar-list a:hover { border-color: var(--accent); }
.routine-calendar-list strong { color: var(--accent-dark); }
.routine-calendar-list b { text-align: right; color: var(--accent-dark); font-size: 13px; }
.routine-detail-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; padding: 20px; }
.routine-detail-summary div { display: grid; align-content: start; gap: 6px; }
.routine-detail-summary span { color: var(--muted); font-size: 13px; }
.routine-detail-summary strong { font-size: 18px; line-height: 1.5; }
.routine-detail-columns h2 { margin-top: 2px; font-size: 18px; }
.routine-detail-columns h2:not(:first-child) { margin-top: 24px; }
.routine-detail-columns h3 { margin-bottom: 4px; font-size: 15px; }
.routine-detail-columns p { line-height: 1.8; }
.back-link { display: inline-block; margin-bottom: 16px; color: var(--accent-dark); font-weight: 700; text-decoration: none; }
@media (max-width: 700px) {
  .routine-program-grid { grid-template-columns: 1fr; }
  .routine-program-heading { display: block; }
  .routine-program-heading strong { display: block; margin-top: 6px; text-align: left; }
  .routine-calendar-list a { grid-template-columns: 1fr auto; gap: 5px 10px; }
  .routine-calendar-list a span { grid-column: 1 / -1; grid-row: 2; }
  .routine-calendar-list b { grid-column: 2; grid-row: 1; }
  .routine-detail-summary { grid-template-columns: 1fr; }
  .investment-detail-facts { grid-template-columns: 1fr; }
  .instant-sell-summary { grid-template-columns: 1fr; gap: 3px; }
}

#bank-table td:nth-child(3), #bank-table td:nth-child(4), #bank-table td:nth-child(5), #bank-table td:nth-child(6) { text-align: center; vertical-align: middle; min-width: 84px; }
#bank-table td:first-child { min-width: 170px; }
.bank-mark { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-size: 17px; font-weight: 750; }
.bank-mark.is-yes, .bank-kotora.is-yes { color: #286b4d; background: #edf7f0; }
.bank-mark.is-no, .bank-kotora.is-no { color: #82766d; background: #f4f1ef; }
.bank-kotora { display: inline-block; padding: 5px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
#bank-table .bank-status { min-width: 180px; }
#bank-table .bank-status strong { color: var(--accent-dark); white-space: nowrap; }
#bank-table .bank-status small { display: inline-block; margin-top: 3px; color: var(--muted); }

.bank-guide-intro { margin: 18px 0 22px; padding: 20px; }
.bank-guide-intro h3 { margin: 0 0 8px; font-size: 19px; }
.bank-guide-lead { max-width: 850px; margin: 0; color: var(--ink); font-size: 15px; line-height: 1.8; }
.bank-route-example { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 18px 0 8px; padding: 14px; border-radius: 12px; background: #faf7f3; color: var(--accent-dark); font-weight: 700; }
.bank-route-example span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-align: center; }
.bank-route-example .is-reward-bank { border-color: #e5b38d; background: #fff7ef; }
.bank-route-example small { color: var(--muted); font-size: 11px; font-weight: 500; }
.bank-guide-note { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.bank-guide-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.bank-guide-steps div { display: grid; grid-template-columns: 30px 1fr; gap: 2px 9px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.bank-guide-steps span { grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: var(--accent); font-weight: 700; }
.bank-guide-steps small { color: var(--muted); line-height: 1.5; }
.bank-guide-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
.bank-guide-links a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--accent-dark); text-decoration: none; font-size: 13px; font-weight: 650; }
.bank-guide-links a:hover { background: #fff7ef; }
.bank-route-guide ol { display: grid; gap: 10px; margin: 12px 0; padding-left: 1.5rem; }
.bank-route-guide li { padding-left: 4px; }
.bank-route-guide li span { display: block; color: var(--muted); font-size: 13px; }
.bank-function-section { margin-top: 22px; }
.bank-function-section .section-heading { margin-bottom: 12px; }
@media (max-width: 680px) { .bank-guide-steps { grid-template-columns: 1fr; } .bank-guide-intro { padding: 15px; } .bank-route-example { gap: 7px; font-size: 12px; } .bank-route-example span { padding: 8px 10px; } }

.bank-guide-purpose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.bank-guide-purpose div { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.bank-guide-purpose strong { color: var(--accent-dark); }
.bank-guide-purpose span { color: var(--muted); font-size: 13px; }
@media (max-width: 680px) { .bank-guide-purpose { grid-template-columns: 1fr; } }

.bank-example { margin-top: 15px; padding: 14px 16px; border-left: 4px solid var(--accent); border-radius: 8px; background: #fff8f2; }
.bank-example > strong { color: var(--accent-dark); }
.bank-example ol { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 8px 0; padding-left: 20px; }
.bank-example li { padding-left: 2px; }
.bank-example p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
@media (max-width: 680px) { .bank-example ol { display: block; } }

.cross-guide-diagram { margin: 18px 0 22px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fffdfa; }
.cross-guide-caption { display: block; margin-bottom: 13px; color: var(--accent-dark); }
.cross-guide-flow { display: grid; grid-template-columns: minmax(0,1fr) 28px minmax(0,1fr) 28px minmax(0,1fr); align-items: center; gap: 8px; }
.cross-guide-flow > div { display: grid; gap: 5px; min-height: 92px; align-content: center; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-align: center; }
.cross-guide-flow > div.is-result { border-color: #e5b38d; background: #fff5ed; }
.cross-guide-flow small, .long-checkpoint small { color: var(--muted); font-size: 11px; }
.cross-guide-flow b { color: var(--ink); }
.cross-guide-flow span, .long-checkpoint span { color: var(--muted); font-size: 12px; }
.cross-guide-flow em, .long-checkpoints > i { color: var(--accent); font-style: normal; font-size: 19px; font-weight: 800; text-align: center; }
.cross-guide-after { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 11px 13px; border-radius: 9px; background: #f6f2ee; font-size: 13px; }
.cross-guide-after b { flex: 0 0 auto; color: var(--accent-dark); }
.cross-guide-after span { color: var(--muted); }
.long-hold-track { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; margin-bottom: 13px; }
.track-label { color: var(--muted); font-size: 12px; }
.track-line { position: relative; display: grid; gap: 3px; padding: 12px 14px; border: 1px solid #d8e9df; border-radius: 9px; background: #f3faf5; }
.track-line::before { position: absolute; top: 50%; left: -14px; width: 13px; border-top: 2px solid #82b598; content: ""; }
.track-line b { color: #286b4d; font-size: 13px; }
.track-line small { color: var(--muted); font-size: 11px; }
.long-checkpoints { display: grid; grid-template-columns: minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1fr); align-items: stretch; gap: 7px; }
.long-checkpoint { display: grid; gap: 5px; align-content: start; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.long-checkpoint small { color: var(--accent-dark); font-weight: 700; }
.long-checkpoint b { font-size: 13px; line-height: 1.5; }
.long-checkpoints > i { align-self: center; }
.long-rule-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin: 12px 0 18px; }
.long-rule-grid div { display: grid; gap: 4px; padding: 12px; border-radius: 9px; background: #f7f4f1; }
.long-rule-grid b { color: var(--accent-dark); font-size: 13px; }
.long-rule-grid span { color: var(--muted); font-size: 12px; }
.hidden-benefit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.hidden-benefit-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.hidden-benefit-card h3 { margin: 0 0 3px; font-size: 14px; }
.hidden-benefit-card h3 small { color: var(--muted); font-size: 12px; font-weight: 500; }
.hidden-benefit-card p { margin: 0 0 3px; color: var(--ink); font-size: 12px; }
.hidden-benefit-card > div > small { color: var(--muted); font-size: 11px; }
.hidden-benefit-card > a { flex: 0 0 auto; color: var(--accent-dark); font-size: 12px; font-weight: 700; text-decoration: none; }
.hidden-benefit-card > a:hover { text-decoration: underline; }
@media (max-width: 680px) {
  .cross-guide-diagram { padding: 13px; }
  .cross-guide-flow { grid-template-columns: 1fr; }
  .cross-guide-flow em { transform: rotate(90deg); }
  .long-hold-track { grid-template-columns: 1fr; gap: 5px; }
  .track-line::before { display: none; }
  .long-checkpoints { grid-template-columns: 1fr; }
  .long-checkpoints > i { transform: rotate(90deg); }
  .long-rule-grid { grid-template-columns: 1fr; }
  .hidden-benefit-grid { grid-template-columns: 1fr; }
  .hidden-benefit-card { padding: 11px 12px; }
  .cross-guide-after { align-items: flex-start; flex-direction: column; gap: 3px; }
}

.premium-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; }
.premium-input-wrap[hidden] { display: none !important; }
.premium-input-wrap .small-note { display: inline-block; margin-top: 4px; }

/* 軽いポップ感：画像や追加ライブラリを使わず、色とCSSだけで装飾 */
:root {
  --ink: #332b3d;
  --muted: #746d7c;
  --soft: #f7f4fb;
  --line: #e9e2ef;
  --paper: #fff;
  --accent: #e45f52;
  --accent-dark: #a63f43;
  --accent-pale: #fff0ec;
  --gold-pale: #fff5d8;
  --green-pale: #eaf8ef;
  --shadow: 0 10px 28px rgba(77, 55, 87, .075);
}
body {
  background-color: #fffcf8;
  background-image: radial-gradient(ellipse at 8% 4%, rgba(255, 221, 205, .25), transparent 30%), radial-gradient(ellipse at 96% 18%, rgba(220, 231, 255, .22), transparent 28%);
}
.site-header {
  border-bottom-color: #eee5e9;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 3px 16px rgba(77, 55, 87, .035);
}
.brand-symbol {
  border-radius: 14px 14px 14px 5px;
  background: linear-gradient(145deg, #f17a58, #d94f52);
  box-shadow: 0 4px 10px rgba(217, 79, 82, .2);
}
.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #f0ddd9;
  border-top: 0;
  background: radial-gradient(circle at 92% 14%, rgba(255, 225, 164, .4), transparent 22%), linear-gradient(120deg, #fff9f4 0%, #fff 55%, #f5f4ff 100%);
  box-shadow: var(--shadow);
}
.hero::after {
  position: absolute;
  right: 28%;
  bottom: -29px;
  width: 76px;
  height: 76px;
  border: 12px solid rgba(255, 193, 135, .18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.hero h1 span { color: #e45f52; }
.eyebrow { color: #d75a4d; }
.section-heading h2, .page-intro h1, .activity-pane > h2 { color: #352d41; }
.section-heading h2::after {
  display: block;
  width: 40px;
  height: 4px;
  margin-top: 7px;
  border-radius: 9px;
  background: linear-gradient(90deg, #f17b59 0 55%, #f5c65c 55% 100%);
  content: "";
}
.deal-card, .story-card, .stock-card, .topic-card, .surface, .alcohol-card, .routine-item, .routine-earning, .hidden-benefit-card {
  border-color: #ebe3ec;
  box-shadow: 0 4px 14px rgba(77, 55, 87, .035);
}
.deal-card, .story-card, .stock-card, .topic-card, .alcohol-card, .hidden-benefit-card {
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.deal-card:hover, .story-card:hover, .stock-card:hover, .topic-card:hover, .alcohol-card:hover, .hidden-benefit-card:hover {
  transform: translateY(-2px);
  border-color: #efb9a8;
  box-shadow: 0 9px 22px rgba(77, 55, 87, .09);
}
.button.primary, .subnav button.selected {
  background: linear-gradient(135deg, #ef7657, #db5652);
  box-shadow: 0 4px 10px rgba(219, 86, 82, .18);
}
.button.primary:hover { background: #c94c4d; }
.category-pills button, .subnav button, .investing-jump a, .investing-jump button {
  border-color: #e9e0eb;
  border-radius: 999px;
}
.category-tag, .status-tag, .date-chip, .story-tag {
  color: #a34d42;
  background: #fff0e9;
}
.status-tag.pending { color: #795b13; background: #fff3cc; }
.routine-date { color: #5b54a2; background: #f0edff; }
.notice-box { border-left-color: #e7ad43; background: #fff8e8; }
.search-field:focus-within, .global-search:focus-within {
  border-color: #b7a7eb;
  box-shadow: 0 0 0 3px rgba(183, 167, 235, .18);
}
th { background: #fbf7fc; }
.site-footer { border-top-color: #eee5e9; background: #fffaf7; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
