/* ==========================================================================
   Ride or Die Guide - Shared Styles
   ========================================================================== */

/* RODG theme: red accent (overriding NYP green), fast-pass blue, muted drag ring */
body[data-site="rodg"] {
  --color-accent: #e8193c;
  --color-accent-glow: rgba(232, 25, 60, 0.3);
  --gradient-accent: linear-gradient(135deg, #e8193c, #d01535);
  --gradient-accent-hover: linear-gradient(135deg, #f02040, #e8193c);
  --color-fast-pass: #1976d2;
  --color-fast-pass-glow: rgba(25, 118, 210, 0.35);
  --gradient-fast-pass: linear-gradient(135deg, #1976d2, #1565c0);
  --color-muted-glow: rgba(122, 134, 148, 0.25);
  scrollbar-gutter: stable;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(232, 25, 60, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(162, 155, 254, 0.08) 0%, transparent 50%),
    linear-gradient(160deg, #e0e4ea 0%, #d4dae3 40%, #cad2dd 100%);
  background-attachment: fixed;
}

[data-theme="dark"] body[data-site="rodg"] {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(232, 25, 60, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(162, 155, 254, 0.06) 0%, transparent 50%),
    linear-gradient(160deg, #0a0c0e 0%, #0c0f11 40%, #0e1113 100%);
}

/* Mobile: sidebar and page share one centered column */
.rodg-sidebar,
.rodg-container {
  max-width: 500px;
  margin: 0 auto;
}

.rodg-sidebar {
  padding: 12px 16px 0;
}

.rodg-container {
  padding: 8px 16px 24px;
  overflow-x: clip;
}

.rodg-header {
  margin-bottom: 12px;
  text-align: center;
}

/* Brand lockup: --logo-h drives the whole block so it scales proportionally.
   fit-content column lets the tagline span the icon+wordmark width. */
.rodg-logo {
  --logo-h: clamp(90px, 29vw, 130px);
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  max-width: 100%;
  color: var(--color-dark);
}

.rodg-logo-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--logo-h) * 0.136);
}

.rodg-logo-icon {
  flex: none;
  height: var(--logo-h);
  width: auto;
}

/* Swap the icon by theme: light-rail PNG by default, white-rail PNG in dark mode */
.rodg-logo-icon--dark {
  display: none;
}

[data-theme="dark"] .rodg-logo-icon--dark {
  display: block;
}

[data-theme="dark"] .rodg-logo-icon--light {
  display: none;
}

.rodg-logo-wordmark {
  flex: none;
  display: block;
  height: calc(var(--logo-h) * 0.894);
  width: auto;
}

.rodg-tagline {
  width: 100%;
  margin: calc(var(--logo-h) * 0.04) 0 0;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  font-size: calc(var(--logo-h) * 0.127);
  text-transform: uppercase;
  letter-spacing: 0.155em;
  text-indent: 0.155em;
  color: #777;
  text-align: center;
  white-space: nowrap;
  transform: translateX(calc(var(--logo-h) * -0.023));
}

[data-theme="dark"] .rodg-tagline {
  color: #999;
}

/* Page navigation tabs + list page tabs share container styles */
.rodg-page-tabs,
.rodg-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  background: var(--color-surface-dimmer);
  border-radius: var(--radius);
}

.rodg-tab-divider {
  align-self: stretch;
  width: 1px;
  margin: 6px 0;
  background: var(--color-border);
}

.rodg-tab,
.rodg-page-tab,
.rodg-location-toggle {
  flex: 1;
  color: var(--color-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.rodg-page-tab {
  padding: 10px 8px;
  font: 700 13px var(--font-display);
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.rodg-tab {
  padding: 10px 16px;
  font: 700 14px var(--font-display);
}

.rodg-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  padding: 0 6px;
  font: 700 11px var(--font-display);
  color: var(--color-muted);
  background: var(--color-surface-dimmer);
  border-radius: 10px;
}

.rodg-tab.active .rodg-tab-count {
  color: #fff;
  background: var(--color-accent);
}

.rodg-page-tab:hover {
  color: var(--color-dark);
}

.rodg-page-tab.active,
.rodg-tab.active {
  color: var(--color-dark);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.rodg-location-toggle {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  -webkit-tap-highlight-color: transparent;
}

.rodg-location-toggle:hover:not(:disabled) {
  color: var(--color-dark);
}

.rodg-location-toggle.active {
  color: var(--color-accent);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.rodg-location-toggle:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.rodg-refresh-banner {
  padding: 8px 12px;
  font: 600 12px var(--font-display);
  color: var(--color-muted);
  text-align: center;
  background: var(--color-surface-dimmer);
  border-radius: var(--radius-sm);
}

.rodg-banner-collapsible {
  position: relative;
  padding-right: 28px;
}

.rodg-banner-toggle {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--color-muted);
  background: none;
  border: none;
  cursor: pointer;
}

.rodg-banner-toggle::before {
  content: "\25BE";
  font-size: 12px;
  line-height: 1;
}

.rodg-banner-collapsible.collapsed {
  padding: 4px 28px 4px 12px;
  text-align: left;
  font-size: 11px;
}

.rodg-banner-collapsible.collapsed .rodg-banner-content {
  display: none;
}

.rodg-banner-collapsible.collapsed::before {
  content: "Tips";
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
}

.rodg-banner-collapsible.collapsed .rodg-banner-toggle::before {
  content: "\25B8";
}

#rodg-no-parks-banner {
  margin-bottom: 6px;
}

.rodg-view .rodg-refresh-banner,
.rodg-list-card .rodg-refresh-banner {
  margin-bottom: 8px;
}

.rodg-refresh-banner a,
.rodg-empty a,
.rodg-premium-hint a,
.rodg-social a {
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
}

.rodg-loading,
.rodg-empty {
  font: 600 15px var(--font-display);
  color: var(--color-muted);
  text-align: center;
}

.rodg-loading {
  padding: 60px 16px;
}

.rodg-empty {
  padding: 40px 16px;
}

/* Auth — flow-root prevents margin collapsing so height is predictable */
#rodg-auth-root {
  display: flow-root;
}

#rodg-auth-root:empty {
  min-height: 61px;
}

.rodg-auth {
  width: 75%;
  max-width: 325px;
  margin: 0 auto 12px;
  text-align: center;
}

.rodg-auth .modal {
  text-align: left;
}

.rodg-auth-toggle {
  width: 100%;
  padding: 12px 16px;
  font: 600 14px var(--font-display);
  color: var(--color-dark);
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.rodg-auth-toggle:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   Plan Page
   ========================================================================== */

.rodg-picker-select {
  width: 100%;
  padding: 12px 36px 12px 16px;
  font: 500 14px var(--font-display);
  color: var(--color-dark);
  background: var(--color-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a8694' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  appearance: none;
  transition: border-color var(--transition-fast);
}

.rodg-picker-select option,
.rodg-picker-select optgroup {
  color: var(--color-dark);
  background-color: var(--color-surface);
}

.rodg-picker-select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.rodg-picker-tier {
  margin-bottom: 8px;
}

.rodg-picker-tier:last-child {
  margin-bottom: 0;
}

.rodg-picker-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.rodg-park-card {
  align-items: flex-start;
}

.rodg-park-card-hours {
  flex-basis: 100%;
  margin-top: 6px;
  font: 600 12px var(--font-display);
  color: var(--color-accent);
}

/* Each day is its own group, so they need more air between them than the rows
   within one do. */
.rodg-park-card-hours + .rodg-park-card-hours {
  margin-top: 9px;
}

/* The day a line answers for. Uppercase and tracked out so it reads as the
   group's heading rather than as another row of hours. */
.rodg-park-card-hours-label {
  font: 700 10px var(--font-display);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}

/* Ticketed events and extra hours, subordinate to the regular hours above
   them: lighter and smaller, so no row can be mistaken for a heading or for
   the park's own hours. */
.rodg-park-card-hours-event {
  margin-top: 3px;
  font: 500 11px var(--font-display);
  line-height: 1.45;
  color: var(--color-muted);
}

.rodg-park-remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--color-muted);
  font: 700 16px/1 var(--font-display);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  cursor: pointer;
}

@media (hover: hover) {
  .rodg-park-remove-btn:hover {
    background: var(--color-error-bg);
    border-color: var(--color-error);
    color: var(--color-error);
  }
}

.rodg-section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.rodg-section-toggle::after {
  content: "\25B2";
  display: inline-block;
  font-size: 10px;
  transition: transform 0.2s ease;
}

.rodg-section-toggle.collapsed::after {
  transform: rotate(180deg);
}

button.rodg-section-toggle {
  width: 100%;
  padding: 0;
  background: none;
  border: none;
}

button.rodg-section-toggle.collapsed {
  margin-bottom: 0;
}

.rodg-picker-hint {
  margin: 14px 0 8px;
  font: 400 15px/1.5 var(--font-display);
  color: var(--color-muted);
}

.rodg-picker-hint a {
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.rodg-emphasis {
  font-weight: 700;
}

.rodg-ai-input {
  margin-bottom: 8px;
  padding: 10px 12px;
  resize: none;
}

.rodg-planning-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  margin-left: 4px;
}

.rodg-hint-message {
  margin-left: 4px;
}

.rodg-hint-message strong {
  font-weight: 700;
  color: var(--color-dark);
}

.rodg-ai-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rodg-ai-actions .btn-base {
  flex: 1;
}

.rodg-ai-results {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Plan cards (.rodg-ai-result) and list cards (.rodg-card) share one look.
   Their shared selected/fast-pass/drag/swipe states sit with the list card
   rules under List Page, after the route-optimizer states: several set
   opacity, box-shadow or border-color at equal specificity, so source order
   decides which wins. */
.rodg-ai-result,
.rodg-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: center;
  column-gap: 10px;
  min-height: 64px;
  padding: 10px 42px 10px 14px;
  background: var(--gradient-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm), var(--shadow-inset-light);
  touch-action: manipulation;
}

.rodg-ai-result {
  cursor: pointer;
  transition: opacity var(--transition-fast), border-color var(--transition-fast);
}

.rodg-ai-result.deselected {
  opacity: 0.7;
}

.rodg-ai-result.deselected .rodg-ai-result-check {
  background: transparent;
  border-color: var(--color-border);
}

.rodg-ai-result.fast-pass:not(.deselected) .rodg-ai-result-check {
  background: var(--gradient-fast-pass);
  border-color: var(--color-fast-pass);
}

/* Round badge at a card's left edge: plan check mark, list rank number */
.rodg-ai-result-check,
.rodg-rank {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #fff;
  border-radius: 50%;
}

.rodg-ai-result-check {
  font-size: 11px;
  font-weight: 700;
  background: var(--gradient-accent);
  border: 2px solid var(--color-accent);
  transition: all var(--transition-fast);
}

.rodg-ai-result-info {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.rodg-ai-result-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rodg-ai-result-name,
.rodg-name {
  overflow: hidden;
  font: 600 14px var(--font-display);
  color: var(--color-dark);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rodg-ai-result-meta,
.rodg-wait {
  flex-shrink: 0;
  font: 700 13px var(--font-display);
  color: var(--color-accent);
  white-space: nowrap;
}

.rodg-wait {
  margin-left: auto;
}

/* Control row and location label — base styles shared in application.css */
.rodg-intel-location-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.rodg-apply-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.rodg-apply-actions .btn-base {
  flex: 1;
  padding-left: 8px;
  padding-right: 8px;
  white-space: nowrap;
}

/* ==========================================================================
   Route Optimizer (Plan + List)
   ========================================================================== */

.rodg-optimize-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 12px;
}

.rodg-optimize-row > * {
  flex: 1;
}

.rodg-optimize-time {
  display: block;
  min-width: 0;
  padding: 8px 10px;
  margin-bottom: 12px;
  font: 500 12px var(--font-display);
  appearance: none;
}

.rodg-optimize-time-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

#optimize-bar .rodg-optimize-time-row,
#plan-optimize-bar .rodg-optimize-time-row {
  width: 50%;
}

.rodg-optimize-time-row .rodg-optimize-time {
  flex: 1;
  margin-bottom: 0;
}

.rodg-optimize-time-part {
  flex: 1;
  min-width: 0;
}

.rodg-optimize-banner {
  position: relative;
  padding: 8px 32px 8px 16px;
  margin-bottom: 8px;
  text-align: center;
  font: 600 12px var(--font-display);
  color: var(--color-accent);
  background: var(--color-surface-dimmer);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-accent);
}

