:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --panel: #ffffff;
  --text: #172033;
  --muted: #667085;
  --line: #d8dee8;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --danger: #b42318;
  --watchlist-detail-width: clamp(360px, 31vw, 440px);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1220;
  --panel: #111a2b;
  --text: #e6edf7;
  --muted: #9fb0c8;
  --line: #26344f;
  --accent: #5eead4;
  --accent-strong: #99f6e4;
  --danger: #fda4af;
}

:root[data-theme="dark"] .weather-strip,
:root[data-theme="dark"] .dashboard-section,
:root[data-theme="dark"] .section-content,
:root[data-theme="dark"] .table-shell,
:root[data-theme="dark"] .special-group,
:root[data-theme="dark"] .special-card,
:root[data-theme="dark"] .watchlist-current-card,
:root[data-theme="dark"] .watchlist-year-group,
:root[data-theme="dark"] .watchlist-entry,
:root[data-theme="dark"] .subsection-panel,
:root[data-theme="dark"] .map-sidebar,
:root[data-theme="dark"] .map-detail-panel,
:root[data-theme="dark"] .map-detail-card,
:root[data-theme="dark"] .map-event-list-card,
:root[data-theme="dark"] .event-card,
:root[data-theme="dark"] .bandsintown-event-card,
:root[data-theme="dark"] .poster-card,
:root[data-theme="dark"] .news-card,
:root[data-theme="dark"] .news-detail-panel,
:root[data-theme="dark"] .weather-card {
  background: #111a2b;
  border-color: #26344f;
}

:root[data-theme="dark"] .topbar {
  background: #111a2b;
  border-bottom-color: #26344f;
}

:root[data-theme="dark"] .weather-strip-head h2,
:root[data-theme="dark"] .subsection-title,
:root[data-theme="dark"] .map-sidebar h4,
:root[data-theme="dark"] .map-filter-title,
:root[data-theme="dark"] .subsection-panel summary,
:root[data-theme="dark"] th {
  color: #c9d7eb;
}

:root[data-theme="dark"] th {
  background: #182339;
  border-bottom-color: #26344f;
}

:root[data-theme="dark"] td,
:root[data-theme="dark"] th {
  border-bottom-color: #26344f;
}

:root[data-theme="dark"] input,
:root[data-theme="dark"] select,
:root[data-theme="dark"] .map-range-button,
:root[data-theme="dark"] .map-view-tab,
:root[data-theme="dark"] .map-locate-button,
:root[data-theme="dark"] .map-back-button,
:root[data-theme="dark"] .theme-toggle,
:root[data-theme="dark"] .special-like-button {
  background: #182339;
  border-color: #314563;
  color: #e6edf7;
}

:root[data-theme="dark"] .map-range-button:hover,
:root[data-theme="dark"] .map-view-tab:hover,
:root[data-theme="dark"] .map-locate-button:hover,
:root[data-theme="dark"] .map-back-button:hover,
:root[data-theme="dark"] .theme-toggle:hover,
:root[data-theme="dark"] .special-like-button:hover,
:root[data-theme="dark"] input:hover,
:root[data-theme="dark"] select:hover {
  background: #1e2b45;
}

:root[data-theme="dark"] .map-range-button.is-selected,
:root[data-theme="dark"] .map-view-tab.is-selected,
:root[data-theme="dark"] .map-date-button.is-selected,
:root[data-theme="dark"] .weather-card.is-selected {
  background: #1f2f4f;
  border-color: #4f79b2;
  color: #cfe2ff;
  box-shadow: inset 0 0 0 1px #4f79b2;
}

:root[data-theme="dark"] .watchlist-media-button,
:root[data-theme="dark"] .watchlist-category-button {
  background: #182339;
  border-color: #314563;
  color: #e6edf7;
}

:root[data-theme="dark"] .watchlist-media-button:hover,
:root[data-theme="dark"] .watchlist-category-button:hover {
  background: #1e2b45;
}

:root[data-theme="dark"] .watchlist-media-button.is-selected {
  background: #2a3220;
  border-color: #a3e635;
  color: #ecfccb;
  box-shadow: inset 0 0 0 1px #a3e635;
}

:root[data-theme="dark"] .watchlist-category-button.is-selected:not(.news-category-button) {
  background: #1f2f4f;
  border-color: #4f79b2;
  color: #cfe2ff;
  box-shadow: inset 0 0 0 1px #4f79b2;
}

:root[data-theme="dark"] .watchlist-category-button.game-hub-module-button.is-selected {
  color: #bbf7d0;
  border-color: #22c55e;
  background: #052e16;
  box-shadow: inset 0 0 0 1px #22c55e;
}

:root[data-theme="dark"] .watchlist-category-button[data-watch-type="movie"].is-selected,
:root[data-theme="dark"] .watchlist-category-button[data-watch-type="anime_movie"].is-selected,
:root[data-theme="dark"] .watchlist-category-button[data-watch-type="game_aaa"].is-selected {
  color: #ffd9c8;
  border-color: #fdba74;
  background: #4a2312;
  box-shadow: inset 0 0 0 1px #fdba74;
}

:root[data-theme="dark"] .watchlist-category-button[data-watch-type="series"].is-selected,
:root[data-theme="dark"] .watchlist-category-button[data-watch-type="anime_series"].is-selected,
:root[data-theme="dark"] .watchlist-category-button[data-watch-type="game_indie"].is-selected {
  color: #d6e7ff;
  border-color: #93c5fd;
  background: #172d56;
  box-shadow: inset 0 0 0 1px #93c5fd;
}

:root[data-theme="dark"] .watchlist-category-button[data-watch-type="game_coop"].is-selected {
  color: #d9fbe7;
  border-color: #86efac;
  background: #113827;
  box-shadow: inset 0 0 0 1px #86efac;
}

:root[data-theme="dark"] .watchlist-category-button[data-watch-type="game_couch_coop"].is-selected {
  color: #ffe4ef;
  border-color: #f9a8d4;
  background: #4a1430;
  box-shadow: inset 0 0 0 1px #f9a8d4;
}

:root[data-theme="dark"] .watchlist-category-button[data-watch-type="game_lan"].is-selected {
  color: #f5d7ff;
  border-color: #d8b4fe;
  background: #3b1d56;
  box-shadow: inset 0 0 0 1px #d8b4fe;
}

:root[data-theme="dark"] .today-special-group {
  background: #173126;
  border-color: #2f6b51;
}

:root[data-theme="dark"] .special-cards-rail::-webkit-scrollbar-track {
  background: #1a2741;
  border: 1px solid #2f4467;
}

:root[data-theme="dark"] .special-cards-rail::-webkit-scrollbar-thumb {
  background: #7fb2ff;
  border: 2px solid #1a2741;
}

:root[data-theme="dark"] .special-cards-rail::-webkit-scrollbar-thumb:hover {
  background: #9bc3ff;
}

:root[data-theme="dark"] .events-cards-rail::-webkit-scrollbar-track {
  background: #1a2741;
  border: 1px solid #2f4467;
}

:root[data-theme="dark"] .events-cards-rail::-webkit-scrollbar-thumb {
  background: #7fb2ff;
  border: 2px solid #1a2741;
}

:root[data-theme="dark"] .events-cards-rail::-webkit-scrollbar-thumb:hover {
  background: #9bc3ff;
}

:root[data-theme="dark"] .map-special-entry {
  background: #182339;
  border-color: #314563;
}

