:root {
  --navy: #123142;
  --blue: #176a9a;
  --cyan: #15b8c8;
  --gold: #f2b84b;
  --silver: #b9c6d4;
  --bronze: #c88758;
  --graphite: #30363a;
  --muted: #6f7b82;
  --line: #dce7ea;
  --soft: #f4fafb;
  --head: #f1f4f8;
  --paper: #ffffff;
  --warn: #fff7e6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--graphite);
  background: #f7fafb;
  line-height: 1.42;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 252px;
  padding: 22px;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 800;
}

.brand small, .userbox small {
  display: block;
  color: rgba(255,255,255,.68);
  margin-top: 3px;
}

nav {
  display: grid;
  gap: 6px;
}

nav a {
  color: #fff;
  padding: 10px 12px;
  border-radius: 6px;
}

nav a:hover {
  background: rgba(255,255,255,.09);
  text-decoration: none;
}

.userbox {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.16);
}

.userbox a { color: #fff; display: inline-block; margin-top: 10px; }

.user-progress {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.user-progress div {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
}

.user-progress span {
  color: rgba(255,255,255,.66);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.user-progress strong {
  color: #fff;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.app {
  margin-left: 252px;
  padding: 30px;
  max-width: 1480px;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(420px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(18,49,66,.08);
}

.login-brand { color: var(--navy); margin-bottom: 22px; }
.login-brand small { color: var(--muted); }

h1, h2 {
  color: var(--navy);
  margin: 0;
}

h1 { font-size: 28px; }
h2 { font-size: 18px; margin-bottom: 14px; }

.eyebrow {
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metrics div, .panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.metrics div {
  padding: 18px;
}

.metrics strong {
  display: block;
  color: var(--blue);
  font-size: 28px;
}

.metrics span, .muted {
  color: var(--muted);
}

.panel {
  padding: 20px;
  margin-bottom: 18px;
}

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  table-layout: fixed;
}

th, td {
  border: 1px solid #d7dce3;
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

th {
  background: var(--head);
  color: var(--navy);
  font-size: 13px;
  line-height: 1.25;
}

tbody tr:nth-child(even) td {
  background: #fbfcfd;
}

tbody tr.out-of-competition td {
  background: #f6f9fc;
  color: #506070;
  font-weight: 700;
}

.leaderboard-panel {
  overflow: hidden;
  padding: 0;
  border-color: #133348;
  background: linear-gradient(135deg, #0f2a3a 0%, #123142 48%, #176a9a 100%);
  box-shadow: 0 18px 46px rgba(18,49,66,.18);
}

.competition-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .92fr) minmax(280px, 1fr) minmax(260px, .82fr);
  min-height: 330px;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid #123142;
  border-radius: 8px;
  background: #0b1b27;
  color: #fff;
  box-shadow: 0 22px 54px rgba(15,42,58,.24);
}

.competition-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,27,39,.12), rgba(11,27,39,.7) 36%, rgba(11,27,39,.9) 70%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.22));
}

.competition-hero-media {
  min-height: 330px;
  background-image: url("/static/assets/august-cup-trophy.jpg");
  background-size: cover;
  background-position: center;
}

.competition-hero-content,
.competition-podium {
  position: relative;
  z-index: 1;
}

.competition-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 24px;
}

.competition-hero-content .eyebrow {
  color: #8ee8ef;
}

.competition-hero h2 {
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-size: 40px;
  line-height: 1.02;
  letter-spacing: 0;
}

.competition-hero p {
  max-width: 470px;
  color: rgba(255,255,255,.82);
  font-size: 15px;
}

.competition-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.competition-hero-stats div,
.podium-card {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
}

.competition-hero-stats div {
  padding: 12px;
}

.competition-hero-stats strong,
.competition-hero-stats span,
.podium-card span,
.podium-card strong,
.podium-card small {
  display: block;
}

