/* Abyss host chrome, informed by the original surveillance console.
   Custom loading artwork supplied by Uri, integrated unchanged on 2026-11-12. */
@font-face{font-family:AbyssTerminal;src:url('/embedded/abyss/media/abyss-terminal.woff') format('woff');font-display:swap}
[data-player-app="abyss"]{--ar-player-accent:#ef3544;--ar-player-border:#6e242a;--ar-player-bg:#090708;color:#eed6d3}
[data-player-app="abyss"] .ar-library-player-surface{background:#090708;border-color:#63242b;box-shadow:0 0 0 1px #1b1113,0 20px 80px #000c}
[data-player-app="abyss"] .ar-library-player-top{background:linear-gradient(180deg,#261619,#100b0d);border-bottom:1px solid #87303b;color:#edc5c4;box-shadow:inset 0 1px #5d3539,inset 0 -4px #080607;position:relative}
[data-player-app="abyss"] .ar-library-player-heading{border-left:3px solid #d62f42;padding-left:12px}
[data-player-app="abyss"] .ar-library-player-heading [data-player-kind]{font:10px/1.4 AbyssTerminal,monospace;letter-spacing:.2em;text-transform:uppercase;color:#df777d}
[data-player-app="abyss"] #ar-library-player-title{font:18px/1.4 AbyssTerminal,monospace;letter-spacing:.12em;color:#f1cecb;text-transform:uppercase}
[data-player-app="abyss"] .ar-library-player-actions button,[data-player-app="abyss"] [data-player-reveal]{background:#190c10;border:1px solid #92343e;border-radius:2px;color:#efc4c4;box-shadow:inset 0 0 0 2px #0a0608;font-family:AbyssTerminal,monospace;letter-spacing:.06em}
[data-player-app="abyss"] .ar-library-player-actions button:hover{background:#3b141e;color:#fff}
[data-player-app="abyss"] button:focus-visible{outline:2px solid #ff9299;outline-offset:3px}
[data-loading-theme="abyss"] .ar-library-loading{background:#070608;color:#edd6d4}
[data-loading-theme="abyss"] .ar-launch-art{background-image:url('/embedded/abyss/media/abyss-loading-uri.png');background-size:cover;background-position:center;opacity:1;filter:none}
[data-loading-theme="abyss"] .ar-launch-veil{background:radial-gradient(ellipse at center,#07050888,#07050820 70%);opacity:1}
[data-loading-theme="abyss"] .ar-launch-knot,[data-loading-theme="abyss"] .ar-launch-sigil,[data-loading-theme="abyss"] .ar-launch-fog,[data-loading-theme="abyss"] .ar-launch-particles{display:none}
[data-loading-theme="abyss"] .ar-launch-content::before{content:"";display:block;width:min(48vw,330px);height:100px;margin:0 auto 22px;background:url('/embedded/abyss/media/abyss-wordmark.png') center/contain no-repeat}
[data-loading-theme="abyss"] .ar-launch-content{padding:26px;background:#0c0608b8;border:1px solid #82323a;box-shadow:inset 0 0 0 5px #080508;max-width:85%}
[data-loading-theme="abyss"] .ar-launch-label{font:18px/1.5 AbyssTerminal,monospace;letter-spacing:.15em;color:#efb0b3;text-transform:uppercase}
[data-loading-theme="abyss"] .ar-launch-detail,[data-loading-theme="abyss"] .ar-launch-hint{font:12px/1.6 monospace;color:#e6c6c6}
.hub-abyss168 .abyss-card168{background:#090708;position:relative;isolation:isolate}
.hub-abyss168 .abyss-card168>img{width:100%;height:100%;object-fit:cover}
.hub-abyss168 .abyss-card168::after{content:"";position:absolute;inset:20% 16%;background:url('/embedded/abyss/media/abyss-wordmark.png') center/contain no-repeat;pointer-events:none}
.hub-abyss168 .hub-play{background:#271015;border-color:#a73544;color:#f2d5d2}
@media(max-width:600px){[data-player-app="abyss"] #ar-library-player-title{font-size:13px}[data-player-app="abyss"] .ar-library-player-heading{padding-left:7px}[data-loading-theme="abyss"] .ar-launch-content{padding:12px}[data-loading-theme="abyss"] .ar-launch-content::before{height:55px;margin-bottom:8px}}
/* Higher-specificity host theme override: preserve the shared sizing/interaction rules. */
.ar-library-player[data-player-app="abyss"] .ar-library-player-top{background:linear-gradient(180deg,#261619,#100b0d)!important;border-bottom-color:#87303b!important;color:#edc5c4!important}
.ar-library-player[data-player-app="abyss"] .ar-library-player-surface{background:#090708!important;border-color:#63242b!important}
.ar-library-player[data-player-app="abyss"] .ar-library-player-heading{border-left:3px solid #d62f42!important;padding-left:12px!important}
.ar-library-player[data-loading-theme="abyss"] .ar-launch-art{background-image:url('/embedded/abyss/media/abyss-loading-uri.png')!important;opacity:1!important;filter:none!important}
.ar-library-player[data-loading-theme="abyss"] .ar-launch-knot,.ar-library-player[data-loading-theme="abyss"] .ar-launch-sigil,.ar-library-player[data-loading-theme="abyss"] .ar-launch-fog,.ar-library-player[data-loading-theme="abyss"] .ar-launch-particles{display:none!important}
.ar-library-player[data-loading-theme="abyss"] .ar-launch-content{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:0!important;height:auto!important}
.ar-library-player[data-loading-theme="abyss"] .ar-launch-content::before{flex:none;margin:0 0 10px;height:80px}
.ar-library-player[data-loading-theme="abyss"] .ar-launch-label,.ar-library-player[data-loading-theme="abyss"] .ar-launch-detail{margin:0!important}
@media(max-height:400px){.ar-library-player[data-loading-theme="abyss"] .ar-launch-content::before{height:40px}.ar-library-player[data-loading-theme="abyss"] .ar-launch-content{padding:14px;gap:6px}}
.hub-abyss168 .abyss-card168::after{display:none!important}
.hub-abyss168 .abyss-card168>img.abyss-card-wordmark168{position:absolute!important;inset:25% 16%!important;width:68%!important;height:50%!important;object-fit:contain!important;z-index:2!important;opacity:1!important;transform:none!important}
.ar-library-player[data-loading-theme="abyss"] .ar-load-art65{display:none!important}

/* Uri frame remains uncropped at every aspect ratio; dark letterboxing is intentional. */
.ar-library-player[data-loading-theme="abyss"] .ar-launch-art{background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;transform:none!important;inset:0!important}
.ar-library-player[data-loading-theme="abyss"] .ar-launch-veil{background:none!important}
.ar-library-player[data-loading-theme="abyss"] .ar-launch-content{background:transparent!important;border:0!important;box-shadow:none!important;text-shadow:0 2px 8px #000,0 0 12px #000;max-width:85%;gap:10px}
.ar-library-player[data-loading-theme="abyss"] .ar-launch-content::before{height:70px;margin-bottom:4px}
@media(max-width:600px){.ar-library-player[data-loading-theme="abyss"] .ar-launch-content{padding:10px;gap:6px}.ar-library-player[data-loading-theme="abyss"] .ar-launch-content::before{height:42px}.ar-library-player[data-loading-theme="abyss"] .ar-launch-label{font-size:15px}.ar-library-player[data-loading-theme="abyss"] .ar-launch-detail{font-size:11px}}
.ar-library-player[data-loading-theme="abyss"] .ar-library-loading{background:#070608!important}.ar-library-player[data-loading-theme="abyss"] .ar-launch-atmosphere{background:#070608!important}
/* Keep narrow failure text and Retry inside the contained CRT frame. */
@media(max-width:600px){.ar-library-player[data-loading-theme="abyss"][data-launch-state="error"] .ar-launch-content{gap:4px;padding:6px}.ar-library-player[data-loading-theme="abyss"][data-launch-state="error"] .ar-launch-content::before{height:24px;margin:0}.ar-library-player[data-loading-theme="abyss"][data-launch-state="error"] .ar-launch-label{font-size:12px;line-height:1.25}.ar-library-player[data-loading-theme="abyss"][data-launch-state="error"] .ar-launch-detail,.ar-library-player[data-loading-theme="abyss"][data-launch-state="error"] .ar-launch-hint{font-size:10px;line-height:1.3}.ar-library-player[data-loading-theme="abyss"][data-launch-state="error"] [data-player-retry]{min-height:28px;padding:4px 12px;font-size:11px;margin:0}}
/* Separate structural candidate 2: original console fills host; controls only. */
.ar-library-player[data-player-app="abyss"] .ar-library-player-surface{position:relative!important;border-radius:0!important;overflow:hidden!important}
.ar-library-player[data-player-app="abyss"] .ar-library-player-top{position:absolute!important;top:8px!important;right:8px!important;left:auto!important;width:auto!important;min-height:0!important;height:auto!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;z-index:30!important;transform:none!important;opacity:1!important;pointer-events:none!important}
.ar-library-player[data-player-app="abyss"] .ar-library-player-heading{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important;padding:0!important}
.ar-library-player[data-player-app="abyss"] .ar-library-player-actions{gap:4px!important;pointer-events:auto!important}
.ar-library-player[data-player-app="abyss"] .ar-library-player-actions button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;overflow:hidden!important;font-size:0!important;border:1px solid #64202b!important;border-radius:0!important;color:#ef677b!important;background:linear-gradient(#170d10ed,#080608ef)!important;box-shadow:inset 0 1px #79313a66,inset 0 -2px #000!important;clip-path:polygon(5px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 5px)}
.ar-library-player[data-player-app="abyss"] [data-player-fullscreen]::after{content:"⛶";font:23px/1 monospace}
.ar-library-player[data-player-app="abyss"] [data-player-close]::after{content:"×";font:25px/1 monospace}
.ar-library-player[data-player-app="abyss"] .ar-library-player-actions button:hover{background:#3b111bed!important;color:#ffb9c4!important}
.ar-library-player[data-player-app="abyss"] .ar-library-player-actions button:focus-visible{outline:2px solid #ffa1b0!important;outline-offset:-3px!important}
.ar-library-player[data-player-app="abyss"] [data-player-reveal]{display:none!important}
@media(max-width:680px){.ar-library-player[data-player-app="abyss"] .ar-library-player-top{left:7px!important;right:auto!important;top:5px!important}.ar-library-player[data-player-app="abyss"] .ar-library-player-actions{gap:2px!important}}
.ar-library-player[data-player-app="abyss"] .ar-library-player-actions button::after{display:block!important;position:static!important;opacity:1!important;visibility:visible!important;width:auto!important;height:auto!important;background:none!important;transform:none!important;color:#ef677b!important}
.ar-library-player[data-player-app="abyss"] [data-player-fullscreen]::after{content:"⛶"!important;font:23px/1 monospace!important}
.ar-library-player[data-player-app="abyss"] [data-player-close]::after{content:"×"!important;font:25px/1 monospace!important}
/* Native source optic-window control face, on a full 44px target. */
.ar-library-player[data-player-app="abyss"] [data-player-surface],.ar-library-player[data-player-app="abyss"]{border-radius:0!important}
.ar-library-player[data-player-app="abyss"] .ar-library-player-actions button{position:relative!important;background:transparent!important;border:0!important;box-shadow:none!important;clip-path:none!important}
.ar-library-player[data-player-app="abyss"] .ar-library-player-actions button::before{content:""!important;display:block!important;position:absolute!important;inset:8px 6px!important;width:auto!important;height:auto!important;opacity:1!important;background:linear-gradient(135deg,#ad2738 6px,transparent 6px) left top/12px 100% no-repeat,linear-gradient(315deg,#ad2738 6px,transparent 6px) right bottom/12px 100% no-repeat,repeating-linear-gradient(0deg,#11010355 0 1px,transparent 1px 3px),#380a12!important;clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px)!important;box-shadow:inset 0 0 0 1px #902334!important;transform:none!important}
.ar-library-player[data-player-app="abyss"] .ar-library-player-actions button::after{position:relative!important;z-index:1!important;color:#f3626c!important;font-size:20px!important}
@media(max-width:680px){.ar-library-player[data-player-app="abyss"] .ar-library-player-surface{padding-top:46px!important;box-sizing:border-box!important}.ar-library-player[data-player-app="abyss"] .ar-library-player-top{top:1px!important;left:auto!important;right:6px!important}}
/* User-approved close-only host chrome: the original game owns the visible fullscreen control. */
.ar-library-player[data-player-app="abyss"] [data-player-fullscreen]{display:none!important}
/* User-approved neutral black outer edge; original game bezel remains untouched. */
dialog.ar-library-player[data-player-app="abyss"]{border-color:#000!important;outline-color:#000!important;box-shadow:0 24px 100px #000b!important}
dialog.ar-library-player[data-player-app="abyss"] .ar-library-player-surface{border-color:#000!important;box-shadow:0 0 0 1px #000,0 20px 80px #000c!important}

/* List 4: original login view, custom warning, quiet boot distortion. */
.ar-library-player[data-loading-theme="abyss"] .ar-launch-art{background-image:url('/embedded/abyss/media/abyss-login-preview-list4.webp')!important;background-size:contain!important}
.ar-library-player[data-loading-theme="abyss"] .ar-launch-veil{background:radial-gradient(ellipse at center,#070203f0 0%,#070203df 17%,#07020380 40%,transparent 75%)!important}
.ar-library-player[data-loading-theme="abyss"] .ar-launch-content::before{width:132px!important;height:132px!important;background:url('/embedded/abyss/media/abyss-warning-list4.png') center/contain no-repeat!important;filter:drop-shadow(0 0 10px #dd102833);animation:abyss-warning-fault 4.6s steps(1,end) infinite}
.ar-library-player[data-loading-theme="abyss"] .ar-launch-label{font-family:AbyssTerminal,monospace!important;text-transform:none!important;letter-spacing:.08em!important;font-size:22px!important;color:#f25059!important}
.ar-library-player[data-loading-theme="abyss"] .ar-launch-detail{font-family:AbyssTerminal,monospace!important;font-size:11px!important;max-width:330px!important;color:#b87679!important}
.ar-library-player[data-player-app="abyss"].abyss-boot-reveal .ar-library-frame{animation:abyss-login-boot .55s ease-out both}
.hub-abyss168 .abyss-card168>img:first-child{object-fit:contain!important;object-position:center!important;filter:none!important;transform:none!important}
.hub-abyss168 .abyss-card168{background:#090405!important}
.hub-abyss168 .abyss-card-credit-list4{position:absolute;left:13%;right:13%;bottom:12%;text-align:center;color:#d7434c;text-shadow:0 1px 4px #000;font:clamp(8px,1vw,12px)/1.3 AbyssTerminal,monospace;letter-spacing:.12em;pointer-events:none}
@keyframes abyss-warning-fault{0%,92%,96%,100%{transform:translate(0);opacity:1}93%{transform:translate(-2px,1px);opacity:.85}95%{transform:translate(2px,0);opacity:1}}
@keyframes abyss-login-boot{0%{filter:brightness(.55);transform:translateX(-2px)}25%{transform:translateX(2px)}50%{transform:translateX(-1px)}100%{filter:none;transform:none}}
@media(max-height:500px){.ar-library-player[data-loading-theme="abyss"] .ar-launch-content::before{width:86px!important;height:86px!important;margin:0!important}.ar-library-player[data-loading-theme="abyss"] .ar-launch-label{font-size:17px!important}}
@media(prefers-reduced-motion:reduce){.ar-library-player[data-loading-theme="abyss"] .ar-launch-content::before,.ar-library-player[data-player-app="abyss"].abyss-boot-reveal .ar-library-frame{animation:none!important}}

/* Owner correction: edge-to-edge digital loading screen, not a physical monitor preview. */
.ar-library-player[data-loading-theme="abyss"] .ar-launch-art{background-image:repeating-linear-gradient(0deg,transparent 0 3px,#e61d3108 3px 4px)!important;background-size:auto!important;background-color:#07080b!important;inset:0!important;filter:none!important;opacity:1!important}
.ar-library-player[data-loading-theme="abyss"] .ar-launch-veil{background:radial-gradient(ellipse at center,#810d191f 0%,transparent 50%),linear-gradient(180deg,#25050d30,transparent 22%,transparent 78%,#25050d30)!important}
.ar-library-player[data-loading-theme="abyss"] .ar-launch-atmosphere{background:#07080b!important}
.ar-library-player[data-loading-theme="abyss"] .ar-launch-content{max-width:92%!important;}

/* Keep the sole outer exit fully inside normal/fullscreen safe bounds. */
html body .ar-library-player[data-player-app="abyss"] #ar-player-controls.ar-library-player-top{position:absolute!important;left:auto!important;right:max(8px,env(safe-area-inset-right))!important;top:max(8px,env(safe-area-inset-top))!important;bottom:auto!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;transform:none!important;z-index:40!important}

/* Owner-requested preview: actual surveillance scene, edge-to-edge rather than an empty login screen. */
.hub-abyss168 .abyss-card168>img:first-child{object-fit:cover!important;object-position:center!important}
.hub-abyss168 .abyss-card-title-revision{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(5px,1vw,12px);padding:14px;pointer-events:none;background:linear-gradient(90deg,transparent 15%,#07030635 40%,#07030635 62%,transparent 85%)}
.hub-abyss168 .abyss-card-title-revision img{display:block;width:clamp(120px,26%,310px);height:auto;max-height:40%;object-fit:contain;filter:drop-shadow(0 2px 5px #000) drop-shadow(0 0 16px #000)}
.hub-abyss168 .abyss-card-title-revision span{font:clamp(8px,1vw,12px)/1.3 AbyssTerminal,monospace;letter-spacing:.12em;color:#f3bdc1;text-shadow:0 2px 5px #000,0 0 7px #000}

/* Owner correction: match Optic Archive typography and red palette using its shared caption class. */
.hub-abyss168 .abyss-card-caption-match{left:50%;top:26%;transform:translateX(-50%);text-align:center;white-space:nowrap}
@media(forced-colors:active){.hub-abyss168 .abyss-card-caption-match,.hub-abyss168 .abyss-card-caption-match b,.hub-abyss168 .abyss-card-caption-match small{color:CanvasText!important;background:Canvas;text-shadow:none}}

/* Same physical housing from first loading paint through the live console. */
.ar-library-player[data-loading-theme="abyss"] .ar-library-loading::after{content:"";position:absolute;inset:0;z-index:20;pointer-events:none;box-sizing:border-box;border:clamp(22px,4vw,58px) solid transparent;border-image:url('/embedded/abyss/media/laptop-frame-r184.png') 122 125 120 125 stretch}
.ar-library-player[data-loading-theme="abyss"] .ar-launch-content{max-width:calc(100% - 120px)!important}
@media(max-width:600px){.ar-library-player[data-loading-theme="abyss"] .ar-launch-content{max-width:calc(100% - 64px)!important}}

/* Abyss has its own responsive console: do not letterbox it as a 4:3 board game. */
html body dialog.ar-library-player[data-player-app="abyss"][data-player-app="abyss"] .ar-library-frame-wrap{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;background:#030304!important}
html body dialog.ar-library-player[data-player-app="abyss"] .ar-library-frame-slot{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;transform:none!important;margin:0!important;background:#030304!important}
html body dialog.ar-library-player[data-player-app="abyss"] .ar-library-frame{width:100%!important;height:100%!important;transform:none!important}

/* Uniformly scaled artwork: no stretched camera, metal or portrait laptop. */
.ar-library-player[data-loading-theme="abyss"] .ar-library-loading::after{border:0!important;border-image:none!important;background:url('/embedded/abyss/media/laptop-frame-unwarped184.svg') 0 0/100% 100% no-repeat}
@media(max-height:500px){.ar-library-player[data-loading-theme="abyss"] .ar-library-loading::after{background-image:url('/embedded/abyss/media/laptop-frame-unwarped-small184.svg')}}
/* Native orientation/fullscreen is requested by the existing runtime. If unavailable, the presentation is landscape immediately, not a portrait-stretched frame. */


@media(orientation:portrait) and (max-width:900px){
html body dialog.ar-library-player[data-player-app="abyss"][data-player-app="abyss"] .ar-library-frame-wrap{position:absolute!important;inset:auto!important;left:50%!important;top:50%!important;width:100dvh!important;height:100dvw!important;max-width:none!important;max-height:none!important;transform:translate(-50%,-50%) rotate(90deg)!important;transform-origin:center!important}
html body .ar-library-player[data-player-app="abyss"] #ar-player-controls.ar-library-player-top{top:auto!important;bottom:8px!important;right:8px!important;transform:rotate(90deg)!important}
html body dialog.ar-library-player[data-player-app="abyss"] .ar-game-rotate167{display:none!important}
.ar-library-player[data-loading-theme="abyss"] .ar-library-loading::after{background-image:url('/embedded/abyss/media/laptop-frame-unwarped-small184.svg')}
}
/* Revision185 loader uses the same intact uniformly scaled chassis as the live screen. */
.ar-library-player[data-loading-theme="abyss"] .ar-library-loading::after{background:url('/embedded/abyss/media/laptop-chassis185.png') center/cover no-repeat!important;border:0!important;box-shadow:inset 0 0 0 3px #242426}


/* Close control seated within the top-right chassis, not floating beyond it. */
html body .ar-library-player[data-player-app="abyss"] #ar-player-controls.ar-library-player-top{top:max(18px,env(safe-area-inset-top))!important;right:max(28px,env(safe-area-inset-right))!important}
@media(orientation:portrait) and (max-width:900px){html body .ar-library-player[data-player-app="abyss"] #ar-player-controls.ar-library-player-top{top:auto!important;bottom:28px!important;right:18px!important}}
/* Defocused world visible only through the chassis's outer air gap during loading. */
.ar-library-player[data-loading-theme="abyss"] .ar-library-loading::before{content:'';position:absolute;inset:0;z-index:6;background:linear-gradient(#09080b77,#09080b77),url('/embedded/abyss/media/agandar-world186.webp') center 42%/cover;filter:blur(7px);clip-path:inset(0 0 90% 0);mask-image:linear-gradient(#000,#000),url('/embedded/abyss/media/laptop-chassis185.png');mask-size:100% 100%,cover;mask-position:center;mask-repeat:no-repeat;mask-composite:exclude;pointer-events:none}
/* R187 uniform four-percent push-in during loading. */
.ar-library-player[data-loading-theme="abyss"] .ar-library-loading{--chassis-unit:max(calc(104vw / 1672),calc(104vh / 941))}
.ar-library-player[data-loading-theme="abyss"] .ar-library-loading::after{background-size:calc(var(--chassis-unit)*1672) calc(var(--chassis-unit)*941)!important}
.ar-library-player[data-loading-theme="abyss"] .ar-library-loading::before{mask-size:100% 100%,calc(var(--chassis-unit)*1672) calc(var(--chassis-unit)*941)}

/* R188 closer-seated chassis, uniform scale; loader matches the live console. */
.ar-library-player[data-loading-theme="abyss"] .ar-library-loading{--chassis-unit:max(calc(108vw / 1672),calc(108vh / 941))}