:root[data-theme="dark"] .map-empty-popup,
:root[data-theme="dark"] .empty,
:root[data-theme="dark"] .event-venue,
:root[data-theme="dark"] .events-rail-title,
:root[data-theme="dark"] .map-event-list-body p,
:root[data-theme="dark"] .map-event-list-header p,
:root[data-theme="dark"] .map-detail-body p,
:root[data-theme="dark"] .map-detail-body li,
:root[data-theme="dark"] .news-card-summary,
:root[data-theme="dark"] .news-detail-body p,
:root[data-theme="dark"] .special-card p,
:root[data-theme="dark"] .weather-day,
:root[data-theme="dark"] .custom-date-separator {
  color: #a9bad3;
}

:root[data-theme="dark"] .map-detail-body a,
:root[data-theme="dark"] .map-event-list-body a,
:root[data-theme="dark"] .news-link {
  color: #8fb7ff;
}

:root[data-theme="dark"] input::placeholder {
  color: #93a8c6;
}

:root[data-theme="dark"] .new-card-row {
  background: #162936;
}

:root[data-theme="dark"] .new-card-row td {
  border-bottom-color: #2e4a63;
}

:root[data-theme="dark"] .specials-map {
  background: #111a2b;
  border-color: #26344f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  transition: padding-right 180ms ease;
}

body.watchlist-detail-open {
  padding-right: var(--watchlist-detail-width);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.header-actions {
  display: flex;
  align-items: end;
  gap: 14px;
}

.header-actions label {
  min-width: 190px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1;
}

.subtle-meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.source-link,
.buy-link {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.source-link:hover,
.buy-link:hover {
  text-decoration: underline;
}

.theme-toggle {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.theme-toggle:hover {
  background: color-mix(in oklab, var(--panel) 88%, white 12%);
}

main {
  width: min(1380px, 100%);
  margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 48px) 48px;
}

.weather-strip {
  margin-bottom: 14px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.weather-strip-head h2 {
  margin: 0;
  color: #344054;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.weather-cards {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.weather-card {
  padding: 8px 6px;
  text-align: center;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.weather-card:hover {
  background: #eef3f9;
}

.weather-card.is-selected {
  border-color: #2f6fad;
  background: #e6f0fb;
  box-shadow: inset 0 0 0 1px #2f6fad;
}

.weather-day {
  margin: 0;
  color: #344054;
  font-size: 11px;
  font-weight: 800;
}

.weather-icon {
  margin: 4px 0 3px;
  font-size: 19px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.weather-temp {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.weather-holiday {
  margin: 4px 0 0;
  color: #0f5132;
  background: #d1f3df;
  border: 1px solid #8ad4a9;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  padding: 2px 6px;
  display: inline-block;
}

.weather-calendar,
.weather-birthday {
  margin: 4px 0 0;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  padding: 2px 6px;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-calendar {
  color: #0b4f8a;
  background: #dbeafe;
  border: 1px solid #93c5fd;
}

.weather-birthday {
  color: #7a5a00;
  background: #fff4c2;
  border: 1px solid #f0d777;
}

.dashboard-section {
  margin-bottom: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: clip;
}

.dashboard-section summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 15px 18px;
  color: var(--text);
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  list-style: none;
}

.module-edit-controls {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 8px;
}

body.is-editing-layout .module-edit-controls {
  display: inline-flex;
}

.module-order-button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.module-order-button:hover {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}

.dashboard-section summary::-webkit-details-marker {
  display: none;
}

.dashboard-section summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--accent-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 16px;
  line-height: 1;
}

.dashboard-section[open] summary::before {
  content: "-";
}

.section-hint {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section-content {
  padding: 0 18px 18px;
  border-top: 1px solid var(--line);
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.12fr);
  gap: 14px;
  padding-top: 18px;
}

.news-selector {
  padding-top: 14px;
}

.news-list-shell {
  display: grid;
  gap: 10px;
  align-content: start;
}

.news-pinned {
  display: grid;
  gap: 8px;
}

.news-list {
  --news-card-slot-height: 170px;
  --news-card-gap: 10px;
  display: grid;
  gap: var(--news-card-gap);
  align-content: start;
  overflow-y: auto;
  padding-right: 4px;
}

.news-list::-webkit-scrollbar {
  width: 10px;
}

.news-list::-webkit-scrollbar-track {
  background: transparent;
}

.news-list::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--line) 70%, var(--text));
  border-radius: 999px;
}


.news-card {
  --news-accent: var(--accent);
  width: 100%;
  display: grid;
  gap: 7px;
  min-height: var(--news-card-slot-height);
  padding: 13px;
  overflow: hidden;
  color: inherit;
  text-align: left;
  border: 2px solid color-mix(in srgb, var(--news-accent) 56%, var(--line));
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
  font: inherit;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--news-accent) 18%, transparent);
}

.news-card:hover,
.news-card.is-selected {
  border-color: var(--news-accent);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--news-accent) 45%, transparent),
    0 0 0 1px color-mix(in srgb, var(--news-accent) 28%, transparent);
}

.news-meta {
  margin: 0;
  color: var(--news-accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-card .news-meta,
.news-detail-body .news-meta {
  color: var(--news-accent);
}

.news-card-module {
  min-height: 58px;
  align-content: center;
  padding: 12px 14px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--news-accent) 18%, transparent), transparent 72%),
    var(--panel);
}

.news-card-module .news-card-title {
  -webkit-line-clamp: 1;
  font-size: 17px;
}

.news-card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.news-relative-time {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.news-card-main {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  min-height: 100%;
}

.news-card-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.news-card-thumb {
  width: 96px;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
  align-self: stretch;
  background: color-mix(in srgb, var(--panel) 70%, var(--line));
  border: 1px solid color-mix(in srgb, var(--news-accent) 26%, var(--line));
}

.news-card-thumb-placeholder {
  display: inline-block;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--news-accent) 35%, transparent), transparent 55%),
    color-mix(in srgb, var(--panel) 60%, var(--line));
}

.news-card .news-meta {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-summary {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-detail-panel {
  position: sticky;
  top: 82px;
  align-self: start;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.news-detail-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--line);
}

.news-detail-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.news-detail-body h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.news-detail-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.news-summary {
  color: var(--text);
  font-weight: 700;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-tags span {
  padding: 4px 8px;
  color: var(--news-accent);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.news-link {
  width: fit-content;
  color: var(--news-accent);
  font-size: 13px;
  font-weight: 900;
}

.f1-snapshot-detail {
  gap: 14px;
}

.f1-snapshot-detail h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.f1-focus-toggle {
  width: 100%;
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid #3ddc84;
  background: #155f2f;
  color: #d9ffe9;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
}

.f1-focus-toggle.is-active {
  box-shadow: inset 0 0 0 1px rgba(182, 255, 213, 0.35);
}

.f1-schedule-section,
.f1-data-section {
  display: grid;
  gap: 8px;
}

.f1-data-section[hidden] {
  display: none !important;
}

[data-f1-tab-panel][hidden] {
  display: none !important;
}

.f1-tab-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.f1-tab-row.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.f1-tab-button {
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--news-accent) 45%, var(--line));
  background: color-mix(in srgb, var(--panel) 84%, var(--news-accent));
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.f1-tab-button.is-active {
  color: #fff;
  background: color-mix(in srgb, var(--news-accent) 72%, #111827);
  border-color: var(--news-accent);
}

.f1-schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.f1-next-pill {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--news-accent) 45%, var(--line));
  color: var(--news-accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.f1-schedule-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 220px);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}

.f1-schedule-strip::-webkit-scrollbar {
  display: none;
}

.f1-schedule-strip.is-dragging {
  cursor: grabbing;
}

.f1-schedule-card {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--news-accent) 30%, var(--line));
  border-radius: 8px;
  padding: 8px;
  background: color-mix(in srgb, var(--panel) 90%, var(--news-accent));
  display: grid;
  gap: 4px;
  align-content: start;
  min-height: 124px;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.f1-schedule-card.is-next {
  border-color: #86efac;
  background: color-mix(in srgb, #86efac 18%, var(--panel));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #86efac 50%, transparent);
}

.f1-schedule-card.is-past {
  border-color: #15803d;
  background: color-mix(in srgb, #14532d 52%, var(--panel));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #15803d 48%, transparent);
  opacity: 1;
}

.f1-schedule-round {
  margin: 0;
  color: var(--news-accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.f1-schedule-card.is-next .f1-schedule-round {
  color: #86efac;
}

.f1-schedule-card.is-past .f1-schedule-round {
  color: #4ade80;
}

.f1-schedule-card h4 {
  margin: 0;
  font-size: 14px;
}

.f1-schedule-place,
.f1-schedule-circuit,
.f1-schedule-when {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.f1-schedule-when {
  color: var(--text);
  font-weight: 700;
}

.f1-schedule-until {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.f1-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.f1-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.f1-table th,
.f1-table td {
  padding: 7px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
}

.f1-table th {
  color: var(--news-accent);
  font-weight: 900;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--news-accent) 12%, transparent);
}

.f1-table tr:last-child td {
  border-bottom: none;
}

.f1-subheading {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.f1-info-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.f1-info-list li {
  color: var(--muted);
  line-height: 1.4;
}

.f1-driver-cell {
  display: inline-grid;
  grid-template-columns: 28px auto;
  align-items: center;
  gap: 8px;
}

.f1-driver-cell img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--news-accent) 35%, var(--line));
  background: var(--panel);
}

.f1-podium {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.08fr) minmax(0, 0.82fr);
  align-items: end;
  gap: 6px;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--news-accent) 24%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--news-accent) 18%, transparent), transparent 55%),
    color-mix(in srgb, var(--panel) 92%, #000);
}

