/* DESIRE APP — шашки, компанейские игры и помощник */

/* ---------- 💡 Помощник ---------- */
.hint-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin: -6px 0 14px; border-radius: 12px; background: linear-gradient(90deg, rgba(80, 200, 255, .1), var(--card) 70%); border: 1px solid rgba(80, 200, 255, .35); animation: pageIn .25s var(--ease); flex-wrap: wrap; }
.hint-bar.good { border-color: rgba(95, 209, 58, .5); background: linear-gradient(90deg, rgba(95, 209, 58, .1), var(--card) 70%); }
.hint-bar.bad { border-color: rgba(229, 72, 77, .45); background: linear-gradient(90deg, rgba(229, 72, 77, .1), var(--card) 70%); }
.hint-ico { font-size: 22px; line-height: 1; flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(255, 220, 90, .5)); }
.hint-ico.dim { filter: grayscale(1); opacity: .55; }
.hint-ico.spin { display: inline-block; animation: hintSpin 1s linear infinite; color: #50c8ff; filter: none; }
@keyframes hintSpin { to { transform: rotate(360deg); } }
.hint-txt { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 3px; }
.hint-txt b { font-size: 14.5px; }
.hint-txt small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.hint-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hint-auto { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 6px 8px; border-radius: 9px; }
.hint-auto .toggle { width: 30px; height: 18px; }
.hint-auto .toggle i { width: 12px; height: 12px; }
.hint-auto.on { color: var(--text); }
.hint-auto.on .toggle { background: #2a8fc0; }
.hint-auto.on .toggle i { left: 15px; background: #fff; }
.hint-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.hint-chips button { padding: 5px 10px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; }
.hint-chips button:hover { border-color: #50c8ff; }
.hint-mask { font-family: ui-monospace, Consolas, monospace; font-size: 18px; font-weight: 800; letter-spacing: .12em; margin-top: 4px; color: #8fd9ff; }
.bj-hintbar { margin: 0 0 10px; width: 100%; }

/* подсветка на досках и картах */
.sq.hint-from { box-shadow: inset 0 0 0 999px rgba(80, 200, 255, .35); }
.sq.hint-to { box-shadow: inset 0 0 0 999px rgba(80, 200, 255, .55); }
.sq.hint-to[data-step]::before { content: attr(data-step); position: absolute; top: 3px; right: 5px; font-size: 11px; font-weight: 800; color: #fff; z-index: 3; text-shadow: 0 1px 2px #000; }
.chess-board { position: relative; }
.hint-arrow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }
.pcard.hint-card { box-shadow: 0 0 0 3px #50c8ff, 0 0 22px rgba(80, 200, 255, .7) !important; transform: translateY(-16px); z-index: 3; }
.pair.hint-pair { outline: 3px dashed #50c8ff; outline-offset: 4px; border-radius: 12px; }
.btn.hint-btn, button.hint-btn { box-shadow: 0 0 0 3px #50c8ff, 0 0 18px rgba(80, 200, 255, .6) !important; animation: hintPulse 1.4s ease-in-out infinite; }
@keyframes hintPulse { 50% { box-shadow: 0 0 0 3px #50c8ff, 0 0 4px rgba(80, 200, 255, .2) !important; } }
.sea-grid .cell.heat:not(.hit):not(.miss) { background: color-mix(in srgb, #50c8ff calc(var(--heat) * 100%), #1d2633); }
.sea-grid .cell.hint-best { box-shadow: inset 0 0 0 3px #ffd34d, 0 0 14px rgba(255, 211, 77, .7); z-index: 2; }
.sea-grid .cell.hint-best::before { content: '◎'; position: absolute; inset: 0; display: grid; place-items: center; color: #ffd34d; font-weight: 800; }
.quiz-opt.hint-off { opacity: .28; filter: grayscale(1); }
.quiz-opt.hint-off .qo-t { text-decoration: line-through; }

/* ---------- ⛀ Шашки ---------- */
.ck-board .sq.ck-light { background: #ecd9c2; }
.ck-board .sq.ck-dark { background: #7a4b38; }
.ck-board .sq.last { box-shadow: inset 0 0 0 999px rgba(242, 182, 48, .3); }
.ck-board .sq.sel { box-shadow: inset 0 0 0 999px rgba(95, 209, 58, .45); }
.ck-board .sq.ck-can { cursor: pointer; }
.ck-board .sq.ck-can .ck { box-shadow: 0 0 0 .5cqw rgba(95, 209, 58, .7), 0 .8cqw 1.4cqw rgba(0, 0, 0, .5); }
.ck-board .sq.tgt::after { content: ''; width: 30%; height: 30%; border-radius: 50%; background: rgba(95, 209, 58, .65); box-shadow: 0 0 10px rgba(95, 209, 58, .6); }
.ck-board .sq.ck-ghost .ck { opacity: .3; }
.ck { position: relative; width: 78%; height: 78%; border-radius: 50%; z-index: 1; pointer-events: none; transition: transform .2s var(--ease); box-shadow: 0 .8cqw 1.4cqw rgba(0, 0, 0, .5); }
.ck::before { content: ''; position: absolute; inset: 14%; border-radius: 50%; border: .5cqw solid rgba(0, 0, 0, .18); }
.ck-w { background: radial-gradient(circle at 35% 30%, #fff, #e6e0d6 55%, #b9b1a4); border: .35cqw solid #8c8478; }
.ck-b { background: radial-gradient(circle at 35% 30%, #5a5a5a, #222 55%, #0b0b0b); border: .35cqw solid #000; }
.ck-b::before { border-color: rgba(255, 255, 255, .12); }
.ck.king i { position: absolute; inset: 0; display: grid; place-items: center; }
.ck.king i::after { content: '♛'; font-size: 6cqw; line-height: 1; color: #d4a017; text-shadow: 0 1px 0 #6b4f00, 0 0 6px rgba(255, 200, 40, .6); font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", sans-serif; }
.ck-caps { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; }
.ck-caps i { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 1px 2px rgba(0, 0, 0, .5); margin-left: -4px; }
.ck-caps.of-b i { background: radial-gradient(circle at 35% 30%, #5a5a5a, #111); border: 1px solid #000; }
.ck-caps.of-w i { background: radial-gradient(circle at 35% 30%, #fff, #bbb); border: 1px solid #8c8478; }

/* ---------- 🎉 Компанейские игры: общее ---------- */
.party-page { max-width: 1240px; }
.party { display: flex; flex-direction: column; gap: 12px; }
.pt-top { display: flex; align-items: center; gap: 14px; }
.pt-phase { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; }
.pt-timer { position: relative; width: 220px; height: 30px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); overflow: hidden; flex-shrink: 0; }
.pt-timer i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #2a8fc0, #50c8ff); transition: width .25s linear; }
.pt-timer.low i { background: linear-gradient(90deg, #a01b1f, var(--lose)); }
.pt-timer span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.pt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.pt-stage { min-width: 0; }
.pt-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 12px; }
.pt-players { padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.pt-players-head, .pt-chat-head { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 2px 6px 6px; }
.pt-player { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; transition: background .2s; }
.pt-player.me { background: var(--card-2); }
.pt-player.gone { opacity: .45; }
.pt-player b { flex: 1; min-width: 0; font-size: 13.5px; }
.pt-place { width: 16px; text-align: center; font-weight: 800; color: var(--dim); font-size: 12px; }
.pt-score { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 13.5px; }
.pt-tag { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: var(--card-2); color: var(--muted); flex-shrink: 0; }
.pt-tag.ok { background: rgba(95, 209, 58, .16); color: var(--win); }
.pt-tag.bad { background: rgba(229, 72, 77, .16); color: var(--lose); }
.pt-tag.plus { background: rgba(95, 209, 58, .2); color: var(--win); animation: popIn .4s var(--ease); }
.pt-tag.turn { background: rgba(242, 182, 48, .18); color: var(--gold); }
.pt-tag.fire { background: rgba(255, 120, 40, .18); color: #ff9a4a; }
@keyframes popIn { from { transform: scale(.4); opacity: 0; } }
.pt-chat { display: flex; flex-direction: column; padding: 10px; height: 420px; }
.pt-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 5px; padding: 2px 4px 8px; font-size: 13.5px; }
.pt-log .msg { line-height: 1.4; word-break: break-word; }
.pt-log .msg b { margin-right: 6px; }
.pt-log .msg.mine b { color: #8fd9ff; }
.pt-log .msg.sys { color: var(--muted); font-style: italic; font-size: 12.5px; }
.pt-log .msg.ok { color: var(--win); font-weight: 600; }
.pt-log .msg.close { color: var(--gold); font-weight: 600; }
.pt-log .msg.ask { padding: 6px 8px; border-radius: 9px; background: var(--card-2); }
.pt-log .msg.guess span { color: #cfcfcf; }
.pt-input { display: flex; gap: 6px; }
.pt-input input, .who-row input, .pt-custom textarea, .who-notes textarea { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line-2); outline: 0; transition: border-color .2s; }
.pt-input input:focus, .who-row input:focus, .pt-custom textarea:focus, .who-notes textarea:focus { border-color: #50c8ff; }
.pt-input input:disabled { opacity: .5; }
.pt-podium { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.pt-pod { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line-2); animation: pageIn .4s var(--ease) backwards; }
.pt-pod:nth-child(2) { animation-delay: .08s; } .pt-pod:nth-child(3) { animation-delay: .16s; } .pt-pod:nth-child(n+4) { animation-delay: .24s; }
.pt-pod.p1 { border-color: rgba(242, 182, 48, .6); background: linear-gradient(90deg, rgba(242, 182, 48, .14), var(--card-2)); }
.pt-pod.me b { color: #8fd9ff; }
.pt-pod b { flex: 1; min-width: 0; }
.pt-pod-place { font-size: 20px; width: 28px; text-align: center; }
.party-card .badge { right: 12px; }
.seg-wrap { flex-wrap: wrap; }
.seg-wrap button { flex: 1 1 30%; }
.pt-custom { margin-top: 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); padding: 10px 12px; }
.pt-custom summary { cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--muted); }
.pt-custom[open] summary { margin-bottom: 10px; color: var(--text); }
.pt-custom textarea { width: 100%; height: auto; min-height: 96px; padding: 10px 12px; resize: vertical; font: inherit; font-size: 13px; color: inherit; line-height: 1.45; }
.pt-custom .toggle-row { margin-top: 8px; width: 100%; }
.h3 { font-size: 14px; font-weight: 800; margin-bottom: 8px; }

/* ---------- 🧠 Викторина ---------- */
.quiz, .quiz-intro, .quiz-end { padding: 26px; border-radius: 22px; background: radial-gradient(120% 120% at 50% 0%, #17304a 0%, #101b29 60%, #0c131c 100%); border: 1px solid #1f3a58; }
.quiz-intro { text-align: center; padding: 60px 20px; }
.quiz-big { font-size: 64px; animation: quizBob 1.6s ease-in-out infinite; }
@keyframes quizBob { 50% { transform: translateY(-8px) rotate(-4deg); } }
.quiz-q { font-size: clamp(19px, 2.4vw, 26px); font-weight: 800; line-height: 1.3; text-align: center; margin: 10px 0 24px; animation: pageIn .35s var(--ease); }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-opt { --oc: #2f6bf0; position: relative; display: flex; align-items: center; gap: 12px; min-height: 74px; padding: 12px 16px; border-radius: 16px; text-align: left; font-weight: 700; font-size: 15.5px; background: color-mix(in srgb, var(--oc) 22%, #121a26); border: 2px solid color-mix(in srgb, var(--oc) 55%, transparent); transition: transform .15s var(--ease), background .2s, opacity .3s; animation: pageIn .35s var(--ease) backwards; }
.quiz-opt.o1 { --oc: #d92b2b; animation-delay: .05s; } .quiz-opt.o2 { --oc: #f2b630; animation-delay: .1s; } .quiz-opt.o3 { --oc: #3fbf5a; animation-delay: .15s; }
.quiz-opt:not(:disabled):hover { transform: translateY(-3px); background: color-mix(in srgb, var(--oc) 34%, #121a26); }
.quiz-opt:disabled { cursor: default; }
.quiz-opt.picked { box-shadow: 0 0 0 3px #fff; }
.quiz-opt.right { background: rgba(95, 209, 58, .3); border-color: var(--win); animation: quizRight .6s var(--ease); }
.quiz-opt.wrong { background: rgba(229, 72, 77, .25); border-color: var(--lose); animation: quizShake .4s; }
@keyframes quizRight { 40% { transform: scale(1.04); } }
@keyframes quizShake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.qo-l { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--oc) 70%, #000); font-weight: 900; flex-shrink: 0; }
.qo-t { flex: 1; }
.qo-who { display: flex; }
.qo-who .avatar { width: 24px; height: 24px; margin-left: -6px; border: 2px solid #121a26; }
.quiz-foot { text-align: center; margin-top: 18px; min-height: 22px; font-size: 15px; }
.quiz-end .h2 { text-align: center; }

/* ---------- 🎨 Крокодил ---------- */
.croc { display: flex; flex-direction: column; gap: 10px; }
.croc-word { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 8px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 16px; }
.croc-the-word { font-size: 22px; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.croc-mask { display: inline-flex; gap: 6px; }
.croc-mask i { width: 22px; height: 30px; border-bottom: 3px solid #cfcfcf; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 20px; text-transform: uppercase; color: #8fd9ff; }
.croc-mask i.sp { border: 0; width: 10px; }
.croc-pick { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.croc-pick .btn { font-size: 16px; padding: 12px 22px; text-transform: capitalize; }
.croc-canvas-wrap { position: relative; border-radius: 16px; overflow: hidden; border: 3px solid #2a2a2a; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); background: #fff; }
#croc-canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; touch-action: none; }
#croc-canvas.can-draw { cursor: crosshair; }
.croc-over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(10, 12, 16, .78); backdrop-filter: blur(3px); font-weight: 700; font-size: 17px; text-align: center; padding: 20px; animation: pageIn .3s var(--ease); }
.croc-over > span { font-size: 54px; }
.croc-over > b { font-size: 30px; text-transform: uppercase; color: var(--gold); letter-spacing: .05em; }
.croc-gains { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.croc-gains > div { display: flex; align-items: center; gap: 8px; }
.croc-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.croc-colors { display: flex; gap: 6px; flex-wrap: wrap; }
.croc-color { width: 28px; height: 28px; border-radius: 50%; background: var(--cc); border: 2px solid #444; transition: transform .15s; }
.croc-color.on { transform: scale(1.18); box-shadow: 0 0 0 3px #fff; }
.croc-sizes { display: flex; gap: 6px; }
.croc-size { width: 34px; height: 34px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line-2); display: grid; place-items: center; }
.croc-size i { width: var(--w); height: var(--w); border-radius: 50%; background: #ddd; }
.croc-size.on { border-color: #50c8ff; }
.croc-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.croc-acts .btn.on { border-color: #50c8ff; }

/* ---------- 🎭 Кто я? ---------- */
.who { display: flex; flex-direction: column; gap: 12px; }
.who-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.who-card { padding: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; transition: .25s var(--ease); }
.who-card.turn { border-color: rgba(242, 182, 48, .7); box-shadow: 0 0 22px rgba(242, 182, 48, .2); transform: translateY(-3px); }
.who-card.done { border-color: rgba(95, 209, 58, .5); }
.who-card.gone { opacity: .45; }
.who-sticker { min-height: 74px; padding: 10px; border-radius: 6px; background: #fff3a0; color: #2b2400; transform: rotate(-2deg); box-shadow: 0 6px 14px rgba(0, 0, 0, .35); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.who-card:nth-child(even) .who-sticker { transform: rotate(2deg); background: #ffd1e8; color: #3a0020; }
.who-card.me .who-sticker { background: #2a2a2a; color: #fff; border: 2px dashed #555; }
.who-sticker b { font-size: 15px; line-height: 1.2; }
.who-sticker small { font-size: 11px; opacity: .7; margin-top: 3px; }
.who-name { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13.5px; min-width: 0; }
.who-act { padding: 16px; }
.who-qbox { text-align: center; }
.who-qtext { font-size: 22px; font-weight: 800; margin: 8px 0 14px; }
.who-votes { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.who-votes .btn { min-width: 110px; font-size: 15px; }
.who-votes .v-yes { background: rgba(95, 209, 58, .18); border: 1px solid rgba(95, 209, 58, .5); }
.who-votes .v-no { background: rgba(229, 72, 77, .18); border: 1px solid rgba(229, 72, 77, .5); }
.who-votes .v-idk { background: var(--card-2); border: 1px solid var(--line-2); }
.who-votes .btn.on { box-shadow: 0 0 0 3px #fff; }
.who-final { text-align: center; font-size: 18px; padding: 10px; }
.who-ask { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: linear-gradient(90deg, rgba(242, 182, 48, .1), var(--card) 70%); border: 1px solid rgba(242, 182, 48, .4); animation: pageIn .3s var(--ease); }
.who-ask > .btn { align-self: flex-start; }
.who-row { display: flex; gap: 8px; }
.who-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.who-mylog, .who-notes { padding: 14px; }
.who-l { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.who-l:last-child { border-bottom: 0; }
.who-l b { flex-shrink: 0; }
.a-yes { color: var(--win); } .a-no { color: var(--lose); } .a-idk { color: var(--muted); }
.who-notes textarea { width: 100%; height: 120px; padding: 10px 12px; resize: vertical; font: inherit; font-size: 13.5px; color: inherit; }

/* ---------- ☢️ Бункер ---------- */
.bunker { display: flex; flex-direction: column; gap: 12px; }
.bk-head { padding: 16px; background: radial-gradient(120% 140% at 0% 0%, rgba(242, 182, 48, .12), var(--card) 60%); border-color: rgba(242, 182, 48, .3); }
.bk-cat { display: flex; gap: 14px; align-items: flex-start; }
.bk-cat .muted { font-size: 13.5px; line-height: 1.5; margin-top: 4px; }
.bk-ico { font-size: 38px; line-height: 1; animation: bkPulse 2.4s ease-in-out infinite; }
@keyframes bkPulse { 50% { filter: drop-shadow(0 0 12px rgba(242, 182, 48, .8)); } }
.bk-info { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.bk-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-weight: 600; animation: pageIn .3s var(--ease); }
.bk-banner .btn { margin-left: auto; }
.bk-banner.mine { border-color: rgba(242, 182, 48, .55); background: linear-gradient(90deg, rgba(242, 182, 48, .12), var(--card) 70%); }
.bk-banner.bad { border-color: rgba(229, 72, 77, .6); background: linear-gradient(90deg, rgba(229, 72, 77, .18), var(--card) 70%); animation: bkAlarm 1s ease-in-out 3; }
.bk-banner.good { border-color: rgba(95, 209, 58, .55); background: linear-gradient(90deg, rgba(95, 209, 58, .14), var(--card) 70%); }
@keyframes bkAlarm { 50% { background: rgba(229, 72, 77, .32); } }
.bk-players { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.bk-player { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: .25s var(--ease); }
.bk-player.me { border-color: rgba(80, 200, 255, .45); }
.bk-player.turn { border-color: rgba(242, 182, 48, .7); box-shadow: 0 0 20px rgba(242, 182, 48, .18); }
.bk-player.out { opacity: .5; filter: grayscale(.7); }
.bk-player.kicked { animation: bkKick .9s var(--ease); }
@keyframes bkKick { 30% { transform: scale(1.03); box-shadow: 0 0 30px rgba(229, 72, 77, .6); } }
.bk-p-head { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bk-p-head b { flex: 1; min-width: 0; }
.bk-p-cards { display: flex; flex-direction: column; gap: 4px; }
.bk-c { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; padding: 4px 8px; border-radius: 8px; background: var(--card-2); animation: pageIn .35s var(--ease); }
.bk-c small { color: var(--muted); flex-shrink: 0; }
.bk-c span { text-align: right; font-weight: 600; }
.bk-c.closed { background: transparent; border: 1px dashed var(--line-2); animation: none; }
.bk-c.closed span { color: var(--dim); }
.bk-vote { align-self: stretch; }
.bk-mine { padding: 14px; }
.bk-mine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.bk-mc { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); }
.bk-mc small { color: var(--muted); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.bk-mc b { font-size: 14px; }
.bk-mc.open { border-color: rgba(95, 209, 58, .35); }
.bk-mc .btn { margin-top: 4px; align-self: flex-start; }
.bk-open, .bk-closed { font-style: normal; font-size: 11.5px; color: var(--win); }
.bk-closed { color: var(--dim); }

@media (max-width: 1000px) {
    .pt-grid { grid-template-columns: 1fr; }
    .pt-side { position: static; }
    .pt-chat { height: 300px; }
}
@media (max-width: 680px) {
    .quiz-opts { grid-template-columns: 1fr; }
    .quiz-opt { min-height: 58px; padding: 10px 14px; font-size: 14.5px; }
    .pt-top { flex-wrap: wrap; gap: 8px; }
    .pt-timer { width: 116px; height: 28px; }
    .pt-chat { height: 250px; }
    .pt-input input, .who-row input, .pt-custom textarea, .who-notes textarea { font-size: 16px; }
    .croc-tools { gap: 8px; padding: 8px 10px; }
    .croc-acts { margin-left: 0; width: 100%; justify-content: space-between; }
    .croc-acts .btn { flex: 1; padding: 0 8px; }
    .who-bottom { grid-template-columns: 1fr; }
    .who-row { flex-wrap: wrap; }
    .who-row .btn { flex: 1 1 auto; }
    .quiz, .quiz-intro, .quiz-end { padding: 16px; }
    .hint-bar { margin-top: -4px; padding: 9px 12px; }
    .hint-txt { min-width: 150px; }
}
.quiz.revealed .quiz-opt:not(.right) { opacity: .42; }
.quiz.revealed .quiz-opt.wrong { opacity: .8; }
.quiz-opt.right { box-shadow: 0 0 0 3px var(--win), 0 0 26px rgba(95, 209, 58, .45); }
.quiz-opt.right .qo-t::after { content: '  ✓'; color: var(--win); font-weight: 900; }
