/* SCP-714 */
.jade714bar i { background: linear-gradient(90deg, #1c4a2c, #6fcf8a); }
body.jade714 #app { filter: grayscale(.75) brightness(.78) contrast(.9); transition: filter 4s ease; }
body.jade714 a, body.jade714 .btn, body.jade714 .item { transition-duration: 1.6s !important; }
body.jade714 .toast.red { filter: blur(2px) grayscale(1); opacity: .45; }
.lids714 { --z714: 0; position: fixed; inset: 0; z-index: 890; pointer-events: none; }
.lids714 i { position: absolute; left: 0; right: 0; height: calc(var(--z714) * 28vh); background: linear-gradient(#000 60%, rgba(0,0,0,0)); transition: height 3s ease; }
.lids714 i:first-child { top: 0; }
.lids714 i:last-child { bottom: 0; transform: scaleY(-1); }
.lids714.shut i { height: 50vh; transition: height .3s ease-in; }
.off714 { position: fixed; left: 18px; bottom: 18px; z-index: 895; }
.off714 .btn { margin: 0; background: #0a100c; border-color: #6fcf8a; color: #9fe8b4; }

/* SCP-826 */
.doc-text.lure826 > p, .doc-text.lure826 > .logbox { cursor: text; }
.doc-text.lure826 > [hidden], .doc-text.lure826 .add826[hidden] { display: none !important; }
body.drawn826 #app { filter: sepia(.55) brightness(.92); transition: filter 1.5s; }
.story826 { margin: 0 0 20px; padding: 26px 28px; border: 1px solid #5a4a30; background: radial-gradient(ellipse at 50% 30%, #2a2216, #120e08 80%); font-family: Georgia, "Times New Roman", serif; font-size: 15.5px; line-height: 1.75; color: #e0d4b8; animation: docIn .8s ease; }
.story826 .s826-h { margin-bottom: 14px; font-family: var(--head); font-size: 15px; letter-spacing: .3em; color: #c8a860; text-align: center; }
.story826 p { margin: 0 0 12px; }
.story826 p b { color: #f0dca8; }
.story826 .s826-n { color: #a89470; font-style: italic; }
.s826-rooms { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.s826-rooms .btn, .s826-out .btn { margin-top: 0; font-family: var(--mono); }
.s826-rooms .btn:disabled { opacity: .35; cursor: default; }
.s826-bar { height: 4px; margin: 12px 0 4px; background: #2a2216; }
.s826-bar i { display: block; height: 100%; width: 0; background: #c8a860; transition: width .8s linear; }
.s826-p { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: #8a7a58; }
.s826-out { margin-top: 10px; }
.add826 { border-left: 2px solid #c8a860; padding-left: 10px; color: #d8c8a0; animation: docIn 1s ease; }

/* SCP-963 */
.amu963 .w-out { color: #e8c4c6; }
body.bright963 .doc-num { color: #e0303c; text-shadow: 0 0 22px rgba(224,48,60,.35); }
body.bright963 .brand-sub { color: #ff9a3c; }
.jb963 { margin: -4px 0 12px; padding: 4px 10px; border-left: 2px solid #ff9a3c; color: #ffb870; font-size: 12.5px; font-style: italic; animation: docIn .6s ease; }
.jbr963 { color: #ffb870; font-style: italic; }

/* SCP-013 */
.mir013 { --k: 0; position: relative; width: 150px; aspect-ratio: 4 / 5; margin: 8px auto 12px; border: 6px solid #1a1c22; border-radius: 50% 50% 8px 8px; background: radial-gradient(ellipse at 40% 30%, #1c2230, #06080c 75%); overflow: hidden; box-shadow: inset 0 0 24px rgba(120,150,220,.15); }
.m013-you { position: absolute; left: 50%; bottom: 0; width: 70%; height: 80%; transform: translateX(-50%); background: radial-gradient(ellipse 30% 26% at 50% 34%, #5a5e66 98%, transparent 100%), radial-gradient(ellipse 50% 30% at 50% 100%, #3a3e46 98%, transparent 100%); opacity: calc(1 - var(--k) * .85); transition: opacity 2s; }
.m013-lady { position: absolute; inset: 0; opacity: var(--k); filter: blur(calc((1 - var(--k)) * 3px)); transition: opacity 2.5s, filter 2.5s; }
.m013-lady svg { display: block; width: 100%; height: 100%; }
.m013-n { position: absolute; left: 0; right: 0; bottom: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: #aac0f0; text-align: center; text-shadow: 0 0 6px #000; }
body.blue013 #app { filter: hue-rotate(-12deg) saturate(.8) brightness(.92); transition: filter 3s; }
.smoke013 { position: fixed; inset: 0; z-index: 580; pointer-events: none; overflow: hidden; transition: opacity 1.5s; }
.smoke013.out { opacity: 0; }
.smoke013 i { position: absolute; bottom: -30vh; width: 34vmin; height: 34vmin; border-radius: 50%; background: radial-gradient(circle, rgba(150,175,230,.22), rgba(120,140,200,0) 68%); filter: blur(8px); animation: rise013 var(--d, 9s) ease-out forwards; }
@keyframes rise013 { 0% { transform: translate(0, 0) scale(.5); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(var(--x, 0), -130vh) scale(1.8); opacity: 0; } }

/* SCP-2006 */
.scare2006 { position: fixed; inset: 0; z-index: 940; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: radial-gradient(ellipse, rgba(30,60,20,.85), rgba(0,0,0,.92) 70%); animation: appIn .15s ease; }
.s2006-fig { width: min(46vmin, 320px); animation: wob2006 .5s ease-in-out infinite alternate; transform-origin: 50% 0; }
.s2006-fig svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 14px rgba(160,255,120,.35)); }
.scare2006 p { margin: 0; padding: 0 20px; font-family: var(--head); font-size: clamp(22px, 5vw, 46px); letter-spacing: .06em; color: #b8ff5a; text-align: center; text-shadow: 3px 3px 0 #3a0a4a, 0 0 18px rgba(184,255,90,.6); animation: pop2006 .35s ease; }
@keyframes wob2006 { from { transform: rotate(-4deg) translateY(0); } to { transform: rotate(4deg) translateY(6px); } }
@keyframes pop2006 { from { transform: scale(.3); } }
.modal.ask2006 { border-color: #8acb4a; box-shadow: 0 0 60px rgba(140,200,80,.25); }
.modal.ask2006 h2 { color: #b8ff5a; }

/* SCP-5031 */
.blocks5031 { display: flex; flex-wrap: wrap; gap: 5px; min-height: 36px; margin: 8px 0 10px; }
.blocks5031 span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; font-family: var(--mono); font-size: 15px; font-weight: 700; color: #fff; background: #c83a2a; border-radius: 3px; transform: rotate(var(--r, 0deg)); box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); animation: docIn .3s ease; }
.blocks5031 span:nth-child(3n+2) { background: #2a6ac8; }
.blocks5031 span:nth-child(3n) { background: #e0b020; color: #2a1a00; }
.blocks5031 span.gap { width: 10px; background: none; box-shadow: none; }
.note5031 { margin: 22px 0 0; padding: 16px 18px; border: 1px dashed #c8a860; background: #0e0c08; transform: rotate(-.6deg); animation: docIn 1s ease; }
.n5031-h { display: flex; gap: 4px; margin-bottom: 8px; }
.n5031-h span { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; font-weight: 700; color: #fff; background: #c83a2a; border-radius: 2px; }
.n5031-h span:nth-child(2n) { background: #2a6ac8; }
.n5031-to { font-size: 10.5px; letter-spacing: .12em; color: var(--text-mute); margin-bottom: 6px; }
.note5031 p { margin: 0 0 8px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: #e8dcc0; }
.n5031-s { font-size: 11px; letter-spacing: .1em; color: #c8a860; }
.list5031 span { color: var(--text-mute); font-size: 12px; }
.list5031 span.ok { color: var(--green); }
.fig-frame.see5031:hover img { filter: brightness(.45) blur(1.5px); transition: filter .2s; }

body.calm .smoke013 i, body.calm .s2006-fig, body.calm .scare2006 p { animation: none; }
body.calm .smoke013 i { opacity: .5; }