.f1-podium-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 7px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--news-accent) 28%, var(--line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--news-accent) 20%, transparent), rgba(0, 0, 0, 0.1));
}

.f1-podium-card img,
.f1-podium-placeholder {
  width: 100%;
  height: 122px;
  border-radius: 6px;
  object-fit: cover;
  object-position: top center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--news-accent) 34%, transparent), transparent 60%),
    color-mix(in srgb, var(--panel) 65%, var(--line));
  border: 1px solid color-mix(in srgb, var(--news-accent) 35%, var(--line));
}

.f1-podium-winner img,
.f1-podium-winner .f1-podium-placeholder {
  height: 154px;
}

.f1-podium-card h5,
.f1-podium-card p {
  margin: 0;
}

.f1-podium-card h5 {
  font-size: 13px;
  line-height: 1.15;
}

.f1-podium-card p {
  font-size: 11px;
  line-height: 1.25;
}

.f1-podium-card strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 11px;
}

.f1-podium-rank {
  color: var(--news-accent);
  font-weight: 900;
}

.news-category-button {
  border-width: 1px;
  border-style: solid;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.news-category-button:hover {
  filter: brightness(1.08);
}

.news-category-button.is-selected {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.news-detail-body {
  --news-accent: var(--accent);
}

.news-theme-global {
  --news-accent: #2563eb;
}

.news-theme-local {
  --news-accent: #f59e0b;
}

.news-theme-games {
  --news-accent: #22c55e;
}

.news-theme-f1 {
  --news-accent: #ef4444;
}

.news-theme-entertainment {
  --news-accent: #ec4899;
}

.news-theme-climbing {
  --news-accent: #f97316;
}

.news-theme-capetown {
  --news-accent: #06b6d4;
}

.news-theme-capetownevents {
  --news-accent: #14b8a6;
}

.news-category-all {
  border-color: #22d3ee;
  background: #083344;
  color: #cffafe;
}

.news-category-global {
  border-color: #60a5fa;
  background: #1e3a8a;
  color: #dbeafe;
}

.news-category-local {
  border-color: #fbbf24;
  background: #78350f;
  color: #fef3c7;
}

.news-category-games {
  border-color: #4ade80;
  background: #14532d;
  color: #dcfce7;
}

.news-category-f1 {
  border-color: #f87171;
  background: #7f1d1d;
  color: #fee2e2;
}

.news-category-entertainment {
  border-color: #f472b6;
  background: #831843;
  color: #fce7f3;
}

.news-category-climbing {
  border-color: #fb923c;
  background: #7c2d12;
  color: #ffedd5;
}

.news-category-capetown {
  border-color: #22d3ee;
  background: #0f4c5c;
  color: #cffafe;
}

.news-category-capetownevents {
  border-color: #2dd4bf;
  background: #134e4a;
  color: #ccfbf1;
}

.news-category-all.is-selected {
  background: #0e7490;
  border-color: #67e8f9;
}

.news-category-global.is-selected {
  background: #2563eb;
  border-color: #93c5fd;
}

.news-category-local.is-selected {
  background: #d97706;
  border-color: #fcd34d;
  color: #1f2937;
}

.news-category-games.is-selected {
  background: #16a34a;
  border-color: #86efac;
}

.news-category-f1.is-selected {
  background: #dc2626;
  border-color: #fca5a5;
}

.news-category-entertainment.is-selected {
  background: #db2777;
  border-color: #f9a8d4;
}

.news-category-climbing.is-selected {
  background: #ea580c;
  border-color: #fdba74;
}

.news-category-capetown.is-selected {
  background: #0891b2;
  border-color: #67e8f9;
}

.news-category-capetownevents.is-selected {
  background: #0f766e;
  border-color: #5eead4;
}

:root[data-theme="dark"] .news-category-button {
  border-width: 1px;
  border-style: solid;
}

:root[data-theme="dark"] .news-category-all {
  border-color: #22d3ee;
  background: #083344;
  color: #cffafe;
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.22);
}

:root[data-theme="dark"] .news-category-global {
  border-color: #60a5fa;
  background: #1e3a8a;
  color: #dbeafe;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.22);
}

:root[data-theme="dark"] .news-category-local {
  border-color: #fbbf24;
  background: #78350f;
  color: #fef3c7;
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.22);
}

:root[data-theme="dark"] .news-category-games {
  border-color: #4ade80;
  background: #14532d;
  color: #dcfce7;
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.22);
}

:root[data-theme="dark"] .news-category-f1 {
  border-color: #f87171;
  background: #7f1d1d;
  color: #fee2e2;
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.22);
}

:root[data-theme="dark"] .news-category-entertainment {
  border-color: #f472b6;
  background: #831843;
  color: #fce7f3;
  box-shadow: inset 0 0 0 1px rgba(244, 114, 182, 0.22);
}

:root[data-theme="dark"] .news-category-climbing {
  border-color: #fb923c;
  background: #7c2d12;
  color: #ffedd5;
  box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.22);
}

:root[data-theme="dark"] .news-category-capetown {
  border-color: #22d3ee;
  background: #0f4c5c;
  color: #cffafe;
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.22);
}

:root[data-theme="dark"] .news-category-button.is-selected {
  filter: saturate(1.2) brightness(1.15);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 6px 14px rgba(0, 0, 0, 0.28);
}

.controls {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr minmax(120px, 0.6fr) minmax(120px, 0.6fr);
  gap: 12px;
  margin: 18px 0;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.table-shell {
  overflow: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.one-piece-products {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--panel);
  margin-top: 10px;
}

.one-piece-products-head {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
}

.one-piece-products-head .subsection-title {
  margin: 0;
}

.one-piece-products .watchlist-category-buttons {
  margin-top: 8px;
}

.one-piece-products-strip {
  display: block;
  margin-top: 8px;
}

.one-piece-product-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 290px);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  cursor: grab;
  user-select: none;
}

