/* The masthead and announcement strip share the homepage palette. */
body:has(.notice-strip, .qr-index, .qr-article, .qr-status) > header {
  --nav-indicator: var(--home-top-ink);
  background: var(--home-top-paper);
  color: var(--home-top-ink);
}
.notice-nav,
.notice-strip,
.notice-page {
  --notice-ink: #263b2b;
  --notice-muted: #4e5948;
  --notice-rule: #a8ab90;
  --notice-gold: #b99654;
  --notice-hover: #304b2d10;
  --notice-focus: #795628;
}
.notice-nav {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  color: inherit;
  font: calc(clamp(13px, 1.18vw, 17px) * var(--site-text-scale, 1))/1.5 var(--sans);
  white-space: nowrap;
}
.notice-nav svg {
  width: 1.1em;
  height: 1.1em;
}
.notice-nav:hover,
.notice-nav[aria-current] {
  text-decoration: underline;
  text-underline-offset: .3em;
}
.notice-strip,
.notice-page {
  color: var(--notice-ink);
  font-family: var(--sans);
}
.notice-strip {
  --notice-ink: var(--home-top-ink);
  --notice-muted: var(--home-top-muted);
  --notice-rule: var(--home-top-rule);
  --notice-gold: var(--home-top-gold);
  background: #eef0e3;
  border-block: 1px solid var(--notice-gold);
}
.notice-strip-inner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  max-width: 1740px;
  margin-inline: auto;
  padding: 12px var(--home-top-gutter);
}
.notice-strip h2 {
  margin: 0;
  padding-inline-end: clamp(14px, 2vw, 30px);
  font-size: calc(clamp(19px, 1.65vw, 24px) * var(--site-text-scale, 1));
  line-height: 1.3;
  white-space: nowrap;
}
.notice-items,
.notice-list,
.notice-related ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.notice-items {
  display: flex;
  align-items: stretch;
  min-width: 0;
}
.notice-items li {
  flex: 1 1 0;
  min-width: 0;
  border-inline-start: 1px solid var(--notice-rule);
}
.notice-items li:last-child {
  border-inline-end: 1px solid var(--notice-rule);
}
.notice-row,
.notice-all,
.notice-back,
.notice-related a {
  min-height: 44px;
  touch-action: manipulation;
}
.notice-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  align-items: center;
  gap: 3px 8px;
  height: 100%;
  padding: 2px clamp(10px, 1.5vw, 24px);
}
.notice-row:hover {
  background: var(--notice-hover);
}
.notice-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 9px;
  margin: 0;
  color: var(--notice-muted);
  font-size: calc(.8rem * var(--site-text-scale, 1));
  line-height: 1.5;
}
.notice-meta time {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.notice-meta .notice-category {
  padding-inline-start: 9px;
  border-inline-start: 1px solid var(--notice-rule);
}
.notice-demo-label {
  color: var(--notice-focus);
  font-weight: 700;
}
.notice-strip .notice-demo-label {
  color: inherit;
  font-size: calc(.75rem * var(--site-text-scale, 1));
  font-weight: 400;
}
.notice-row .notice-meta,
.notice-summary {
  grid-column: 1 / -1;
}
.notice-row strong {
  font-size: calc(clamp(16px, 1.35vw, 21px) * var(--site-text-scale, 1));
  line-height: 1.38;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.notice-all,
.notice-back,
.notice-related a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: underline;
  text-underline-offset: .3em;
}
.notice-all {
  padding-inline-start: clamp(12px, 1.7vw, 26px);
  font-size: calc(.93rem * var(--site-text-scale, 1));
  font-weight: 700;
  white-space: nowrap;
}
.notice-empty {
  margin: 0;
  color: var(--notice-muted);
}
.notice-strip .notice-empty {
  padding-inline: 16px;
}
.notice-page {
  min-height: 50vh;
  max-width: 920px;
}
.notice-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.notice-language {
  flex: none;
  margin-inline-start: auto;
  min-height: 44px;
  padding: 4px 8px;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .3em;
  cursor: pointer;
}
.notice-language:hover,
.notice-all:hover,
.notice-back:hover,
.notice-related a:hover {
  text-decoration-thickness: 2px;
}
.notice-page h1 {
  margin: 12px 0 18px;
  color: inherit;
  font-size: calc(clamp(30px, 5vw, 52px) * var(--site-text-scale, 1));
  line-height: 1.32;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.notice-list {
  border-top: 1px solid var(--notice-gold);
}
.notice-list li {
  border-bottom: 1px solid var(--notice-rule);
}
.notice-list .notice-row {
  padding: 16px 12px;
}
.notice-summary {
  color: var(--notice-muted);
  overflow-wrap: anywhere;
}
.notice-body {
  margin-block: 24px;
  padding-block: 18px 4px;
  border-top: 1px solid var(--notice-gold);
  font-size: calc(clamp(17px, 2vw, 20px) * var(--site-text-scale, 1));
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.notice-body p {
  margin: 0 0 1em;
  white-space: pre-line;
}
.notice-body a {
  text-decoration: underline;
  text-underline-offset: .2em;
}
.notice-body h2 {
  margin: 2em 0 .85em;
  padding-top: 1.2em;
  border-top: 1px solid var(--notice-rule);
  color: inherit;
  font: inherit;
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.notice-poster {
  margin: 26px auto 8px;
  max-width: 520px;
}
.notice-poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.notice-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 28px);
  margin-block: 28px;
}
.notice-gallery .notice-poster { margin: 0; max-width: none; }
.notice-gallery figcaption { margin-top: 8px; color: var(--notice-muted); text-align: center; font: inherit; }
.notice-page--illustrated {
  max-width: 1180px;
}
.notice-event {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--notice-rule);
}
.notice-event-copy { min-width: 0; }
.notice-event-copy h2 {
  margin: 0 0 1em;
  padding: 0;
  border: 0;
  text-wrap: balance;
}
.notice-event-copy p:last-child { margin-bottom: 0; }
.notice-event .notice-poster {
  align-self: start;
  justify-self: end;
  width: 100%;
  max-width: 360px;
  margin: 0;
}
.notice-event figcaption {
  margin-top: 10px;
  color: var(--notice-muted);
  font: inherit;
  font-size: .85em;
  line-height: 1.6;
  text-align: center;
}
@media (max-width: 850px) {
  .notice-event { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .notice-event .notice-poster { justify-self: center; max-width: 520px; }
}
@media (max-width: 640px) {
  .notice-gallery { grid-template-columns: 1fr; }
}
.notice-related {
  margin-top: 22px;
}
.notice-related h2 {
  margin-bottom: 2px;
  font-size: calc(1.15rem * var(--site-text-scale, 1));
}
.notice-related a {
  overflow-wrap: anywhere;
}
.notice-strip a:focus-visible,
.notice-page :is(a, button):focus-visible,
.notice-strip #notice-strip-title {
  display:inline-flex;align-items:center;justify-content:center;align-self:center;
  background:#244335;color:#fff7e5;border:1px solid #c9ab71;border-radius:.25rem;
  padding:.5em .7em;font-size:calc(14px * var(--site-text-scale,1));font-weight:700;letter-spacing:.04em;
}
.notice-nav:focus-visible {
  outline: 2px solid var(--notice-focus);
  outline-offset: -2px;
}
@media (801px <= width <= 1120px) {
  body > header:has(.notice-nav) {
    gap: clamp(8px, 1.45vw, 16px);
    padding-inline: clamp(16px, 2.2vw, 26px);
  }
  body:has(.notice-strip) {
    --home-top-gutter: clamp(16px, 2.2vw, 26px);
  }
  header:has(.notice-nav) #main-nav {
    gap: clamp(9px, 1.35vw, 15px);
  }
}
@media (max-width: 800px) {
  .notice-nav {
    margin-inline-start: auto;
  }
  .notice-nav + .search-toggle {
    margin-inline-start: 0;
  }
  body:has(.notice-strip) > header {
    --masthead-height: 68px;
  }
  body:has(.notice-strip) #main-nav {
    background: var(--home-top-paper);
    color: inherit;
  }
  .notice-strip-inner > .notice-items,
  .notice-strip-inner > .notice-empty {
    background: var(--home-top-paper);
  }
  .notice-strip-inner {
    grid-template-columns: 1fr auto;
    padding: 0;
  }
  .notice-strip h2,
  .notice-all {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .notice-strip h2 {
    padding-inline-start: var(--home-top-gutter);
  }
  .notice-all {
    grid-row: 1;
    grid-column: 2;
    padding-inline: 8px var(--home-top-gutter);
  }
  .notice-items,
  .notice-strip .notice-empty {
    grid-column: 1 / -1;
    padding-inline: var(--home-top-gutter);
  }
  .notice-items {
    display: block;
  }
  .notice-items li,
  .notice-items li:last-child {
    border-inline: 0;
  }
  .notice-items li + li {
    border-top: 1px solid var(--notice-rule);
  }
  .notice-items .notice-row {
    padding: 7px 2px;
  }
  .notice-items strong {
    font-size: calc(17px * var(--site-text-scale, 1));
  }
  .notice-strip .notice-empty {
    padding-block: 10px;
  }
}
@media (max-width: 365px) {
  body > header:has(.notice-nav) {
    padding-inline: 10px;
    gap: 4px;
  }
  body:has(.notice-strip) > header {
    padding-inline: var(--home-top-gutter);
  }
  .notice-nav svg {
    display: none;
  }
}
@media (prefers-color-scheme: dark) {
  body:has(.notice-page) > main {
    background: #29352d;
  }
  body:not(:has(.notice-strip)) .notice-nav,
  .notice-page {
    --notice-ink: #f7f0e1;
    --notice-muted: #dadbc4;
    --notice-rule: #818c78;
    --notice-gold: #ae9462;
    --notice-hover: #f7f0e11a;
    --notice-focus: #ffdc9f;
  }
}

