:root {
  /* Layout: HUD brand bar, tab rail, module consoles over a slow neural-network backdrop */
  --bg: #050a24;
  --panel: rgba(13, 21, 64, .84);
  --panel-2: #121c52;
  --line: #24327a;
  --ink: #eaeeff;
  --muted: #9ba7d8;
  --accent: #ff8a1f;
  --gold: #ffc726;
  --gold-2: #f2a30f;
  --tl-red: #dc241f;
  --blue: #4a86ff;
  --cyan: #46d9ff;
  --good: #3fd193;
  --warn: #ffbe4d;
  --bad: #ff6b6b;
  --font-display: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.55; }
#bgfx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.shell { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; }
button, select, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a { color: var(--cyan); }

/* header */
.top { display: flex; align-items: center; gap: 14px; padding: 14px 24px; background: rgba(9, 15, 50, .92); border-bottom: 1px solid var(--line); position: relative; }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--blue) 30%, var(--accent) 70%, transparent); }
.top img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px var(--line), 0 0 24px rgba(74, 134, 255, .35); }
.brand h1 { font-size: 21px; letter-spacing: .03em; }
.brand p { margin: 0; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.status-row { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.clock { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); letter-spacing: .08em; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; background: rgba(5, 10, 36, .6); }
.pill.live { border-color: var(--accent); color: var(--accent); }
.pill.good { border-color: var(--good); color: var(--good); }
.pill.warn { border-color: var(--warn); color: var(--warn); }
.pill.bad { border-color: var(--bad); color: var(--bad); }
.pill.cyan { border-color: var(--cyan); color: var(--cyan); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; flex: none; }

nav { display: flex; gap: 2px; padding: 0 24px; border-bottom: 1px solid var(--line); overflow-x: auto; background: rgba(5, 10, 36, .78); }
nav a { padding: 12px 13px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; font-weight: 500; white-space: nowrap; font-size: 14.5px; }
nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); text-shadow: 0 0 12px rgba(255, 138, 31, .45); }
nav a:hover { color: var(--ink); }

main { padding: 20px 24px 40px; max-width: 1360px; width: 100%; margin: 0 auto; flex: 1; }
.view { display: none; }
.view.on { display: grid; gap: 20px; grid-template-columns: 380px 1fr; align-items: start; }
.view.on.two { grid-template-columns: 1fr 1fr; }
.view.on.wide { grid-template-columns: 1fr; }
@media (max-width: 920px) { .view.on, .view.on.two { grid-template-columns: 1fr; } main, .top, nav { padding-left: 16px; padding-right: 16px; } .clock { display: none; } }