.one-piece-product-strip::-webkit-scrollbar {
  height: 10px;
}

.one-piece-product-strip::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--panel) 70%, #0b1220);
  border-radius: 999px;
}

.one-piece-product-strip::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--line) 55%, #94a3b8);
  border-radius: 999px;
}

.one-piece-product-strip::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--line) 30%, #cbd5e1);
}

.one-piece-product-strip.is-dragging {
  cursor: grabbing;
}

.one-piece-product-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(30, 41, 59, 0.5);
  min-height: 178px;
  transition: border-color 140ms ease, transform 140ms ease, background 140ms ease;
}

.one-piece-product-layout {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  height: 100%;
}

.one-piece-product-image {
  width: 104px;
  height: 100%;
  min-height: 152px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: rgba(15, 23, 42, 0.28);
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.one-piece-product-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.one-piece-product-tile.is-released {
  border-color: #15803d;
  background: color-mix(in srgb, #14532d 52%, var(--panel));
}

.one-piece-product-tile.is-upcoming {
  border-color: #b91c1c;
  background: color-mix(in srgb, #7f1d1d 42%, var(--panel));
}

.one-piece-product-tile.is-current {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #cbd5e1 70%, transparent);
  transform: translateY(-1px);
}

.one-piece-product-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.one-piece-product-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 2px 8px;
  color: var(--text);
}

.one-piece-product-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  word-break: normal;
  overflow-wrap: anywhere;
}

.one-piece-product-date {
  margin: 0;
  font-size: 12px;
  line-height: 1.25;
  color: var(--muted);
}

.one-piece-product-age {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  color: #86efac;
  font-weight: 700;
}

.one-piece-product-link {
  margin-top: auto;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eef3f7;
  color: #344054;
  font-size: 12px;
  text-transform: uppercase;
}

td.price {
  white-space: nowrap;
  font-weight: 800;
}

td.card-number {
  white-space: nowrap;
  font-weight: 800;
  vertical-align: top;
}

.card-thumb {
  display: block;
  width: 48px;
  height: auto;
  border-radius: 3px;
  margin-bottom: 4px;
  object-fit: contain;
}

.new-card-row {
  background: #eaf8ef;
}

.new-card-row td {
  border-bottom-color: #b7e4c7;
}

.new-badge {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 7px;
  color: #0f5132;
  background: #b7e4c7;
  border: 1px solid #74c69d;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  padding: 10px 0 8px;
}

.missing-card-block {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.missing-card-new-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 6px;
  background: #b7e4c7;
  color: #0f5132;
  border: 1px solid #74c69d;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  z-index: 1;
  pointer-events: none;
}

.missing-card-alt-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  z-index: 1;
  pointer-events: none;
}

