:root {
  color-scheme: light;
  --bg: #f3f5f9;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.07);
  --line-strong: rgba(15, 23, 42, 0.11);
  --accent: #0a66ff;
  --accent-hover: #0047c7;
  --accent-soft: rgba(10, 102, 255, 0.09);
  --live: #059669;
  --live-soft: rgba(5, 150, 105, 0.12);
  --done: #0a66ff;
  --done-soft: rgba(10, 102, 255, 0.1);
  --diff: #dc2626;
  --diff-soft: rgba(220, 38, 38, 0.1);
  --amber: #d97706;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 28px -16px rgba(15, 35, 75, 0.12);
  --font: "Iowan Old Style", "Palatino Linotype", "Songti TC", "Noto Serif TC",
    "PingFang TC", Georgia, serif;
  --sans: "Segoe UI", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei",
    system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background:
    radial-gradient(1200px 480px at 12% -10%, rgba(10, 102, 255, 0.06), transparent 55%),
    radial-gradient(900px 420px at 92% 0%, rgba(15, 23, 42, 0.035), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.grain { display: none; }

.shell {
  width: min(1040px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 2rem 0 3.75rem;
}

.site-header { margin-bottom: 2rem; }
.brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid var(--line);
}
.brand-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  min-width: 0;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #141414;
  flex: 0 0 auto;
  min-width: 0;
}
.mark:hover {
  color: #141414;
  opacity: 0.92;
  text-decoration: none;
}
.mark-crest {
  width: 2.55rem;
  height: 2.55rem;
  border: 1.5px solid #1d1d1d;
  border-radius: 50%;
  flex: 0 0 auto;
  display: block;
  background:
    radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.04) 43% 58%, transparent 59%),
    linear-gradient(#f7f4ee, #efeae1);
  position: relative;
}
.mark-crest::before,
.mark-crest::after {
  content: "";
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}
.mark-crest::before {
  left: 0.45rem;
  top: 0.88rem;
  background: #111;
}
.mark-crest::after {
  right: 0.45rem;
  top: 0.88rem;
  background: #f5f5f5;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.mark-word {
  font-family: "Times New Roman", "Noto Serif TC", "Songti TC", serif;
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}
.mark-word small {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.34em;
  color: #7a7268;
  font-weight: 600;
  margin-top: 0.2rem;
}

.tagline {
  color: #0f172a;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
}
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  flex: 0 1 auto;
  max-width: 100%;
  justify-content: flex-end;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 650;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  line-height: 1.3;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.hero {
  padding: 0.35rem 0 0.15rem;
}
.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}
.hero h1 {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(2.05rem, 4.8vw, 2.75rem);
  letter-spacing: 0.03em;
  line-height: 1.18;
  color: var(--ink);
}

.hero-title-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.hero-title-row > h1 {
  margin: 0;
  flex: 0 0 auto;
}

@media (min-width: 721px) {
  .hero-title-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
  }

  .hero-title-row > .search {
    flex: 1 1 18rem;
    width: auto;
    max-width: 32rem;
    margin: 0 0 0 auto;
  }

  .hero-title-row > .players-controls {
    flex: 1 1 22rem;
    width: auto;
    min-width: 0;
    max-width: 42rem;
    margin: 0 0 0 auto;
  }
}

.hero h1 .player-rating {
  font-size: 1em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  margin-left: 0.4em;
  color: var(--ink);
}
.hero h1 .player-rank {
  font-size: 0.5em;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  margin-left: 0.28em;
  vertical-align: 0.15em;
}
.lede {
  max-width: 38rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0.8rem 0 1.35rem;
  font-size: 1.02rem;
}

