:root {
  --paper: #f6f3ec;
  --ink: #1c2a32;
  --muted: #5c6b73;
  --card: #ffffff;
  --line: #dce6ea;
  --sea: #0e7c8b;
  --sea-deep: #0a5c68;
  --sun: #f2a65a;
  --leaf: #2f9e6b;
  --break: #e85d4c;
  --shadow: 0 10px 30px rgba(28, 42, 50, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { color-scheme: light; }
body {
  font-family: Outfit, "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(14, 124, 139, 0.12), transparent 55%),
    radial-gradient(800px 380px at 100% 0%, rgba(242, 166, 90, 0.18), transparent 50%),
    var(--paper);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; }
.glow { display: none; }

.mast {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 48px 16px;
  align-items: flex-start;
}
.brand h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 0.92;
  margin: 0;
  letter-spacing: -0.03em;
}
.brand h1 span { color: var(--sea); }
.brand h1 a { text-decoration: none; }
.top-tools {
  position: fixed;
  top: 8px;
  right: 58px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-switch {
  display: flex;
  flex-direction: column;
  width: 40px;
  height: 42px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--sea);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  flex: 0 0 40px;
  box-sizing: border-box;
}
.lang-switch-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  color: var(--sea-deep);
}
.lang-switch-opt + .lang-switch-opt {
  border-top: 1px solid var(--sea);
}
.lang-switch-opt.is-on {
  background: var(--sea);
  color: #fff;
}
.lang-switch-opt:hover:not(.is-on) {
  background: rgba(14, 124, 139, 0.08);
}
.lang-switch-opt:focus-visible {
  outline: 2px solid var(--sea-deep);
  outline-offset: -2px;
}
.kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--sea);
  font-weight: 700;
}
.kicker a { color: var(--sea); }
.tag { max-width: 440px; color: var(--muted); margin: 12px 0 0; }
.brand-tag { max-width: 34rem; font-size: 15px; }
.site-foot {
  padding: 8px 48px 88px;
  color: var(--muted);
  font-size: 13px;
  max-width: 52rem;
}
.site-foot p { margin: 0 0 8px; }
.site-foot a { color: var(--sea); }
.about-copy { max-width: 40rem; }
.about-copy h2 { font-family: Fraunces, serif; font-size: 1.4rem; margin: 1.6rem 0 0.5rem; }
.about-copy p { color: var(--ink); line-height: 1.55; }
.mast-side {
  display: grid;
  gap: 12px;
  justify-items: end;
  padding-top: 44px;
  pointer-events: none;
}
.mast-side > * { pointer-events: auto; }
.live-note {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 42px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--sea);
  border-radius: 10px;
  padding: 3px 3px 3px 8px;
  box-shadow: var(--shadow);
}
.inbox { position: relative; z-index: 4; }
.inbox-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--sea);
  border-radius: 999px;
  background: var(--sea);
  color: #fff;
  box-shadow: 0 8px 18px rgba(14, 124, 139, 0.28);
  cursor: pointer;
}
.inbox-btn:hover,
.inbox-btn[aria-expanded="true"] {
  background: var(--sea-deep);
  border-color: var(--sea-deep);
  color: #fff;
}
.inbox-btn.has-mail {
  background: var(--break);
  border-color: var(--break);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(232, 93, 76, 0.45);
  animation: bell-glow 1.8s ease-out infinite;
}
.inbox-btn.has-mail svg {
  transform-origin: 50% 12%;
  animation: bell-ring 1.15s ease-in-out infinite;
}
.inbox-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fff;
  color: var(--break);
  border: 1px solid var(--break);
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.inbox-btn.has-mail .inbox-count {
  background: #fff;
  color: var(--break);
}
.inbox-count.is-hidden { display: none; }
.inbox-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(360px, calc(100vw - 24px));
  max-height: min(70vh, 420px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 2;
  padding: 10px 0 8px;
  pointer-events: auto;
}
.inbox-panel.is-hidden,
.inbox-panel[hidden] {
  display: none !important;
  pointer-events: none;
}
.inbox-head {
  margin: 0 14px 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.inbox-empty {
  margin: 0 14px 8px;
  color: var(--muted);
  font-size: 13px;
}
.inbox-empty.is-hidden { display: none; }
.inbox-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.inbox-panel li a {
  display: grid;
  gap: 2px;
  padding: 8px 14px;
  text-decoration: none;
  color: inherit;
}
.inbox-panel li a:hover { background: var(--paper); }
.inbox-panel li strong {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}
.inbox-panel li span {
  font-size: 11px;
  color: var(--muted);
}
.pulse { display: flex; gap: 18px; margin: 0; }
.pulse div { margin: 0; }
.pulse dt {
  font-family: Fraunces, serif;
  font-size: 26px;
  color: var(--sea-deep);
  transition: color 0.35s ease, transform 0.35s ease;
}
.pulse dt.is-fresh,
.pulse dt a.is-fresh {
  color: var(--leaf);
  transform: translateY(-2px);
}
.pulse dd { margin: 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.pulse dt a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}
.pulse dt a:hover { color: var(--sea); }
.ghost {
  color: var(--sea);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wire-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 3px rgba(47, 158, 107, 0.16);
  animation: live-pulse 2s ease-out infinite;
}
.wire-dot.is-stale {
  background: var(--sun);
  box-shadow: 0 0 0 3px rgba(242, 166, 90, 0.18);
  animation: none;
}
.wire-status {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
}
.wire-status strong { color: var(--ink); }
.live-note button {
  position: relative;
  z-index: 4;
  font: inherit;
  border: 0;
  color: #fff;
  padding: 0 8px;
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.live-note button.is-on { background: var(--leaf); }
.live-note button.is-off { background: var(--break); }
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 158, 107, 0.35); }
  70% { box-shadow: 0 0 0 6px rgba(47, 158, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 158, 107, 0); }
}
@keyframes bell-ring {
  0%, 70%, 100% { transform: rotate(0); }
  12% { transform: rotate(16deg); }
  24% { transform: rotate(-14deg); }
  36% { transform: rotate(10deg); }
  48% { transform: rotate(-8deg); }
  60% { transform: rotate(4deg); }
}
@keyframes bell-glow {
  0% { box-shadow: 0 0 0 0 rgba(232, 93, 76, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(232, 93, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 93, 76, 0); }
}

.dates { align-items: center; }

.console {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin: 18px 48px 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.console-primary,
.console-more {
  display: contents;
}
.console label, .date-label {
  display: grid;
  gap: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 0;
}
.console .search { order: 1; flex: 2 1 360px; min-width: 220px; max-width: 640px; position: relative; z-index: 9; }
.console .vibe { order: 2; flex: 0 1 140px; }
.console-more > label { order: 4; flex: 0 1 124px; max-width: 148px; }
.console .source-pick {
  order: 3;
  flex: 1 1 220px;
  max-width: 280px;
  position: relative;
  z-index: 6;
}
.source-combo { position: relative; min-width: 0; }
#source-search {
  width: 100%;
  background: var(--paper) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230e7c8b' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3.2-3.2'/></svg>") no-repeat 10px 50%;
  padding-left: 32px;
}
.source-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 280px;
  overflow: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 8;
}
.source-menu.is-hidden { display: none; }
.source-menu li {
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 600;
}
.source-menu li.is-current { color: var(--sea-deep); }
.source-menu li.is-active,
.source-menu li:hover { background: var(--paper); }
.card .src { color: var(--sea-deep); text-decoration: none; }
.card .src:hover { text-decoration: underline; }
.console .more-toggle { display: none; order: 8; }
.console .filter-clear { order: 12; flex: 0 0 auto; margin-left: auto; }
.search-field {
  display: flex;
  align-items: stretch;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.search-field:focus-within {
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(14, 124, 139, 0.12);
}
.console input, .console select, .console button {
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 10px;
}
.console select {
  width: 100%;
  max-width: none;
  min-width: 0;
  text-overflow: ellipsis;
  cursor: pointer;
}
.search-field input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230e7c8b' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3.2-3.2'/></svg>") no-repeat 12px 50%;
  border-radius: 0;
  padding: 8px 8px 8px 36px;
}
.search-field input:focus { outline: none; }
.search-field input::-webkit-search-decoration,
.search-field input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.search-field .go,
.console .go {
  flex: 0 0 auto;
  align-self: stretch;
  background: var(--sea);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  border-radius: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 16px;
  min-height: 0;
}
.console .go:hover { background: var(--sea-deep); }
.search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 360px;
  overflow: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 10;
  text-transform: none;
  letter-spacing: 0;
}
.search-suggest.is-hidden { display: none; }
.search-suggest li {
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.search-suggest li.is-active,
.search-suggest li:hover { background: var(--paper); }
.search-suggest .suggest-source {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.search-suggest mark,
.card h2 mark,
.card .blurb mark {
  background: #ffe08a;
  color: inherit;
  padding: 0 0.12em;
  border-radius: 3px;
}
.search-result-meta {
  margin: 14px 48px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.console .more-toggle {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sea-deep);
  background: #fff;
  border: 1px solid var(--sea);
  border-radius: 10px;
  padding: 8px 12px;
  min-height: 38px;
  cursor: pointer;
  white-space: nowrap;
}
.console .more-toggle.is-set::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--sun);
}
.console .filter-clear {
  align-self: end;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  min-height: 38px;
  cursor: pointer;
  white-space: nowrap;
}
.console .filter-clear:hover {
  color: var(--sea-deep);
  border-color: var(--sea);
}

