/* Season2 theme */
[hidden] { display: none !important; }
body { padding: 0; background: linear-gradient(110deg, #c8d0dd, #f7f9fc 52%, #d4dce7); }
.ssl2 {
  --ssl-green: #16294c;
  --ssl-green-bright: #345889;
  --ssl-emerald: #6087ae;
  --ssl-blue: #325a85;
  --ssl-cyan: #94bddc;
  --ssl-purple: #665d96;
  --ssl-lime: #e6c78f;
  --ssl-gold-special: #e6c78f;
  --ssl-ink: #17233a;
  --ssl-display: "Arial Narrow", "Segoe UI", Arial, sans-serif;
  --night: #111c32;
  --platinum: #ecf0f5;
  --platinum-metal: linear-gradient(115deg, #fff 8%, #e1e6ee 48%, #f9fbff 72%, #bac6d6);
  --gold: #ead09b;
  max-width: 1120px;
  box-shadow: 0 0 48px #14253d24;
}
.ssl2 :focus-visible, .guide-dialog :focus-visible { outline: 3px solid #537db7; outline-offset: 3px; }
.ssl2 main { scroll-margin-top: 55px; }
.ssl2 .ssl-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 26px 16px 28px;
  background: #070d20;
}
.ssl2 .ssl-hero::before, .ssl2 .ssl-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ssl2 .ssl-hero::before {
  background: url("./assets/SSL2_bg-navy.jpg") center / cover no-repeat;
}
.ssl2 .ssl-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, #101827a8, transparent 22%, transparent 38%, #101827e8 68%, #101827);
}
.ssl2 .ssl-footer::before {
  background: linear-gradient(#101827d9, #101827), url("./assets/SSL2_bg-navy.jpg") center / cover;
}
.presented { margin: 0; color: #f0f4fa; font-size: .875rem; letter-spacing: .1em; }
.presented strong { color: white; }
.ssl2 .ssl-logo-slot { margin: 12px auto 0; }
.ssl2 .ssl-hero__logo { width: min(88%, 385px); }
.ssl2 .ssl-hero__copy { margin-top: 23px; font-size: clamp(1.45rem, 4.2vw, 2.7rem); }
.ssl2 .ssl-hero__period { width: min(100%, 405px); margin-top: 20px; background: #131f33; border-color: #a3afc2; }
.ssl2 .ssl-hero__period b { font-size: clamp(.9rem, 3.7vw, 1.12rem); }
.ssl2 .ssl-hero__period span { font-size: .875rem; }
.ssl2 .ssl-hero__actions { gap: 10px; }
.ssl2 .ssl-hero .ssl-button--platinum { color: #111b32; background: var(--platinum-metal); font-size: 1rem; min-width: min(255px, 80vw); }
.ssl2 .ssl-text-link { display: grid; place-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #adbddd89; background: #131f33; text-decoration: none; font-size: .95rem; }
.ssl2 .ssl-hero__actions a:hover, .ssl2 .ssl-footer__actions a:hover { filter: brightness(1.12); }
.ssl2 .ssl-hero__facts { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; width: min(100%,650px); }
.ssl2 .ssl-hero__facts li { min-height: 76px; background: #1a263b; border-top-color: #b8c4d4; }
.ssl2 .ssl-hero__facts li:last-child { border-top-color: var(--gold); color: #f5dfaf; }
.ssl2 .ssl-hero__facts b { font-size: clamp(1.2rem,5vw,2rem); }
.ssl2 .ssl-hero__facts li:last-child b { font-size: clamp(1rem,4.3vw,1.75rem); }
.ssl2 .ssl-hero__facts span { font-size: .75rem; letter-spacing: .04em; }

.ssl2 .ssl-tabs { grid-template-columns: repeat(5,minmax(0,1fr)); background: var(--platinum-metal); }
.ssl2 .ssl-tabs a, .ssl2 .ssl-ranking-tabs a {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 55px;
  padding: 8px 2px;
  font: 900 clamp(.75rem, 2.5vw, .95rem)/1.35 var(--ssl-display);
  color: #4b617e;
  text-decoration: none;
}
.ssl2 .ssl-tabs a[data-active], .ssl2 .ssl-ranking-tabs a[data-active] {
  color: white;
  background: #16294c;
  box-shadow: inset 0 -4px #aab9cf;
}
.ssl2 .ssl-tabs a:hover:not([data-active]), .ssl2 .ssl-ranking-tabs a:hover:not([data-active]) { background: #e5ecf7; }
.ssl2 .ssl-section { padding: clamp(42px, 7vw, 80px) clamp(16px, 6vw, 82px); }
.ssl2 .ssl-section:nth-of-type(even), .ssl2 .ssl-section--platinum { background: var(--platinum) !important; }
.ssl2 .ssl-section::after { background: linear-gradient(90deg,#e8edf4,#92a2b9,#e8edf4); }
.ssl2 .ssl-heading { margin-bottom: 24px; }
.ssl2 .ssl-heading span, .ssl2 .ssl-heading small { font-size: clamp(.83rem, 2vw, .98rem); color: #345889; }
.ssl2 .ssl-heading h2 { font-size: clamp(1.9rem, 5.8vw, 3.7rem); color: #152749; }
.ssl2 .ssl-section p, .ssl2 .ssl-section-lead { font-size: 1rem !important; }
.ssl2 .ssl-section p:last-child { margin-bottom: 0; }
.ssl2 .ssl-section.dark-section { color: #e6ebf7; background: var(--night) !important; }
.ssl2 .dark-section .ssl-heading span { color: #c8d3e3; }
.ssl2 .rewards-intro .ssl-heading span { color: var(--gold); }
.ssl2 .dark-section .ssl-heading h2 { color: #fff; }
.ssl2 .dark-section p { color: #dce4f6; }
.ssl2 .ssl-path article { background: #f4f7fc; }
.ssl2 .ssl-path article.is-current { border-color: #a6b4c9; background: var(--platinum-metal); }
.ssl2 .ssl-path article small { font-size: .875rem; }
.ssl2 .ssl-path article h3 { font-size: 1.18rem; }
.ssl2 .ssl-path article p { color: #384b65; }
.ssl2 .ssl-path__arrow { color: #c2d1ed; }
.ssl2 .ssl-path__goal { background: #284774; font-size: 1rem; border-bottom: 2px solid #98b1d5; }
.ssl2 .ssl-target-cards { gap: 8px; }
.ssl2 .ssl-target-cards article { background: white; }
.ssl2 .ssl-target-cards span { font-size: .75rem; overflow-wrap: anywhere; }
.ssl2 .ssl-target-cards b { font-size: clamp(.95rem, 2.8vw, 1.22rem); }
.ssl2 .ssl-phrase-stage { background: #f3f6fb; border-left-color: #5079a8; }
.ssl2 .phrase-dates, .ssl2 .ssl-cup-gate span { font-size: .98rem; }
.ssl2 .ssl-phrase-stage b { font-size: .83rem; }
.ssl2 .ssl-cup-gate { background: linear-gradient(115deg,#13264a,#10203d); }
.ssl2 .ssl-cup-gate small { font-size: .9rem; }
.about-guide { min-width: 0; margin-top: 22px; }
.about-guide h3 { margin: 0; font-size: 1.125rem; }
.about-guide #guide > p:first-child { margin: 4px 0 10px; }
.guide-placeholder { padding: 23px 18px; border-left: 4px solid #6e90bd; background: #edf2fa; }
.ssl2 .ssl-slider { scrollbar-color: #57769f #e3ebf7; }
.ssl2 .ssl-slider::-webkit-scrollbar { height: 12px; }
.ssl2 .ssl-slider::-webkit-scrollbar-track { background: #e3ebf7; }
.ssl2 .ssl-slider::-webkit-scrollbar-thumb { background: #57769f; }
.ssl2 .ssl-slide:focus-visible { outline-offset: -3px; }
.ssl2 .ssl-slide img { height: auto; }
.ssl2 .ssl-section .guide-position { margin: 5px 0 0; text-align: center; color: #345889; font-variant-numeric: tabular-nums; }
@media (pointer: coarse) {
  .guide-position::before {
    content: "";
    display: block;
    height: 5px;
    margin-bottom: 4px;
    background: linear-gradient(#57769f, #57769f) var(--slide-position, 0%) center / var(--slide-thumb) 100% no-repeat #e3ebf7;
  }
}
.guide-dialog { width: min(96vw, 1100px); max-height: 95dvh; padding: 12px; color: #fff; background: #0e1830; border: 1px solid #9aadd0; }
.guide-dialog::backdrop { background: #040814e8; }
.guide-dialog form { text-align: right; }
.guide-dialog img { display: block; width: 100%; height: min(68dvh, 690px); object-fit: contain; }
.guide-controls { display: flex; justify-content: center; align-items: center; gap: 12px; }
.guide-dialog button { min-width: 44px; min-height: 44px; color: white; background: #23385d; border: 1px solid #7e95bc; cursor: pointer; }

.ssl2 .ssl-formula { margin-bottom: 18px; background: #172d55; }
.ssl2 .ssl-formula span { font-size: clamp(.83rem, 2.5vw, 1.2rem); }
.ssl2 .ssl-formula b { font-size: 1.05rem; }
.ssl2 .ssl-formula small { font-size: .75rem; }
.ssl2 .ssl-phrase-select { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.ssl2 .ssl-phrase-select label, .ssl2 .ssl-phrase-select select { font-size: 1rem; }
.ssl2 .ssl-phrase-select select { min-height: 44px; padding: 5px 12px; }
.ssl2 .dark-section .ssl-phrase-select label { color: #ecf2fc; }
.calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: clamp(2px,1vw,8px); text-align: center; margin: 0 0 22px; }
.calendar div { display: grid; align-content: center; min-height: 58px; border: 1px solid #415679; color: white; font-size: clamp(.79rem,2.5vw,1rem); background: #182a4b; }
.calendar div span, .weekday { color: #c3d1ec; }
.calendar .boost { color: #fff; background: #3e382f; border-color: #bca36d; }
.calendar .boost span { color: #ffdfa2; font-weight: 800; }
.bonus-feature { --accent: #2d6891; --tint: #eef6fb; padding: 24px clamp(12px,4vw,28px); margin-bottom: 20px; border-top: 4px solid var(--accent); background: var(--tint); }
.bonus-item { --accent: #53619b; --tint: #f1f1fa; }
.bonus-repeat { --accent: #675327; --tint: #f4efe4; }
.bonus-feature header { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.bonus-feature h3 { margin: 0; font-size: clamp(1.12rem,3.5vw,1.65rem); }
.bonus-icon { display: grid; place-items: center; flex: 0 0 50px; height: 50px; background: var(--accent); color: white; font: 900 1.7rem/1 var(--ssl-display); clip-path: polygon(15% 0,100% 0,85% 100%,0 100%); }
.bonus-kicker { color: var(--accent); font: 900 .84rem/1.45 var(--ssl-display); letter-spacing: .07em; }
.bonus-kicker em { display: inline-block; padding: 1px 6px; background: #675327; color: white; font-style: normal; }
.bonus-body { display: grid; gap: 14px; align-items: start; }
.bonus-max { display: inline-block; color: var(--accent); margin-top: 5px; }
.bonus-max b { font-size: 1.55rem; }
.ssl2 table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ssl2 th, .ssl2 td { padding: 8px 6px; text-align: left; border-bottom: 1px solid #a3b2cb88; }
.ssl2 th[scope="col"] { color: #405878; font-size: .9rem; }
.ssl2 th[scope="row"] { font-weight: 600; }
.ssl2 td { font-weight: 750; text-align: right; }
.ssl2 th:last-child { text-align: right; }
.support-diagram { margin: 22px 0 0; padding: 14px; border: 1px solid #b8a67f; }
.support-diagram figcaption { font-weight: 800; margin-bottom: 9px; }
.support-flow { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; text-align: center; }
.support-flow div { display: grid; padding: 8px 4px; background: #fffaf0; border: 1px solid #d5c8ad; font-size: .9rem; }
.support-flow div:last-child { grid-column: 1 / -1; background: #2d2a25; color: #f6dfae; }
.support-flow b { text-decoration: underline; text-underline-offset: 3px; }
.support-diagram p { margin-top: 8px; }
#bonus-conditions, #quo-conditions { border-left: 3px solid #6e89af; padding: 1px 12px; margin-top: 20px; }
.score-formula { padding: 14px 12px; color: #fff !important; background: #172d55; font-weight: 800; }
#scores { display: grid; gap: 25px; margin: 24px 0; }
#scores .inset, #quo-prizes .inset { border-top: 3px solid #718db8; }
.inset h4 { margin: 10px 0; font-size: 1.12rem; }
.ssl2 .ssl-route-card { background: #f5f8fd; padding: 16px; }
.ssl2 .ssl-route-card > small, .ssl2 .ssl-route-breakdown span { font-size: .875rem; }
.ssl2 .ssl-route-card > strong { padding-right: 55px; font-size: 1rem; }
.ssl2 .ssl-route-card > b { font-size: 1.7rem; }
.ssl2 .ssl-total { background: #16294c; }
.ssl2 .ssl-total span, .ssl2 .ssl-total small, .ssl2 .ssl-route-details summary { font-size: .9rem; }
.ssl2 .ssl-route-details > div { padding: 0 12px 12px; }

.ssl2 .ssl-ranking-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ssl2 .ssl-ranking-tabs a { border: 1px solid #a4b8d6; background: #f1f5fb; }
.ssl2 .ssl-ranking-meta { border-color: #3a5986; background: #edf3fc; padding: 10px; flex-wrap: wrap; gap: 5px; }
.ssl2 .ssl-ranking-meta span { font-size: .875rem; }
.ranking-results { list-style: none; padding: 0; margin: 0; }
.ranking-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 14px 10px;
  border-bottom: 1px solid #c6d0e0;
}
.ranking-person { display: flex; align-items: center; gap: 8px; color: inherit; overflow-wrap: anywhere; }
.ranking-person img { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; object-fit: cover; }
.ranking-result-total { display: grid; text-align: right; }
.ranking-result-total small { color: #405878; }
.ranking-result-details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
  gap: 8px;
  margin: 0;
}
.ranking-result-details div { padding: 6px 8px; background: var(--platinum); }
.ranking-result-details dt { font-size: .875rem; color: #405878; }
.ranking-result-details dd { margin: 0; font-weight: 700; }
@media (max-width: 480px) {
  .ranking-result { grid-template-columns: auto minmax(0, 1fr); }
  .ranking-result-total { grid-column: 2; }
}
.ranking-retry { min-height: 44px; margin-top: 8px; padding: 6px 16px; color: white; background: #16294c; border: 0; }
.ssl2 .ssl-state { background: #f2f5fb; }
.ssl2 .ssl-state b { font-size: 1rem; }
.finalists-gallery { padding: clamp(12px,4vw,36px); background: #111f3c; color: #e5edfc; }
.finalists-gallery h3 { color: #f4e1b6; margin: 8px 0 12px; }
.finalists-gallery h3 span { display: inline-block; font-size: .9rem; }
.slots { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); list-style: none; gap: 8px; padding: 0; margin: 0 0 24px; }
.slots:last-child { margin-bottom: 0; }
.slots li { display: grid; place-items: center; min-height: 127px; text-align: center; padding: 8px 3px; border: 1px solid #53709b; background: radial-gradient(ellipse at 50% 55%,#304668,#162541 72%); }
.slots span { font-size: .83rem; }
.slot-emblem { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #9caecb; transform: rotate(45deg); color: #d6e4fa; }
.slots strong { color: #c6d5ee; font: 800 .76rem/1.5 var(--ssl-display); letter-spacing: .06em; }

.cinema { position: relative; isolation: isolate; padding: clamp(24px,7vw,72px) clamp(12px,6vw,72px) clamp(50px,10vw,110px); background: #060b16; overflow: hidden; }
.cinema::before { content: ""; position: absolute; inset: 0; background: url("./assets/SSL2_bg-navy.jpg") center / cover; opacity: .5; z-index: -1; }
.cinema-screen { min-height: clamp(150px,32vw,315px); display: grid; align-content: center; text-align: center; padding: 18px 7px; color: #152749; background: radial-gradient(ellipse at center,#fff 30%,#d6deea); border: 5px solid #1a2541; outline: 1px solid var(--gold); box-shadow: 0 0 35px #b9cffb70; }
.cinema-screen p { margin: 0; color: #405b87 !important; letter-spacing: .16em; font-weight: 900; }
.cinema-screen h3 { margin: 0; font-size: clamp(1.45rem,6vw,3.8rem); line-height: 1.35; }
.cinema-seats { position: absolute; inset: auto -10% 0; height: 30%; background: radial-gradient(ellipse at 50% 95%,#202c49 0 52%,#060b17 56% 67%,transparent 71%) 50% 0 / 70px 31px repeat; mask-image: linear-gradient(transparent,#000 50%); }
#cup-prizes { display: grid; gap: 1px; margin: 18px 0; }
.cup-place { display: grid; align-items: center; grid-template-columns: minmax(64px, .35fr) minmax(0,1fr); gap: 12px; padding: clamp(12px, 4vw, 28px); background: #23314d; border-left: 4px solid #aebfd9; }
.cup-place h3 { margin: 0; font-size: clamp(1.05rem,3vw,1.5rem); }
.cup-place p { margin: 0; }
.cup-place p strong { color: #f5dfaf; font-size: clamp(1.2rem,3vw,1.8rem); white-space: nowrap; }
.place-number { display: grid; font-family: var(--ssl-display); line-height: 1; }
.place-number b { font-size: clamp(2.15rem,8vw,5rem); font-style: italic; }
.place-number span { font-size: .72rem; font-weight: 900; letter-spacing: .04em; margin-top: 5px; }
.place-1 { padding-block: clamp(24px,6vw,48px); color: #1d2538; background: linear-gradient(108deg,#f3dfb5,#eee5d2 66%,#bea36e); border-left-color: #9a753b; }
.place-1 h3 { font-size: clamp(1.13rem,4vw,2rem); }
.ssl2 .dark-section .place-1 p { color: #272837; }
.place-1 p strong { color: #634819; font-size: clamp(1.65rem,6vw,3.45rem); }
.place-3 { background: #2b253d; border-left-color: #bb8b86; }
#cup-notes ul, #bonus-conditions ul, #quo-conditions ul { padding-left: 20px; }
#phrase-prizes .inset { display: grid; grid-template-columns: 52px 1fr; gap: 12px; border-top: 1px solid #b7c4d9; padding: 10px 0; }
#phrase-prizes .inset h4 { color: #76551e; }
#phrase-prizes ul { margin: 8px 0; padding-left: 20px; }
#quo-prizes { display: grid; gap: 20px; }
.ssl2 .ssl-faq-item summary, .ssl2 .ssl-faq-item p { font-size: 1rem !important; }
.ssl2 .ssl-faq-item summary { padding-block: 18px; }
.ssl2 .ssl-footer { isolation: isolate; padding: clamp(55px,10vw,100px) 16px; background: #101c37; }
.ssl2 .ssl-footer > * { position: relative; z-index: 1; }
.ssl2 .ssl-footer__actions { gap: 7px; max-width: 670px; margin-inline: auto; }
.ssl2 .ssl-footer__actions a { display: grid; place-items: center; min-height: 52px; padding: 7px 4px; font-size: .875rem; color: white; background: #1a2c4e; border: 1px solid #8299bb; }
.ssl2 .ssl-footer .ssl-copyright { font-size: .8rem; }
@media (min-width: 660px) {
  .ssl2 .ssl-hero { padding: 34px 25px 40px; }
  .ssl2 .ssl-hero__actions { flex-direction: row; }
  .ssl2 .about-intro { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); gap: 0 26px; align-items: center; }
  .about-intro .ssl-heading { align-self: end; }
  .about-intro .ssl-section-lead { align-self: start; }
  .about-guide { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .bonus-body, #quo-prizes { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #scores { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .slots { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