.search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 36rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0.4rem 0.4rem 0.4rem 1rem;
  box-shadow: var(--shadow);
}
.search:focus-within {
  border-color: rgba(10, 102, 255, 0.35);
  box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow);
}
.search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  outline: none;
  min-width: 0;
  padding: 0.55rem 0;
}
.search input::placeholder { color: #94a3b8; }
.search button {
  border: 0;
  border-radius: 10px;
  padding: 0.7rem 1.2rem;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.search button:hover { background: var(--accent-hover); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.section { margin-top: 2.6rem; }

/* Players: controls sit in hero, so pull the table up (esp. on mobile). */
.hero:has(.players-controls) + .section {
  margin-top: 1.15rem;
}

@media (max-width: 720px) {
  .hero:has(.players-controls) + .section {
    margin-top: 0.75rem;
  }
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.05rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
}
.section-head h2 {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: 0.03em;
}
.hint { color: var(--muted); font-size: 0.9rem; font-weight: 550; }
.section-head {
  flex-wrap: wrap;
}
.section-note {
  margin: -0.35rem 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 550;
}
.section-head h2 .section-rule {
  font-weight: inherit;
  color: inherit;
}
.section-rule-diff {
  color: #dc2626 !important;
  font-weight: 800 !important;
}
@media (max-width: 720px) {
  .section-head h2 .section-rule {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.92em;
    line-height: 1.35;
    font-weight: 650;
  }
  .section-head h2 .section-rule-diff {
    font-weight: 800;
  }
}

.unofficial-mark {
  position: relative;
  display: inline-block;
  margin-left: 0.12em;
  color: #dc2626;
  font-weight: 900;
  font-size: 1.05em;
  line-height: 1;
  vertical-align: text-top;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.unofficial-mark .unofficial-tip {
  display: none;
  position: absolute;
  left: calc(100% + 0.35rem);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: max-content;
  max-width: min(16rem, calc(100vw - 2.5rem));
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 550;
  line-height: 1.4;
  text-align: left;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
  z-index: 40;
  pointer-events: none;
  white-space: normal;
}
.unofficial-mark .unofficial-tip::after {
  content: "";
  position: absolute;
  left: auto;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #0f172a;
}
.unofficial-mark:hover .unofficial-tip,
.unofficial-mark.is-open .unofficial-tip {
  display: block;
}
.col-place .unofficial-mark {
  font-size: 0.95em;
}

/* ----- Events page color + symbols ----- */
.eyebrow-stones {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  margin-right: 0.45rem;
  vertical-align: -0.08em;
}
.eyebrow-stones::before,
.eyebrow-stones::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}
.eyebrow-stones::before {
  background: #0f172a;
}
.eyebrow-stones::after {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.22);
}

.section-live,
.section-done,
.section-diff {
  position: relative;
}

.sec-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  vertical-align: -0.18em;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}
.section-live .sec-ico {
  background: var(--live-soft);
  color: var(--live);
  box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.22);
}
.section-live .sec-ico::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.45);
  animation: livePulse 1.8s ease-out infinite;
}
.section-done .sec-ico {
  background: var(--done-soft);
  color: var(--done);
  box-shadow: inset 0 0 0 1px rgba(10, 102, 255, 0.2);
}
.section-done .sec-ico::before { content: "✓"; }
.section-diff .sec-ico {
  background: var(--diff-soft);
  color: var(--diff);
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.22);
}
.section-diff .sec-ico::before { content: "!"; font-weight: 900; }

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.45); }
  70% { box-shadow: 0 0 0 0.45rem rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.section-live .section-head {
  border-bottom-color: rgba(5, 150, 105, 0.22);
}
.section-done .section-head {
  border-bottom-color: rgba(10, 102, 255, 0.18);
}
.section-diff .section-head {
  border-bottom-color: rgba(220, 38, 38, 0.22);
}

.hint-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
}
.section-live .hint-pill {
  background: var(--live-soft);
  color: #047857;
  border-color: rgba(5, 150, 105, 0.18);
}
.section-done .hint-pill {
  background: var(--done-soft);
  color: #0047c7;
  border-color: rgba(10, 102, 255, 0.16);
}
.hint-pill-diff,
.section-diff .hint-pill {
  background: var(--diff-soft);
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.18);
}

.event-item {
  position: relative;
  overflow: hidden;
}
.event-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(15, 23, 42, 0.12);
}
.event-item.is-live::before { background: var(--live); }
.event-item.is-done::before { background: var(--done); }
.event-item.is-diff::before { background: var(--diff); }

