/* Built from assets/css-src/board.css by tools/build-css.js. Edit the source, then rebuild. */
/* Game Adda — turn-based board games (Ludo, Saanp Seedhi). */
html:not(#ncrk) .ncrb-setup .ncrb-opt { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 8px; font-weight: 600; color: var(--ink); cursor: pointer; }
html:not(#ncrk) .ncrb-setup .ncrb-opt input { width: 22px; height: 22px; accent-color: var(--forest); }

html:not(#ncrk) .ncrb { display: flex; flex-direction: column; gap: 12px; }
html:not(#ncrk) .ncrb-top { display: flex; align-items: center; gap: 10px; }
html:not(#ncrk) .ncrb-turn { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border-radius: 14px; background: color-mix(in srgb, var(--seat, #1B3A2D) 14%, #fff); border: 2px solid var(--seat, #1B3A2D); }
html:not(#ncrk) .ncrb-turn__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--seat, #1B3A2D); flex-shrink: 0; }
html:not(#ncrk) .ncrb-turn__text { font-weight: 800; font-size: 18px; color: var(--ink); }
html:not(#ncrk) .ncrb-exit { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: #fff; font-size: 18px; cursor: pointer; }

html:not(#ncrk) .ncrb-board { position: relative; width: 100%; max-width: 640px; margin: 0 auto; aspect-ratio: 1; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.12); background: #fff; }
html:not(#ncrk) .ncrb-canvas { display: block; width: 100%; height: 100%; cursor: pointer; touch-action: manipulation; }
html:not(#ncrk) .ncrb-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(16,36,27,.55); padding: 16px; overflow: hidden; }
html:not(#ncrk) .ncrb-overlay[hidden] { display: none; }
html:not(#ncrk) .ncrb-card { position: relative; z-index: 2; width: min(100%, 420px); background: #fff; border-radius: 20px; padding: 22px 20px; text-align: center; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
html:not(#ncrk) .ncrb-card__title { font-size: 34px; font-weight: 800; margin: 4px 0 8px; }
html:not(#ncrk) .ncrb-card__list { text-align: left; margin: 0 auto 16px !important; padding-left: 26px !important; max-width: 320px; line-height: 1.8; color: #3b3a36; }

html:not(#ncrk) .ncrb-bottom { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "players die" "msg msg"; gap: 10px 14px; align-items: center; max-width: 640px; width: 100%; margin: 0 auto; }
html:not(#ncrk) .ncrb-players { grid-area: players; display: flex; flex-wrap: wrap; gap: 6px; }
html:not(#ncrk) .ncrb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 2px solid transparent; background: var(--off); font-size: 14px; font-weight: 600; }
html:not(#ncrk) .ncrb-chip.is-turn { border-color: var(--seat); background: color-mix(in srgb, var(--seat) 12%, #fff); }
html:not(#ncrk) .ncrb-chip__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--seat); }
html:not(#ncrk) .ncrb-chip__extra { color: var(--muted); font-weight: 500; }
html:not(#ncrk) .ncrb-die { grid-area: die; width: 92px; height: 92px; padding: 6px; border-radius: 22px; border: 3px solid var(--seat, #1B3A2D); background: #fff; cursor: pointer; box-shadow: 0 5px 0 color-mix(in srgb, var(--seat, #1B3A2D) 60%, #000); transition: transform .1s; }
html:not(#ncrk) .ncrb-die:disabled { cursor: default; opacity: .75; box-shadow: none; }
html:not(#ncrk) .ncrb-die.is-ready { animation: ncrb-nudge 1.4s ease-in-out infinite; }
html:not(#ncrk) .ncrb-die.is-rolling { animation: ncrb-roll .14s linear infinite; }
html:not(#ncrk) .ncrb-die:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 1px 0 color-mix(in srgb, var(--seat, #1B3A2D) 60%, #000); }
html:not(#ncrk) .ncrb-die__face { width: 100%; height: 100%; display: block; }
html:not(#ncrk) .ncrb-msg { grid-area: msg; min-height: 1.5em; font-size: 16px; font-weight: 600; color: var(--forest); text-align: center; }
@keyframes ncrb-nudge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes ncrb-roll { 0% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } 100% { transform: rotate(-8deg); } }
@media (max-width: 520px) {
  html:not(#ncrk) .ncrb-die { width: 76px; height: 76px; }
  html:not(#ncrk) .ncrb-turn__text { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { html:not(#ncrk) .ncrb-die.is-ready, html:not(#ncrk) .ncrb-die.is-rolling { animation: none; } }

/* Continue a saved game */
html:not(#ncrk) .ncrb-resume { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 420px; margin: 0 auto 18px; padding: 14px 16px; border-radius: 18px; background: #EEF5F0; border: 2px solid var(--forest); }
html:not(#ncrk) .ncrb-resume__text { display: flex; flex-direction: column; gap: 2px; }
html:not(#ncrk) .ncrb-resume__text strong { font-size: 18px; color: var(--forest); }
html:not(#ncrk) .ncrb-resume__text span { font-size: 13px; color: var(--muted); }
html:not(#ncrk) .ncrb-resume__drop { border: 0; background: none; color: var(--muted); font: 600 13px 'Outfit', sans-serif; text-decoration: underline; cursor: pointer; padding: 4px; }

/* Match stats on the finish card */
html:not(#ncrk) .ncrb-stats { margin: 0 auto 14px; border-collapse: collapse; font-size: 14px; }
html:not(#ncrk) .ncrb-stats th { font-weight: 700; color: var(--muted); padding: 4px 8px; font-size: 12.5px; }
html:not(#ncrk) .ncrb-stats td { padding: 4px 10px; text-align: center; font-weight: 700; border-top: 1px solid #EEE7DA; }
html:not(#ncrk) .ncrb-stats td:first-child { text-align: left; }
html:not(#ncrk) .ncrb-stats td.is-top { color: #C2410C; }
html:not(#ncrk) .ncrb-stats td.is-top::after { content: ' ★'; }

/* Chess */
html:not(#ncrk) .ncrc { display: flex; flex-direction: column; gap: 6px; max-width: 640px; margin: 0 auto; position: relative; }
html:not(#ncrk) .ncrc-top { display: flex; align-items: center; gap: 8px; }
html:not(#ncrk) .ncrc-top .ncrb-exit { flex-shrink: 0; }
html:not(#ncrk) .ncrc-player { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 10px; border-radius: 12px; background: #fff; border: 2px solid var(--rule); transition: border-color .2s, background .2s; }
html:not(#ncrk) .ncrc-player.is-turn { border-color: var(--saffron); background: #FFF6EC; }
html:not(#ncrk) .ncrc-player__av { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 9px; font-size: 22px; line-height: 1; font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', 'DejaVu Sans', system-ui, sans-serif; }
html:not(#ncrk) .ncrc-player__av.is-w { background: #EADBC1; color: #FFF8EC; text-shadow: 0 0 1px #2B1B12, 1px 1px 0 #2B1B12, -1px -1px 0 #2B1B12, 1px -1px 0 #2B1B12, -1px 1px 0 #2B1B12; }
html:not(#ncrk) .ncrc-player__av.is-b { background: #2B1B12; color: #FFF8EC; }
html:not(#ncrk) .ncrc-player__info { min-width: 0; display: flex; flex-direction: column; }
html:not(#ncrk) .ncrc-player__name { font: 700 14px/1.2 'Outfit', sans-serif; color: var(--forest); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html:not(#ncrk) .ncrc-player__caps { min-height: 16px; font-size: 15px; line-height: 1.1; letter-spacing: -1px; color: #5D3A1A; white-space: nowrap; overflow: hidden; font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', 'DejaVu Sans', system-ui, sans-serif; }
html:not(#ncrk) .ncrc-boardwrap { position: relative; }
html:not(#ncrk) .ncrc-toast { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.9); z-index: 3; margin: 0 !important; max-width: 86%; padding: 9px 16px !important; border-radius: 14px; background: rgba(15,30,22,.9); color: #fff; font: 700 15px/1.35 'Outfit', sans-serif; text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
html:not(#ncrk) .ncrc-toast.is-show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
html:not(#ncrk) .ncrc-toast.is-check { background: rgba(170,30,30,.94); }
html:not(#ncrk) .ncrc-player--me { flex: 0 0 auto; }
html:not(#ncrk) .ncrc-moves { box-sizing: border-box; text-align: center; overflow-x: auto; white-space: nowrap; scrollbar-width: none; padding: 4px 2px; font: 600 13.5px 'Outfit', sans-serif; color: var(--muted); word-spacing: 1px; }
html:not(#ncrk) .ncrc-moves::-webkit-scrollbar { display: none; }
html:not(#ncrk) .ncrc-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
html:not(#ncrk) .ncrc-act { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 56px; border-radius: 14px; border: 2px solid var(--rule); background: #fff; color: var(--forest); cursor: pointer; padding: 4px; }
html:not(#ncrk) .ncrc-act[hidden] { display: none; }
html:not(#ncrk) .ncrc-act:disabled { opacity: .4; cursor: default; }
html:not(#ncrk) .ncrc-act__icon { font-size: 20px; line-height: 1.1; }
html:not(#ncrk) .ncrc-act__label { font: 700 12px 'Outfit', sans-serif; }
html:not(#ncrk) .ncrc-board { display: grid; grid-template-columns: repeat(8, 1fr); width: 100%; aspect-ratio: 1; border: 8px solid #5D3A1A; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
html:not(#ncrk) .ncrc-sq { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border: 0; padding: 0; margin: 0; background: #F3E3C3; cursor: pointer; min-width: 0; }
html:not(#ncrk) .ncrc-sq.is-dark { background: #B07A4F; }
html:not(#ncrk) .ncrc-sq.is-last { background: #E9D57A; }
html:not(#ncrk) .ncrc-sq.is-dark.is-last { background: #C9A93D; }
html:not(#ncrk) .ncrc-sq.is-sel { background: #F2B544; }
html:not(#ncrk) .ncrc-sq.is-check { background: radial-gradient(circle, #FF5252 0%, #D32F2F 55%, transparent 80%), #B07A4F; }
html:not(#ncrk) .ncrc-sq.is-dot::after { content: ''; width: 28%; height: 28%; border-radius: 50%; background: rgba(27,58,45,.45); }
html:not(#ncrk) .ncrc-sq.is-cap::before { content: ''; position: absolute; inset: 4%; border-radius: 50%; border: 5px solid rgba(27,58,45,.5); }
html:not(#ncrk) .ncrc-pc { position: relative; z-index: 1; font-size: min(9vw, 56px); line-height: 1; font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', 'DejaVu Sans', system-ui, sans-serif; user-select: none; pointer-events: none; will-change: transform; }
html:not(#ncrk) .ncrc-pc.is-drag { z-index: 20; filter: drop-shadow(0 8px 8px rgba(0,0,0,.35)); }
html:not(#ncrk) .ncrc-pc.is-moving { z-index: 15; }
html:not(#ncrk) .ncrc-board { touch-action: none; }
html:not(#ncrk) .ncrc-sq.is-hover { box-shadow: inset 0 0 0 4px rgba(242,181,68,.95); }
html:not(#ncrk) .ncrc-sq.is-hint { box-shadow: inset 0 0 0 4px #2E9E5B; animation: ncrc-hint 1s ease-in-out infinite alternate; }
@keyframes ncrc-hint { to { box-shadow: inset 0 0 0 4px rgba(46,158,91,.35); } }
html:not(#ncrk) .ncrc-board { overflow: visible !important; }
html:not(#ncrk) .ncrc-pc.is-w { color: #FFF8EC; text-shadow: 0 0 1px #2B1B12, 0 0 1px #2B1B12, 1px 1px 0 #2B1B12, -1px -1px 0 #2B1B12, 1px -1px 0 #2B1B12, -1px 1px 0 #2B1B12, 0 3px 3px rgba(0,0,0,.35); }
html:not(#ncrk) .ncrc-pc.is-b { color: #23160E; text-shadow: 0 1px 0 rgba(255,255,255,.35), 0 3px 3px rgba(0,0,0,.35); }
html:not(#ncrk) .ncrc-rank, html:not(#ncrk) .ncrc-file { position: absolute; font-size: 10px; font-weight: 800; color: rgba(43,27,18,.55); pointer-events: none; }
html:not(#ncrk) .ncrc-rank { top: 2px; left: 3px; }
html:not(#ncrk) .ncrc-file { bottom: 1px; right: 3px; }
html:not(#ncrk) .ncrc-promo { display: flex; justify-content: center; gap: 10px; margin-bottom: 6px; }
html:not(#ncrk) .ncrc-promo__btn { width: 64px; height: 64px; border-radius: 14px; border: 2px solid var(--rule); background: #F3E3C3; font-size: 40px; cursor: pointer; font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', 'DejaVu Sans', system-ui, sans-serif; }
html:not(#ncrk) .ncrc-setup .ncrp-levels { margin-top: 10px; }

/* ── Snooker ── */
html:not(#ncrk) .ncrs { position: relative; display: flex; flex-direction: column; gap: 6px; height: min(88vh, 940px); max-width: 980px; margin: 0 auto; outline: none; }
html:not(#ncrk) .ncrs-hud { display: flex; align-items: stretch; gap: 6px; min-height: 48px; }
html:not(#ncrk) .ncrs-hud .ncrb-exit { flex-shrink: 0; align-self: center; }
html:not(#ncrk) .ncrs-p { flex: 0 1 30%; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 3px 10px; border-radius: 12px; background: #fff; border: 2px solid var(--rule, #E5E0D5); transition: border-color .2s, box-shadow .2s, background .2s; }
html:not(#ncrk) .ncrs-p.is-turn { border-color: var(--saffron, #E07B2A); background: #FFF6EC; box-shadow: 0 0 0 3px rgba(224,123,42,.2); }
html:not(#ncrk) .ncrs-p__name { font: 700 12px/1.1 'Outfit', sans-serif; color: var(--muted, #6B6860); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html:not(#ncrk) .ncrs-p__score { font: 800 22px/1.1 'Outfit', sans-serif; color: var(--forest, #1B3A2D); font-variant-numeric: tabular-nums; }
html:not(#ncrk) .ncrs-p--1 { text-align: right; }
html:not(#ncrk) .ncrs-mid { flex: 1 1 40%; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 6px; border-radius: 12px; background: var(--forest, #1B3A2D); color: #fff; font: 700 13px/1.2 'Outfit', sans-serif; text-align: center; }
html:not(#ncrk) .ncrs-mid__text { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
html:not(#ncrk) .ncrs-mid__ball { width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%; background: #C8102E; box-shadow: inset -2px -3px 0 rgba(0,0,0,.25); }
html:not(#ncrk) .ncrs-mid__ball.is-colour { background: conic-gradient(#F4C430 0 16%, #1E9450 0 33%, #7B4A26 0 50%, #1F5FBF 0 66%, #F48FB1 0 83%, #151515 0); }
html:not(#ncrk) .ncrs-mid__ball.is-yellow { background: #F4C430; } html:not(#ncrk) .ncrs-mid__ball.is-green { background: #1E9450; } html:not(#ncrk) .ncrs-mid__ball.is-brown { background: #7B4A26; }
html:not(#ncrk) .ncrs-mid__ball.is-blue { background: #1F5FBF; } html:not(#ncrk) .ncrs-mid__ball.is-pink { background: #F48FB1; } html:not(#ncrk) .ncrs-mid__ball.is-black { background: #151515; border: 1px solid #555; }
html:not(#ncrk) .ncrs-undo { flex-shrink: 0; width: 46px; border-radius: 12px; border: 2px solid var(--rule, #E5E0D5); background: #fff; color: var(--forest, #1B3A2D); font-size: 22px; cursor: pointer; }
html:not(#ncrk) .ncrs-undo:disabled { opacity: .4; }
html:not(#ncrk) .ncrs-table { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
html:not(#ncrk) .ncrs-canvas { display: block; touch-action: none; border-radius: 16px; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
html:not(#ncrk) .ncrs-toast { position: absolute; left: 50%; top: 8px; transform: translate(-50%, -8px); margin: 0 !important; max-width: 92%; padding: 7px 16px !important; border-radius: 999px; z-index: 3; background: rgba(15,30,22,.88); color: #fff; font: 700 14px/1.3 'Outfit', sans-serif; text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; white-space: normal; }
html:not(#ncrk) .ncrs-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
html:not(#ncrk) .ncrs-toast.is-foul { background: rgba(160,28,28,.94); }
html:not(#ncrk) .ncrs-toast.is-good { background: rgba(20,110,50,.94); font-size: 17px; }
html:not(#ncrk) .ncrs-toast.is-big { background: linear-gradient(135deg, #E8A33D, #C2410C); font-size: 18px; }
html:not(#ncrk) .ncrs-ctrl { display: flex; align-items: stretch; gap: 8px; height: 58px; flex-shrink: 0; width: 100%; max-width: 620px; margin: 0 auto; transition: opacity .2s; }
html:not(#ncrk) .ncrs-ctrl.is-wait { opacity: .5; pointer-events: none; }
html:not(#ncrk) .ncrs-spin { flex-shrink: 0; width: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 14px; border: 2px solid var(--rule, #E5E0D5); background: #fff; cursor: pointer; padding: 0; }
html:not(#ncrk) .ncrs-spin__ball { position: relative; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #E9E6DA 60%, #BDB8A8); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
html:not(#ncrk) .ncrs-spin__dot { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #D32F2F; transition: transform .15s; }
html:not(#ncrk) .ncrs-spin.is-top .ncrs-spin__dot { transform: translateY(-8px); }
html:not(#ncrk) .ncrs-spin.is-back .ncrs-spin__dot { transform: translateY(8px); }
html:not(#ncrk) .ncrs-spin.is-top, html:not(#ncrk) .ncrs-spin.is-back { border-color: var(--saffron, #E07B2A); }
html:not(#ncrk) .ncrs-spin__label { font: 700 11px 'Outfit', sans-serif; color: var(--forest, #1B3A2D); }
html:not(#ncrk) .ncrs-pull { position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: 14px; background: #1B3A2D; touch-action: none; cursor: grab; outline-offset: 2px; }
html:not(#ncrk) .ncrs-pull__fill { position: absolute; right: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(270deg, #2E9E5B, #E8A33D 60%, #D9480F); opacity: .9; }
html:not(#ncrk) .ncrs-pull__mark { position: absolute; top: 6px; bottom: 6px; width: 2px; margin-left: -1px; background: rgba(255,255,255,.5); border-radius: 2px; }
html:not(#ncrk) .ncrs-pull__cue { position: absolute; left: 0; right: 0; top: 50%; height: 10px; margin-top: -5px; background: linear-gradient(90deg, #3A220E 0, #B5813F 45%, #E8CB94 92%, #2B6CB0 96%, #F3E7C9 100%); border-radius: 6px; opacity: .55; }
html:not(#ncrk) .ncrs-pull__text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font: 800 15px 'Outfit', sans-serif; text-shadow: 0 1px 3px rgba(0,0,0,.6); pointer-events: none; }
html:not(#ncrk) .ncrs-pull.is-pulling { cursor: grabbing; }
html:not(#ncrk) .ncrs .ncrb-overlay { position: absolute; inset: 0; }
@media (max-width: 380px) { html:not(#ncrk) .ncrs-p__score { font-size: 19px; } html:not(#ncrk) .ncrs-mid { font-size: 12px; } }

/* ── Gully Cricket ── */
html:not(#ncrk) .ncrg-modes { display: grid; gap: 10px; margin: 6px 0 12px; text-align: left; }
html:not(#ncrk) .ncrg-mode { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 76px; padding: 12px 14px; border-radius: 18px; border: 2px solid var(--rule); background: #fff; cursor: pointer; text-align: left; box-shadow: 0 2px 10px rgba(27,58,45,.07); font-family: 'Outfit', sans-serif; color: var(--ink); }
html:not(#ncrk) .ncrg-mode.is-main { border-color: var(--saffron); background: linear-gradient(135deg, #FFF6EC, #fff); }
html:not(#ncrk) .ncrg-mode__icon { font-size: 34px; flex-shrink: 0; }
html:not(#ncrk) .ncrg-mode__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html:not(#ncrk) .ncrg-mode__text strong { font-size: 19px; color: var(--forest); }
html:not(#ncrk) .ncrg-mode__text span { font-size: 13.5px; color: var(--muted); }
html:not(#ncrk) .ncrg-mode__go { font-size: 30px; color: var(--saffron); font-weight: 800; }
html:not(#ncrk) .ncrg-help { display: inline-flex; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--rule); background: #fff; font: 700 14px 'Outfit', sans-serif; color: var(--muted); cursor: pointer; }
html:not(#ncrk) .ncrg-help.is-on { border-color: var(--forest); color: var(--forest); }
html:not(#ncrk) .ncrg-levels { max-width: 560px; margin: 0 auto; }
html:not(#ncrk) .ncrg-levels__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
html:not(#ncrk) .ncrg-back { padding: 8px 14px; border-radius: 999px; border: 2px solid var(--rule); background: #fff; font: 700 15px 'Outfit', sans-serif; color: var(--forest); cursor: pointer; }
html:not(#ncrk) .ncrg-levels__stars { font: 800 16px 'Outfit', sans-serif; color: var(--forest); }
html:not(#ncrk) .ncrg-chapter { margin: 0 0 14px; padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 2px 10px rgba(27,58,45,.07); }
html:not(#ncrk) .ncrg-chapter--0 { border-top: 5px solid #E0A23B; } html:not(#ncrk) .ncrg-chapter--1 { border-top: 5px solid #2E9E5B; } html:not(#ncrk) .ncrg-chapter--2 { border-top: 5px solid #1D4ED8; }
html:not(#ncrk) .ncrg-chapter__title { margin: 0 0 10px !important; font: 800 18px 'Outfit', sans-serif; color: var(--forest); }
html:not(#ncrk) .ncrg-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
html:not(#ncrk) .ncrg-lv { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; aspect-ratio: 1; min-width: 0; border-radius: 14px; border: 2px solid #E7DECD; background: #FBF7EF; cursor: pointer; font-family: 'Outfit', sans-serif; padding: 2px; }
html:not(#ncrk) .ncrg-lv.is-next { border-color: var(--saffron); background: #FFF1DF; box-shadow: 0 0 0 3px rgba(224,123,42,.2); }
html:not(#ncrk) .ncrg-lv.is-locked { opacity: .5; cursor: default; }
html:not(#ncrk) .ncrg-lv__n { font-size: 19px; font-weight: 800; color: var(--forest); line-height: 1.1; }
html:not(#ncrk) .ncrg-lv__need { font-size: 10px; color: var(--muted); white-space: nowrap; }
html:not(#ncrk) .ncrg-lv__stars { font-size: 12px; color: #E0A23B; letter-spacing: 1px; }
html:not(#ncrk) .ncrg-brief { max-width: 480px; }
html:not(#ncrk) .ncrg-brief__lv { margin: 6px 0 0 !important; font: 700 13px 'Outfit', sans-serif; color: var(--saffron); text-transform: uppercase; letter-spacing: .08em; }
html:not(#ncrk) .ncrg-brief__title { margin: 2px 0 2px !important; font: 800 28px 'Outfit', sans-serif; color: var(--forest); }
html:not(#ncrk) .ncrg-brief__venue { margin: 0 0 12px !important; color: var(--muted); font-weight: 600; }
html:not(#ncrk) .ncrg-brief__need { display: flex; flex-direction: column; align-items: center; padding: 14px; border-radius: 18px; background: var(--forest); color: #fff; margin-bottom: 12px; }
html:not(#ncrk) .ncrg-brief__need strong { font: 800 46px/1 'Outfit', sans-serif; }
html:not(#ncrk) .ncrg-brief__need span { font-size: 15px; opacity: .9; margin-top: 4px; }
html:not(#ncrk) .ncrg-brief__facts { list-style: none; margin: 0 0 6px !important; padding: 10px 12px !important; border-radius: 16px; background: #fff; text-align: left; box-shadow: 0 2px 10px rgba(27,58,45,.07); }
html:not(#ncrk) .ncrg-brief__facts li { display: flex; gap: 10px; padding: 5px 0; font-size: 14.5px; color: var(--ink); }
html:not(#ncrk) .ncrg-brief__btns { display: flex; justify-content: center; margin-top: 6px; }
/* playing */
html:not(#ncrk) .ncrg { position: relative; display: flex; flex-direction: column; gap: 6px; height: min(88vh, 940px); max-width: 760px; margin: 0 auto; outline: none; }
html:not(#ncrk) .ncrg-hud { display: flex; align-items: stretch; gap: 8px; min-height: 48px; }
html:not(#ncrk) .ncrg-hud .ncrb-exit { align-self: center; flex-shrink: 0; }
html:not(#ncrk) .ncrg-score { display: flex; flex-direction: column; justify-content: center; padding: 2px 14px; border-radius: 12px; background: var(--forest); color: #fff; }
html:not(#ncrk) .ncrg-score__runs { font: 800 24px/1.05 'Outfit', sans-serif; font-variant-numeric: tabular-nums; }
html:not(#ncrk) .ncrg-score__ov { font: 600 12px 'Outfit', sans-serif; opacity: .8; }
html:not(#ncrk) .ncrg-need { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 2px 12px; border-radius: 12px; background: #fff; border: 2px solid var(--rule); }
html:not(#ncrk) .ncrg-need strong { font: 800 20px/1.1 'Outfit', sans-serif; color: var(--forest); }
html:not(#ncrk) .ncrg-need span { font: 600 12.5px 'Outfit', sans-serif; color: var(--muted); }
html:not(#ncrk) .ncrg-need.is-hot { border-color: #D9480F; background: #FFF1EA; }
html:not(#ncrk) .ncrg-need.is-hot strong { color: #C2410C; }
html:not(#ncrk) .ncrg-recent { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; min-height: 24px; }
html:not(#ncrk) .ncrg-ball { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px dashed #CFC6B5; font: 800 11.5px 'Outfit', sans-serif; color: var(--forest); }
html:not(#ncrk) .ncrg-ball.is-0 { border: 0; background: #E9E3D7; color: #7A7466; }
html:not(#ncrk) .ncrg-ball.is-run { border: 0; background: #DDEFE3; }
html:not(#ncrk) .ncrg-ball.is-4 { border: 0; background: #E07B2A; color: #fff; }
html:not(#ncrk) .ncrg-ball.is-6 { border: 0; background: #7C3AED; color: #fff; }
html:not(#ncrk) .ncrg-ball.is-w { border: 0; background: #C62828; color: #fff; }
html:not(#ncrk) .ncrg-ballgap { width: 6px; }
html:not(#ncrk) .ncrg-field { position: relative; flex: 1; min-height: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.18); background: #2F7A3A; }
html:not(#ncrk) .ncrg-canvas { display: block; touch-action: none; }
html:not(#ncrk) .ncrg-banner { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%) scale(.7); display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 88%; padding: 12px 22px; border-radius: 20px; background: rgba(15,30,22,.88); color: #fff; text-align: center; opacity: 0; pointer-events: none; transition: opacity .18s, transform .25s cubic-bezier(.2,1.4,.4,1); }
html:not(#ncrk) .ncrg-banner.is-show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
html:not(#ncrk) .ncrg-banner strong { font: 900 34px/1 'Outfit', sans-serif; letter-spacing: .02em; }
html:not(#ncrk) .ncrg-banner span { font: 600 14px/1.3 'Outfit', sans-serif; opacity: .92; }
html:not(#ncrk) .ncrg-banner.is-four { background: linear-gradient(135deg, #F59E0B, #C2410C); }
html:not(#ncrk) .ncrg-banner.is-six { background: linear-gradient(135deg, #8B5CF6, #DB2777); }
html:not(#ncrk) .ncrg-banner.is-six strong { font-size: 44px; }
html:not(#ncrk) .ncrg-banner.is-out { background: linear-gradient(135deg, #DC2626, #7F1D1D); }
html:not(#ncrk) .ncrg-note { position: absolute; left: 50%; top: 10px; transform: translate(-50%, -6px); margin: 0 !important; padding: 6px 14px !important; border-radius: 999px; background: rgba(15,30,22,.82); color: #fff; font: 700 13.5px 'Outfit', sans-serif; white-space: nowrap; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }
html:not(#ncrk) .ncrg-note.is-show { opacity: 1; transform: translate(-50%, 0); }
html:not(#ncrk) .ncrg-ctrl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: 78px; flex-shrink: 0; }
html:not(#ncrk) .ncrg-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; border-radius: 18px; border: 0; cursor: pointer; touch-action: none; color: #fff; transition: transform .08s, filter .2s, opacity .2s; font-family: 'Outfit', sans-serif; }
html:not(#ncrk) .ncrg-btn--hit { background: linear-gradient(180deg, #2E9E5B, #1E7A44); box-shadow: 0 5px 0 #155E33; }
html:not(#ncrk) .ncrg-btn--loft { background: linear-gradient(180deg, #F08A3C, #D9480F); box-shadow: 0 5px 0 #9A3412; }
html:not(#ncrk) .ncrg-btn:active { transform: translateY(3px); }
html:not(#ncrk) .ncrg-btn__icon { font-size: 22px; line-height: 1; }
html:not(#ncrk) .ncrg-btn__label { font-size: 20px; font-weight: 900; letter-spacing: .02em; }
html:not(#ncrk) .ncrg-btn__sub { font-size: 11px; font-weight: 600; opacity: .85; }
html:not(#ncrk) .ncrg-ctrl:not(.is-live) .ncrg-btn { filter: saturate(.55); opacity: .75; }
html:not(#ncrk) .ncrg-done__stars { margin: 0 !important; font-size: 34px; color: #E0A23B; letter-spacing: 4px; }

/* ── Carrom ── */
html:not(#ncrk) .ncrr { position: relative; display: flex; flex-direction: column; gap: 6px; height: min(88vh, 940px); max-width: 760px; margin: 0 auto; outline: none; }
html:not(#ncrk) .ncrr-hud { display: flex; align-items: stretch; gap: 6px; min-height: 48px; }
html:not(#ncrk) .ncrr-hud .ncrb-exit { align-self: center; flex-shrink: 0; }
html:not(#ncrk) .ncrr-team { flex: 1 1 30%; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 12px; background: #fff; border: 2px solid var(--rule); transition: border-color .2s, background .2s; }
html:not(#ncrk) .ncrr-team.is-turn { border-color: var(--saffron); background: #FFF6EC; box-shadow: 0 0 0 3px rgba(224,123,42,.2); }
html:not(#ncrk) .ncrr-team__coin, html:not(#ncrk) .ncrr-seat__coin { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; box-shadow: inset 0 0 0 4px rgba(0,0,0,.12), 0 1px 3px rgba(0,0,0,.3); }
html:not(#ncrk) .ncrr-team__coin.is-white, html:not(#ncrk) .ncrr-seat__coin.is-white { background: radial-gradient(circle at 35% 30%, #fff, #E8DCC0); }
html:not(#ncrk) .ncrr-team__coin.is-black, html:not(#ncrk) .ncrr-seat__coin.is-black { background: radial-gradient(circle at 35% 30%, #555, #111); }
html:not(#ncrk) .ncrr-team__info { min-width: 0; display: flex; flex-direction: column; }
html:not(#ncrk) .ncrr-team__name { font: 700 13px/1.2 'Outfit', sans-serif; color: var(--forest); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html:not(#ncrk) .ncrr-team__left { font: 600 12px 'Outfit', sans-serif; color: var(--muted); white-space: nowrap; }
html:not(#ncrk) .ncrr-mid { flex: 1 1 34%; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 2px 8px; border-radius: 12px; background: var(--forest); color: #fff; font: 700 12.5px/1.25 'Outfit', sans-serif; text-align: center; }
html:not(#ncrk) .ncrr-mid.is-hot { background: #B71C1C; }
html:not(#ncrk) .ncrr-table { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
html:not(#ncrk) .ncrr-canvas { display: block; touch-action: none; border-radius: 12px; box-shadow: 0 8px 22px rgba(0,0,0,.28); }
html:not(#ncrk) .ncrr-ctrl .ncrs-pull { flex: 1; }
html:not(#ncrk) .ncrr-pull__finger { background: linear-gradient(90deg, rgba(242,201,160,0) 0, rgba(242,201,160,.4) 70%, #F2C9A0 100%); }
html:not(#ncrk) .ncrr-seats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
html:not(#ncrk) .ncrr-seat { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 6px; border-radius: 14px; border: 2px solid var(--rule); background: #fff; cursor: pointer; font-family: 'Outfit', sans-serif; }
html:not(#ncrk) .ncrr-seat:disabled { cursor: default; border-color: var(--forest); }
html:not(#ncrk) .ncrr-seat.is-cpu { background: #F3F1EC; }
html:not(#ncrk) .ncrr-seat__name { font-weight: 800; font-size: 14px; color: var(--forest); }
html:not(#ncrk) .ncrr-seat__who { font-size: 12.5px; color: var(--muted); }
html:not(#ncrk) .ncrr-trick { margin-bottom: 10px; }

/* Snooker / Carrom: how to shoot */
html:not(#ncrk) .ncrs-how { position: relative; flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: #1B3A2D; }
html:not(#ncrk) .ncrs-how__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, #2E9E5B, #E8A33D 60%, #D9480F); opacity: .9; transition: width .05s; }
html:not(#ncrk) .ncrs-how__text { position: relative; padding: 0 10px; color: #fff; font: 800 14.5px/1.25 'Outfit', sans-serif; text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
html:not(#ncrk) .ncrs-ready { flex-shrink: 0; min-width: 96px; border: 0; border-radius: 14px; background: var(--saffron, #E07B2A); color: #fff; font: 800 17px 'Outfit', sans-serif; cursor: pointer; box-shadow: 0 4px 0 #B5611C; }
html:not(#ncrk) .ncrs-ready[hidden] { display: none; }
html:not(#ncrk) .ncrs-ctrl.is-wait .ncrs-how { opacity: .6; }

html:not(#ncrk) .ncrr-slide { position: relative; flex-shrink: 0; height: 44px; margin: 0 4px; border-radius: 12px; background: #fff; border: 2px solid var(--rule); touch-action: none; cursor: pointer; outline-offset: 2px; }
html:not(#ncrk) .ncrr-slide.is-wait { opacity: .5; pointer-events: none; }
html:not(#ncrk) .ncrr-slide__label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 12.5px 'Outfit', sans-serif; color: var(--muted); pointer-events: none; }
html:not(#ncrk) .ncrr-slide__track { position: absolute; left: 26px; right: 26px; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: #D8CBB5; }
html:not(#ncrk) .ncrr-slide__thumb { position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #D8D2C0); box-shadow: inset 0 0 0 3px #2E7D32, 0 2px 6px rgba(0,0,0,.3); pointer-events: none; transform: translate(-50%, -50%); }
html:not(#ncrk) .ncrr .ncrs-ctrl { height: 48px; }

/* Online play: room lobby */
html:not(#ncrk) .ncro { gap: 12px; }
html:not(#ncrk) .ncro-title { margin: 0 !important; font: 800 22px/1.2 'Outfit', sans-serif; color: var(--forest); text-align: center; }
html:not(#ncrk) .ncro-lead { margin: 0 !important; font: 500 15px/1.45 'Outfit', sans-serif; color: var(--muted); text-align: center; }
html:not(#ncrk) .ncro-name { display: flex; flex-direction: column; gap: 6px; font: 700 14px 'Outfit', sans-serif; color: var(--forest); }
html:not(#ncrk) .ncro-name__input { height: 50px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--forest); background: #fff; color: var(--forest); font: 600 17px 'Outfit', sans-serif; box-sizing: border-box; width: 100%; }
html:not(#ncrk) .ncro-err { margin: 0 !important; padding: 8px 12px; border-radius: 10px; background: #FDECEA; color: #A12A1E; font: 600 14px/1.4 'Outfit', sans-serif; text-align: center; }
html:not(#ncrk) .ncro-err[hidden] { display: none; }
html:not(#ncrk) .ncro-code { display: flex; justify-content: center; gap: 6px; }
html:not(#ncrk) .ncro-code span { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 52px; border-radius: 10px; background: var(--forest); color: #fff; font: 800 26px 'Outfit', sans-serif; }
html:not(#ncrk) .ncro-seats { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 6px; }
html:not(#ncrk) .ncro-seats li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1.5px solid #E2E6E3; font: 700 15.5px 'Outfit', sans-serif; color: var(--forest); }
html:not(#ncrk) .ncro-seats li.is-wait { border-style: dashed; color: var(--muted); font-weight: 600; }
html:not(#ncrk) .ncro-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--forest); flex-shrink: 0; }
html:not(#ncrk) .ncro-seats li.is-wait .ncro-dot { opacity: .35; animation: ncro-pulse 1.4s ease-in-out infinite; }
@keyframes ncro-pulse { 50% { opacity: .9; } }
html:not(#ncrk) .ncro-status { margin: 0 !important; font: 600 14.5px/1.4 'Outfit', sans-serif; color: var(--forest); text-align: center; }
html:not(#ncrk) .ncro-live { display: block; margin: 4px auto 0; font: 700 12.5px 'Outfit', sans-serif; color: #1E7A3B; text-align: center; }
html:not(#ncrk) .ncro-live.is-off { color: #B5651D; }
html:not(#ncrk) .ncrb-or { margin: 4px 0 0 !important; text-align: center; font: 600 13px 'Outfit', sans-serif; color: var(--muted); }

html:not(#ncrk) .ncrk-css-board{position:absolute;z-index:7}
