/* JARGOLA online odalar (online.js). Web ve mobil ortak; renkler sayfanin --bg/--ink/--acc degiskenlerinden. */
body.onl-open { overflow: hidden; }
.onl { position: fixed; inset: var(--bar-h, 0px) 0 0 0; z-index: 60; background: var(--bg, #0E1524); color: var(--ink, #F4F1E8); overflow-y: auto;
  background-image: radial-gradient(ellipse at 50% -10%, #23324F 0%, var(--bg, #0E1524) 60%); }
.onl-in { max-width: 560px; margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px calc(env(safe-area-inset-bottom, 0px) + 24px); }
.onl-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 12px; }
.onl-top b { font-family: var(--display); font-weight: 400; font-size: 17px; letter-spacing: .03em; }
.onl-x { background: var(--bg-2, #16213A); border: 1px solid var(--line, #2B3A5C); color: inherit; border-radius: 999px; width: 36px; height: 36px; font-size: 16px; }
.onl-body section { display: flex; flex-direction: column; gap: 12px; }
.onl-box { background: var(--bg-2, #16213A); border: 1px solid var(--line, #2B3A5C); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.onl-box h3 { margin: 0; font-size: 15px; }
.onl label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-dim, #A9B1BF); font-weight: 600; }
.onl input, .onl select { font: 600 15px var(--body); color: var(--ink, #F4F1E8); background: var(--bg-3, #1F2D4C); border: 1px solid var(--line-2, #33415F);
  border-radius: 12px; padding: 10px 12px; min-width: 0; width: 100%; }
.onl-row { display: flex; gap: 8px; }
.onl-row input { flex: 1; }
.onl-seg { display: flex; background: var(--bg-3, #1F2D4C); border-radius: 12px; padding: 3px; gap: 3px; }
.onl-seg button { flex: 1; border: 0; background: none; color: var(--ink-dim, #A9B1BF); font: 700 14px var(--body); padding: 8px 6px; border-radius: 9px; }
.onl-seg button.on { background: var(--acc, #E2BC5C); color: #14233F; }
.onl-teamopts { display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; align-items: center; font-size: 13px; color: var(--ink-dim, #A9B1BF); font-weight: 600; }
.onl-hint, .onl-dim { color: var(--ink-dim, #A9B1BF); font-size: 13px; margin: 0; }
.onl-c { text-align: center; }
.onl-pad { padding: 24px 0; text-align: center; }
.onl-cta { border: 0; border-radius: 999px; background: var(--acc, #E2BC5C); color: #14233F; font: 800 15px var(--body); padding: 12px 18px; }
.onl-cta:disabled { opacity: .45; cursor: default; }
.onl-cta.sm { padding: 7px 14px; font-size: 13px; }
.onl-cta.ok { background: var(--ok, #3FB27F); color: #fff; }
.onl-cta.stop { background: var(--stop, #D8453F); color: #fff; font-size: 22px; letter-spacing: .06em; padding: 16px; }
.onl-ghost { border: 1px solid var(--line-2, #33415F); background: none; color: var(--ink, #F4F1E8); border-radius: 999px; font: 700 14px var(--body); padding: 10px 16px; }
.onl-ghost.sm { padding: 6px 12px; font-size: 12px; }
.onl-ghost:disabled { opacity: .4; }
.onl-list { display: flex; flex-direction: column; gap: 8px; }
.onl-room { display: flex; align-items: center; gap: 10px; background: var(--bg-3, #1F2D4C); border-radius: 12px; padding: 10px 12px; }
.onl-room div { flex: 1; min-width: 0; }
.onl-room b { display: block; font-family: var(--display); font-weight: 400; letter-spacing: .02em; }
.onl-room small { color: var(--ink-dim, #A9B1BF); font-size: 12px; }
.onl-n { font-weight: 800; color: var(--acc, #E2BC5C); }
.onl-code { text-align: center; background: var(--bg-2, #16213A); border: 1px dashed var(--acc, #E2BC5C); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.onl-code small { color: var(--ink-dim, #A9B1BF); }
.onl-code b { font-family: var(--display); font-weight: 400; font-size: 34px; letter-spacing: .18em; color: var(--acc, #E2BC5C); }
.onl-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.onl-team { background: var(--bg-2, #16213A); border-radius: 14px; padding: 12px; border-top: 4px solid; display: flex; flex-direction: column; gap: 8px; }
.onl-team.t0, .onl-score .t0, .onl .t0 { border-color: #3B82F6; }
.onl-team.t1, .onl-score .t1, .onl .t1 { border-color: #F97316; }
.onl-team h4 { margin: 0; font-size: 14px; display: flex; justify-content: space-between; }
.onl-team ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.onl-team li.off { color: var(--ink-dim, #A9B1BF); }
.onl-team i, .onl-team li i { font-style: normal; color: var(--ink-dim, #A9B1BF); font-weight: 500; font-size: 12px; }
.onl-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; background: var(--bg-2, #16213A); border-radius: 16px; padding: 10px 14px; font-weight: 700; font-size: 14px; }
.onl-score .t0 { color: #7FB0FF; } .onl-score .t1 { color: #FFB27A; text-align: right; }
.onl-score span b { font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--ink, #F4F1E8); }
.onl-timer { text-align: center; } .onl-timer b { font-family: var(--display); font-weight: 400; font-size: 28px; color: var(--acc, #E2BC5C); } .onl-timer small { color: var(--ink-dim, #A9B1BF); margin-left: 2px; }
.onl-gap { text-align: center; background: var(--bg-2, #16213A); border-radius: 16px; padding: 22px 14px; display: flex; flex-direction: column; gap: 6px; }
.onl-gap > b { font-family: var(--display); font-weight: 400; font-size: 26px; }
.onl-gap b.t0 { color: #7FB0FF; } .onl-gap b.t1 { color: #FFB27A; }
.onl-gap p { margin: 6px 0 0; font-weight: 700; }
.onl-gap .onl-feed { max-height: none; background: none; }
.onl-card { width: min(230px, 60vw, 30vh); margin: 0 auto; }
.onl-who { text-align: center; font-weight: 700; margin: 0; }
.onl-btns { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.onl-feed { list-style: none; margin: 0; padding: 8px 10px; background: var(--bg-2, #16213A); border-radius: 14px; max-height: 240px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.onl-feed:empty { display: none; }
.onl-feed li { line-height: 1.35; }
.onl-feed .k-sys, .onl-feed .k-time, .onl-feed .k-pass { color: var(--ink-dim, #A9B1BF); font-size: 13px; }
.onl-feed .k-ok { color: #6EE7A8; font-weight: 700; }
.onl-feed .k-tabu, .onl-feed .k-bad { color: #FF8A84; font-weight: 700; }
.onl-feed .k-clue { color: var(--acc, #E2BC5C); }
.onl-feed .k-end { color: var(--acc, #E2BC5C); font-weight: 800; }
.onl-race { background: var(--bg-2, #16213A); border-radius: 16px; padding: 16px; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.onl-race > small { color: var(--ink-dim, #A9B1BF); font-weight: 600; }
.onl-pattern { font-family: ui-monospace, Consolas, monospace; font-size: 26px; letter-spacing: .28em; color: var(--acc, #E2BC5C); word-break: break-word; }
.onl-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.onl-chips li { background: var(--bg-3, #1F2D4C); border-radius: 999px; padding: 6px 12px; font-weight: 700; }
.onl-trhint { margin: 0; font-size: 13px; color: var(--ink-dim, #A9B1BF); } .onl-trhint b { color: var(--ink, #F4F1E8); }
.onl-end h2 { text-align: center; margin: 6px 0; font-family: var(--display); font-weight: 400; color: var(--acc, #E2BC5C); }
.onl-end h4 { margin: 6px 0 0; }
.onl-hist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.onl-hist li { display: grid; grid-template-columns: 22px auto 1fr; gap: 8px; align-items: baseline; background: var(--bg-2, #16213A); border-radius: 10px; padding: 7px 10px; font-size: 14px; }
.onl-hist b { cursor: pointer; } .onl-hist span { color: var(--ink-dim, #A9B1BF); }
.onl-hist .r-ok i { color: #6EE7A8; } .onl-hist .r-tabu i { color: #FF8A84; } .onl-hist i { font-style: normal; color: var(--ink-dim, #A9B1BF); }
.onl-voice { margin-top: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--ink-dim, #A9B1BF); }
.onl-toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); transform: translateX(-50%); background: #F4F1E8; color: #14233F;
  font-weight: 700; padding: 10px 16px; border-radius: 999px; z-index: 61; max-width: 90vw; text-align: center; }
@media (max-width: 400px) { .onl-teams { grid-template-columns: 1fr; } }
.onl-quit { display: block; margin: 14px auto 0; }