.event-item.is-live:hover {
  border-color: rgba(5, 150, 105, 0.35);
}
.event-item.is-done:hover {
  border-color: rgba(10, 102, 255, 0.3);
}
.event-item.is-diff:hover {
  border-color: rgba(220, 38, 38, 0.32);
}

.event-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.45rem;
  min-width: 0;
}
.event-aside .updated:empty { display: none; }
.event-go {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.04);
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.event-go::before {
  content: "›";
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  transform: translateX(1px);
}
.event-item:hover .event-go {
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateX(2px);
}
.event-item.is-live:hover .event-go {
  background: var(--live-soft);
  color: var(--live);
}
.event-item.is-diff:hover .event-go {
  background: var(--diff-soft);
  color: var(--diff);
}

.date-ico {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-right: 0.35em;
  border: 1.5px solid currentColor;
  border-radius: 0.2em;
  vertical-align: -0.05em;
  opacity: 0.7;
  position: relative;
}
.date-ico::before {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 28%;
  border-top: 1.5px solid currentColor;
}
.date-ico::after {
  content: "";
  position: absolute;
  left: 28%;
  width: 1.5px;
  height: 0.28em;
  top: -0.18em;
  background: currentColor;
  box-shadow: 0.32em 0 0 currentColor;
}

.live-dot {
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-right: 0.35em;
  border-radius: 50%;
  background: var(--live);
  vertical-align: 0.05em;
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4);
  animation: livePulse 1.8s ease-out infinite;
}

.event-item .updated {
  color: #047857;
  font-weight: 650;
}

@media (max-width: 720px) {
  .sec-ico {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.38rem;
  }
  .event-go {
    width: 1.55rem;
    height: 1.55rem;
  }
  .event-aside {
    align-self: center;
  }
}


.event-list { display: grid; gap: 0.85rem; }
.event-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 1.15rem 1.2rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.event-item:hover {
  border-color: rgba(10, 102, 255, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 36px -18px rgba(15, 35, 75, 0.16);
}
.event-item .event-main {
  min-width: 0;
}
.event-item .title {
  font-family: var(--font);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--ink);
}
.event-item .dates {
  margin-top: 0.38rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  font-weight: 550;
}
.event-item .updated {
  justify-self: end;
  text-align: right;
  color: #047857;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 650;
}
.event-item .updated-empty {
  display: none;
}

.status, .empty {
  color: var(--muted);
  padding: 2.1rem 1.35rem;
  text-align: center;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  line-height: 1.7;
}
.empty strong {
  display: block;
  color: var(--ink);
  font-weight: 650;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}