.rodg-eta {
  margin-top: 1px;
  font: 700 10px var(--font-display);
  color: var(--color-accent);
}

.optimizing .rodg-ai-result,
.optimizing .rodg-card {
  opacity: 0.6;
  pointer-events: none;
}

.rodg-card.past-close,
.rodg-ai-result.past-close {
  opacity: 0.5;
}

.past-close > .rodg-eta {
  text-decoration: line-through;
}

.rodg-card > .rodg-eta,
.rodg-ai-result > .rodg-eta,
.rodg-at-time {
  flex-basis: 100%;
  margin-top: -2px;
  text-align: right;
}

.rodg-at-time {
  font: 700 10px var(--font-display);
  color: var(--color-text-secondary);
}

/* ==========================================================================
   List Page
   ========================================================================== */

.rodg-list-card {
  padding: 8px;
  margin-bottom: 16px;
  background: var(--color-surface-dimmer);
  border-radius: var(--radius);
}

.rodg-filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  font: 700 13px var(--font-display);
  color: var(--color-dark);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--gradient-surface);
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.rodg-filter-toggle:hover {
  border-color: var(--color-accent);
}

.rodg-filter-toggle .rodg-chevron {
  font-size: 12px;
  color: var(--color-muted);
  transition: transform var(--transition-fast);
}

