@font-face{font-family:Kannada;src:url('/static/fonts/kannada.woff2') format('woff2');font-display:swap}
:root{--red:#b82030;--red-dark:#941726;--yellow:#f3cc39;--ink:#252627;--muted:#60676b;--line:#dce0df;--paper:#fff;--ground:#f4f6f4;--green:#197755;--font:'Kannada','Trebuchet MS',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font);font-size:15px;line-height:1.6;letter-spacing:0}button,input,select,textarea{font:inherit;letter-spacing:0}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:var(--red)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #1b775a;outline-offset:3px}[hidden]{display:none!important}
.masthead{border-top:7px solid var(--red);border-bottom:1px solid var(--line);background:var(--paper);padding:22px max(24px,calc((100% - 1320px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;gap:16px;align-items:center;text-decoration:none;color:var(--ink);min-width:0}.brand-mark{display:grid;place-items:center;width:56px;height:56px;flex-shrink:0;font-size:34px;background:var(--yellow);color:var(--red);border-radius:4px;font-weight:700}.eyebrow{font-family:'Trebuchet MS',sans-serif;font-size:10px;font-weight:700;color:var(--muted)}h1{margin:0;font-family:var(--font);font-size:27px;line-height:1.35;font-weight:700;overflow-wrap:anywhere}h2{margin:0 0 20px;font-size:25px;line-height:1.35}h3{margin:0;font-size:17px}p{margin:0 0 16px}.language-switch{display:flex;flex-shrink:0;border:1px solid var(--line);border-radius:4px;overflow:hidden}.language-switch button{padding:7px 12px;border:0;background:white;color:var(--muted);min-width:70px}.language-switch button[aria-pressed=true]{background:var(--ink);color:white}
#app{max-width:1320px;margin:auto;padding:32px 24px 40px;min-height:calc(100dvh - 200px)}.notice{padding:10px 24px;border-bottom:1px solid #ecd78b;background:#fff5cb;font-size:13px;text-align:center}.notice.error{background:#fbe7e9;color:var(--red-dark)}.loading{padding:60px;text-align:center;color:var(--muted)}.footer{max-width:1320px;margin:auto;border-top:1px solid var(--line);padding:20px 24px;display:flex;gap:20px;justify-content:space-between;font-size:12px;color:var(--muted)}
.registration-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:56px}.registration{border-top:4px solid var(--yellow);padding-top:26px}.registration h2{font-size:32px;margin-bottom:24px}.registration label{display:block;margin-bottom:6px;font-weight:700;font-size:13px}.field{margin-bottom:20px}input,textarea,select{width:100%;padding:11px 12px;border:1px solid #bcc3c0;border-radius:4px;background:white;color:var(--ink);min-height:46px}textarea{resize:vertical}input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--red)}input[type=file]{font-size:13px}input:focus,textarea:focus,select:focus{border-color:var(--green)}.primary,.secondary,.danger{border-radius:4px;padding:10px 18px;min-height:44px;font-weight:700;border:1px solid transparent}.primary{background:var(--red);color:white}.primary:hover:not(:disabled){background:var(--red-dark)}.secondary{background:white;border-color:var(--line);color:var(--ink)}.danger{background:white;border-color:#eac2c6;color:var(--red)}.wide{width:100%}.error-text{color:var(--red);font-size:13px;min-height:24px;margin:10px 0}.meta{font-size:12px;color:var(--muted)}.catalogue-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.catalogue-header h2{margin:0;font-size:22px}.count{color:var(--muted);font-size:12px}.candidate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.candidate{border:1px solid var(--line);background:white;border-radius:4px;overflow:hidden;min-width:0}.candidate-media{width:100%;aspect-ratio:8/5;background:#e7ece8;display:grid;place-items:center;position:relative;overflow:hidden}.candidate-media img{width:100%;height:100%;object-fit:contain}.missing-picture{color:#51685b;font-family:var(--font);font-size:44px;font-weight:700}.candidate-info{padding:14px 16px}.candidate-info h3{font-size:16px;line-height:1.5;overflow-wrap:anywhere}.category{font-family:'Trebuchet MS',sans-serif;font-size:10px;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:4px}.attribution{font-size:10px;color:var(--muted);line-height:1.4;margin:6px 0 0;overflow-wrap:anywhere}.empty{padding:36px 0;color:var(--muted)}
.round-header{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:22px}.round-header h2{font-size:22px;margin:0}.round-header .meta{margin:4px 0 0}.round-counters{display:flex;gap:24px;flex-shrink:0}.counter{display:flex;align-items:baseline;gap:7px}.counter strong{font-size:24px}.counter span{font-size:12px;color:var(--muted)}.round-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:32px;align-items:start}.chat-surface{border:1px solid var(--line);border-radius:4px;background:white;overflow:hidden}.chat-heading{padding:14px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px;font-weight:700;font-size:14px}.status-dot{width:8px;height:8px;background:var(--green);border-radius:50%}.messages{height:360px;overflow-y:auto;padding:22px 18px;display:flex;flex-direction:column;gap:16px}.message{max-width:88%;align-self:flex-start;border-left:3px solid var(--yellow);padding:10px 14px;background:#f4f6f3;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.message.user{align-self:flex-end;background:#fceff0;border-left:0;border-right:3px solid var(--red)}.message-speaker{display:block;font-size:10px;color:var(--muted);margin-bottom:3px}.composer{padding:14px;border-top:1px solid var(--line);display:flex;gap:10px;align-items:flex-end}.composer textarea{height:72px;min-height:72px;max-height:160px;font-size:14px}.composer button{flex-shrink:0}.chat-state{font-size:12px;padding:0 16px;color:var(--muted);min-height:24px}.guess-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;padding:24px 0;border-bottom:1px solid var(--line)}.guess-form label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}.guess-history{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;min-height:24px}.guess-history span{font-size:12px;color:var(--muted);border-bottom:2px solid #d5dcd6}.result{border-left:5px solid var(--green);background:#e7f3ed;padding:22px;margin-bottom:22px}.result.lost{border-color:var(--red);background:#fbedef}.result h2{margin-bottom:10px;font-size:24px}.result p{font-size:14px;margin:0}.session-actions{margin-top:24px}.quiet-button{border:0;background:none;color:var(--muted);font-size:12px;padding:4px 0;text-decoration:underline}.catalogue-scroll{max-height:650px;overflow-y:auto;padding-right:4px}.round-layout .candidate-grid{gap:12px}.round-layout .candidate-info{padding:10px 12px}.round-layout .candidate-info h3{font-size:14px}
.display #app{max-width:none;padding:28px 40px}.display .footer{display:none}.display .masthead{padding:20px 40px}.display .candidate-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.display .candidate-media{aspect-ratio:4/3}.display .candidate-info h3{font-size:24px}.display .category{font-size:12px}.display .candidate-info{padding:18px}.display .attribution{font-size:10px}.display-controls{display:flex;align-items:center;gap:16px}.page-label{font-size:12px;color:var(--muted)}
.admin-top{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px}.admin-top h2{margin:0}.admin-actions{display:flex;flex-wrap:wrap;gap:10px}.admin-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:36px}.admin-list{border-top:1px solid var(--line)}.admin-row{width:100%;background:transparent;border:0;border-bottom:1px solid var(--line);padding:14px 10px;text-align:left;display:flex;gap:10px;align-items:flex-start}.admin-row[aria-current=true]{background:#e6eee8;border-left:3px solid var(--green)}.admin-row-label{min-width:0;overflow-wrap:anywhere}.badge{font-size:10px;font-family:'Trebuchet MS',sans-serif;color:var(--muted);display:block}.badge.active{color:var(--green)}.editor{min-width:0}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.editor label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}.editor .field{margin-bottom:0}.editor-section{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.editor-section h3{margin-bottom:14px}.fact-row{margin-bottom:20px}.fact-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12px;color:var(--muted)}.fact-title button{border:0;background:none;color:var(--red);font-size:12px}.editor textarea{min-height:100px;font-size:14px}.editor .short-textarea{min-height:72px}.check-label{display:flex!important;align-items:center;gap:10px;margin:16px 0!important;font-weight:400!important}.editor-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:24px 0}.editor-preview{max-width:180px;max-height:120px;object-fit:contain;margin-top:12px}.preview-form{display:flex;gap:12px;align-items:end}.preview-form input{min-width:0}.preview-reply{padding:14px 0;min-height:40px;font-size:14px}.login{max-width:360px;margin:40px auto}.login label{font-size:13px;font-weight:700;display:block;margin-bottom:8px}.login input{margin-bottom:16px}.archive-note{font-size:12px;color:var(--muted);margin-bottom:20px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);padding:12px 20px;background:var(--ink);color:white;border-radius:4px;z-index:10;font-size:13px}
@media(max-width:1000px){.registration-layout{gap:28px;grid-template-columns:280px minmax(0,1fr)}.round-layout{grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:22px}.display .candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.display .candidate-info h3{font-size:20px}.admin-layout{grid-template-columns:200px minmax(0,1fr);gap:24px}}
@media(max-width:700px){.masthead{padding:16px;gap:12px;align-items:flex-start;flex-wrap:wrap}.brand{gap:10px}.brand-mark{width:40px;height:44px;font-size:27px}.eyebrow{font-size:9px}h1{font-size:22px}.language-switch{margin-left:50px}.language-switch button{min-width:64px;padding:5px 10px;font-size:12px}#app{padding:24px 16px;min-height:calc(100dvh - 240px)}.registration-layout,.round-layout{grid-template-columns:minmax(0,1fr);gap:28px}.registration{max-width:480px}.registration h2{font-size:28px}.candidate-grid{gap:12px}.candidate-info{padding:12px}.candidate-info h3{font-size:14px}.round-header{gap:16px;align-items:flex-start;flex-wrap:wrap}.round-counters{gap:20px}.counter strong{font-size:21px}.messages{height:320px}.message{max-width:94%}.composer{gap:8px;padding:10px}.composer button{padding:10px 12px}.guess-form{grid-template-columns:minmax(0,1fr)}.guess-form button{width:100%}.catalogue-scroll{max-height:none}.footer{padding:16px;flex-direction:column;gap:2px;font-size:11px}.display #app{padding:20px 16px}.display .masthead{padding:16px}.display .candidate-grid{gap:14px}.display .candidate-info h3{font-size:16px}.display .candidate-info{padding:12px}.display-controls{flex-wrap:wrap;gap:8px}.admin-top{align-items:flex-start;flex-direction:column}.admin-layout{grid-template-columns:minmax(0,1fr)}.admin-list{display:flex;gap:8px;overflow-x:auto;padding:8px 0}.admin-row{width:160px;min-width:160px;border:1px solid var(--line);border-radius:4px;padding:10px;font-size:12px}.editor-grid{grid-template-columns:minmax(0,1fr)}.preview-form{flex-wrap:wrap}.preview-form button{width:100%}.editor-toolbar .primary{flex:1}.notice{text-align:left;padding:10px 16px}.catalogue-header{gap:12px}.catalogue-header h2{font-size:20px}}
@media(prefers-reduced-motion:no-preference){.registration,.chat-surface,.candidate{animation:appear .3s ease-out both}@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}
.brand-kannada{display:block;color:var(--red);font-size:14px;line-height:1.8}.kn-label{display:block;font-size:14px;font-weight:400;margin-top:5px;color:#4e5551}.context-map{margin:26px 0 0}.context-map img{height:190px;width:132px;object-fit:contain}.context-map figcaption{font-size:10px;color:var(--muted);line-height:1.5;max-width:280px}.context-map a{color:var(--muted)}.selected-guess{font-size:12px;color:var(--muted);overflow-wrap:anywhere;margin-top:6px}.counter span{max-width:130px;line-height:1.5}.catalogue-header{align-items:flex-start}.catalogue-header h2{font-size:20px;max-width:70%}.count{max-width:100px;text-align:right}.registration h2{font-size:28px}.round-header h2{font-size:20px}.composer textarea{min-width:0}.composer button{font-size:13px;max-width:150px;white-space:normal}.primary,.secondary,.danger{white-space:normal;overflow-wrap:anywhere}.admin-top h2{font-size:22px}.admin-actions{justify-content:flex-end}.admin-actions button{font-size:12px}.editor h2{font-size:23px}.editor h3{font-size:17px}.check-label{align-items:flex-start!important}.check-label input{flex-shrink:0;margin-top:5px}.result p{margin-top:10px}.display .kn-label{font-size:18px}.guess-form select{font-size:13px}.language-switch{display:none}
@media(max-width:700px){.round-counters{flex-wrap:wrap}.round-counters .counter{flex:1;min-width:140px}.admin-actions{justify-content:flex-start}.context-map img{height:150px;width:104px}.display .kn-label{font-size:14px}.catalogue-header h2{font-size:18px}.guess-form select{font-size:12px}.brand-kannada{font-size:13px}.registration h2{font-size:25px}.editor-toolbar .primary{min-width:160px}}
.file-input{position:absolute;width:1px;height:1px;min-height:0;padding:0;border:0;overflow:hidden;clip-path:inset(50%)}
.registration-layout.registration-only { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin: 0 auto; }
.success-page { max-width: 680px; margin: 28px auto; padding: 28px 22px; text-align: center; border-left: 0; border-top: 5px solid var(--green); background: #edf7ef; }
.success-symbol { font-size: 48px; color: #a87913; margin-bottom: 16px; }
.success-symbol .bi { margin: 0; }
.success-page h2 { font-size: 24px; line-height: 1.6; }
.success-page h3 { margin: 24px 0 18px; font-size: 24px; }
.success-page .success-player { color: var(--muted); }
.success-page p { line-height: 1.8; }

@font-face {
	font-family: 'DM Sans';
	src: url('/static/fonts/dm-sans-regular.ttf') format('truetype');
	font-weight: 400 600;
	font-display: swap;
}
@font-face {
	font-family: 'DM Sans';
	src: url('/static/fonts/dm-sans-bold.ttf') format('truetype');
	font-weight: 700 900;
	font-display: swap;
}
:root {
	--font: 'DM Sans', 'Kannada', sans-serif;
	--bs-body-font-family: var(--font);
	--bs-body-color: #202b28;
	--red: #ba2638;
	--red-dark: #942033;
	--yellow: #f4cb42;
	--ink: #202b28;
	--muted: #5c6b65;
	--line: #d9e3dc;
	--ground: #f4f8f5;
}
body {
	font-size: 16px;
	line-height: 1.6;
	background: repeating-linear-gradient(135deg, transparent, transparent 35px, #eaf0eb 35px, #eaf0eb 36px), var(--ground);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
.masthead {
	padding: 14px 16px;
	padding-top: max(14px, env(safe-area-inset-top, 0px));
	border-top-width: 5px;
	gap: 12px;
}
.brand { gap: 12px; }
.brand-mark {
	width: 46px;
	height: 50px;
	font-size: 30px;
	border-radius: 6px;
	font-family: 'Kannada', sans-serif;
}
h1 { font-size: 21px; line-height: 1.3; }
.brand-kannada { font-family: 'Kannada', sans-serif; font-size: 13px; margin-top: 4px; }
#app { padding: 20px 16px 28px; min-height: calc(100vh - 180px); max-width: 1180px; }
h2, .registration h2 { font-size: 25px; margin-bottom: 20px; line-height: 1.45; }
h3 { font-size: 17px; line-height: 1.6; }
input, select, textarea { font-size: 16px; border-radius: 6px; padding: 12px; min-height: 50px; }
label, .registration label, .editor label { font-size: 14px; margin-bottom: 8px; line-height: 1.6; }
.field { margin-bottom: 18px; }
.primary, .secondary, .danger {
	min-height: 48px;
	padding: 11px 16px;
	font-size: 15px;
	line-height: 1.55;
	border-radius: 6px;
	touch-action: manipulation;
}
.primary { box-shadow: 0 3px 0 #861c2a; }
.primary:active:not(:disabled) { transform: translateY(1px); box-shadow: 0 2px 0 #861c2a; }
.bi { margin-right: 5px; }
.registration-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.registration { max-width: none; padding-top: 20px; border-top-width: 5px; }
.registration .wide { margin-top: 4px; }
.candidate-grid, .round-layout .candidate-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.candidate { border-radius: 6px; border-left: 4px solid var(--yellow); animation: none; }
.candidate-info, .round-layout .candidate-info { padding: 15px 17px; }
.candidate-info h3, .round-layout .candidate-info h3 { font-size: 16px; line-height: 1.5; }
.kn-label { display: block; font-family: 'Kannada', sans-serif; font-size: 14px; line-height: 1.8; margin-top: 5px; }
.category { font-family: var(--font); text-transform: none; font-size: 11px; margin-bottom: 6px; }
.catalogue-header { gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.catalogue-header h2 { font-size: 19px; line-height: 1.55; max-width: 72%; margin: 0; }
.count { font-size: 11px; line-height: 1.7; min-width: 60px; max-width: 90px; }
.round-header { display: block; margin-bottom: 16px; }
.round-header h2 { font-size: 18px; line-height: 1.6; margin-bottom: 12px; }
.round-counters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.round-counters .counter { min-width: 0; gap: 9px; align-items: center; }
.counter strong { font-size: 29px; color: var(--red); }
.counter span { font-size: 11px; max-width: none; line-height: 1.6; }
.round-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 16px; padding: 4px; background: #e4ece6; border-radius: 6px; gap: 4px; }
.round-tabs .nav-link { min-height: 52px; border-radius: 4px; color: #42564a; font-size: 13px; line-height: 1.7; padding: 7px 9px; overflow-wrap: anywhere; }
.round-tabs .nav-link.active { background: white; color: var(--red); box-shadow: 0 1px 4px #10251a18; font-weight: 700; }
.round-tabs .bi { display: block; font-size: 18px; line-height: 1.4; }
.round-layout { display: block; }
.chat-surface { border-radius: 6px; background: white; }
.chat-heading { padding: 12px 14px; font-size: 13px; line-height: 1.7; }
.messages { height: 300px; height: min(42vh, 360px); min-height: 200px; padding: 16px 12px; gap: 14px; overscroll-behavior: contain; scroll-behavior: smooth; }
.message { max-width: 94%; font-size: 15px; padding: 11px 13px; line-height: 1.65; border-radius: 4px; background: #f2f6f1; }
.message-speaker { font-size: 10px; margin-bottom: 4px; }
.composer { padding: 12px; gap: 9px; background: #fff; align-items: stretch; }
.composer textarea { font-size: 16px; height: 92px; min-height: 92px; max-height: 160px; line-height: 1.6; }
.composer .send-button { width: 60px; min-width: 60px; max-width: 60px; padding: 12px 4px; }
.send-button .bi { margin: 0; font-size: 21px; }
.send-button span { display: none; }
.chat-state { padding: 0 12px 8px; min-height: 8px; font-size: 12px; }
.guess-form { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px 0; }
.guess-form select { font-size: 15px; }
.guess-form button { width: 100%; }
.selected-guess { font-size: 13px; line-height: 1.8; }
.guess-history { gap: 10px; margin-top: 12px; }
.guess-history span { font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.quiet-button { min-height: 44px; padding: 8px 0; font-size: 12px; }
.session-actions { margin-top: 14px; }
.catalogue-scroll { max-height: none; overflow: visible; padding: 0; }
.result { padding: 17px; border-radius: 4px; }
.result h2 { font-size: 20px; }
.result h3 { font-size: 17px; overflow-wrap: anywhere; }
.result p { font-size: 14px; line-height: 1.8; }
.notice { text-align: left; padding: 10px 16px; font-size: 12px; line-height: 1.7; }
.footer { max-width: 1180px; padding: 16px; flex-direction: column; gap: 4px; font-size: 11px; }
.playing .footer { display: none; }
.admin-top { flex-direction: column; align-items: flex-start; gap: 16px; }
.admin-top h2 { font-size: 20px; line-height: 1.6; }
.admin-actions { justify-content: flex-start; gap: 8px; width: 100%; }
.admin-actions button { font-size: 12px; min-height: 48px; }
.admin-actions button .bi { font-size: 18px; }
.admin-picker { margin: 8px 0 24px; }
.admin-picker label { display: block; font-weight: 700; }
.admin-layout { display: block; }
.admin-list { display: none; }
.editor h2 { font-size: 22px; }
.editor-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.editor h3 { font-size: 17px; }
.editor textarea { font-size: 16px; line-height: 1.7; min-height: 115px; }
.editor .field { margin-bottom: 0; }
.editor-section { margin-top: 24px; padding-top: 20px; }
.fact-title { gap: 12px; align-items: center; font-size: 12px; }
.fact-title button { min-height: 44px; padding: 8px; text-align: right; max-width: 65%; }
.check-label { font-size: 14px!important; line-height: 1.8; }
.check-label input { width: 21px; height: 21px; min-height: 21px; margin-top: 3px; }
.editor-toolbar { position: sticky; bottom: 0; padding: 14px 0; padding-bottom: max(14px, env(safe-area-inset-bottom, 0px)); background: var(--ground); gap: 10px; border-top: 1px solid var(--line); }
.editor-toolbar .primary { min-width: 0; width: 100%; flex: auto; }
.editor-toolbar .danger { width: 100%; }
.preview-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.preview-form button { width: 100%; }
.login { max-width: 430px; margin: 16px auto 36px; border-top: 5px solid var(--yellow); padding-top: 22px; }
.login h2 { font-size: 24px; line-height: 1.5; }
.error-text { font-size: 13px; overflow-wrap: anywhere; min-height: 0; }
.error-text:empty { margin: 0; }
.toast { width: max-content; max-width: calc(100% - 32px); font-size: 13px; line-height: 1.7; border-radius: 6px; bottom: max(20px, env(safe-area-inset-bottom, 0px)); }
.display .masthead { padding: 16px; }
.display #app { padding: 20px 16px; }
.display .candidate-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.display .candidate-info { padding: 18px; }
.display .candidate-info h3 { font-size: 20px; }
.display .kn-label { font-size: 16px; }
.display-controls { margin-top: 20px; justify-content: center; }
@supports (height: 100dvh) {
	#app { min-height: calc(100dvh - 180px); }
	.messages { height: min(42dvh, 360px); }
}
@media (min-width: 576px) {
	.candidate-grid, .round-layout .candidate-grid, .display .candidate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.registration { max-width: 530px; }
	.editor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.editor-toolbar .primary, .editor-toolbar .danger { width: auto; flex: initial; }
	.guess-form { grid-template-columns: minmax(0, 1fr) auto; }
	.guess-form button { width: auto; }
}
@media (min-width: 992px) {
	.masthead { padding: 20px max(28px, calc((100% - 1180px) / 2)); }
	h1 { font-size: 27px; }
	.brand-mark { width: 55px; height: 60px; font-size: 35px; }
	.brand-kannada { font-size: 15px; }
	#app { padding: 32px 28px 40px; }
	.registration-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
	.registration { max-width: none; }
	.registration h2 { font-size: 32px; }
	.round-header { display: flex; align-items: center; gap: 24px; }
	.round-header h2 { font-size: 22px; margin-bottom: 0; }
	.round-counters { min-width: 330px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
	.round-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; }
	.round-layout > .tab-pane { display: block; opacity: 1; }
	.messages { height: 365px; }
	.catalogue-scroll { max-height: 700px; overflow-y: auto; padding-right: 4px; }
	.footer { flex-direction: row; justify-content: space-between; }
	.admin-top { flex-direction: row; align-items: center; }
	.admin-actions { justify-content: flex-end; width: auto; }
	.admin-picker { display: none; }
	.admin-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
	.admin-list { display: block; }
	.admin-row { width: 100%; padding: 16px 10px; font-size: 14px; border-radius: 0; }
	.admin-row .badge { padding: 0; font-size: 10px; line-height: 1.8; white-space: normal; text-align: left; }
	.preview-form { grid-template-columns: minmax(0, 1fr) auto; }
	.display #app { padding: 30px 40px; }
	.display .candidate-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
	.display .candidate-info { padding: 25px; }
	.display .candidate-info h3 { font-size: 25px; }
	.display .kn-label { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.messages { scroll-behavior: auto; }
	*, *::before, *::after { animation: none!important; transition: none!important; }
}
.round-layout { display: block; max-width: 760px; margin: 0 auto; }