.error {
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.foot {
  margin-top: 3.25rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
}
.foot-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
}
.foot-brand {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: 0.045em;
}
.foot-legal {
  font-size: 0.78rem;
  line-height: 1.55;
  max-width: none;
  width: 100%;
  color: var(--muted);
}
.foot-legal-title {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}
.foot-legal ul {
  margin: 0;
  padding-left: 1.1rem;
}
.foot-legal li {
  margin: 0.35rem 0;
}
.foot-legal a {
  color: var(--accent, #0f766e);
  word-break: break-all;
}
.foot-use {
  margin: 1.05rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line, #e4dfd6);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: none;
  width: 100%;
}
.foot-use-title {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}
.foot-use-body {
  margin: 0;
}
.foot-use a {
  color: var(--accent, #0f766e);
  word-break: break-word;
}
.foot-copy {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.page-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0.35rem 1.15rem 0.55rem;
  box-shadow: var(--shadow);
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.02rem;
}
.table th, .table td {
  text-align: left;
  padding: 0.85rem 0.45rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table th {
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 750;
  white-space: nowrap;
}
.table a { color: var(--ink); text-decoration: none; font-weight: 600; }
.table a:hover { color: var(--accent); }
.chip {
  display: inline-block;
  padding: 0.18rem 0.58rem;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.84rem;
  font-weight: 650;
}


/* sticky site chrome
   Desktop: whole header sticks.
   Mobile: flatten header/brand-row so nav is a direct child of .shell
   (sticky only lasts while its ancestor is on-screen — a short header
   made the old mobile sticky fail as soon as brand scrolled away). */
:root {
  --sticky-nav-offset: 0px;
  --sticky-chrome-bg: rgba(243, 245, 249, 0.94);
}
@supports (background: color-mix(in srgb, white 90%, black)) {
  :root {
    --sticky-chrome-bg: color-mix(in srgb, var(--bg) 92%, #ffffff);
  }
}
@media (min-width: 721px) {
  :root { --sticky-nav-offset: 5rem; }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    margin-bottom: 1.35rem;
    padding-top: 1rem;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .brand-row {
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem 1.25rem;
    padding-bottom: 0.85rem;
  }
  .brand-block {
    flex-wrap: nowrap;
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(100%, 42rem);
    align-items: center;
    gap: 0.65rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .brand-block .mark {
    color: #141414;
    padding: 0.15rem 0;
  }
  .brand-block .tagline {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.3;
    padding: 0.15rem 0;
  }
  .brand-block .mark:hover {
    color: #141414;
    text-decoration: none;
    opacity: 0.92;
  }
  .tagline {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .site-nav {
    flex-wrap: nowrap;
    flex: 0 0 auto;
    max-width: none;
    align-items: center;
    gap: 0.12rem;
    padding: 0.26rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(22px) saturate(1.7);
    -webkit-backdrop-filter: blur(22px) saturate(1.7);
    box-shadow:
      0 10px 28px -12px rgba(10, 102, 255, 0.2),
      0 4px 12px -6px rgba(10, 102, 255, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }
  .site-nav a {
    white-space: nowrap;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    border-bottom: none;
    font-size: 1.05rem;
    font-weight: 700;
    transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  }
  .site-nav a.is-active,
  .site-nav a[aria-current="page"] {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.82);
    border-bottom-color: transparent;
    box-shadow:
      0 3px 10px -3px rgba(10, 102, 255, 0.26),
      inset 0 1px 0 #ffffff;
  }
}
@media (max-width: 720px) {
  :root { --sticky-nav-offset: 3.1rem; }
  .site-header,
  .brand-row {
    display: contents;
  }
  .brand-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: nowrap;
    min-width: 0;
    width: 100%;
    padding-bottom: 0.55rem;
    margin-bottom: 0;
    border-bottom: none;
  }
  .brand-block .mark {
    min-width: 0;
    flex: 1 1 auto;
  }
  .brand-block .lang-switch {
    margin-left: 0.35rem;
    flex: 0 0 auto;
    align-self: center;
  }
  .site-nav {
    position: sticky;
    top: 0.35rem;
    z-index: 60;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.12rem;
    padding: 0.2rem;
    margin: 0 0 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(22px) saturate(1.7);
    -webkit-backdrop-filter: blur(22px) saturate(1.7);
    box-shadow:
      0 10px 28px -12px rgba(10, 102, 255, 0.22),
      0 4px 12px -6px rgba(10, 102, 255, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
    /* Mobile: fill width evenly when 5 tabs fit; else swipe (no scrollbar) */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* legacy Edge */
  }
  .site-nav::-webkit-scrollbar {
    display: none; /* Chrome / Safari */
    width: 0;
    height: 0;
  }
  .site-nav a {
    /* grow equally across full bar when labels fit; no shrink → scroll if not */
    flex: 1 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0.4rem 0.55rem;
    border-radius: 999px;
    border-bottom: none;
    color: var(--muted);
    font-size: 1.02rem;
    font-weight: 700;
    transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  }
  .site-nav a:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.42);
  }
  .site-nav a.is-active,
  .site-nav a[aria-current="page"] {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.82);
    border-bottom-color: transparent;
    box-shadow:
      0 3px 10px -3px rgba(10, 102, 255, 0.28),
      inset 0 1px 0 #ffffff;
  }
}

@media (max-width: 560px) {
  .shell { width: min(1040px, calc(100% - 2rem)); padding-top: 1.5rem; }
  .event-item {
    grid-template-columns: 1fr auto;
    gap: 0.55rem 0.75rem;
    align-items: start;
  }
  .event-item .updated {
    padding-top: 0.15rem;
    font-size: 0.84rem;
  }
  .foot-inner { gap: 0.65rem; }
  .foot-legal { font-size: 0.72rem; }
  .tagline { font-size: 0.84rem; }
  .site-nav a { font-size: 0.95rem; }
  .search { max-width: none; }
}

/* Player cross-event history */
.player-history { display: block; }
.player-hist-wrap {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 0.2rem 0.35rem 0.45rem;
}
.player-hist-table {
  min-width: 720px;
  font-size: 1.05rem;
}
.player-hist-table thead th {
  font-size: 1.08rem;
  letter-spacing: 0.015em;
  font-weight: 750;
  color: var(--ink);
  text-transform: none;
  padding: 0.95rem 0.75rem;
}
.player-hist-table tbody td {
  padding: 0.9rem 0.75rem;
  vertical-align: middle;
  font-size: 1.05rem;
}
.player-hist-table th:last-child,
.player-hist-table td.col-hist { min-width: 16rem; }
.player-hist-table .col-event { font-weight: 650; max-width: 16rem; font-size: 1.05rem; }
.player-hist-table .col-event a {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}
.player-hist-table .col-group {
  white-space: nowrap;
  font-size: 1.05rem;
  font-weight: 650;
  color: #0f172a;
}
.player-hist-table .col-num {
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  text-align: center;
  width: 4.2rem;
  font-size: 1.05rem;
  white-space: nowrap;
  color: #0f172a;
}
.player-hist-table tbody td.col-group,
.player-hist-table tbody td.col-num,
.player-hist-table tbody td.col-score {
  font-size: 1.05rem;
  color: #0f172a;
  font-weight: 650;
}
.player-hist-table tbody td.col-num {
  font-weight: 750;
}
.player-hist-table .col-group a,
.player-hist-table .col-group .group-link {
  color: #0f172a !important;
  font-size: 1.05rem;
  font-weight: 650;
  text-decoration: none;
}
.player-hist-table .col-group a:hover,
.player-hist-table .col-group .group-link:hover {
  color: var(--accent) !important;
  text-decoration: underline;
}
.player-hist-table thead th:nth-child(2),
.player-hist-table thead th:nth-child(3),
.player-hist-table thead th:nth-child(4) {
  font-size: 1.08rem;
  font-weight: 750;
  color: #0f172a;
}
.player-hist-table th.col-num,
.player-hist-table thead th:nth-child(3),
.player-hist-table thead th:nth-child(4) { text-align: center; }

.rank-hist {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0.35rem;
  align-items: flex-start;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 0.15rem;
}
.hist-cell {
  flex: 0 0 auto;
  width: clamp(3.2rem, 4.2vw, 4.4rem);
  min-width: 3.2rem;
  text-align: center;
}
.hist-icon {
  height: clamp(2.7rem, 3.6vw, 3.6rem);
}
.hist-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.hist-opp {
  font-size: 0.88rem;
  color: #334155;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.15rem;
}
.hist-opp.bye,
.hist-cell.bye .hist-opp {
  font-size: 0.78rem;
  letter-spacing: -0.02em;
  color: #64748b;
}
.hist-opp a.player-link {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
  border-bottom: none;
}
.hist-opp a.player-link:hover {
  color: var(--accent, #0f766e);
  text-decoration: underline;
}
.muted { color: var(--muted); font-size: 0.95rem; }

.group-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 650;
}
.group-link:hover { text-decoration: underline; }

.players-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.players-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
.players-toolbar--hero {
  margin-top: 0;
  justify-content: flex-end;
}
@media (min-width: 721px) {
  .players-controls {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  .players-controls .search {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    margin: 0;
  }
  .players-toolbar--hero {
    flex: 0 0 auto;
    margin: 0;
  }
}
.sort-pills {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.22rem;
  background: #e8ecf2;
  border-radius: 999px;
}
.sort-pill {
  appearance: none;
  border: 0;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.42rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.25;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.sort-pill:hover { color: var(--ink); }
.sort-pill.is-active {
  background: #fff;
  color: #0f172a;
  font-weight: 750;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 1px rgba(15, 23, 42, 0.04);
}
.sort-pill:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}
@media (max-width: 720px) {
  .sort-pill {
    font-size: 0.82rem;
    padding: 0.38rem 0.7rem;
  }
  .players-toolbar--hero {
    width: 100%;
    justify-content: space-between;
  }
  .sort-pills {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: stretch;
  }
  .sort-pill {
    flex: 1 1 0;
    text-align: center;
    white-space: nowrap;
  }
}
.events-done-pager-top {
  margin-top: 0;
  margin-bottom: 0.75rem;
}
#donePagerTop {
  scroll-margin-top: calc(var(--sticky-nav-offset, 0px) + 0.85rem);
}
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}
.pager-btn {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.pager-btn:hover:not(:disabled) { border-color: rgba(10, 102, 255, 0.35); color: var(--accent); }
.pager-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pager-meta {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.table .col-num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: center;
  width: 5.5rem;
}
.table thead th.col-num {
  font-size: 1.05rem;
  font-weight: 750;
}

.col-event .event-title {
  display: block;
  font-weight: 650;
  color: inherit;
  text-decoration: none;
}
.col-event .event-title:hover { color: var(--accent); }
.col-event .event-date {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}


/* Place a/b — emphasize actual place (a = 2× b) */
.place-frac {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.05em;
  white-space: nowrap;
  line-height: 1;
}
.place-a {
  font-size: 1.35em;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.place-slash {
  font-size: 0.72em;
  font-weight: 650;
  color: #64748b;
  margin: 0 0.02em;
}
.place-b {
  font-size: 0.675em; /* half of place-a (1.35 / 2) */
  font-weight: 650;
  color: #334155;
}

/* Player hist — mobile card: hist on second row (like 成績總表) */
@media (max-width: 720px) {
  .player-hist-wrap {
    overflow-x: visible;
    padding: 0.35rem 0.45rem 0.55rem;
  }
  .player-hist-table {
    min-width: 0;
    width: 100%;
    display: block;
  }
  .player-hist-table thead {
    display: none;
  }
  .player-hist-table tbody {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }
  .player-hist-table tr.player-hist-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
      "event group group"
      "place score ."
      "hist hist hist";
    gap: 0.35rem 0.65rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.75rem 0.8rem 0.7rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }
  .player-hist-table td {
    border-bottom: 0 !important;
    padding: 0 !important;
  }
  .player-hist-table .col-event {
    grid-area: event;
    max-width: none;
    font-size: 1rem;
  }
  .player-hist-table .col-event a {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  .player-hist-table .col-group {
    grid-area: group;
    text-align: right;
    justify-self: end;
    align-self: start;
    font-size: 0.95rem;
  }
  .player-hist-table .col-place {
    grid-area: place;
    width: auto;
    text-align: left;
    justify-self: start;
  }
  .player-hist-table .col-score {
    grid-area: score;
    width: auto;
    text-align: left;
  }
  .player-hist-table .col-place::before {
    content: "名次 ";
    font-size: 0.72rem;
    font-weight: 650;
    color: #64748b;
    margin-right: 0.25rem;
    vertical-align: middle;
  }
  .player-hist-table .col-score::before {
    content: "積分 ";
    font-size: 0.72rem;
    font-weight: 650;
    color: #64748b;
    margin-right: 0.25rem;
  }
  .player-hist-table .col-hist {
    grid-area: hist;
    min-width: 0;
    margin-top: 0.25rem;
    padding-top: 0.45rem !important;
    border-top: 1px solid var(--line) !important;
  }
  .player-hist-table .rank-hist {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Players list — mobile column widths + name ellipsis */
.players-table .col-name {
  min-width: 0;
}
.placeholder-note {
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 560px) {
  .site-nav a {
    font-size: 0.98rem;
    padding: 0.42rem 0.5rem;
  }
  .page-card {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
  .players-table {
    table-layout: fixed;
    width: 100%;
  }
  .players-table th,
  .players-table td {
    box-sizing: border-box;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  /* 姓名 34% | 累積勝場 23% | 勝率 23% | 出場 20% */
  .players-table .col-name {
    width: 34%;
    max-width: 0; /* force ellipsis with table-layout:fixed */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .players-table th:nth-child(2),
  .players-table td:nth-child(2) {
    width: 23%;
  }
  .players-table th:nth-child(3),
  .players-table td:nth-child(3) {
    width: 23%;
  }
  .players-table th:nth-child(4),
  .players-table td:nth-child(4) {
    width: 20%;
  }
  .players-table .col-name a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}



/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
  padding: 0.15rem;
  border: 1px solid var(--line, rgba(15,23,42,.12));
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  flex: 0 0 auto;
}
.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted, #64748b);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}
.lang-btn:hover { color: var(--ink, #0f172a); }
.lang-btn.is-active {
  background: var(--ink, #0f172a);
  color: #fff;
}
@media (max-width: 720px) {
  .brand-block {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
  }
  .brand-block .mark {
    min-width: 0;
    flex: 1 1 auto;
  }
  .brand-block .lang-switch {
    margin-left: 0.35rem;
    flex: 0 0 auto;
    align-self: center;
  }
  .lang-btn {
    font-size: 0.72rem;
    padding: 0.3rem 0.45rem;
  }
}

/* —— Home intro reveal (foil over real 賽事頁) —— */
html.gr-intro-pending,
html.gr-intro-pending body {
  overflow: hidden;
  height: 100%;
  touch-action: none;
}
html.gr-intro-skip .gr-intro { display: none !important; }

.gr-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  /* Opaque silver cover until canvas paints; do not rely on [hidden] */
  background:
    linear-gradient(135deg,
      #c5ccd6 0%,
      #e8edf4 22%,
      #9aa6b5 48%,
      #d7dee8 72%,
      #8f9aaa 100%);
  opacity: 1;
  cursor: crosshair;
  touch-action: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transform: translate3d(0, 0, 0);
  transform-origin: 50% 50%;
  clip-path: inset(0);
  will-change: transform, opacity, clip-path;
  transition:
    transform 0.48s cubic-bezier(0.22, 0.82, 0.2, 1),
    opacity 0.42s ease,
    clip-path 0.48s cubic-bezier(0.22, 0.82, 0.2, 1);
}
/* Mobile pending: fully opaque so real 賽事 list never flashes */
html.gr-intro-pending:not(.gr-intro-desktop) .gr-intro {
  opacity: 1;
  background:
    linear-gradient(135deg,
      #c5ccd6 0%,
      #e8edf4 22%,
      #9aa6b5 48%,
      #d7dee8 72%,
      #8f9aaa 100%);
}
.gr-intro.is-gone {
  pointer-events: none;
  opacity: 0;
}
.gr-intro.is-peel-up { transform: translate3d(0, -108%, 0); opacity: 0; }
.gr-intro.is-peel-down { transform: translate3d(0, 108%, 0); opacity: 0; }
.gr-intro.is-peel-left { transform: translate3d(-108%, 0, 0); opacity: 0; }
.gr-intro.is-peel-right { transform: translate3d(108%, 0, 0); opacity: 0; }
.gr-intro.is-peel-tl { transform: translate3d(-90%, -90%, 0) rotate(-8deg); opacity: 0; }
.gr-intro.is-peel-tr { transform: translate3d(90%, -90%, 0) rotate(8deg); opacity: 0; }
.gr-intro.is-peel-bl { transform: translate3d(-90%, 90%, 0) rotate(8deg); opacity: 0; }
.gr-intro.is-peel-br { transform: translate3d(90%, 90%, 0) rotate(-8deg); opacity: 0; }
.gr-intro.is-wipe-up { clip-path: inset(0 0 100% 0); opacity: 0.15; }
.gr-intro.is-wipe-down { clip-path: inset(100% 0 0 0); opacity: 0.15; }
.gr-intro.is-wipe-left { clip-path: inset(0 100% 0 0); opacity: 0.15; }
.gr-intro.is-wipe-right { clip-path: inset(0 0 0 100%); opacity: 0.15; }

.gr-intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.gr-intro-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(125deg,
      transparent 0%,
      rgba(255,255,255,.22) 28%,
      transparent 42%,
      transparent 58%,
      rgba(255,255,255,.14) 72%,
      transparent 100%);
  mix-blend-mode: soft-light;
  animation: gr-intro-sheen 5s ease-in-out infinite;
}
@keyframes gr-intro-sheen {
  0%, 100% { transform: translateX(-8%); opacity: .5; }
  50% { transform: translateX(8%); opacity: .9; }
}
.gr-intro.is-scratching .gr-intro-sheen,
.gr-intro.is-revealing .gr-intro-sheen { opacity: 0; animation: none; }

.gr-intro-brand {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  pointer-events: none;
  transition: opacity .28s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
.gr-intro.is-scratching .gr-intro-brand { opacity: .35; transform: scale(.98); }
.gr-intro.is-revealing .gr-intro-brand { opacity: 0; transform: scale(.96) translateY(-6px); }

.gr-intro-crest {
  width: 4.2rem;
  height: 4.2rem;
  border: 1.5px solid #1d1d1d;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at center, transparent 42%, rgba(0,0,0,.04) 43% 58%, transparent 59%),
    linear-gradient(#f7f4ee, #efeae1);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .16);
}
.gr-intro-crest::before,
.gr-intro-crest::after {
  content: "";
  position: absolute;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
}
.gr-intro-crest::before { left: .72rem; top: 1.4rem; background: #111; }
.gr-intro-crest::after {
  right: .72rem; top: 1.4rem;
  background: #f5f5f5;
  box-shadow: 0 0 0 1px rgba(0,0,0,.2);
}
.gr-intro-word {
  font-family: "Times New Roman", "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(1.15rem, 3.2vw, 1.55rem);
  letter-spacing: .22em;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  color: #141414;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.gr-intro-word small {
  display: block;
  margin-top: .28rem;
  font-size: .55rem;
  letter-spacing: .36em;
  color: #5c564e;
  font-weight: 650;
}
.gr-intro-pill {
  margin: 0;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(15, 23, 42, .3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f8fafc;
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  font-weight: 650;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.gr-intro.is-scratching .gr-intro-pill,
.gr-intro.is-revealing .gr-intro-pill { opacity: 0; }

.gr-intro-skip {
  position: absolute;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(.9rem, env(safe-area-inset-bottom));
  z-index: 3;
  border: 0;
  background: transparent;
  color: rgba(80, 74, 68, .78);
  font: inherit;
  font-size: .72rem;
  letter-spacing: .08em;
  cursor: pointer;
  opacity: .8;
  padding: .45rem .6rem;
}
.gr-intro-skip:hover,
.gr-intro-skip:focus-visible { opacity: 1; outline: none; }

/* Desktop: translucent foil + no scratch cursor; mobile keeps scratch UX */
@media (min-width: 900px) {
  .gr-intro,
  .gr-intro.is-desktop {
    cursor: default;
    background:
      linear-gradient(135deg,
        rgba(197,204,214,.55) 0%,
        rgba(232,237,244,.5) 22%,
        rgba(154,166,181,.58) 48%,
        rgba(215,222,232,.52) 72%,
        rgba(143,154,170,.56) 100%);
    transition:
      transform 0.4s cubic-bezier(0.22, 0.82, 0.2, 1),
      opacity 0.34s ease,
      clip-path 0.4s cubic-bezier(0.22, 0.82, 0.2, 1);
  }
  .gr-intro-canvas {
    opacity: 0.72;
  }
  .gr-intro-pill {
    display: none;
  }
  .gr-intro-sheen {
    opacity: 0.35;
  }
  .gr-intro-brand {
    filter: drop-shadow(0 8px 24px rgba(15, 23, 42, 0.18));
  }
}
html.gr-intro-desktop .gr-intro,
html.gr-intro-pending.gr-intro-desktop .gr-intro {
  cursor: default;
  background:
    linear-gradient(135deg,
      rgba(197,204,214,.55) 0%,
      rgba(232,237,244,.5) 22%,
      rgba(154,166,181,.58) 48%,
      rgba(215,222,232,.52) 72%,
      rgba(143,154,170,.56) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .gr-intro,
  .gr-intro-sheen,
  .gr-intro-brand { animation: none !important; transition: none !important; }
}