.rodg-filter-toggle.open .rodg-chevron {
  transform: rotate(180deg);
}

.rodg-filter-content {
  display: none;
  padding-top: 8px;
}

.rodg-filter-content.open {
  display: block;
}

.rodg-view {
  display: none;
}

.rodg-view.active {
  display: block;
}

.rodg-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rodg-card {
  z-index: 1;
  padding-right: 50px;
  cursor: grab;
  -webkit-touch-callout: none;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast);
}

.rodg-list.drag-active .rodg-card:not(.selected):hover,
.rodg-ai-results.drag-active .rodg-ai-result.deselected:hover {
  border-color: var(--color-muted);
  box-shadow: var(--shadow-md), 0 0 0 3px var(--color-muted-glow);
}

.rodg-list.drag-active .rodg-card.selected:not(.fast-pass):hover,
.rodg-ai-results.drag-active .rodg-ai-result:not(.deselected):not(.fast-pass):hover {
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(232, 25, 60, 0.6);
}

.rodg-list.drag-active .rodg-card.selected.fast-pass:hover,
.rodg-ai-results.drag-active .rodg-ai-result.fast-pass:not(.deselected):hover {
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(25, 118, 210, 0.65);
}

.rodg-card.dragging,
.rodg-ai-result.dragging {
  z-index: 100;
  border-color: var(--color-muted);
  box-shadow: var(--shadow-xl), 0 0 0 3px var(--color-muted-glow);
  cursor: grabbing;
}

