/* PokéTime website. Poké Ball red, Pikachu yellow, Pokédex blue; art from the game's own UI. */
:root {
  --red: #e3350d;
  --red-dark: #b0270a;
  --yellow: #ffcb05;
  --yellow-dark: #c7a008;
  --blue: #2a75bb;
  --blue-dark: #1b4f86;
  --navy: #14213d;
  --ink: #1c2333;
  --muted: #5b6478;
  --paper: #fffaf0;
  --card: #ffffff;
  --line: #e7dfcf;
  --green: #3fb950;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 33, 61, .18);
  --head: "Luckiest Guy", "Arial Black", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
[hidden] { display: none !important; }

/* ---------- Poké Ball mark ---------- */
.ball {
  --s: 34px;
  position: relative;
  width: var(--s); height: var(--s);
  border-radius: 50%;
  border: calc(var(--s) * .08) solid var(--navy);
  background: linear-gradient(var(--red) 0 46%, var(--navy) 46% 54%, #fff 54%);
  flex: none;
  box-shadow: inset -3px -3px 0 rgba(0,0,0,.12);
}
.ball::after {
  content: "";
  position: absolute; inset: 50% auto auto 50%;
  width: 36%; height: 36%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  border: calc(var(--s) * .08) solid var(--navy);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 3px solid var(--navy);
  font: 800 16px/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 4px 0 var(--navy);
  transition: transform .08s, box-shadow .08s, filter .15s;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--navy); }
.btn:focus-visible, .tab:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.btn small { display: block; font-size: 12px; font-weight: 700; opacity: .85; }
.btn small:empty { display: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-yellow { background: var(--yellow); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-white { background: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; box-shadow: none; }
.btn-ghost:active { transform: none; }
.btn-ghost-dark { background: transparent; box-shadow: none; }
.btn-big { padding: 14px 26px; font-size: 18px; text-align: left; }
.btn-wide { width: 100%; }
.btn-icon { font-size: 22px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 10px clamp(16px, 4vw, 40px);
  background: var(--red);
  border-bottom: 4px solid var(--navy);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text {
  font: 28px/1 var(--head);
  letter-spacing: 1px;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--blue-dark);
  paint-order: stroke fill;
  text-shadow: 0 3px 0 var(--navy);
}
.nav-links { display: flex; gap: 22px; margin-right: auto; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 800; }
.nav-links a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav-actions { display: flex; gap: 10px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(760px, 92vh);
  display: grid; place-items: center;
  padding: 60px 16px 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero-sky {
  position: absolute; inset: 0; z-index: -2;
  background: url(/img/hero-island.webp) center 30% / cover no-repeat;
}
.hero-sky::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(20,33,61,.15), rgba(20,33,61,.55) 75%),
              linear-gradient(transparent 70%, var(--paper));
}
.hero-content { max-width: 720px; text-align: center; color: #fff; }
.hero-kicker {
  display: inline-block; margin: 0 0 6px;
  padding: 4px 14px; border-radius: 999px;
  background: rgba(20,33,61,.7); border: 2px solid var(--yellow);
  font-weight: 800; letter-spacing: .5px;
}
.logo-text {
  margin: 0;
  font: clamp(64px, 13vw, 150px)/.95 var(--head);
  letter-spacing: 2px;
  color: var(--yellow);
  -webkit-text-stroke: clamp(6px, 1.2vw, 12px) var(--blue-dark);
  paint-order: stroke fill;
  text-shadow: 0 clamp(6px, 1vw, 10px) 0 var(--navy), 0 20px 40px rgba(0,0,0,.35);
  transform: rotate(-3deg);
}
.hero-lead {
  margin: 18px auto 26px; max-width: 560px;
  font-size: clamp(17px, 2.2vw, 21px); font-weight: 800;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trainer {
  position: absolute; bottom: 0; z-index: -1;
  height: min(78%, 560px); width: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.35));
}
.hero-ash { left: max(-40px, 2vw); }
.hero-misty { right: max(-30px, 3vw); }
.float { position: absolute; width: 110px; height: auto; z-index: -1; animation: bob 4s ease-in-out infinite; }
.float-1 { top: 14%; left: 20%; }
.float-2 { top: 20%; right: 20%; width: 90px; animation-delay: -2s; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(6deg); } }

/* ---------- sections ---------- */
section { padding: 56px clamp(16px, 4vw, 40px); scroll-margin-top: 70px; }
.section-title {
  margin: 0 0 26px; text-align: center;
  font: clamp(34px, 5vw, 48px)/1 var(--head);
  letter-spacing: 1px;
  color: var(--blue);
  -webkit-text-stroke: 1.5px var(--navy);
  paint-order: stroke fill;
  text-shadow: 0 4px 0 var(--yellow);
}

/* servers */
.servers { margin-top: -70px; position: relative; z-index: 2; scroll-margin-top: 150px; }
.server-list { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.server-card {
  display: flex; align-items: center; gap: 14px;
  min-width: 260px; padding: 16px 20px;
  background: var(--card); border: 3px solid var(--navy); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--navy);
}
.server-card.loading { color: var(--muted); justify-content: center; }
.server-name { font: 24px/1 var(--head); letter-spacing: .5px; }
.server-meta { color: var(--muted); font-size: 14px; }
.server-tag { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 900; vertical-align: 3px; }
.dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--navy); flex: none; background: #aab; }
.dot.online { background: var(--green); box-shadow: 0 0 0 4px rgba(63,185,80,.25); }
.dot.busy, .dot.full { background: var(--yellow); }
.dot.maintenance, .dot.offline { background: var(--red); }