.competition-hero-stats strong {
  color: #f2b84b;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.competition-hero-stats span {
  margin-top: 5px;
  color: rgba(255,255,255,.7);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.prize-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.prize-group {
  min-height: 126px;
  padding: 13px 14px;
  border: 1px solid rgba(242,184,75,.42);
  border-radius: 8px;
  background: rgba(242,184,75,.12);
}

.prize-group span,
.prize-group strong,
.prize-group small {
  display: block;
}

.prize-group span {
  color: #8ee8ef;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.prize-group strong {
  margin: 4px 0 7px;
  color: #f2b84b;
  font-size: 22px;
  line-height: 1.05;
}

.prize-group small {
  color: rgba(255,255,255,.78);
  font-size: 12px;
  line-height: 1.38;
}

.season-prizes {
  border-color: rgba(142,232,239,.36);
  background: rgba(142,232,239,.1);
}

.competition-podium {
  align-self: end;
  display: grid;
  gap: 10px;
  padding: 24px;
}

.podium-card {
  padding: 14px 16px;
}

.podium-card span {
  color: #8ee8ef;
  font-size: 12px;
  font-weight: 900;
}

.podium-card strong {
  margin-top: 4px;
  color: #fff;
  font-size: 18px;
  white-space: nowrap;
}

.podium-card small {
  margin-top: 5px;
  color: rgba(255,255,255,.72);
}

.podium-1 {
  border-color: rgba(242,184,75,.62);
  background: linear-gradient(135deg, rgba(242,184,75,.32), rgba(255,255,255,.1));
}

.podium-2 {
  margin-left: 18px;
}

.podium-3 {
  margin-left: 36px;
}

.leaderboard-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  color: #fff;
}

.leaderboard-head h2,
.leaderboard-head .eyebrow {
  color: #fff;
}

.leaderboard-head h2 {
  font-size: 24px;
  letter-spacing: 0;
}

.leaderboard-head .eyebrow {
  color: #8ee8ef;
}