.notice-nav { font-family: var(--sans); }

/* 2027 new-year topic pages within the site router. */
.notice-topic {
  color-scheme: light;
  --paper: #f7f3ea;
  --surface: #fffdf7;
  --tint: #eef0e3;
  --ink: #293d2b;
  --muted: #4e5948;
  --line: #c5b28a;
  --accent: #755d3e;
}.notice-topic * { box-sizing: border-box; }.notice-topic {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: calc(1.0625rem * var(--site-text-scale, 1))/1.8 var(--sans);
  overflow-wrap: anywhere;
}.notice-topic a { color: inherit; text-underline-offset: .23em; }.notice-topic a:hover { color: var(--accent); }.notice-topic a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }.notice-topic img { max-width: 100%; }.notice-topic section { scroll-margin-top: 1rem; }.notice-topic .nav, .notice-topic .topic-nav, .notice-topic main, .notice-topic .hero .inner, .notice-topic .footer-inner {
  width: min(100% - clamp(36px, 9vw, 120px), 1080px);
  margin-inline: auto;
}.notice-topic .site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}.notice-topic .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 65px;
}.notice-topic .brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: calc(1.35rem * var(--site-text-scale, 1));
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}.notice-topic .notice-back { font-size: calc(.95rem * var(--site-text-scale, 1)); }.notice-topic .topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(.75rem, 3vw, 1.65rem);
}.notice-topic .topic-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}.notice-topic .topic-nav a:hover, .notice-topic .topic-nav a[aria-current="page"] { border-bottom-color: var(--accent); }.notice-topic .hero {
  background: var(--tint);
  padding-block: clamp(2.25rem, 6vw, 4.8rem);
  border-bottom: 1px solid var(--line);
}.notice-topic .hero p { max-width: 42rem; margin-bottom: 0; }.notice-topic .hero .eyebrow, .notice-topic .meta, .notice-topic .small { color: var(--muted); }.notice-topic .hero .eyebrow { margin: 0 0 .45rem; }.notice-topic .hero .meta { margin-top: .75rem; }.notice-topic h1, .notice-topic h2, .notice-topic h3 { line-height: 1.3; }.notice-topic h1 { max-width: 50rem; margin: 0; font-size: calc(clamp(2rem, 5vw, 3.5rem) * var(--site-text-scale, 1)); }.notice-topic h2 { margin: 0 0 1rem; font-size: calc(clamp(1.35rem, 2.6vw, 1.9rem) * var(--site-text-scale, 1)); }.notice-topic h3 { margin: 0 0 .75rem; font-size: calc(1.22rem * var(--site-text-scale, 1)); }.notice-topic p { margin: 0 0 1rem; }.notice-topic h1 + p { margin-top: 1rem; }.notice-topic main { padding-block: clamp(1.6rem, 4.5vw, 3.5rem); }.notice-topic main > section + section { margin-top: clamp(1.6rem, 4vw, 3rem); }.notice-topic .grid, .notice-topic .date-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}.notice-topic .card, .notice-topic .panel, .notice-topic .notice, .notice-topic .date-item {
  padding: clamp(1rem, 2.5vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}.notice-topic .card { display: flex; flex-direction: column; align-items: flex-start; }.notice-topic .card p, .notice-topic .product figcaption { color: var(--muted); }.notice-topic .card .button { margin-top: auto; }.notice-topic .button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .35rem .9rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
  text-decoration: none;
}.notice-topic .button:hover { background: var(--tint); }.notice-topic .panel.gold, .notice-topic .notice, .notice-topic .date-item { background: var(--tint); }.notice-topic .notice { border-inline-start: 3px solid var(--accent); }.notice-topic .notice :last-child, .notice-topic .panel :last-child { margin-bottom: 0; }.notice-topic .date-box { margin-bottom: 1rem; }.notice-topic .date-item strong { display: block; }.notice-topic ul, .notice-topic ol { padding-inline-start: 1.35rem; }.notice-topic li { margin-block: .3rem; }.notice-topic .product {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(1.1rem, 4vw, 2.6rem);
  padding-bottom: clamp(1.6rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}.notice-topic .product figure { margin: 0; }.notice-topic .product img { display: block; width: 100%; height: auto; border-radius: 6px; }.notice-topic .product figcaption { margin-top: .45rem; font-size: calc(.95rem * var(--site-text-scale, 1)); }.notice-topic .price { margin-bottom: .6rem; color: var(--accent); font-weight: 700; }.notice-topic .quote {
  margin-block: 1rem;
  padding: .85rem 1rem;
  border-inline-start: 3px solid var(--line);
  background: var(--surface);
}.notice-topic .quote :last-child { margin-bottom: 0; }.notice-topic .toc { display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; }.notice-topic footer {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: calc(.94rem * var(--site-text-scale, 1));
}

@media (max-width: 700px) {.notice-topic .grid, .notice-topic .date-box, .notice-topic .product { grid-template-columns: minmax(0, 1fr); }
}.notice-topic .nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(.7rem, 3vw, 1.4rem);
  font-size: calc(.95rem * var(--site-text-scale, 1));
}.notice-topic .nav-actions a { white-space: nowrap; }