/* feature cards */
.cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  max-width: 1180px; margin: 0 auto;
}
.card {
  --type: var(--blue);
  background: var(--card);
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 10px 10px 16px;
  box-shadow: 0 6px 0 var(--navy);
  transition: transform .2s;
}
.card:nth-child(odd) { transform: rotate(-1.2deg); }
.card:nth-child(even) { transform: rotate(1.2deg); }
.card:hover { transform: translateY(-6px) rotate(0); }
.card img { width: 100%; height: auto; border-radius: 12px; border: 3px solid var(--type); aspect-ratio: 314 / 390; object-fit: cover; }
.card h3 { margin: 12px 6px 4px; font: 22px/1.1 var(--head); letter-spacing: .5px; color: var(--type); -webkit-text-stroke: .5px var(--navy); }
.card p { margin: 0 6px; color: var(--muted); font-size: 15px; }
.card-fire { --type: #ee8130; }
.card-fight { --type: #c22e28; }
.card-dragon { --type: #6f35fc; }
.card-psychic { --type: #f95587; }
.card-normal { --type: #b8a038; }

/* steps */
.start { background: linear-gradient(var(--paper), #fdf1d6); }
.steps {
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; gap: 22px; max-width: 1080px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.step {
  position: relative;
  padding: 34px 22px 22px;
  background: var(--card); border: 3px solid var(--navy); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--navy);
}
.step h3 { margin: 0 0 8px; font: 24px/1.1 var(--head); letter-spacing: .5px; color: var(--red); }
.step p { margin: 0 0 16px; color: var(--muted); }
.step-ball {
  position: absolute; top: -24px; left: 20px;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font: 22px/1 var(--head); color: var(--navy);
  border: 3px solid var(--navy);
  background: linear-gradient(var(--red) 0 44%, var(--navy) 44% 56%, #fff 56%);
  text-shadow: 0 0 4px #fff, 0 0 4px #fff, 0 0 2px #fff;
}

/* ---------- account ---------- */
.account-hero {
  position: relative; isolation: isolate;
  min-height: calc(100vh - 64px);
  padding-top: 40px; padding-bottom: 60px;
}
.account-sky {
  position: absolute; inset: 0; z-index: -1;
  background: url(/img/island-2.webp) center / cover no-repeat;
}
.account-sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20,33,61,.35), rgba(20,33,61,.15) 40%, var(--paper) 95%); }

/* Pokédex-style login box */
.dex {
  max-width: 440px; margin: 0 auto;
  background: var(--red);
  border: 4px solid var(--navy); border-radius: 26px 26px 26px 60px;
  box-shadow: var(--shadow), 0 8px 0 var(--navy);
  padding: 16px 18px 22px;
}
.dex-top { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.dex-lens {
  width: 54px; height: 54px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #bfe6ff, #3aa0e8 45%, #155a9a);
  border: 5px solid #fff; outline: 3px solid var(--navy);
  margin-right: 8px;
}
.dex-led { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--navy); align-self: flex-start; }
.dex-led.red { background: #ff5a5a; } .dex-led.yellow { background: var(--yellow); } .dex-led.green { background: #5fd35f; }
.dex-screen { background: #f4f7f2; border: 3px solid var(--navy); border-radius: 14px; padding: 16px; }

.tabs { display: flex; gap: 6px; margin-bottom: 14px; background: #e3e8df; padding: 4px; border-radius: 999px; }
.tab {
  flex: 1; padding: 8px; border: 0; border-radius: 999px; cursor: pointer;
  font: 800 15px var(--body); color: var(--muted); background: transparent;
}
.tab[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: 0 2px 0 var(--navy); }

.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 4px; font-weight: 800; font-size: 14px; }
.form input {
  font: 700 16px var(--body); color: var(--ink);
  padding: 10px 12px; border-radius: 10px;
  border: 2px solid #b9c2b2; background: #fff;
}
.form input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(42,117,187,.25); }
.form-error { margin: 0; color: var(--red-dark); font-weight: 800; min-height: 0; }
.form-error:empty { display: none; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }

/* trainer card */
.trainer { max-width: 900px; margin: 0 auto; display: grid; gap: 22px; }
.trainer-card {
  background: linear-gradient(135deg, #ffe680, var(--yellow) 60%, #f3b800);
  border: 4px solid var(--navy); border-radius: 22px;
  box-shadow: var(--shadow), 0 8px 0 var(--navy);
  overflow: hidden;
}
.trainer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px; background: var(--red); border-bottom: 4px solid var(--navy);
}
.trainer-title { font: 30px/1 var(--head); color: #fff; letter-spacing: 1px; text-shadow: 0 3px 0 var(--navy); }
.trainer-badge { width: 54px; height: auto; }
.trainer-body { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 18px; align-items: end; }
.trainer-pic { width: 100%; height: auto; filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.trainer-info { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; align-self: center; }
.trainer-info dt { font-weight: 900; color: var(--blue-dark); text-transform: uppercase; font-size: 13px; letter-spacing: .5px; padding-top: 3px; }
.trainer-info dd { margin: 0; font-weight: 800; font-size: 17px; border-bottom: 2px dashed rgba(20,33,61,.25); padding-bottom: 6px; overflow-wrap: anywhere; }
#t-name { font: 28px/1 var(--head); letter-spacing: .5px; color: var(--navy); }

.panel {
  background: var(--card); border: 3px solid var(--navy); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--navy); padding: 18px 20px;
}
.panel-title { margin: 0 0 12px; font: 26px/1 var(--head); color: var(--red); letter-spacing: .5px; }
.chars { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.char {
  display: grid; gap: 2px;
  padding: 12px 14px; border-radius: 14px;
  border: 2px solid var(--line); background: #fffdf7;
}
.char-name { font: 22px/1.1 var(--head); letter-spacing: .5px; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.char-server { color: var(--blue); font-weight: 900; font-size: 14px; }
.char-stats { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.pill { padding: 2px 10px; border-radius: 999px; background: #eef3fb; border: 2px solid #cfdcef; font-size: 13px; font-weight: 900; color: var(--blue-dark); }
.pill.vip { background: #fff4c2; border-color: #f0d36b; color: #8a6a00; }
.char-when { color: var(--muted); font-size: 13px; }
.online-tag { font: 800 12px var(--body); color: #fff; background: var(--green); border-radius: 999px; padding: 1px 8px; }
.empty { color: var(--muted); margin: 0; }

.panel-actions { display: grid; gap: 10px; }
.action { border: 2px solid var(--line); border-radius: 14px; padding: 10px 14px; background: #fffdf7; }
.action summary { cursor: pointer; font-weight: 900; color: var(--blue-dark); }
.action[open] summary { margin-bottom: 12px; }
.action .form { max-width: 380px; }
.action-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50;
  transform: translateX(-50%);
  padding: 12px 20px; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 800;
  border: 3px solid var(--yellow);
  box-shadow: var(--shadow);
  max-width: calc(100vw - 32px); text-align: center;
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  padding: 120px clamp(16px, 4vw, 40px) 26px;
  background: url(/img/meadow.webp) center 30% / cover no-repeat;
  color: #fff;
}
.footer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--paper), transparent 25%, rgba(20,33,61,.82) 70%); }
.footer-inner { position: relative; max-width: 900px; margin: 0 auto; display: grid; gap: 10px; justify-items: center; text-align: center; }
.footer p { margin: 0; font-size: 13px; opacity: .9; }

/* ---------- small screens ---------- */
@media (max-width: 1180px) {
  .hero-trainer { height: min(62%, 440px); }
  .hero-ash { left: -70px; }
  .hero-misty { right: -60px; }
  .float-1 { left: 8%; } .float-2 { right: 8%; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  .hero-trainer, .float { display: none; }
}
@media (max-width: 520px) {
  .nav { gap: 10px; }
  .brand-text { font-size: 22px; }
  .nav-play { display: none; }
  .btn-big { width: 100%; justify-content: center; }
  .hero-trainer { display: none; }
  .trainer-body { grid-template-columns: 1fr; }
  .trainer-pic { width: 130px; justify-self: center; }
  .trainer-info { grid-template-columns: 1fr; gap: 2px; }
  .trainer-info dt { padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  .card, .card:hover { transition: none; }
}

/* ---------- events: ticker, calendar, list ---------- */
.events { padding-top: 30px; }
/* event colors: fire, water, grass, electric, psychic, dragon; gifts gold */
.c0 { --ev: #ee8130; } .c1 { --ev: #4a90e2; } .c2 { --ev: #4caf50; }
.c3 { --ev: #e6b800; } .c4 { --ev: #f95587; } .c5 { --ev: #7b4dff; } .cg { --ev: #c99700; }

.ticker {
  display: flex; align-items: stretch;
  max-width: 1000px; margin: 0 auto 22px;
  background: var(--navy); color: #fff;
  border: 3px solid var(--navy); border-radius: 999px;
  overflow: hidden; box-shadow: 0 5px 0 rgba(20,33,61,.35);
}
.ticker-label {
  flex: none; display: grid; place-items: center;
  padding: 0 16px; background: var(--red);
  font: 18px/1 var(--head); letter-spacing: 1px;
}
.ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: inline-flex; gap: 34px; padding: 10px 0; white-space: nowrap; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-move { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.tick { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.tick b { font-weight: 900; }
.tick-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ev); border: 2px solid #fff; }
.tick-when { color: var(--yellow); font-weight: 800; }
.tick.soon .tick-when { color: #9fd0ff; }

.calendar {
  max-width: 1000px; margin: 0 auto;
  background: var(--card); border: 3px solid var(--navy); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--navy); overflow: hidden;
}
.cal-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--red); border-bottom: 3px solid var(--navy); }
.cal-head .ball { --s: 30px; }
.cal-month { margin: 0; font: 28px/1 var(--head); letter-spacing: 1px; color: #fff; text-shadow: 0 3px 0 var(--navy); }
.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); background: #fdf1d6; border-bottom: 2px solid var(--line); }
.cal-weekdays span { padding: 6px 8px; font-weight: 900; font-size: 13px; color: var(--blue-dark); text-transform: uppercase; letter-spacing: .5px; }
.week { --lane-h: 24px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: 30px repeat(var(--lanes, 2), var(--lane-h)) 8px; row-gap: 3px; border-bottom: 2px solid var(--line); }
.week:last-child { border-bottom: 0; }
.day { border-right: 2px solid var(--line); padding: 4px 8px; }
.day:nth-child(7) { border-right: 0; }
.day-num { font-weight: 900; color: var(--ink); }
.day.past .day-num { color: #a6aab5; }
.day.outside { background: repeating-linear-gradient(45deg, #faf6ec 0 6px, #f5efe0 6px 12px); }
.day.today { background: #fff6cc; box-shadow: inset 0 0 0 3px var(--yellow); }
.day.today .day-num {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); color: #fff; border: 2px solid var(--navy);
}
.bar {
  position: relative; z-index: 1; margin: 0 4px;
  display: flex; align-items: center; min-width: 0;
  padding: 0 8px; border-radius: 999px;
  background: var(--ev); color: #fff;
  border: 2px solid rgba(20,33,61,.55);
  font-size: 12.5px; font-weight: 900;
  text-shadow: 0 1px 1px rgba(0,0,0,.35);
  cursor: default;
}
.bar.cont-left { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: 0; border-left: 0; }
.bar.cont-right { border-top-right-radius: 0; border-bottom-right-radius: 0; margin-right: 0; border-right: 0; }
.bar-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar.gift { background: linear-gradient(90deg, #ffd84d, #f2b705); color: var(--navy); text-shadow: none; }
.cal-note { margin: 0; padding: 8px 14px; font-size: 12.5px; color: var(--muted); background: #fdf8ec; border-top: 2px solid var(--line); }

.event-list { list-style: none; max-width: 1000px; margin: 18px auto 0; padding: 0; display: grid; gap: 10px; }
.event {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; background: var(--card);
  border: 2px solid var(--line); border-radius: 14px;
}
.event.live { border-color: var(--navy); box-shadow: 0 4px 0 var(--navy); }
.event.done { opacity: .6; }
.event-chip { flex: none; width: 14px; align-self: stretch; border-radius: 999px; background: var(--ev); border: 2px solid var(--navy); }
.event-body { flex: 1; min-width: 0; }
.event-title { font-weight: 900; font-size: 17px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kind { font-size: 11px; font-weight: 900; padding: 1px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .4px; border: 2px solid currentColor; }
.kind-event { color: var(--blue); } .kind-special { color: #b23ad6; } .kind-gift { color: #a07800; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--muted); font-size: 14px; margin-top: 2px; }
.srv { padding: 0 8px; border-radius: 999px; background: #eef3fb; color: var(--blue-dark); font-weight: 800; font-size: 12.5px; }
.event-when { flex: none; font-weight: 900; font-size: 14px; color: var(--muted); text-align: right; }
.event-when.live { color: var(--green); }
.event-when.soon { color: var(--blue); }
.event-empty { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 18px; color: var(--muted); font-weight: 800; }
.event-empty img { width: 56px; height: 56px; }

@media (max-width: 640px) {
  .cal-weekdays span { padding: 4px 2px; text-align: center; font-size: 11px; }
  .day { padding: 3px 4px; }
  .day-num { font-size: 13px; }
  .day.today .day-num { width: 22px; height: 22px; }
  .week { row-gap: 2px; --lane-h: 12px; }
  .bar { margin: 0 2px; padding: 0; font-size: 0; height: 10px; align-self: center; border-width: 1px; }
  .bar .bar-text { display: none; }
  .event { flex-wrap: wrap; }
  .event-when { width: 100%; text-align: left; padding-left: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-move { animation: none; flex-wrap: wrap; white-space: normal; padding: 10px 14px; }
  .ticker-move [aria-hidden="true"] { display: none; }
}