.leaderboard-head > strong {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.leaderboard-wrap {
  margin: 0 14px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: #f8fbfc;
}

.leaderboard-table {
  border-collapse: separate;
  border-spacing: 0 8px;
  min-width: 1320px;
  padding: 8px;
}

.leaderboard-table th:nth-child(1),
.leaderboard-table td:nth-child(1) {
  width: 108px;
}

.leaderboard-table th:nth-child(2),
.leaderboard-table td:nth-child(2) {
  width: 180px;
}

.leaderboard-table th:nth-child(3),
.leaderboard-table td:nth-child(3) {
  width: 230px;
}

.leaderboard-table th:nth-child(4),
.leaderboard-table td:nth-child(4) {
  width: 96px;
}

.leaderboard-table th:nth-child(5),
.leaderboard-table td:nth-child(5) {
  width: 160px;
}

.leaderboard-table th:nth-child(6),
.leaderboard-table td:nth-child(6) {
  width: 126px;
}

.leaderboard-table th:nth-child(n+7),
.leaderboard-table td:nth-child(n+7) {
  width: 92px;
}

.leaderboard-table th,
.leaderboard-table td {
  border: 0;
}

.leaderboard-table th {
  padding: 10px 12px;
  background: transparent;
  color: #667781;
  font-size: 11px;
  text-transform: uppercase;
}

.leaderboard-row td {
  padding: 13px 12px;
  background: #fff;
  border-top: 1px solid #e3eaee;
  border-bottom: 1px solid #e3eaee;
  vertical-align: middle;
}

.leaderboard-row td:first-child {
  border-left: 1px solid #e3eaee;
  border-radius: 8px 0 0 8px;
}

.leaderboard-row td:last-child {
  border-right: 1px solid #e3eaee;
  border-radius: 0 8px 8px 0;
}

.leaderboard-row:nth-child(even) td {
  background: #fff;
}

.leaderboard-row.rank-1 td {
  background: linear-gradient(90deg, #fff8e4 0%, #fff 48%);
  border-color: #f3d694;
}

.leaderboard-row.rank-2 td {
  background: linear-gradient(90deg, #f3f7fb 0%, #fff 48%);
  border-color: #d7e0e8;
}

.leaderboard-row.rank-3 td {
  background: linear-gradient(90deg, #fff1e7 0%, #fff 48%);
  border-color: #e9c5aa;
}

.leaderboard-row.boss-row td {
  background: linear-gradient(90deg, #0f2a3a 0%, #18394d 55%, #204f62 100%);
  border-color: #315d70;
  color: #fff;
}

.place-cell {
  width: 126px;
}

.prize-cell {
  color: var(--navy);
  line-height: 1.25;
}

.prize-cell strong,
.prize-cell em {
  display: block;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.prize-cell strong {
  color: #8a5b0a;
}

.prize-cell em {
  margin-top: 5px;
  color: #214f8e;
  font-size: 12px;
}

.prize-cell small {
  display: block;
  margin-bottom: 3px;
  color: #6d7a82;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.place-cell span {
  display: inline-flex;
  min-width: 62px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: #e7f5f8;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.rank-1 .place-cell span {
  background: var(--gold);
  color: #33220b;
}

.rank-2 .place-cell span {
  background: var(--silver);
  color: #1d2f3e;
}

.rank-3 .place-cell span {
  background: var(--bronze);
  color: #fff;
}

.boss-row .place-cell span {
  background: #8ee8ef;
  color: #0f2a3a;
}

.place-cell small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.2;
}

.boss-row .place-cell small,
.boss-row .player-cell strong,
.boss-row .rank-cell strong {
  color: #fff;
}

.player-cell strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  white-space: nowrap;
}

.level-badge,
.rank-badge,
.stat-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.level-badge {
  border: 1px solid #cfe4e8;
  background: #effafd;
  color: var(--navy);
}

.rank-cell {
  min-width: 142px;
}

.rank-cell strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
  font-size: 13px;
}

.rank-badge {
  background: #123142;
  color: #fff;
}

.score-cell {
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.main-score {
  font-size: 20px;
}

.august-score {
  color: #147282;
  font-size: 18px;
}

.boss-row .score-cell,
.boss-row .august-score {
  color: #8ee8ef;
}

.stat-chip {
  min-width: 34px;
  background: #eef3f5;
  color: #344955;
}

.stat-chip.confirmed {
  background: #e7f6ec;
  color: #1f6a3c;
}

.stat-chip.draft {
  background: #fff6df;
  color: #7a520d;
}

.stat-chip.submitted {
  background: #e9f2ff;
  color: #234f8f;
}

.boss-row .level-badge,
.boss-row .rank-badge,
.boss-row .stat-chip {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.12);
  color: #fff;
}

small {
  color: var(--muted);
}

.url {
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.34;
}

.compact-table table {
  min-width: 0;
}

.badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 18px;
  align-items: start;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

legend {
  color: var(--navy);
  font-weight: 800;
  padding: 0 6px;
}

.stack, fieldset {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: var(--navy);
}

input, select, textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--graphite);
  background: #fff;
}

textarea {
  min-height: 86px;
  resize: vertical;
}

.check, .checkline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check input, .checkline input {
  width: auto;
  min-height: 0;
}

.actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
}

.admin-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.mode-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mode-panel h2,
.mode-panel p {
  margin: 0;
}

.mode-panel p {
  margin-top: 4px;
}

.segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.segmented a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

.segmented a:hover {
  text-decoration: none;
  background: #fff;
}

.segmented a.active {
  background: var(--blue);
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr);
  gap: 22px;
}

.alert {
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--warn);
  border: 1px solid #ead8a6;
}

.success {
  padding: 10px 12px;
  border-radius: 6px;
  background: #eaf8ef;
  border: 1px solid #add8bd;
  color: #1f6a3c;
}

.narrow-panel {
  max-width: 620px;
}

.idea-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px;
}

.idea-card {
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.idea-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 16px;
}

.idea-card p {
  margin: 0;
  color: var(--graphite);
}

.subhead {
  margin: 22px 0 10px;
  color: var(--navy);
  font-size: 16px;
}

.source-table {
  margin-bottom: 14px;
}

.source-table table {
  min-width: 860px;
}

.source-table th:first-child,
.source-table td:first-child {
  width: 240px;
}

.inline-url-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.inline-url-form input {
  min-height: 34px;
}

.inline-url-form button {
  min-height: 34px;
  padding: 7px 10px;
}

.target-url-hint {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.guided-hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.selected-target-summary {
  min-height: 0;
}

.target-url-hint strong {
  color: var(--navy);
}

.target-url-hint span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 13px;
}

.target-url-hint dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.target-url-hint dl div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px;
}

.suggestion-box {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #b8d6df;
  border-radius: 8px;
  background: #eef9fb;
}