.ticker {
  display: flex;
  gap: 0;
  align-items: center;
  margin: 16px 48px 0;
  padding: 0 0 0 16px;
  border-left: 4px solid var(--break);
  background: #fff4f2;
  border-radius: 12px;
  overflow: hidden;
}
.ticker-kicker {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--break);
  font-weight: 700;
  padding: 12px 16px 12px 0;
  background: #fff4f2;
  z-index: 1;
  box-shadow: 12px 0 12px 4px #fff4f2;
}
.ticker-window {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  padding: 12px 40px 12px 8px;
  animation: ticker-move 72s linear infinite;
}
.ticker-track a {
  flex: 0 0 auto;
  max-width: min(36rem, 70vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 600;
}
.ticker-track.is-static {
  animation: none;
  width: auto;
}
.ticker-sep {
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  background: var(--break);
  opacity: 0.9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M9.3 1.1 4 8.7h3.7L6.5 14.9 12.4 7H8.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M9.3 1.1 4 8.7h3.7L6.5 14.9 12.4 7H8.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ticker:hover .ticker-track { animation-play-state: paused; }

.briefing { margin: 20px 48px 0; }
.briefing-head {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
.briefing-toggle {
  display: block;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(232, 246, 248, 0.96));
  border: 1px solid var(--sea);
  border-left: 5px solid var(--sea);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.briefing-toggle:hover,
.briefing-toggle:focus-visible {
  transform: translateY(-2px);
  border-color: var(--sea-deep);
  box-shadow: 0 14px 32px rgba(14, 124, 139, 0.16);
  outline: none;
}
.briefing-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.briefing-title {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.briefing-open {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  background: var(--sea);
  border-radius: 999px;
  padding: 8px 12px;
}
.briefing-open::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
}
.briefing-open-opened { display: none; }
.briefing-toggle[aria-expanded="true"] .briefing-open-closed { display: none; }
.briefing-toggle[aria-expanded="true"] .briefing-open-opened { display: inline; }
.briefing-toggle[aria-expanded="true"] .briefing-open::after {
  transform: translateY(2px) rotate(-135deg);
}
.briefing:has(.briefing-toggle[aria-expanded="true"]) .briefing-toggle {
  border-radius: 18px 18px 0 0;
  transform: none;
  box-shadow: none;
}
.briefing-panel {
  margin-top: 0;
  padding: 12px 18px 18px;
  background: #fff;
  border: 1px solid var(--sea);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: var(--shadow);
}
.briefing-panel.is-hidden,
.briefing-panel[hidden] { display: none; }
.briefing-list {
  margin: 4px 0 0;
  padding: 0 8px 4px 1.35em;
  display: grid;
  gap: 12px;
}
.briefing-list li {
  font-size: 16px;
  line-height: 1.45;
}
.briefing-list a { text-decoration: none; }
.briefing-list a:hover { color: var(--sea-deep); }

.audience-kicker {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  color: #f2a65a;
}
.audience-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dcc86;
  box-shadow: 0 0 0 4px rgba(61, 204, 134, 0.22);
  animation: live-pulse 2s ease-out infinite;
}

body.audience-page {
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(14, 124, 139, 0.28), transparent 55%),
    radial-gradient(800px 380px at 100% 0%, rgba(242, 166, 90, 0.22), transparent 50%),
    #10262c;
  color: #f4efe4;
  min-height: 100vh;
}
.audience-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 48px 0;
}
.audience-top .kicker a { color: #f2a65a; }
.audience-hero { padding: 20px 48px 8px; }
.audience-hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.95;
  margin: 8px 0 28px;
  letter-spacing: -0.03em;
}
.audience-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.audience-hero-grid div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(244, 239, 228, 0.12);
  border-radius: 16px;
  padding: 16px 18px;
}
.audience-hero-grid strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #f2a65a;
  font-size: clamp(32px, 5vw, 52px);
}
.audience-hero-grid span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.72);
}
.audience-hero-live {
  grid-column: span 2;
  background: rgba(61, 204, 134, 0.1) !important;
  border-color: rgba(61, 204, 134, 0.32) !important;
}
.audience-hero-live strong {
  font-size: clamp(56px, 10vw, 96px);
  color: #3dcc86;
}
.audience-chart { padding: 20px 48px 80px; }
.audience-chart h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  margin: 0 0 16px;
}
.audience-bars {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  height: 220px;
  margin: 8px 0 20px;
}
.audience-bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  gap: 8px;
  min-width: 0;
}
.audience-bar span {
  display: block;
  width: 100%;
  min-height: 4px;
  background: linear-gradient(180deg, #f2a65a, #0e7c8b);
  border-radius: 8px 8px 3px 3px;
}
.audience-bar.is-today span { background: linear-gradient(180deg, #3dcc86, #0e7c8b); }
.audience-bar em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: rgba(244, 239, 228, 0.55);
  white-space: nowrap;
}
.audience-note { color: rgba(244, 239, 228, 0.58); max-width: 40rem; }
@keyframes ticker-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; overflow-x: auto; }
  .inbox-btn.has-mail,
  .inbox-btn.has-mail svg { animation: none; }
}