.rodg-card.swiping,
.rodg-ai-result.swiping {
  z-index: 100;
  transition: none;
}

.rodg-card.dismissing,
.rodg-card.restoring,
.rodg-ai-result.dismissing {
  overflow: hidden;
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out, height 0.3s ease-out, padding 0.3s ease-out,
    margin 0.3s ease-out, border-width 0.3s ease-out;
}

.rodg-card.dismissing,
.rodg-ai-result.dismissing { transform: translateX(120%); }
.rodg-card.restoring { transform: translateX(-120%); }

.rodg-card.selected,
.rodg-ai-result:not(.deselected):not(.fast-pass) {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm), 0 0 0 2px var(--color-accent-glow);
}

.rodg-card.selected .rodg-rank {
  background: var(--gradient-accent);
}

.rodg-card.selected.fast-pass,
.rodg-ai-result.fast-pass:not(.deselected) {
  border-color: var(--color-fast-pass);
  box-shadow: var(--shadow-sm), 0 0 0 2px var(--color-fast-pass-glow);
}

.rodg-card.selected.fast-pass .rodg-rank {
  background: var(--gradient-fast-pass);
}

.rodg-card.done-card {
  opacity: 0.7;
}

.rodg-list.drag-active .rodg-card.done-card:hover {
  border-color: var(--color-muted);
  box-shadow: var(--shadow-md), 0 0 0 3px var(--color-muted-glow);
  opacity: 0.85;
}

.rodg-rank {
  font: 700 11px var(--font-display);
  background: var(--gradient-dark);
}

.rodg-card.dragging .rodg-rank {
  background: var(--gradient-dark-hover);
}

.rodg-info {
  flex: 1;
  min-width: 0;
}

.rodg-meta {
  margin-top: 2px;
  font: 500 12px var(--font-display);
  color: var(--color-muted);
}

.rodg-ai-result > .rodg-meta,
.rodg-card > .rodg-meta {
  flex-basis: 100%;
  padding-left: 32px;
}

.rodg-park-card > .rodg-meta {
  padding-left: 0;
}

.rodg-card-btns {
  position: absolute;
  right: 14px;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}

.rodg-info-btn,
.rodg-pin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface-dimmer);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.rodg-info-btn {
  font: 700 12px var(--font-display);
}

@media (hover: hover) {
  .rodg-info-btn:hover,
  .rodg-pin-btn:hover,
  .rodg-info-hint:hover {
    background: var(--color-accent);
    color: #fff;
  }
}

.rodg-info-btn.active,
.rodg-pin-btn.active {
  color: #fff;
  background: var(--color-accent);
}

.rodg-desc {
  display: none;
  margin: -6px 0 2px;
  padding: 8px 16px 12px;
  font: 400 13px/1.5 var(--font-display);
  color: var(--color-text-secondary);
}

.rodg-desc.open {
  display: block;
}

.rodg-desc-details {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
}

.rodg-desc-details + .rodg-desc-details {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-muted);
}

/* ==========================================================================
   Info Panel: Wait Times, Showtimes, Charts
   ========================================================================== */

.rodg-wait-section {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

.rodg-wait-section-title {
  margin-bottom: 10px;
  font: 700 14px var(--font-display);
  color: var(--color-dark);
}

.rodg-wait-section.collapsible > .rodg-wait-section-title {
  cursor: pointer;
}

.rodg-wait-section.collapsible:not(.open) > .rodg-wait-section-title {
  margin-bottom: 0;
}

.rodg-wait-section-caret,
.rodg-wait-subsection-caret {
  display: inline-block;
  font-size: 10px;
  color: var(--color-muted);
  transform: rotate(-90deg);
  transition: transform 0.15s;
}

.rodg-wait-section-caret {
  margin-right: 6px;
  vertical-align: middle;
}

.rodg-wait-section.collapsible.open > .rodg-wait-section-title > .rodg-wait-section-caret {
  transform: rotate(0);
}

.rodg-wait-section.collapsible:not(.open) > .rodg-wait-section-body {
  display: none;
}

.rodg-info-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  color: var(--color-muted);
  font: 700 10px var(--font-display);
  vertical-align: middle;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface-dimmer);
  cursor: pointer;
}

.rodg-info-hint-text {
  display: none;
  margin: -4px 0 10px;
  padding: 6px 10px;
  font: 500 12px/1.4 var(--font-display);
  color: var(--color-muted);
  border-radius: var(--radius-sm);
  background: var(--color-surface-dimmer);
}

.rodg-info-hint-text.open {
  display: block;
}

.rodg-wait-subsection + .rodg-wait-subsection {
  margin-top: 12px;
}

.rodg-showtimes-day + .rodg-showtimes-day {
  margin-top: 10px;
}

