/* SCP-005 */
.list005 { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin: 8px 0 12px; max-height: 260px; overflow-y: auto; }
.list005 .lock005 { margin: 0; padding: 8px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--mono); letter-spacing: .08em; }
.lock005 small { font-size: 9.5px; letter-spacing: .12em; color: var(--text-mute); }
.lock005:hover small { color: #000; }
.lock005.void005, .lock005.void005:hover { border-style: dashed; border-color: var(--line-2); background: transparent; color: var(--text-mute); opacity: .55; }
.lock005 em { font-style: normal; font-size: 9px; letter-spacing: .14em; color: var(--amber); }
.lock005.void005 em { color: var(--text-mute); }
.lock005:disabled { cursor: not-allowed; }
.lock005.done005b { border-color: var(--amber); color: #e8c77a; }
.lock005.done005b:hover { background: var(--amber); color: #000; }
.lock005.done005b:hover em, .lock005.done005b:hover small { color: #000; }
#o005 a { margin-left: 6px; }
#o005 .btn { display: block; margin: 10px 0 0; }
.done005 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 8px 0 12px; padding: 12px 14px; border: 1px solid var(--amber); color: var(--text); text-decoration: none !important; }
.done005 span { font-family: var(--head); font-size: 18px; letter-spacing: .1em; color: var(--accent); }
.done005 b { font-weight: 400; color: var(--text-dim); }
.done005 i { margin-left: auto; font-style: normal; font-size: 10px; letter-spacing: .18em; color: var(--amber); }

/* SCP-423 */
.list423 a { color: var(--text); }
.fred423.new423 { animation: ink423 2.4s ease; }
@keyframes ink423 { from { opacity: 0; filter: blur(2px); } }

/* SCP-303 */
.doors303 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 12px; }
.doors303 > div { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; transition: border-color .4s, background .4s; }
.doors303 b { letter-spacing: .14em; color: var(--accent); }
.doors303 span { font-size: 11px; color: var(--text-mute); }
.doors303 i { font-style: normal; color: var(--green, #6fbf85); }
.doors303 .busy303 { border-color: var(--red); background: rgba(194,29,36,.08); }
.doors303 .busy303 i { color: #ff6a6f; animation: pulse 1s infinite; }
.pager.shut303 { position: relative; }
.pager.shut303 a { cursor: not-allowed; color: var(--text-mute); border-color: #3a1a14; background: linear-gradient(rgba(200,210,210,.1), rgba(200,210,210,.03)); filter: blur(.4px); }
.stand303 { position: absolute; inset: 0; pointer-events: none; }
.stand303::before { content: ""; position: absolute; inset: -4px; background: radial-gradient(ellipse at 25% 50%, rgba(210,220,220,.2), transparent 70%); animation: fog303 4s ease-in-out infinite alternate; }
.stand303 svg { position: absolute; left: 18%; top: -12px; width: 64px; transform: rotate(180deg); filter: drop-shadow(0 3px 4px #000); animation: grip303 3.2s ease-in-out infinite; }
@keyframes grip303 { 50% { transform: rotate(180deg) translateY(-3px); } }
@keyframes fog303 { to { opacity: .35; } }
body.door303 #list a { opacity: .4; cursor: not-allowed; filter: blur(.5px); transition: opacity .6s, filter .6s; }
body.door303 .doc-bar a { color: var(--green, #6fbf85); text-shadow: 0 0 8px rgba(80,200,120,.45); }

/* SCP-372 */
.jump372 { position: fixed; z-index: 590; width: 7vh; height: 26vh; pointer-events: none; opacity: .62; filter: blur(1.2px); transition: opacity .35s; }
.jump372 svg { display: block; width: 100%; height: 100%; animation: skit372 .16s steps(2) infinite; }
@keyframes skit372 { 50% { transform: translate(2px, -3px) skewY(3deg); } }
.jump372.el { left: 0; transform: translateX(-52%); }
.jump372.er { right: 0; transform: translateX(52%) scaleX(-1); }
.jump372.et { top: 0; transform: translateY(-58%); }
.jump372.eb { bottom: 0; transform: translateY(58%) scaleY(-1); }
.jump372.ctl { top: 0; left: 0; transform: translate(-30%, -30%) rotate(-45deg); }
.jump372.ctr { top: 0; right: 0; transform: translate(30%, -30%) rotate(45deg); }
.jump372.cbl { bottom: 0; left: 0; transform: translate(-30%, 30%) rotate(-135deg); }
.jump372.cbr { bottom: 0; right: 0; transform: translate(30%, 30%) rotate(135deg); }
.jump372.fade { opacity: 0; }
.jump372.flee { opacity: 0; transition: opacity .08s; }
.trace372 { position: fixed; z-index: 585; width: 40px; height: 120px; pointer-events: none; animation: trace372 26s linear forwards; }
.trace372 svg { display: block; width: 100%; height: 100%; }
@keyframes trace372 { 0% { opacity: 0; } 4% { opacity: .9; } 100% { opacity: 0; } }

/* SCP-2256 */
.figure .fig-frame img.fade2256 { animation: fade2256 240s linear forwards; }
@keyframes fade2256 { to { opacity: .08; filter: grayscale(1) contrast(.4) brightness(1.4); } }
.fog2256 { opacity: .55; transition: opacity 1s; }
.w2256 { color: transparent !important; background: repeating-linear-gradient(90deg, rgba(160,160,150,.22) 0 2px, rgba(160,160,150,.08) 2px 5px); border-radius: 2px; filter: blur(.5px); -webkit-user-select: none; user-select: none; }
.note2256 { margin: 0 0 16px; padding: 10px 14px; border: 1px dashed var(--line-2); background: rgba(216,210,191,.04); font-family: var(--mono); font-size: 12.5px; color: var(--text-dim); }
.note2256 b { color: var(--amber); letter-spacing: .1em; }

@media (max-width: 560px) {
  .doors303 { grid-template-columns: 1fr; }
  .stand303 svg { left: 8%; }
}

body.calm .jump372 svg, body.calm .stand303 svg, body.calm .stand303::before, body.calm .doors303 .busy303 i, body.calm .fred423.new423 { animation: none; }
