/* SCP-04L-001: magnetofon */
.reels { display: flex; justify-content: center; gap: 60px; margin: 6px 0 14px; }
.spool { position: relative; width: 72px; height: 72px; border-radius: 50%; border: 4px solid #3a3a34; background: radial-gradient(circle, #111 0 9px, #6a5a3a 10px 30px, #1a1a18 31px); }
.spool::before, .spool::after { content: ""; position: absolute; left: 50%; top: 50%; width: 52px; height: 6px; margin: -3px 0 0 -26px; background: #1a1a18; }
.spool::after { transform: rotate(60deg); }
.reel.spin .spool { animation: spin04 1.6s linear infinite; }
@keyframes spin04 { to { transform: rotate(360deg); } }
.transcript { margin: 12px 0 0; min-height: 150px; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: #e0c89a; white-space: pre-wrap; }
.doc.flip04 { transform: rotate(180deg); }

/* SCP-04L-002: zdjęcia */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0; }
.photo { padding: 6px 6px 18px; background: #efe9dc; box-shadow: 0 6px 16px rgba(0,0,0,.6); animation: docIn .6s ease; }
.photo svg { display: block; width: 100%; height: auto; filter: sepia(.6) contrast(1.1); }
.photo span { display: block; margin-top: 4px; font-family: var(--mono); font-size: 9.5px; color: #3a352a; text-align: center; }
.guest04 { position: absolute; right: 6%; bottom: 4%; z-index: 2; width: 16%; opacity: 0; transition: opacity 6s; pointer-events: none; }
.guest04 svg { display: block; width: 100%; height: auto; }
.guest04.on { opacity: .8; }
@media (max-width: 560px) { .photos { grid-template-columns: repeat(2, 1fr); } }

/* SCP-04L-003: noc i reflektory */
.night04 { position: fixed; inset: 0; z-index: 570; pointer-events: none; background: rgba(2,4,10,0); transition: background 4s; }
.night04.on { background: rgba(2,4,10,.55); }
.lights04 { position: fixed; top: 38%; left: 0; z-index: 578; width: 100%; height: 30vh; pointer-events: none; }
.lights04 i { position: absolute; top: 0; width: 40vh; height: 30vh; border-radius: 50%; background: radial-gradient(circle, rgba(255,250,220,.55), rgba(255,240,190,.12) 45%, transparent 70%); }
.lights04 i:nth-child(2) { left: 26vh; }
.lights04.ltr { animation: sweepL 4s ease-in-out forwards; }
.lights04.rtl { animation: sweepR 4s ease-in-out forwards; }
@keyframes sweepL { from { transform: translateX(-70vh); } to { transform: translateX(110vw); } }
@keyframes sweepR { from { transform: translateX(110vw); } to { transform: translateX(-70vh); } }
.carstop04 { position: fixed; inset: 0; z-index: 790; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.62); }
.carstop04 > i { position: absolute; bottom: -10vh; width: 34vh; height: 34vh; border-radius: 50%; background: radial-gradient(circle, rgba(255,252,230,.95), rgba(255,240,190,.35) 35%, transparent 70%); transition: transform 2s ease-in, opacity 2s; }
.carstop04 > i:nth-child(1) { left: calc(50% - 30vh); }
.carstop04 > i:nth-child(2) { left: calc(50% - 4vh); }
.car-q { position: relative; max-width: 420px; margin: 20px; padding: 22px; border: 1px solid var(--line-2); background: rgba(6,8,10,.92); text-align: center; }
.car-q p { margin: 0 0 12px; }
.car-q .small { font-size: 12px; color: var(--text-dim); }
.car-q .row2 { justify-content: center; }
.carstop04.black { background: #000; }
.carstop04.black > i { display: none; }
.carstop04.go > i { transform: translateX(80vw); opacity: 0; }
.carstop04.go { background: rgba(0,0,0,0); transition: background 2s; pointer-events: none; }

/* SCP-04L-004: lustro */
.mirror04 { position: fixed; inset: 0; z-index: 960; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: #000; pointer-events: none; animation: appIn .8s ease; transition: opacity 1s; }
.m-glass { width: min(52vh, 80vw); aspect-ratio: 4 / 5; overflow: hidden; border: 10px solid #2a2620; box-shadow: inset 0 0 60px rgba(200,210,230,.1); }
.m-glass img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.8); animation: closer04 3.5s ease-in forwards; }
@keyframes closer04 { to { transform: scale(1.5); } }
.mirror04 p { font-family: var(--head); font-size: 18px; letter-spacing: .2em; color: #ddd; }
.mirror04.out { opacity: 0; }

/* SCP-04L-005: paraliż */
.para04 { position: fixed; inset: 0; z-index: 950; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, rgba(0,0,0,.25) 20%, rgba(0,0,0,.93) 75%); cursor: none; transition: opacity 1.2s; }
.para04 p { font-family: var(--head); font-size: clamp(20px, 3.5vw, 34px); letter-spacing: .14em; color: #cfd6e0; text-shadow: 0 0 20px #000; text-align: center; padding: 0 20px; }
.para04 .zm-fig { position: absolute; top: 0; left: 50%; width: 42vh; height: 42vh; transform: translateX(-50%); }
.para04 .zm-fig svg { width: 100%; height: 100%; display: block; }
.para04.out { opacity: 0; }
body.paralyzed { overflow: hidden; }

body.calm .doc.flip04 { transform: none; }
body.calm .reel.spin .spool, body.calm .m-glass img { animation: none; }
