/* Офис-комикс */
.ap-row[data-kind="comic"] .media-glow { background: radial-gradient(closest-side, rgba(226,54,54,.42), rgba(245,166,35,.2) 60%, transparent); }
.mk-comic { padding: 0; background: #0b0b12; color: #111; --ink: #111; font-family: "Arial Narrow", "Trebuchet MS", system-ui, sans-serif; }
.mk-comic::before { display:none; content: ""; position: absolute; inset: 0; background: radial-gradient(#0002 1.2px, transparent 1.6px) 0 0/8px 8px; pointer-events: none; }
.mk-comic [data-comic] { position: absolute; inset: 44px 0 0; display: flex; flex-direction: column; gap: 8px; padding: 6px 10px 12px; overflow: hidden; }
.cm-in { animation: cmIn .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes cmIn { from { opacity: 0; transform: scale(.94) rotate(-1deg); } }
.cm-panel { position: relative; border: 3.5px solid var(--ink); background: #fff; box-shadow: 4px 4px 0 var(--ink); flex: 0 0 auto; transform: rotate(-.6deg); }
.cm-art { display: block; width: 100%; height: 150px; }
.cm-fx { position: absolute; top: 8px; left: 8px; font: 900 italic 19px/1 Impact, "Arial Black", sans-serif; letter-spacing: .02em; color: #ffe14a; -webkit-text-stroke: 1.4px var(--ink); text-shadow: 2px 2px 0 var(--ink); transform: rotate(-6deg); }
.cm-no { position: absolute; top: 0; right: 0; background: var(--ink); color: #fff; font: 800 10px/1 sans-serif; padding: 3px 6px; }
.cm-cap { margin: 0; font: 700 11.5px/1.25 "Trebuchet MS", sans-serif; background: #ffe14a; border-top: 3px solid var(--ink); padding: 6px 8px; }
.cm-panel .cm-cap { display: block; }
.cm-say { position: absolute; right: 8px; top: 56px; max-width: 58%; margin: 0; background: #fff; border: 3px solid var(--ink); border-radius: 14px; padding: 5px 9px; font: 900 11.5px/1.15 "Trebuchet MS", sans-serif; text-transform: uppercase; }
.cm-say::after { content: ""; position: absolute; left: 14px; bottom: -11px; border: 6px solid transparent; border-top: 9px solid var(--ink); }
.cm-choices { display: flex; flex-direction: column; gap: 7px; }
.cm-choice { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; cursor: pointer; border: 3px solid var(--ink); background: #fff; color: var(--ink); border-radius: 4px; padding: 7px 9px; font: 800 12px/1.15 "Trebuchet MS", sans-serif; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, background .12s, box-shadow .12s; }
.cm-choice em { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e23636; color: #fff; border: 2.5px solid var(--ink); font: 900 11px/1 Impact, sans-serif; font-style: normal; }
.cm-choice:hover { background: #ffe14a; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.cm-choice:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.cm-cover, .cm-result { display: flex; flex-direction: column; gap: 9px; }
.cm-logo { font: 900 italic 38px/.9 Impact, "Arial Black", sans-serif; color: #e23636; -webkit-text-stroke: 2px var(--ink); text-shadow: 4px 4px 0 var(--ink); transform: rotate(-4deg); margin: 14px 0 6px; text-transform: uppercase; }
.cm-logo b { display: block; color: #ffe14a; font-size: 44px; }
.cm-cover .cm-cap, .cm-result p { border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.cm-result p { margin: 0; background: #fff; padding: 8px; font: 700 12px/1.3 "Trebuchet MS", sans-serif; }
.cm-burst { align-self: center; background: #e23636; color: #ffe14a; font: 900 italic 18px/1 Impact, sans-serif; padding: 8px 18px; border: 3px solid var(--ink); clip-path: polygon(0 20%, 12% 0, 30% 14%, 50% 0, 70% 14%, 88% 0, 100% 20%, 92% 50%, 100% 80%, 88% 100%, 70% 86%, 50% 100%, 30% 86%, 12% 100%, 0 80%, 8% 50%); }
.cm-result h4 { margin: 0; text-align: center; font: 900 italic 26px/1 Impact, "Arial Black", sans-serif; color: #2b6fd6; -webkit-text-stroke: 1.5px var(--ink); text-shadow: 3px 3px 0 var(--ink); text-transform: uppercase; }
.cm-bars { display: grid; gap: 5px; }
.cm-bar { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 6px; font: 800 10.5px/1 sans-serif; }
.cm-bar i { display: block; height: 10px; border: 2.5px solid var(--ink); background: #fff; position: relative; }
.cm-bar i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: #e23636; animation: cmBar .8s ease-out; }
@keyframes cmBar { from { width: 0; } }
@media (prefers-reduced-motion: reduce) { .cm-in, .cm-bar i::after { animation: none; } }
.ap-row[data-kind="comic"] .mp-status, .ap-row[data-kind="comic"] .mp-status * { color: #111 !important; fill: #111; }

.mk-comic [data-comic] { gap: 6px; padding: 4px 0 0; justify-content: flex-start; }
.cm-page { position: relative; flex: 0 0 auto; width: 100%; }
.cm-page img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.cm-start { margin: 6px 10px 0; width: calc(100% - 20px); }
.cm-start em { background: #ffe14a; color: #111; }
.cm-pick { touch-action: pan-y; cursor: pointer; }
.cm-zone { position: absolute; top: 53%; bottom: 0; border: 0; padding: 0; background: transparent; cursor: pointer; transition: box-shadow .2s, transform .2s, background .2s; outline: none; }
.cm-dim { position: absolute; left: 0; right: 0; top: 52.8%; bottom: 0; background: rgba(5, 5, 14, .66); opacity: 0; pointer-events: none; transition: opacity .2s; }
.cm-pick.has-hl .cm-dim { opacity: 1; }
.cm-zone.is-hl { z-index: 3; background: rgba(255, 225, 74, .0); box-shadow: 0 0 0 3px #ffe14a, 0 0 26px 6px rgba(255, 210, 60, .85), inset 0 0 40px rgba(255, 235, 140, .25); transform: scale(1.035); backdrop-filter: brightness(1.55) saturate(1.3); -webkit-backdrop-filter: brightness(1.55) saturate(1.3); }
.cm-zone:focus-visible { box-shadow: 0 0 0 3px #ffe14a; }
.cm-hint { margin: 0; text-align: center; color: #ffe14a; font: 800 11px/1 "Trebuchet MS", sans-serif; letter-spacing: .08em; text-transform: uppercase; animation: cmBlink 1.6s ease-in-out infinite; }
@keyframes cmBlink { 50% { opacity: .45; } }
.cm-split { display: flex; margin: 0 10px; background: #111; min-height: 190px; }
.cm-hero { flex: 0 0 38%; background-size: cover; background-position: top center; border-right: 3.5px solid var(--ink); min-height: 190px; }
.cm-side { position: relative; flex: 1; padding: 8px; background: #fff3b0; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.cm-split .cm-fx { position: static; align-self: flex-start; font-size: 22px; }
.cm-split .cm-say { position: relative; right: auto; top: auto; max-width: none; }
.mk-comic .cm-cap { margin: 0 10px; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.mk-comic .cm-choices { padding: 0 10px; }
.mk-comic .cm-bars, .mk-comic .cm-again { margin: 0 10px; width: calc(100% - 20px); }
.cm-result { flex-direction: row; gap: 8px; margin: 0 10px; }
.cm-hero-res { flex: 0 0 34%; min-height: 180px; border: 3px solid var(--ink); }
.cm-rtxt { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cm-rtxt h4 { font-size: 19px; text-align: left; }
.cm-rtxt p { font-size: 11px !important; padding: 6px !important; }
.cm-rtxt .cm-burst { font-size: 12px; padding: 6px 10px; }
.mk-comic .cm-bar { color: #fff; grid-template-columns: 82px 1fr; }
.ap-row[data-kind="comic"] .mp-status, .ap-row[data-kind="comic"] .mp-status * { color: #fff !important; fill: #fff; }
.mk-comic .cm-rtxt h4 { font-size: 15px; color: #ffe14a; -webkit-text-stroke: 1px var(--ink); text-shadow: 2px 2px 0 var(--ink); overflow-wrap: anywhere; line-height: 1.05; }
.mk-comic .cm-split .cm-fx { font-size: 20px; }