.rodg-showtimes-day-label,
.rodg-wait-chart-title,
.rodg-wait-chart-summary-header {
  font: 600 11px var(--font-display);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rodg-showtimes-day-label {
  margin-bottom: 6px;
}

.rodg-showtimes-empty {
  font: 400 italic 12px var(--font-display);
  color: var(--color-muted);
}

.rodg-showtimes-times {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rodg-showtimes-time,
.rodg-break-duration-select {
  padding: 3px 8px;
  font: 500 12px var(--font-display);
  color: var(--color-dark);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
}

.rodg-showtimes-time {
  display: inline-block;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.rodg-showtimes-time:hover {
  border-color: var(--color-accent);
}

.rodg-showtimes-time.selected {
  color: #fff;
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.rodg-showtimes-time.past {
  text-decoration: line-through;
  opacity: 0.45;
}

.rodg-break-duration-select {
  color-scheme: dark;
}

.rodg-time-pill-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rodg-time-pill-label,
.rodg-break-duration-label {
  font: 500 12px var(--font-display);
  color: var(--color-muted);
}

/* Native inputs a styled control stands in for: date/time pickers kept for
   showPicker(), and the admin page's radio switches, whose label is the button */
.rodg-time-pill-input,
.rodg-historical-picker-input,
.rodg-crowd-cal-jump-input,
.rodg-admin-sorts input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.rodg-time-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 100px;
}

.rodg-time-pill-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 12px;
  line-height: 1;
  color: inherit;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
}

.rodg-time-pill-clear:hover {
  background: rgba(255, 255, 255, 0.4);
}

.rodg-break-duration-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.rodg-wait-subsection-header {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  color: var(--color-dark);
  font: 600 13px var(--font-display);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.rodg-wait-subsection.open .rodg-wait-subsection-caret {
  transform: rotate(0);
}

.rodg-wait-subsection-body {
  display: none;
}

.rodg-wait-subsection.open .rodg-wait-subsection-body {
  display: block;
}

.rodg-historical-picker-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 12px 0 4px;
}

.rodg-historical-picker-label {
  font: 600 13px var(--font-display);
  color: var(--color-text-secondary);
}

.rodg-historical-picker-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  min-width: 130px;
  font: 600 13px var(--font-display);
  color: var(--color-dark);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  cursor: pointer;
}

.rodg-historical-picker-pill.placeholder {
  color: var(--color-text-secondary);
}

.rodg-historical-chart-container,
.rodg-statistics-chart-container {
  min-height: 24px;
  font: 500 13px var(--font-display);
  color: var(--color-muted);
}

.rodg-wait-chart {
  margin-top: 12px;
}

.rodg-wait-chart-title {
  margin-bottom: 6px;
}

.rodg-wait-chart-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  padding-left: 26px;
  margin-top: 6px;
  font: 500 12px var(--font-display);
  color: var(--color-text-secondary);
}

.rodg-wait-chart-empty {
  padding: 8px 0;
  font: 500 12px var(--font-display);
  color: var(--color-muted);
}

.rodg-wait-chart-summary-sep {
  color: var(--color-muted);
}

.rodg-wait-chart-body {
  display: flex;
  margin-bottom: 16px;
}

.rodg-wait-chart-yaxis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  height: 91px;
  padding-right: 4px;
  text-align: right;
  border-right: 1px solid var(--color-border);
}

.rodg-wait-chart-ylabel {
  font: 500 8px var(--font-display);
  line-height: 1;
  color: var(--color-muted);
}

.rodg-wait-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  flex: 1;
  height: 91px;
  min-width: 0;
  padding-left: 4px;
  border-bottom: 1px solid var(--color-border);
}

.rodg-wait-chart-col {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-width: 0;
}

.rodg-wait-chart-bar {
  width: 100%;
  max-width: 20px;
  margin-top: auto;
  border-radius: 2px 2px 0 0;
  background: var(--color-accent);
  opacity: 0.8;
  transition: opacity 0.15s;
}

.rodg-wait-chart-bar.busy-light { background: var(--color-success); }
.rodg-wait-chart-bar.busy-typical { background: var(--color-busy-medium); }
.rodg-wait-chart-bar.busy-heavy { background: var(--color-accent); }

.rodg-wait-chart-bar:hover {
  opacity: 1;
}

.rodg-wait-chart-bar-predicted {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  margin: 0 auto;
  width: 100%;
  max-width: 20px;
  height: 3px;
  background: var(--color-text-secondary);
  border-radius: 1px;
}

.rodg-wait-chart-label {
  position: absolute;
  bottom: -14px;
  font: 500 8px var(--font-display);
  color: var(--color-muted);
  white-space: nowrap;
}

.rodg-wait-chart-summary-header {
  flex-basis: 100%;
}

.rodg-ai-results .rodg-desc {
  margin-top: -4px;
}

.rodg-wait.busy-light,
.rodg-wait.busy-quiet,
.rodg-wait.busy-open,
.rodg-wait-now > .busy-light,
.rodg-wait-at > .busy-light,
.rodg-at-time.busy-light,
.rodg-ai-result-meta.busy-light {
  color: var(--color-success);
}

