@charset "UTF-8";


/*---------------------------------------------------------------*\
$ body
\*---------------------------------------------------------------*/

body:has(.mock-over-all) {
  max-width: 600px;
  margin: 0 auto;
}

html:has(.mock-over-all) {
  scroll-behavior: smooth;
}

.mock-over-all {
  --app-icon-badge-size: 28px;
  width: 100%;
  max-width: 600px;
  padding: 0 12px 110px;
  overflow: clip;
  scroll-behavior: smooth;
  background:
    radial-gradient(900px 500px at 100% -5%, rgba(200, 170, 255, 0.38) 0%, transparent 60%),
    radial-gradient(700px 500px at -10% 22%, rgba(255, 200, 220, 0.35) 0%, transparent 60%),
    radial-gradient(800px 600px at 50% 60%, rgba(180, 230, 255, 0.3) 0%, transparent 62%),
    radial-gradient(600px 500px at 110% 100%, rgba(255, 220, 190, 0.32) 0%, transparent 60%),
    linear-gradient(180deg, #fbfaff 0%, #f5f7ff 100%);
  font-family: "Inter", var(--font-mock-inter), "Noto Sans JP", "Hiragino Sans", sans-serif;
}

/* Award LP 表示時（main の data-award-mode — React 制御ラジオでは :checked より確実） */
body:has(.mock-over-all[data-award-mode='true']) {
  max-width: none;
}

.mock-over-all[data-award-mode='true'] {
  max-width: none;
}


/*---------------------------------------------------------------*\
$ state radios (hidden)
\*---------------------------------------------------------------*/

.mock-over-all .stateRadio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  clip: rect(0 0 0 0);
}


/*---------------------------------------------------------------*\
$ mode/category visibility (CSS-only switching via :has())
\*---------------------------------------------------------------*/

.mock-over-all .modeLabel {
  display: none;
}

