:root {
  color-scheme: dark;
  --ink: #090c0c;
  --ink-soft: #0b1b17;
  --bottle: #133c2f;
  --bottle-2: #1e634a;
  --cream: #ede2bf;
  --cream-muted: #c7bfab;
  --gold: #fca657;
  --gold-dark: #ab8c4d;
  --danger: #fc8f87;
  --success: #66d196;
  --blue: #78b8d9;
  --panel: rgba(26, 31, 30, 0.88);
  --panel-raised: rgba(34, 39, 36, 0.94);
  --line: rgba(237, 226, 191, 0.12);
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
  --radius: 22px;
  --radius-sm: 14px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--cream);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--ink); }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 82% -10%, rgba(252, 166, 87, 0.12), transparent 28rem),
    radial-gradient(circle at 16% 8%, rgba(30, 99, 74, 0.22), transparent 26rem),
    linear-gradient(155deg, #0b1b17 0%, #090c0c 55%, #050707 100%);
  overflow-x: hidden;
}

button, input, select, textarea { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 12px;
  top: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.app-shell { min-height: 100dvh; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 255px;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: rgba(5, 18, 15, 0.88);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  z-index: 30;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px 24px;
}
.brand-lockup img { border-radius: 13px; box-shadow: 0 8px 30px rgba(0,0,0,.28); }
.brand-lockup strong { display: block; margin-top: 2px; font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.nav-list { display: grid; gap: 7px; }
.nav-button {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--cream-muted);
  text-align: left;
  cursor: pointer;
}
.nav-button:hover { background: rgba(255,255,255,.04); color: var(--cream); }
.nav-button.active {
  background: linear-gradient(135deg, rgba(244,190,82,.18), rgba(244,190,82,.07));
  border-color: rgba(244,190,82,.28);
  color: var(--cream);
}
.nav-icon { width: 27px; text-align: center; font-size: 1.15rem; }
.nav-label { font-weight: 750; }

.sidebar-note {
  margin-top: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--cream-muted);
  font-size: .75rem;
  line-height: 1.4;
}
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(100,214,154,.12); }

.game-column {
  min-height: 100dvh;
  margin-left: 255px;
  padding: 0 clamp(20px, 4vw, 58px) 116px;
}

.topbar {
  min-height: 94px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.topbar h1 {
  margin: 3px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
}
.top-actions { display: flex; gap: 9px; }
.icon-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  cursor: pointer;
}
.icon-button:hover { border-color: rgba(244,190,82,.45); background: rgba(244,190,82,.09); }

.status-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(90px, 1fr));
  gap: 9px;
  margin: 18px 0;
}
.status-item {
  min-width: 0;
  padding: 12px 14px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--line);
  border-radius: 13px;
}
.status-item span { display: block; color: var(--cream-muted); font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.status-item strong { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; font-size: .98rem; }
.status-item.heat strong { color: var(--danger); }

#main-content { max-width: 1240px; margin: 0 auto; outline: none; }

.page { animation: page-in .24s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(244,190,82,.19);
  border-radius: 28px;
  background:
    linear-gradient(115deg, rgba(7,25,21,.98) 15%, rgba(12,52,43,.88) 65%, rgba(81,54,14,.35)),
    repeating-linear-gradient(90deg, transparent 0 48px, rgba(255,255,255,.018) 48px 49px);
  box-shadow: var(--shadow);
}
.hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -90px;
  width: 340px;
  height: 260px;
  opacity: .3;
  background: linear-gradient(160deg, transparent 35%, var(--gold) 36% 39%, transparent 40%), linear-gradient(20deg, transparent 43%, var(--cream) 44% 46%, transparent 47%);
  transform: rotate(-8deg);
}
.hero > * { position: relative; z-index: 1; }
.hero h2 { max-width: 760px; margin: 10px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 5vw, 4.1rem); line-height: .98; }
.hero p { max-width: 720px; margin: 0; color: var(--cream-muted); font-size: clamp(.95rem, 2vw, 1.12rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 30px 2px 13px; }
.section-heading h2, .section-heading h3 { margin: 2px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 3vw, 2rem); }
.section-heading p { max-width: 580px; margin: 0; color: var(--cream-muted); font-size: .85rem; line-height: 1.45; }

