@font-face {
  font-family: "Pretendard";
  src: url("/static/assets/PretendardVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --canvas: #f5f6f8;
  --surface: #ffffff;
  --ink: #222936;
  --accent: #235eb0;
  --on-accent: #ffffff;
  --accent-hover: #184a90;
  --accent-soft: #edf3fc;
  --surface-muted: #f7f8fa;
  --line: #e1e4e9;
  --control-border: #808995;
  --field: #ffffff;
  --danger: #b41722;
  --focus: #235eb0;
  --text-secondary: #606b7a;
  --radius: 3px;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 1rem;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--canvas); color: var(--ink); scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 0; font-size: 14px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--on-accent); }
a { color: var(--accent); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { min-width: 0; -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { color: var(--ink); line-height: 1.4; }
h1 { font-size: 30px; font-weight: 700; letter-spacing: -.6px; }
h2 { font-size: 20px; font-weight: 650; letter-spacing: -.3px; }
h3 { font-size: 16px; font-weight: 600; }
.skip-link { position: fixed; z-index: 30; top: 8px; left: 8px; padding: 10px 16px; background: var(--accent); color: var(--on-accent); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.utility-bar { height: 35px; border-bottom: 1px solid #eef0f3; font-size: 12px; }
.utility-inner { display: flex; align-items: center; gap: 15px; width: min(1200px, calc(100% - 40px)); height: 100%; margin: auto; color: var(--text-secondary); }
.organizer-mark { color: #333d4c; font-size: 13px; font-weight: 800; letter-spacing: -.4px; text-decoration: none; }
.organizer-mark strong { color: var(--accent); }
.utility-login { margin-left: auto; color: var(--text-secondary); text-decoration: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; width: min(1200px, calc(100% - 40px)); height: 89px; margin: auto; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { color: #244a76; text-decoration: none; }
.brand-name { display: block; font-size: 22px; font-weight: 850; font-style: italic; letter-spacing: -.8px; line-height: 1.1; white-space: nowrap; }
.brand-name small { display: block; margin-top: 5px; color: #637387; font-size: 11px; font-weight: 600; font-style: normal; letter-spacing: 7px; text-align: center; }
nav { display: flex; align-items: stretch; align-self: stretch; gap: 34px; }
nav a { display: flex; align-items: center; position: relative; color: #303846; font-size: 17px; font-weight: 600; text-decoration: none; white-space: nowrap; }
nav a:hover { color: var(--accent); }
nav a[aria-current="page"] { color: var(--accent); }
nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.menu-button { display: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--ink); }
main { min-height: calc(100vh - 265px); }
.hero { position: relative; width: min(1200px, calc(100% - 40px)); margin: auto; padding: 27px 0 24px; border-bottom: 1px solid var(--line); }
.hero h1 { margin: 12px 0 6px; }
.hero > p:not(.breadcrumb) { margin: 0; color: var(--text-secondary); font-size: 14px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--text-secondary); font-size: 12px; }
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.content-section { width: min(1200px, calc(100% - 40px)); margin: auto; padding: 28px 0 40px; }
.content-section.narrow { max-width: 440px; }
.panel { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.panel > h2:first-child, .panel > h3:first-child { margin: 0 0 18px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; margin-bottom: 13px; }
.section-heading h2 { margin: 0; }
.heading-subtitle { margin-left: 10px; color: var(--text-secondary); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; margin: 3px 4px 3px 0; padding: 8px 18px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; font-weight: 550; line-height: 1.5; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.button:disabled { cursor: not-allowed; opacity: .45; }
.button-mint { background: var(--accent); color: var(--on-accent); }
.button-mint:hover:not(:disabled) { background: var(--accent-hover); }
.button-secondary { border-color: var(--control-border); background: var(--surface); color: var(--ink); }
.button-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button-secondary:hover:not(:disabled), .button-ghost:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
label { display: block; margin: 14px 0 6px; color: #414c5a; font-size: 14px; font-weight: 500; }
input, textarea, select { max-width: 100%; padding: 10px 12px; border: 1px solid var(--control-border); border-radius: 3px; background: var(--field); color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--text-secondary); }
input[type="text"], input[type="password"], textarea { width: 100%; }
input[type="range"] { accent-color: var(--accent); }
textarea { resize: vertical; }
#source-code, .code-block, #validation-log { font-family: var(--mono); font-size: 12px; line-height: 1.8; tab-size: 4; }
#source-code { min-height: 460px; padding: 16px; background: #fbfcfe; }
.code-block { max-width: 100%; overflow-x: auto; padding: 20px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.field-help, .byte-count { color: var(--text-secondary); font-size: 12px; line-height: 1.8; }
.byte-count { text-align: right; font-variant-numeric: tabular-nums; }
.status { margin-top: 10px; padding: 9px 12px; border-left: 2px solid var(--control-border); background: var(--surface-muted); color: var(--text-secondary); font-size: 13px; overflow-wrap: anywhere; }
.status:empty { display: none; }
.status[data-kind="error"] { border-color: var(--danger); background: #fff2f1; color: var(--danger); }
.notice { padding: 12px 16px; border: 1px solid #c4b89b; background: #fff9ec; color: #6a5527; font-size: 13px; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 16px 0; border: 1px solid var(--line); background: var(--surface); }
.summary-grid > div { min-width: 0; padding: 14px; border-right: 1px solid var(--line); }
.summary-grid > div:nth-child(4) { border-right: 0; }
.summary-grid > div:last-child { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 12px; padding-block: 8px; border-top: 1px solid var(--line); border-right: 0; }
.summary-grid dt { color: var(--text-secondary); font-size: 12px; }
.summary-grid dd { margin: 5px 0 0; overflow-wrap: anywhere; font-size: 13px; font-variant-numeric: tabular-nums; }
.summary-grid > div:last-child dd { margin: 0; color: var(--text-secondary); font: 11px/1.7 var(--mono); }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
caption { padding-bottom: 10px; text-align: left; color: var(--text-secondary); font-size: 12px; }
th, td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
th { background: var(--surface-muted); color: var(--text-secondary); font-size: 12px; font-weight: 500; white-space: nowrap; }
tbody tr:hover { background: #f8faff; }
td .button { min-height: 32px; padding: 5px 10px; font-size: 12px; }
td .button { white-space: nowrap; }
.submission-table { min-width: 420px; table-layout: fixed; }
.submission-table th:first-child { width: 52px; }
.submission-table th:nth-child(2) { width: 78px; }
.submission-table th:last-child { width: 82px; }
.submission-table td:nth-child(2) { font-size: 12px; white-space: nowrap; }
.submission-table td:nth-child(3) { font: 11px/1.7 var(--mono); word-break: break-all; }
.practice-table { min-width: 640px; }
td small { display: block; margin-top: 3px; color: var(--text-secondary); font: 11px/1.6 var(--mono); }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: 20px; }
.editor-panel { grid-row: span 3; }
.workspace-grid .panel > p { color: var(--text-secondary); font-size: 13px; }
.workspace-page .hero > .button { position: absolute; top: 62px; right: 0; }
.workspace-page .hero h1 { padding-right: 95px; }
.workflow-strip { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; font-size: 13px; color: #4d5b6e; }
.workflow-strip span { display: inline-flex; align-items: center; gap: 7px; }
.workflow-strip b { display: grid; place-items: center; width: 20px; height: 20px; background: #e5eaf2; border-radius: 50%; font-size: 11px; font-weight: 500; }
#session-status:not([data-kind="error"]) { display: none; }
.replay-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.replay-controls label { margin: 0; }
.replay-controls input[type="range"] { flex: 1 1 240px; padding: 0; }
.replay-controls select { padding: 7px; }
#replay-step-status { width: 100%; margin: 4px 0 0; color: var(--text-secondary); font-size: 12px; }
.replay-board { min-width: 0; display: grid; gap: 16px; margin: 18px 0; }
.replay-board .panel:empty { display: none; }
.replay-board p, .replay-board li { color: var(--text-secondary); font-size: 13px; }
.market { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.market > .panel { border-top: 3px solid #6b8cab; }
.market > .panel:nth-child(2) { border-top-color: #849e7d; }
.market > .panel:nth-child(3) { border-top-color: #b2996f; }
.card-tile { padding: 12px; border: 1px solid var(--line); background: var(--surface-muted); font-family: var(--mono); }
.players { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.players strong, .replay-board strong { color: var(--ink); font-weight: 500; }
.event-feed { max-height: 350px; overflow-y: auto; padding-left: 22px; color: var(--text-secondary); font-size: 13px; }
.event-feed li { padding: 7px; border-bottom: 1px solid var(--line); }
kbd { padding: 2px 5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 3px; background: var(--surface); color: var(--ink); font: 11px var(--mono); }
.prose { max-width: 900px; color: #465160; }
.prose h2 { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border: 0; }
.prose p, .prose li { font-size: 15px; line-height: 1.9; }
.prose h3 { margin-top: 24px; }
code:not(pre code) { padding: 2px 4px; background: #e9edf3; color: #344c70; font-size: .87em; }
.steps { padding-left: 22px; }
.steps li { margin: 12px 0; padding-left: 5px; }
footer { margin-top: 12px; border-top: 1px solid var(--line); background: #edf0f4; }
.footer-inner { display: flex; align-items: center; gap: 38px; width: min(1200px, calc(100% - 40px)); margin: auto; padding: 28px 0; color: var(--text-secondary); }
.footer-brand { color: #667386; font-size: 17px; font-weight: 800; font-style: italic; letter-spacing: -.5px; }
footer p { margin: 0; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 7px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; }

/* The homepage follows a game portal's banner, participation, and records layout. */
.home-top { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; width: min(1200px, calc(100% - 40px)); margin: 24px auto 0; }
.featured-game { min-width: 0; background: var(--surface); border: 1px solid var(--line); }
.game-banner { position: relative; min-height: 292px; overflow: hidden; background: #e0edf4; }
.banner-art { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.game-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #edf6fcf7, #edf6fccc 28%, #edf6fc00 67%); }
.banner-copy { position: relative; z-index: 1; padding: 38px 42px; max-width: 475px; }
.banner-category { display: inline-block; margin: 0; color: #31567a; font-size: 13px; font-weight: 600; }
.banner-copy h1 { margin: 10px 0 12px; color: #1b3555; font-size: 36px; font-weight: 750; line-height: 1.25; letter-spacing: -.8px; }
.banner-copy > p:not(.banner-category) { margin: 0; color: #425970; font-size: 15px; line-height: 1.7; }
.banner-guide { display: inline-flex; align-items: center; gap: 25px; margin-top: 22px; color: #264d77; font-size: 13px; font-weight: 500; text-decoration: none; }
.banner-guide span { font-size: 20px; }
.banner-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 75px; }
.banner-shortcuts a { display: flex; flex-direction: column; justify-content: center; padding: 12px 22px; border-right: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.banner-shortcuts a:last-child { border: 0; }
.banner-shortcuts a:hover { background: var(--surface-muted); }
.banner-shortcuts strong { font-size: 15px; font-weight: 600; }
.banner-shortcuts span { margin-top: 3px; color: var(--text-secondary); font-size: 12px; }
.play-panel { min-width: 0; border: 1px solid var(--line); background: var(--surface); }
.game-start { display: flex; flex-direction: column; justify-content: center; min-height: 103px; padding: 18px 28px; background: var(--accent); color: white; text-decoration: none; }
.game-start:hover { background: var(--accent-hover); }
.game-start strong { display: flex; align-items: center; justify-content: space-between; font-size: 25px; font-weight: 700; letter-spacing: -.3px; }
.game-start > span { margin-top: 5px; color: #e2ecfa; font-size: 13px; }
.play-panel-body { padding: 18px 22px; }
.play-panel-body > p { margin: 0 0 14px; color: var(--text-secondary); font-size: 13px; line-height: 1.8; }
.play-panel-body strong { color: #37475b; font-weight: 500; }
.login-shortcut { width: 100%; margin: 0; border-color: #a0aab7; background: #f8fafc; }
.member-links { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: 12px; }
.member-links a { color: var(--text-secondary); text-decoration: none; }
.competition-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 13px 8px; border-top: 1px solid var(--line); background: var(--surface-muted); text-align: center; }
.competition-facts > div { border-right: 1px solid var(--line); }
.competition-facts > div:last-child { border: 0; }
.competition-facts dt { color: var(--text-secondary); font-size: 11px; }
.competition-facts dd { margin: 4px 0 0; color: #3d4e63; font-size: 14px; font-weight: 600; }
.service-notice { display: flex; align-items: center; gap: 18px; width: min(1200px, calc(100% - 40px)); margin: 18px auto 0; padding: 12px 18px; border: 1px solid var(--line); background: var(--surface); }
.service-notice strong { flex-shrink: 0; color: var(--accent); font-size: 13px; font-weight: 600; }
.service-notice p { margin: 0; color: #505c6d; font-size: 13px; }
.service-notice a { flex-shrink: 0; margin-left: auto; color: var(--text-secondary); font-size: 12px; text-decoration: none; }
.arena-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 32px; padding-top: 24px; }
.arena-results, .guide-panel { min-width: 0; }
.refresh-button { display: inline-flex; align-items: center; gap: 5px; min-height: 38px; padding: 4px 7px; border: 0; background: transparent; color: var(--text-secondary); font-size: 12px; }
.refresh-button:hover { color: var(--accent); }
.refresh-button:disabled { opacity: .5; cursor: wait; }
.refresh-button span { font-size: 18px; }
.result-tabs { display: flex; align-items: center; justify-content: space-between; height: 41px; padding-right: 12px; border-bottom: 1px solid #8895a7; font-size: 12px; color: var(--text-secondary); }
.result-tabs .selected { height: 100%; padding: 10px 14px; border-bottom: 2px solid var(--accent); color: var(--accent); font-size: 14px; font-weight: 600; }
.arena-results > .status { margin: 0; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); font-size: 12px; }
.arena-results > .status[data-kind="error"] { color: var(--danger); background: #fff2f1; }
.arena-results[data-state="empty"] > .status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.leaderboard-panel { overflow: hidden; padding: 0; border-top: 0; border-radius: 0; }
.leaderboard-panel .table-scroll { margin: 0; }
.leaderboard-panel caption { padding: 8px 14px; font-size: 12px; }
.leaderboard-panel th:first-child, .leaderboard-panel td:first-child { width: 65px; padding-left: 20px; text-align: center; }
.leaderboard-panel th:last-child, .leaderboard-panel td:last-child { width: 100px; text-align: right; padding-right: 20px; }
.leaderboard-panel td:last-child { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.leaderboard-panel tbody tr:first-child { background: var(--accent-soft); }
.leaderboard-panel tbody tr:first-child td:first-child { color: var(--accent); font-weight: 700; }
.empty-state { display: grid; justify-items: center; min-height: 211px; padding: 24px 15px; background: var(--surface); text-align: center; }
.empty-symbol { display: grid; place-items: center; width: 33px; height: 33px; margin-bottom: 10px; border: 1px solid #b8c1cd; border-radius: 50%; color: #8592a4; font-size: 16px; }
.empty-state h3 { margin: 0 0 6px; color: #576576; font-size: 14px; font-weight: 500; }
.empty-state p { margin: 0; color: var(--text-secondary); font-size: 12px; }
.empty-state a { margin-top: 14px; font-size: 12px; text-decoration: none; }
.arena-results:not([data-state="empty"]) .empty-state { display: none; }
.arena-results:not([data-state="complete"]) .leaderboard-panel .table-scroll { display: none; }
.arena-results:is([data-state="loading"], [data-state="error"]) .leaderboard-panel { display: none; }
.result-note { margin-top: 10px; color: var(--text-secondary); font-size: 12px; line-height: 1.7; }
.rounds-heading { margin-top: 28px; }
.arena-results:not([data-state="complete"]) .rounds-heading { display: none; }
.game-list { display: grid; gap: 12px; }
.game-list:empty { display: none; }
.game-list .panel { padding: 18px; }
.game-list h3 { margin: 0 0 12px; font-size: 15px; }
.game-list p { margin: 0; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.game-list p a { display: block; margin-top: 4px; font-size: 12px; }
.more-link { display: grid; place-items: center; width: 38px; height: 38px; color: var(--text-secondary); font-size: 20px; text-decoration: none; }
.guide-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #8895a7; }
.guide-list li { border-bottom: 1px solid var(--line); }
.guide-list a { display: flex; align-items: center; gap: 14px; padding: 18px 6px; color: var(--ink); text-decoration: none; }
.guide-list a:hover strong { color: var(--accent); }
.guide-step { color: #75879d; font-size: 19px; font-weight: 400; }
.guide-list strong { font-size: 14px; font-weight: 550; }
.guide-list p { margin: 4px 0 0; color: var(--text-secondary); font-size: 12px; }
.guide-list a > span:last-child { margin-left: auto; color: #8592a4; font-size: 18px; }
.guide-callout { display: flex; align-items: center; gap: 15px; margin-top: 18px; padding: 18px; background: #e8eef7; color: #375577; text-decoration: none; }
.code-symbol { font: 23px var(--mono); }
.guide-callout strong { font-size: 14px; font-weight: 550; }
.guide-callout p { margin: 3px 0 0; color: #526984; font-size: 12px; }
.guide-callout > span:last-child { margin-left: auto; font-size: 18px; }
.login-page .hero { text-align: center; border: 0; padding-top: 32px; }
.login-page .breadcrumb { justify-content: center; }
.login-page .hero h1 { margin-top: 17px; font-size: 28px; }
.login-page .content-section { padding-top: 12px; padding-bottom: 65px; }
.login-panel { padding: 30px; }
.login-panel h2 { font-size: 18px; margin-bottom: 24px; }
.login-panel input { min-height: 46px; }
.login-panel .button { width: 100%; min-height: 46px; margin: 12px 0 0; }
.login-help { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text-secondary); text-align: center; font-size: 13px; }
.login-help a { margin-left: 8px; text-decoration: none; }

@media (max-width: 64rem) {
  .header-inner { gap: 25px; }
  nav { gap: 22px; }
  nav a { font-size: 15px; }
  .home-top { grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; }
  .banner-copy { padding: 32px 28px; }
  .banner-copy h1 { font-size: 30px; }
  .banner-shortcuts a { padding-inline: 14px; }
  .banner-shortcuts strong { font-size: 14px; }
  .banner-shortcuts span { font-size: 11px; }
  .arena-layout { grid-template-columns: minmax(0, 1fr) 285px; gap: 22px; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-grid > div:nth-child(2) { border-right: 0; }
  .summary-grid > div:nth-child(3), .summary-grid > div:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 48rem) {
  .utility-inner, .header-inner, .hero, .content-section, .home-top, .service-notice, .footer-inner { width: calc(100% - 32px); }
  .utility-bar { height: 32px; }
  .header-inner { display: block; height: auto; }
  .header-row { width: 100%; height: 72px; }
  .brand-name { font-size: 20px; }
  .brand-name small { font-size: 10px; }
  .menu-button { display: inline-flex; align-items: center; }
  nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 0 0 15px; }
  nav a { justify-content: center; padding: 12px; font-size: 14px; }
  nav[data-collapsed="true"] { display: none; }
  .home-top { grid-template-columns: 1fr; margin-top: 16px; }
  .game-banner { min-height: 280px; }
  .banner-copy { padding: 28px 22px; }
  .banner-copy h1 { font-size: 28px; }
  .banner-copy > p:not(.banner-category) { font-size: 14px; }
  .banner-art { object-position: 57% center; }
  .game-banner::after { background: linear-gradient(90deg, #edf6fcf5, #edf6fca6 57%, #edf6fc00); }
  .banner-shortcuts { min-height: 68px; }
  .banner-shortcuts a { padding: 12px 10px; text-align: center; }
  .banner-shortcuts strong { font-size: 13px; }
  .banner-shortcuts span { display: none; }
  .play-panel { display: grid; grid-template-columns: 1fr 1fr; }
  .game-start { padding: 18px; min-height: 120px; }
  .game-start strong { font-size: 22px; }
  .game-start > span { font-size: 11px; }
  .play-panel-body { padding: 15px; }
  .play-panel-body > p { margin-bottom: 10px; font-size: 12px; }
  .login-shortcut { padding: 7px 9px; font-size: 12px; }
  .member-links { display: none; }
  .competition-facts { grid-column: 1 / -1; padding: 10px; }
  .service-notice { align-items: flex-start; gap: 10px; padding: 12px; }
  .service-notice p { font-size: 12px; }
  .service-notice > a { display: none; }
  .arena-layout, .workspace-grid, .players { grid-template-columns: 1fr; }
  .arena-layout { gap: 22px; padding-top: 20px; }
  .heading-subtitle { margin-left: 6px; font-size: 12px; }
  .section-heading h2 { font-size: 19px; }
  .editor-panel { grid-row: auto; }
  .hero { padding: 20px 0; }
  .hero h1 { font-size: 26px; }
  .content-section { padding: 22px 0 30px; }
  .panel { padding: 18px; }
  .leaderboard-panel { padding: 0; }
  .leaderboard-panel th:first-child, .leaderboard-panel td:first-child { width: 45px; padding-left: 10px; }
  .leaderboard-panel th:last-child, .leaderboard-panel td:last-child { width: 75px; padding-right: 10px; }
  .market { grid-template-columns: 1fr; }
  .workspace-page .hero > .button { top: 54px; }
  .workflow-strip { gap: 9px 14px; font-size: 12px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; padding: 24px 0; }
  #source-code { min-height: 400px; }
  .login-page .content-section { padding-bottom: 38px; }
  .login-panel { padding: 24px; }
}
@media (max-width: 24rem) {
  .banner-copy h1 { font-size: 26px; }
  .game-start { padding: 14px; }
  .game-start strong { font-size: 19px; }
  .play-panel-body { padding: 12px; }
  .play-panel-body strong { font-size: 11px; }
  .login-shortcut { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