.wx-chip { position: relative; z-index: 5; }
.wx-chip:has([aria-expanded="true"]),
.cal-chip:has([aria-expanded="true"]) { z-index: 30; }
.wx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 24px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid var(--sea);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  overflow: hidden;
  flex: 0 0 auto;
}
.wx-btn:hover,
.wx-btn[aria-expanded="true"] {
  border-color: var(--sea-deep);
}
.wx-icon { font-size: 13px; line-height: 1; }
.wx-temp {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.wx-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 90;
  width: min(240px, calc(100vw - 24px));
  max-height: min(70vh, 420px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 6px;
  display: grid;
  gap: 2px;
}
.wx-menu.is-hidden,
.wx-menu[hidden] {
  display: none !important;
}
.wx-menu > button {
  display: grid;
  grid-template-columns: 1.2em minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.wx-menu > button:hover,
.wx-menu > button[aria-selected="true"] {
  background: #f3fbfc;
}
.wx-menu .wx-city {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-menu .wx-temp { font-weight: 700; color: var(--sea-deep); }

.cal-chip { position: relative; z-index: 5; }
.cal-mini,
.rd-mini,
.ph-mini,
.tip-mini,
.wx-mini,
.account-mini,
.fav-mini {
  width: 40px;
  height: 42px;
  flex: 0 0 40px;
  margin: 0;
  border: 1px solid var(--sea);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  box-sizing: border-box;
}
.cal-mini {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
}
.cal-mini:hover { border-color: var(--sea-deep); }
a.cal-mini { text-decoration: none; color: inherit; }
.cal-mini-month {
  background: var(--sea);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 3px 0 2px;
  line-height: 1;
}
.cal-mini-day {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Fraunces, Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  line-height: 1;
  padding: 0;
}
.rd-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.rd-mini:hover,
.rd-mini[aria-expanded="true"] { border-color: var(--sea-deep); }
.wx-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink);
}
.wx-mini .wx-icon { font-size: 18px; line-height: 1; }
.wx-mini:hover,
.wx-mini[aria-expanded="true"] { border-color: var(--sea-deep); }
.account-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--sea-deep);
  font: inherit;
  appearance: none;
}
.account-mini:hover,
.account-mini[aria-expanded="true"] { border-color: var(--sea-deep); color: var(--sea-deep); }
.account-burger {
  display: grid;
  place-items: center;
}
.account-menu {
  left: auto;
  right: 0;
  width: min(220px, calc(100vw - 24px));
  padding: 8px;
}
.account-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  color: var(--sea-deep);
}
.account-menu a .fav-star {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.account-menu a.is-current {
  background: #fff4e4;
  color: #8a4e12;
}
.account-menu a.is-current .fav-star {
  fill: currentColor;
}
.account-menu a:hover { background: #f3fbfc; }
.account-menu a.is-primary {
  background: var(--sea);
  color: #fff;
}
.account-menu a.is-primary:hover { background: var(--sea-deep); }
.rd-light {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 14px;
  padding: 3px 2px;
  border-radius: 6px;
  background: #1f3338;
}
.rd-mini .rd-light {
  width: 14px;
  padding: 3px;
  gap: 2px;
  border-radius: 7px;
}
.rd-lamp {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2c3c41;
}
.rd-mini .rd-lamp {
  width: 6px;
  height: 6px;
}
.rd-light[data-kind="clear"] .rd-lamp-green,
.rd-light[data-kind="light"] .rd-lamp-green {
  background: #3dcc7a;
  box-shadow: 0 0 6px rgba(61, 204, 122, 0.85);
}
.rd-light[data-kind="slow"] .rd-lamp-amber {
  background: #f0b429;
  box-shadow: 0 0 6px rgba(240, 180, 41, 0.85);
}
.rd-light[data-kind="heavy"] .rd-lamp-red,
.rd-light[data-kind="stop"] .rd-lamp-red,
.rd-light[data-kind="closed"] .rd-lamp-red {
  background: #e24b4b;
  box-shadow: 0 0 6px rgba(226, 75, 75, 0.85);
}
.rd-light.is-full .rd-lamp-red {
  background: #e24b4b;
  box-shadow: 0 0 5px rgba(226, 75, 75, 0.8);
}
.rd-light.is-full .rd-lamp-amber {
  background: #f0b429;
  box-shadow: 0 0 5px rgba(240, 180, 41, 0.8);
}
.rd-light.is-full .rd-lamp-green {
  background: #3dcc7a;
  box-shadow: 0 0 5px rgba(61, 204, 122, 0.8);
}
.cal-menu { width: min(280px, calc(100vw - 24px)); z-index: 90; }
.cal-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
}
.cal-row.is-today { background: #f3fbfc; }
.cal-row.is-today .wx-city { color: var(--sea-deep); font-weight: 700; }
.cal-row .wx-city {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cal-row .wx-temp {
  font-weight: 700;
  color: var(--sea-deep);
  font-size: 11px;
  white-space: nowrap;
}
.cal-more {
  display: block;
  margin: 4px 2px 2px;
  padding: 8px 10px;
  color: var(--sea-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.cal-more:hover { text-decoration: underline; }
.jam-menu { width: min(280px, calc(100vw - 24px)); z-index: 90; }
.jam-menu button {
  grid-template-columns: 18px minmax(0, 1fr) auto 12px;
  align-items: center;
  cursor: pointer;
}
.jam-menu .jam-city .wx-city {
  color: var(--sea-deep);
  font-weight: 600;
}
.rd-more {
  color: var(--sea);
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}
.jam-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
}
.jam-row .wx-city {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.jam-row:not(:has(.rd-light)) {
  grid-template-columns: 1fr;
}
#roads-jams {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
#roads-jams:empty { display: none; }

.ph-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.ph-mini:hover,
.ph-mini[aria-expanded="true"] { border-color: var(--sea-deep); }
.ph-cross {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}
.ph-cross svg {
  display: block;
  width: 18px;
  height: 18px;
}
.ph-cross rect { fill: #22a045; }
.ph-mini.is-night .ph-cross rect { fill: #1f8a5b; }
.tip-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.tip-mini:hover,
.tip-mini[aria-expanded="true"] { border-color: var(--sun); }
.tip-spark {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}
.tip-spark svg {
  display: block;
  width: 18px;
  height: 18px;
}
.tip-spark path { fill: var(--sun); }
.tip-menu {
  width: min(280px, calc(100vw - 24px));
  padding: 12px 14px 14px;
}
.tip-kicker {
  margin: 0 0 8px;
  color: var(--sun);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tip-text {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink);
}
.ph-menu { width: min(300px, calc(100vw - 24px)); z-index: 90; }
.ph-menu button.jam-city {
  grid-template-columns: minmax(0, 1fr) auto 12px;
}
.ph-hours {
  margin: 0 2px 4px;
  padding: 6px 10px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
#pharm-list {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
#pharm-list:empty { display: none; }
.ph-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
}
a.ph-row:hover { background: #f3fbfc; }
.ph-row .wx-city {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.ph-row .wx-temp {
  font-weight: 700;
  color: var(--sea-deep);
  white-space: nowrap;
  font-size: 12px;
}
.ph-addr {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
}

.cal-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.cal-kind-holiday { --kind-bg: #d7eef3; --kind-ink: #0a5c68; --kind-wash: #eef8fa; }
.cal-kind-festival { --kind-bg: #ffe1b0; --kind-ink: #c45e0a; --kind-wash: #fff4e0; }
.cal-kind-music { --kind-bg: #eadbff; --kind-ink: #6b3fd4; --kind-wash: #f5eeff; }
.cal-kind-theatre { --kind-bg: #ffd5e2; --kind-ink: #c43d6a; --kind-wash: #fff0f4; }
.cal-kind-exhibition { --kind-bg: #ffe59a; --kind-ink: #9a6b00; --kind-wash: #fff8d8; }
.cal-kind-cinema { --kind-bg: #d6deff; --kind-ink: #3346c4; --kind-wash: #eef1ff; }
.cal-kind-comedy { --kind-bg: #fff0a3; --kind-ink: #9a7300; --kind-wash: #fffbe6; }
.cal-kind-dance { --kind-bg: #ffd0ee; --kind-ink: #c43d9a; --kind-wash: #fff0f8; }
.cal-kind-culture { --kind-bg: #d4f3e4; --kind-ink: #1c8a55; --kind-wash: #eafaf2; }
.cal-kind-nameday { --kind-bg: #f3e0d7; --kind-ink: #9a4b2c; --kind-wash: #fbf3ee; }
.cal-glyph {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  color: var(--kind-ink, var(--sea-deep));
  flex: 0 0 auto;
}
.cal-glyph.is-row {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 999px;
  background: var(--kind-bg, #e7f5f7);
}
.cal-glyph.is-mark {
  width: 16px;
  height: 16px;
  padding: 2px;
  border-radius: 999px;
  background: var(--kind-bg, #e7f5f7);
  color: var(--kind-ink, var(--sea));
  box-shadow: 0 0 0 2px #fff;
}

.calendar-page {
  height: 100dvh;
  overflow: visible;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 420px at 6% -12%, rgba(14, 124, 139, 0.2), transparent 55%),
    radial-gradient(720px 380px at 100% 0%, rgba(242, 166, 90, 0.32), transparent 52%),
    radial-gradient(640px 280px at 82% 110%, rgba(107, 63, 212, 0.1), transparent 50%),
    var(--paper);
}
.calendar-page .mast {
  flex: 0 0 auto;
  align-items: center;
  gap: 16px;
  padding: 16px 28px 8px;
}
.cal-page-mast {
  justify-content: space-between;
}
.calendar-page .brand h1 { font-size: clamp(28px, 4vw, 44px); }
.calendar-page .brand h1 span { color: var(--sun); }
.calendar-page .kicker { margin-bottom: 4px; }
.calendar-page .lang-switch { padding-top: 0; }
.cal-page-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 50px;
}
.cal-now {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a4308;
  background: #ffe1b0;
  border-radius: 999px;
  padding: 8px 12px;
}
.calendar-board {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  max-width: none;
  width: 100%;
  padding: 8px 24px 20px;
  display: grid;
}
.calendar-month h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  margin: 0 0 12px;
}
.calendar-month ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.calendar-month li {
  display: grid;
  grid-template-columns: 2em minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.calendar-month li.is-today { border-color: var(--sea); }
.calendar-month li > a.cal-event {
  display: contents;
  color: inherit;
  text-decoration: none;
}
.calendar-month li:has(a.cal-event):hover { border-color: var(--sea); }
.calendar-month strong { display: block; font-size: 16px; }
.calendar-month span { color: var(--muted); font-size: 13px; }
.calendar-note { color: var(--muted); font-size: 13px; max-width: 40rem; }

.cal-app {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
  gap: 0;
  background: #fff;
  border: 1px solid #d5e3e8;
  border-radius: 28px;
  padding: 16px 0 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cal-stage {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  padding: 4px 16px 16px;
}
.cal-nav {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.cal-nav-copy {
  display: grid;
  justify-items: center;
  gap: 4px;
}
.cal-nav-label {
  margin: 0;
  text-align: center;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.cal-today-btn {
  margin: 0;
  padding: 2px 10px;
  border: 0;
  background: transparent;
  color: #c45e0a;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.cal-today-btn:hover { color: var(--sea-deep); }
.cal-nav-btn {
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #d5e3e8;
  border-radius: 14px;
  background: #fff8ee;
  color: var(--sea-deep);
  cursor: pointer;
}
.cal-nav-btn svg { width: 20px; height: 20px; }
.cal-nav-btn:hover:not(:disabled) {
  border-color: var(--sun);
  background: #ffe1b0;
}
.cal-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.cal-weekdays,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.cal-weekdays {
  background: #f3fbfc;
  border: 1px solid #d5e3e8;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}
.cal-weekdays span {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sea-deep);
  padding: 8px 0;
  border-right: 1px solid #d5e3e8;
}
.cal-weekdays span:last-child { border-right: 0; }
.cal-weekdays span:nth-child(6),
.cal-weekdays span:nth-child(7) { color: #c45e0a; background: #fff6e8; }
.cal-grid {
  min-height: 0;
  height: 100%;
  grid-auto-rows: 1fr;
  border: 1px solid #d5e3e8;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  background: #fff;
}
.cal-day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 8px 4px 6px;
  overflow: hidden;
  border: 0;
  border-right: 1px solid #e4eef1;
  border-bottom: 1px solid #e4eef1;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day:nth-last-child(-n + 7) { border-bottom: 0; }
.cal-day:hover { background: #f3fbfc; }
.cal-day.is-weekend:not(.has-events):not(.is-outside) { background: #fffaf2; }
.cal-day.is-outside { color: #9aa8ae; background: #f7f5f1; }
.cal-day.is-outside .cal-glyph { color: #b7c3c8; background: #eceae6; }
.cal-day.has-events { background: var(--kind-wash, #f3fbfc); }
.cal-day.is-selected {
  background: var(--kind-wash, #e7f5f7);
  box-shadow: inset 0 0 0 2px var(--kind-ink, var(--sea));
  color: var(--kind-ink, var(--sea-deep));
  z-index: 1;
}
.cal-day-n {
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 650;
  line-height: 1;
}
.cal-day.is-today .cal-day-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85em;
  height: 1.85em;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--sea);
  color: #fff;
}
.cal-day.is-today.is-selected { background: var(--kind-wash, #eef8f9); }
.cal-marks {
  min-height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-wrap: wrap;
}
.cal-more-count {
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
}
.cal-day-panel {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 12px 16px 16px 18px;
  border-left: 1px solid #d5e3e8;
  background:
    linear-gradient(180deg, #fff8ee 0, #fff 88px);
}
.cal-panel-kicker {
  margin: 8px 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c45e0a;
}
.cal-day-panel h3 {
  margin: 0 0 16px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.cal-empty-day {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.cal-event-list { display: grid; gap: 10px; }
.cal-event-group { display: grid; gap: 10px; }
.cal-event-group + .cal-event-group { margin-top: 18px; }
.cal-event-group h4 {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kind-ink, var(--sea-deep));
}
.cal-event-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  background: var(--kind-wash, #fff);
  border: 1px solid color-mix(in srgb, var(--kind-ink, var(--sea)) 22%, #fff);
  border-left: 4px solid var(--kind-ink, var(--sea));
  border-radius: 16px;
  padding: 12px 14px;
  color: inherit;
  text-decoration: none;
}
a.cal-event-card:hover { border-color: var(--kind-ink, var(--sea)); }
.cal-glyph-wrap {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--kind-bg, #e7f5f7);
  color: var(--kind-ink, var(--sea-deep));
}
.cal-glyph-wrap .cal-glyph {
  width: 22px;
  height: 22px;
  color: var(--kind-ink, var(--sea-deep));
}
.cal-event-card strong { display: block; font-size: 16px; line-height: 1.25; }
.cal-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.cal-kind {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kind-ink, var(--sea-deep));
  background: var(--kind-bg, #e7f5f7);
  border-radius: 999px;
  padding: 3px 7px;
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
  gap: 20px;
  padding: 24px 48px 8px;
}
.lead {
  background: linear-gradient(180deg, #fff8ee, #fff 42%);
  border: 1px solid #f3d7b3;
  border-radius: 24px;
  padding: 28px;
  min-height: 260px;
  box-shadow: var(--shadow);
}
.lead h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  margin: 10px 0 16px;
}
.lead h2 a { text-decoration: none; }
.dek { font-size: 18px; color: #41545c; max-width: 46rem; }
.side-stack { display: grid; gap: 12px; }
.side-stack article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.side-stack h3 { font-family: Fraunces, serif; margin: 6px 0 0; font-size: 22px; line-height: 1.2; }
.side-stack h3 a { text-decoration: none; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: auto;
  gap: 16px;
  padding: 24px 48px 48px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 18px;
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--sea); }
.card.is-new {
  border-color: var(--sea);
  box-shadow: 0 10px 30px rgba(14, 124, 139, 0.18);
}
.card h2 {
  font-family: Fraunces, serif;
  font-size: 22px;
  line-height: 1.25;
  height: 3.75em;
  margin: 6px 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.card h2 a { text-decoration: none; }
.card h2 a:hover { color: var(--sea-deep); }
.card .blurb {
  flex: 0 1 auto;
  min-height: 0;
  max-height: 7.25em;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #41545c;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
.meta { color: var(--muted); font-size: 12px; display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; }
.card .meta {
  margin: 0;
  flex: 0 0 auto;
  min-height: 1.35em;
  max-height: 1.35em;
  overflow: hidden;
  justify-content: space-between;
  gap: 8px;
}
.card .meta > * {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card .meta > .badge,
.card .meta > .where,
.card .meta > .when {
  flex: 0 0 auto;
  overflow: visible;
  max-width: none;
}
.card .meta > .src,
.card .meta > span {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}
.card .meta > .when {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.meta a { color: var(--sea); text-decoration: none; }
.where { font-weight: 600; }

.badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  padding: 3px 7px;
  border-radius: 999px;
  font-weight: 700;
}
.badge-break { background: var(--break); }
.badge-lang {
  background: #e7f5f7;
  color: var(--sea-deep);
  letter-spacing: 0.06em;
  min-width: 2.15em;
  text-align: center;
  padding: 3px 6px;
}
.banner, .notice {
  margin: 12px 48px;
  padding: 12px 16px;
  background: #fff8ee;
  border: 1px solid #f3d7b3;
  border-radius: 12px;
  color: var(--ink);
}
.banner.is-alert {
  background: #fff1f0;
  border-color: #f0c4c0;
}
.banner.is-alert a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.pager { display: flex; gap: 16px; align-items: center; padding: 0 48px 64px; }
.pager a { color: var(--sea); }
.empty { padding: 24px 0; color: var(--muted); grid-column: 1 / -1; }

.story { max-width: 820px; padding: 32px 48px 80px; }
.story h1 { font-family: Fraunces, serif; font-size: clamp(36px, 5vw, 60px); margin: 8px 0 16px; line-height: 1.05; }
.body { font-size: 20px; }
.excerpt { font-size: 20px; color: #41545c; }
.hero { width: 100%; height: auto; margin: 16px 0; border-radius: 16px; border: 1px solid var(--line); }
.button {
  display: inline-block;
  margin-top: 16px;
  background: var(--sea);
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tech { margin-top: 32px; font-size: 13px; color: var(--muted); }
.related { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.related h2 { font-family: Fraunces, Georgia, serif; font-size: 1.4rem; margin: 0 0 12px; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.related li { display: grid; gap: 2px; }
.related a { color: var(--sea-deep); text-decoration: none; font-weight: 600; }
.related a:hover { text-decoration: underline; }
.related span { color: var(--muted); font-size: 13px; }
.login-wrap { max-width: 460px; }
.login {
  display: grid;
  gap: 16px;
  max-width: 420px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.login label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.login input { font: inherit; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.top h1, .source-line { font-family: Fraunces, Georgia, serif; margin: 0; font-size: clamp(28px, 4vw, 42px); }
.login button, .editorial button {
  font: inherit;
  padding: 10px 16px;
  background: var(--sea);
  color: #fff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}
.editorial {
  margin-top: 32px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  display: grid;
  gap: 10px;
}
.top { display: flex; justify-content: space-between; gap: 24px; padding: 32px 48px 16px; }

.toast {
  position: fixed;
  top: 56px;
  right: 10px;
  width: min(340px, calc(100vw - 20px));
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--sea);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px 40px 14px 16px;
  z-index: 90;
  display: grid;
  gap: 8px;
  cursor: pointer;
  text-align: left;
}
.toast:hover {
  border-color: var(--sea);
  transform: translateY(-1px);
}
.toast strong { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sea-deep); }
.toast p { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; }
.toast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.toast-show {
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--sea);
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}
.toast-open {
  font-size: 12px;
  font-weight: 700;
  color: var(--sea);
  text-decoration: none;
}
.toast-dismiss {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
}
.toast-dismiss:hover { color: var(--ink); background: var(--paper); }
.toast.is-hidden,
.toast[hidden] { display: none !important; }

@media (max-width: 960px) {
  .stage, .mast { grid-template-columns: 1fr; display: grid; }
  .mast-side { justify-items: start; }
}
@media (max-width: 800px) {
  body { padding-top: 48px; }
  .mast, .console, .ticker, .briefing, .grid, .story, .pager, .banner, .site-foot, .audience-top, .audience-hero, .audience-chart, .calendar-board, .weather-board, .search-result-meta { padding-left: 16px; padding-right: 16px; }
  .mast { padding-top: 8px; padding-bottom: 8px; gap: 16px; }
  .brand h1 { font-size: 34px; padding-right: 4px; }
  .mast-side { padding-top: 0; }
  .pulse dt { font-size: 20px; }
  .pulse { gap: 12px; }
  .console {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    margin: 12px 16px 0;
    padding: 12px;
  }
  .console-primary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "search search"
      "more clear";
    gap: 8px;
    align-items: end;
  }
  .console-more {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .console.is-open .console-more { display: grid; }
  .console-more > label.source-pick,
  .console-more > label.vibe { grid-column: 1 / -1; }
  .console .filter-clear { margin-left: 0; }
  .console .search,
  .console .vibe,
  .console .more-toggle,
  .console .filter-clear,
  .console-more > label {
    order: unset;
    flex: none;
    max-width: none;
    min-width: 0;
    margin: 0;
  }
  .console .search { grid-area: search; }
  .console .more-toggle { display: inline-flex; align-items: center; justify-content: center; grid-area: more; min-height: 44px; width: 100%; }
  .console .filter-clear { grid-area: clear; min-height: 44px; width: 100%; }
  .search-field .go { padding-left: 16px; padding-right: 16px; }
  .console label:not(.search) { flex: none; }
  .console select,
  .console input,
  .more-toggle,
  .filter-clear,
  .search-field .go { font-size: 16px; }
  .ticker {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 12px 16px 0;
    padding: 8px 0 0 12px;
  }
  .ticker-kicker {
    padding: 0 12px 2px 0;
    letter-spacing: 0.12em;
    font-size: 10px;
    box-shadow: none;
  }
  .ticker-window {
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 20px), transparent);
  }
  .ticker-track {
    padding: 8px 24px 10px 0;
    gap: 14px;
  }
  .ticker-track a {
    max-width: min(28rem, calc(100vw - 48px));
  }
  .briefing { margin: 16px 16px 0; }
  .briefing-toggle {
    padding: 14px 14px 14px 16px;
  }
  .briefing-toggle:hover,
  .briefing-toggle:focus-visible { transform: none; }
  .briefing-title { font-size: 26px; }
  .briefing-open { padding: 9px 12px; }
  .audience-hero-live { grid-column: span 1; }
  .audience-bars { height: 160px; gap: 4px; }
  .audience-bar em { font-size: 8px; transform: rotate(-50deg); transform-origin: top left; height: 28px; }
  .top-tools {
    top: 6px;
    left: 8px;
    right: 50px;
    gap: 6px;
    justify-content: flex-end;
    flex-wrap: nowrap;
    min-width: 0;
  }
  .cal-chip,
  .wx-chip:not(.account-nav) {
    position: static;
  }
  .top-tools .wx-menu,
  .top-tools .cal-menu {
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
  }
  .top-tools .account-menu {
    left: auto;
    right: 0;
    width: min(220px, calc(100vw - 24px));
    max-width: min(220px, calc(100vw - 24px));
  }
  .cal-mini,
  .rd-mini,
  .ph-mini,
  .tip-mini,
  .wx-mini,
  .lang-switch,
  .account-mini,
  .fav-mini {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .rd-mini .rd-light { width: 12px; padding: 2px; }
  .rd-mini .rd-lamp { width: 5px; height: 5px; }
  .cal-mini-day { font-size: 15px; }
  .ph-cross,
  .ph-cross svg,
  .tip-spark,
  .tip-spark svg { width: 16px; height: 16px; }
  .live-note { display: none; }
  .grid { padding-top: 16px; padding-bottom: 32px; gap: 12px; grid-template-columns: 1fr; grid-auto-rows: auto; }
  .card { padding: 14px 16px; }
  .card h2 { font-size: 20px; height: 3.75em; margin: 6px 0; }
  .card:hover { transform: none; }
  .pager { padding-bottom: 40px; }
  body.calendar-page,
  body.weather-page { padding-top: 0; }
  .calendar-page .mast,
  .weather-page .mast { padding: 8px 16px; }
  .calendar-page .brand h1,
  .weather-page .brand h1 { font-size: 28px; }
  .calendar-board { padding-bottom: 12px; }
  .weather-board { padding-bottom: 28px; }
  .wx-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .wx-hero-stats { grid-column: 1 / -1; }
  .wx-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal-app {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 0;
    padding: 6px 0 0;
    min-height: 0;
    height: 100%;
  }
  .cal-stage {
    flex: 0 0 min(38vh, 252px);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    height: min(38vh, 252px);
    max-height: min(38vh, 252px);
    min-height: 0;
    padding: 0 10px 6px;
    overflow: hidden;
  }
  .cal-nav { margin-bottom: 4px; }
  .cal-nav-label { font-size: 20px; }
  .cal-weekdays span { padding: 3px 0; font-size: 9px; }
  .cal-grid {
    height: 100% !important;
    min-height: 0;
    align-content: stretch;
    grid-auto-rows: minmax(0, 1fr);
  }
  .cal-day-panel {
    flex: 1 1 0%;
    min-height: 0;
    overflow: auto;
    border-left: 0;
    border-top: 1px solid #d5e3e8;
    padding: 8px 12px 12px;
  }
  .cal-day-panel h3 { font-size: 20px; margin-bottom: 8px; }
  .cal-day {
    font-size: 12px;
    margin: 0;
    border-radius: 0;
    padding: 2px 1px;
    gap: 1px;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    justify-content: center;
  }
  .cal-day-n { font-size: 12px; }
  .cal-day.is-today .cal-day-n {
    min-width: 1.4em;
    height: 1.4em;
    padding: 0 3px;
  }
  .cal-marks {
    min-height: 0;
    flex-wrap: nowrap;
    gap: 2px;
    max-width: 100%;
    overflow: hidden;
  }
  .cal-nav-btn { width: 32px; height: 32px; }
  .cal-glyph.is-mark {
    width: 5px;
    height: 5px;
    padding: 0;
    box-shadow: none;
    background: var(--kind-ink, var(--sea));
    color: transparent;
    overflow: hidden;
  }
  .cal-event-card {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
  }
  .cal-glyph-wrap { width: 32px; height: 32px; border-radius: 10px; }
  .cal-glyph-wrap .cal-glyph { width: 16px; height: 16px; }
  .cal-event-card strong { font-size: 14px; }
  .cal-event-group + .cal-event-group { margin-top: 12px; }
  .cal-now { display: none; }
  .calendar-page .brand h1 { font-size: 24px; }
  .calendar-page .mast { padding: 6px 16px 4px; gap: 8px; }
}

.weather-page {
  min-height: 100dvh;
  background:
    radial-gradient(900px 420px at 8% -12%, rgba(14, 124, 139, 0.22), transparent 55%),
    radial-gradient(720px 380px at 100% 0%, rgba(242, 166, 90, 0.34), transparent 52%),
    radial-gradient(640px 280px at 12% 110%, rgba(51, 70, 196, 0.12), transparent 50%),
    var(--paper);
}
.weather-page .mast {
  align-items: center;
  gap: 16px;
  padding: 16px 28px 8px;
}
.weather-page .brand h1 { font-size: clamp(28px, 4vw, 44px); }
.weather-page .brand h1 span { color: var(--sun); }
.weather-page .kicker { margin-bottom: 4px; }
.weather-page .lang-switch { padding-top: 0; }
.weather-board {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  padding: 8px 24px 40px;
}
.wx-app { display: grid; gap: 22px; }
.wx-cities {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.wx-city-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.wx-city-btn strong { font-size: 13px; color: var(--sea-deep); }
.wx-city-btn.is-on {
  border-color: var(--sea);
  background: #eef8fa;
  color: var(--sea-deep);
}
.wx-glyph {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  color: var(--kind-ink, var(--sea-deep));
  flex: 0 0 auto;
}
.wx-glyph.is-chip { width: 16px; height: 16px; }
.wx-glyph.is-hero { width: 42px; height: 42px; }
.wx-glyph.is-hour,
.wx-glyph.is-day { width: 22px; height: 22px; margin: 6px auto; }
.wx-kind-clear { --kind-bg: #ffe59a; --kind-ink: #c45e0a; --kind-wash: #fff8d8; }
.wx-kind-partly { --kind-bg: #d7eef3; --kind-ink: #0a5c68; --kind-wash: #eef8fa; }
.wx-kind-cloudy { --kind-bg: #e4e8ee; --kind-ink: #4a5a66; --kind-wash: #f4f6f8; }
.wx-kind-fog { --kind-bg: #e8e4f0; --kind-ink: #6b6580; --kind-wash: #f6f3fa; }
.wx-kind-drizzle { --kind-bg: #d6e8ff; --kind-ink: #2a6bb8; --kind-wash: #eef4ff; }
.wx-kind-rain { --kind-bg: #cfe0ff; --kind-ink: #1d4f9c; --kind-wash: #e8f0ff; }
.wx-kind-snow { --kind-bg: #e8f4ff; --kind-ink: #3d6a99; --kind-wash: #f3f9ff; }
.wx-kind-storm { --kind-bg: #eadbff; --kind-ink: #6b3fd4; --kind-wash: #f5eeff; }
.wx-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 0.9fr);
  gap: 18px 24px;
  align-items: center;
  background: var(--kind-wash, #fff);
  border: 1px solid color-mix(in srgb, var(--kind-ink, var(--sea)) 22%, #fff);
  border-left: 6px solid var(--kind-ink, var(--sea));
  border-radius: 24px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.wx-hero-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--kind-bg, #e7f5f7);
  color: var(--kind-ink, var(--sea-deep));
}
.wx-hero-city {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kind-ink, var(--sea-deep));
}
.wx-hero-temp {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(52px, 8vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.wx-hero-sky { margin: 8px 0 0; color: var(--muted); }
.wx-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin: 0;
}
.wx-hero-stats div {
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
}
.wx-hero-stats dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.wx-hero-stats dd { margin: 2px 0 0; font-weight: 700; color: var(--sea-deep); }
.wx-hours-block h2,
.wx-days-block h2 {
  margin: 0 0 12px;
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
}
.wx-hours { display: grid; gap: 16px; }
.wx-slot h3 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.wx-hour-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(92px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.wx-hour,
.wx-day {
  background: var(--kind-wash, #fff);
  border: 1px solid color-mix(in srgb, var(--kind-ink, var(--sea)) 18%, #fff);
  border-radius: 16px;
  padding: 12px 10px;
  text-align: center;
  color: inherit;
}
.wx-hour-time,
.wx-day-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--kind-ink, var(--sea-deep));
}
.wx-hour strong,
.wx-day strong { display: block; font-size: 18px; }
.wx-hour-rain,
.wx-day-rain,
.wx-day-low {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.wx-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.wx-day {
  font: inherit;
  cursor: pointer;
}
.wx-day-n {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  line-height: 1;
  margin: 4px 0 2px;
}
.wx-day.is-on,
.wx-day.is-today {
  box-shadow: 0 0 0 2px var(--kind-ink, var(--sea));
}
.wx-empty { color: var(--muted); }
.wx-noscript-days { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wx-noscript-days li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  background: var(--kind-wash, #fff);
  border-radius: 14px;
  padding: 12px;
}

.desk-page { padding-bottom: 64px; }
.desk-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 48px 8px;
  flex-wrap: wrap;
}
.desk-top h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(32px, 5vw, 52px);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1;
}
.desk-top h1 span { color: var(--sea); }
.desk-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.desk-nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sea-deep);
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 8px 12px;
}
.desk-nav a.is-on,
.desk-nav a:hover {
  background: var(--sea);
  color: #fff;
  border-color: var(--sea);
}
.desk-nav a.has-alert {
  border-color: #d97706;
  color: #9a4b08;
  background: #fff7e8;
}
.desk-nav a.has-alert.is-on,
.desk-nav a.has-alert:hover {
  background: #c45e0a;
  border-color: #c45e0a;
  color: #fff;
}
.desk-hero,
.desk-chart,
.desk-grid,
.desk-log,
.desk-form,
.desk-table-wrap,
.desk-note {
  padding-left: 48px;
  padding-right: 48px;
}
.desk-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 12px 0 24px;
}
.desk-hero div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.desk-hero strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--sea-deep);
  line-height: 1;
}
.desk-hero span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.desk-chart h2,
.desk-grid h2,
.desk-log h2,
.desk-form h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.5rem;
  margin: 0 0 12px;
}
.desk-page .audience-bar em { color: var(--muted); }
.desk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 8px 0 24px;
}
.desk-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.desk-rank {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.desk-rank li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  font-size: 14px;
}
.desk-rank span { overflow-wrap: anywhere; }
.desk-note { color: var(--muted); font-size: 13px; }
.desk-log ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.desk-log li { font-size: 14px; color: var(--ink); }
.desk-log time { color: var(--muted); margin-right: 8px; }
.desk-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  margin: 12px 48px 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}
.desk-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.desk-form label,
.desk-checks label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.desk-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.desk-checks label {
  grid-template-columns: auto 1fr;
  align-items: center;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--ink);
}
.desk-form input,
.desk-form select,
.desk-inline input,
.desk-inline select {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.desk-form button,
.desk-inline button,
.desk-feeds button,
.desk-actions button {
  font: inherit;
  padding: 8px 14px;
  background: var(--sea);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
.desk-table-wrap { overflow-x: auto; padding-bottom: 40px; }
.desk-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
}
.desk-table th,
.desk-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.desk-table th {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.desk-table td a { color: var(--sea-deep); font-weight: 700; text-decoration: none; }
.desk-table .cal-glyph {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 6px;
}
.desk-table small,
.desk-feeds small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.desk-table tr.is-off,
.desk-feeds li.is-off { opacity: 0.55; }
.desk-actions,
.desk-feeds form,
.desk-inline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.desk-feeds { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.desk-feeds li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.desk-feeds code { font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 800px) {
  .desk-top,
  .desk-hero,
  .desk-chart,
  .desk-grid,
  .desk-log,
  .desk-form,
  .desk-table-wrap,
  .desk-note {
    padding-left: 16px;
    padding-right: 16px;
  }
  .desk-form { margin-left: 16px; margin-right: 16px; }
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  padding: 16px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 40px rgba(28, 42, 50, 0.12);
}
.cookie-card {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 24px;
  align-items: center;
}
.cookie-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sea-deep);
}
.cookie-copy h2 {
  margin: 0 0 6px;
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.cookie-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; max-width: 54rem; }
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-accept,
.cookie-reject {
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}
.cookie-accept {
  border: 0;
  background: var(--sea);
  color: #fff;
}
.cookie-reject {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--sea-deep);
}
.cookie-accept:hover { background: var(--sea-deep); }
.cookie-reject:hover { border-color: var(--sea); }
.cookie-banner.is-hidden,
.cookie-banner[hidden] { display: none !important; }
body.has-cookie-banner { padding-bottom: 9rem; }
body.calendar-page.has-cookie-banner,
body.weather-page.has-cookie-banner { padding-bottom: 0; }
@media (max-width: 800px) {
  .cookie-card { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: stretch; }
  .cookie-accept,
  .cookie-reject { flex: 1; }
}

.cal-add {
  margin-top: 0;
  padding: 8px 14px;
  font-size: 12px;
}
.auth-page .mast { padding-bottom: 8px; }
.auth-wrap { max-width: 460px; }
.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  gap: 16px;
}
.auth-card h2 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.auth-social { display: grid; gap: 10px; }
.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--line);
}
.auth-google { background: #fff; color: var(--ink); }
.auth-facebook { background: #1877f2; color: #fff; border-color: #1877f2; }
.auth-btn.is-off { opacity: 0.45; cursor: not-allowed; }
.auth-or {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
}
.auth-or span {
  background: var(--card);
  padding: 0 10px;
  position: relative;
  z-index: 1;
}
.auth-or::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid var(--line);
}
.auth-form { max-width: none; padding: 0; border: 0; box-shadow: none; background: transparent; }
.auth-switch { margin: 0; color: var(--muted); font-size: 14px; }
.auth-switch a { color: var(--sea-deep); font-weight: 700; }
.submit-wrap { max-width: 560px; }
.submit-form { display: grid; gap: 14px; }
.captcha-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}
.captcha-row img {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.captcha-field { text-transform: none; }
.submit-mine { margin-top: 28px; }
.submit-mine h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  margin: 0 0 12px;
}
.submit-mine ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.submit-mine li {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.submit-mine span { color: var(--muted); font-size: 13px; }
.day-events {
  margin: 0;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.day-events h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 18px;
  margin: 0 0 10px;
}
.day-events ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
}
.day-events li.is-empty,
.day-events li.is-busy {
  color: var(--muted);
  font-size: 14px;
  padding: 2px 0;
}
.day-event {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  background: var(--kind-wash, #fff);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}
a.day-event:hover strong { text-decoration: underline; }
.day-event .cal-glyph-wrap {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.day-event .cal-glyph-wrap .cal-glyph {
  width: 16px;
  height: 16px;
}
.day-event strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}
.day-event span:not(.cal-glyph-wrap) {
  color: var(--muted);
  font-size: 12px;
}
.desk-pending { margin-bottom: 8px; }
.desk-pending h2 {
  margin: 0 48px 12px;
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
}
.desk-table tr.is-pending { background: #fff7e8; }
.desk-table tr.is-dupe { background: #fff1f0; }
.desk-dupe {
  display: block;
  margin-top: 4px;
  color: #9a3412;
  font-weight: 700;
}
.desk-table small.desk-dupe { color: #9a3412; }
.desk-dupe-box {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #fff1f0;
  border: 1px solid #f0c4c0;
  border-radius: 12px;
}
.desk-dupe-box p { margin: 0 0 8px; }
.desk-dupe-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.desk-dupe-box li { display: grid; gap: 2px; }
.desk-dupe-box a { color: var(--sea-deep); font-weight: 700; text-decoration: none; }
.desk-dupe-box span { color: var(--muted); font-size: 13px; }
.desk-actions a.desk-view {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--sea-deep);
  font-weight: 700;
  text-decoration: none;
}
.desk-actions a.desk-view:hover { border-color: var(--sea); }
.desk-event-view {
  margin: 0 48px 48px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  max-width: 720px;
}
.desk-event-view h2 {
  margin: 0 0 6px;
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
}
.desk-event-el { margin: 0 0 16px; color: var(--muted); }
.desk-event-status {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.desk-event-status.is-pending { color: #c45e0a; }
.desk-event-status.is-published { color: var(--sea-deep); }
.desk-event-status.is-rejected { color: #be123c; }
.desk-event-facts {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}
.desk-event-facts > div { min-width: 0; }
.desk-event-facts dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.desk-event-facts dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}
.desk-event-facts a { color: var(--sea-deep); font-weight: 700; text-decoration: none; }
.account-nav.wx-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  position: fixed;
  top: 8px;
  right: 10px;
  z-index: 140;
  overflow: visible;
  margin: 0;
}
.account-link,
.account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.account-link {
  background: #fff;
  color: var(--sea-deep);
  border: 1px solid var(--sea);
}
.account-btn {
  background: var(--sea);
  color: #fff;
  border: 1px solid var(--sea);
}
.account-link:hover { border-color: var(--sea-deep); color: var(--sea-deep); }
.account-btn:hover { background: var(--sea-deep); }
.brand .account-nav { display: none; }
.cal-page-tools .account-menu {
  left: auto;
  right: 0;
}
@media (max-width: 800px) {
  .captcha-row { grid-template-columns: 1fr; }
  .desk-pending h2 { margin-left: 16px; margin-right: 16px; }
  .desk-event-view { margin-left: 16px; margin-right: 16px; padding: 16px; }
  .cal-page-tools { flex-wrap: wrap; justify-content: flex-end; padding-right: 44px; }
  .account-nav.wx-chip {
    top: 6px;
    right: 8px;
  }
  .account-link,
  .account-btn {
    padding: 6px 11px;
    font-size: 11px;
  }
}

.feed-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 48px 0;
  flex-wrap: wrap;
}
.feed-tabs.is-fav {
  margin: 14px 48px 0;
  padding: 8px 12px;
  background: rgba(242, 166, 90, 0.16);
  border: 1px solid rgba(217, 138, 58, 0.35);
  border-radius: 16px;
}
.feed-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.feed-tab.is-on {
  background: var(--sea);
  border-color: var(--sea);
  color: #fff;
}
.feed-tab-fav .fav-star {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}
.feed-tab-fav.is-on {
  background: var(--sun);
  border-color: #d98a3a;
  color: #5c3208;
  box-shadow: 0 0 0 3px rgba(242, 166, 90, 0.28);
}
.feed-tab-fav.is-on .fav-star {
  fill: currentColor;
}
.fav-mode-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a4e12;
}
.feed-tab-edit {
  margin-left: auto;
  color: var(--sea-deep);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.feed-tab-edit:hover { text-decoration: underline; }

.fav-star {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.fav-mini {
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--sea-deep);
  text-decoration: none;
}
.fav-mini:hover { border-color: var(--sea-deep); color: var(--sea-deep); }
.fav-mini.is-on {
  background: var(--sun);
  border-color: #d98a3a;
  color: #5c3208;
  box-shadow: 0 0 0 3px rgba(242, 166, 90, 0.35);
}
.fav-mini.is-on .fav-star { fill: currentColor; }

body.is-fav {
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(14, 124, 139, 0.08), transparent 55%),
    radial-gradient(920px 460px at 100% 0%, rgba(242, 166, 90, 0.34), transparent 52%),
    var(--paper);
}
body.is-fav .brand h1 span { color: #c57a2e; }

.fav-page .kicker a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fav-page .kicker .fav-star {
  width: 16px;
  height: 16px;
  fill: #c57a2e;
  stroke: #c57a2e;
}
.empty-cta {
  display: inline-block;
  margin-top: 12px;
  color: var(--sea-deep);
  font-weight: 700;
  text-decoration: none;
}
.empty-cta:hover { text-decoration: underline; }
.empty .empty-cta { display: block; }

.fav-wrap { max-width: 760px; }
.fav-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 22px;
  position: sticky;
  top: 8px;
  z-index: 4;
  background: var(--paper);
  padding: 8px 0;
}
.fav-search { display: grid; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.fav-search input,
.fav-form button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 8px 12px;
}
.fav-form button {
  background: var(--sea);
  color: #fff;
  border-color: var(--sea);
  font-weight: 700;
  cursor: pointer;
}
.fav-form button:hover { background: var(--sea-deep); }
.fav-count { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; padding-bottom: 10px; }
.fav-group { margin: 0 0 22px; }
.fav-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.fav-group-head h2 {
  margin: 0;
  font-size: 16px;
  font-family: Outfit, sans-serif;
}
.fav-form .fav-group-all {
  margin-left: auto;
  border: 0;
  background: none;
  color: var(--sea-deep);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 0;
  min-height: 0;
  border-radius: 0;
}
.fav-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fav-item label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.fav-item input { margin: 0; }
.fav-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-host { color: var(--muted); font-size: 12px; }
.fav-item:has(input:checked) label { border-color: var(--sea); background: #f3fbfc; }
.fav-foot { display: flex; justify-content: flex-end; margin: 8px 0 32px; }
.fav-page .account-nav.wx-chip { position: static; top: auto; right: auto; }

@media (max-width: 800px) {
  .feed-tabs { padding-left: 16px; padding-right: 16px; }
  .feed-tabs.is-fav { margin-left: 16px; margin-right: 16px; padding-left: 10px; padding-right: 10px; }
  .fav-toolbar { grid-template-columns: 1fr; }
  .fav-count { padding-bottom: 0; }
}