.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.auto { grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }

.card {
  position: relative;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--panel-raised), var(--panel));
  box-shadow: 0 10px 35px rgba(0,0,0,.12);
}
.card.compact { padding: 15px; border-radius: var(--radius-sm); }
.card.selected { border-color: rgba(244,190,82,.7); box-shadow: 0 0 0 2px rgba(244,190,82,.11); }
.card.locked { opacity: .58; }
.card h3, .card h4 { margin: 0 0 6px; }
.card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.card p { margin: 6px 0; color: var(--cream-muted); line-height: 1.5; font-size: .9rem; }

.card-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.price { color: var(--gold); font-weight: 900; white-space: nowrap; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid rgba(244,190,82,.24);
  border-radius: 999px;
  background: rgba(244,190,82,.08);
  color: var(--gold);
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.tag.green { color: var(--success); border-color: rgba(100,214,154,.24); background: rgba(100,214,154,.08); }
.tag.red { color: var(--danger); border-color: rgba(255,118,95,.24); background: rgba(255,118,95,.08); }
.tag.blue { color: var(--blue); border-color: rgba(112,183,255,.25); background: rgba(112,183,255,.08); }

.button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(244,190,82,.28);
  border-radius: 12px;
  background: linear-gradient(145deg, var(--gold), #d99c31);
  color: #172017;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(244,190,82,.1);
}
.button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button.secondary { background: rgba(255,255,255,.04); color: var(--cream); border-color: var(--line); box-shadow: none; }
.button.danger { background: rgba(255,118,95,.12); color: var(--danger); border-color: rgba(255,118,95,.32); box-shadow: none; }
.button.success { background: rgba(100,214,154,.14); color: var(--success); border-color: rgba(100,214,154,.34); box-shadow: none; }
.button:disabled { opacity: .42; cursor: not-allowed; filter: none; transform: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.stat-box { padding: 10px; border-radius: 11px; background: rgba(0,0,0,.16); }
.stat-box span { display: block; color: var(--cream-muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; }
.stat-box strong { display: block; margin-top: 2px; font-size: .96rem; }

.meter { height: 8px; margin-top: 8px; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.07); }
.meter > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }
.meter.green > span { background: linear-gradient(90deg, #2d8f5c, var(--success)); }
.meter.red > span { background: linear-gradient(90deg, #a83a2d, var(--danger)); }

.profile-line { display: flex; align-items: center; gap: 12px; }
.avatar {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(244,190,82,.24), rgba(28,85,72,.65));
  color: var(--cream);
  font-family: Georgia, serif;
  font-weight: 900;
  font-size: 1.1rem;
}
.profile-line h3, .profile-line h4 { margin: 0; }
.profile-line p { margin: 2px 0 0; }

.opportunity-card { border-color: rgba(244,190,82,.3); }
.opportunity-card .stakes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0; }
.stakes > div { padding: 13px; border-radius: 12px; background: rgba(0,0,0,.16); }
.stakes strong { display: block; }
.stakes span { color: var(--cream-muted); font-size: .75rem; }

.news-list { display: grid; gap: 10px; }
.news-item { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 13px; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-day { color: var(--gold); font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.news-item h4 { margin: 0 0 4px; }
.news-item p { margin: 0; }

.choice-list { display: grid; gap: 10px; margin-top: 14px; }
.choice-button { width: 100%; padding: 14px; text-align: left; border-radius: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.03); cursor: pointer; }
.choice-button:hover { border-color: rgba(244,190,82,.4); background: rgba(244,190,82,.07); }
.choice-button strong { display: block; margin-bottom: 3px; }
.choice-button span { color: var(--cream-muted); font-size: .82rem; }

.calendar-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.month-picker { display: flex; flex-wrap: wrap; gap: 7px; }
.month-button { min-width: 54px; min-height: 38px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.025); cursor: pointer; }
.month-button.active { color: var(--ink); background: var(--gold); border-color: var(--gold); font-weight: 900; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.weekday { padding: 6px 2px; color: var(--cream-muted); text-align: center; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.calendar-day, .calendar-blank { min-height: 62px; border-radius: 11px; }
.calendar-day { position: relative; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255,255,255,.026); }
.calendar-day.done { border-color: rgba(100,214,154,.38); background: rgba(100,214,154,.09); }
.calendar-day.today { color: var(--ink); border-color: var(--gold); background: var(--gold); font-weight: 900; }
.calendar-day.future { opacity: .72; }
.calendar-day small { position: absolute; bottom: 5px; font-size: .55rem; font-weight: 900; letter-spacing: .08em; }

.season-spring { --season: #91d69b; }
.season-summer { --season: #ffd35f; }
.season-autumn { --season: #e58c47; }
.season-winter { --season: #80bde5; }
.season-banner { margin: 0 0 15px; padding: 11px 14px; border-left: 4px solid var(--season); background: color-mix(in srgb, var(--season) 10%, transparent); border-radius: 0 10px 10px 0; color: var(--season); font-weight: 800; }

.casino-table {
  padding: clamp(20px, 4vw, 38px);
  border: 8px solid #4c2815;
  border-radius: 50% / 20%;
  background: radial-gradient(ellipse at center, #17614c 0%, #0f4638 64%, #0a3228 100%);
  box-shadow: inset 0 0 50px rgba(0,0,0,.45), var(--shadow);
  text-align: center;
}
.playing-cards { min-height: 106px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.playing-card { width: 64px; height: 92px; display: grid; place-items: center; border-radius: 9px; background: #fff8e9; color: #171713; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 900; box-shadow: 0 7px 15px rgba(0,0,0,.3); }
.playing-card.red-card { color: #b72f29; }
.roulette-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0; }
.roulette-choice { min-width: 74px; min-height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.18); cursor: pointer; }
.roulette-choice.selected { outline: 2px solid var(--gold); outline-offset: 2px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--cream-muted); font-size: .75rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(0,0,0,.22);
  color: var(--cream);
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

.segmented { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 16px; }
.segment { min-height: 40px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); cursor: pointer; }
.segment.active { color: var(--ink); background: var(--cream); border-color: var(--cream); font-weight: 900; }

.crossplay-safety { margin-top: 16px; border-color: rgba(120,184,217,.32); }
.crossplay-code-form { display: grid; gap: 12px; }
.crossplay-code-form textarea { overflow-wrap: anywhere; }
.crossplay-code {
  margin: 12px 0;
  padding: 12px;
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0,0,0,.22);
}
.crossplay-code span { color: var(--cream-muted); font-size: .65rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.crossplay-code code { color: var(--cream); font-size: .78rem; font-weight: 750; overflow-wrap: anywhere; user-select: all; }
.crossplay-twist { margin-top: 16px; padding: 14px; border-radius: 13px; background: rgba(255,118,95,.07); border: 1px solid rgba(255,118,95,.18); }
.crossplay-twist h3 { margin-top: 5px; }
.crossplay-crew { width: 100%; color: inherit; text-align: left; cursor: pointer; }
.crossplay-crew:hover { border-color: rgba(244,190,82,.4); }
.crossplay-selection { display: block; margin-top: 8px; color: var(--gold); font-size: .76rem; font-weight: 850; }
.crossplay-approach { margin-top: 18px; }
.crossplay-receipt { margin-top: 18px; }
.crossplay-receipt.success-border { border-color: rgba(100,214,154,.42); }
.crossplay-receipt.danger-border { border-color: rgba(255,118,95,.42); }
.crossplay-comparison { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.crossplay-comparison h3 { margin-top: 10px; }
.crossplay-footnote { margin-top: 12px; font-size: .8rem; }

.day-dock {
  position: fixed;
  z-index: 25;
  left: calc(255px + clamp(20px, 4vw, 58px));
  right: clamp(20px, 4vw, 58px);
  bottom: 18px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(244,190,82,.24);
  border-radius: 17px;
  background: rgba(7, 24, 20, .91);
  backdrop-filter: blur(22px);
  box-shadow: 0 16px 45px rgba(0,0,0,.35);
}
.day-dock p { margin: 0 0 0 6px; color: var(--cream-muted); font-size: .8rem; }
.day-dock strong { color: var(--cream); }

.mobile-nav { display: none; }

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 9, 8, .76);
  backdrop-filter: blur(18px);
}
.modal {
  width: min(680px, 100%);
  max-height: min(88dvh, 820px);
  overflow-y: auto;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(244,190,82,.24);
  border-radius: 25px;
  background: linear-gradient(150deg, #123b32, #081b18 66%);
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
}
.modal.wide { width: min(900px, 100%); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.modal h2 { margin: 4px 0 8px; font-family: Georgia, serif; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.modal p { color: var(--cream-muted); line-height: 1.55; }
.close-button { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04); cursor: pointer; }

.creation-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.creation-option { padding: 13px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.025); cursor: pointer; text-align: left; }
.creation-option.selected { border-color: var(--gold); background: rgba(244,190,82,.1); }
.creation-option strong { display: block; }
.creation-option span { display: block; margin-top: 3px; color: var(--cream-muted); font-size: .78rem; line-height: 1.35; }

.toast-root { position: fixed; z-index: 150; right: 20px; top: 20px; display: grid; gap: 8px; pointer-events: none; }
.toast { max-width: 350px; padding: 12px 15px; border-radius: 12px; background: var(--cream); color: var(--ink); box-shadow: var(--shadow); font-weight: 750; animation: toast-in .22s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }

.empty-state { padding: 34px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--cream-muted); }
.divider { height: 1px; margin: 18px 0; background: var(--line); }
.muted { color: var(--cream-muted); }
.positive { color: var(--success); }
.negative { color: var(--danger); }
.gold { color: var(--gold); }
.hidden { display: none !important; }
.noscript { margin: 20px; padding: 20px; background: #fff; color: #111; }

@media (max-width: 1080px) {
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .sidebar { display: none; }
  .game-column { margin-left: 0; padding: 0 14px calc(164px + var(--safe-bottom)); }
  .topbar { min-height: 78px; position: sticky; top: 0; z-index: 20; background: rgba(6,21,18,.84); backdrop-filter: blur(20px); }
  .topbar h1 { font-size: 1.7rem; }
  .status-strip { margin: 12px -2px 15px; display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .status-strip::-webkit-scrollbar { display: none; }
  .status-item { flex: 0 0 112px; scroll-snap-align: start; }
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .hero { padding: 25px 20px; border-radius: 21px; }
  .hero h2 { font-size: 2.35rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 5px; margin-top: 25px; }
  .section-heading p { font-size: .82rem; }
  .opportunity-card .stakes { grid-template-columns: 1fr; }
  .form-grid, .creation-options { grid-template-columns: 1fr; }
  .calendar-grid { gap: 4px; }
  .calendar-day, .calendar-blank { min-height: 48px; border-radius: 8px; }
  .calendar-day small { display: none; }
  .casino-table { border-width: 5px; border-radius: 24px; }
  .day-dock {
    left: 10px;
    right: 10px;
    bottom: calc(72px + var(--safe-bottom));
    padding: 8px;
    border-radius: 14px;
  }
  .day-dock p { max-width: 52%; font-size: .71rem; }
  .day-dock .button { padding-inline: 12px; }
  .mobile-nav {
    position: fixed;
    z-index: 40;
    inset: auto 0 0 0;
    height: calc(64px + var(--safe-bottom));
    padding: 6px 4px var(--safe-bottom);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid var(--line);
    background: rgba(5,18,15,.95);
    backdrop-filter: blur(22px);
  }
  .mobile-nav .nav-button { min-height: 52px; padding: 5px 2px; display: grid; place-items: center; gap: 0; text-align: center; border-radius: 10px; }
  .mobile-nav .nav-icon { width: auto; font-size: 1rem; }
  .mobile-nav .nav-label { font-size: .58rem; }
  .news-item { grid-template-columns: 58px 1fr; }
  .toast-root { left: 14px; right: 14px; top: 12px; }
  .toast { max-width: none; }
}

@media (max-width: 390px) {
  .mobile-nav .nav-label { display: block; font-size: .51rem; }
  .mobile-nav .nav-icon { font-size: 1rem; }
  .status-item { flex-basis: 103px; padding-inline: 10px; }
  .button-row .button { flex: 1 1 130px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(244,234,208,.35); }
  .card, .status-item, .day-dock { border-width: 2px; }
}