/* cards */
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 14px; backdrop-filter: blur(6px); align-content: start; }
.card::before, .card::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--cyan); border-style: solid; opacity: .7; pointer-events: none; }
.card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-radius: 12px 0 0 0; }
.card::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-radius: 0 0 12px 0; }
.card h2 { font-size: 17px; }
.eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.hint { margin: 0; color: var(--muted); font-size: 13.5px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
select, input[type="text"], input[type="password"], textarea { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; width: 100%; }
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.row > label { flex: 1 1 140px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; padding: 10px 14px; border: 1px solid var(--line); background: var(--panel-2); cursor: pointer; font-weight: 500; }
.btn:hover { border-color: var(--blue); box-shadow: 0 0 14px rgba(74, 134, 255, .25); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #1a0d00; font-weight: 600; }
.btn.primary:hover { filter: brightness(1.08); box-shadow: 0 0 18px rgba(255, 138, 31, .45); }
.btn.danger:hover { border-color: var(--bad); color: var(--bad); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.mic { width: 100%; padding: 16px; font-size: 16px; }
.listening { background: #3a1306 !important; border-color: var(--accent) !important; color: var(--accent) !important; box-shadow: 0 0 24px rgba(255, 138, 31, .4); }
.toggle { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; cursor: pointer; background: var(--panel-2); color: var(--ink); }
.chip input { accent-color: var(--accent); }
.chip:has(input:checked) { border-color: var(--accent); color: var(--accent); }
.qchip { border-style: dashed; }
.qchip:hover { border-color: var(--cyan); color: var(--cyan); }

.heard { min-height: 22px; font-size: 14px; color: var(--cyan); font-style: italic; }
.status { font-size: 13px; color: var(--muted); margin: 0; }
.status.err { color: var(--warn); }
.status.ok { color: var(--good); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: rgba(5, 10, 36, .6); }
.stat b { display: block; font-family: var(--font-display); font-size: 24px; font-variant-numeric: tabular-nums; line-height: 1.15; }
.stat span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.stat.warnish b { color: var(--warn); }
.langbars { display: grid; gap: 6px; }
.lb { display: grid; grid-template-columns: 44px 1fr 28px; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.lb .track { height: 8px; border-radius: 4px; background: rgba(36, 50, 122, .6); overflow: hidden; }
.lb .fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 4px; }

/* feed */
.feed { display: grid; gap: 12px; }
.feedhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.line { border: 1px solid var(--line); border-left: 3px solid var(--blue); background: var(--panel); padding: 12px 14px; display: grid; gap: 6px; }
.line.unsure { border-left-color: var(--warn); }
.meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); }
.lang { font-family: var(--font-display); font-weight: 600; font-size: 12px; padding: 2px 7px; border-radius: 4px; background: var(--panel-2); color: var(--ink); letter-spacing: .04em; }
.orig { color: var(--muted); font-size: 14px; }
.trans { font-size: 16.5px; color: var(--ink); }
.extra { display: grid; gap: 3px; font-size: 14px; color: #c9d2ff; }
.extra .lang { font-size: 10.5px; margin-right: 6px; }
.say { margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; cursor: pointer; color: var(--muted); font-size: 12.5px; font-family: var(--font-body); }
.say:hover { color: var(--ink); border-color: var(--blue); }
mark { background: rgba(255, 190, 77, .22); color: var(--warn); border-radius: 3px; padding: 0 2px; }

/* orb */
.orb { position: relative; width: 120px; height: 120px; margin: 4px auto; }
.orb i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--blue); opacity: .45; }
.orb i:nth-child(2) { inset: 16px; border-color: var(--cyan); }
.orb i:nth-child(3) { inset: 34px; background: radial-gradient(circle, rgba(74, 134, 255, .7), rgba(74, 134, 255, .05) 70%); border: none; opacity: .9; }
.orb.on i:nth-child(3) { background: radial-gradient(circle, rgba(255, 138, 31, .95), rgba(255, 138, 31, .08) 70%); }
.orb.on i:nth-child(1), .orb.on i:nth-child(2) { border-color: var(--accent); }
.orb.small { width: 64px; height: 64px; margin: 0; }
.orb.small i:nth-child(2) { inset: 9px; } .orb.small i:nth-child(3) { inset: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .orb.on i:nth-child(1) { animation: ring 1.6s ease-out infinite; }
  .orb.on i:nth-child(2) { animation: ring 1.6s ease-out .4s infinite; }
  .orb.on i:nth-child(3) { animation: core 1s ease-in-out infinite; }
  .listening .dot { animation: core 1s ease-in-out infinite; }
}
@keyframes ring { 0% { transform: scale(.85); opacity: .8; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes core { 50% { transform: scale(.88); opacity: .7; } }

/* big screen */
.stage { min-height: 64vh; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 28px; }
.stage .bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.stage .bar .title { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.stage .bar .right { margin-left: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.inline-label { display: flex; align-items: center; gap: 8px; }
.inline-label select { width: auto; }
.subs { display: grid; align-content: end; gap: 18px; }
.subs .prev { font-size: clamp(18px, 2.2vw, 26px); color: var(--muted); }
.subs .now { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 4.2vw, 56px); line-height: 1.2; text-shadow: 0 0 28px rgba(74, 134, 255, .35); }
.subs .src { font-family: var(--font-mono); font-size: 14px; color: var(--cyan); }
.stage .foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fs .shell > header, .fs .shell > nav, .fs .shell > footer { display: none; }
.fs main { max-width: none; padding: 12px; }
.fs .stage { min-height: calc(100vh - 24px); }

/* bilateral */
.bi { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 1100px) { .bi { grid-template-columns: 1fr 1fr; } .bi .convo { grid-column: 1 / -1; order: 3; } }
@media (max-width: 700px) { .bi { grid-template-columns: 1fr; } }
.side h2 { font-size: 20px; }
.side.a { border-color: rgba(74, 134, 255, .6); }
.side.b { border-color: rgba(255, 138, 31, .6); }
.convo { min-height: 420px; max-height: 70vh; overflow-y: auto; display: grid; gap: 12px; align-content: start; }
.bubble { padding: 12px 14px; border-radius: 12px; max-width: 88%; display: grid; gap: 4px; }
.bubble.a { justify-self: start; background: rgba(74, 134, 255, .12); border: 1px solid rgba(74, 134, 255, .5); }
.bubble.b { justify-self: end; background: rgba(255, 138, 31, .12); border: 1px solid rgba(255, 138, 31, .5); }
.bubble .o { font-size: 13.5px; color: var(--muted); }
.bubble .t { font-size: 17px; }

/* session */
.code { font-family: var(--font-display); font-weight: 800; font-size: 42px; letter-spacing: .16em; color: var(--accent); text-shadow: 0 0 22px rgba(255, 138, 31, .45); }
.qr { background: #fff; padding: 10px; border-radius: 10px; width: max-content; }
.qr img, .qr canvas { display: block; }
.recv { min-height: 240px; display: grid; align-content: end; gap: 12px; border: 1px dashed var(--line); border-radius: 10px; padding: 16px; }
.recv .now { font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.25; }
.recv .prev { color: var(--muted); font-size: 17px; }
.link { font-family: var(--font-mono); font-size: 13px; word-break: break-all; color: var(--cyan); }

/* participant-only mode */
.peserta-mode .shell > nav, .peserta-mode #view-host-only { display: none; }
.peserta-mode main { max-width: 900px; }
.peserta-mode .recv { min-height: 45vh; }
@media (max-width: 600px) { .brand p { display: none; } .brand h1 { font-size: 17px; } .top img { width: 40px; height: 40px; } .top { gap: 10px; } }
.peserta-mode .recv .now { font-size: clamp(26px, 6vw, 44px); }

/* assistant */
.chat { display: grid; gap: 12px; max-height: 58vh; overflow-y: auto; padding-right: 4px; }
.msg { padding: 12px 14px; border-radius: 12px; max-width: 85%; white-space: pre-wrap; }
.msg.q { justify-self: end; background: rgba(255, 138, 31, .14); border: 1px solid rgba(255, 138, 31, .5); }
.msg.a { justify-self: start; background: rgba(74, 134, 255, .12); border: 1px solid rgba(74, 134, 255, .45); }
.msg .who { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }

/* documents, minutes, history */
.out { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 14px; white-space: pre-wrap; min-height: 160px; max-height: 60vh; overflow-y: auto; font-size: 15px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.minutes { display: grid; gap: 14px; }
.minutes h3 { font-size: 13px; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-mono); }
.minutes ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.minutes .sum { margin: 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 12.5px; }
td input { padding: 6px 8px; }
.tablewrap { overflow-x: auto; }
.del { background: none; border: none; color: var(--muted); cursor: pointer; padding: 6px; }
.del:hover { color: var(--bad); }
.steps { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.hist { display: grid; gap: 10px; }
.hitem { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: rgba(5, 10, 36, .55); flex-wrap: wrap; }
.hitem b { font-family: var(--font-display); font-size: 15.5px; }
.hitem .meta { flex: 1 1 200px; }
.hitem .actions { margin-left: auto; }

/* login */
.overlay { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; background: rgba(3, 6, 22, .86); backdrop-filter: blur(8px); padding: 16px; }
.login { width: min(420px, 100%); text-align: center; justify-items: center; }
.login img { width: 140px; height: 140px; border-radius: 16px; }
.login form { width: 100%; display: grid; gap: 10px; text-align: left; }

/* toast */
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 20; background: var(--panel-2); border: 1px solid var(--cyan); color: var(--ink); padding: 10px 14px; border-radius: 10px; box-shadow: 0 0 24px rgba(70, 217, 255, .25); font-size: 14px; }

footer { position: relative; z-index: 1; padding: 18px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; background: rgba(5, 10, 36, .82); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* produksi: akun, koreksi, admin */
.userchip { display: inline-grid; line-height: 1.15; text-align: right; font-size: 13px; }
.userchip span { font-family: var(--font-mono); font-size: 10.5px; color: var(--cyan); letter-spacing: .1em; text-transform: uppercase; }
a.pill { text-decoration: none; }
.chip.active { border-color: var(--accent); color: var(--accent); }
.rev { border: 1px solid var(--line); border-left: 3px solid var(--warn); background: var(--panel); border-radius: 0 10px 10px 0; padding: 14px; display: grid; gap: 8px; }
.rev.done { border-left-color: var(--good); }
.rev .src { color: var(--muted); font-size: 14px; white-space: pre-wrap; max-height: 220px; overflow: auto; }
.rev .ai { font-size: 15px; white-space: pre-wrap; max-height: 220px; overflow: auto; }
.rev textarea { min-height: 80px; }
.note-box { border: 1px solid var(--cyan); border-radius: 10px; padding: 12px; background: rgba(70, 217, 255, .08); font-size: 14px; }
.note-box code { font-family: var(--font-mono); font-size: 15px; color: var(--accent); user-select: all; }
.badge-ok { color: var(--good); }
td .btn { padding: 5px 9px; font-size: 12.5px; }
td select { padding: 5px 6px; }
.line .reviewed { color: var(--good); }

/* ===== Tema Timor-Leste: emas, merah, hitam, bintang putih ===== */
body { background: radial-gradient(ellipse at 85% -10%, rgba(220, 36, 31, .16), transparent 45%), radial-gradient(ellipse at 0% 0%, rgba(255, 199, 38, .10), transparent 40%), var(--bg); background-attachment: fixed; }
.tlflag { width: 24px; height: 12px; vertical-align: -1px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 0 10px rgba(255, 199, 38, .35); margin-right: 4px; }
.top { overflow: hidden; background: linear-gradient(100deg, rgba(10, 8, 6, .96) 0%, rgba(9, 15, 50, .94) 38%, rgba(9, 15, 50, .94) 100%); }
.top .chevron { position: absolute; left: 0; top: 0; bottom: 0; width: 150px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 199, 38, .22), rgba(255, 199, 38, 0)); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.top .chevron::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); clip-path: polygon(0 0, 66% 50%, 0 100%); }
.top > img, .top .brand, .top .status-row { position: relative; z-index: 1; }
.top::after { height: 2px; background: linear-gradient(90deg, var(--gold) 0%, var(--tl-red) 35%, var(--blue) 70%, transparent 100%); }
.top img { box-shadow: 0 0 0 1px rgba(255, 199, 38, .55), 0 0 28px rgba(255, 199, 38, .25); }
.brand h1 { background: linear-gradient(90deg, #fff 0%, #ffe9a8 60%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav a[aria-current="page"] { border-bottom-color: var(--gold); text-shadow: 0 0 14px rgba(255, 199, 38, .5); }
.eyebrow { color: var(--gold); }
.card { border-color: rgba(255, 199, 38, .16); box-shadow: 0 10px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .04); }
.card::before, .card::after { border-color: var(--gold); }
.card::before { box-shadow: -2px -2px 12px rgba(255, 199, 38, .25); }
.btn.primary { background: linear-gradient(135deg, #ffd96a 0%, var(--gold) 45%, var(--gold-2) 100%); border-color: var(--gold); color: #1a1200; }
.btn.primary:hover { box-shadow: 0 0 22px rgba(255, 199, 38, .5); }
.btn:hover { border-color: var(--gold); box-shadow: 0 0 14px rgba(255, 199, 38, .2); }
.stat b { background: linear-gradient(180deg, #fff, #ffe39a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat { border-color: rgba(255, 199, 38, .18); }
.lb .fill { background: linear-gradient(90deg, var(--tl-red), var(--gold)); }
.line { border-left-color: var(--gold); }
.subs .now { text-shadow: 0 0 30px rgba(255, 199, 38, .3); }
.code { color: var(--gold); text-shadow: 0 0 24px rgba(255, 199, 38, .5); }
.clock { color: var(--gold); }
.orb i:nth-child(3) { background: radial-gradient(circle, rgba(255, 199, 38, .75), rgba(255, 199, 38, .05) 70%); }
.orb i:nth-child(1) { border-color: var(--tl-red); } .orb i:nth-child(2) { border-color: var(--gold); }
.chip:has(input:checked), .chip.active { border-color: var(--gold); color: var(--gold); }
:focus-visible { outline-color: var(--gold); }
.login { position: relative; overflow: hidden; border-color: rgba(255, 199, 38, .35); }
.ribbon { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, #000 0 18%, var(--gold) 18% 30%, var(--tl-red) 30% 100%); }
.nation { margin: -4px 0 4px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; }
footer { border-top-color: rgba(255, 199, 38, .25); }
.footflag .tlflag { width: 20px; height: 10px; }
/* monitoring */
.monrow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .monrow { grid-template-columns: 1fr; } }
.monerr { display: grid; gap: 6px; font-size: 13px; max-height: 180px; overflow: auto; }
.monerr div { border-left: 2px solid var(--bad); padding: 4px 8px; background: rgba(255, 107, 107, .06); }
.monerr time { font-family: var(--font-mono); color: var(--muted); font-size: 11.5px; margin-right: 6px; }
.err { color: var(--bad); }

/* pilihan bahasa tampilan */
select.langsel { width: auto !important; flex: none; max-width: 150px; padding: 6px 28px 6px 10px; font-size: 13px; border-color: rgba(255, 199, 38, .45); background-color: rgba(5, 10, 36, .7); color: var(--gold); cursor: pointer; }
.loginlang { position: absolute; top: 14px; right: 14px; }
.peserta-mode .langsel { display: inline-block; }
.status-row .btn { padding: 7px 12px; font-size: 13px; }
.top .brand { min-width: 0; }
@media (min-width: 1200px) { .status-row { flex-wrap: nowrap; } .status-row > * { flex: none; } }
@media (max-width: 760px) { .top { flex-wrap: wrap; } .top .brand { flex: 1 1 200px; } .status-row { width: 100%; justify-content: flex-start; } }
/* v1.2.1: kotak percakapan tanpa scroll ke samping, peringatan AI tidak mendorong kepala halaman */
.convo { overflow-x: hidden; scrollbar-width: thin; scrollbar-color: rgba(255, 199, 38, .35) transparent; }
#aiAlert { min-width: 0; max-width: 260px; flex: 0 1 auto !important; }
#aiAlert #aiAlertText { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; max-width: 220px; vertical-align: bottom; }
.status-row { min-width: 0; }
.top .brand p { white-space: normal; }
