@import url("./form-controls.css?v=20261102-1");

/* Public secondary pages share the homepage's business blue and quiet surfaces. */
body.page-secondary {
  --brand: #183b5b;
  --brand-2: #3478b9;
  --ink: #183b5b;
  --ink-deep: #183b5b;
  --blue: #3478b9;
  --blue-deep: #286398;
  --blue-soft: #eaf3fc;
  --text: #68788a;
  --muted: #68788a;
  --line: #dfe7ef;
  --line-strong: #d4e3f0;
  --gold: #b59b70;
  --bg: #f2f6fb;
  --shadow-card: 0 4px 18px rgb(24 59 91 / 4%);
  --shadow-lift: 0 8px 26px rgb(24 59 91 / 7%);
  margin: 0;
  background: #fcfcfa;
  color: #26384a;
  font: 15px/1.85 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.page-secondary *, .page-secondary *::before, .page-secondary *::after { box-sizing: border-box; }
.page-secondary { scroll-padding-top: 90px; }
html:has(> body.page-secondary) { scroll-padding-top: 88px; }
.page-secondary a { text-underline-offset: 4px; }
.page-secondary button, .page-secondary input, .page-secondary textarea { font-family: inherit; }
.page-secondary [hidden] { display: none !important; }
.page-secondary :is(.wrap, .legal-header .wrap) { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.page-secondary :is(.legal-header, .tob-head, .header) { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgb(252 252 250 / 97%); backdrop-filter: blur(12px); }
.page-secondary :is(.legal-header .wrap, .tob-head .wrap, .header-inner) { min-height: 76px; padding-block: 0; gap: 20px; }
.page-secondary :is(.legal-header img, .tob-head img, .header .brand img) { display: block; width: 132px; height: auto; }
.page-secondary :is(.legal-header .back, .tob-head .back, .registration-back) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 24px; background: #f7fafd; color: var(--ink); font-size: 12px; font-weight: 500; white-space: nowrap; text-decoration: none; }
.page-secondary .legal-main { max-width: 1200px; padding: 52px 24px 64px; }
.page-document .legal-main { max-width: 1000px; }
.page-secondary .legal-main > h1 { margin: 0 0 12px; color: var(--ink); font-size: 42px; font-weight: 600; letter-spacing: -0.6px; line-height: 1.35; }
.page-secondary .legal-main .meta { margin-bottom: 28px; color: var(--text); font-size: 13px; line-height: 1.8; }
.page-secondary .legal-card { padding: 32px 36px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); }
.page-secondary .legal-main h2 { color: var(--ink); font-weight: 600; letter-spacing: 0; }
.page-document .legal-main h2 { margin: 32px 0 12px; font-size: 18px; }
.page-secondary .legal-main p, .page-secondary .legal-main li { color: #4f6173; }
.page-secondary .legal-main p { line-height: 1.9; }
.page-secondary :is(.button, .event-action) { min-height: 48px; border-radius: 26px; font-size: 13px; font-weight: 500; transition: background 180ms, border-color 180ms; }
.page-secondary :is(.button.primary, .event-action--primary) { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: none; }
.page-secondary :is(.button.ghost, .event-action:not(.event-action--primary)) { border-color: var(--line-strong); background: #fff; color: var(--ink); box-shadow: none; }
.page-secondary .button.light { background: #fff; color: var(--ink); box-shadow: none; }
.page-secondary .button:hover { transform: none; }
.page-secondary .eyebrow { border: 0; border-radius: 0; padding: 0; background: none; color: var(--blue); box-shadow: none; font-size: 11px; font-weight: 500; letter-spacing: 1.4px; }

/* Course introduction: reading order stays the same at every width. */
.page-tob .tob-hero { padding: 56px 0; background: #f2f6fb; }
.page-tob .tob-hero-grid { gap: 48px; }
.page-tob .tob-kicker { color: #8c7652; font-size: 11px; font-weight: 500; letter-spacing: 1px; }
.page-tob .tob-kicker::before { background: var(--blue); }
.page-tob .tob-hero h1 { margin-top: 18px; font-size: clamp(34px, 3.6vw, 48px); font-weight: 600; line-height: 1.35; letter-spacing: -0.5px; }
.page-tob .tob-hero h1 em { background: none; color: var(--blue); font-family: inherit; font-weight: inherit; }
.page-tob .tob-lead { font-size: 15px; line-height: 1.9; }
.page-tob .tob-poster { order: 0; border-radius: 18px; border-color: var(--line); box-shadow: var(--shadow-card); }
.page-tob .tob-poster img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.page-tob .tob-section { padding-block: 64px; }
.page-tob .tob-section.alt { background: #f2f6fb; }
.page-tob .tob-coach { gap: 48px; }
.page-tob :is(.tob-coach h2, .section-heading h2) { font-size: clamp(28px, 2.6vw, 36px); font-weight: 600; line-height: 1.5; letter-spacing: -0.5px; }
.page-tob :is(.tob-coach-card, .tob-point) { padding: 28px; border-radius: 16px; border-color: var(--line); box-shadow: var(--shadow-card); }
.page-tob .tob-coach-card span { color: #8c7652; letter-spacing: 0.4px; }
.page-tob .tob-point i { color: var(--blue); font-weight: 500; letter-spacing: 1.2px; }
.page-tob .tob-point strong { font-size: 18px; font-weight: 600; }
.page-tob .tob-point p { font-size: 14px; line-height: 1.85; }
.page-tob .tob-cta { padding: 44px 0; background: var(--ink); }
.page-tob .tob-cta h2 { font-size: 28px; font-weight: 600; line-height: 1.6; }
.page-tob .tob-cta p { color: #afc1d1; }

.page-season .season-main { max-width: 1200px; }
.page-season .season-hero { gap: 56px; min-height: 0; padding: 0 0 40px; }
.page-season .season-kicker { color: #8c7652; font-weight: 500; letter-spacing: 1.6px; }
.page-season .season-hero h1 { max-width: none; margin: 20px 0 16px; font-size: 52px; font-weight: 600; line-height: 1.25; letter-spacing: -1px; }
.page-season .season-hero h1 span { color: var(--blue); }
.page-season .season-hero-meta { max-width: none; font-family: inherit; font-size: 18px; }
.page-season .season-hero .lede { font-size: 15px; color: var(--text); }
.page-season .season-hero-visual { position: relative; top: auto; right: auto; width: 100%; min-height: 0; pointer-events: auto; }
.page-season .season-hero-visual::before, .page-season .season-hero-visual::after, .page-season .season-hero-ring, .page-season .season-float-tag { display: none; }
.page-season .season-hero-visual-card { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); box-shadow: var(--shadow-card); transform: none; }
.page-season .season-hero-visual-card img { opacity: 1; mix-blend-mode: normal; }
.page-season .season-hero-visual-card::before { z-index: 1; background: linear-gradient(180deg, rgb(17 41 62 / 12%), transparent 30%, rgb(17 41 62 / 75%)); }
.page-season :is(.season-visual-top, .season-visual-bottom, .season-visual-bottom strong) { color: #fff; font-size: 10px; font-weight: 500; }
.page-season .season-visual-bottom { border-color: rgb(255 255 255 / 30%); }
.page-season .season-stats { margin-top: 24px; }
.page-season .season-stats strong { font-family: inherit; font-size: 25px; font-weight: 500; }
.page-season .season-section { padding-top: 40px; }
.page-season .section-title { font-size: 28px; }
.page-season .course-grid { gap: 24px; }
.page-season .course-card { border-radius: 16px; box-shadow: var(--shadow-card); }
.page-season .course-body { padding: 24px; }
.page-season .course-card h3 { font-size: 20px; font-weight: 600; }
.page-season .course-card p { font-size: 14px; }
.page-season .course-meta, .page-season .mentor-title { color: #8c7652; font-weight: 500; }
.page-season .course-mentor { margin-top: 20px; padding: 18px; border-radius: 12px; background: #f2f6fb; }
.page-season .mentor-avatar { border-radius: 12px; font-weight: 500; }

/* Activity cards are individual surfaces with consistent image proportions. */
.page-events .legal-card { padding: 0; border: 0; background: transparent; box-shadow: none; }
.page-events .item-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; }
.page-events .item-list > li { min-width: 0; margin: 0; padding: 0; }
.page-events .item-row { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: start; gap: 20px; height: 100%; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); }
.page-events .thumb { width: 132px; height: auto; aspect-ratio: 4 / 3; border-radius: 10px; box-shadow: none; }
.page-events .item-body h2 { margin: 8px 0; font-size: 18px; line-height: 1.6; }
.page-events .item-body p { font-size: 13px; line-height: 1.8; }
.page-events .date-tag { margin: 0; padding: 3px 9px; color: var(--blue); background: var(--blue-soft); font-weight: 500; letter-spacing: 0.3px; }
.page-events .details-link { margin-top: 10px; color: var(--blue); font-size: 12px; font-weight: 500; }
.page-event .event-hero { gap: 48px; }
.page-event .event-hero h1 { font-size: 42px; font-weight: 600; line-height: 1.4; }
.page-event .event-type { color: #8c7652; font-weight: 500; }
.page-event .event-visual { border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-card); }
.page-event .event-visual img { height: auto; aspect-ratio: 4 / 3; }
.page-event .event-visual figcaption { padding: 12px 16px; font-weight: 500; font-size: 10px; letter-spacing: 0.4px; }
.page-event .event-content { gap: 20px; padding-top: 28px; }
.page-event .event-panel { padding: 26px; border-radius: 16px; box-shadow: var(--shadow-card); }
.page-event .event-meta dd { font-weight: 500; overflow-wrap: anywhere; }
.page-event .event-topics li { line-height: 1.85; }

/* Forms use readable labels and a single calm card. */
.page-registration .registration-hero { padding: 56px 0 64px; background: #f2f6fb; }
.page-registration .registration-hero::before { content: none; }
.page-registration .registration-grid { gap: 64px; align-items: start; }
.page-registration .registration-intro h1 { margin: 20px 0; font-size: 48px; font-weight: 600; line-height: 1.4; letter-spacing: -0.8px; }
.page-registration .registration-intro h1 em { font-family: inherit; color: var(--blue); font-weight: 600; }
.page-registration .registration-intro h1 em::after { content: none; }
.page-registration .registration-lead { font-size: 15px; }
.page-registration .registration-panel { padding: 28px; border-radius: 16px; box-shadow: var(--shadow-card); }
.page-registration .panel-heading { gap: 8px; }
.page-registration .panel-heading span { color: #8c7652; font-weight: 500; letter-spacing: 1.6px; }
.page-registration .panel-heading strong { font-size: 24px; font-weight: 600; }
.page-registration .registration-notes { gap: 12px; margin-top: 30px; padding-top: 22px; }
.page-registration .registration-notes p { align-items: start; font-size: 13px; }
.page-registration .registration-form input:not([type=checkbox]) { border-radius: 10px; background: #fff; }
.page-registration .registration-form label > span { font-weight: 500; }
.page-contact .contact-form { margin-top: 24px; padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.page-contact .contact-form label { font-size: 13px; font-weight: 500; }
.page-contact .contact-form :is(input:not([type=checkbox]), textarea) { min-height: 48px; border-color: var(--line-strong); border-radius: 10px; color: var(--ink); font-size: 16px; line-height: 1.6; }
.page-contact .contact-form button { min-height: 48px; background: var(--blue); font-size: 13px; font-weight: 500; }
.page-contact .contact-consent { min-height: 44px; align-items: center; font-size: 12px !important; }
.page-contact .contact-consent input { width: 18px; height: 18px; flex-shrink: 0; margin: 0; accent-color: var(--blue); }
.page-contact .legal-card > ul { padding: 16px 20px 16px 36px; border-radius: 12px; background: #f2f6fb; font-size: 14px; overflow-wrap: anywhere; }
.page-directory :is(.site-header, .hero) { background: #fcfcfa; }
.page-directory .site-header { border-color: var(--line); }
.page-directory .hero { border-bottom: 1px solid var(--line); }
.page-directory .company-card { border-color: var(--line); border-radius: 16px; box-shadow: var(--shadow-card); }
.page-directory .company-name { font-weight: 600; line-height: 1.7; }
.page-directory .filter { min-height: 44px; border-color: var(--line); border-radius: 24px; }

/* Gallery browsing shares the website shell; the immersive viewer stays dark. */
.page-album #galleryView { background: #fcfcfa; color: var(--ink); }
.page-album .album-intro {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #dfe9f3;
  background:
    radial-gradient(circle at 1px 1px, rgb(24 59 91 / 8%) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(100deg, rgb(250 252 254 / 98%) 0%, rgb(245 250 254 / 96%) 43%, rgb(229 242 252 / 76%) 100%),
    url("/media/album/share/album-2.jpg") right -4% center / clamp(280px, 46vw, 620px) auto no-repeat,
    linear-gradient(135deg, #f8fbfe 0%, #edf5fc 58%, #e7f1fa 100%);
  box-shadow: inset 0 -1px 0 rgb(255 255 255 / 72%);
}
.page-album .album-intro::before {
  content: "MOMENTS";
  position: absolute;
  top: 44%;
  right: max(-18px, calc((100vw - 1250px) / 2));
  z-index: 0;
  color: rgb(24 59 91 / 4%);
  font: 700 clamp(86px, 12vw, 168px) / 0.8 Georgia, "Times New Roman", serif;
  letter-spacing: 0.08em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  transform: translateY(-50%);
}
.page-album .album-intro::after {
  content: "";
  position: absolute;
  inset: 14px;
  background:
    linear-gradient(#b59b70, #b59b70) left top / 42px 1px no-repeat,
    linear-gradient(#b59b70, #b59b70) left top / 1px 42px no-repeat,
    linear-gradient(#b59b70, #b59b70) right bottom / 42px 1px no-repeat,
    linear-gradient(#b59b70, #b59b70) right bottom / 1px 42px no-repeat;
  opacity: 0.55;
  pointer-events: none;
}
.page-album .g-top { min-height: 76px; padding: 10px max(24px, calc((100vw - 1152px) / 2)); border-color: var(--line); background: rgb(252 252 250 / 97%); }
.page-album .g-back { display: flex; align-items: center; min-height: 44px; padding: 0; border: 0; }
.page-album .g-back img { display: block; width: 132px; height: auto; }
.page-album .album-tools {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  width: min(1152px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 0;
}
.page-album .g-tabs { gap: 4px; padding: 4px; border-color: #d5e4f1; background: rgb(255 255 255 / 72%); box-shadow: 0 5px 18px rgb(24 59 91 / 5%); }
.page-album .g-tab { min-height: 38px; padding: 0 18px; color: var(--text); font-family: inherit; font-size: 12px; line-height: 1.5; letter-spacing: 0; }
.page-album .g-tab.on { background: var(--ink); color: #fff; font-weight: 500; }
.page-album .g-tab:not(.on):hover { color: var(--blue); }
.page-album .g-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  grid-template-areas:
    "kicker stats"
    "title stats"
    "sub stats"
    "cta stats"
    "strip strip";
  width: min(1152px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 34px;
  overflow: visible;
  text-align: left;
}
.page-album .g-hero::before, .page-album .g-hero::after { display: none; }
.page-album .g-kicker {
  grid-area: kicker;
  justify-self: start;
  gap: 12px;
  color: #7b8998;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.page-album .g-kicker::before { width: 28px; background: #b59b70; }
.page-album .g-kicker::after { display: none; }
.page-album .g-hero h1 {
  grid-area: title;
  margin-top: 12px;
  background: none;
  color: var(--ink);
  -webkit-text-fill-color: currentColor;
  font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(38px, 4.7vw, 54px);
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.18;
}
.page-album .g-hero h1::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b59b70, rgb(181 155 112 / 10%));
}
.page-album .g-sub { grid-area: sub; margin-top: 8px; color: var(--text); font-size: 14px; letter-spacing: 0; line-height: 1.8; }
.page-album .g-stats {
  grid-area: stats;
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  width: auto;
  margin: 0 0 0 clamp(24px, 5vw, 64px);
  padding: 22px 8px;
  border: 1px solid rgb(183 207 228 / 82%);
  border-radius: 18px;
  background: linear-gradient(145deg, rgb(255 255 255 / 88%), rgb(245 250 254 / 72%));
  box-shadow:
    0 18px 44px rgb(24 59 91 / 9%),
    inset 0 1px 0 rgb(255 255 255 / 96%),
    inset 0 2px 0 rgb(181 155 112 / 55%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.page-album .g-stat { gap: 8px; padding: 0 18px; text-align: center; }
.page-album .g-stat + .g-stat { border-color: #d9e6f1; }
.page-album .g-stat b { background: none; color: var(--ink); -webkit-text-fill-color: currentColor; font-family: inherit; font-size: 38px; font-weight: 500; line-height: 1; }
.page-album .g-stat span { color: var(--text); font-size: 11px; letter-spacing: 0.4px; white-space: nowrap; }
.page-album .g-cta { grid-area: cta; justify-content: flex-start; margin-top: 24px; gap: 10px; }
.page-album :is(.g-play, .g-ghost) { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 26px; font-size: 13px; font-weight: 500; letter-spacing: 0; box-shadow: none; transform: none; }
.page-album .g-play { background: linear-gradient(135deg, #3d83c3, #286398); box-shadow: 0 12px 28px rgb(52 120 185 / 24%); }
.page-album .g-play:hover { background: linear-gradient(135deg, #3478b9, #214f7c); }
.page-album .g-ghost { border-color: #cbdbef; color: var(--ink); background: rgb(255 255 255 / 84%); box-shadow: 0 8px 20px rgb(24 59 91 / 5%); }
.page-album .g-ghost:hover { border-color: #9ebfd9; color: var(--blue); }
.page-album .g-strip {
  grid-area: strip;
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 0;
  overflow: hidden;
  transform: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.page-album .g-strip-track { gap: 10px; animation-duration: 72s; }
.page-album .g-strip .st { width: 126px; aspect-ratio: 16 / 10; border-radius: 11px; border-color: #d7e4ef; background: #e6eff7; box-shadow: 0 8px 22px rgb(24 59 91 / 9%); }
.page-album .g-strip .st img { opacity: 1; }
.page-album .g-strip .st:hover { border-color: #8bb4d4; box-shadow: 0 12px 28px rgb(24 59 91 / 14%); }
.page-album .g-wrap { width: 100%; max-width: 1200px; margin: 36px auto 0; padding: 0 24px; }
.page-album .ab-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; columns: auto; }
.page-album .ab-card { display: flex; flex-direction: column; min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); opacity: 1; rotate: none; transform: none; translate: none; scale: 1; animation: none; transition: border-color 180ms, box-shadow 180ms; }
.page-album .ab-card.in { animation: none; }
.page-album .ab-card .ab-cover { width: 100%; aspect-ratio: 4 / 3; }
.page-album .ab-cover img { filter: none; transform: none; }
.page-album .ab-cover::after { background: linear-gradient(180deg, rgb(17 41 62 / 20%), transparent 45%); }
.page-album .ab-cover::before, .page-album .ab-glare { display: none; }
.page-album .ab-idx { color: #fff; border: 0; border-radius: 6px; background: rgb(24 59 91 / 70%); font-family: inherit; font-size: 10px; letter-spacing: 0.6px; }
.page-album .ab-count { background: rgb(24 59 91 / 70%); border-radius: 6px; }
.page-album .ab-body { width: 100%; flex: 1; padding: 18px; }
.page-album .ab-t { color: var(--ink); font-family: inherit; font-size: 18px; font-weight: 600; line-height: 1.6; }
.page-album .ab-sub { margin-top: 6px; color: var(--text); font-size: 12px; line-height: 1.7; letter-spacing: 0; }
.page-album .ab-arrow { width: 28px; height: 28px; border-color: var(--line-strong); color: var(--blue); }
.page-album .g-foot { color: var(--text); font-size: 10px; line-height: 1.8; padding: 28px 18px; }
.page-album.mode-slide .site-footer { display: none; }
.page-album :is(.album-home, .album-browse-back) { position: fixed; top: 10px; z-index: 120; display: inline-flex; width: 96px; height: 44px; min-height: 44px; align-items: center; justify-content: center; margin: 0; padding: 0; border: 1px solid #d4e3f0; border-radius: 24px; background: #f7fafd; color: #183b5b; font: 500 12px/1 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 0; text-decoration: none; cursor: pointer; }
.page-album .album-home { left: 18px; }
.page-album .album-browse-back { right: 18px; }
.page-album.mode-browse .album-home { display: none; }
.page-album #albumDetail { background: #fcfcfa; color: var(--ink); }
.page-album .ad-top { border-color: var(--line); background: rgb(252 252 250 / 97%); }
.page-album :is(.ad-title, .ad-head h2) { color: var(--ink); }
.page-album :is(.ad-back, .ad-play, .ad-share) { min-height: 44px; border-color: var(--line-strong); background: #fff; color: var(--blue); font-size: 12px; letter-spacing: 0; }
.page-album .ad-head p { color: var(--text); }
.page-album .ph { border: 1px solid var(--line); border-radius: 12px; background: #f2f6fb; box-shadow: none; }

/* The responsive ranking is the website view; fullscreen keeps the event stage. */
body.page-leaderboard { overflow: auto; padding: 0; }
.page-leaderboard #stageWrap { display: none; }
.page-leaderboard #topBtns { position: sticky; top: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 12px max(24px, calc((100vw - 1152px) / 2)); border-bottom: 1px solid var(--line); background: rgb(252 252 250 / 97%); backdrop-filter: blur(12px); }
.page-leaderboard .ranking-brand { display: flex; align-items: center; min-height: 44px; margin-right: auto; }
.page-leaderboard .ranking-brand img { display: block; width: 132px; height: auto; }
.page-leaderboard #topBtns .btn { min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 24px; background: #fff; box-shadow: none; color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.page-leaderboard #topBtns .btn-gold { border-color: var(--blue); background: var(--blue); color: #fff; }
.page-leaderboard #mobileBoard { display: block; min-height: 0; max-width: 1100px; margin: 0 auto; padding: 44px 24px 56px; background: none; }
.page-leaderboard .mob-head { padding: 0 0 28px; text-align: left; }
.page-leaderboard .mob-eyebrow { color: var(--blue); font-size: 11px; letter-spacing: 1.5px; }
.page-leaderboard .mob-head h1 { margin-top: 12px; color: var(--ink); font-family: inherit; font-size: 42px; font-weight: 600; letter-spacing: 0; text-shadow: none; }
.page-leaderboard .mob-sub { margin-top: 10px; color: var(--text); font-size: 14px; }
.page-leaderboard .mob-table { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); }
.page-leaderboard .mob-grid { display: grid; grid-template-columns: 56px minmax(0, 1fr) 180px 80px; align-items: center; gap: 20px; }
.page-leaderboard .mob-table-head { padding: 14px 24px; background: #f2f6fb; color: var(--text); font-size: 12px; text-align: center; }
.page-leaderboard .mob-table-head span:nth-child(2) { text-align: left; }
.page-leaderboard .mob-table-head span:last-child { text-align: right; }
.page-leaderboard #mobileBoardList { background: #fff; }
.page-leaderboard .mob-row { padding: 22px 24px; border-top: 1px solid var(--line); color: var(--ink); }
.page-leaderboard .mob-row.top1 { background: #f0f6fc; }
.page-leaderboard .mob-rank { color: #8c7652; text-align: center; font-size: 24px; font-weight: 500; }
.page-leaderboard .mob-name { min-width: 0; }
.page-leaderboard .mob-name strong { display: block; color: var(--ink); font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.page-leaderboard .mob-members { display: block; margin-top: 6px; color: var(--text); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.page-leaderboard .mob-change { color: var(--text); text-align: center; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.page-leaderboard .mob-total { color: var(--blue); text-align: right; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.page-leaderboard .mob-note { margin: 20px 0 0; color: var(--text); font-size: 12px; line-height: 1.8; text-align: left; }
.page-leaderboard #panel { z-index: 80; width: min(400px, 100%); border-left: 1px solid #66829c; background: #183b5b; color: #d2dce5; box-shadow: -8px 0 32px rgb(24 59 91 / 20%); }
.page-leaderboard :is(.p-title, .icon-btn, .co-total, .step, .co-select) { color: #eef5fc; }
.page-leaderboard :is(.p-sub, .p-rulehint, .sel-label, .co-day) { color: #afc1d1; }
.page-leaderboard :is(.p-head, .p-days, .p-foot) { border-color: rgb(255 255 255 / 18%); }
.page-leaderboard :is(.co, .co-select, .co-name, .score, .step) { border-color: rgb(255 255 255 / 25%); border-radius: 10px; }
.page-leaderboard .co-select { min-height: 44px; background: #224c70; font-size: 16px; }
.page-leaderboard .co-select option { background: #224c70; color: #fff; }
.page-leaderboard .icon-btn { min-width: 44px; min-height: 44px; }
.page-leaderboard .step { min-width: 44px; min-height: 44px; }
.page-leaderboard .p-head-btns { gap: 0; }
.page-leaderboard .btn-sm { min-height: 44px; }
.page-leaderboard :is(.rules-win, .log-win) { max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); border-radius: 16px; }
.page-leaderboard :is(.rules-close, .log-close) { min-width: 44px; min-height: 44px; }
.page-leaderboard :is(#rulesOverlay, #logOverlay) { padding: 16px; background: rgb(17 41 62 / 70%); }
.page-leaderboard :is(.rules-win, .log-win) { padding: 24px; border: 1px solid var(--line); background: #fcfcfa; color: var(--ink); box-shadow: 0 20px 70px rgb(17 41 62 / 20%); }
.page-leaderboard .rules-title { margin-right: 52px; color: var(--ink); font-size: 24px; font-weight: 600; letter-spacing: 0; }
.page-leaderboard :is(.rules-sub, .rtag, .rytpe, .rnote) { color: var(--text); letter-spacing: 0; }
.page-leaderboard .rules-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 238px), 1fr)); gap: 16px; }
.page-leaderboard .rcard { padding: 18px; border-color: var(--line); border-radius: 12px; background: #fff; }
.page-leaderboard :is(.rname, .rline, .rflow) { color: var(--ink); }
.page-leaderboard .rnum { color: #8c7652; font-style: normal; font-weight: 500; }
.page-leaderboard :is(.rscore, .rline b, .rflow .hl, .rslogan) { color: var(--blue); }
.page-leaderboard .rscore { border-color: var(--line-strong); background: var(--blue-soft); }
.page-leaderboard .rline b.minus { color: #b54d4d; }
.page-leaderboard .ritem { border-color: var(--line); }
.page-leaderboard .rules-close { background: #f2f6fb; border-color: var(--line-strong); color: var(--ink); }
.page-leaderboard .log-tools { flex-wrap: wrap; }
.page-leaderboard .log-select { min-width: 0; min-height: 44px; max-width: 100%; flex: 1; color: var(--ink); background: #fff; border-color: var(--line-strong); }
.page-leaderboard .log-select option { background: #fff; color: var(--ink); }
.page-leaderboard .log-btn { min-height: 44px; background: #f2f6fb; color: var(--ink); border-color: var(--line-strong); }
.page-leaderboard .log-list { color: var(--ink); }
.page-leaderboard :is(.lg-time, .lg-name) { color: var(--text); }
html:fullscreen .page-leaderboard #stageWrap { display: flex; }
html:fullscreen .page-leaderboard :is(#mobileBoard, .site-footer, .hzd-header) { display: none; }
html:fullscreen .page-leaderboard #topBtns { position: fixed; left: auto; top: 12px; right: 12px; padding: 0; border: 0; background: none; }
html:fullscreen .page-leaderboard .ranking-brand { display: none; }

/* Page tools sit below the shared site header. */
.page-album .album-tools { display: flex; justify-content: flex-end; max-width: 1200px; margin: 0 auto; padding: 20px 40px 0; }
.page-leaderboard #topBtns { position: relative; top: auto; max-width: 1200px; margin: 0 auto; padding: 20px 40px 0; border: 0; background: transparent; backdrop-filter: none; }
.page-leaderboard.panel-open #topBtns { right: 0; }

@media (max-width: 1020px) {
  .page-events .item-row { grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding: 20px; }
  .page-events .thumb { width: 100px; }
  .page-registration .registration-grid { gap: 32px; }
}
@media (max-width: 900px) {
  .page-tob .tob-hero-grid, .page-tob .tob-coach { grid-template-columns: 1fr; gap: 28px; }
  .page-tob .tob-poster { max-width: 680px; }
  .page-season .season-hero { gap: 28px; }
  .page-season .season-hero h1 { font-size: 42px; }
}
@media (max-width: 768px) {
  html:has(> body.page-secondary) { scroll-padding-top: 84px; }
  .page-secondary :is(.wrap, .legal-header .wrap) { padding-inline: max(18px, env(safe-area-inset-left, 0px)); }
  .page-secondary :is(.legal-header .wrap, .tob-head .wrap, .header-inner) { min-height: 64px; }
  .page-secondary :is(.legal-header img, .tob-head img, .header .brand img) { width: 104px; }
  .page-secondary .legal-main { padding: 32px 18px 40px; }
  .page-secondary .legal-main > h1 { font-size: 30px; letter-spacing: -0.4px; }
  .page-secondary .legal-main .meta { margin-bottom: 24px; font-size: 12px; }
  .page-secondary .legal-card { padding: 24px 20px; }
  .page-document .legal-main h2 { font-size: 17px; margin-top: 28px; }
  .page-document .legal-main { font-size: 14px; line-height: 1.95; }
  .page-tob .tob-hero { padding: 32px 0 36px; }
  .page-tob .tob-hero h1 { font-size: 32px; }
  .page-tob .tob-actions { margin-top: 24px; }
  .page-tob .tob-section { padding-block: 40px; }
  .page-tob :is(.tob-coach h2, .section-heading h2) { font-size: 26px; }
  .page-tob :is(.tob-coach-card, .tob-point) { padding: 22px; }
  .page-tob .tob-points { gap: 14px; margin-top: 24px; }
  .page-tob .tob-cta { padding-block: 32px; }
  .page-tob .tob-cta h2 { font-size: 24px; }
  .page-season .season-hero { display: block; min-height: 0; padding-bottom: 32px; overflow: visible; }
  .page-season .season-hero-copy { position: relative; z-index: 1; }
  .page-season .season-hero h1 { font-size: 38px; margin-top: 16px; }
  .page-season .season-hero-meta { font-size: 17px; }
  .page-season .season-hero .lede { font-size: 14px; }
  .page-season .season-hero-visual {
    position: absolute;
    top: 48px;
    right: 0;
    display: block;
    width: clamp(145px, 36vw, 210px);
    min-height: 0;
    max-width: none;
    margin: 0;
    pointer-events: none;
  }
  .page-season .season-hero-visual-card { width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; box-shadow: 0 12px 30px rgb(22 61 101 / 12%); }
  .page-season .season-stats li { padding-inline: 16px; }
  .page-season .season-stats li:first-child { padding-left: 0; }
  .page-season .season-stats strong { font-size: 22px; }
  .page-season .course-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-season .section-title { font-size: 24px; }
  .page-season .course-body { padding: 20px; }
  .page-season .course-card h3 { font-size: 18px; }
  .page-season .course-mentor { padding: 16px; }
  .page-events .legal-card { padding: 0; }
  .page-events .item-list { grid-template-columns: 1fr; gap: 14px; }
  .page-events .item-row { padding: 18px; }
  .page-events .item-body h2 { margin-block: 7px; font-size: 16px; }
  .page-events .item-body p { font-size: 12px; }
  .page-event .event-hero { display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding-bottom: 28px; }
  .page-event .event-hero h1 { font-size: 30px; }
  .page-event .event-content { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; }
  .page-event .event-panel { padding: 22px 20px; }
  .page-event .event-meta { grid-template-columns: 64px minmax(0, 1fr); }
  .page-registration .registration-hero { padding: 32px 0 40px; }
  .page-registration .registration-grid { grid-template-columns: 1fr; gap: 28px; max-width: 620px; }
  .page-registration .registration-intro h1 { font-size: 34px; }
  .page-registration .registration-notes { gap: 8px; margin-top: 22px; padding-top: 18px; }
  .page-registration .registration-panel { padding: 24px 20px; }
  .page-registration .registration-form input:not([type=checkbox]) { font-size: 16px; }
  .page-registration .form-consent span { font-size: 12px; font-weight: 400; }
  .page-contact .contact-form button { width: 100%; }
  .page-album .g-top { min-height: 64px; padding: 8px 18px; gap: 12px; }
  .page-album .g-back img { width: 104px; }
  .page-album .album-tools { width: calc(100% - 36px); padding: 14px 0 0; }
  .page-album .g-tab { padding-inline: 14px; font-size: 11px; }
  .page-album .g-hero {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 0.82fr);
    width: calc(100% - 36px);
    padding: 16px 0 28px;
  }
  .page-album .g-kicker { font-size: 9px; letter-spacing: 1px; gap: 9px; }
  .page-album .g-kicker::before { width: 18px; }
  .page-album .g-hero h1 { margin-top: 10px; font-size: 38px; line-height: 1.2; }
  .page-album .g-sub { margin-top: 7px; font-size: 13px; }
  .page-album .g-stats { margin-left: 22px; padding: 18px 4px; }
  .page-album .g-stat { gap: 6px; padding-inline: 10px; }
  .page-album .g-stat b { font-size: 31px; }
  .page-album .g-stat span { font-size: 10px; }
  .page-album .g-cta { margin-top: 20px; gap: 8px; }
  .page-album :is(.g-play, .g-ghost) { min-height: 44px; padding-inline: 18px; font-size: 12px; }
  .page-album .g-strip { margin-top: 22px; }
  .page-album .g-strip .st { width: 104px; border-radius: 9px; }
  .page-album .g-wrap { margin-top: 28px; padding-inline: 18px; }
  .page-album .ab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .page-album .ab-card { border-radius: 14px; }
  .page-album .ab-body { padding: 14px 12px; gap: 6px; align-items: flex-start; }
  .page-album .ab-t { font-size: 15px; }
  .page-album .ab-sub { font-size: 11px; }
  .page-album .ab-arrow { display: none; }
  .page-album .ab-idx { top: 8px; left: 8px; padding-inline: 6px; font-size: 9px; }
  .page-album .ab-count { top: 8px; right: 8px; padding-inline: 6px; font-size: 9px; }
  .page-leaderboard #topBtns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 18px 18px 0; }
  .page-leaderboard .ranking-brand { grid-column: 1 / 4; }
  .page-leaderboard .ranking-brand img { width: 104px; }
  .page-leaderboard #topBtns .btn { min-width: 0; padding-inline: 6px; border-radius: 12px; font-size: 11px; }
  .page-leaderboard #homeBtn { grid-column: 4; grid-row: 1; }
  .page-leaderboard #mobileBoard { padding: 28px 18px 36px; }
  .page-leaderboard .mob-head { padding-bottom: 22px; }
  .page-leaderboard .mob-head h1 { font-size: 32px; }
  .page-leaderboard .mob-grid { grid-template-columns: 30px minmax(0, 1fr) 62px 44px; gap: 8px; }
  .page-leaderboard .mob-table-head { padding: 12px; font-size: 10px; }
  .page-leaderboard .mob-row { padding: 18px 12px; }
  .page-leaderboard .mob-name strong { font-size: 14px; line-height: 1.6; }
  .page-leaderboard .mob-members { font-size: 11px; }
  .page-leaderboard .mob-change { font-size: 11px; }
  .page-leaderboard .mob-rank { font-size: 20px; }
  .page-leaderboard .mob-total { font-size: 20px; }
  .page-leaderboard .mob-note { font-size: 11px; }
}
@media (max-width: 620px) {
  .page-album .album-tools { justify-content: center; padding-top: 12px; }
  .page-album .g-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "title"
      "sub"
      "stats"
      "cta"
      "strip";
    padding: 14px 0 24px;
    text-align: center;
  }
  .page-album .g-kicker { justify-self: center; }
  .page-album .g-hero h1 { font-size: 36px; }
  .page-album .g-hero h1::after { width: 36px; margin: 14px auto 0; }
  .page-album .g-stats { width: min(100%, 360px); margin: 22px auto 0; }
  .page-album .g-cta { justify-content: center; }
  .page-album .g-strip { margin-top: 20px; }
}
@media (max-width: 420px) {
  .page-album .g-tabs { width: 100%; }
  .page-album .g-tab { flex: 1; }
  .page-album .g-cta { flex-direction: column; align-items: stretch; }
  .page-album :is(.g-play, .g-ghost) { width: 100%; }
  .page-season .season-hero-visual { top: 46px; width: 120px; }
}
@media (hover: hover) and (pointer: fine) {
  .page-secondary .button.primary:hover, .page-secondary .event-action--primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
  .page-events .item-row:hover, .page-album .ab-card:hover { border-color: #b8d1e5; box-shadow: var(--shadow-lift); background: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .page-secondary, .page-secondary * { scroll-behavior: auto !important; }
  .page-secondary *, .page-secondary *::before, .page-secondary *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
