/* Mockup Round — business-school theme: deep navy, gold accents, serif display type. */
:root {
  --navy: #0b1f3a; --navy-2: #132c52; --navy-3: #1d3b6b;
  --gold: #c9a227; --gold-2: #e5c158; --gold-soft: #fbf4dc;
  --teal: #0f9d8a; --teal-soft: #e3f6f2;
  --coral: #e2553f; --coral-soft: #fdeceA;
  --violet: #6d4fd8; --violet-soft: #efeafd;
  --blue: #2f6fde; --blue-soft: #e8f0fe;
  --ink: #0f1b2d; --ink-2: #33415c; --muted: #6b7a90; --line: #e3e8f0; --bg: #f4f6fa; --card: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 8px 24px -12px rgba(11, 31, 58, .18);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .chip b, .stat b, .podium b, .pin-box strong, #qNum, .crest, .qbar-title, .side-team, .topnav .crumb { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -.01em; color: var(--navy); }
h1 { font-size: 30px; margin: 4px 0 8px; line-height: 1.2; }
h2 { font-size: 21px; margin: 0 0 8px; }
code { background: #eef1f6; padding: 1px 6px; border-radius: 5px; font-size: 13px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }
.spacer { flex: 1; }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 11px 20px; font: inherit; font-weight: 600; cursor: pointer;
  background: linear-gradient(180deg, var(--navy-3), var(--navy)); color: #fff; text-decoration: none !important; transition: transform .08s, box-shadow .15s, filter .15s;
  box-shadow: 0 6px 14px -8px rgba(11, 31, 58, .7); }
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; filter: none; }
.btn.gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--navy); box-shadow: 0 8px 18px -8px rgba(201, 162, 39, .8); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { background: #f8fafc; border-color: #cfd8e5; filter: none; }
.btn.danger { background: linear-gradient(180deg, #ef6a55, var(--coral)); box-shadow: 0 6px 14px -8px rgba(226, 85, 63, .8); }
.btn.purple { background: linear-gradient(180deg, #8467e6, var(--violet)); box-shadow: 0 6px 14px -8px rgba(109, 79, 216, .8); }
.btn.green { background: linear-gradient(180deg, #19b39d, var(--teal)); box-shadow: 0 6px 14px -8px rgba(15, 157, 138, .8); }
.btn.sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }
.btn.wide { width: 100%; }
.btn-link { background: none; border: 0; color: var(--blue); font: inherit; font-weight: 600; cursor: pointer; padding: 4px 0; }

input, select, textarea { font: inherit; color: inherit; border: 1.5px solid #d6deea; border-radius: 10px; padding: 11px 13px; width: 100%; background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 4px rgba(47, 111, 222, .12); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--navy-3); }
input[type=file] { padding: 9px; background: #f8fafc; }
label { display: block; font-weight: 600; font-size: 13.5px; color: var(--ink-2); margin: 12px 0 4px; }
label input, label select, label textarea { margin-top: 5px; font-weight: 400; }
.alert { background: var(--coral-soft); color: #9b2c1c; border: 1px solid #f6c5bb; padding: 11px 15px; border-radius: 10px; margin: 12px 0; font-size: 14px; }
.alert.ok { background: var(--teal-soft); color: #0b6b5e; border-color: #b4e6dc; }

/* ---------- landing ---------- */
.landing { min-height: 100vh; background: var(--navy); }
.land-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr .9fr; }
.hero { position: relative; overflow: hidden; color: #fff; padding: 56px 64px; display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(900px 500px at -10% -10%, rgba(229, 193, 88, .22), transparent 60%),
    radial-gradient(700px 500px at 110% 110%, rgba(15, 157, 138, .25), transparent 60%),
    linear-gradient(160deg, var(--navy-2), var(--navy) 60%); }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,.8) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.8) 1px, transparent 1px); background-size: 44px 44px; }
.hero > * { position: relative; z-index: 1; }
.hero-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 44px; }
.crest { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 10px 24px -10px rgba(229, 193, 88, .9); }
.hero-brand span { font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 12.5px; color: #c9d4e6; }
.hero .kicker { color: var(--gold-2); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: 12.5px; margin: 0 0 12px; }
.hero h1 { color: #fff; font-size: 48px; line-height: 1.1; margin: 0 0 16px; max-width: 14ch; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero .lead { color: #c4cfe2; font-size: 17px; max-width: 46ch; margin: 0 0 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.chip { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px 18px; min-width: 120px; backdrop-filter: blur(4px); }
.chip b { display: block; font-family: var(--serif); font-size: 26px; color: #fff; line-height: 1.1; }
.chip small { color: #aebbd2; font-size: 12.5px; letter-spacing: .04em; }
.chip.gold b { color: var(--gold-2); } .chip.teal b { color: #5fe0cb; } .chip.coral b { color: #ff9a87; }
.steps { display: grid; gap: 14px; max-width: 520px; }
.step { display: flex; gap: 14px; align-items: flex-start; color: #d3dcec; font-size: 14.5px; }
.step i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 13px; color: var(--navy); background: var(--gold-2); }
.step:nth-child(2) i { background: #5fe0cb; } .step:nth-child(3) i { background: #ff9a87; }
.hero-foot { margin-top: 44px; color: #8797b3; font-size: 12.5px; display: flex; align-items: center; gap: 8px; }
.hero-foot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #5fe0cb; box-shadow: 0 0 0 4px rgba(95, 224, 203, .2); }
.panel { background: var(--bg); display: grid; place-items: center; padding: 40px 32px; }
.landing-card { background: #fff; width: min(460px, 100%); padding: 38px 36px; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(11, 31, 58, .45); border-top: 5px solid var(--gold); }
.landing-card h1 { font-size: 27px; }
.landing-card h2 { font-size: 22px; }
.landing-card .form .btn-lg { width: 100%; margin-top: 16px; }
.landing-card #members input { margin-bottom: 9px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; color: var(--gold); margin: 0 0 4px; }
.team-preview { background: var(--gold-soft); border: 1px dashed var(--gold); border-radius: 10px; padding: 9px 13px; font-size: 13.5px; margin-top: 12px; }
.team-preview strong { color: var(--navy); }
#home .btn-lg { margin: 22px 0 10px; width: 100%; }
.card-note { display: flex; gap: 10px; align-items: flex-start; background: #f6f8fc; border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--ink-2); margin-top: 14px; }
.card-note b { color: var(--navy); }
.spinner { width: 38px; height: 38px; border: 4px solid var(--gold-soft); border-top-color: var(--gold); border-radius: 50%; margin: 20px auto; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 980px) { .land-wrap { grid-template-columns: 1fr; } .hero { padding: 40px 28px; } .hero h1 { font-size: 36px; } }

/* ---------- quiz ---------- */
.quiz-body { user-select: none; -webkit-user-select: none; min-height: 100vh; background: linear-gradient(180deg, #eef2f8, var(--bg) 300px); }
.quiz-body input { user-select: text; -webkit-user-select: text; }
#watermark { position: fixed; inset: 0; pointer-events: none; z-index: 50; background-repeat: repeat; }
.qbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 12px 26px; color: #fff;
  background: linear-gradient(90deg, var(--navy), var(--navy-2)); box-shadow: 0 6px 20px -10px rgba(11, 31, 58, .6); }
.qbar .crest { width: 36px; height: 36px; font-size: 17px; border-radius: 10px; }
.qbar-title { font-family: var(--serif); font-weight: 700; font-size: 18px; }
.qbar-team { color: var(--gold-2); font-size: 13.5px; font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qbar-right { display: flex; align-items: center; gap: 12px; }
.badge { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.1); color: #d3dcec; }
.badge.hot { background: var(--coral); color: #fff; }
.timer { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; font-size: 21px; font-weight: 700; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 5px 14px; border-radius: 11px; min-width: 112px; justify-content: center; }
.timer::before { content: '⏱'; font-size: 15px; opacity: .8; }
.timer.low { background: var(--coral); border-color: var(--coral); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .75; } }
.progress { height: 4px; background: rgba(11, 31, 58, .08); position: sticky; top: 60px; z-index: 19; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--gold-2)); transition: width .4s; }
.qmain { display: grid; grid-template-columns: 1fr 310px; gap: 22px; padding: 22px 26px; max-width: 1400px; margin: 0 auto; }
.qpanel { background: #fff; border-radius: 18px; padding: 28px 34px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-height: calc(100vh - 120px); border-top: 4px solid var(--navy); }
.qhead { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.qhead #qNum { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--navy); }
.qhead #qType { background: var(--blue-soft); color: var(--blue); font-weight: 600; font-size: 12px; padding: 4px 11px; border-radius: 99px; }
.qtext { font-size: 20px; white-space: pre-wrap; margin-bottom: 26px; line-height: 1.6; color: var(--ink); }
.qopts { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.opt { display: flex; align-items: center; gap: 16px; margin: 0; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 13px; cursor: pointer; font-weight: 500; font-size: 16px; color: var(--ink);
  background: #fff; transition: border-color .15s, background .15s, transform .1s, box-shadow .15s; }
.opt:hover { border-color: #b8c6dc; background: #fafcff; transform: translateX(2px); }
.opt.sel { border-color: var(--navy-3); background: linear-gradient(90deg, #eef3fc, #fff); box-shadow: 0 6px 16px -10px rgba(29, 59, 107, .6); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-letter { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; transition: .15s; }
.opt:nth-child(6n+1) .opt-letter { background: var(--blue-soft); color: var(--blue); }
.opt:nth-child(6n+2) .opt-letter { background: var(--teal-soft); color: var(--teal); }
.opt:nth-child(6n+3) .opt-letter { background: var(--gold-soft); color: #9a7a12; }
.opt:nth-child(6n+4) .opt-letter { background: var(--violet-soft); color: var(--violet); }
.opt:nth-child(6n+5) .opt-letter { background: var(--coral-soft); color: var(--coral); }
.opt:nth-child(6n+6) .opt-letter { background: #eef1f6; color: var(--ink-2); }
.opt.sel .opt-letter { background: var(--navy) !important; color: var(--gold-2) !important; }
.opt-text { white-space: pre-wrap; }
.fill-input { font-size: 18px; padding: 15px 18px; max-width: 540px; border-width: 2px; }
.qactions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.qside { background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--shadow); align-self: start; position: sticky; top: 84px; }
.side-team { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--navy); margin-bottom: 4px; word-break: break-word; }
.side-sub { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; font-size: 12px; color: var(--muted); margin-bottom: 16px; padding: 10px; background: #f7f9fc; border-radius: 10px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.dot.ans { background: var(--teal); } .dot.nans { background: var(--coral); } .dot.nv { background: #dfe5ee; } .dot.mk { background: var(--violet); }
.palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; max-height: 50vh; overflow-y: auto; padding: 3px; }
.pal { aspect-ratio: 1; border: 0; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; background: #eef1f6; color: var(--ink-2); position: relative; transition: transform .1s; }
.pal:hover { transform: translateY(-1px); }
.pal.ans { background: var(--teal); color: #fff; }
.pal.nans { background: var(--coral); color: #fff; }
.pal.mk { background: var(--violet); color: #fff; }
.pal.ans-mk::after { content: ''; position: absolute; right: 4px; bottom: 4px; width: 8px; height: 8px; border-radius: 50%; background: #7ff0dc; border: 1.5px solid #fff; }
.pal.cur { outline: 3px solid var(--gold); outline-offset: 2px; }
.side-count { font-size: 13px; color: var(--muted); margin: 16px 0 12px; text-align: center; }

.screen { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: rgba(11, 31, 58, .72); backdrop-filter: blur(8px); padding: 20px; overflow-y: auto; }
.screen.show { display: grid; }
.screen-card { background: #fff; border-radius: 20px; padding: 34px 38px; width: min(520px, 100%); text-align: center; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); border-top: 5px solid var(--gold); }
.screen-card.wide-card { width: min(780px, 100%); text-align: left; padding: 26px 34px; }
.wide-card h1 { margin-bottom: 4px; }
.rules { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; }
.rules li { position: relative; padding: 6px 12px 6px 40px; background: #f7f9fc; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); }
.rules li::before { content: "✓"; position: absolute; left: 12px; top: 7px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--navy); color: var(--gold-2); }
.custom-instr { background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 10px; padding: 12px 14px; white-space: pre-wrap; margin: 10px 0; color: var(--ink-2); }
.pin-box { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #c9d4e6; border-radius: 14px; padding: 10px 14px; text-align: center; margin: 8px 0 10px; font-size: 13px; }
.pin-box strong { display: block; font-family: var(--serif); font-size: 34px; letter-spacing: .35em; color: var(--gold-2); margin: 2px 0 4px; padding-left: .35em; }
.soundcheck { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--gold-soft); border: 1px solid #ecd58a; padding: 9px 14px; border-radius: 12px; margin: 10px 0; }
.soundcheck label, .agree { display: flex; align-items: center; gap: 9px; margin: 0; font-weight: 500; color: var(--ink); }
.agree { margin: 10px 0 14px; }
#btnStart { width: 100%; }
.screen.warn { background: rgba(120, 24, 12, .9); }
.warn-card { border-top-color: var(--coral); }
.warn-icon { width: 72px; height: 72px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; color: var(--coral); background: var(--coral-soft); }
.warn-card h1 { color: var(--coral); }
.warn-count { font-weight: 700; color: var(--navy); background: #f7f9fc; padding: 10px; border-radius: 10px; }
.done-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-size: 38px; display: grid; place-items: center; margin: 0 auto 10px; }
.row-btns { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.blackout { position: fixed; inset: 0; background: #000; z-index: 200; display: none; }
.blackout.show { display: block; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 12px; opacity: 0; transition: .25s; z-index: 300; pointer-events: none; font-size: 14px; border-left: 4px solid var(--gold); box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.toast.show { opacity: 1; transform: translateX(-50%); }
@media print { .quiz-body { display: none !important; } .topnav, .page-head .actions { display: none !important; } }
@media (max-width: 900px) { .qmain { grid-template-columns: 1fr; } .qside { position: static; } }

/* ---------- admin ---------- */
.admin-body { background: var(--bg); }
.topnav { background: linear-gradient(90deg, var(--navy), var(--navy-2)); color: #fff; display: flex; align-items: center; gap: 6px; padding: 10px 26px; position: sticky; top: 0; z-index: 30; box-shadow: 0 6px 20px -12px rgba(11, 31, 58, .7); flex-wrap: wrap; }
.topnav a { color: #c4cfe2; text-decoration: none !important; font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: 8px; transition: .15s; }
.topnav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.topnav a.on { color: var(--navy); background: var(--gold-2); font-weight: 600; }
.topnav .logo { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--serif); font-weight: 700; font-size: 17px; margin-right: 14px; padding-left: 0; }
.topnav .logo:hover { background: none; }
.topnav .logo .crest { width: 32px; height: 32px; font-size: 15px; border-radius: 9px; }
.topnav .crumb { color: #fff; font-weight: 600; font-size: 14px; padding: 0 8px; border-left: 1px solid rgba(255,255,255,.2); margin-left: 6px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 28px 26px; }
.card { background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.card h2 { margin-bottom: 12px; }
.card.accent { border-top: 4px solid var(--gold); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { margin: 0; display: flex; align-items: center; gap: 12px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { background: #f6f8fc; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
th:first-child { border-top-left-radius: 10px; } th:last-child { border-top-right-radius: 10px; }
tbody tr:hover td, table tr:hover td { background: #fafbfe; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: #eef1f6; color: var(--ink-2); white-space: nowrap; font-family: var(--sans); }
.pill.live, .pill.active { background: var(--teal-soft); color: #0b7a6b; }
.pill.live::before, .pill.active::before { content: '● '; }
.pill.draft, .pill.waiting { background: var(--blue-soft); color: var(--blue); }
.pill.ended, .pill.submitted { background: #eef1f6; color: #4a5872; }
.pill.away, .pill.danger { background: var(--coral-soft); color: #c03a25; }
.pill.offline { background: var(--gold-soft); color: #8a6a0c; }
.inline { display: inline; }
.actions { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.qlist-item { border: 1px solid var(--line); border-left: 4px solid var(--navy-3); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; transition: .15s; }
.qlist-item:hover { box-shadow: var(--shadow); }
.qlist-item .opts { font-size: 14px; color: var(--muted); margin-top: 8px; }
.qlist-item .opts .right { color: var(--teal); font-weight: 700; }
.feed { max-height: 68vh; overflow-y: auto; }
.feed-item { padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: 13.5px; border-radius: 8px; }
.feed-item.bad { background: var(--coral-soft); border-left: 3px solid var(--coral); }
.feed-item time { color: var(--muted); font-size: 12px; margin-right: 6px; font-variant-numeric: tabular-nums; }
.alert-pop { position: fixed; right: 22px; top: 76px; z-index: 500; display: flex; flex-direction: column; gap: 10px; width: 370px; }
.alert-pop div { background: linear-gradient(135deg, #ef6a55, var(--coral)); color: #fff; padding: 15px 18px; border-radius: 14px; box-shadow: 0 16px 34px -12px rgba(226, 85, 63, .7); font-weight: 600; animation: slidein .3s; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.mon-grid { display: grid; grid-template-columns: 1fr 370px; gap: 20px; align-items: start; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat { background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--navy-3); }
.stat:nth-child(2)::before { background: var(--teal); } .stat:nth-child(3)::before { background: var(--coral); } .stat:nth-child(4)::before { background: var(--gold); }
.stat span { text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; font-weight: 600; }
.stat b { display: block; font-family: var(--serif); font-size: 32px; color: var(--navy); line-height: 1.2; margin-top: 4px; }
.preview-q { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.preview-q.badq { border-color: #f3b4a8; background: #fff8f6; }
.preview-q textarea { min-height: 60px; }
.preview-q .optrow { display: grid; grid-template-columns: 30px 1fr; gap: 6px; align-items: center; margin-top: 6px; }
.rank1 td { background: linear-gradient(90deg, #fdf6dd, #fff) !important; } .rank2 td { background: linear-gradient(90deg, #f1f4f9, #fff) !important; } .rank3 td { background: linear-gradient(90deg, #fbeee6, #fff) !important; }
.rank-badge { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-weight: 700; background: #eef1f6; color: var(--ink-2); }
.rank1 .rank-badge { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); }
.rank2 .rank-badge { background: linear-gradient(135deg, #dfe5ee, #b9c3d3); color: var(--navy); }
.rank3 .rank-badge { background: linear-gradient(135deg, #f0c4a4, #d18b5d); color: #fff; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.podium .p { background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); border-top: 5px solid #b9c3d3; }
.podium .p.g { border-top-color: var(--gold); } .podium .p.b { border-top-color: #d18b5d; }
.podium .p small { text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.podium .p h3 { margin: 6px 0 4px; font-size: 19px; }
.podium .p b { font-family: var(--serif); font-size: 26px; color: var(--navy); }
.login-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; background:
  radial-gradient(700px 400px at 0% 0%, rgba(229, 193, 88, .2), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(15, 157, 138, .2), transparent 60%), var(--navy); }
.login-body .landing-card { text-align: left; }
.login-body .crest { margin: 0 auto 12px; }
@media (max-width: 900px) { .grid2, .grid3, .mon-grid, .stats, .podium { grid-template-columns: 1fr; } }