.rodg-wait.busy-typical,
.rodg-wait-now > .busy-typical,
.rodg-wait-at > .busy-typical,
.rodg-at-time.busy-typical,
.rodg-ai-result-meta.busy-typical {
  color: var(--color-busy-medium);
}

/* No prediction to compare against. Deliberately outside the light/typical/heavy
   scale: the unclassed colour is --color-accent, the same red as busy-heavy. */
.rodg-wait.busy-unknown,
.rodg-ai-result-meta.busy-unknown {
  color: var(--color-text-secondary);
}

.rodg-wait.busy-heavy,
.rodg-wait.busy-busy,
.rodg-wait-now > .busy-heavy,
.rodg-wait-at > .busy-heavy,
.rodg-at-time.busy-heavy,
.rodg-ai-result-meta.busy-heavy {
  color: var(--color-accent);
}

.rodg-wait.busy-closed,
.rodg-wait-now > .busy-closed {
  color: var(--color-error);
}

.rodg-wait-now {
  margin: 4px 0 8px;
  font: 700 13px var(--font-display);
}

.rodg-wait-at {
  margin: -4px 0 8px;
  font: 700 13px var(--font-display);
}

/* ==========================================================================
   Crowd Calendar (per-park info panel)
   ========================================================================== */

.rodg-crowd-cal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rodg-crowd-cal-nav button {
  width: 30px;
  height: 30px;
  font-size: 16px;
  line-height: 1;
  color: var(--color-dark);
  background: var(--color-surface-dim);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.rodg-crowd-cal-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

.rodg-crowd-cal-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 150px;
  padding: 2px 6px;
  font: 600 13px var(--font-display);
  border-radius: 6px;
  cursor: pointer;
}

.rodg-crowd-cal-title:hover {
  background: var(--color-surface-dim);
}

.rodg-crowd-cal-title-caret {
  font-size: 10px;
  color: var(--color-muted);
}

/* Stacked on mobile (calendar, then wait chart); side by side only once the
   content area is wide enough (matches the layout's 900px sidebar breakpoint).
   alignChartToGrid auto-disables when stacked. */
.rodg-crowd-cal-cols {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 12px;
}

.rodg-crowd-cal-gridcol {
  min-width: 0;
}

/* Two columns for every tier: the wait chart sits beside the grid, or the
   "Go premium" hint in its place, so the grid keeps one size rather than
   spanning the whole row when there is no chart. */
@media (min-width: 900px) {
  .rodg-crowd-cal-cols {
    grid-template-columns: 52% minmax(0, 1fr);
    gap: 10px;
  }
}

/* minmax(0), not 1fr: the cells' aspect-ratio gives each track a content-based
   minimum, so large OS text (iOS Dynamic Type) makes the tracks outgrow the
   container and clips the right columns. */
.rodg-crowd-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

.rodg-crowd-cal-dow {
  padding-bottom: 1px;
  text-align: center;
  font: 600 9px var(--font-display);
  color: var(--color-muted);
}

.rodg-crowd-cal-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 0.54;
  color: #fff;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.rodg-crowd-cal-cell.rodg-crowd-cal-empty {
  background: transparent;
  box-shadow: none;
}

.rodg-crowd-cal-cell.rodg-crowd-cal-selectable,
.rodg-crowd-cal-cell.rodg-crowd-cal-viewable {
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.rodg-crowd-cal-cell.rodg-crowd-cal-selectable:hover,
.rodg-crowd-cal-cell.rodg-crowd-cal-viewable:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.rodg-crowd-cal-cell.rodg-crowd-cal-historical {
  color: var(--color-dark);
}

/* Locked = tier-gated (tappable, opens the upsell). Unavailable = past the
   forecast window for everyone, and closed = the park's schedule shows no
   hours that day; both stay inert. */
.rodg-crowd-cal-cell.rodg-crowd-cal-locked,
.rodg-crowd-cal-cell.rodg-crowd-cal-unavailable,
.rodg-crowd-cal-cell.rodg-crowd-cal-closed {
  color: var(--color-muted);
  background: var(--color-surface-dim);
  box-shadow: inset 0 0 0 1px var(--color-border-subtle);
}

.rodg-crowd-cal-cell.rodg-crowd-cal-locked {
  cursor: pointer;
}

.rodg-crowd-cal-cell.rodg-crowd-cal-today {
  box-shadow: inset 0 0 0 2px var(--color-dark);
}

/* Gold ring — stands out on the green-to-red cells in both themes. Kept inset
   and thicker than the 2px today marker: inset renders reliably on iOS Safari,
   where an OUTSET ring on a grid item with gaps gets clipped/flickers. */
.rodg-crowd-cal-cell.rodg-crowd-cal-selected {
  box-shadow: inset 0 0 0 3px #f5b301;
}

.rodg-crowd-cal-daynum {
  font: 600 10px var(--font-display);
  line-height: 1;
}

/* The second line inside a cell: score, no-data dash, lock or "Closed" */
.rodg-crowd-cal-score,
.rodg-crowd-cal-nodata,
.rodg-crowd-cal-lock,
.rodg-crowd-cal-closed-label {
  margin-top: 1px;
  font-size: 8px;
}

.rodg-crowd-cal-score {
  line-height: 1;
  opacity: 0.9;
}

.rodg-crowd-cal-nodata {
  opacity: 0.5;
}

.rodg-crowd-cal-closed-label {
  font-size: 7px;
  line-height: 1;
}

.rodg-crowd-cal-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--color-text-secondary);
}

