/* /students — student project like contest («چالش لایک»). */

.sc-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .sc-wrap { padding: 0 18px; } }

.sc-hero, .sc-sec { --sc-gold: #fdb022; --sc-gold-2: #f79009; --sc-rose: #f04438; --sc-brand: #465fff; }
.sc-hero svg, .sc-sec svg, .sc-modal svg { width: 1em; height: 1em; flex-shrink: 0; }

/* ── buttons & bits ── */
.sc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 12px; font-size: 14px; font-weight: 600;
  transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s; white-space: nowrap;
}
.sc-btn:hover { transform: translateY(-2px); }
.sc-btn svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; font-size: 16px; }
.sc-btn--gold { background: linear-gradient(135deg, #fec84b, #f79009); color: #3b2300; box-shadow: 0 10px 30px -10px rgba(247, 144, 9, .7); }
.sc-btn--primary { background: #465fff; color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.sc-btn--primary:hover { background: #3641f5; }
.sc-btn--line { color: #344054; box-shadow: inset 0 0 0 1px #d0d5dd; background: #fff; }
.sc-btn--line:hover { background: #f9fafb; }
.dark .sc-btn--line { color: #e4e7ec; background: transparent; box-shadow: inset 0 0 0 1px #344054; }
.sc-btn--sm { height: 38px; padding: 0 16px; border-radius: 11px; font-size: 13px; }

.sc-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: #ecf3ff; color: #3641f5; font-size: 12px; font-weight: 600;
}
.dark .sc-pill { background: rgba(70, 95, 255, .12); color: #7592ff; }
.sc-pill--gold { background: #fffaeb; color: #b54708; box-shadow: inset 0 0 0 1px #fedf89; }
.dark .sc-pill--gold { background: rgba(253, 176, 34, .12); color: #fdb022; box-shadow: inset 0 0 0 1px rgba(253, 176, 34, .35); }
.sc-pill svg { fill: none; stroke: currentColor; stroke-width: 2; font-size: 15px; }
.sc-dot { width: 7px; height: 7px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 0 rgba(18, 183, 106, .6); animation: sc-ping 1.8s infinite; }
.sc-dot.is-wait { background: #f79009; animation: none; }
@keyframes sc-ping { 70% { box-shadow: 0 0 0 8px rgba(18, 183, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 183, 106, 0); } }

.sc-av {
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #465fff, #252dae);
  color: #fff; font-weight: 800; font-size: 12px;
}
.sc-av img { width: 100%; height: 100%; object-fit: cover; }
.sc-av--md { width: 60px; height: 60px; font-size: 22px; }
.sc-av--lg { width: 84px; height: 84px; font-size: 30px; }
.sc-av--xl { width: 120px; height: 120px; font-size: 44px; }

.sc-crumbs { display: flex; gap: 8px; font-size: 12px; color: #667085; padding-top: 36px; }
.sc-crumbs a:hover { color: #465fff; }
.dark .sc-crumbs { color: #98a2b3; }

/* ── hero: same band as the shared page header (/shop, /courses, /tv) ── */
.sc-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #101828;
  background: #f9fafb; border-bottom: 1px solid #e4e7ec; padding-bottom: 40px;
}
.dark .sc-hero { background: #131c2e; border-color: #1d2939; color: #fff; }
.sc-hero::before {
  content: ""; position: absolute; top: -110px; right: -6%; z-index: -1; width: 320px; height: 320px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(70, 95, 255, .25), transparent); filter: blur(64px);
}
.sc-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(closest-side, rgba(122, 90, 248, .14), transparent) left -80px bottom -120px / 340px 340px no-repeat,
    linear-gradient(to right, rgba(2, 6, 23, .04) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(to bottom, rgba(2, 6, 23, .04) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(75% 75% at 72% 25%, #000, transparent);
  mask-image: radial-gradient(75% 75% at 72% 25%, #000, transparent);
}
.sc-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; padding: 20px 0 0; }
.sc-hero-grid.is-solo { grid-template-columns: minmax(0, 1fr); }
.sc-hero h1 { font-family: var(--font-display); font-size: 36px; line-height: 1.35; font-weight: 700; margin: 16px 0 12px; letter-spacing: -.01em; color: #101828; }
.sc-hero h1 span { color: #465fff; }
.dark .sc-hero h1 { color: #fff; }
.dark .sc-hero h1 span { color: #7592ff; }
.sc-lead { max-width: 560px; font-size: 14px; line-height: 2; color: #667085; }
.dark .sc-lead { color: #98a2b3; }

.sc-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.sc-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #e4e7ec, 0 1px 2px rgba(16, 24, 40, .05); font-size: 13px; color: #344054; }
.dark .sc-steps li { background: #1d2939; box-shadow: 0 0 0 1px #344054; color: #d0d5dd; }
.sc-steps b { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 7px; background: #ecf3ff; color: #3641f5; font-size: 12px; }
.sc-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.sc-timer {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; padding: 6px 12px; border-radius: 10px;
  background: #fff; box-shadow: 0 0 0 1px #eaecf0; color: #667085; font-size: 12px;
}
.dark .sc-timer { background: #1d2939; box-shadow: 0 0 0 1px #344054; color: #98a2b3; }
.sc-timer svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; font-size: 14px; }
.sc-timer b { color: #344054; font-weight: 700; font-variant-numeric: tabular-nums; }
.dark .sc-timer b { color: #f2f4f7; }
.sc-timer b span { display: inline-block; direction: ltr; unicode-bidi: isolate; }

/* prize */
.sc-prize {
  position: relative; border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px #e4e7ec, 0 12px 32px -20px rgba(16, 24, 40, .35);
}
.dark .sc-prize { background: #1d2939; box-shadow: 0 0 0 1px #344054; }
.sc-prize-media { position: relative; aspect-ratio: 3 / 2; background: #161950; overflow: hidden; }
.sc-prize-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.sc-prize:hover .sc-prize-media img { transform: scale(1.04); }
.sc-prize-badge {
  position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: #fff; color: #b54708; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35);
}
.sc-prize-badge svg { fill: none; stroke: currentColor; stroke-width: 2; font-size: 14px; }
.sc-prize-body { padding: 14px 18px 16px; }
.sc-prize-body b { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #101828; }
.dark .sc-prize-body b { color: #fff; }
.sc-prize-body p { margin-top: 4px; font-size: 13px; line-height: 1.9; color: #667085; }
.dark .sc-prize-body p { color: #98a2b3; }

/* race */
.sc-race {
  margin-top: 28px; padding: 18px 22px 14px; border-radius: 20px; background: #fff;
  box-shadow: 0 0 0 1px #e4e7ec, 0 1px 3px rgba(16, 24, 40, .06);
}
.dark .sc-race { background: #1d2939; box-shadow: 0 0 0 1px #344054; }
.sc-race-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.sc-race-head b { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: #101828; }
.dark .sc-race-head b { color: #fff; }
.sc-race-head span { font-size: 12.5px; color: #667085; }
.sc-race-head em { margin-inline-start: auto; font-style: normal; font-size: 12px; color: #98a2b3; }

.sc-track { position: relative; height: 128px; margin: 4px 12px 0 46px; }
.sc-track-line {
  position: absolute; top: 50%; right: 0; left: 0; height: 6px; margin-top: -3px; border-radius: 6px;
  background: repeating-linear-gradient(90deg, #d0d5dd 0 14px, #f2f4f7 14px 24px);
}
.dark .sc-track-line { background: repeating-linear-gradient(90deg, #475467 0 14px, #344054 14px 24px); }
.sc-track-start { position: absolute; top: calc(50% + 12px); right: 0; font-size: 11px; color: #98a2b3; }
.sc-race-empty {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; padding: 7px 16px;
  border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #eaecf0; font-size: 13px; color: #667085; white-space: nowrap;
}
.dark .sc-race-empty { background: #1d2939; box-shadow: 0 0 0 1px #344054; color: #98a2b3; }
.sc-race-empty[hidden] { display: none; }
@media (max-width: 640px) { .sc-race-empty { white-space: normal; width: 86%; text-align: center; border-radius: 14px; } }
.sc-track-finish {
  position: absolute; top: 50%; left: -46px; width: 40px; height: 40px; margin-top: -20px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: #fffaeb; color: #dc6803; box-shadow: inset 0 0 0 1px #fedf89;
}
.sc-track-finish svg { fill: none; stroke: currentColor; stroke-width: 2; font-size: 20px; }
.sc-track-finish::before {
  content: ""; position: absolute; top: -34px; bottom: -34px; right: -8px; width: 4px;
  background: repeating-linear-gradient(180deg, #344054 0 6px, transparent 6px 12px); opacity: .35;
}
.dark .sc-track-finish::before { background: repeating-linear-gradient(180deg, #fff 0 6px, transparent 6px 12px); }
.sc-runners { position: absolute; inset: 0; }
.sc-runner {
  --x: 3%;
  position: absolute; top: 50%; inset-inline-start: var(--x);
  display: flex; flex-direction: column; align-items: center;
  transform: translate(50%, -50%);
  transition: inset-inline-start 1s cubic-bezier(.2, .9, .25, 1.2); z-index: 2;
}
.sc-runner-av { position: relative; padding: 3px; border-radius: 50%; background: #d0d5dd; transition: transform .2s; }
.sc-runner-av .sc-av { width: 44px; height: 44px; font-size: 17px; box-shadow: 0 0 0 2px #fff; }
.dark .sc-runner-av .sc-av { box-shadow: 0 0 0 2px #1d2939; }
.sc-runner.r1 .sc-runner-av { background: linear-gradient(135deg, #fec84b, #f79009); box-shadow: 0 6px 18px -4px rgba(247, 144, 9, .55); }
.sc-runner.r2 .sc-runner-av { background: linear-gradient(135deg, #e4e7ec, #98a2b3); }
.sc-runner.r3 .sc-runner-av { background: linear-gradient(135deg, #f9dbaf, #e9a15d); }
.sc-runner.r1 { z-index: 3; }
.sc-runner-rank {
  position: absolute; top: 16px; right: -7px; width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800;
  background: #101828; color: #fff; box-shadow: 0 0 0 2px #fff;
}
.sc-runner-likes {
  margin-bottom: 4px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap;
  background: #fef3f2; color: #d92d20; box-shadow: inset 0 0 0 1px #fecdca;
}
.sc-runner-name { margin-top: 4px; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: #475467; }
.dark .sc-runner-name { color: #d0d5dd; }
.sc-runner:hover .sc-runner-av { transform: scale(1.06); }

.sc-legend { display: none; margin: 4px 0 0; padding: 0; list-style: none; }
.sc-legend li { display: flex; align-items: center; gap: 9px; padding: 7px 2px; font-size: 13px; color: #344054; }
.dark .sc-legend li { color: #e4e7ec; }
.sc-legend li + li { border-top: 1px solid #f2f4f7; }
.dark .sc-legend li + li { border-color: #344054; }
.sc-legend b { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; background: #f2f4f7; color: #344054; }
.sc-legend .r1 b { background: linear-gradient(135deg, #fec84b, #f79009); color: #3b2300; }
.sc-legend span:not(.sc-av) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-legend em { font-style: normal; font-size: 12px; color: #d92d20; font-weight: 700; }

/* ── winner reveal ── */
.sc-hero--win { padding-bottom: 44px; }
.sc-confetti { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.sc-hero--win .sc-wrap { position: relative; z-index: 1; }
.sc-win { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 16px; }
.sc-win-frame {
  position: relative; margin-top: 20px; width: 100%; max-width: 1040px; padding: 3px; border-radius: 28px; overflow: hidden;
  background: #fedf89; box-shadow: 0 24px 60px -30px rgba(220, 104, 3, .55);
}
.sc-win-frame::before {
  content: ""; position: absolute; inset: -60%;
  background: conic-gradient(from 0deg, #fec84b, #f79009, #fff4d6, #fdb022, #fffaeb, #fec84b);
  animation: sc-spin 6s linear infinite;
}
@keyframes sc-spin { to { transform: rotate(360deg); } }
.sc-win-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 30px; align-items: center;
  padding: 30px; border-radius: 25px; background: linear-gradient(160deg, #fffdf5, #fff 50%);
}
.dark .sc-win-card { background: linear-gradient(160deg, #2a2410, #1d2939 55%); }
.sc-win-person { display: flex; flex-direction: column; align-items: center; }
.sc-win-av, .sc-leader-av { position: relative; padding: 5px; border-radius: 50%; background: linear-gradient(135deg, #fec84b, #f79009); box-shadow: 0 10px 34px -8px rgba(247, 144, 9, .55); }
.sc-crown { position: absolute; top: -26px; left: 50%; width: 40px !important; height: 40px !important; transform: translateX(-50%) rotate(-8deg); fill: #fdb022; filter: drop-shadow(0 4px 8px rgba(247, 144, 9, .45)); }
.sc-win h1 { font-family: var(--font-display); font-size: 28px; font-weight: 800; margin: 18px 0 8px; color: #101828; }
.dark .sc-win h1 { color: #fff; }
.sc-win-score { font-size: 14px; line-height: 1.9; color: #475467; margin-bottom: 18px; }
.dark .sc-win-score { color: #d0d5dd; }
.sc-win-score b { color: #dc6803; font-size: 20px; }
.sc-win-works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sc-win-works.n1 { grid-template-columns: minmax(0, 1fr); }
.sc-win-work { position: relative; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 2px #fedf89, 0 16px 30px -18px rgba(16, 24, 40, .5); aspect-ratio: 4 / 3; }
.sc-win-work img { width: 100%; height: 100%; object-fit: cover; }
.sc-win-work figcaption { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 9px; background: rgba(255, 255, 255, .92); color: #101828; font-size: 12px; font-weight: 600; }
.sc-win-after { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 22px; }
.sc-win-after .sc-timer { margin-top: 0; }
.sc-win-prize { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 12px; background: #fffaeb; box-shadow: inset 0 0 0 1px #fedf89; color: #b54708; font-size: 13px; font-weight: 700; }
.sc-win-prize img { width: 46px; height: 32px; object-fit: cover; border-radius: 8px; }

/* ── sections ── */
.sc-sec { padding: 56px 0; background: #fff; }
.sc-sec--alt { background: #f8f9fc; }
.sc-sec--tight { padding: 8px 0 48px; }
.dark .sc-sec { background: #101828; }
.dark .sc-sec--alt { background: #0c1322; }
.sc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.sc-head h2, .sc-rules h2 { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #101828; margin-top: 6px; }
.sc-head p { margin-top: 6px; font-size: 14px; line-height: 1.9; color: #667085; }
.dark .sc-head h2, .dark .sc-rules h2 { color: #fff; }
.dark .sc-head p { color: #98a2b3; }
.sc-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; color: #465fff; }
.sc-eyebrow--gold { color: #dc6803; }

/* leader */
.sc-leader {
  position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 34px; align-items: center;
  padding: 30px; border-radius: 28px; background: linear-gradient(135deg, #fffaeb, #fff 45%, #f5f7ff);
  box-shadow: inset 0 0 0 1px #fedf89, 0 30px 60px -40px rgba(220, 104, 3, .45);
}
.dark .sc-leader { background: linear-gradient(135deg, rgba(253, 176, 34, .12), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(253, 176, 34, .35); }
.sc-leader-who { display: flex; align-items: center; gap: 18px; margin: 20px 0 22px; }
.sc-leader-av { box-shadow: 0 0 34px rgba(253, 176, 34, .35); }
.sc-leader-av .sc-crown { top: -22px; width: 32px !important; height: 32px !important; }
.sc-leader-who h2 { font-family: var(--font-display); font-size: 24px; font-weight: 900; color: #101828; }
.sc-leader-who a { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; color: #465fff; }
.dark .sc-leader-who h2 { color: #fff; }
.sc-leader-score { display: flex; align-items: baseline; gap: 8px; color: #f04438; }
.sc-leader-score svg { fill: currentColor; font-size: 22px; align-self: center; }
.sc-leader-score b { font-family: var(--font-display); font-size: 46px; line-height: 1; font-weight: 900; }
.sc-leader-score span { font-size: 14px; color: #667085; }
.sc-leader-gap { margin-top: 12px; font-size: 13.5px; line-height: 1.9; color: #475467; }
.dark .sc-leader-gap, .dark .sc-leader-score span { color: #98a2b3; }
.sc-leader-works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sc-leader-works.n1 { grid-template-columns: minmax(0, 1fr); }

/* work cards */
.sc-works { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.sc-work {
  display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px #eaecf0, 0 8px 24px -16px rgba(16, 24, 40, .25); transition: transform .3s, box-shadow .3s;
}
.sc-work:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #c2d6ff, 0 24px 40px -22px rgba(70, 95, 255, .45); }
.dark .sc-work { background: #1d2939; box-shadow: 0 0 0 1px #344054; }
.sc-work-media { position: relative; aspect-ratio: 4 / 3; background: #f2f4f7; overflow: hidden; }
.sc-cover, .sc-cover img { display: block; width: 100%; height: 100%; }
.sc-cover img { object-fit: cover; transition: transform .6s; }
.sc-work:hover .sc-cover img { transform: scale(1.05); }
.sc-work-media::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to top, rgba(11, 16, 38, .6), transparent); pointer-events: none; }
.sc-work-foot { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.sc-work-foot h3 { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 700; color: #1d2939; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dark .sc-work-foot h3 { color: #f2f4f7; }
.sc-work--big .sc-work-foot h3 { font-size: 15.5px; }

.sc-tag {
  position: absolute; bottom: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  max-width: calc(100% - 24px); padding: 4px 11px 4px 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: #101828; font-size: 12px; font-weight: 700;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); backdrop-filter: blur(6px); transition: background-color .2s;
}
.sc-tag:hover { background: #fff; }
.sc-tag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sc-rank { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 5px 11px; border-radius: 10px; font-size: 12px; font-weight: 800; background: #fff; color: #344054; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4); }
.sc-rank.r1 { background: linear-gradient(135deg, #fec84b, #f79009); color: #3b2300; }
.sc-rank.r2 { background: linear-gradient(135deg, #fff, #d0d5dd); }
.sc-rank.r3 { background: linear-gradient(135deg, #f9dbaf, #e9a15d); color: #4a2205; }
.sc-pics { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 9px; border-radius: 9px; font-size: 11px; color: #fff; background: rgba(11, 16, 38, .55); backdrop-filter: blur(4px); }

.sc-like {
  position: relative; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; font-weight: 800; color: #475467; background: #fff; box-shadow: inset 0 0 0 1.5px #e4e7ec;
  transition: color .2s, background-color .2s, box-shadow .2s, transform .15s; flex-shrink: 0;
}
.sc-like svg { font-size: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
.sc-like:not(:disabled):hover { color: #f04438; box-shadow: inset 0 0 0 1.5px #fda29b; }
.sc-like:not(:disabled):active { transform: scale(.94); }
.sc-like.is-on { color: #fff; background: linear-gradient(135deg, #f97066, #d92d20); box-shadow: 0 8px 18px -8px rgba(217, 45, 32, .8); }
.sc-like.is-on svg { fill: currentColor; transform: scale(1.12); }
.sc-like:disabled { cursor: default; opacity: .75; }
.sc-like.is-bump span { animation: sc-bump .45s; }
.dark .sc-like:not(.is-on) { background: transparent; color: #d0d5dd; box-shadow: inset 0 0 0 1.5px #475467; }
@keyframes sc-bump { 40% { transform: scale(1.35); } }
.sc-fly { position: absolute; top: -4px; left: 50%; font-style: normal; font-size: 13px; font-weight: 900; color: #f04438; pointer-events: none; animation: sc-fly .9s ease-out forwards; }
@keyframes sc-fly { from { opacity: 1; transform: translate(-50%, 0); } to { opacity: 0; transform: translate(-50%, -34px); } }

.sc-work--add {
  grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px;
  padding: 16px 20px; text-align: center; background: transparent; box-shadow: none; border: 2px dashed #c2d6ff; color: #465fff;
}
.sc-work--add:hover { transform: none; }
.sc-work--add:hover { background: #f5f7ff; box-shadow: none; }
.dark .sc-work--add { border-color: #344054; }
.dark .sc-work--add:hover { background: rgba(70, 95, 255, .08); }
.sc-work--add span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #ecf3ff; font-size: 20px; }
.sc-work--add span svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.sc-work--add b { font-size: 15px; color: #1d2939; }
.sc-work--add em { font-style: normal; font-size: 13px; color: #667085; }
.dark .sc-work--add b { color: #fff; }

.sc-guest {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 22px; padding: 12px 14px;
  border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #eaecf0; font-size: 14px; color: #344054;
}
.sc-guest > span:nth-child(2) { flex: 1; min-width: 200px; }
.dark .sc-guest { background: #1d2939; box-shadow: inset 0 0 0 1px #344054; color: #e4e7ec; }
.sc-guest-ic { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: #fef3f2; color: #f04438; font-size: 18px; }
.sc-guest-ic svg { fill: currentColor; }

/* rules */
.sc-rules { padding: 26px 28px; border-radius: 22px; background: #f8f9fc; box-shadow: inset 0 0 0 1px #eaecf0; }
.dark .sc-rules { background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px #344054; }
.sc-rules h2 { font-size: 19px; margin: 0 0 14px; }
.sc-rules ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.sc-rules li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.9; color: #475467; }
.dark .sc-rules li { color: #98a2b3; }
.sc-rules b { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; border-radius: 8px; background: #ecf3ff; color: #465fff; font-size: 12px; }

/* past winners */
.sc-past { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.sc-past-card { border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #fedf89, 0 12px 30px -20px rgba(220, 104, 3, .5); }
.dark .sc-past-card { background: #1d2939; box-shadow: 0 0 0 1px rgba(253, 176, 34, .35); }
.sc-past-media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #fffaeb, #fef0c7); }
.sc-past-media img { width: 100%; height: 100%; object-fit: cover; }
.sc-past-media::after { content: ""; position: absolute; inset: 8px; border-radius: 15px; box-shadow: inset 0 0 0 2px rgba(253, 176, 34, .85); pointer-events: none; }
.sc-past-empty { display: flex; align-items: center; justify-content: center; height: 100%; }
.sc-past-when { position: absolute; top: 16px; right: 16px; z-index: 2; padding: 5px 11px; border-radius: 10px; font-size: 12px; font-weight: 800; background: linear-gradient(135deg, #fec84b, #f79009); color: #3b2300; }
.sc-past-media .sc-tag { bottom: 18px; right: 18px; }
.sc-past-body { padding: 14px 18px 16px; }
.sc-past-body b { display: block; font-size: 15px; color: #101828; }
.dark .sc-past-body b { color: #fff; }
.sc-past-body span { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: #667085; }
.sc-past-body svg { fill: #f04438; font-size: 14px; }

/* students directory */
.sc-search { position: relative; display: block; width: 100%; max-width: 320px; }
.sc-search svg { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); fill: none; stroke: #98a2b3; stroke-width: 2; font-size: 17px; }
.sc-search input { width: 100%; height: 44px; padding: 0 42px 0 14px; border-radius: 13px; border: 1px solid #e4e7ec; background: #fff; font-size: 14px; color: #1d2939; outline: none; }
.sc-search input:focus { border-color: #9cb9ff; box-shadow: 0 0 0 4px rgba(70, 95, 255, .1); }
.dark .sc-search input { background: #1d2939; border-color: #344054; color: #fff; }
.sc-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.sc-person { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 12px; border-radius: 18px; text-align: center; background: #fff; box-shadow: 0 0 0 1px #eaecf0; transition: transform .25s, box-shadow .25s; }
.sc-person:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #9cb9ff, 0 14px 28px -18px rgba(70, 95, 255, .5); }
.dark .sc-person { background: #1d2939; box-shadow: 0 0 0 1px #344054; }
.sc-person .sc-av { margin-bottom: 8px; }
.sc-person b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: #1d2939; }
.dark .sc-person b { color: #f2f4f7; }
.sc-person span { font-size: 12px; color: #667085; }
.sc-pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; font-size: 14px; color: #667085; }
.sc-pager a { padding: 8px 16px; border-radius: 11px; box-shadow: inset 0 0 0 1px #e4e7ec; color: #344054; }
.sc-empty { text-align: center; max-width: 460px; }
.sc-empty h2 { font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.sc-empty p { margin: 10px 0 20px; color: #667085; }

/* login prompt + toast */
.sc-modal { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(8, 11, 28, .6); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.sc-modal[hidden] { display: none; }
.sc-modal.is-open { opacity: 1; }
.sc-modal-box { position: relative; width: 100%; max-width: 400px; padding: 30px 26px 24px; border-radius: 24px; text-align: center; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); transform: translateY(12px) scale(.97); transition: transform .25s; }
.sc-modal.is-open .sc-modal-box { transform: none; }
.dark .sc-modal-box { background: #1d2939; color: #fff; }
.sc-modal-x { position: absolute; top: 14px; left: 14px; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #667085; font-size: 18px; }
.sc-modal-x:hover { background: #f2f4f7; }
.sc-modal-x svg { fill: none; stroke: currentColor; stroke-width: 2; }
.sc-modal-ic { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(135deg, #f97066, #d92d20); color: #fff; font-size: 30px; box-shadow: 0 14px 30px -12px rgba(217, 45, 32, .8); animation: sc-beat 1.4s infinite; }
.sc-modal-ic svg { fill: currentColor; }
@keyframes sc-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
.sc-modal h3 { margin-top: 16px; font-family: var(--font-display); font-size: 20px; font-weight: 800; color: #101828; }
.dark .sc-modal h3 { color: #fff; }
.sc-modal p { margin-top: 8px; font-size: 13.5px; line-height: 1.9; color: #667085; }
.sc-modal-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }

.sc-toast { position: fixed; bottom: 24px; left: 50%; z-index: 999999; padding: 12px 20px; border-radius: 14px; background: #101828; color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); transform: translate(-50%, 40px); opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s; }
.sc-toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ── responsive ── */
@media (max-width: 1024px) {
  .sc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sc-prize { max-width: 520px; transform: none; }
  .sc-leader, .sc-win-card { grid-template-columns: minmax(0, 1fr); }
  .sc-leader-info { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .sc-leader-who { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .sc-hero h1 { font-size: 30px; margin: 14px 0 10px; }
  .sc-lead { font-size: 14px; }
  .sc-steps li { font-size: 12px; padding: 5px 10px 5px 11px; }
  .sc-cta .sc-btn { flex: 1; }
  .sc-race { padding: 14px 14px 10px; margin-top: 24px; }
  .sc-race-head em { margin-inline-start: 0; width: 100%; }
  .sc-track { height: 130px; margin: 0 4px 0 40px; }
  .sc-track-finish { left: -40px; width: 34px; height: 34px; margin-top: -17px; }
  .sc-runner-name { display: none; }
  .sc-runner-av .sc-av { width: 38px; height: 38px; font-size: 15px; }
  .sc-runner-rank { top: 14px; }
  .sc-legend { display: block; }
  .sc-sec { padding: 40px 0; }
  .sc-head h2 { font-size: 21px; }
  .sc-leader { padding: 22px 16px; gap: 22px; border-radius: 22px; }
  .sc-leader-works { gap: 10px; }
  .sc-leader-works .sc-work-foot { padding: 10px; gap: 8px; }
  .sc-leader-works .sc-work-foot h3 { font-size: 12.5px; }
  .sc-leader-works .sc-like { height: 32px; padding: 0 10px; font-size: 12.5px; }
  .sc-leader-works .sc-tag { bottom: 8px; right: 8px; font-size: 10.5px; padding: 3px 8px 3px 3px; }
  .sc-leader-works .sc-tag .sc-av { width: 20px; height: 20px; }
  .sc-works { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sc-guest > span:nth-child(2) { flex-basis: calc(100% - 50px); min-width: 0; }
  .sc-guest .sc-btn { flex: 1; }
  .sc-prize-media { aspect-ratio: 16 / 9; }
  .sc-rules { padding: 20px 18px; }
  .sc-rules ul { grid-template-columns: minmax(0, 1fr); }
  .sc-win-card { padding: 22px 16px; gap: 22px; }
  .sc-win h1 { font-size: 24px; }
  .sc-av--xl { width: 96px; height: 96px; }
  .sc-win-works { gap: 10px; }
  .sc-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-search { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-win-frame::before, .sc-dot, .sc-modal-ic { animation: none; }
  .sc-runner { transition: none; }
}