.suggestion-box strong {
  color: var(--navy);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.suggestion-box p {
  margin: 0;
  color: var(--graphite);
}

.suggestion-box.compact {
  align-content: start;
}

.suggestion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.project-suggestions {
  display: grid;
  gap: 10px;
}

.project-suggestions h3 {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
}

.project-suggestion {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 12px;
  border: 1px solid #d2dde3;
  border-radius: 8px;
  background: #fff;
  color: var(--graphite);
  text-align: left;
}

.project-suggestion:hover,
.project-suggestion.active {
  border-color: var(--blue);
  background: #f2fbfb;
}

.project-suggestion strong {
  color: var(--navy);
}

.points-badge {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e9f2f5;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.project-suggestion span,
.project-suggestion small {
  overflow-wrap: anywhere;
}

.contact-data {
  display: grid;
  gap: 4px;
  margin: 4px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.contact-data div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
}

.contact-data dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.contact-data dd {
  margin: 0;
  color: var(--graphite);
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.dashboard-suggestion {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 14px;
}

.dashboard-project-grid {
  display: grid;
  gap: 10px;
}

.dashboard-project-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #d2dde3;
  border-radius: 8px;
  background: #fff;
}

.dashboard-project-card strong {
  color: var(--navy);
}

.dashboard-project-card span {
  overflow-wrap: anywhere;
}

.target-summary {
  display: grid;
  gap: 4px;
  margin: 4px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.target-summary div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 8px;
}

.target-summary dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.target-summary dd {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.table-contact,
.table-target {
  margin-top: 8px;
}

.source-feedback-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e0d4bb;
  border-radius: 8px;
  background: #fffaf0;
}

.source-feedback-panel h3 {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
}

.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feedback-actions button {
  background: #fff;
}

.notice-panel {
  border-color: #b8d6df;
  background: #eef9fb;
}

.prizes-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.prize-stage {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid #dfe8ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(18,49,66,.08);
}

.prize-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
}

.monthly-stage::before {
  background: linear-gradient(135deg, rgba(245,181,65,.24), transparent 48%);
}

.season-stage::before {
  background: linear-gradient(135deg, rgba(20,114,130,.18), transparent 48%);
}

.prize-stage > span {
  position: relative;
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #effafd;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.prize-stage h2 {
  position: relative;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 28px;
}

.prize-list {
  position: relative;
  display: grid;
  gap: 10px;
}

.prize-rank {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid #e1e9ed;
  border-radius: 8px;
  background: rgba(255,255,255,.88);
}

.prize-rank strong {
  color: var(--navy);
  font-size: 14px;
  text-transform: uppercase;
}

.prize-rank span {
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  text-align: right;
}

.prize-rank-1 {
  border-color: #f3d694;
  background: #fff8e4;
}

.prize-rank-2 {
  border-color: #d7e0e8;
  background: #f3f7fb;
}

.prize-rank-3 {
  border-color: #e9c5aa;
  background: #fff1e7;
}

@media (max-width: 860px) {
  .dashboard-suggestion {
    grid-template-columns: 1fr;
  }
}

.target-url-hint dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.target-url-hint dd {
  margin: 0;
}

@media (max-width: 900px) {
  .competition-hero {
    grid-template-columns: 1fr;
  }
  .competition-hero::after {
    background: linear-gradient(180deg, rgba(11,27,39,.08), rgba(11,27,39,.86) 42%, rgba(11,27,39,.95));
  }
  .competition-hero-media {
    min-height: 220px;
  }
  .competition-hero h2 {
    font-size: 32px;
  }
  .competition-hero-stats {
    grid-template-columns: 1fr;
  }
  .prize-board {
    grid-template-columns: 1fr;
  }
  .prizes-page {
    grid-template-columns: 1fr;
  }
  .competition-podium {
    padding-top: 0;
  }
  .podium-2,
  .podium-3 {
    margin-left: 0;
  }
  .sidebar {
    position: static;
    width: auto;
    padding: 18px;
    gap: 18px;
  }
  .app {
    margin-left: 0;
    padding: 18px;
  }
  .metrics, .form-grid, .split, .idea-grid {
    grid-template-columns: 1fr;
  }
  .page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  table {
    min-width: 680px;
  }
}