.notice-topic {font-family:var(--sans)}

.notice-topic,
.notice-topic :is(h1, h2, h3, p, a, button, figcaption, nav, li) {
  font-family: var(--sans);
}

/* Keep topic pages aligned with the site's full-width masthead. */
.notice-page.notice-topic {
  width: min(100%, 1260px);
  max-width: none;
  margin-inline: auto;
  padding: 0 0 64px;
}
.notice-topic .notice-page-heading {
  width: min(100% - 36px, 1080px);
  margin-inline: auto;
  padding-top: 22px;
}
.notice-topic .hero {
  display: block;
  min-height: 0;
  width: 100%;
  padding-block: clamp(36px, 6vw, 76px);
}
.notice-topic .hero .inner {
  width: min(100% - 36px, 1080px);
  margin-inline: auto;
}
.notice-topic main {
  display: block;
  min-height: 0;
  padding-block: clamp(28px, 4vw, 56px);
}
@media (max-width: 700px) {
  .notice-page.notice-topic { width: 100%; }
}

/* Topic actions must override both site .button and topic link colors. */
.notice-topic a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: .6rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--surface);
  font: inherit;
  font-size: calc(1rem * var(--site-text-scale, 1));
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.notice-topic a.button:visited { background: var(--ink); color: var(--surface); }
.notice-topic a.button:hover, .notice-topic a.button:focus-visible { background: var(--tint); color: var(--ink); }
.notice-topic a.button:active { background: var(--ink); color: var(--surface); }

/* Topic links stay in the document flow; only the masthead menu is an overlay. */
.notice-topic .topic-nav {
  position: static;
  inset: auto;
  z-index: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(.75rem, 3vw, 1.65rem);
  margin-block: 0;
  padding-block: .5rem;
  padding-inline: 0;
  box-shadow: none;
}