.missing-card-block:hover {
  border-color: var(--accent, #4f46e5);
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.missing-card-block.is-new {
  border-color: #74c69d;
}

.missing-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  background: var(--surface, #f3f4f6);
}

.missing-card-img-empty {
  background: var(--surface, #f3f4f6);
}

.missing-card-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.missing-card-number {
  font-size: 12px;
  font-weight: 800;
  color: var(--text, #111);
  margin: 0;
}

.missing-card-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent, #4f46e5);
  margin: 0;
}

.missing-card-store {
  font-size: 11px;
  color: var(--muted, #6b7280);
  margin: 0;
}

.missing-card-rarity {
  font-size: 11px;
  color: var(--muted, #6b7280);
}

.missing-card-variants {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

:root[data-theme="dark"] .missing-card-block {
  background: var(--card-bg, #1e1e2e);
}

:root[data-theme="dark"] .missing-card-block.is-new {
  border-color: #3a9e6a;
}

.muted {
  color: var(--muted);
}

.empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.placeholder-section {
  padding-top: 18px;
}

.placeholder-section p {
  margin: 0;
  color: var(--muted);
}

.specials-list {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding-top: 12px;
}

.specials-map {
  height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef3f7;
}

.specials-map .empty {
  margin: 0;
}

.specials-subtitle {
  margin: 10px 0 0;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.special-group {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.today-special-group {
  border-color: #74c69d;
  background: #eaf8ef;
}

.special-group h4 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
}

.special-group ul {
  margin: 0;
  padding: 0;
}

.special-deal-list {
  margin-top: 6px !important;
}

.special-group li {
  color: #475467;
}

.special-group li strong {
  color: var(--text);
}

.special-empty {
  margin: 0;
  color: var(--muted);
}

.special-group a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.special-group a:hover {
  text-decoration: underline;
}

.special-cards-rail {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  padding: 0 0 4px;
}

.special-cards-track {
  display: flex;
  gap: 10px;
  width: max-content;
  min-width: 100%;
}

.special-cards-rail::-webkit-scrollbar {
  height: 10px;
}

.special-cards-rail::-webkit-scrollbar-track {
  background: #e5eaf1;
  border-radius: 999px;
}

.special-cards-rail::-webkit-scrollbar-thumb {
  background: #b7c3d4;
  border-radius: 999px;
}

.special-card {
  flex: 0 0 260px;
  min-width: 260px;
  max-width: 260px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
  position: relative;
}

.special-card h5 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.special-card p {
  margin: 0 0 6px;
  color: #344054;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.special-card p:last-child {
  margin-bottom: 0;
}

.subsection-title {
  margin: 18px 0 0;
  color: #344054;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.subsection-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 320px;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

.map-top-actions {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compact-label {
  min-width: 170px;
}

.map-range-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-column: 2;
  justify-self: center;
  flex-wrap: nowrap;
}

.map-view-tabs {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.map-view-tab {
  color: #344054;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-view-tab:hover {
  background: #eef3f9;
}

.map-view-tab.is-selected {
  color: #0b4f8a;
  border-color: #2f6fad;
  background: #e6f0fb;
  box-shadow: inset 0 0 0 1px #2f6fad;
}

.map-range-button {
  min-height: 34px;
  padding: 6px 10px;
  color: #344054;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.map-range-button:hover {
  background: #eef3f9;
}

.map-range-button.is-selected {
  color: #0b4f8a;
  border-color: #2f6fad;
  background: #e6f0fb;
}

.custom-date-range {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-date-button {
  width: 128px;
  min-width: 128px;
}

.map-date-picker {
  position: relative;
  width: 128px;
  min-width: 128px;
}

.map-date-picker input[type="date"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.map-date-button.is-selected {
  color: #0b4f8a;
  border-color: #2f6fad;
  background: #e6f0fb;
  box-shadow: inset 0 0 0 1px #2f6fad;
}

.custom-date-separator {
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.map-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 320px;
  align-items: stretch;
  gap: 12px;
  margin-top: 0;
}

.map-sidebar {
  height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.map-sidebar h4 {
  margin: 0;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.map-filter-block {
  margin-top: 12px;
  flex: 0 0 auto;
}

.map-filter-block--scrollable {
  flex: 0 0 auto;
  min-height: auto;
  display: flex;
  flex-direction: column;
}

.map-filter-block--scrollable[open] .map-tag-filters {
  flex: 0 0 auto;
  min-height: auto;
  overflow-y: visible;
}

.map-locate-button {
  min-height: 34px;
  padding: 6px 10px;
  margin: 0;
  color: var(--accent-strong);
  background: #eef3f7;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.map-locate-button:hover {
  background: #e4edf5;
}

.map-legend {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.map-canvas-wrap {
  position: relative;
  min-width: 0;
}

.map-legend-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 500;
  max-width: 260px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.map-legend p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text);
}

.map-legend p + p {
  margin-top: 6px;
}

.map-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.map-legend-blue { background: #2f6fad; }
.map-legend-red { background: #b42318; }
.map-legend-green { background: #027a48; }
.map-legend-yellow { background: #ca8a04; }
.map-legend-orange { background: #7c3aed; }

.map-filter-title {
  margin: 0 0 8px;
  color: #344054;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-sidebar .map-filter-collapsible > summary.map-filter-title {
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.map-filter-block label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.map-tag-filters label {
  text-transform: capitalize;
}

.map-filter-block input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
}

.map-tag-filters {
  display: grid;
  gap: 4px;
  min-height: auto;
  overflow-y: visible;
  padding-right: 4px;
}

.map-empty-popup {
  margin: 4px;
  color: var(--muted);
  font-size: 13px;
}

.map-detail-panel {
  height: 520px;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.map-detail-card {
  display: grid;
  gap: 10px;
}

.map-detail-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef3f7;
}

.map-detail-body {
  display: grid;
  gap: 6px;
}

.map-detail-source {
  margin: 0;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-detail-body h4 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.3;
}

.map-detail-body p {
  margin: 0;
  color: #344054;
  font-size: 13px;
}

.map-special-entry {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #f6f9fc;
}

.map-special-entry + .map-special-entry {
  margin-top: 8px;
}

.map-special-entry p {
  margin: 0;
}

.map-detail-body ul {
  margin: 0;
  padding-left: 18px;
  color: #344054;
  font-size: 13px;
}

.map-linked-section {
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 86%, #0b1f3a 14%);
}

.map-linked-heading {
  margin: 0 0 6px 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
}

.map-filter-collapsible > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  margin: 0 0 8px;
  padding: 0;
}

.map-filter-collapsible > summary::before {
  content: none !important;
  display: none !important;
}

.map-filter-collapsible > summary::-webkit-details-marker {
  display: none;
}

.map-filter-collapsible > summary::marker {
  content: "";
}

.map-filter-collapsible > summary::after {
  content: "−";
  color: var(--accent-strong);
  font-weight: 900;
  margin-left: 8px;
}

.map-filter-collapsible:not([open]) > summary::after {
  content: "+";
}

.map-linked-specials .map-linked-heading {
  color: #b42318;
}

.map-linked-events .map-linked-heading {
  color: #027a48;
}

.map-linked-cards {
  display: grid;
  gap: 8px;
}

.map-linked-card {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.map-linked-card-special {
  border-color: rgba(180, 35, 24, 0.45);
}

.map-linked-card-event {
  border-color: rgba(2, 122, 72, 0.45);
}

.map-linked-card h5 {
  margin: 0 0 6px 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.35;
}

.map-linked-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 8px;
  background: #0b1220;
}

.map-linked-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.map-linked-card p + p {
  margin-top: 4px;
}

.map-split-pin {
  display: grid;
  place-items: center;
}

.map-split-pin-dot {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background: linear-gradient(90deg, #b42318 0 50%, #027a48 50% 100%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.map-back-button {
  width: fit-content;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--accent-strong);
  background: #eef3f7;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.map-back-button:hover {
  background: #e4edf5;
}

.map-detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.map-event-list-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.map-event-list-header-specials {
  margin-top: 14px;
}

.map-event-list-header p {
  margin: 0;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

.map-detail-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.map-detail-tab {
  min-height: 34px;
  padding: 6px 10px;
  color: var(--accent-strong);
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.map-detail-tab:hover {
  background: #e4edf5;
}

.map-detail-tab.is-selected {
  color: #0b4f8a;
  border-color: #2f6fad;
  background: #e6f0fb;
  box-shadow: inset 0 0 0 1px #2f6fad;
}

.map-detail-tab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.map-event-list {
  display: grid;
  gap: 8px;
}

.map-event-list-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.map-event-list-card-event {
  border-color: rgba(2, 122, 72, 0.45);
}

.map-event-list-card img {
  width: 74px;
  height: 100%;
  object-fit: cover;
  background: #eef3f7;
}

.map-event-list-body {
  display: grid;
  gap: 4px;
  padding: 8px;
}

.map-event-list-body h5 {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
}

.map-event-list-body p {
  margin: 0;
  color: #344054;
  font-size: 12px;
}

.map-clickable-card {
  cursor: pointer;
}

.map-clickable-card:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 2px;
}

.subsection-panel {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  overflow: hidden;
}

.subsection-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  color: #344054;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  list-style: none;
}

.subsection-panel summary::-webkit-details-marker {
  display: none;
}

.subsection-panel summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: auto;
  color: var(--accent-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  order: 2;
}

.watchlist-summary-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  user-select: none;
}

.watchlist-summary-toggle input[type="checkbox"] {
  width: 14px;
  height: 14px;
  min-height: 14px;
  margin: 0;
}

.watchlist-history-actions {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 8px;
}

.subsection-panel[open] summary::before {
  content: "-";
}

.release-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 10px 0 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.release-list.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.release-item {
  flex: 0 0 140px;
  width: 140px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.release-item:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

.release-item-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  background: var(--surface, #f3f4f6);
}

.release-item-img-empty {
  width: 100%;
  aspect-ratio: 2 / 3;
  background: var(--surface, #f3f4f6);
}

.release-item-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.release-item-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  line-height: 1.3;
}

.release-item-meta {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-item-age {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
}

.release-item-new-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 6px;
  background: #b7e4c7;
  color: #0f5132;
  border: 1px solid #74c69d;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  z-index: 1;
  pointer-events: none;
}

.poster-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding-top: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-right: 4px;
}

.poster-card {
  position: relative;
  display: block;
  flex: 0 0 110px;
  aspect-ratio: 110 / 153;
  overflow: hidden;
  background: #101828;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.14);
}

.poster-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 160ms ease, opacity 160ms ease;
}

.poster-card .poster-title,
.poster-card .poster-subtitle,
.poster-card .poster-age {
  position: absolute;
  color: #ffffff;
  z-index: 2;
}

.poster-card .poster-title,
.poster-card .poster-subtitle {
  left: 0;
  right: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.poster-card .poster-title {
  bottom: 23px;
  max-height: 64px;
  padding: 34px 8px 0;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0), rgba(16, 24, 40, 0.9));
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.poster-card .poster-subtitle {
  bottom: 0;
  padding: 0 8px 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poster-card .poster-age {
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 8px 7px;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0), rgba(16, 24, 40, 0.86));
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 160ms ease, transform 160ms ease;
}

.poster-card:hover img,
.poster-card:focus-visible img {
  transform: scale(1.04);
  opacity: 0.82;
}

.poster-card:hover .poster-title,
.poster-card:hover .poster-subtitle,
.poster-card:focus-visible .poster-subtitle,
.poster-card:focus-visible .poster-title {
  opacity: 1;
  transform: translateY(0);
}

.poster-card:hover .poster-age,
.poster-card:focus-visible .poster-age {
  opacity: 0;
  transform: translateY(8px);
}

.poster-badge-stack {
  position: absolute;
  top: 7px;
  left: 7px;
  max-width: calc(100% - 14px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
}

.poster-status {
  display: block;
  max-width: 100%;
  padding: 3px 6px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poster-status-now-playing {
  background: rgba(21, 128, 61, 0.86);
  border-color: rgba(187, 247, 208, 0.58);
}

.poster-status-coming-soon {
  background: rgba(180, 83, 9, 0.88);
  border-color: rgba(253, 230, 138, 0.58);
}

.poster-status-kirstenbosch-garden,
.poster-status-kirstenbosch-gardens {
  background: rgba(21, 128, 61, 0.88);
  border-color: rgba(187, 247, 208, 0.58);
}

.events-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  padding: 0 14px 14px;
}

.bandsintown-events-list {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px 14px 4px;
}

.events-rail-title {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.bandsintown-genre-buttons {
  padding-right: 2px;
}

.bandsintown-genre-button.is-selected {
  border-color: #22d3ee;
  color: #083344;
  background: #cffafe;
}

:root[data-theme="dark"] .bandsintown-genre-button.is-selected {
  border-color: #22d3ee;
  color: #67e8f9;
  background: #0a2530;
}

.events-cards-rail {
  max-width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  padding-bottom: 6px;
}

.events-cards-track {
  display: flex;
  gap: 10px;
  width: max-content;
  min-width: 100%;
}

.events-cards-rail::-webkit-scrollbar {
  height: 10px;
}

.events-cards-rail::-webkit-scrollbar-track {
  background: #e5eaf1;
  border-radius: 999px;
}

.events-cards-rail::-webkit-scrollbar-thumb {
  background: #b7c3d4;
  border-radius: 999px;
}

.bandsintown-event-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  flex: 0 0 310px;
  width: 310px;
  min-height: 116px;
  overflow: hidden;
  position: relative;
  color: inherit;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.bandsintown-event-card:hover {
  border-color: #9fb3c8;
}

.bandsintown-event-card img {
  width: 86px;
  height: 100%;
  object-fit: cover;
  background: #eef3f7;
}

.bandsintown-event-body {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 10px;
}

.bandsintown-event-body strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.event-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  min-height: 96px;
  overflow: hidden;
  position: relative;
  color: inherit;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.event-card:hover {
  border-color: #9fb3c8;
}

.event-card img {
  width: 74px;
  height: 100%;
  object-fit: cover;
  background: #eef3f7;
}

.event-card-no-image {
  grid-template-columns: 1fr;
}

.event-card-body {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 10px;
}

.event-date {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-card strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.event-venue {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.event-location-missing-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #b42318;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

@media (max-width: 1100px) and (orientation: landscape) {
  .map-layout {
    grid-template-columns: minmax(150px, 26vw) minmax(0, 1fr) minmax(170px, 30vw);
    align-items: stretch;
    gap: 8px;
  }

  .specials-map,
  .map-sidebar,
  .map-detail-panel {
    height: 420px;
  }
}

.watchlist-current {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-top: 12px;
}

.watchlist-selector {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.watchlist-media-buttons,
.watchlist-category-buttons {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.watchlist-media-button,
.watchlist-category-button {
  min-height: 34px;
  padding: 6px 12px;
  color: #344054;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.watchlist-media-button:hover,
.watchlist-category-button:hover {
  background: #eef3f9;
}

.watchlist-media-button.is-selected {
  color: #3f6212;
  border-color: #84cc16;
  background: #f7fee7;
  box-shadow: inset 0 0 0 1px #84cc16;
}

.watchlist-category-button.is-selected:not(.news-category-button) {
  color: #0b4f8a;
  border-color: #2f6fad;
  background: #e6f0fb;
  box-shadow: inset 0 0 0 1px #2f6fad;
}

.watchlist-category-button.game-hub-module-button.is-selected {
  color: #166534;
  border-color: #16a34a;
  background: #ecfdf3;
  box-shadow: inset 0 0 0 1px #16a34a;
}

.watchlist-category-button[data-watch-type="movie"].is-selected,
.watchlist-category-button[data-watch-type="anime_movie"].is-selected,
.watchlist-category-button[data-watch-type="game_aaa"].is-selected {
  color: #7a2e0e;
  border-color: #c2410c;
  background: #fff1e8;
  box-shadow: inset 0 0 0 1px #c2410c;
}

.watchlist-category-button[data-watch-type="series"].is-selected,
.watchlist-category-button[data-watch-type="anime_series"].is-selected,
.watchlist-category-button[data-watch-type="game_indie"].is-selected {
  color: #1d4f91;
  border-color: #1d4ed8;
  background: #e8f0ff;
  box-shadow: inset 0 0 0 1px #1d4ed8;
}

.watchlist-category-button[data-watch-type="game_coop"].is-selected {
  color: #166534;
  border-color: #16a34a;
  background: #ecfdf3;
  box-shadow: inset 0 0 0 1px #16a34a;
}

.watchlist-category-button[data-watch-type="game_couch_coop"].is-selected {
  color: #9d174d;
  border-color: #ec4899;
  background: #fdf2f8;
  box-shadow: inset 0 0 0 1px #ec4899;
}

.watchlist-category-button[data-watch-type="game_lan"].is-selected {
  color: #7c3aed;
  border-color: #c084fc;
  background: #faf5ff;
  box-shadow: inset 0 0 0 1px #c084fc;
}

.watchlist-current-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.watchlist-current-card h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  color: #344054;
}

.watchlist-current-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  padding: 8px 0;
}

.watchlist-current-grid .watchlist-entry,
.watchlist-year-list .watchlist-entry {
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 0;
  overflow: hidden;
  grid-template-columns: unset;
}

.watchlist-current-grid .watchlist-entry-poster,
.watchlist-year-list .watchlist-entry-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  border-radius: 0;
  border: none;
}

.watchlist-current-grid .watchlist-entry-body,
.watchlist-year-list .watchlist-entry-body {
  padding: 5px 7px;
  flex-shrink: 0;
}

.watchlist-current-grid .watchlist-entry-type,
.watchlist-year-list .watchlist-entry-type {
  font-size: 9px;
  margin-bottom: 2px;
}

.watchlist-current-grid .watchlist-entry-title,
.watchlist-year-list .watchlist-entry-title {
  font-size: 11px;
  line-height: 1.25;
}

.watchlist-current-grid .watchlist-entry-rating,
.watchlist-year-list .watchlist-entry-rating {
  font-size: 10px;
  margin-top: 2px;
}

.watchlist-current-grid .watchlist-opinion-text,
.watchlist-year-list .watchlist-opinion-text {
  font-size: 9px;
  padding: 1px 4px;
  margin-left: 4px;
}

.watchlist-current-entry {
  min-height: 74px;
}

.watchlist-history {
  display: grid;
  gap: 10px;
  padding-top: 12px;
}

.watchlist-history-panel {
  margin-top: 18px;
}

.watchlist-history-shell {
  padding: 0 14px 14px;
}

.watchlist-filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding-top: 14px;
}

.watchlist-filters label {
  display: grid;
  gap: 6px;
}

.watchlist-year-group {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.watchlist-year-heading {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
}

.watchlist-year-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  padding: 8px 0;
  margin-bottom: 4px;
}


.watchlist-entry {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  align-items: start;
}

.watchlist-entry-button {
  width: 100%;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.watchlist-entry-button:hover {
  border-color: #9fb3c8;
}

.watchlist-entry.is-loved {
  border-color: #f59e0b;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.28);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.02));
}

.watchlist-entry.opinion-loved {
  border-color: #f59e0b;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.28);
}

.watchlist-entry.opinion-liked {
  border-color: #7c3aed;
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.24);
}

.watchlist-entry.opinion-alright {
  border-color: #94a3b8;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.25);
}
.watchlist-entry[data-watch-opinion="alright"] {
  border-color: #94a3b8 !important;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.25) !important;
}

.watchlist-entry[data-watch-opinion="loved"] {
  border-color: #ff8a00 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 138, 0, 0.45) !important;
}

.watchlist-entry[data-watch-opinion="liked"] {
  border-color: #7c3aed !important;
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.42) !important;
}

.watchlist-entry[data-watch-opinion="mixed"] {
  border-color: #1976d2 !important;
  box-shadow: inset 0 0 0 1px rgba(25, 118, 210, 0.42) !important;
}

.watchlist-entry[data-watch-opinion="disliked"] {
  border-color: #22ff00 !important;
  box-shadow: inset 0 0 0 1px rgba(34, 255, 0, 0.38) !important;
}

.watchlist-entry[data-watch-opinion="hated"] {
  border-color: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55) !important;
}

.watchlist-entry.opinion-mixed {
  border-color: #1976d2;
  box-shadow: inset 0 0 0 1px rgba(25, 118, 210, 0.24);
}

.watchlist-entry.opinion-disliked {
  border-color: #22ff00;
  box-shadow: inset 0 0 0 1px rgba(34, 255, 0, 0.38);
}

.watchlist-entry.opinion-hated {
  border-color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.watchlist-entry-type {
  margin: 0 0 4px;
  color: #344054;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.watchlist-loved-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #fff1cc;
  color: #8a4b00;
  border: 1px solid #f0c36a;
  font-size: 10px;
  font-weight: 900;
  vertical-align: middle;
}

.watchlist-opinion-text {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 900;
  vertical-align: middle;
  color: #334155;
  background: #f8fafc;
  text-transform: none;
}

.watchlist-opinion-text.opinion-loved {
  color: #7a2e0e;
  border-color: #c2410c;
  background: #fff1e8;
}

.watchlist-opinion-text.opinion-liked {
  color: #6d28d9;
  border-color: #7c3aed;
  background: #f5f3ff;
}

.watchlist-opinion-text.opinion-alright {
  color: #475569;
  border-color: #94a3b8;
  background: #f1f5f9;
}

.watchlist-opinion-text.opinion-mixed {
  color: #1d4ed8;
  border-color: #1976d2;
  background: #eff6ff;
}

.watchlist-opinion-text.opinion-disliked {
  color: #166534;
  border-color: #22ff00;
  background: #ecfdf3;
}

.watchlist-opinion-text.opinion-hated {
  color: #111827;
  border-color: #ffffff;
  background: #ffffff;
}

.watchlist-entry[data-watch-type="movie"] .watchlist-entry-type {
  color: #9a3412;
}

.watchlist-entry[data-watch-type="anime_movie"] .watchlist-entry-type {
  color: #9a3412;
}

.watchlist-entry[data-watch-type="series"] .watchlist-entry-type {
  color: #1d4ed8;
}

.watchlist-entry[data-watch-type="anime_series"] .watchlist-entry-type {
  color: #1d4ed8;
}

.watchlist-entry[data-watch-type="game_aaa"] .watchlist-entry-type {
  color: #9a3412;
}

.watchlist-entry[data-watch-type="game_indie"] .watchlist-entry-type {
  color: #1d4ed8;
}

.watchlist-entry[data-watch-type="game_coop"] .watchlist-entry-type {
  color: #166534;
}

.watchlist-entry[data-watch-type="game_couch_coop"] .watchlist-entry-type {
  color: #9d174d;
}

.watchlist-entry[data-watch-type="game_lan"] .watchlist-entry-type {
  color: #7c3aed;
}

:root[data-theme="dark"] .watchlist-entry[data-watch-type="movie"] .watchlist-entry-type {
  color: #fdba74;
}

:root[data-theme="dark"] .watchlist-entry[data-watch-type="anime_movie"] .watchlist-entry-type {
  color: #fdba74;
}

:root[data-theme="dark"] .watchlist-entry[data-watch-type="series"] .watchlist-entry-type {
  color: #93c5fd;
}

:root[data-theme="dark"] .watchlist-entry[data-watch-type="anime_series"] .watchlist-entry-type {
  color: #93c5fd;
}

:root[data-theme="dark"] .watchlist-entry[data-watch-type="game_aaa"] .watchlist-entry-type {
  color: #fdba74;
}

:root[data-theme="dark"] .watchlist-entry[data-watch-type="game_indie"] .watchlist-entry-type {
  color: #93c5fd;
}

:root[data-theme="dark"] .watchlist-entry[data-watch-type="game_coop"] .watchlist-entry-type {
  color: #86efac;
}

:root[data-theme="dark"] .watchlist-entry[data-watch-type="game_couch_coop"] .watchlist-entry-type {
  color: #f9a8d4;
}

:root[data-theme="dark"] .watchlist-entry[data-watch-type="game_lan"] .watchlist-entry-type {
  color: #d8b4fe;
}

:root[data-theme="dark"] .watchlist-entry.is-loved {
  border-color: #fbbf24;
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.24);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.08), rgba(251, 191, 36, 0.02));
}

:root[data-theme="dark"] .watchlist-entry.opinion-loved {
  border-color: #fbbf24;
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.24);
}

:root[data-theme="dark"] .watchlist-entry.opinion-liked {
  border-color: #a78bfa;
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.44);
}

:root[data-theme="dark"] .watchlist-entry.opinion-alright {
  border-color: #94a3b8;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.24);
}
:root[data-theme="dark"] .watchlist-entry[data-watch-opinion="alright"] {
  border-color: #94a3b8 !important;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.24) !important;
}

:root[data-theme="dark"] .watchlist-entry[data-watch-opinion="loved"] {
  border-color: #ff8a00 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 138, 0, 0.5) !important;
}

:root[data-theme="dark"] .watchlist-entry[data-watch-opinion="liked"] {
  border-color: #a78bfa !important;
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.44) !important;
}

:root[data-theme="dark"] .watchlist-entry[data-watch-opinion="mixed"] {
  border-color: #60a5fa !important;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.44) !important;
}

:root[data-theme="dark"] .watchlist-entry[data-watch-opinion="disliked"] {
  border-color: #63ff4f !important;
  box-shadow: inset 0 0 0 1px rgba(99, 255, 79, 0.4) !important;
}

:root[data-theme="dark"] .watchlist-entry[data-watch-opinion="hated"] {
  border-color: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6) !important;
}

:root[data-theme="dark"] .watchlist-entry.opinion-mixed {
  border-color: #60a5fa;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.44);
}

:root[data-theme="dark"] .watchlist-entry.opinion-disliked {
  border-color: #63ff4f;
  box-shadow: inset 0 0 0 1px rgba(99, 255, 79, 0.4);
}

:root[data-theme="dark"] .watchlist-entry.opinion-hated {
  border-color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

:root {
  --opinion-loved: #ff8a00;
  --opinion-liked: #7c3aed;
  --opinion-mixed: #1976d2;
  --opinion-disliked: #16a34a;
  --opinion-hated: #ffffff;
}

.watchlist-entry[data-watch-opinion="loved"],
.watchlist-detail-panel[data-watch-opinion="loved"] {
  border-color: var(--opinion-loved) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 138, 0, 0.45) !important;
}

.watchlist-entry[data-watch-opinion="liked"],
.watchlist-detail-panel[data-watch-opinion="liked"] {
  border-color: var(--opinion-liked) !important;
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.42) !important;
}

.watchlist-entry[data-watch-opinion="mixed"],
.watchlist-detail-panel[data-watch-opinion="mixed"] {
  border-color: var(--opinion-mixed) !important;
  box-shadow: inset 0 0 0 1px rgba(25, 118, 210, 0.42) !important;
}

.watchlist-entry[data-watch-opinion="disliked"],
.watchlist-detail-panel[data-watch-opinion="disliked"] {
  border-color: var(--opinion-disliked) !important;
  box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.42) !important;
}

.watchlist-entry[data-watch-opinion="hated"],
.watchlist-detail-panel[data-watch-opinion="hated"] {
  border-color: var(--opinion-hated) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58) !important;
}

.watchlist-opinion-text.opinion-loved {
  border-color: var(--opinion-loved);
  color: #7a2e0e;
}

.watchlist-opinion-text.opinion-liked {
  border-color: var(--opinion-liked);
  color: #6d28d9;
}

.watchlist-opinion-text.opinion-mixed {
  border-color: var(--opinion-mixed);
  color: #1d4ed8;
}

.watchlist-opinion-text.opinion-disliked {
  border-color: var(--opinion-disliked);
  color: #166534;
}

.watchlist-opinion-text.opinion-hated {
  border-color: var(--opinion-hated);
  color: #111827;
}

:root.hide-watch-opinion-indicators .watchlist-opinion-text {
  display: none;
}

:root.hide-watch-opinion-indicators .watchlist-entry[data-watch-opinion] {
  border-color: var(--line) !important;
  box-shadow: none !important;
  background: var(--panel) !important;
}

:root.hide-watch-opinion-indicators .watchlist-detail-panel[data-watch-opinion] {
  border-left-color: var(--line) !important;
  box-shadow: -16px 0 32px rgba(15, 23, 42, 0.14) !important;
  background: var(--panel) !important;
}

:root[data-theme="dark"] .watchlist-loved-badge {
  background: #4b3312;
  color: #ffd37a;
  border-color: #b7821c;
}

.watchlist-entry-title {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}


.watchlist-entry-body {
  min-width: 0;
}

.watchlist-entry-poster {
  width: 64px;
  height: 92px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #eef3f7;
}

.watchlist-entry-poster-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  padding: 6px;
}

.watchlist-entry-rating {
  margin: 6px 0 0;
  color: #0b4f8a;
  font-size: 12px;
  font-weight: 800;
}

.watchlist-detail-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  width: var(--watchlist-detail-width);
  overflow: auto;
  border-left: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  box-shadow: -16px 0 32px rgba(15, 23, 42, 0.14);
}

.watchlist-detail-panel.is-loved {
  border-left-color: #f59e0b;
  box-shadow: -16px 0 32px rgba(15, 23, 42, 0.14), inset 0 0 0 1px rgba(245, 158, 11, 0.28);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.02)), var(--panel);
}

.watchlist-detail-close {
  margin: 14px 14px 0 auto;
  display: block;
  min-height: 34px;
  padding: 6px 12px;
  color: var(--accent-strong);
  background: #eef3f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.watchlist-detail-content {
  padding: 14px 14px 18px;
}

.watchlist-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.watchlist-detail-poster {
  width: min(280px, 100%);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
}

.watchlist-detail-body {
  min-width: 0;
}

.watchlist-detail-kicker {
  margin: 0 0 6px;
  color: #9a3412;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.watchlist-detail-body h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.watchlist-detail-rating,
.watchlist-detail-meta,
.watchlist-detail-description,
.watchlist-detail-body p {
  overflow-wrap: anywhere;
}

.watchlist-detail-rating {
  margin: 10px 0 0;
  color: #0b4f8a;
  font-size: 15px;
  font-weight: 800;
}

.watchlist-detail-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.watchlist-detail-description {
  margin: 14px 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.watchlist-detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.watchlist-detail-links a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.watchlist-detail-links a:hover {
  text-decoration: underline;
}

:root[data-theme="dark"] .watchlist-entry-rating {
  color: #93c5fd;
}

:root[data-theme="dark"] .watchlist-entry-button:hover {
  border-color: #4b6386;
}

:root[data-theme="dark"] .watchlist-detail-kicker {
  color: #fdba74;
}

:root[data-theme="dark"] .watchlist-detail-rating {
  color: #93c5fd;
}

:root[data-theme="dark"] .watchlist-detail-close {
  background: #182339;
  border-color: #314563;
  color: #e6edf7;
}

:root[data-theme="dark"] .watchlist-detail-panel {
  box-shadow: -16px 0 32px rgba(0, 0, 0, 0.32);
}

:root[data-theme="dark"] .watchlist-detail-panel.is-loved {
  border-left-color: #fbbf24;
  box-shadow: -16px 0 32px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(251, 191, 36, 0.24);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.08), rgba(251, 191, 36, 0.02)), var(--panel);
}

@media (max-width: 820px) {
  .topbar,
  .controls {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
  }

  .header-actions {
    display: grid;
    align-items: stretch;
  }

  .dashboard-section summary {
    align-items: start;
    display: grid;
    grid-template-columns: auto 1fr;
  }

  .section-hint {
    grid-column: 2;
    margin-left: 0;
  }

  .subsection-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .map-top-actions {
    grid-column: 1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .map-range-controls {
    grid-column: 1;
    justify-self: start;
    flex-wrap: wrap;
  }

  .map-view-tabs {
    grid-column: 1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .map-layout {
    grid-template-columns: 1fr;
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-list {
    --news-card-slot-height: 158px;
  }

  .news-card-main {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .news-card-thumb {
    width: 84px;
    height: 100%;
  }

  .f1-podium {
    grid-template-columns: 1fr;
  }

  .news-detail-panel {
    position: static;
  }
}

@media (max-width: 980px) {
  body.watchlist-detail-open {
    padding-right: 0;
  }

  .weather-cards {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }

  .poster-grid {
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  }

  .watchlist-current {
    grid-template-columns: 1fr;
  }

  .watchlist-filters {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .watchlist-detail-panel {
    top: auto;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-height: 72vh;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
  }

  .watchlist-detail-poster {
    max-width: 260px;
  }

  .one-piece-products-strip {
    display: block;
  }
}

/* ── Game Hub ──────────────────────────────────────────────────── */

.game-hub-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
}

.game-hub-module-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}

.game-hub-content {
  margin-top: 14px;
}

.game-hub-entries {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 800px;
}

.game-hub-entry {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game-hub-screenshot {
  width: 100%;
  max-width: 720px;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.12);
}

.game-hub-screenshot-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.01em;
}

.game-hub-info-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--subtle-text, #667085);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.game-hub-info-text {
  font-size: 14px;
  color: var(--text);
  margin: 0;
  line-height: 1.65;
  max-width: 680px;
}

/* Game Lab */
.game-lab-buttons {
  padding-top: 14px;
}

.game-lab-content {
  margin-top: 14px;
}

.game-lab-frame {
  width: 100%;
  height: min(620px, calc(100vh - 180px));
  min-height: 500px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f7f2;
}

.game-lab-frame[hidden] {
  display: none;
}

/* Timeline */
.timeline-hint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.timeline-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.timeline-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
}

.timeline-card-meta {
  margin: 0;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.timeline-type {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 84%, #e8f6ef);
  color: #166534;
  font-size: 11px;
  font-weight: 800;
}

.timeline-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #e6edf5;
  cursor: zoom-in;
}

.timeline-caption {
  margin: 0;
  padding: 11px 12px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.timeline-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 16, 28, 0.86);
  display: grid;
  place-items: center;
  padding: 56px 16px 24px;
}

.timeline-lightbox[hidden] {
  display: none;
}

.timeline-lightbox-image {
  max-width: min(1200px, 96vw);
  max-height: 78vh;
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.44);
  object-fit: contain;
}

.timeline-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #93a1b8;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #1f2937;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.timeline-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid #93a1b8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.timeline-lightbox-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.timeline-lightbox-prev {
  left: 14px;
}

.timeline-lightbox-next {
  right: 14px;
}

.timeline-lightbox-caption {
  margin: 12px 0 0;
  color: #f8fafc;
  font-size: 14px;
  text-align: center;
  max-width: min(900px, 92vw);
}

.timeline-lightbox-date {
  margin: 12px 0 0;
  color: #dbe7ff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 820px) {
  .game-lab-frame {
    height: 760px;
  }

  .timeline-list {
    grid-template-columns: 1fr;
  }
}