.rodg-crowd-cal-scale {
  display: flex;
  flex: 1;
  gap: 2px;
  min-width: 0;
}

.rodg-crowd-cal-swatch {
  flex: 1;
  min-width: 0;
  height: 11px;
  border-radius: 2px;
}

.rodg-crowd-cal-waits {
  overflow: hidden;
}

/* Taller than the standard wait charts to better match the calendar beside
   it. JS then sets the exact height to line the bars up with the calendar
   squares; this is only the pre-alignment default. */
.rodg-crowd-cal-waits .rodg-wait-chart-yaxis,
.rodg-crowd-cal-waits .rodg-wait-chart-bars {
  height: 122px;
}

/* Neutral fallback; data bars get an inline green->red gradient by wait level
   (buildWaitChart's gradientBars), so the RODG-red --color-accent default never
   shows and isn't mistaken for the calendar's "busy" red. */
.rodg-crowd-cal-waits .rodg-wait-chart-bar {
  background: var(--color-muted);
}

.rodg-crowd-cal-waits .rodg-wait-chart-title {
  margin-bottom: 4px;
  overflow: hidden;
  font-size: 9px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Upsell line where a premium feature would be (window.rodgUpsell copy). */
.rodg-premium-hint {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-secondary);
}

[data-section="wait-times"] .rodg-premium-hint {
  margin-top: 8px;
}

/* ==========================================================================
   List Controls: Sort, Filter, Search
   ========================================================================== */

.rodg-sort-bar,
.rodg-filter-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.rodg-filter-label,
#picks-content .subsection-label,
#filter-content .subsection-label {
  margin: 0 0 4px;
  font: 500 10px var(--font-display);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rodg-filter-label {
  display: block;
}

.rodg-optimize-tz {
  text-transform: none;
  opacity: 0.7;
}

#picks-content .subsection-label.section-divider,
#filter-content .subsection-label.section-divider {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
}

.rodg-multi-select {
  position: relative;
  flex: 1;
  min-width: 0;
}

.rodg-multi-select-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  font: 500 12px var(--font-display);
  text-align: left;
  cursor: pointer;
}