.mock-over-all:has(#mode-award:checked) [data-mode="award"].modeLabel,
.mock-over-all:has(#mode-total:checked) [data-mode="total"].modeLabel,
.mock-over-all:has(#mode-m1:checked) [data-mode="m1"].modeLabel,
.mock-over-all:has(#mode-m2:checked) [data-mode="m2"].modeLabel,
.mock-over-all:has(#mode-m3:checked) [data-mode="m3"].modeLabel {
  display: inline;
}

.mock-over-all .catPanel {
  display: none;
}

.mock-over-all:has(#cat-overall:checked) .catPanel_overall,
.mock-over-all:has(#cat-pococha:checked) .catPanel_pococha,
.mock-over-all:has(#cat-tiktok:checked) .catPanel_tiktok,
.mock-over-all:has(#cat-rookie:checked) .catPanel_rookie {
  display: block;
}

/* Award mode: hide rank UI, show placeholder */
.mock-over-all .awardPanel {
  display: none;
}

.mock-over-all:has(#mode-award:checked) .hero {
  display: none;
}

.mock-over-all:has(#mode-award:checked) .catPanels {
  display: none;
}

.mock-over-all:has(#mode-award:checked) .awardPanel {
  display: block;
}


/*---------------------------------------------------------------*\
$ dock — Liquid Glass command deck
   tabbar = speech bubble (with downward tail), catTabs = base surface
\*---------------------------------------------------------------*/

.mock-over-all .dockRow {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 120;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  pointer-events: none;
}

.mock-over-all .bottomBar {
  display: flex;
  align-items: stretch;
  width: 100%;
  pointer-events: auto;
}

/*---------------------------------------------------------------*\
$ tabbar — speech bubble (mode/シーズン tabs)
\*---------------------------------------------------------------*/

.mock-over-all .tabbar {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 4px;
  margin: 0 12px 10px 80px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  pointer-events: auto;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(120, 80, 255, 0.16), transparent 55%),
    radial-gradient(120% 160% at 100% 100%, rgba(46, 196, 255, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 251, 255, 0.78) 100%);
  backdrop-filter: blur(26px) saturate(200%);
  -webkit-backdrop-filter: blur(26px) saturate(200%);
  box-shadow:
    0 18px 42px -12px rgba(15, 23, 42, 0.22),
    0 3px 10px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.32);
  pointer-events: auto;
  isolation: isolate;
}

/* Top inner highlight ribbon for the bubble */
.mock-over-all .tabbar::before {
  content: '';
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 50%;
  border-radius: 17px 17px 50% 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0.7;
  z-index: 0;
}

/* Speech bubble tail — downward triangle aligned to active CATEGORY tab below.
   Position is computed from CSS custom properties --cat-count + --cat-idx
   set on .tabbar, sharing catTabs' geometry (same padding/gap/width). */
.mock-over-all .tabbarTail {
  --cat-pad: 4px;
  --cat-gap: 2px;
  --cat-w: calc((100% - 2 * var(--cat-pad) - (var(--cat-count, 4) - 1) * var(--cat-gap)) / var(--cat-count, 4));
  position: absolute;
  left: calc(var(--cat-pad) + var(--cat-idx, 0) * (var(--cat-w) + var(--cat-gap)) + var(--cat-w) / 2);
  top: 100%;
  margin-top: -1px;
  width: 18px;
  height: 8px;
  transform: translateX(-50%);
  background: rgba(247, 251, 255, 0.92);
  backdrop-filter: blur(26px) saturate(200%);
  -webkit-backdrop-filter: blur(26px) saturate(200%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 4px 5px rgba(15, 23, 42, 0.14));
  transition: left 0.32s cubic-bezier(0.34, 0.86, 0.47, 1);
  pointer-events: none;
}

.mock-over-all .tabbarBtn {
  position: relative;
  z-index: 1;
  min-height: 30px;
  padding: 5px 4px;
  border: none;
  border-radius: 80px;
  font-size: 11px;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  background: transparent;
  transition: color 0.18s ease, background 0.24s ease, box-shadow 0.24s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.mock-over-all .tabbarBtn:active {
  transform: scale(0.96);
}

.mock-over-all .tabbarBtn[aria-current="true"] {
  background: #000;
  box-shadow:
    0 5px 12px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.mock-over-all .tabbarBtn[aria-current="true"] .tabbarBtnLabel {
  color: #fff;
  font-size: 10px;
}

.mock-over-all .tabbarBtn[aria-disabled="true"] {
  color: #94a3b8;
  cursor: default;
  opacity: 0.5;
  pointer-events: none;
}


/*---------------------------------------------------------------*\
$ catTabs — base surface (category tabs)
\*---------------------------------------------------------------*/

.mock-over-all .catTabs {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-right: none;
  border-bottom: none;
  background:
    linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  pointer-events: auto;
  transition: opacity 0.2s ease;
}

.mock-over-all .catTab {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: none;
  font-size: 10px;
  color: #5b677b;
  cursor: pointer;
  white-space: nowrap;
  background: transparent;
  transition: color 0.18s ease, background 0.24s ease, box-shadow 0.24s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.mock-over-all .catTab:active {
  transform: scale(0.95);
}

.mock-over-all .catTab[aria-current="true"] {
  color: #fff;
  background: #000;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.mock-over-all .catTab[aria-current="true"] .catTabLabel {
  color: #fff;
}

/* catTabs always visible (including total mode); only award mode hides them */
.mock-over-all:has(#mode-award:checked) .catTabs,
.mock-over-all:has(#mode-award:checked) .tabbarTail {
  display: none;
}


/*---------------------------------------------------------------*\
$ hero
\*---------------------------------------------------------------*/

.mock-over-all .hero {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  margin: 0 0 2px;
}

/* /ranking-variant */
.mock-over-all[data-variant-category] {
  padding-bottom: 0;
}

.mock-over-all[data-variant-category] .variantHeader {
  position: sticky;
  top: 0;
  z-index: 130;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: -12px -12px 24px;
  background: linear-gradient(#f1f5f9 0%, #fff 100%);
  /* background: linear-gradient(180deg, rgba(251, 250, 255, 0.96) 0%, rgba(251, 250, 255, 0.88) 78%, rgba(251, 250, 255, 0) 100%); */
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.mock-over-all[data-variant-category] .variantHeader .catTabs,
.mock-over-all[data-variant-category] .variantHeader .tabbar {
  margin: 0;
}

.mock-over-all[data-variant-category] .variantHeader .catTabs {
  min-height: 56px;
  align-items: stretch;
  border-radius: 0;
}

.mock-over-all[data-variant-category] .variantHeader .catTab {
  min-height: 42px;
  padding: 8px 4px;
}

.mock-over-all[data-variant-category] .variantHeader .tabbar {
  min-height: 48px;
  border-radius: 0;
  box-shadow: none;
  background: none;
}

.mock-over-all[data-variant-category] .variantHeader .tabbar::before {
  border-radius: 0 0 17px 17px;
}

.mock-over-all[data-variant-category] .hero {
  margin-top: 0;
}

/* Main hero card: summer mesh gradient */
.mock-over-all .heroMain {
  width: calc(100% + 24px);
  margin-left: -12px;
  margin-right: -12px;
  margin-top: calc(-12px - env(safe-area-inset-top, 0px));
  padding: 32px 0 0;
  background:
    linear-gradient(135deg, #00e1b4 0%, #1728ff 50% 50%, #40c4ff 100%);
}

.mock-over-all:not([data-variant-category]) .heroMain {
  height: 125px;
}

.mock-over-all[data-variant-category] .heroMain {
  width: 100%;
  margin: 0;
  padding: 16px 0;
  border-radius: 12px;
}

.mock-over-all .heroMain>* {
  position: relative;
  z-index: 1;
}

/* Floating decorative orbs for summer feel */
.mock-over-all .heroOrb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.mock-over-all .heroOrb_a {
  width: 140px;
  height: 140px;
  top: -30px;
  right: -15px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.88) 0%, transparent 70%);
}

.mock-over-all .heroOrb_b {
  width: 180px;
  height: 180px;
  bottom: -50px;
  left: -40px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.78) 0%, transparent 70%);
}

.mock-over-all .heroOrb_c {
  width: 110px;
  height: 110px;
  top: 35%;
  right: 28%;
  background: radial-gradient(circle, rgba(244, 100, 140, 0.66) 0%, transparent 70%);
}

.mock-over-all .heroKicker {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.95);
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mock-over-all .heroTitle,
.mock-over-all .heroTitle * {
  font-size: 20px;
  margin: 10px 0 0;
  font-weight: 700;
}

.mock-over-all[data-variant-category] .heroPeriod {
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.5;
  opacity: 0.92;
}

/* 期間タイムライン */
.mock-over-all .periodTimeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  list-style: none;
  position: relative;
}

.mock-over-all .periodTimeline::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, #7cd9ff 0%, #a78bfa 50%, #f472b6 100%);
  border-radius: 1px;
  z-index: 0;
}

.mock-over-all .periodPoint {
  gap: 6px;
  position: relative;
}

.mock-over-all .periodDot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #a78bfa;
  box-shadow: 0 2px 6px rgba(139, 92, 246, 0.35);
}

.mock-over-all .periodPoint_start .periodDot {
  background: linear-gradient(135deg, #7cd9ff 0%, #a78bfa 100%);
  border-color: #fff;
}

.mock-over-all .periodPoint_end .periodDot {
  background: linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
  border-color: #fff;
}

.mock-over-all .periodMonth {
  font-size: 10px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
}


/*---------------------------------------------------------------*\
$ sections
\*---------------------------------------------------------------*/

.mock-over-all .tierSection {
  overflow: visible;
  scroll-margin-top: 8px;
  margin: 16px 0 0;
}

/* Sticky: .mock-over-all .stickyHead only */
.mock-over-all .stickyHead {
  position: sticky;
  top: max(6px, env(safe-area-inset-top, 0px));
  z-index: 40;
  flex-shrink: 0;
  align-self: stretch;
  width: 100%;
  box-shadow: rgb(255, 255, 255) 0px 0px 8px inset;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 14px;
  border-radius: 12px;
  margin: 0 0 12px 0;
}

.mock-over-all .stickyText {
  gap: 6px;
}

.mock-over-all .stickyTitle {
  font-size: 14px;
}

.mock-over-all .stickyCount {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.mock-over-all .tierSection_general .stickyHead {
  background:
    linear-gradient(135deg, #001dff 0%, #ff04df 50% 50%, #ffb500 100%);
}

.mock-over-all .tierSection_loyal .stickyHead {
  background:
    linear-gradient(135deg, #20398b 0%, #2790c3 50% 50%, #406f92 100%);
}

.mock-over-all .tierSection_platinum .stickyHead {
  background:
    linear-gradient(135deg, #9d9b9a 0%, #cab8af 50% 50%, #aba99f 100%);
}

.mock-over-all .tierSection_gold .stickyHead {
  background:
    linear-gradient(135deg, #a28430 0%, #b0945b 50% 50%, #ceaa43 100%);
}

.mock-over-all .tierSection_gold .stickyCount {
  background: rgba(0, 0, 0, 0.22);
}

.mock-over-all .tierSection_pococha .stickyHead {
  background:
    radial-gradient(ellipse 124% 200% at 108% 6%, rgba(254, 205, 211, .98) 0%, rgba(254, 205, 211, .58) 44%, rgba(254, 205, 211, 0) 84%),
    radial-gradient(ellipse 106% 200% at -5% 70%, rgba(190, 18, 60, .94) 0%, rgba(190, 18, 60, .54) 44%, rgba(190, 18, 60, 0) 84%),
    linear-gradient(148deg, #be123c 0%, #e11d48 40%, #f43f5e 66%, #fb7185 86%, #fda4af 100%);
}

.mock-over-all .tierSection_tiktok .stickyHead {
  background:
    radial-gradient(ellipse 160% 200% at -5% 38%, rgba(105, 201, 208, .92) 0%, rgba(105, 201, 208, .50) 44%, rgba(105, 201, 208, 0) 84%),
    radial-gradient(ellipse 160% 200% at 105% 66%, rgba(238, 29, 82, .92) 0%, rgba(238, 29, 82, .48) 44%, rgba(238, 29, 82, 0) 84%),
    linear-gradient(135deg, #5ecfd6 0%, #f0a0b8 100%);
}

.mock-over-all .tierSection_rookie .stickyHead {
  background:
    radial-gradient(ellipse 140% 200% at -5% 24%, rgba(134, 239, 172, .92) 0%, rgba(134, 239, 172, .48) 44%, rgba(134, 239, 172, 0) 84%),
    radial-gradient(ellipse 110% 200% at 108% 82%, rgba(103, 232, 249, .92) 0%, rgba(103, 232, 249, .50) 42%, rgba(103, 232, 249, 0) 82%),
    linear-gradient(148deg, #0d9488 0%, #14b8a6 42%, #2dd4bf 68%, #5eead4 88%);
}


/*---------------------------------------------------------------*\
$ list
\*---------------------------------------------------------------*/

.mock-over-all .list {
  position: relative;
  background: rgba(255, 255, 255, 0.68);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  overflow: hidden;
  box-shadow:
    0 18px 44px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.mock-over-all .row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.mock-over-all .row:first-child {
  border-top: 0;
}

.mock-over-all .rankBadge {
  margin: 8px 0 0;
}

.mock-over-all .rankNum {
  font-size: 13px;
  font-weight: 700;
}

.mock-over-all .rankUnit {
  font-size: 10px;
  color: #94a3b8;
  margin: 0 0 0 2px;
}

.mock-over-all .thumbWrap {
  flex: 0 0 auto;
  width: 60px;
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.mock-over-all .deferredThumb {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.26) 8%, rgba(255, 255, 255, 0.56) 18%, rgba(255, 255, 255, 0.26) 33%),
    linear-gradient(135deg, rgba(226, 232, 240, 0.85), rgba(248, 250, 252, 0.78));
  background-size: 220% 100%, cover;
  animation: rankingThumbSkeleton 1.25s linear infinite;
}

.mock-over-all .deferredThumb.is-loaded {
  background: none;
  animation: none;
}

.mock-over-all .deferredThumb .thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.mock-over-all .deferredThumb.is-loaded .thumb {
  opacity: 1;
}

@keyframes rankingThumbSkeleton {
  0% {
    background-position: 100% 0, center;
  }

  100% {
    background-position: -100% 0, center;
  }
}

.mock-over-all .main {
  gap: 6px;
}

.mock-over-all .rowBody {
  flex: 1;
  gap: 8px;
  align-self: stretch;
}

/* Inline rank for text rows (20+) — sits in the thumb column */
.mock-over-all .rankInline {
  grid-column: 1;
  justify-self: center;
  display: inline-flex;
  align-items: baseline;
}

.mock-over-all .name {
  font-size: 13px;
  font-weight: 700;
}

/* League pill — anchored to right edge of the card */
.mock-over-all .unifiedPill {
  display: none;
}

.mock-over-all .unifiedRank {
  font-size: 10px;
}

.mock-over-all img.appIconBadge {
  width: auto;
  height: 22px;
}

.mock-over-all .profileButton {
  align-items: center;
  gap: 16px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
}

.mock-over-all .profileButtonText {
  flex: none;
  padding: 8px;
  border-radius: 80px;
  border: solid 1px #eee;
}


/*---------------------------------------------------------------*\
$ size variants
\*---------------------------------------------------------------*/

.mock-over-all .row_hero .thumbWrap {
  width: min(43vw, 280px);
  aspect-ratio: 1/1;
}

.mock-over-all .row_hero .rankNum {
  font-size: 28px;
}

.mock-over-all .row_hero .rankUnit {
  font-size: 14px;
}

.mock-over-all .row_hero .name {
  font-size: 18px;
  line-height: 1.3;
}

.mock-over-all .row_featured .thumbWrap {
  width: 130px;
  aspect-ratio: 1/1;
}

.mock-over-all .row_featured .rankNum {
  font-size: 22px;
}

.mock-over-all .row_featured .rankUnit {
  font-size: 12px;
}

.mock-over-all .row_featured .name {
  font-size: 16px;
  line-height: 1.3;
}

/* Mid (4–10) — medium thumb centered in the same cell */
.mock-over-all .row_mid .thumbWrap {
  width: 90px;
  aspect-ratio: 1/1;
}

.mock-over-all .row_compact .thumbWrap {
  width: 72px;
  aspect-ratio: 1/1;
}

/* Text only (11–30) */
.mock-over-all .row_text {
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
}

.mock-over-all .row_text .main {
  gap: 0;
}

.mock-over-all .row_text .rowBody {
  flex-direction: row;
  align-items: center;
}

.mock-over-all .row_text .rankNum {
  color: #475569;
  font-size: 14px;
}

.mock-over-all .row_text .rankUnit {
  font-size: 10px;
}

.mock-over-all .row_text .rankInline {
  flex: 0 0 24px;
  min-width: 24px;
}

.mock-over-all .row_text .thumbWrap {
  flex: 0 0 32px;
  width: 32px;
  aspect-ratio: 1/1;
}

.mock-over-all .row_text .thumb {
  border-radius: 6px;
  border-width: 1px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.1);
}

/* .mock-over-all .row_text .rowActions {
  width: auto;
  padding: 0;
  border-top: 0;
  gap: 6px;
  justify-content: flex-end;
} */

.mock-over-all .row_text .name {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

/* Medal colors — applied based on leagueRank 1/2/3 */
.mock-over-all .row_gold .rankBadge .rankNum {
  color: #c89413;
}

.mock-over-all .row_silver .rankBadge .rankNum {
  color: #7c8999;
}

.mock-over-all .row_bronze .rankBadge .rankNum {
  color: #a9681f;
}


/*---------------------------------------------------------------*\
$ rulesPanel — explanatory section directly under the FV (compact)
\*---------------------------------------------------------------*/

.mock-over-all .rulesPanel {
  position: relative;
  z-index: 2;
  display: block;
  margin: 10px 0 12px;
}

.mock-over-all:has(#mode-total:checked) .hero,
.mock-over-all:has(#mode-m1:checked) .hero,
.mock-over-all:has(#mode-m2:checked) .hero,
.mock-over-all:has(#mode-m3:checked) .hero {
  margin-bottom: -34px;
}

.mock-over-all .rulesCard {
  display: none;
  padding: 12px;
  gap: 8px;
  border-radius: 12px;
  background:
    linear-gradient(150deg, rgba(168, 236, 255, 0.24) 0%, rgba(255, 255, 255, 0.14) 50%, rgba(159, 184, 255, 0.24) 100%),
    rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  box-shadow:
    0 14px 30px -10px rgba(120, 160, 220, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* visibility — driven by category × mode */
.mock-over-all:has(#cat-overall:checked):has(#mode-m1:checked) [data-rules="overall-monthly"],
.mock-over-all:has(#cat-overall:checked):has(#mode-m2:checked) [data-rules="overall-monthly"],
.mock-over-all:has(#cat-overall:checked):has(#mode-m3:checked) [data-rules="overall-monthly"] {
  display: flex;
}

.mock-over-all:has(#cat-pococha:checked):has(#mode-m1:checked) [data-rules="platform"],
.mock-over-all:has(#cat-pococha:checked):has(#mode-m2:checked) [data-rules="platform"],
.mock-over-all:has(#cat-pococha:checked):has(#mode-m3:checked) [data-rules="platform"],
.mock-over-all:has(#cat-tiktok:checked):has(#mode-m1:checked) [data-rules="platform"],
.mock-over-all:has(#cat-tiktok:checked):has(#mode-m2:checked) [data-rules="platform"],
.mock-over-all:has(#cat-tiktok:checked):has(#mode-m3:checked) [data-rules="platform"] {
  display: flex;
}

.mock-over-all:has(#cat-rookie:checked):has(#mode-m1:checked) [data-rules="rookie"],
.mock-over-all:has(#cat-rookie:checked):has(#mode-m2:checked) [data-rules="rookie"],
.mock-over-all:has(#cat-rookie:checked):has(#mode-m3:checked) [data-rules="rookie"] {
  display: flex;
}

/* total mode → always overall-total regardless of category */
.mock-over-all:has(#mode-total:checked) [data-rules="overall-total"] {
  display: flex;
}

.mock-over-all:has(#mode-award:checked) .rulesPanel {
  display: none;
}

.mock-over-all .platformSwap {
  display: none;
}

.mock-over-all:has(#cat-pococha:checked) .platformSwap[data-platform="pococha"],
.mock-over-all:has(#cat-tiktok:checked) .platformSwap[data-platform="tiktok"] {
  display: inline;
}

/* override existing 800-weight inside rulesCard so font_bold (500) leads */
.mock-over-all .rulesCard .periodMonth {
  font-size: 9px;
  font-weight: 500;
}


/*---------------------------------------------------------------*\
$ rulesPanel: league overview (4 cards + legend)
\*---------------------------------------------------------------*/

.mock-over-all .rulesIntro_league {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-over-all .rulesIntroText {
  font-size: 12px;
  line-height: 1.4;
}

.mock-over-all .rulesLeagueCards {
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  display: grid;
}

.mock-over-all .rulesLeagueCard {
  position: relative;
  gap: 2px;
  min-height: 54px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.14s ease, box-shadow 0.18s ease;
  box-shadow: inset 0 0px 8px #fff;
}

.mock-over-all .rulesLeagueCard:hover {
  transform: translateY(-1px);
}

.mock-over-all .rulesLeagueCard:active {
  transform: scale(0.96);
}

.mock-over-all .rulesLeagueCard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.1) 30%, transparent 50%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.mock-over-all .rulesLeagueCard_platinum::before,
.mock-over-all .rulesLeagueCard_gold::before {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12) 0%, transparent 40%);
  mix-blend-mode: normal;
}

.mock-over-all .rulesLeagueCard_general {
  background:
    linear-gradient(135deg, #001dff 0%, #ff04df 50% 50%, #ffb500 100%);
}

.mock-over-all .rulesLeagueCard_loyal {
  background:
    linear-gradient(135deg, #20398b 0%, #2790c3 50% 50%, #406f92 100%);
}

.mock-over-all .rulesLeagueCard_platinum {
  background:
    linear-gradient(135deg, #9d9b9a 0%, #cab8af 50% 50%, #aba99f 100%);
}

.mock-over-all .rulesLeagueCard_gold {
  background:
    linear-gradient(135deg, #a28430 0%, #b0945b 50% 50%, #ceaa43 100%);
}

.mock-over-all .rulesLeagueRange {
  font-size: 9px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.mock-over-all .rulesLeagueCount {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.mock-over-all .rulesLeagueCountUnit {
  font-size: 10px;
  letter-spacing: 0.04em;
  opacity: 0.92;
  margin-left: 1px;
}


/*---------------------------------------------------------------*\
$ rulesPanel: 2-column info grid
\*---------------------------------------------------------------*/

.mock-over-all .rulesInfo {
  padding: 14px 12px 12px;
  border-radius: 12px;
  gap: 8px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid #0f172a0f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.mock-over-all .rulesInfoTitle {
  font-size: 12px;
}

.mock-over-all .rulesInfoNote {
  font-size: 9px;
  color: #64748b;
}

/* prize list */
.mock-over-all .rulesPrizeList {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-over-all .rulesPrizeItem {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.55);
}

.mock-over-all .rulesPrizeRank {
  white-space: nowrap;
  color: #fff;
  width: 42px;
  aspect-ratio: 1 / 1;
  border-radius: 80px;
  font-size: 10px;
}

.mock-over-all .rulesPrizeItem_gold .rulesPrizeRank {
  background: linear-gradient(135deg, #a28430 0%, #b0945b 50% 50%, #ceaa43 100%);
  box-shadow: 0 1px 3px rgba(168, 118, 32, 0.3);
}

.mock-over-all .rulesPrizeItem_silver .rulesPrizeRank {
  background: linear-gradient(135deg, #bbbbbb 0%, #878c94 50% 50%, #aba99f 100%);
  box-shadow: 0 1px 3px rgba(71, 85, 105, 0.28);
}

.mock-over-all .rulesPrizeRankLabel {
  font-size: 10px;
  scale: 0.75;
}

.mock-over-all .rulesPrizeDesc {
  font-size: 12px;
}

.mock-over-all .rulesPrizeMeta {
  display: block;
  font-size: 8px;
  color: #64748b;
  margin-top: 2px;
}

.mock-over-all .rulesInfo_link {
  display: flex;
  flex-direction: column;
}

.mock-over-all .rulesLinkButton {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  background: #111;
  border: none;
  border-radius: 80px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 16px;
  font-size: 11px;
  transition: transform .12s;
}

.mock-over-all .rulesLinkButton:active {
  transform: scale(0.97);
}

.mock-over-all a.rulesLinkButton {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-sizing: border-box;
}

/*---------------------------------------------------------------*\
$ rulesPanel: platform / rookie variants
\*---------------------------------------------------------------*/

.mock-over-all .rulesPlatformIntro {
  padding: 12px;
  gap: 6px;
  border-radius: 12px;
  border: 1px solid #0f172a0f;
  background: #ffffff9e;
}

.mock-over-all .rulesPlatformIntro_rookie {
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.mock-over-all .rulesPlatformTitle {
  font-size: 12px;
}

.mock-over-all .rulesPlatformTitleEmph {
  font-size: 15px;
  background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mock-over-all [data-rules="rookie"] .rulesPlatformTitleEmph {
  background: linear-gradient(135deg, #059669 0%, #34d399 40%, #67e8f9 80%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mock-over-all .rulesPlatformDetail {
  padding: 12px;
  border-radius: 12px;
  gap: 4px;
  border: 1px solid #0f172a0f;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.mock-over-all [data-rules="rookie"] .rulesPlatformDetail,
.mock-over-all [data-rules="rookie"] .rulesFooterCard {
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.mock-over-all .rulesPlatformLead {
  font-size: 11px;
  line-height: 1.6;
}


/*---------------------------------------------------------------*\
$ rulesPanel: footer (update frequency) — single line
\*---------------------------------------------------------------*/

.mock-over-all .rulesFooter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mock-over-all .rulesFooterCard {
  padding: 16px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 23, 42, 0.06);
  gap: 12px;
}

.mock-over-all .rulesFooterTitle {
  font-size: 12px;
}

.mock-over-all .rulesFooterContent {
  gap: 6px;
}

.mock-over-all .rulesFooterMain {
  background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 55%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 14px;
  margin: 0 0 4px;
}

.mock-over-all .rulesFooterNote {
  font-size: 9px;
  color: #64748b;
}


/*---------------------------------------------------------------*\
$ awardCorner — top-right pill button (replaces bottom Award tab)
\*---------------------------------------------------------------*/

.mock-over-all .modeSwitch {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  appearance: none;
  font-size: 11px;
  color: #6b4a12;
  cursor: pointer;
  text-align: center;
  background:
    linear-gradient(135deg, #a28430 0%, #b0945b 50% 50%, #ceaa43 100%);
  border: none;
  box-shadow: inset 0 0 8px #fff;
  transition: transform 0.12s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.mock-over-all .modeSwitch_square {
  flex: 0 0 80px;
  min-height: 50px;
}

.mock-over-all .modeSwitch_wide {
  width: auto;
  min-width: 196px;
  min-height: 44px;
  margin: 0;
  padding: 10px 24px;
  border-radius: 999px;
  box-shadow:
    0 12px 24px rgba(15, 23, 42, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.mock-over-all .modeSwitchLabel {
  display: block;
  line-height: 1.35;
}

.mock-over-all .dockRow[data-award="true"] {
  position: fixed;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  width: auto;
  display: block;
  pointer-events: auto;
}

.mock-over-all .dockRow[data-award="true"] .bottomBar {
  width: auto;
  display: block;
}

.mock-over-all .dockRow[data-award="true"] .modeSwitch {
  border-color: rgba(215, 183, 111, 0.55);
  background:
    radial-gradient(120% 180% at 50% -10%, rgba(255, 244, 212, 0.24), transparent 52%),
    radial-gradient(90% 150% at 0% 100%, rgba(192, 157, 76, 0.2), transparent 58%),
    linear-gradient(180deg, rgba(24, 18, 11, 0.9) 0%, rgba(48, 34, 15, 0.88) 100%);
  color: #f7e7bf;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    0 10px 22px rgba(7, 10, 18, 0.28),
    0 0 0 1px rgba(255, 240, 201, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(124, 90, 32, 0.35);
}

.mock-over-all .dockRow[data-award="true"] .modeSwitchLabel {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}