body.player-page, .pp-embed {
--az-violet: #6C47FF; --az-indigo: #4F32D6; --az-amber: #F59E0B; --az-mint: #10B981; --az-teal: #14B8A6; --az-cyan: #22D3EE;
--az-grad: linear-gradient(135deg, #6C47FF 0%, #4F32D6 100%);
--az-tint: rgba(108, 71, 255, 0.12); --az-tint-2: rgba(108, 71, 255, 0.2); --az-ring: rgba(108, 71, 255, 0.35);
--out-w: clamp(250px, 22vw, 380px); --code-w: clamp(290px, 29vw, 470px);
--surface-2: #F6F4FF; --border: #E6E1FA; --border-strong: #D4CCF5; --accent: #6C47FF; --accent-bg: #F0ECFF; --accent-border: #CFC3FF;
}
:root[data-theme="dark"] body.player-page, :root[data-theme="dark"] .pp-embed {
--bg: #0F111A; --surface: #151829; --surface-2: #0F111A; --border: rgba(124, 99, 255, 0.22); --border-strong: rgba(124, 99, 255, 0.36);
--accent: #9B85FF; --accent-bg: rgba(108, 71, 255, 0.18); --accent-border: rgba(124, 99, 255, 0.45);
--az-tint: rgba(124, 99, 255, 0.16); --az-tint-2: rgba(124, 99, 255, 0.26);
background: #0F111A;
}
:is(body.player-page, .pp-embed) .pp-top, :is(body.player-page, .pp-embed) .player .controls, :is(body.player-page, .pp-embed) .player.sx > .say,
:is(body.player-page, .pp-embed) .player.sx .stage, :is(body.player-page, .pp-embed) .player.sx .pane-code, :is(body.player-page, .pp-embed) .player.sx .world > .story-out { transition: background-color .35s ease, border-color .35s ease, color .35s ease; }
.pp-right { margin-left: auto; display: flex; align-items: center; gap: 12px; min-width: 0; max-width: calc(50% - 150px); justify-content: flex-end; }
.pp-right .pp-next { margin-left: 0; max-width: none; min-width: 0; }
.pp-theme { flex: none; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 999px; }
.pp-theme-track { position: relative; display: block; width: 62px; height: 32px; border-radius: 999px; background: linear-gradient(135deg, #FFF4D6, #FDE7B0); border: 1px solid #F7D27A; box-shadow: 0 4px 14px -4px rgba(245, 158, 11, 0.55), inset 0 1px 0 rgba(255, 255, 255, .8); transition: background .35s, border-color .35s, box-shadow .35s; }
.pp-theme-track svg { position: absolute; top: 7px; width: 17px; height: 17px; fill: none; stroke-width: 2.2; stroke-linecap: round; }
.pt-sun { left: 8px; stroke: #D97706; }
.pt-sun circle { fill: #F59E0B; stroke: #D97706; }
.pt-moon { right: 8px; }
.pt-moon path { fill: #C9BEFF; stroke: none; }
.pp-theme-thumb { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(120, 80, 0, .35), 0 0 12px rgba(245, 158, 11, .6); transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), background .35s, box-shadow .35s; }
:root[data-theme="dark"] .pp-theme-track { background: linear-gradient(135deg, #1D1640, #2B1F66); border-color: #4F32D6; box-shadow: 0 4px 16px -4px rgba(108, 71, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .08); }
:root[data-theme="dark"] .pp-theme-thumb { transform: translateX(30px); background: linear-gradient(135deg, #B9A8FF, #6C47FF); box-shadow: 0 0 14px rgba(108, 71, 255, .9); }
.pp-theme:hover .pp-theme-track { filter: brightness(1.04); }
.pp-theme:focus-visible { outline: 3px solid var(--az-ring); outline-offset: 2px; }
:is(body.player-page, .pp-embed) .pp-back:hover { color: var(--az-violet); }
:is(body.player-page, .pp-embed) .pp-back,
:is(body.player-page, .pp-embed) .player .controls .btn,
:is(body.player-page, .pp-embed) .player .controls select {
background: var(--surface); border: 1px solid var(--border); color: var(--text);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 4px 12px -6px rgba(108, 71, 255, .35);
transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s, background .2s, border-color .2s, color .2s;
}
:is(body.player-page, .pp-embed) .pp-back:hover,
:is(body.player-page, .pp-embed) .player .controls .btn:hover,
:is(body.player-page, .pp-embed) .player .controls select:hover { transform: translateY(-2px); border-color: var(--accent-border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 8px 18px -8px rgba(108, 71, 255, .55), 0 0 0 3px rgba(108, 71, 255, .08); }
:is(body.player-page, .pp-embed) .pp-back:active,
:is(body.player-page, .pp-embed) .player .controls .btn:active,
:is(body.player-page, .pp-embed) .player .controls select:active { transform: scale(.97); box-shadow: 0 2px 6px -3px rgba(108, 71, 255, .45); }
:is(body.player-page, .pp-embed) .player .controls .btn.primary { background: var(--az-grad); border: 1px solid #5A3AF0; color: #fff; padding-inline: 20px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 22px -6px rgba(108, 71, 255, .7), 0 0 0 4px rgba(108, 71, 255, .12); }
:is(body.player-page, .pp-embed) .player .controls .btn.primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 26px -6px rgba(108, 71, 255, .8), 0 0 0 5px rgba(108, 71, 255, .16); }
:is(body.player-page, .pp-embed) .player .controls .btn.primary:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 10px -4px rgba(108, 71, 255, .7); }
:is(body.player-page, .pp-embed) .player .controls .btn.step-btn { display: inline-flex; align-items: center; gap: 7px; width: auto; padding: 0 14px; background: var(--az-tint); border: 1.5px solid rgba(108, 71, 255, .45); color: var(--az-indigo); font-weight: 700; font-size: 14px; white-space: nowrap; }
:is(body.player-page, .pp-embed) .player .controls .btn.step-btn svg { width: 16px; height: 16px; }
:is(body.player-page, .pp-embed) .player .controls .btn.step-btn:hover { background: var(--az-tint-2); border-color: var(--az-violet); }
:root[data-theme="dark"] :is(body.player-page, .pp-embed) .player .controls .btn.step-btn { color: #C9BEFF; border-color: rgba(155, 133, 255, .55); }
.player .controls .step-pair { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 13px; background: var(--az-tint, rgba(108, 71, 255, .07)); border: 1px solid rgba(108, 71, 255, .2); flex: none; }
.player .controls .step-pair[hidden] { display: none; }
.player .controls .step-pair .btn.step-x, :is(body.player-page, .pp-embed) .player .controls .step-pair .btn.step-x { width: 36px; height: 36px; min-height: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 0; background: transparent; box-shadow: none; color: var(--az-indigo, #4C1D95); }
.player .controls .step-pair .btn.step-x:hover, :is(body.player-page, .pp-embed) .player .controls .step-pair .btn.step-x:hover { background: var(--surface); transform: none; box-shadow: 0 2px 8px -4px rgba(108, 71, 255, .5); }
.player .controls .step-pair .btn.step-x svg { width: 19px; height: 19px; }
:root[data-theme="dark"] .player .controls .step-pair { border-color: rgba(155, 133, 255, .3); }
:root[data-theme="dark"] .player .controls .step-pair .btn.step-x { color: #C9BEFF; }
@media (max-width: 600px) { .player .controls .step-pair .btn.step-x[data-act="out"] { display: none; } }
:is(body.player-page, .pp-embed) .player .controls .btn.style-btn { display: inline-flex; align-items: center; gap: 6px; width: auto; padding: 0 13px; font-weight: 700; font-size: 14px; color: var(--text); border: 1.5px solid transparent;
background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(90deg, #6C47FF, #22D3EE, #10B981, #F59E0B, #F472B6) border-box; }
.style-btn svg { width: 18px; height: 18px; }
.style-btn svg:not(.az3d) path { fill: none; }
.style-btn .d1 { fill: #F472B6; stroke: none; }
.style-btn .d2 { fill: #F59E0B; stroke: none; }
.style-btn .d3 { fill: #10B981; stroke: none; }
.player.mem-classic .style-btn .dot { fill: var(--faint); }
:is(body.player-page, .pp-embed) .player.sx.has-story:not(.no-story) .controls .btn.style-btn { display: none; }
:is(body.player-page, .pp-embed) .player .controls .btn.voice-btn.on { background: var(--az-tint-2); border-color: var(--az-violet); color: var(--az-violet); transform: none; box-shadow: inset 0 2px 6px rgba(79, 50, 214, .2); }
:is(body.player-page, .pp-embed) .player .controls select, :is(body.player-page, .pp-embed) .player .controls .btn.full-btn, :is(body.player-page, .pp-embed) .player .controls .btn.set-btn, :is(body.player-page, .pp-embed) .player .controls .btn[data-act="restart"] { background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(8px); }
:root[data-theme="dark"] :is(body.player-page, .pp-embed) .pp-back, :root[data-theme="dark"] :is(body.player-page, .pp-embed) .player .controls .btn:not(.primary),
:root[data-theme="dark"] :is(body.player-page, .pp-embed) .player .controls select { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 6px 16px -8px rgba(0, 0, 0, .8); }
:root[data-theme="dark"] :is(body.player-page, .pp-embed) .player .controls .btn.style-btn { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(90deg, #6C47FF, #22D3EE, #10B981, #F59E0B, #F472B6) border-box; }
:is(body.player-page, .pp-embed) .player .controls .scrub { -webkit-appearance: none; appearance: none; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #6C47FF, #22D3EE) 0 0 / var(--p, 0%) 100% no-repeat, var(--az-tint); cursor: pointer; }
:is(body.player-page, .pp-embed) .player .controls .scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--az-violet); box-shadow: 0 0 0 4px rgba(108, 71, 255, .18), 0 0 14px rgba(108, 71, 255, .6); transition: transform .15s; }
:is(body.player-page, .pp-embed) .player .controls .scrub::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--az-violet); box-shadow: 0 0 0 4px rgba(108, 71, 255, .18), 0 0 14px rgba(108, 71, 255, .6); }
:is(body.player-page, .pp-embed) .player .controls .scrub:hover::-webkit-slider-thumb { transform: scale(1.15); }
:is(body.player-page, .pp-embed) .player .controls .count { box-sizing: border-box; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 11px; background: var(--az-tint); color: var(--az-indigo); font: 700 13px var(--mono); white-space: nowrap; border: 1px solid rgba(108, 71, 255, .25); }
:root[data-theme="dark"] :is(body.player-page, .pp-embed) .player .controls .count { color: #C9BEFF; }
:is(body.player-page, .pp-embed) .player .controls { position: relative; }
.pp-settings { position: absolute; right: 18px; bottom: calc(100% + 10px); z-index: 40; width: 280px; padding: 0 10px 10px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 26px 56px -18px rgba(40, 20, 120, .5), inset 0 1px 0 rgba(255,255,255,.6); animation: ppPop .24s cubic-bezier(.34, 1.56, .64, 1); transform-origin: 90% 100%; overflow: hidden; }
.pp-settings h4 { margin: 0 -10px 8px; padding: 12px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: linear-gradient(135deg, rgba(108,71,255,.12), rgba(20,184,166,.06)); border-bottom: 1px solid var(--border); }
.pp-settings .ps-item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 9px 10px; margin: 0 0 4px; border: 1.5px solid transparent; border-radius: 14px; background: transparent; color: var(--text); font: 600 14px var(--font); cursor: pointer; transition: background .2s, border-color .2s, transform .18s cubic-bezier(.34,1.56,.64,1); }
.pp-settings .ps-item:hover { background: var(--az-tint); border-color: rgba(108, 71, 255, .3); transform: translateX(2px); }
.pp-settings .ps-item span { display: flex; flex-direction: column; line-height: 1.25; }
.pp-settings .ps-item small { font-weight: 500; font-size: 12px; color: var(--muted); }
.pp-settings .ps-keys { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0 0; padding: 9px 10px; border-radius: 14px; background: var(--surface-2); font-size: 12px; color: var(--muted); }
.pp-settings .ps-keys span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pp-settings kbd { font: 700 11px var(--mono); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--border); border-bottom-width: 2px; background: var(--surface); color: var(--text); }
.i3d { flex: none; display: block; overflow: visible; }
.pp-style { position: absolute; bottom: calc(100% + 10px); z-index: 40; width: 360px; max-width: calc(100vw - 24px); padding: 0 12px 12px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 26px 56px -18px rgba(40, 20, 120, .5), inset 0 1px 0 rgba(255,255,255,.6); animation: ppPop .24s cubic-bezier(.34, 1.56, .64, 1); transform-origin: 50% 100%; overflow: hidden; }
.pp-style h4 { margin: 0 -12px 10px; padding: 11px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: linear-gradient(135deg, rgba(108,71,255,.12), rgba(245,158,11,.08)); border-bottom: 1px solid var(--border); }
.pst-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pst-opts button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; border-radius: 16px; border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text); text-align: left; cursor: pointer; transition: transform .18s cubic-bezier(.34,1.56,.64,1), border-color .2s, box-shadow .2s; }
.pst-opts button:hover { transform: translateY(-3px); border-color: var(--accent-border); }
.pst-opts button[aria-checked="true"] { border-color: #6C47FF; background: linear-gradient(180deg, rgba(108,71,255,.14), rgba(108,71,255,.04)); box-shadow: 0 0 0 3px rgba(108,71,255,.16), 0 10px 22px -12px rgba(108,71,255,.75); }
.pst-opts b { font-size: 14px; margin-top: 4px; }
.pst-opts small { font-size: 11.5px; line-height: 1.35; color: var(--muted); }
.pst-chips { display: flex; gap: 4px; margin-top: 6px; }
.pst-chips i { width: 18px; height: 8px; border-radius: 99px; background: var(--c); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
@keyframes ppPop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
:is(body.player-page, .pp-embed) .sx-switch { background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--border); box-shadow: 0 10px 26px -10px rgba(79, 50, 214, .45); }
:is(body.player-page, .pp-embed) .sx-switch button { position: relative; z-index: 1; color: var(--muted); }
:is(body.player-page, .pp-embed) .sx-switch button[aria-pressed="true"] { background: #5B3DF5; color: #fff; box-shadow: none; transform: none; }
:is(body.player-page, .pp-embed) .sx-switch button:hover:not([aria-pressed="true"]) { background: var(--az-tint); color: var(--az-violet); }
.sx-thumb { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: 999px; background: linear-gradient(135deg, #6C47FF, #5535E8); box-shadow: 0 4px 14px -3px rgba(108, 71, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .3); transition: transform .35s cubic-bezier(.34, 1.4, .64, 1), width .35s; pointer-events: none; }
.player.sx .pane-code { --t-kw: #6D28D9; --t-fn: #1D4ED8; --t-str: #059669; --t-num: #B45309; --t-op: #475569; --t-com: #94A3B8; background: #fff; box-shadow: 0 18px 40px -18px rgba(79, 50, 214, .35); }
.player.sx .pane-code > .pane-h { background: #F4F2FF; border-bottom: 1px solid var(--border); padding: 10px 14px; gap: 8px; }
:root[data-theme="dark"] .player.sx .pane-code { --t-kw: #B79CFF; --t-fn: #7CC4FF; --t-str: #5EE6B0; --t-num: #FFC266; --t-op: #A3AECB; --t-com: #6B7393; background: #0E101A; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8), 0 0 0 1px rgba(124, 99, 255, .18); }
:root[data-theme="dark"] .player.sx .pane-code > .pane-h { background: #151829; }
.player.sx .pane-code .pane-t { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.player.sx .pane-code .pane-sub { font-weight: 500; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player.sx .pane-code .lights { display: none; }
.player.sx .pane-code .zoom { margin-left: auto; display: inline-flex; padding: 2px; border-radius: 999px; background: var(--az-tint); border: 1px solid rgba(108, 71, 255, .25); box-shadow: none; }
.player.sx .pane-code .zoom button { border: 0; background: transparent; color: var(--az-indigo); font: 700 12.5px var(--font); padding: 3px 8px; border-radius: 999px; cursor: pointer; box-shadow: none; }
.player.sx .pane-code .zoom button:hover { background: rgba(108, 71, 255, .18); }
:root[data-theme="dark"] .player.sx .pane-code .zoom button { color: #C9BEFF; }
.player.sx .pane-code .pill { margin-left: 0; background: var(--az-grad); color: #fff; font-weight: 800; padding: 3px 11px; box-shadow: 0 0 12px rgba(108, 71, 255, .5); }
.player.sx .world > .pane-code { padding-bottom: 0; }
.player.sx .code-tools { flex: none; display: flex; justify-content: flex-end; gap: 6px; padding: 7px 10px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
.player.sx .code-tools button { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font: 600 12px var(--font); cursor: pointer; transition: color .2s, border-color .2s, transform .15s; }
.player.sx .code-tools button:hover { color: var(--az-violet); border-color: var(--accent-border); transform: translateY(-1px); }
.player.sx .code-tools svg:not(.az3d) { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .player.sx .code-tools { background: rgba(255,255,255,.02); }
.player.sx .pane-code > .pane-h { flex-wrap: nowrap; }
.player.sx .pane-code .pane-t { flex: 1 1 72px; min-width: 72px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.player.sx .pane-code .run-status { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.player.sx .pane-code .zoom, .player.sx .pane-code .pill { flex: none; }
.code-toast { position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 10px); padding: 7px 14px; border-radius: 999px; background: var(--az-grad); color: #fff; font: 700 13px var(--font); box-shadow: 0 8px 20px -6px rgba(108, 71, 255, .7); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s cubic-bezier(.34, 1.56, .64, 1); z-index: 6; }
.code-toast.show { opacity: 1; transform: translate(-50%, 0); }
.player.sx .pane-code .code { padding-top: 14px; padding-bottom: 10px; }
.player.sx .ln { padding-left: 30px; }
.player.sx .ln .src::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--ind, 0) * 1ch); pointer-events: none;
background: linear-gradient(to right, rgba(108, 71, 255, .3) 1px, transparent 1px) 0 0 / calc(var(--iu, 4) * 1ch) 100%;
-webkit-mask: linear-gradient(to bottom, #000 55%, transparent 0) 0 0 / 100% 6px; mask: linear-gradient(to bottom, #000 55%, transparent 0) 0 0 / 100% 6px; }
.player.sx .bar { border-radius: 8px; border: 0; background: linear-gradient(90deg, rgba(108, 71, 255, .16), rgba(20, 184, 166, .10)); box-shadow: inset 0 0 0 1.5px rgba(108, 71, 255, .55), 0 0 16px -2px rgba(108, 71, 255, .35); }
.player.sx .bar::before { display: none; }
.player.sx .bar.is-true { background: linear-gradient(90deg, rgba(16, 185, 129, .18), rgba(34, 211, 238, .10)); box-shadow: inset 0 0 0 1.5px rgba(16, 185, 129, .6), 0 0 16px -2px rgba(16, 185, 129, .35); }
.player.sx .bar.is-false { background: linear-gradient(90deg, rgba(239, 68, 68, .14), rgba(245, 158, 11, .08)); box-shadow: inset 0 0 0 1.5px rgba(239, 68, 68, .5); }
.player.sx .bar-bit { position: absolute; left: 3px; top: 50%; width: 19px; height: 19px; margin-top: -10px; filter: drop-shadow(0 2px 4px rgba(108, 71, 255, .5)); animation: bitNod 1.6s ease-in-out infinite; }
.player.sx .bar-bit svg { width: 100%; height: 100%; display: block; }
.player.sx .bar-exec, .player.sx .bar-speed { position: absolute; top: -10px; height: 18px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 999px; font: 800 10px var(--font); letter-spacing: .04em; white-space: nowrap; pointer-events: none; }
.player.sx .bar-exec { right: 52px; background: var(--az-grad); color: #fff; text-transform: uppercase; box-shadow: 0 3px 10px -2px rgba(108, 71, 255, .7); }
.player.sx .bar-speed { right: 8px; background: var(--surface); color: var(--az-indigo); border: 1px solid var(--accent-border); }
:root[data-theme="dark"] .player.sx .bar-speed { color: #C9BEFF; }
.player.sx .ln.on .no { color: var(--az-violet); }
@keyframes bitNod { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px) rotate(-4deg); } }
.player.sx:not(.mem-classic) .mem .row:nth-of-type(5n+1) { --h: 108, 71, 255; }
.player.sx:not(.mem-classic) .mem .row:nth-of-type(5n+2) { --h: 13, 148, 136; }
.player.sx:not(.mem-classic) .mem .row:nth-of-type(5n+3) { --h: 217, 119, 6; }
.player.sx:not(.mem-classic) .mem .row:nth-of-type(5n+4) { --h: 219, 39, 119; }
.player.sx:not(.mem-classic) .mem .row:nth-of-type(5n+5) { --h: 37, 99, 235; }
.player.sx:not(.mem-classic) .mem .row .box, .player.sx:not(.mem-classic) .mem .row .cell { background: rgba(var(--h), .1); border-color: rgba(var(--h), .5); color: rgb(var(--h)); font-weight: 700; }
:root[data-theme="dark"] .player.sx:not(.mem-classic) .mem .row .box, :root[data-theme="dark"] .player.sx:not(.mem-classic) .mem .row .cell { background: rgba(var(--h), .2); color: color-mix(in srgb, rgb(var(--h)) 55%, #fff); }
.player.sx:not(.mem-classic) .mem .row .vname span { font-weight: 700; }
.player.sx:not(.mem-classic) .mem .row.chg .box { background: var(--ok-bg); border-color: var(--ok-border); color: var(--ok); box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); }
.player.sx:not(.mem-classic) .mem .row .cell.hit { background: var(--accent-bg); border-color: var(--az-violet); color: var(--accent); }
.player.sx:not(.mem-classic) .mem .frame { border-color: rgba(108, 71, 255, .35); background: linear-gradient(180deg, rgba(108, 71, 255, .06), transparent 60%), var(--surface); }
.player.sx .world > .story-out { width: var(--out-w); height: clamp(160px, 31%, 310px); box-shadow: 0 18px 40px -16px rgba(79, 50, 214, .4); }
.player.sx .world > .story-out .pane-h-out { padding: 10px 14px 8px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.player.sx .world > .story-out .pane-t { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 9px; border-radius: 999px; background: rgba(16, 185, 129, .12); color: #059669; font-size: 12.5px; }
.player.sx .world > .story-out .pane-t::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #10B981; box-shadow: 0 0 8px #10B981; animation: outGlow 2s ease-in-out infinite; }
:root[data-theme="dark"] .player.sx .world > .story-out { background: #0E101A; }
:root[data-theme="dark"] .player.sx .world > .story-out .pane-t { color: #5EE6B0; }
.player.sx .world > .story-out .console { font-size: 14.5px; line-height: 1.65; padding: 0 14px; }
@keyframes outGlow { 50% { opacity: .45; } }
.player.sx .pane-mem .mem { padding-right: calc(var(--out-w) + 32px); padding-top: 64px; }
.player.sx .story svg.scene { width: calc(100% - var(--code-w) - 84px); }
.player.sx .story .real { right: calc(var(--out-w) + 28px); }
.player.sx { transition: opacity .3s ease-out, transform .3s ease-out; }
.player.sx.pp-enter { opacity: 0; transform: scale(.99); transition: none; }
.pp-skel { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--bg); --sk: #ECE8FB; --sk-sweep: rgba(108, 71, 255, .08); transition: opacity .22s ease-out; }
:root[data-theme="dark"] .pp-skel { --sk: #141726; --sk-sweep: rgba(108, 71, 255, .14); background: #0F111A; }
.pp-skel.out { opacity: 0; pointer-events: none; }
.pp-skel .sk { display: block; border-radius: 999px; background-color: var(--sk); background-image: linear-gradient(110deg, transparent 30%, var(--sk-sweep) 45%, rgba(255, 255, 255, .45) 50%, var(--sk-sweep) 55%, transparent 70%); background-size: 250% 100%; animation: skSweep 1.4s ease-in-out infinite; }
:root[data-theme="dark"] .pp-skel .sk { background-image: linear-gradient(110deg, transparent 30%, var(--sk-sweep) 45%, rgba(155, 133, 255, .18) 50%, var(--sk-sweep) 55%, transparent 70%); }
@keyframes skSweep { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.sk-top, .sk-bottom { flex: none; display: flex; align-items: center; gap: 14px; padding: 10px 18px; min-height: 64px; background: var(--surface); border-bottom: 1px solid var(--border); }
.sk-bottom { border-bottom: 0; border-top: 1px solid var(--border); min-height: 72px; }
:root[data-theme="dark"] .sk-top, :root[data-theme="dark"] .sk-bottom { background: #151829; border-color: rgba(124, 99, 255, .2); }
.sk-gap { flex: 1; }
.sk-circle { width: 44px; height: 44px; }
.sk-title { width: 220px; height: 18px; }
.sk-logo { width: 110px; height: 26px; position: absolute; left: 50%; transform: translateX(-50%); }
.sk-top { position: relative; }
.sk-pill { width: 140px; height: 32px; }
.sk-pill-s { width: 62px; height: 32px; }
.sk-stage { position: relative; flex: 1; min-height: 0; background: #F6F4FF; }
:root[data-theme="dark"] .sk-stage { background: #0F111A; }
.sk-code { position: absolute; left: 12px; top: 12px; bottom: 12px; width: clamp(290px, 29vw, 470px); border-radius: 22px; background: var(--surface); border: 1px solid var(--border); padding: 0 18px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
:root[data-theme="dark"] .sk-code { background: #0E101A; border-color: rgba(124, 99, 255, .2); }
.sk-code-h { display: flex; align-items: center; gap: 10px; margin: 0 -18px 4px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.sk-dots { width: 40px; height: 12px; }
.sk-file { width: 90px; height: 14px; }
.sk-zoom { width: 90px; height: 22px; }
.sk-line { height: 13px; border-radius: 6px; }
.pp-skel .sk-line.sk-active { height: 26px; margin: -6px -8px; width: calc(100% + 16px) !important; background-color: rgba(108, 71, 255, .16); border-radius: 8px; }
.sk-main { position: absolute; top: 0; bottom: 0; left: calc(clamp(290px, 29vw, 470px) + 24px); right: calc(clamp(250px, 22vw, 380px) + 24px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; }
.sk-bit { position: relative; width: 72px; height: 72px; display: grid; place-items: center; animation: skPulse 1.4s ease-in-out infinite; }
.sk-bit svg { width: 54px; height: 54px; }
.sk-orbit { position: absolute; inset: -10px; border-radius: 50%; border: 3px solid transparent; border-top-color: #6C47FF; border-right-color: #10B981; animation: skSpin 1.1s linear infinite; }
.sk-cards { display: flex; gap: 14px; width: 80%; max-width: 520px; }
.sk-card { flex: 1; height: 86px; border-radius: 16px; opacity: .85; }
.sk-callout { width: 50%; max-width: 380px; height: 30px; }
.pp-skel .sk-card { border-radius: 16px; }
.pp-skel .sk-out { border-radius: 22px; }
.sk-switch { position: absolute; top: 12px; right: 12px; width: 220px; height: 40px; }
.sk-out { position: absolute; right: 12px; bottom: 12px; width: clamp(250px, 22vw, 380px); height: 31%; border-radius: 22px; }
.sk-btn { width: 130px; height: 40px; }
.pp-skel .sk-play { width: 96px; height: 42px; background-color: rgba(108, 71, 255, .35); }
.sk-bar { flex: 1; height: 8px; }
@keyframes skPulse { 50% { transform: scale(1.06); } }
@keyframes skSpin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
.sk-main, .sk-out, .sk-switch, .sk-logo { display: none; }
.sk-code { right: 12px; width: auto; }
.sk-btn { width: 44px; }
}
.pp-tour { position: fixed; inset: 0; z-index: 70; pointer-events: none; transition: opacity .22s; }
.pp-tour.out { opacity: 0; }
.pt-ring { position: fixed; border-radius: 16px; box-shadow: 0 0 0 9999px rgba(15, 12, 40, .55), 0 0 0 3px #6C47FF, 0 0 26px 6px rgba(108, 71, 255, .75); transition: left .45s cubic-bezier(.34, 1.3, .64, 1), top .45s cubic-bezier(.34, 1.3, .64, 1), width .45s, height .45s; animation: ptPulse 1.6s ease-in-out infinite; }
@keyframes ptPulse { 50% { box-shadow: 0 0 0 9999px rgba(15, 12, 40, .55), 0 0 0 5px rgba(108, 71, 255, .9), 0 0 38px 12px rgba(108, 71, 255, .55); } }
.pt-card { position: fixed; width: min(340px, calc(100vw - 20px)); pointer-events: auto; border-radius: 20px; overflow: hidden; background: var(--surface); color: var(--text); box-shadow: 0 24px 60px -16px rgba(40, 20, 120, .6); border: 1px solid var(--border); transition: left .4s cubic-bezier(.34, 1.3, .64, 1), top .4s cubic-bezier(.34, 1.3, .64, 1); }
.pt-card.pop { animation: ptIn .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes ptIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.pt-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: linear-gradient(135deg, #6C47FF, #4F32D6 60%, #14B8A6); color: #fff; }
.pt-steps { display: flex; align-items: center; gap: 5px; }
.pt-steps i { width: 18px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .35); transition: width .3s; }
.pt-steps i.on { width: 28px; background: #F59E0B; box-shadow: 0 0 10px rgba(245, 158, 11, .8); }
.pt-steps i.done { background: #10B981; }
.pt-steps b { margin-left: 6px; font: 800 12px var(--font); }
.pt-skip { border: 0; background: none; color: rgba(255, 255, 255, .85); font: 600 12.5px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pt-skip:hover { color: #fff; }
.pt-card h3 { margin: 14px 18px 4px; font-size: 18px; }
.pt-text { margin: 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.pt-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 18px 16px; }
.pt-back, .pt-next { border-radius: 999px; padding: 9px 18px; font: 700 14px var(--font); cursor: pointer; transition: transform .15s, box-shadow .2s; }
.pt-back { border: 1.5px solid rgba(108, 71, 255, .4); background: rgba(108, 71, 255, .12); color: #6C47FF; }
.pt-next { border: 0; background: linear-gradient(135deg, #6C47FF, #4F32D6); color: #fff; box-shadow: 0 8px 20px -6px rgba(108, 71, 255, .8); }
.pt-back:active, .pt-next:active { transform: scale(.97); }
@media (max-width: 860px) {
.player.sx .pane-mem .mem { padding: 56px 14px 14px; }
.player.sx .world > .story-out { width: auto; height: auto; min-height: 150px; }
.player.sx .story svg.scene { width: 100%; }
}
@media (max-width: 720px) { .pp-right { max-width: none; } }
@media (max-width: 600px) {
:is(body.player-page, .pp-embed) .player .controls .btn.step-btn span, :is(body.player-page, .pp-embed) .player .controls .btn.style-btn span { display: none; }
:is(body.player-page, .pp-embed) .player .controls .btn.step-btn, :is(body.player-page, .pp-embed) .player .controls .btn.style-btn { padding: 0 11px; }
.player.sx .bar-exec { display: none; }
}
@media (prefers-reduced-motion: reduce) {
.pp-skel .sk { animation: skFade 1.6s ease-in-out infinite; background-image: none; }
.sk-orbit, .sk-bit, .player.sx .bar-bit, .pt-ring, .player.sx .world > .story-out .pane-t::before { animation: none; }
.pt-card.pop { animation: none; }
.sx-thumb, .pp-theme-thumb, .pt-ring, .pt-card, .player.sx { transition: none; }
}
@keyframes skFade { 50% { opacity: .55; } }
.pp-wm { position: absolute; left: calc(var(--code-w, 30vw) + 28px); right: calc(var(--out-w, 22vw) + 28px); bottom: 10px; z-index: 2; text-align: center; font: 600 11.5px var(--font); letter-spacing: .02em; color: var(--text); opacity: .28; pointer-events: none; user-select: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 860px) { .pp-wm { position: static; display: block; padding: 4px 10px; text-align: center; } }
.pp-foot { flex: none; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 6px 18px 8px; border-top: 1px solid var(--border); background: var(--surface); color: var(--faint); font: 500 11.5px var(--font); }
.pp-foot a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pp-foot a:hover { color: var(--az-violet); }
@media (max-width: 860px) { .pp-foot { justify-content: center; text-align: center; } }
.sx-switch .sx-split-btn { display: inline-flex; align-items: center; gap: 6px; }
.sx-switch .sx-split-btn::before { content: ""; width: 14px; height: 11px; border: 2px solid currentColor; border-radius: 3px; background: linear-gradient(90deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px)); opacity: .85; }
@media (max-width: 1023px) { .sx-switch .sx-split-btn { display: none; } }
@media (min-width: 1024px) {
.player.sx.sx-split { --open-l: var(--code-w); --half: calc((100% - var(--open-l)) / 2); }
.player.sx.sx-split .pane-story { left: var(--open-l); right: auto; width: var(--half); }
.player.sx.sx-split .pane-mem { left: calc(var(--open-l) + var(--half)); right: 0; border-left: 2px dashed var(--border-strong); }
.player.sx.sx-split .story svg.scene { left: 8px; top: 64px; width: calc(100% - 16px); height: calc(100% - 120px); }
.player.sx.sx-split .story .real { left: 12px; right: 12px; }
.player.sx.sx-split .pane-mem .mem { padding: 64px 18px clamp(190px, 36vh, 340px) 18px; overflow-x: hidden; }
.player.sx.sx-split .pane-story::after, .player.sx.sx-split .pane-mem::after { position: absolute; top: 18px; left: 16px; z-index: 2; padding: 3px 10px; border-radius: 999px; font: 800 11px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--az-indigo, #4F32D6); background: var(--az-tint, rgba(108, 71, 255, .12)); pointer-events: none; }
.player.sx.sx-split .pane-story::after { content: "Real Life"; }
.player.sx.sx-split .pane-mem::after { content: "Memory"; }
:root[data-theme="dark"] .player.sx.sx-split .pane-story::after, :root[data-theme="dark"] .player.sx.sx-split .pane-mem::after { color: #C9BEFF; }
}
@media (min-width: 861px) {
.player.sx .pane-code, .player.sx .world > .pane-code { left: 0; top: 0; bottom: 0; width: var(--code-w); border: 0; border-right: 1px solid var(--border); border-radius: 0; box-shadow: none; padding-bottom: 0; }
:root[data-theme="dark"] .player.sx .pane-code, :root[data-theme="dark"] .player.sx .world > .pane-code { box-shadow: none; border-right: 1px solid var(--border); }
.player.sx .pane-mem { left: var(--code-w); }
.player.sx .pane-mem .mem { padding: 70px calc(var(--out-w) + 40px) 34vh 32px; overflow: auto; overscroll-behavior: contain; cursor: grab; scrollbar-width: thin; scrollbar-color: rgba(108, 71, 255, .4) transparent; }
.player.sx .pane-mem .mem.panning { cursor: grabbing; user-select: none; }
.player.sx.memv2 .pane-mem .mem.mem-canvas, .player.sx .pane-mem .mem.mem-canvas { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; align-content: flex-start; gap: 22px; padding: calc(70px + 45vh) 40px 40px calc(32px + 45vw); }
.player.sx .pane-mem .mem.mem-canvas > .frame { flex: none; margin: 0; }
.player.sx .pane-mem .mem.mem-canvas:has(> .mem-empty) { padding: 0; justify-content: center; align-items: center; }
.player.sx .pane-mem .mem :is(button, a, input, select) { cursor: pointer; }
.player.sx .pane-mem .mem::-webkit-scrollbar { width: 10px; height: 10px; }
.player.sx .pane-mem .mem::-webkit-scrollbar-thumb { background: rgba(108, 71, 255, .35); border-radius: 99px; border: 2px solid transparent; background-clip: padding-box; }
.player.sx .story svg.scene { left: calc(var(--code-w) + 36px); }
.player.sx .story .real { left: calc(var(--code-w) + 24px); }
}
.player.sx .controls .btn.step-btn { padding: 0; width: 44px; justify-content: center; }
@media (max-width: 600px) { :is(body.player-page, .pp-embed) .player .controls .count, .player.sx .controls .count { display: none; } }
.pp-settings .ps-item:hover { transform: none; }
.pp-settings .ps-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--text); }
.pp-settings .ps-item:hover .ps-ic { background: rgba(108, 71, 255, .12); color: #6C47FF; }
.pst-opts button:hover { transform: none; }
.pst-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--surface); color: var(--muted); }
.pst-opts button[aria-checked="true"] .pst-ic { background: rgba(108, 71, 255, .12); }
:is(body.player-page, .pp-embed) .player .controls .btn .ui-i { width: 20px; height: 20px; }
:is(body.player-page, .pp-embed) .player .controls .btn.voice-btn:not(.on) .ui-i { color: var(--muted); }
.pp-theme.pp-theme-key { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); transition: background-color .15s, border-color .15s; }
.pp-theme.pp-theme-key:hover { background: var(--surface-2); border-color: #CFC6F5; }
:root[data-theme="dark"] .pp-theme.pp-theme-key:hover { border-color: #4A3FA0; }
.pp-theme-key .li-moon, :root[data-theme="dark"] .pp-theme-key .li-sun { display: none; }
:root[data-theme="dark"] .pp-theme-key .li-moon { display: inline-block; }
body.present .player .code .ln { font-size: calc(var(--code-fs, 15px) * 1.35) !important; line-height: 1.6; }
body.present .player.sx > .say { font-size: clamp(20px, 1.7vw, 28px); line-height: 1.45; padding-top: 10px; padding-bottom: 12px; }
body.present .pp-foot { display: none; }
body.present .player .controls .btn { min-height: 46px; }
body.present .player .mem { font-size: 1.1em; }
.disc-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 700 14px var(--font); cursor: pointer; transition: background-color .15s, border-color .15s; }
.disc-btn:hover, .disc-btn[aria-expanded="true"] { background: rgba(108, 71, 255, .1); border-color: rgba(108, 71, 255, .4); color: #5535E8; }
:root[data-theme="dark"] .disc-btn:hover, :root[data-theme="dark"] .disc-btn[aria-expanded="true"] { color: #C9BEFF; }
.disc-btn:focus-visible { outline: 2px solid #6C47FF; outline-offset: 2px; }
.disc-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #6C47FF; color: #fff; font: 800 11.5px/20px var(--font); text-align: center; }
.disc-n[hidden] { display: none; }
.disc { position: fixed; z-index: 60; top: var(--disc-top, 56px); right: 0; bottom: 0; width: var(--disc-w); display: flex; flex-direction: column; background: var(--surface); border-left: 1px solid var(--border); box-shadow: -18px 0 40px -28px rgba(40, 24, 120, .45); animation: discIn .2s ease-out; }
.disc[hidden] { display: none; }
@keyframes discIn { from { transform: translateX(16px); opacity: 0; } to { transform: none; opacity: 1; } }
:root { --disc-w: min(400px, 92vw); }
@media (min-width: 861px) { .disc { top: calc(var(--disc-top, 56px) + 10px); right: 12px; bottom: var(--disc-bottom, 12px); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(40, 24, 120, .45), 0 2px 8px rgba(40, 24, 120, .08); } }
.disc-h { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.disc-h b { display: inline-flex; align-items: center; gap: 7px; font: 800 16px var(--font); }
.disc-total { color: var(--muted); font-weight: 700; }
.disc-x { margin-left: auto; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.disc-x:hover { background: var(--surface-2); color: var(--text); }
.disc-f { display: flex; gap: 4px; padding: 10px 14px 6px; }
.disc-f button { border: 1px solid var(--border); background: var(--surface); color: var(--muted); border-radius: 99px; padding: 5px 12px; font: 700 13px var(--font); cursor: pointer; }
.disc-f button[aria-selected="true"] { background: rgba(108, 71, 255, .12); border-color: rgba(108, 71, 255, .4); color: #5535E8; }
:root[data-theme="dark"] .disc-f button[aria-selected="true"] { color: #C9BEFF; }
.disc-list { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 6px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.disc-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--muted); padding: 30px 10px; }
.disc-empty b { color: var(--text); font-size: 15px; }
.disc-empty .ui-i { color: #6C47FF; opacity: .6; }
.disc-err { color: #C2333B; font-weight: 700; }
.disc-c { border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px; background: var(--surface); }
.disc-c.verified { border-color: rgba(16, 185, 129, .55); }
.disc-c.hidden, .disc-r.hidden { opacity: .55; }
.disc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.disc-av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #6C47FF; color: #fff; font: 800 11px var(--font); flex: none; }
.disc-time { color: var(--muted); font-size: 12px; }
.disc-tags { display: inline-flex; gap: 4px; flex-wrap: wrap; width: 100%; margin-top: 2px; }
.disc-tag { padding: 2px 8px; border-radius: 99px; font: 700 11.5px var(--font); background: var(--surface-2); color: var(--muted); }
.disc-tag.t-doubt { background: rgba(108, 71, 255, .1); color: #5535E8; }
.disc-tag.t-tip { background: rgba(245, 158, 11, .14); color: #A16207; }
.disc-tag.t-bug { background: rgba(229, 72, 77, .12); color: #B91C1C; }
:root[data-theme="dark"] .disc-tag.t-doubt { color: #C9BEFF; } :root[data-theme="dark"] .disc-tag.t-tip { color: #FCD34D; } :root[data-theme="dark"] .disc-tag.t-bug { color: #FCA5A5; }
.disc-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; font: 800 11.5px var(--font); }
.disc-badge.v { background: rgba(16, 185, 129, .14); color: #047857; }
.disc-badge.h { background: rgba(108, 71, 255, .1); color: #5535E8; }
.disc-badge.x { background: rgba(229, 72, 77, .12); color: #B91C1C; }
:root[data-theme="dark"] .disc-badge.v { color: #6EE7B7; } :root[data-theme="dark"] .disc-badge.h { color: #C9BEFF; }
.disc-body { margin: 6px 0 4px; font-size: 14.5px; line-height: 1.55; color: var(--text); overflow-wrap: anywhere; }
.disc-step { border: 0; background: none; padding: 0; color: #5535E8; font: inherit; font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
:root[data-theme="dark"] .disc-step { color: #B4A5FF; }
.disc-step.disc-chip { padding: 2px 8px; border-radius: 99px; background: rgba(108, 71, 255, .1); font-size: 11.5px; text-decoration: none; }
.disc-step:hover { color: #4F32D6; }
.disc-acts { display: flex; flex-wrap: wrap; gap: 2px; margin: 2px -6px 0; }
.disc-act { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; color: var(--muted); font: 700 12.5px var(--font); padding: 4px 6px; border-radius: 8px; cursor: pointer; }
.disc-act:hover { background: var(--surface-2); color: var(--text); }
.disc-act.on { color: #5535E8; }
:root[data-theme="dark"] .disc-act.on { color: #C9BEFF; }
.disc-act .disc-up { transform: rotate(180deg); }
.disc-act.adm { color: #047857; }
.disc-replies { margin: 8px 0 0 12px; padding-left: 12px; border-left: 2px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.disc-r.verified { border-left: 3px solid #10B981; padding-left: 8px; margin-left: -14px; }
.disc-r.helped .disc-body { font-weight: 600; }
.disc-compose { border-top: 1px solid var(--border); padding: 10px 14px 12px; background: var(--surface); }
.disc-compose:empty { display: none; }
.disc-form { display: flex; flex-direction: column; gap: 8px; }
.disc-form.reply { margin-top: 8px; }
.disc-form textarea, .disc-editf textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 60px; font: 500 14px/1.5 var(--font); color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 9px 11px; }
.disc-form textarea:focus, .disc-editf textarea:focus { outline: 2px solid #6C47FF; outline-offset: 0; border-color: transparent; }
.disc-tagpick { display: flex; gap: 4px; flex-wrap: wrap; }
.disc-tagpick button { border: 1px solid var(--border); background: var(--surface); color: var(--muted); border-radius: 99px; padding: 4px 10px; font: 700 12.5px var(--font); cursor: pointer; }
.disc-tagpick button[aria-checked="true"] { background: rgba(108, 71, 255, .12); border-color: rgba(108, 71, 255, .45); color: #5535E8; }
:root[data-theme="dark"] .disc-tagpick button[aria-checked="true"] { color: #C9BEFF; }
.disc-form-f, .disc-editf > div { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.disc-count { margin-right: auto; color: var(--muted); font-size: 12px; }
.disc-count.over { color: #C2333B; font-weight: 800; }
.disc-mini { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 800 13px var(--font); cursor: pointer; text-decoration: none; white-space: nowrap; }
.disc-mini.primary { background: #6C47FF; border-color: #6C47FF; color: #fff; }
.disc-mini.primary:hover { background: #5A36F0; }
.disc-editf { display: flex; flex-direction: column; gap: 6px; margin: 6px 0; }
.disc-gate { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.disc-gate span { flex: 1 1 180px; }
.disc-dots { position: absolute; height: 6px; pointer-events: none; z-index: 2; }
.disc-dots i { position: absolute; top: 0; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #F59E0B; box-shadow: 0 0 0 2px var(--surface); }
.player .controls { position: relative; }
.disc-ln { margin-left: 8px; border: 0; padding: 1px 4px; border-radius: 6px; background: rgba(245, 158, 11, .16); color: #B45309; cursor: pointer; vertical-align: middle; line-height: 0; }
.disc-ln:hover { background: rgba(245, 158, 11, .3); }
@media (max-width: 860px) {
.disc, body.player-page:not(.vz-page) .disc { top: auto; left: 0; right: 0; width: auto; height: min(72vh, 620px); border-left: 0; border-top: 1px solid var(--border); border-radius: 20px 20px 0 0; box-shadow: 0 -18px 40px -20px rgba(40, 24, 120, .5); animation-name: discUp; }
@keyframes discUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.disc-btn .disc-btn-l { display: none; }
.disc-btn { padding: 0 9px; }
}
@media (prefers-reduced-motion: reduce) { .disc { animation: none; } }
.disc-btn .disc-btn-l { display: none; }
@media (min-width: 1500px) { body:not(.vz-page) .disc-btn .disc-btn-l { display: inline; } }
.vz-page .player.sx .pane-code > .pane-h { padding: 6px 12px; min-height: 0; }
.vz-page .player.sx .pane-code > .pane-h .zoom button { padding-top: 2px; padding-bottom: 2px; }
.vz-page .player.sx .pane-code > .pane-h .pill { padding-top: 3px; padding-bottom: 3px; }
.vz-page .player.sx .pane-code .pane-sub { font-size: 11px; }
.player {
--trail-act: rgba(91, 61, 245, .12); --trail-vis: rgba(91, 61, 245, .045); --trail-ok: #10B981;
--canvas-bg: #F6F4FF;
}
:root[data-theme="dark"] .player { --trail-act: rgba(129, 140, 248, .18); --trail-vis: rgba(139, 92, 246, .08); --canvas-bg: #0F111A; }
.player .ln .tk { flex: none; position: relative; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: var(--line-h); margin-right: -6px; font: 700 12px/var(--line-h) var(--font); user-select: none; pointer-events: none; }
.player .ln .tk-ok { font-style: normal; color: var(--trail-ok); opacity: 0; }
.player .ln.vis .tk-ok { opacity: 1; }
.player .ln .tk.has-eyes .tk-ok { visibility: hidden; }
.player .ln.vis { background: var(--trail-vis); }
.player .ln.on { background: var(--trail-act); box-shadow: inset 2px 0 0 #5B3DF5; }
.player .ln:not(.on):not(.vis) .no { color: #94A3B8; }
.player .ln.ln-err { background: #FEF2F2; box-shadow: inset 2px 0 0 #EF4444; }
.player .ln.ln-err .tk:not(.has-eyes) .tk-ok { opacity: 1; color: #EF4444; font-size: 0; }
.player .ln.ln-err .tk:not(.has-eyes) .tk-ok::after { content: '\2717'; font-size: 12px; }
:root[data-theme="dark"] .player .ln.ln-err { background: rgba(127, 29, 29, .35); }
:root[data-theme="dark"] .player .ln .tk-ok { --trail-ok: #34D399; }
.player .eyes-cursor { position: absolute; left: 0; top: 50%; width: 22px; height: 15px; transform: translateY(-50%); pointer-events: none; }
.player .eyes-cursor svg { display: block; width: 100%; height: 100%; overflow: visible; }
.player .eyes-cursor .az-eye { transform-box: fill-box; }
.player .eyes-cursor.alert svg { transform: scale(1.08); }
.player .eyes-cursor.alert .az-eye circle:first-child, .player .eyes-cursor.alert path { stroke: #EF4444; }
.player .run-status { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; margin-right: 8px; font: 600 11.5px var(--font); color: var(--muted); white-space: nowrap; }
.player .phase-badge { padding: 2px 7px; border-radius: 6px; font: 800 10px/1.5 var(--font); letter-spacing: .08em; background: #EDE9FE; color: #5B3DF5; }
.player .phase-badge[data-phase="before"] { background: #F1F5F9; color: #475569; }
.player .phase-badge[data-phase="after"] { background: #CCFBF1; color: #0F766E; }
:root[data-theme="dark"] .player .phase-badge { background: rgba(129, 140, 248, .2); color: #C7D2FE; }
:root[data-theme="dark"] .player .phase-badge[data-phase="after"] { background: rgba(45, 212, 191, .18); color: #5EEAD4; }
.player .code-tools button[data-tool="reset"], .player.sx .code-tools button[data-tool="reset"] { display: none; }
.player .say.say-strip code { background: #EDE9FE; color: #3B2A9E; border-radius: 5px; padding: 0 4px; }
:root[data-theme="dark"] .player .say.say-strip code { background: rgba(129, 140, 248, .22); color: #E0E7FF; }
.player .why-btn { margin-left: 6px; padding: 1px 9px; border-radius: 99px; border: 1px solid #C4B5FD; background: transparent; color: #5B3DF5; font: 700 11.5px/1.6 var(--font); cursor: pointer; vertical-align: 1px; }
.player .why-btn[aria-expanded="true"] { background: #5B3DF5; border-color: #5B3DF5; color: #fff; }
.player .why-note { display: block; margin-top: 6px; font-size: .88em; color: var(--muted); }
.player .scrub-ticks { position: absolute; height: 6px; pointer-events: none; z-index: 1; }
.player .scrub-ticks i { position: absolute; top: 0; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; opacity: .9; }
.player .scrub-hover { position: absolute; transform: translateX(-50%); padding: 3px 8px; border-radius: 7px; background: #1E293B; color: #fff; font: 600 11px/1.4 var(--font); white-space: nowrap; pointer-events: none; z-index: 5; }
.player .scrub-blocks { position: absolute; height: 4px; pointer-events: none; z-index: 1; }
.player .scrub-blocks i { position: absolute; top: 0; height: 4px; border-radius: 2px; min-width: 2px; }
.player .scrub-blocks .sb-loop { background: rgba(13, 148, 136, .5); }
.player .scrub-blocks .sb-call { background: rgba(108, 71, 255, .5); }
.player .scrub-blocks .sb-inner { top: 1px; height: 2px; background: rgba(91, 61, 245, .85); }
.player .scrub-blocks .sb-flash { top: -2px; height: 8px; background: rgba(245, 158, 11, .6); }
:root[data-theme="dark"] .player .scrub-blocks .sb-loop { background: rgba(45, 212, 191, .55); }
:root[data-theme="dark"] .player .scrub-blocks .sb-call { background: rgba(164, 139, 255, .6); }
:root[data-theme="dark"] .player .scrub-blocks .sb-inner { background: rgba(196, 181, 253, .9); }
.player .count-jump { cursor: pointer; border-radius: 8px; padding: 2px 6px; }
.player .count-jump:hover, .player .count-jump:focus-visible { background: #F3F0FF; outline: none; }
:root[data-theme="dark"] .player .count-jump:hover { background: rgba(129, 140, 248, .18); }
.player .count-in { width: 4.2em; font: 600 13px var(--mono); padding: 1px 4px; border-radius: 6px; border: 1.5px solid #5B3DF5; background: var(--surface); color: inherit; }
.player .cue-btn svg { width: 18px; height: 18px; }
.player .cue-btn[aria-pressed="true"] { color: #5B3DF5; }
.player .pane-mem { position: relative; }
.player .cam-pill, .player .canvas-tools { position: absolute; z-index: 6; display: flex; align-items: center; gap: 2px; padding: 3px; background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; box-shadow: 0 2px 8px rgba(15, 23, 42, .06); }
.player .cam-pill { left: 12px; bottom: 12px; }
.player .canvas-tools { left: 50%; bottom: 12px; transform: translateX(-50%); }
.player .pane-mem.cam-narrow .canvas-tools { left: 12px; bottom: 56px; transform: none; }
.player .cam-pill button, .player .canvas-tools button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 28px; height: 28px; padding: 0 6px; border: 0; border-radius: 7px; background: transparent; color: #334155; font: 600 12px var(--font); cursor: pointer; }
.player .cam-pill button:hover, .player .canvas-tools button:hover { background: #F1F5F9; }
.player .cam-pill .cam-pct { min-width: 46px; font-family: var(--mono); }
.player .cam-pill svg, .player .canvas-tools svg { width: 16px; height: 16px; }
.player .canvas-tools svg path, .player .canvas-tools svg circle { vector-effect: non-scaling-stroke; }
.player .cam-div { width: 1px; height: 18px; margin: 0 3px; background: #E2E8F0; }
.player .cam-pill.yielded .cam-reset { background: #EDE9FE; color: #5B3DF5; }
.player .canvas-tools [aria-pressed="true"]:not([data-ink]) { background: #EDE9FE; color: #5B3DF5; }
.player .canvas-tools .ct-inks { display: none; align-items: center; gap: 2px; }
.player .canvas-tools.pen-on .ct-inks { display: inline-flex; }
.player .canvas-tools [data-ink] { min-width: 20px; width: 20px; height: 20px; padding: 0; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px #fff; }
.player .canvas-tools [data-ink][aria-pressed="true"] { outline: 2px solid var(--c); outline-offset: 1px; }
.player .canvas-tools [data-ink]:hover { background: var(--c); }
.player .canvas-tools .ct-w { font-family: var(--mono); }
:root[data-theme="dark"] .player .cam-pill, :root[data-theme="dark"] .player .canvas-tools, :root[data-theme="dark"] .player .ann-pop { background: #1A1D29; border-color: #2B3042; color: #CBD5E1; }
:root[data-theme="dark"] .player .cam-pill button, :root[data-theme="dark"] .player .canvas-tools button { color: #CBD5E1; }
:root[data-theme="dark"] .player .cam-pill button:hover, :root[data-theme="dark"] .player .canvas-tools button:not([data-ink]):hover { background: #252A3A; }
:root[data-theme="dark"] .player .cam-div { background: #2B3042; }
.player .ann-layer { position: absolute; z-index: 4; overflow: hidden; pointer-events: none; }
.player .ann-layer.hidden .ann-world { visibility: hidden; }
.player .ann-layer[data-tool="pen"], .player .ann-layer[data-tool="sticky"], .player .ann-layer[data-tool="eraser"] { pointer-events: auto; cursor: crosshair; }
.player .ann-layer[data-tool="select"] .ann-item:not(.off) { pointer-events: auto; cursor: move; }
.player .ann-layer:not([data-tool]) .ann-note:not(.off), .player .ann-layer[data-tool="none"] .ann-note:not(.off) { pointer-events: auto; cursor: text; }
.player .ann-layer[data-tool="eraser"] .ann-item:not(.off) { pointer-events: auto; cursor: not-allowed; }
.player .ann-world { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; }
.player .ann-ink { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; }
.player .ann-note { position: absolute; min-height: 44px; padding: 10px 12px; border-radius: 4px 4px 4px 12px; box-shadow: 0 4px 12px rgba(15, 23, 42, .10); color: #1E293B; font: 500 13px/1.4 var(--font); white-space: pre-wrap; outline: none; }
.player .ann-note.sel { outline: 2px solid #5B3DF5; outline-offset: 2px; }
.player .ann-note.editing { cursor: text !important; user-select: text; -webkit-user-select: text; outline: 2px solid #5B3DF5; outline-offset: 2px; box-shadow: 0 0 0 6px rgba(91, 61, 245, .18), 0 6px 16px rgba(15, 23, 42, .14); caret-color: #5B3DF5; }
.player .ann-ink path.sel { filter: drop-shadow(0 0 2px #5B3DF5); }
.player .ann-item.off { pointer-events: none !important; }
.player .ann-pop { position: absolute; z-index: 7; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 460px; padding: 6px 8px; background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; box-shadow: 0 6px 18px rgba(15, 23, 42, .12); font: 600 12px var(--font); color: #334155; }
.player .ann-pop input { width: 4em; padding: 2px 4px; border: 1px solid #CBD5E1; border-radius: 6px; font: 600 12px var(--mono); }
.player .ann-presets { display: inline-flex; gap: 4px; }
.player .ann-pop button { padding: 3px 8px; border: 1px solid #E2E8F0; border-radius: 7px; background: #F8FAFC; font: 600 11.5px var(--font); color: #334155; cursor: pointer; }
.player .ann-pop .ann-del { color: #EF4444; }
.player .ann-pop[data-side="above"]::after, .player .ann-pop[data-side="below"]::after { content: ""; position: absolute; left: 18px; width: 10px; height: 10px; background: inherit; border: inherit; transform: rotate(45deg); }
.player .ann-pop[data-side="above"]::after { bottom: -6px; border-top: 0; border-left: 0; }
.player .ann-pop[data-side="below"]::after { top: -6px; border-bottom: 0; border-right: 0; }
:root[data-theme="dark"] .player .ann-pop input { background: #0F111A; border-color: #2B3042; color: #E2E8F0; }
:root[data-theme="dark"] .player .ann-pop button { background: #252A3A; border-color: #2B3042; color: #CBD5E1; }
.player .ann-clamp { color: #B45309; }
@media (max-width: 639px) { .player .canvas-tools { display: none; } .player .cam-pill .cam-reset span { display: none; } .player .run-status .run-step { display: none; } }
@media (prefers-reduced-motion: reduce) { .player .eyes-cursor .az-pupil { transform: none !important; } }
.player.sx .pane-code { container-type: inline-size; --code-bg: #fff; }
:root[data-theme="dark"] .player.sx .pane-code { --code-bg: #0E101A; }
@container (max-width: 480px) { .player.sx .pane-code .run-status .run-step { display: none; } }
@container (max-width: 370px) { .player.sx .pane-code .run-status { display: none; } }
.player.sx .code .ln { width: max-content; min-width: 100%; box-sizing: border-box; column-gap: 14px; }
.player.sx .code .ln .tk { position: sticky; left: 4px; z-index: 3; margin-left: -26px; margin-right: -10px; }
.player.sx .code .ln .no { position: sticky; left: 0; z-index: 1; margin-left: -30px; padding-left: 30px; padding-right: 14px; margin-right: -14px; box-sizing: content-box; background: var(--code-bg); }
.player.sx .code .ln.vis:not(.on) .no { background: linear-gradient(var(--trail-vis), var(--trail-vis)), var(--code-bg); }
.player.sx .code .ln.on { background: transparent; }
.player.sx .code .bar { --pill: rgba(108, 71, 255, .16); --pill-line: rgba(108, 71, 255, .55);
background: linear-gradient(90deg, var(--pill) 0, var(--pill) 96px, rgba(20, 184, 166, .10) 100%); box-shadow: inset 0 0 0 1.5px var(--pill-line); }
.player.sx .code .bar.is-true { --pill: rgba(16, 185, 129, .18); --pill-line: rgba(16, 185, 129, .6); background: linear-gradient(90deg, var(--pill) 0, var(--pill) 96px, rgba(34, 211, 238, .10) 100%); }
.player.sx .code .bar.is-false { --pill: rgba(239, 68, 68, .14); --pill-line: rgba(239, 68, 68, .5); background: linear-gradient(90deg, var(--pill) 0, var(--pill) 96px, rgba(245, 158, 11, .08) 100%); }
.player.sx .code .ln.on .no { z-index: 2; font-weight: 800; border-radius: 8px 0 0 8px; --pill: rgba(108, 71, 255, .16); --pill-line: rgba(108, 71, 255, .55);
background: linear-gradient(var(--pill), var(--pill)), var(--code-bg);
box-shadow: inset 1.5px 0 0 var(--pill-line), inset 0 1.5px 0 var(--pill-line), inset 0 -1.5px 0 var(--pill-line); }
.player.sx .code:has(.bar.is-true) .ln.on .no { --pill: rgba(16, 185, 129, .18); --pill-line: rgba(16, 185, 129, .6); }
.player.sx .code:has(.bar.is-false) .ln.on .no { --pill: rgba(239, 68, 68, .14); --pill-line: rgba(239, 68, 68, .5); }
.player.sx .code .ln.ln-err .no { color: #DC2626; border-radius: 8px 0 0 8px; background: linear-gradient(#FEF2F2, #FEF2F2), var(--code-bg); box-shadow: inset 1.5px 0 0 #EF4444, inset 0 1.5px 0 rgba(239, 68, 68, .5), inset 0 -1.5px 0 rgba(239, 68, 68, .5); }
:root[data-theme="dark"] .player.sx .code .ln.ln-err .no { color: #FCA5A5; background: linear-gradient(rgba(127, 29, 29, .35), rgba(127, 29, 29, .35)), var(--code-bg); }
.player.sx .code-resize { display: none; }
@media (min-width: 861px) {
.player.sx .code-resize { display: block; position: absolute; top: 0; bottom: 0; left: calc(var(--code-w) - 5px); width: 10px; z-index: 6; cursor: col-resize; touch-action: none; outline: none; }
.player.sx .code-resize::after { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: transparent; transition: background .15s; }
.player.sx .code-resize::before { content: ""; position: absolute; left: 2px; top: 50%; width: 6px; height: 34px; margin-top: -17px; border-radius: 4px; background: radial-gradient(circle, rgba(108, 71, 255, .55) 1.2px, transparent 1.6px) 0 0 / 6px 7px; opacity: .55; transition: opacity .15s; }
.player.sx .code-resize:hover::after, .player.sx .code-resize.dragging::after, .player.sx .code-resize:focus-visible::after { background: #6C47FF; }
.player.sx .code-resize:hover::before, .player.sx .code-resize.dragging::before { opacity: 1; }
.player.sx.code-resizing, .player.sx.code-resizing * { cursor: col-resize !important; user-select: none !important; }
}
@media (max-width: 767px) {
body.player-page:not(.vz-page):not(.present) { padding-bottom: var(--pp-dock, calc(112px + env(safe-area-inset-bottom))); }
body.player-page:not(.vz-page):not(.present) #player.player > .controls {
position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; margin: 0; border-radius: 0;
display: grid !important; grid-template-columns: repeat(7, auto) minmax(0, 1fr) auto;
grid-template-areas: "scrub scrub scrub scrub scrub scrub count count count" "prev play next restart speed voice lang . set";
column-gap: 4px; row-gap: 6px; align-items: center; flex-wrap: nowrap;
background: #FFFFFF; border: 0; border-top: 1px solid #E2E8F0; box-shadow: 0 -6px 18px -14px rgba(15, 23, 42, .35);
padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}
:root[data-theme="dark"] body.player-page:not(.vz-page) #player.player > .controls { background: #0F111A; border-top-color: #2B3042; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > :is([data-act="prev"]) { grid-area: prev; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > [data-act="play"] { grid-area: play; min-width: 46px; padding: 0 10px; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > [data-act="play"] span { display: none; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > [data-act="next"] { grid-area: next; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > [data-act="restart"] { grid-area: restart; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > .uis-btn.speed { grid-area: speed; height: 36px; min-width: 0; padding: 0 6px; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > .voice-btn { grid-area: voice; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > .uis-btn.lang { grid-area: lang; height: 36px; min-width: 0; padding: 0 6px; font-size: 12px; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > .set-btn { grid-area: set; justify-self: end; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > .scrub { grid-area: scrub; width: 100%; margin: 0; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > .count { grid-area: count; display: inline-flex !important; align-items: center; justify-self: end; height: 28px; padding: 0 8px; font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > .btn { min-width: 36px; width: 36px; height: 36px; padding: 0; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > [data-act="play"].btn { width: auto; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > :is(.full-btn, .cue-btn, .step-pair, .voice-note) { display: none !important; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > .pp-settings { right: 10px; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > .uis-btn .uis-chev { display: none; }
}
@media (max-width: 380px) {
body.player-page:not(.vz-page):not(.present) #player.player > .controls { column-gap: 3px; padding-left: 8px; padding-right: 8px; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > .btn { min-width: 34px; width: 34px; height: 34px; }
body.player-page:not(.vz-page):not(.present) #player.player > .controls > [data-act="play"].btn { width: auto; min-width: 42px; }
}
.player .pane-code .ph-copy { display: none; }
@media (max-width: 767px) {
.player.sx .pane-code .ph-copy { display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex: none; height: 28px; min-width: 30px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font: 600 12px var(--font); cursor: pointer; }
.player.sx .pane-code .ph-copy:hover, .player.sx .pane-code .ph-copy:focus-visible { color: #5B3DF5; border-color: #C4B5FD; }
.player.sx .pane-code .ph-copy svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.player.sx .pane-code .code-tools { display: none; }
}
@media (max-width: 400px) { .player.sx .pane-code .ph-copy span { display: none; } .player.sx .pane-code .ph-copy { padding: 0; width: 30px; } }
@media (max-width: 767px) { .player.sx .pane-code > .pane-h .run-status { display: none; } }
.disc-c.disc-focus { box-shadow: 0 0 0 2px #5B3DF5, 0 0 0 6px rgba(91, 61, 245, .18); border-radius: 12px; transition: box-shadow .3s ease; }
@media (prefers-reduced-motion: reduce) { .disc-c.disc-focus { transition: none; } }
