/* Stay Storm base styles, shared by the hub and every tool. */
:root {
  color-scheme: dark;
  --bg: #0a1020;          /* night storm */
  --bg-2: #18233d;
  --card: rgba(15, 21, 37, .8);
  --text: #eef2fb;
  --muted: #9fb0cc;
  --border: rgba(140, 170, 220, .22);
  --gold: #f6c343;        /* doubloons / Falcon yellow */
  --gold-dark: #b8860b;
  --red: #e23b2e;         /* Falcon red */
  --red-dark: #8f1d16;
  --bolt: #7cc4ff;        /* lightning */
  --error: #ff7b7b;
  --display: "Pirata One", Georgia, serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% -10%, var(--bg-2), var(--bg) 70%) fixed;
  color: var(--text);
  font: 16px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
  padding: 16px;
}
.page, .auth { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; }
h1 { margin: 0; font-size: 2rem; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
h2 { margin: 0 0 12px; font-size: 1.5rem; color: var(--gold); }
a { color: inherit; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

button {
  font: inherit;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 8px 14px;
}
button:hover { border-color: var(--bolt); }
button.primary {
  background: linear-gradient(var(--red), var(--red-dark));
  border-color: var(--gold); color: #fff; font-weight: 700;
}
button.link { background: none; border: none; color: var(--muted); text-decoration: underline; padding: 4px; }
button:disabled { opacity: .6; cursor: default; }
.muted { color: var(--muted); }

/* Raccoon-tail stripes, used as a divider */
.raccoon-stripe {
  height: 6px; border-radius: 3px; margin: 0 0 16px;
  background: repeating-linear-gradient(90deg, #1d1f24 0 16px, #8e9099 16px 32px);
  opacity: .8;
}

/* Auth */
.auth { margin-top: 10vh; max-width: 360px; }
.auth h1 { text-align: center; font-size: 2.6rem; }
.auth .tagline { text-align: center; margin: 0 0 16px; color: var(--muted); }
.auth label { display: block; margin-bottom: 12px; font-size: .9rem; color: var(--muted); }
.auth input {
  display: block; width: 100%; margin-top: 4px; padding: 10px;
  font: inherit; border-radius: 8px; border: 1px solid var(--border);
  background: rgba(0,0,0,.35); color: var(--text);
}
.auth input:focus { outline: 2px solid var(--bolt); outline-offset: 0; }
.row { display: flex; gap: 8px; }
.row button { flex: 1; }
.error { color: var(--error); min-height: 1.2em; margin: 0 0 8px; font-size: .9rem; }

/* Header */
header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 8px; flex-wrap: wrap; }
header .title { display: flex; flex-direction: column; }
.brand { color: var(--gold); font-family: var(--display); font-size: 1.1rem; text-decoration: none; }
.brand:hover { color: var(--bolt); }
.who { color: var(--muted); display: flex; align-items: center; gap: 4px; }
.who-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(0, 0, 0, .3);
}
.who-link:hover { border-color: var(--gold); }
#username { font-weight: 600; color: var(--text); }
.wallet-chip { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.daily-badge {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; text-decoration: none;
  background: rgba(246, 195, 67, .18); border: 1px solid var(--gold); font-size: 1rem;
  animation: badge-bob 1.6s ease-in-out infinite;
}
@keyframes badge-bob { 50% { transform: translateY(-3px) rotate(-8deg); } }
@media (prefers-reduced-motion: reduce) { .daily-badge { animation: none; } }

/* Daily bounties (added by shared.js): a chip by the wallet, and a toast when one's paid */
.bounty-chip {
  display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 999px; text-decoration: none;
  background: rgba(124, 196, 255, .14); border: 1px solid rgba(124, 196, 255, .6); color: var(--text); font-size: .82rem; font-weight: 800;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.bounty-chip:hover { border-color: var(--bolt); background: rgba(124, 196, 255, .24); }
.bounty-toast {
  position: fixed; left: 50%; top: calc(var(--top-bar-h, 0px) + 12px); z-index: 120; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - 24px); padding: 10px 16px;
  border-radius: 12px; border: 2px solid #5fd36a; background: #10241a; color: var(--text); text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.55), 0 0 20px rgba(95, 211, 106, .35); font-size: .92rem;
  animation: toast-in .35s ease-out; transition: opacity .6s, transform .6s;
}
.bounty-toast.out { opacity: 0; transform: translate(-50%, -12px); }
.bounty-toast strong { color: #8ef0a8; }
.bt-icon { font-size: 1.4rem; }
.bt-reward { font-weight: 800; color: var(--gold); white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -16px); } }
@media (prefers-reduced-motion: reduce) { .bounty-toast { animation: none; transition: none; } }

/* The strip stuck to the top of every page (added by shared.js): the crew bar,
   then the toss countdown when there is one. */
.site-top { position: sticky; top: 0; z-index: 60; margin: -16px -16px 16px; }
/* Jumping to something on the page (links, focus, scrollIntoView) stops below the strip, not under it. */
html { scroll-padding-top: calc(var(--top-bar-h, 0px) + 8px); }
.crew-bar {
  padding: 6px 16px; background: rgba(8, 12, 26, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(246, 195, 67, .35); box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.crew-bar-inner { max-width: 980px; margin: 0 auto; display: flex; gap: 4px 12px; justify-content: space-between; align-items: center; }
.cb-links { display: flex; gap: 4px; }
.crew-bar a.cb-home { color: var(--gold); font-family: var(--display); font-weight: 400; font-size: 1.15rem; padding: 2px 12px; }
.crew-bar a {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: .88rem; border: 1px solid transparent;
}
.crew-bar a:hover, .crew-bar a:focus-visible { border-color: var(--gold); background: rgba(246, 195, 67, .12); color: var(--gold); outline: none; }
.crew-bar a[aria-current="page"] { color: var(--gold); background: rgba(246, 195, 67, .16); border-color: rgba(246, 195, 67, .5); }
.crew-bar .cb-here { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; font-size: .7rem; line-height: 18px; text-align: center; background: #5fd36a; color: #0b2412; }
.crew-bar .cb-here[hidden] { display: none; }
.crew-bar .cb-unread { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; font-size: .7rem; line-height: 18px; text-align: center; background: var(--gold); color: #2b2118; }
@media (max-width: 560px) {
  /* Equal tabs: icon on top, name underneath */
  .crew-bar { padding: 4px 6px; }
  /* Six equal tabs: home, then the five apps */
  .cb-links { display: contents; }
  .crew-bar-inner { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; }
  .crew-bar a, .crew-bar a.cb-home { flex-direction: column; gap: 1px; padding: 4px 2px; border-radius: 10px; font-size: .7rem; line-height: 1.15; white-space: normal; text-align: center; }
  .crew-bar .cb-icon { font-size: 1.25rem; }
  .crew-bar .cb-here { position: absolute; top: 0; right: 2px; }
  .crew-bar .cb-unread { position: absolute; top: 0; left: 2px; }
}

/* "Back to your table" (added by shared.js, under the crew bar) */
.table-strip { display: flex; flex-direction: column; background: linear-gradient(90deg, #5a3d12, #7a5518 50%, #5a3d12); border-bottom: 1px solid var(--gold); }
.table-strip[hidden] { display: none; }
.table-strip a {
  display: flex; align-items: center; gap: 10px; max-width: 980px; width: 100%; margin: 0 auto; padding: 7px 16px;
  color: #fff3d6; text-decoration: none; font-size: .9rem;
}
.table-strip a + a { border-top: 1px solid rgba(246, 195, 67, .3); }
.table-strip .ts-icon { font-size: 1.1rem; }
.table-strip .ts-what { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-strip strong { color: var(--gold); }
.table-strip .ts-game { opacity: .75; font-size: .8rem; }
.table-strip .ts-go { flex: none; padding: 3px 12px; border-radius: 999px; background: var(--gold); color: #2b2118; font-weight: 800; font-size: .8rem; }
.table-strip a:hover .ts-go, .table-strip a:focus-visible .ts-go { background: #fff; }
.table-strip a:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* Raccoon Toss countdown banner (added by shared.js, inside .site-top) */
.toss-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap;
  padding: 10px 16px;
  background: linear-gradient(90deg, var(--red-dark), var(--red) 45%, #b3361f);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .45);
  color: #fff; text-decoration: none; font-size: .95rem;
}
.toss-banner:hover { filter: brightness(1.1); }
.toss-banner:focus-visible { outline: 2px solid var(--bolt); outline-offset: -4px; }
.toss-banner .tb-time { font-variant-numeric: tabular-nums; color: var(--gold); }
.toss-banner .tb-cta {
  font-family: var(--display); font-size: 1.2rem; color: var(--gold); white-space: nowrap;
}
.toss-banner.soon { animation: tb-pulse 1s ease-in-out infinite; }
@keyframes tb-pulse { 50% { box-shadow: 0 0 24px rgba(246, 195, 67, .7); } }
@media (prefers-reduced-motion: reduce) { .toss-banner.soon { animation: none; } }

/* Dick of the Week winner banner (added by shared.js, just under .site-top) */
.dotw-banner {
  position: relative; z-index: 51;
  display: flex; justify-content: space-between; align-items: center; gap: 8px 16px;
  margin: -16px -16px 16px; padding: 10px 16px;
  background: linear-gradient(90deg, #3d1a5c, #6b2fa0 50%, #3d1a5c);
  border-bottom: 2px solid var(--gold); box-shadow: 0 4px 18px rgba(0, 0, 0, .45);
  color: #fff; text-decoration: none; font-size: .95rem;
}
.dotw-banner:hover { filter: brightness(1.1); }
.dotw-banner strong { color: var(--gold); }
.dotw-banner .db-reason { font-style: italic; opacity: .9; margin-left: 4px; }
.db-close { border: none; background: none; color: #fff; font-size: 1.4rem; line-height: 1; padding: 0 6px; flex: none; }

/* Crew chat button (added by shared.js; the chat itself is /chat/) */
.chat-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 80; width: 54px; height: 54px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  font-size: 1.5rem; background: linear-gradient(var(--red), var(--red-dark)); border: 2px solid var(--gold);
  box-shadow: 0 6px 18px rgba(0,0,0,.5);
}
.chat-fab:hover { border-color: #ffe08a; }
.chat-badge {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--gold); color: #2b2118; font-size: .75rem; font-weight: 800; line-height: 22px; text-align: center;
}
.chat-badge.mention, .crew-bar .cb-unread.mention { background: #f23f43; color: #fff; }
/* The little header and × the voice and who's-online panels share */
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--border); }
.chat-head strong { font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: var(--gold); }
.chat-close { border: none; background: none; font-size: 1.4rem; line-height: 1; padding: 2px 8px; color: var(--muted); }
/* Voice chat (added by voice.js), beside the chat button; its panel opens where chat's does */
.voice-fab {
  position: fixed; right: 80px; bottom: 16px; z-index: 80; width: 54px; height: 54px; padding: 0; border-radius: 50%;
  font-size: 1.4rem; background: #121a2e; border: 2px solid var(--border); box-shadow: 0 6px 18px rgba(0,0,0,.5);
}
.voice-fab:hover { border-color: var(--bolt); }
.voice-fab.live { background: linear-gradient(#2e9e4f, #16602d); border-color: #8ef0a8; }
.voice-fab.talking { box-shadow: 0 0 0 4px rgba(142, 240, 168, .55), 0 6px 18px rgba(0,0,0,.5); }
.voice-fab.attention { animation: voice-pulse 1.2s ease-in-out infinite; }
@keyframes voice-pulse { 50% { box-shadow: 0 0 0 8px rgba(246, 195, 67, .45), 0 6px 18px rgba(0,0,0,.5); } }
.voice-count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: #5fd36a; color: #0b2412; font-size: .75rem; font-weight: 800; line-height: 22px; text-align: center;
}
.voice-panel {
  position: fixed; right: 16px; bottom: 80px; z-index: 80; width: 320px; max-height: calc(100vh - 110px);
  display: flex; flex-direction: column; border-radius: 16px; overflow: hidden;
  background: #0f1626; border: 2px solid rgba(142, 240, 168, .5); box-shadow: 0 14px 40px rgba(0,0,0,.6);
}
.voice-panel[hidden] { display: none; }
.voice-list { padding: 6px 10px; overflow-y: auto; }
.voice-channel { padding: 2px 0; }
.voice-channel ul { margin: 0 0 4px; padding: 0 0 0 14px; list-style: none; }
.voice-channel-name {
  display: flex; align-items: center; gap: 6px; width: 100%; padding: 6px 8px; border: none; border-radius: 6px; background: none;
  text-align: left; font-weight: 700; color: var(--muted);
}
.voice-channel-name:hover:not(:disabled) { background: rgba(255,255,255,.06); color: var(--text); }
.voice-channel-name:disabled { opacity: 1; cursor: default; }
.voice-channel.mine .voice-channel-name { color: #8ef0a8; }
.voice-join { margin-left: auto; font-size: .75rem; font-weight: 600; color: var(--bolt); }
.voice-more { flex: 1; text-align: center; padding: 6px; color: var(--bolt); text-decoration: none; font-weight: 600; }
.voice-more:hover { text-decoration: underline; }
.voice-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: .9rem; flex-wrap: wrap; }
.voice-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); flex: none; transition: background .1s, box-shadow .1s; }
.voice-row.speaking .voice-dot { background: #5fd36a; box-shadow: 0 0 8px #5fd36a; }
.voice-name { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.voice-row.me .voice-name { color: var(--bolt); }
.voice-state { font-size: .8rem; color: var(--muted); }
.voice-vol { flex: 1 1 100%; margin: 0 0 0 18px; accent-color: #5fd36a; height: 16px; }
.voice-empty { color: var(--muted); text-align: center; padding: 10px 0; }
.voice-status { margin: 0; padding: 0 12px; font-size: .85rem; color: var(--gold); }
.voice-status:not(:empty) { padding-bottom: 8px; }
.voice-actions { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--border); }
.voice-actions button { flex: 1; padding: 8px 6px; font-size: .85rem; }
@media (prefers-reduced-motion: reduce) { .voice-fab.attention { animation: none; } }

/* Who's online (added by shared.js), bottom left */
.online-pill {
  position: fixed; left: 16px; bottom: 16px; z-index: 80; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border-radius: 999px; background: #121a2e; border: 2px solid var(--border); box-shadow: 0 6px 18px rgba(0,0,0,.5); font-weight: 700; font-size: .85rem;
}
.online-pill:hover, .online-pill.open { border-color: #5fd36a; }
.online-dot { width: 10px; height: 10px; border-radius: 50%; background: #5fd36a; box-shadow: 0 0 6px #5fd36a; flex: none; }
.online-panel {
  position: fixed; left: 16px; bottom: 66px; z-index: 80; width: 300px; max-height: min(460px, calc(100vh - 100px));
  display: flex; flex-direction: column; border-radius: 16px; overflow: hidden;
  background: #0f1626; border: 2px solid rgba(95, 211, 106, .5); box-shadow: 0 14px 40px rgba(0,0,0,.6);
}
.online-panel[hidden] { display: none; }
.online-body { overflow-y: auto; padding: 4px 12px 10px; }
.online-list { margin: 0; padding: 0; list-style: none; }
.online-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.online-row:last-child { border-bottom: none; }
.online-row.away .online-dot { background: var(--gold); box-shadow: none; }
.online-row.offline .online-dot { background: rgba(255,255,255,.2); box-shadow: none; }
.online-row.offline .online-name { color: var(--muted); }
.online-name { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.online-where { font-size: .78rem; color: var(--muted); text-align: right; max-width: 55%; overflow-wrap: anywhere; }
a.online-where { color: var(--bolt); text-decoration: none; }
a.online-where:hover { text-decoration: underline; }
.online-sub { margin: 10px 0 2px; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.online-empty { color: var(--muted); text-align: center; padding: 10px 0; }

.scare-btn { flex: none; padding: 2px 6px; border-radius: 6px; font-size: 1rem; line-height: 1.2; background: rgba(226, 59, 46, .15); border-color: rgba(226, 59, 46, .5); }
.scare-btn:hover { background: rgba(226, 59, 46, .35); border-color: var(--red); }

/* A jump scare (added by shared.js): Cheadle's face fills the screen. */
.scare { position: fixed; inset: 0; z-index: 10000; background: #000; cursor: pointer; overflow: hidden; animation: scare-in .12s ease-out; }
.scare img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  filter: contrast(1.7) saturate(1.6) sepia(.35) hue-rotate(-25deg) brightness(1.05);
  transform: scale(1.35); animation: scare-shake .07s linear 40 alternate;
}
.scare-caption {
  position: absolute; left: 0; right: 0; bottom: 8%; text-align: center; padding: 0 16px;
  font-family: var(--display); font-size: clamp(2rem, 9vw, 5rem); color: #fff; text-shadow: 0 0 20px #f00, 0 4px 0 #000;
}
@keyframes scare-in { from { transform: scale(3); opacity: 0; } }
@keyframes scare-shake { from { transform: scale(1.35) translate(-6px, 4px) rotate(-1deg); } to { transform: scale(1.4) translate(6px, -4px) rotate(1deg); } }

/* Phones: a bottom sheet across the width of the screen */
@media (max-width: 560px) {
  .online-pill { left: 12px; bottom: 19px; }
  .online-panel { left: 8px; right: 8px; bottom: 76px; width: auto; }
  .chat-fab { right: 12px; bottom: 12px; }
  .voice-panel { left: 8px; right: 8px; bottom: 76px; width: auto; }
  .voice-fab { right: 74px; bottom: 12px; }
}

/* Pirate ships (drawn by /ship.js) */
.ship-svg { display: block; width: 100%; height: auto; }
.ship-svg.bob .ship-body { animation: ship-bob 4s ease-in-out infinite; transform-origin: 150px 180px; }
@keyframes ship-bob { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(3px) rotate(1.2deg); } }
@media (prefers-reduced-motion: reduce) { .ship-svg.bob .ship-body { animation: none; } }

/* Stat tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.tile { margin: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.tile .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tile .value { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.tile .note { font-size: .8rem; color: var(--muted); }
@media (max-width: 480px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tile { padding: 10px; }
  .tile .value { font-size: 1.3rem; overflow-wrap: anywhere; }
}

/* Award cards */
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.award { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; }
.award .icon { font-size: 2rem; grid-row: span 3; }
.award .title { font-family: var(--display); font-size: 1.3rem; color: var(--gold); line-height: 1.1; }
.award .winner { font-weight: 700; }
.award .why { font-size: .8rem; color: var(--muted); }

/* Storm overlay: rain plus the odd lightning flash. Add <div class="storm"> to a page. */
.storm { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.storm::before {
  content: ""; position: absolute; inset: -20%;
  transform: rotate(12deg);
  background-image:
    radial-gradient(1px 16px at 20% 30%, rgba(200, 220, 255, .45), transparent),
    radial-gradient(1px 22px at 70% 60%, rgba(200, 220, 255, .35), transparent),
    radial-gradient(1px 12px at 45% 85%, rgba(200, 220, 255, .3), transparent);
  background-size: 90px 140px, 130px 190px, 60px 110px;
  animation: rain .6s linear infinite;
  opacity: .7;
}
.storm::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 0%, rgba(190, 220, 255, .55), transparent 60%);
  opacity: 0;
  animation: lightning 11s infinite;
}
@keyframes rain {
  to { background-position: 0 140px, 0 190px, 0 110px; }
}
@keyframes lightning {
  0%, 90%, 92.5%, 95%, 100% { opacity: 0; }
  91% { opacity: .8; }
  94% { opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
  .storm::before, .storm::after { animation: none; }
}

/* Battery saver (switched on per device from the account page; see shared.js).
   The rain stands still and the lightning stays off, nothing loops forever,
   and cards get a solid background instead of blurring whatever's behind them,
   which would otherwise be redrawn every frame. */
.battery-saver .storm::before, .battery-saver .storm::after { animation: none; }
.battery-saver *, .battery-saver *::before, .battery-saver *::after { animation-iteration-count: 1 !important; }
.battery-saver * { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.battery-saver .card { background: rgba(15, 21, 37, .95); }
.battery-saver .crew-bar { background: rgb(8, 12, 26); }
