/* r65: quiet surfaces, clear previews, and themed loading. */
html body[data-ar-page=home] #main-content-home .hero-medallion::before,html body[data-ar-page=home] #main-content-home .hero-medallion::after{display:none!important}
html body[data-ar-page=home] #main-content-home .hero-medallion .ar-emblem-image{filter:drop-shadow(0 9px 12px #0005)!important;box-shadow:none!important;background:none!important}
html body[data-ar-page=ministry] #ministry-fun-facts button,html body[data-ar-page=ministry] #ministry-verse-dialog button,html body[data-ar-page=ministry] #ministry-verse-dialog a{background:linear-gradient(180deg,#382a1d,#21170f)!important;border-color:#907449!important;border-radius:12px!important;color:#f1dfb9!important;box-shadow:inset 0 1px #e5c68c20!important}
html body[data-ar-page=ministry] #ministry-fun-facts button:hover,html body[data-ar-page=ministry] #ministry-verse-dialog button:hover,html body[data-ar-page=ministry] #ministry-verse-dialog a:hover{background:#483523!important;border-color:#cfad70!important}
html body[data-ar-page=ministry] #ministry-verse-dialog{background:#19130e!important;border-color:#907449!important;color:#f1e6d1!important}
html body[data-ar-page=ministry] #ministry-fun-facts button:focus-visible,html body[data-ar-page=ministry] #ministry-verse-dialog :focus-visible{outline:2px solid #e9c985!important;outline-offset:3px}
#hub-games .hub-feature{border-color:transparent!important;box-shadow:0 4px 18px #0002!important;background:transparent!important;position:relative}
#hub-games .hub-feature-copy{background:linear-gradient(90deg,transparent, var(--hub-panel,#151019) 6%,var(--hub-panel,#151019) 94%,transparent)!important;position:relative}
#hub-games .hub-feature-copy::after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:0 0 25px 25px;box-shadow:inset 0 -1px #bfa8bc1a}
.ar-theme-preview59{height:auto!important;aspect-ratio:16/10;background:#181818!important;isolation:isolate}.ar-theme-preview59::before,.ar-theme-preview59::after{content:none!important}
.ar-theme-preview59 img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top left}.ar-theme-preview59 img+img{clip-path:polygon(62% 0,100% 0,100% 100%,38% 100%)}
.ar-theme-preview59 .preview-seam65{position:absolute;left:50%;top:-10%;height:120%;width:2px;background:#fff8;transform:rotate(21deg);box-shadow:0 0 8px #0008}
.ar-theme-cards59{gap:18px}.ar-theme-card59{overflow:hidden}.ar-theme-card59 strong{padding-top:8px}.ar-theme-card59 small{line-height:1.5}
.ar-launch-sigil{opacity:.12!important;position:absolute!important;width:min(52vw,460px)!important;height:auto!important;filter:grayscale(.4)!important;pointer-events:none}
.ar-library-player[data-library-mode=youth] .ar-launch-sigil{display:none!important}
.ar-library-player [data-player-loading]{isolation:isolate;background-color:#151019!important;background-size:cover!important;background-position:center!important;overflow:hidden}
.ar-library-player [data-player-loading]::before{content:'';position:absolute;inset:0;background:linear-gradient(#0b0812a8,#0b0812df);z-index:-1}
.ar-library-player[data-library-mode=youth] [data-player-loading]::before{background:linear-gradient(#2b3a3d55,#142b3cbb)}
.ar-load-art65{height:100px;width:180px;position:relative;display:flex;align-items:center;justify-content:center;margin:auto;z-index:1;pointer-events:none}
.ar-load-art65 img{height:80px;max-width:110px;object-fit:contain;filter:drop-shadow(0 5px 3px #0004);animation:loadFloat65 2s ease-in-out infinite}
.ar-load-art65 .dig-tool65{position:absolute;height:85px;left:82px;top:8px;transform-origin:75% 20%;animation:digBrush65 1.2s ease-in-out infinite}
.ar-load-art65 .dig-find65{height:50px;position:absolute;left:35px;top:38px;animation:none}
@keyframes loadFloat65{50%{transform:translateY(-7px) rotate(4deg)}}@keyframes digBrush65{50%{transform:translate(-16px,4px) rotate(-25deg)}}
.sanctuary-gezer-set65{display:grid;grid-template-columns:repeat(3,1fr);gap:7%;width:75%;margin:auto;align-self:center;transform:rotate(-7deg)}.sanctuary-gezer-set65 img{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;object-fit:contain!important;filter:drop-shadow(0 3px 2px #0004)}.sanctuary-gezer-set65 img:nth-child(n+4){transform:translateX(12%) rotate(12deg)}
@media(max-width:600px){.ar-theme-card59{display:block!important;padding:0 0 15px!important}.ar-theme-preview59{height:auto!important;aspect-ratio:16/9}.ar-theme-card59 strong,.ar-theme-card59 small{display:block;padding-inline:14px}}
@media(prefers-reduced-motion:reduce){.ar-load-art65 *{animation:none!important}}

html body[data-ar-page=home] #main-content-home .hero-medallion .ar-emblem-halo{display:none!important}
.ar-launch-knot{display:none!important}.ar-load-art65{margin:0 auto 20px;height:115px;flex:none}
.ar-library-player .ar-launch-sigil{height:min(52vw,460px)!important}
.ar-library-player .ar-launch-atmosphere .ar-launch-art{opacity:.18!important}
.ar-theme-preview59 img{width:64%;object-fit:cover;object-position:left top}
.ar-theme-preview59 img+img{inset:0 0 0 auto;width:64%;object-fit:cover;object-position:center top;clip-path:polygon(37% 0,100% 0,100% 100%,0 100%)}
.ar-theme-preview59.simple img+img{object-position:right top}
body[data-library-theme=full]{--card-surface65:#252525}body[data-library-theme=youth]{--card-surface65:#efdebc}body[data-library-theme=cyber]{--card-surface65:#090a0b}
body[data-library-theme=window]{--card-surface65:#151019}body[data-window-theme=default]{--card-surface65:#121313}body[data-window-theme=agandar]{--card-surface65:#170e0f}body[data-window-theme=auriela]{--card-surface65:#efe0bc}body[data-window-theme=solomon]{--card-surface65:#161511}
html body #library-main #hub-games .hub-feature-copy{background:linear-gradient(90deg,transparent,var(--card-surface65) 5%,var(--card-surface65) 95%,transparent)!important}
html body #library-main #hub-games .hub-feature{border:0!important;box-shadow:none!important}
html body #library-main #hub-games .hub-feature::before{display:none!important}
@media(forced-colors:active){html body #library-main #hub-games .hub-feature-copy{background:Canvas!important}}

html body[data-ar-page=home] #main-content-home .ar-emblem-stack::before,html body[data-ar-page=home] #main-content-home .ar-emblem-stack::after{display:none!important}

html body[data-ar-page=ministry] #ministry-verse-dialog #ministry-popup-chapter{background:linear-gradient(180deg,#382a1d,#21170f)!important;border-color:#907449!important;border-radius:12px!important;color:#f1dfb9!important}

html body[data-ar-page=ministry] #ministry-fun-facts #ministry-fact-widget{background:linear-gradient(125deg,#211a12,#100d09)!important;box-shadow:0 12px 36px #0006,inset 0 0 0 5px #151009!important}html body[data-ar-page=ministry] #ministry-fun-facts #ministry-fact-card{background:#120e0a!important;border-color:#665034!important}

#games-page-loading63{isolation:isolate;overflow:hidden}
#games-page-loading63::before{content:'';position:absolute;inset:0;background:var(--library-load-art65,none) center/cover no-repeat;opacity:.2;z-index:-2}
#games-page-loading63::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#0008);z-index:-1}
#games-page-loading63 .games-load-card63>img{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(65vw,540px);height:min(65vw,540px);opacity:.09;z-index:-1;filter:grayscale(.4)}
#games-page-loading63 .games-load-card63{padding:60px 30px}
#games-page-loading63[data-theme=youth] .games-load-card63>img{display:none}
#games-page-loading63[data-theme=youth]::before{background:url('/assets/app-library/hub-sheep-preview.png') center/cover no-repeat;opacity:.36}
#games-page-loading63[data-theme=youth] .games-load-card63::before{content:'';display:block;width:110px;height:100px;margin:0 auto 25px;background:url('/assets/app-library/illustrated-icons-r51/sheep.webp') center/contain no-repeat;animation:loadFloat65 2s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){#games-page-loading63[data-theme=youth] .games-load-card63::before{animation:none}}

.ar-library-player[data-player-app=sheep] .ar-load-art65{display:none}