.rodg-multi-select-btn.active {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.rodg-multi-select-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rodg-multi-select-chevron {
  flex-shrink: 0;
  font-size: 10px;
  color: var(--color-muted);
  transition: transform 0.15s;
}

.rodg-multi-select.open .rodg-multi-select-chevron {
  transform: rotate(180deg);
}

.rodg-multi-select-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 10;
  display: none;
  max-height: 240px;
  overflow-y: auto;
  padding: 4px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.rodg-multi-select.open .rodg-multi-select-panel {
  display: block;
}

.rodg-multi-select-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  font: 500 13px var(--font-display);
  color: var(--color-dark);
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.rodg-multi-select-option:hover {
  background: var(--color-surface-dimmer);
}

.rodg-multi-select-option input[type="checkbox"] {
  flex-shrink: 0;
  cursor: pointer;
}

.rodg-multi-select-empty {
  padding: 8px;
  font: 500 12px var(--font-display);
  color: var(--color-muted);
  text-align: center;
}

.rodg-sort-btn {
  flex: 1;
  min-width: 0;
  padding-inline: 8px;
  white-space: nowrap;
}

.rodg-sort-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.rodg-last-updated,
.rodg-social {
  padding: 8px 16px;
  font: 500 12px var(--font-display);
  color: var(--color-muted);
  text-align: center;
}

.rodg-social {
  font-size: 13px;
}

.rodg-social a:hover {
  text-decoration: underline;
}

.rodg-search-wrap {
  position: relative;
}

.rodg-search-wrap .input-base {
  padding: 12px 36px 12px 16px;
}

.rodg-search-clear {
  position: absolute;
  right: 4px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: var(--color-muted);
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.rodg-search-clear:hover {
  color: var(--color-dark);
}

.rodg-status-pill {
  flex-shrink: 0;
  padding: 2px 8px;
  margin-left: auto;
  font: 700 11px var(--font-display);
  text-transform: uppercase;
  border-radius: 10px;
}

.rodg-status-pill.open {
  color: var(--color-accent);
  background: var(--color-accent-glow);
}

.rodg-status-pill.closed {
  color: var(--color-error);
  background: rgba(162, 48, 40, 0.1);
}

/* RODG-specific: remove top padding on footer container */
.rodg-footer-container {
  padding-top: 0;
}

/* ==========================================================================
   Wheel Page
   ========================================================================== */

.rodg-wheel-tagline {
  margin: 0 0 8px;
  text-align: center;
  font-size: clamp(1.15em, 4vw, 1.5em);
  font-weight: 700;
}

.rodg-wheel-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rodg-wheel-wrapper .spin-wheel-container {
  width: min(100vw - 40px, 400px);
  filter: none;
}

.rodg-wheel-colors,
.rodg-map-colors {
  margin-top: 16px;
}

.rodg-wheel-wrapper .result-display {
  margin-top: 6px;
  margin-bottom: 10px;
}

.rodg-done-btn {
  padding: 6px 20px;
  margin-bottom: 10px;
  font-size: 12px;
}

/* ==========================================================================
   Map Page
   ========================================================================== */

.rodg-map-toggle-btn {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: var(--z-modal);
  padding: 8px 14px;
  font-size: 12px;
}

.rodg-map-done-btn {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 4px 10px;
  font: 600 12px var(--font-display);
  color: var(--color-accent);
  background: none;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.rodg-map-park-name {
  color: #666;
  font-size: 12px;
}

.rodg-map-container {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 2px solid var(--color-border);
}

/* ==========================================================================
   Guide Page
   ========================================================================== */

.rodg-guide {
  padding-top: 0;
}

/* The admin page's cards share the guide card's box and heading. */
.rodg-guide-card,
.rodg-admin-card {
  position: relative;
  padding: 16px;
  margin-bottom: 16px;
  background: var(--color-surface-dimmer);
  border-radius: var(--radius);
  border-left: 3px solid;
}

.rodg-guide-card > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  cursor: pointer;
}

.rodg-guide-card > summary::-webkit-details-marker {
  display: none;
}

.rodg-guide-card > summary::after {
  content: "▾";
  color: var(--color-muted);
  font-size: 14px;
  transition: transform 0.15s;
}

.rodg-guide-card[open] > summary {
  margin-bottom: 12px;
}

.rodg-guide-card[open] > summary::after {
  transform: rotate(180deg);
}

.rodg-guide-card h3,
.rodg-admin-card h3 {
  flex: 1;
  font: 600 15px var(--font-display);
  color: var(--color-dark);
}

.rodg-guide-card-icon {
  font-size: 22px;
  line-height: 1;
}

.rodg-guide-card p {
  margin: 0 0 8px;
  font: 400 13px/1.5 var(--font-display);
  color: var(--color-text-secondary);
}

.rodg-guide-card ul,
.rodg-guide-card ol {
  padding-left: 20px;
  font: 400 13px/1.6 var(--font-display);
  color: var(--color-text-secondary);
}

.rodg-guide-card li {
  margin-bottom: 4px;
}

.rodg-guide-card li strong {
  color: var(--color-dark);
}

.rodg-guide-premium-link {
  font-weight: 600;
  color: var(--color-accent);
}

.rodg-guide-parks-company + .rodg-guide-parks-company {
  margin-top: 14px;
}

.rodg-guide-parks-company h4 {
  font: 700 13px var(--font-display);
  color: var(--color-dark);
}

.rodg-guide-parks-resort {
  margin-top: 8px;
  font: 500 12px var(--font-display);
  color: var(--color-muted);
}

.rodg-guide-parks-company ul {
  margin: 4px 0 0;
}

/* ==========================================================================
   Desktop
   ========================================================================== */

@media (min-width: 900px) {
  .rodg-layout {
    display: flex;
    min-height: 100dvh;
  }

  .rodg-sidebar {
    position: sticky;
    top: 0;
    align-self: flex-start;
    flex-shrink: 0;
    width: 360px;
    padding: 20px 16px;
    max-height: 100dvh;
    overflow-y: auto;
    border-right: 1px solid var(--color-border);
  }

  .rodg-sidebar .rodg-header {
    margin-bottom: 20px;
    text-align: left;
  }

  .rodg-sidebar .rodg-logo {
    --logo-h: 104px;
  }

  .rodg-sidebar .rodg-auth {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .rodg-sidebar .rodg-page-tabs {
    flex-direction: column;
    gap: 2px;
    padding: 0;
    background: none;
  }

  .rodg-sidebar .rodg-page-tab {
    flex: none;
    padding: 10px 12px;
    text-align: left;
  }

  .rodg-sidebar .rodg-page-tab.active,
  .rodg-sidebar .rodg-location-toggle.active {
    color: #fff;
    background: var(--color-accent-glow);
    box-shadow: none;
  }

  .rodg-sidebar .rodg-location-toggle {
    justify-content: flex-start;
    gap: 8px;
    width: auto;
    padding: 10px 12px;
    font: 700 13px var(--font-display);
  }

  .rodg-sidebar .rodg-location-toggle::after {
    content: "Location";
  }

  .rodg-sidebar .rodg-refresh-banner {
    padding: 8px 10px;
    font-size: 11px;
    text-align: left;
  }

  .rodg-main {
    flex: 1;
    min-width: 0;
  }

  .rodg-container {
    max-width: none;
    padding-left: 64px;
    padding-right: 64px;
  }

  .rodg-name {
    white-space: normal;
  }

  .rodg-map-container {
    height: 650px;
  }

  .rodg-wheel-wrapper .spin-wheel-container {
    width: 500px;
  }
}
