:root {
  --navy: #030726; --deep: #07114a; --blue: #1d3aa8; --gold: #f7c948; --gold2: #c99400; --orange: #ff9f1c;
  --green: #16a34a; --red: #dc2626; --muted: #b9c3ff;
  --ar: "Traditional Arabic", "Amiri", "Noto Naskh Arabic", "Arabic Typesetting", serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
body { font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif; color: #fff;
  background: radial-gradient(ellipse at 50% 20%, #2340c0 0%, #0c1a6e 40%, #040a35 80%) fixed; }
a { color: var(--gold); }
.ar { font-family: var(--ar); font-size: 1.35em; line-height: 1.2; unicode-bidi: isolate; }
.err { margin: 20vh auto; max-width: 520px; text-align: center; font-size: 20px; background: rgba(0,0,0,.3); padding: 24px; border-radius: 16px; }

/* ---------- tombol ---------- */
.btn-gold, .btn-blue, .btn-green, .btn-red { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 40px; padding: 12px 24px;
  font-size: 17px; font-weight: 800; cursor: pointer; text-decoration: none; transition: transform .1s, filter .2s; font-family: inherit; }
.btn-gold { background: linear-gradient(180deg, #ffe58a, #f7c948 45%, #c99400); color: #241800; box-shadow: 0 4px 0 #8a6500; }
.btn-blue { background: linear-gradient(180deg, #3b5bdb, #1e3a9e); color: #fff; box-shadow: 0 4px 0 #0f1f5c; }
.btn-green { background: linear-gradient(180deg, #4ade80, #16a34a); color: #fff; box-shadow: 0 4px 0 #0f6b30; }
.btn-red { background: linear-gradient(180deg, #f87171, #dc2626); color: #fff; box-shadow: 0 4px 0 #8b1a1a; }
button:disabled { opacity: .5; cursor: default; }
.btn-gold:active, .btn-blue:active, .btn-green:active, .btn-red:active { transform: translateY(3px); }

/* ---------- HUB ---------- */
.hub-wrap { max-width: 1100px; margin: 0 auto; padding: 18px 16px 40px; }
.hub-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hub-head h1 { margin: 0; font-size: clamp(24px, 4vw, 40px); background: linear-gradient(180deg, #fff8d6, var(--gold) 55%, var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hub-head p { margin: 2px 0 0; color: var(--muted); }
.hub-head nav { margin-left: auto; display: flex; gap: 14px; }
.hub-head nav a { text-decoration: none; font-weight: 700; }
.hub-logo { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; color: var(--gold);
  background: radial-gradient(circle at 50% 35%, #3254d8, #0b1a6b); border: 3px solid var(--gold); box-shadow: 0 0 24px rgba(247,201,72,.5); flex: 0 0 auto; }
.hub-card { background: rgba(5,12,60,.7); border: 2px solid rgba(247,201,72,.4); border-radius: 18px; padding: 16px 18px; }
.step { position: relative; margin-bottom: 16px; }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #241800; font-weight: 900; margin-right: 6px; }
section.step > .step-n { position: absolute; left: -10px; top: -10px; z-index: 2; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 12px; }
.hub label { display: block; font-weight: 700; color: var(--muted); font-size: 14px; }
.hub label small { display: block; color: #8fa0ff; font-weight: 400; margin-top: 4px; }
.hub select, .hub input[type=text] { display: block; width: 100%; margin-top: 6px; padding: 12px; border-radius: 12px; border: 1px solid #3a4fb8; background: #0a1450; color: #fff; font-size: 17px; }
.hub input.shake { animation: shake .4s; border-color: var(--red); }
@keyframes shake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.chk { display: flex !important; gap: 8px; align-items: center; margin-top: 10px; font-weight: 400 !important; color: #dfe4ff !important; }
.settings summary { cursor: pointer; font-weight: 800; font-size: 18px; list-style: none; }
.settings summary small { color: var(--muted); font-weight: 400; font-size: 13px; }
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.game { position: relative; text-align: left; border: 0; border-radius: 20px; padding: 18px 16px 16px; color: #fff; cursor: pointer; min-height: 190px;
  display: flex; flex-direction: column; gap: 6px; font-family: inherit; box-shadow: 0 8px 0 rgba(0,0,0,.25), 0 10px 30px rgba(0,0,0,.3); transition: transform .15s; overflow: hidden; }
.game:hover { transform: translateY(-4px) rotate(-.5deg); }
.game:active { transform: translateY(2px); }
.game .gi { font-size: 52px; line-height: 1; filter: drop-shadow(0 4px 4px rgba(0,0,0,.3)); }
.game b { font-size: 20px; }
.game small { font-size: 14px; opacity: .92; line-height: 1.35; }
.gm-juara { background: linear-gradient(150deg, #2546c9, #0b1a6b); border: 3px solid var(--gold); }
.gm-ular { background: linear-gradient(150deg, #22c55e, #15803d); }
.gm-tambang { background: linear-gradient(150deg, #f97316, #c2410c); }
.gm-tts { background: linear-gradient(150deg, #a855f7, #6d28d9); }
.gm-papan { background: linear-gradient(150deg, #0ea5e9, #0369a1); }

/* ---------- BAR ATAS GAME ---------- */
.gbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: rgba(3,8,40,.85); backdrop-filter: blur(6px); border-bottom: 2px solid rgba(247,201,72,.35); }
.gb-home { font-size: 22px; text-decoration: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #13237a; }
.gb-title { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.gb-title b { color: var(--gold); font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gb-title span { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gb-extra { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.gb-btn { background: transparent; border: 1px solid #3a4fb8; color: #fff; border-radius: 10px; width: 40px; height: 38px; font-size: 18px; cursor: pointer; }
.pill { background: #13237a; border: 2px solid rgba(247,201,72,.5); padding: 4px 12px; border-radius: 30px; font-weight: 800; white-space: nowrap; }
.pill.g { color: #6ee7a0; } .pill.r { color: #ff9a9a; } .pill.y { color: var(--gold); }

/* ---------- MODAL SOAL ---------- */
.qov { position: fixed; inset: 0; z-index: 50; background: rgba(1,4,25,.72); display: flex; align-items: center; justify-content: center; padding: 14px; opacity: 0; transition: opacity .25s; }
.qov.show { opacity: 1; }
.q-card { width: min(860px, 100%); max-height: 100%; overflow-y: auto; background: linear-gradient(180deg, #14268a, #07114a); border: 3px solid var(--gold);
  border-radius: 22px; padding: 16px 20px 18px; box-shadow: 0 20px 60px rgba(0,0,0,.6); transform: scale(.85); transition: transform .25s cubic-bezier(.3,1.5,.6,1); }
.qov.show .q-card { transform: scale(1); }
.q-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.q-chip { background: #0a1450; border: 1px solid #3a4fb8; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; color: var(--muted); }
.q-chip.t { color: #9fe7ff; } .q-chip.v { color: #241800; background: var(--gold); border-color: var(--gold); }
.q-time { margin-left: auto; font-weight: 900; font-size: 22px; color: var(--gold); min-width: 40px; text-align: right; }
.q-bar { height: 8px; background: #0a1450; border-radius: 6px; overflow: hidden; margin: 10px 0 4px; }
.q-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #ef4444, #f7c948 40%, #4ade80); border-radius: 6px; }
.q-stim { display: flex; gap: 12px; justify-content: center; align-items: center; margin: 10px 0; flex-wrap: wrap; }
.q-stim img { max-width: 100%; max-height: 32vh; background: #fff; border-radius: 10px; padding: 4px; }
.q-stimtext { background: #fff; color: #111; border-radius: 12px; padding: 10px 14px; font-size: clamp(14px, 1.6vw, 19px); line-height: 1.45; }
.q-stimtext p { margin: 0 0 .4em; text-indent: 1.4em; }
.q-text { font-size: clamp(19px, 2.4vw, 30px); font-weight: 700; text-align: center; margin: 14px 4px 16px; line-height: 1.35; }
.q-img { display: block; margin: 8px auto 0; max-height: 26vh; max-width: 100%; background: #fff; border-radius: 8px; }
.q-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-opts.n3 .q-opt:nth-child(3) { grid-column: 1 / -1; }
.q-opt { display: flex; align-items: center; gap: 12px; text-align: left; border: 0; border-radius: 16px; padding: 14px 16px; font-size: clamp(16px, 2vw, 24px);
  color: #fff; cursor: pointer; font-family: inherit; box-shadow: 0 5px 0 rgba(0,0,0,.3); transition: transform .1s, filter .2s, opacity .3s; min-height: 64px; }
.q-opt b { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; flex: 0 0 auto; }
.q-opt.c0 { background: linear-gradient(180deg, #ef4444, #b91c1c); }
.q-opt.c1 { background: linear-gradient(180deg, #3b82f6, #1d4ed8); }
.q-opt.c2 { background: linear-gradient(180deg, #eab308, #a16207); }
.q-opt.c3 { background: linear-gradient(180deg, #22c55e, #15803d); }
.q-opt:hover:not(:disabled) { filter: brightness(1.12); transform: translateY(-2px); }
.q-opt.ok { background: linear-gradient(180deg, #4ade80, #16a34a) !important; outline: 4px solid #fff; animation: pop .4s; opacity: 1 !important; }
.q-opt.bad { background: linear-gradient(180deg, #6b7280, #374151) !important; outline: 4px solid #f87171; opacity: 1 !important; }
.q-opt.dim { opacity: .35; }
@keyframes pop { 50% { transform: scale(1.05); } }
.q-isian { display: flex; gap: 10px; }
.q-isian input, .q-open textarea { flex: 1; font-size: clamp(18px, 2.2vw, 26px); padding: 12px 16px; border-radius: 14px; border: 3px solid #3a4fb8; background: #fff; color: #111; font-family: inherit; min-width: 0; }
.q-isian input:focus, .q-open textarea:focus { outline: none; border-color: var(--gold); }
.q-open { display: flex; flex-direction: column; gap: 10px; }
.q-hint { display: block; color: var(--muted); margin-top: 6px; text-align: center; }
.q-fb { display: none; text-align: center; margin-top: 14px; padding: 12px; border-radius: 16px; }
.q-fb.show { display: block; animation: pop .35s; }
.q-fb.good { background: rgba(22,163,74,.25); border: 2px solid #4ade80; }
.q-fb.bad { background: rgba(220,38,38,.22); border: 2px solid #f87171; }
.q-fb.neutral { background: rgba(255,255,255,.08); border: 2px solid var(--muted); }
.fb-msg { font-size: clamp(22px, 3vw, 34px); font-weight: 900; margin-bottom: 6px; }
.fb-msg.small { font-size: 16px; font-weight: 600; color: var(--muted); }
.fb-ans { font-size: clamp(16px, 2vw, 22px); margin-bottom: 10px; }
.fb-ans b { color: var(--gold); }
.fb-btns { display: flex; gap: 12px; justify-content: center; }

/* ---------- AKHIR, TOAST ---------- */
.endov { position: fixed; inset: 0; z-index: 60; background: rgba(1,4,25,.85); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .4s; }
.endov.show { opacity: 1; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.end-card { position: relative; text-align: center; padding: 24px; }
.end-t { font-size: clamp(32px, 6vw, 64px); font-weight: 900; color: var(--gold); }
.end-n { font-size: clamp(18px, 2.5vw, 28px); }
.end-s { font-size: clamp(40px, 8vw, 96px); font-weight: 900; background: linear-gradient(180deg, #fff8d6, var(--gold) 55%, var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; margin: 8px 0; }
.end-d { color: var(--muted); font-size: clamp(16px, 2vw, 22px); margin-bottom: 18px; }
.end-b { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; top: 22%; transform: translate(-50%, -20px) scale(.8); z-index: 45; font-size: clamp(24px, 4vw, 44px); font-weight: 900;
  padding: 14px 28px; border-radius: 20px; background: rgba(3,8,40,.9); border: 3px solid var(--gold); color: var(--gold); opacity: 0; transition: all .35s cubic-bezier(.3,1.5,.6,1); text-align: center; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.toast.good { border-color: #4ade80; color: #86efac; } .toast.bad { border-color: #f87171; color: #fca5a5; }

/* ---------- ULAR TANGGA ---------- */
.ul-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 16px; padding: 14px; max-width: 1400px; margin: 0 auto; align-items: start; }
.ul-board { position: relative; width: 100%; aspect-ratio: 2 / 1; border-radius: 16px; overflow: hidden; border: 4px solid #7c4a1d; box-shadow: 0 10px 30px rgba(0,0,0,.4); background: #fff; }
.ul-cells { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(10, 1fr); grid-template-rows: repeat(5, 1fr); }
.ul-cell { position: relative; border: 1px solid rgba(0,0,0,.08); font-weight: 900; color: rgba(0,0,0,.45); font-size: clamp(10px, 1.3vw, 18px); padding: 3px 5px; }
.ul-cell.c0 { background: #fde68a; } .ul-cell.c1 { background: #bbf7d0; } .ul-cell.c2 { background: #bfdbfe; } .ul-cell.c3 { background: #fbcfe8; } .ul-cell.c4 { background: #fed7aa; }
.ul-cell.start::after { content: "MULAI"; position: absolute; bottom: 3px; left: 5px; font-size: .7em; color: #15803d; }
.ul-cell.finish { background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 0 / 20px 20px; color: #fff; }
.ul-cell.finish::after { content: "🏁"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2em; }
.ul-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tok { position: absolute; width: 5.5%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: clamp(14px, 2vw, 28px); transition: left .22s ease, top .22s ease;
  transform: translate(-50%, -50%); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,.45); z-index: 5; }
.tok.me { background: radial-gradient(circle at 35% 30%, #60a5fa, #1d4ed8); }
.tok.bot { background: radial-gradient(circle at 35% 30%, #d1d5db, #4b5563); }
.tok.hop { animation: hop .22s; }
@keyframes hop { 50% { margin-top: -12px; } }
.ul-side { display: flex; flex-direction: column; gap: 12px; }
.panel { background: rgba(5,12,60,.75); border: 2px solid rgba(247,201,72,.4); border-radius: 16px; padding: 14px; }
.pl { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; }
.pl.turn { background: rgba(247,201,72,.18); outline: 2px solid var(--gold); }
.pl .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; border: 2px solid #fff; }
.pl .nm { flex: 1; font-weight: 800; }
.pl .ps { font-size: 22px; font-weight: 900; color: var(--gold); }
.dice-box { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dice { width: 92px; height: 92px; background: #fff; border-radius: 18px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); padding: 12px; box-shadow: inset 0 -6px 0 #ddd, 0 6px 16px rgba(0,0,0,.4); }
.dice i { width: 16px; height: 16px; border-radius: 50%; background: #111; place-self: center; visibility: hidden; }
.dice i.on { visibility: visible; }
.dice.roll { animation: roll .12s infinite; }
@keyframes roll { 0% { transform: rotate(0); } 50% { transform: rotate(18deg) scale(1.06); } 100% { transform: rotate(-12deg); } }
.ul-msg { min-height: 52px; text-align: center; font-weight: 700; font-size: 17px; }
.ul-legend { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---------- TARIK TAMBANG ---------- */
.tt-wrap { max-width: 1200px; margin: 0 auto; padding: 14px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.tt-scene { width: 100%; border-radius: 20px; overflow: hidden; border: 4px solid rgba(247,201,72,.5); box-shadow: 0 10px 30px rgba(0,0,0,.4); background: #87ceeb; }
.tt-scene svg { display: block; width: 100%; height: auto; }
#tt-move { transition: transform .7s cubic-bezier(.3,1.4,.5,1); }
.tt-meter { width: 100%; display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.tt-meter span { height: 14px; border-radius: 4px; background: #1a2770; }
.tt-meter span.me { background: #3b82f6; } .tt-meter span.bot { background: #9ca3af; } .tt-meter span.mid { background: #fff; }
.tt-ctrl { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }
.tt-msg { font-size: clamp(18px, 2.4vw, 26px); font-weight: 800; text-align: center; min-height: 34px; }
.shakeit { animation: shake .35s 2; }

/* ---------- TTS ---------- */
.tts-wrap { display: grid; grid-template-columns: auto minmax(280px, 420px); gap: 18px; padding: 14px; justify-content: center; align-items: start; }
.tts-grid { display: grid; gap: 2px; background: transparent; user-select: none; }
.tts-c { width: var(--cs); height: var(--cs); position: relative; }
.tts-c.on { background: #fff; border-radius: 4px; box-shadow: 0 2px 0 rgba(0,0,0,.35); }
.tts-c input { width: 100%; height: 100%; border: 0; background: transparent; text-align: center; font-size: calc(var(--cs) * .55); font-weight: 900; text-transform: uppercase;
  color: #111; caret-color: transparent; padding: 0; font-family: inherit; border-radius: 4px; cursor: pointer; }
.tts-c input:focus { outline: none; }
.tts-c.word { background: #fef3c7; } .tts-c.cur { background: #fcd34d; }
.tts-c.ok { background: #bbf7d0; } .tts-c.no { background: #fecaca; } .tts-c.rev input { color: #7c3aed; }
.tts-c .num { position: absolute; top: 1px; left: 3px; font-size: calc(var(--cs) * .26); color: #1e3a8a; font-weight: 800; pointer-events: none; z-index: 1; }
.tts-side { display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 90px); }
.tts-clue-now { background: var(--gold); color: #241800; border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 17px; min-height: 48px; }
.tts-list { overflow-y: auto; }
.tts-list h3 { margin: 6px 0; color: var(--gold); }
.tts-list li { padding: 5px 8px; border-radius: 8px; cursor: pointer; margin-bottom: 2px; list-style: none; line-height: 1.35; font-size: 15px; }
.tts-list ol { padding: 0; margin: 0 0 10px; }
.tts-list li:hover { background: rgba(255,255,255,.08); }
.tts-list li.act { background: rgba(247,201,72,.25); }
.tts-list li.done { color: #86efac; text-decoration: line-through; text-decoration-color: rgba(134,239,172,.5); }
.tts-list li b { color: var(--gold); margin-right: 4px; }
.tts-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.tts-btns button { padding: 10px 16px; font-size: 15px; }

/* ---------- PAPAN JUARA ---------- */
.pp-wrap { max-width: 1300px; margin: 0 auto; padding: 14px; }
.pp-board { display: grid; gap: 10px; }
.pp-cat { background: linear-gradient(180deg, #0b1a6b, #050c3f); border: 2px solid var(--gold); border-radius: 14px; padding: 10px 6px; text-align: center; font-weight: 900;
  font-size: clamp(12px, 1.5vw, 19px); text-transform: uppercase; display: grid; place-items: center; min-height: 64px; color: var(--gold); }
.pp-tile { border: 0; border-radius: 14px; font-size: clamp(22px, 3.4vw, 46px); font-weight: 900; color: var(--gold); cursor: pointer; min-height: clamp(64px, 11vh, 110px);
  background: linear-gradient(180deg, #2546c9, #0f2a8a); box-shadow: 0 6px 0 #071447, inset 0 0 0 2px rgba(255,255,255,.12); font-family: inherit; text-shadow: 0 3px 0 rgba(0,0,0,.4); transition: transform .12s; }
.pp-tile:hover:not(:disabled) { transform: translateY(-3px) scale(1.03); }
.pp-tile:disabled { cursor: default; box-shadow: none; font-size: clamp(18px, 2.6vw, 34px); }
.pp-tile.ok { background: linear-gradient(180deg, #16a34a, #0f6b30); color: #fff; }
.pp-tile.no { background: linear-gradient(180deg, #4b5563, #1f2937); color: #fca5a5; }
.pp-tile.zonk { background: linear-gradient(180deg, #7c2d12, #431407); color: #fdba74; }
.pp-tile.empty { visibility: hidden; }
.pp-flip { animation: flip .5s; }
@keyframes flip { 0% { transform: rotateY(0); } 50% { transform: rotateY(90deg); } 100% { transform: rotateY(0); } }
.pp-foot { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }

@media (max-width: 900px) {
  .ul-wrap, .tts-wrap { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .q-opts { grid-template-columns: 1fr; }
  .q-opts.n3 .q-opt:nth-child(3) { grid-column: auto; }
  .tts-side { max-height: none; }
  .gb-title span { max-width: 40vw; }
}
html { background: #040a35; }
body { min-height: 100vh; }
@media (max-width: 600px) {
  .games { grid-template-columns: 1fr 1fr; gap: 10px; }
  .game { min-height: 150px; padding: 14px 12px; }
  .game .gi { font-size: 38px; } .game b { font-size: 16px; } .game small { font-size: 12px; }
  .hub-head nav { flex-direction: column; gap: 4px; }
}
/* papan menyesuaikan jumlah baris */
.pp-board { --rows: 5; }
.pp-board .pp-tile { min-height: clamp(44px, calc((100vh - 290px) / var(--rows)), 110px); font-size: clamp(18px, calc(30vh / var(--rows)), 46px); }
.pp-board .pp-tile:disabled { font-size: clamp(14px, calc(22vh / var(--rows)), 34px); }
.pp-info { text-align: center; color: var(--muted); margin: 0 0 8px; font-size: 14px; }
.btn-install { background: linear-gradient(180deg, #4ade80, #16a34a); color: #fff; border: 0; border-radius: 20px; padding: 6px 12px; font-weight: 800; cursor: pointer; font-family: inherit; }
.ih { position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 70; display: none; align-items: center; justify-content: center; padding: 16px; }
.ih.show { display: flex; }
.ih-box { background: linear-gradient(180deg, #14268a, #07114a); border: 3px solid var(--gold); border-radius: 20px; padding: 18px 22px; max-width: 440px; line-height: 1.5; }
.ih-box h3 { margin: 0 0 8px; color: var(--gold); }
.ih-ico { display: inline-block; border: 1px solid #fff; border-radius: 4px; padding: 0 4px; }
.ih-note { color: var(--muted); font-size: 14px; }
.q-oimg { display: block; max-height: 18vh; max-width: 100%; background: #fff; border-radius: 10px; padding: 4px; margin: 2px 0; }
