/* Curios collection: gold precision metal and softly lit glacial strata. */
/* CRT collection: original portrait, monitor bezel and phosphor edge. */
[data-site-background="background-curios-crt"]{--site-background-image:url('/assets/curios/crt-portrait.png');--ambient-layer-one:none;--ambient-layer-two:none}
body[data-site-background="background-curios-crt"]{background-image:var(--site-background-image)!important;background-size:cover;background-position:70% center;background-attachment:fixed}
body[data-site-background="background-curios-crt"]>.game-page-texture{opacity:0!important}
.site-theme-sample[data-site-background="background-curios-crt"]{background-position:70% center}
[data-namebackground="curios-crt"]{isolation:isolate;overflow:hidden;background:#0d171c;border:1px solid #41666b;border-radius:5px;color:#efffff}
[data-namebackground="curios-crt"]::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#081117ed 0%,#0c182baa 33%,#080e1620 67%,#110d1555),url('/assets/curios/crt-portrait.png') 68% 40%/cover no-repeat;opacity:1;animation:none;z-index:-1}
[data-nameframe="curios-crt"]{isolation:isolate;border:3px solid #222c32;border-radius:10px 4px;box-shadow:inset 0 0 0 1px #7b8b89,inset 0 0 0 3px #080c12,0 0 0 1px #477f84,0 3px 0 #060709}
[data-nameframe="curios-crt"]:not([data-namebackground]){background:#10191f}
[data-nameframe="curios-crt"]::after{content:'';position:absolute;inset:2px;padding:2px;border-radius:7px 2px;pointer-events:none;z-index:2;background:linear-gradient(180deg,#6ed3e866,#7beaadc0 43%,#cdfcff 50%,#ae92d799 58%,#559baa44);background-size:100% 250%;mask:linear-gradient(#fff 0 0) content-box exclude,linear-gradient(#fff 0 0);animation:curios-crt-scan 8s ease-in-out infinite alternate}
@keyframes curios-crt-scan{from{background-position:0% 0%}to{background-position:0% 100%}}
@media(prefers-reduced-motion:reduce){[data-nameframe="curios-crt"]::after{animation:none!important}}
body[data-grinder-motion="reduced"] [data-nameframe="curios-crt"]::after,.previews-paused [data-nameframe="curios-crt"]::after{animation-play-state:paused!important}
.curio-gilded-picker{max-width:560px;width:calc(100% - 32px);border:1px solid #947849;background:#12171b;color:#f1eee7;padding:24px;font:16px Barlow,sans-serif}
.curio-gilded-picker::backdrop{background:#000a}
.curio-gilded-picker h2{margin:0 0 12px;font-size:26px}.curio-gilded-picker p{line-height:1.5;color:#c1c5c7}
.curio-gilded-picker label{display:block;margin:16px 0 6px}.curio-gilded-picker select{width:100%;padding:12px;background:#20292f;color:inherit;border:1px solid #61727c;font:inherit}
.curio-gilded-picker .gilded-choice-art{position:relative;width:180px;aspect-ratio:5/7;margin:18px auto}.gilded-choice-art img,.gilded-choice-art canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.gilded-choice-art canvas[hidden]{display:none}
.gilded-picker-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.gilded-picker-actions button{font:inherit;padding:10px 16px;min-height:44px;color:inherit;background:#202a31;border:1px solid #63737b}
@property --curios-orbit{syntax:'<angle>';initial-value:0deg;inherits:false}
[data-nameframe="curios-aureate"]{border:2px solid #bb9d5f;border-radius:12px 2px;box-shadow:inset 0 0 0 2px #15191c,inset 0 0 0 3px #675633,0 0 0 1px #392e1b}
[data-nameframe="curios-aureate"]:not([data-namebackground]){background:#11191f}
[data-nameframe="curios-aureate"]::after{content:'';position:absolute;inset:0;padding:4px;z-index:2;pointer-events:none;border-radius:inherit;background:conic-gradient(from var(--curios-orbit),#5b4523 0deg,#bb9b60 45deg,#fff3c4 62deg,#d8b871 75deg,#594425 95deg,#927544 180deg,#ffedaf 235deg,#9b7b3f 250deg,#594425 280deg,#5b4523 360deg);mask:linear-gradient(#fff 0 0) content-box exclude,linear-gradient(#fff 0 0);animation:curios-orbit 9s linear infinite}
[data-namebackground="curios-glacier"]{border:1px solid #9aadaf;border-radius:3px;background:#142630;box-shadow:inset 0 0 0 2px #192e38,inset 0 0 0 3px #607781;color:#f2f6f4}
[data-namebackground="curios-glacier"]::before{inset:-50%;background:repeating-linear-gradient(145deg,transparent 0 24px,#a5cfdb13 25px 26px,transparent 27px 57px),radial-gradient(ellipse at 25% 60%,#bdedf267,transparent 42%),radial-gradient(ellipse at 70% 20%,#598eaa90,transparent 38%),linear-gradient(140deg,#14222e,#325260 45%,#172634 70%);background-size:100% 100%;animation:curios-glacier 16s ease-in-out infinite alternate}
[data-namebackground="curios-glacier"]:not([data-nameframe="curios-aureate"])::after{content:'';position:absolute;inset:5px;pointer-events:none;border:1px solid #b4c5c13b;clip-path:polygon(0 0,34% 0,34% 2px,2px 2px,2px calc(100% - 2px),34% calc(100% - 2px),34% 100%,0 100%,0 0,100% 0,100% 100%,66% 100%,66% calc(100% - 2px),calc(100% - 2px) calc(100% - 2px),calc(100% - 2px) 2px,66% 2px,66% 0);background:linear-gradient(110deg,#a0c3cf00,#e3ece499,#c9ab68b0,#a0c3cf00);background-size:250% 100%;animation:curios-engraving 12s ease-in-out infinite}
@keyframes curios-orbit{to{--curios-orbit:360deg}}
@keyframes curios-glacier{from{transform:translate3d(-4%,2%,0) rotate(-3deg)}to{transform:translate3d(5%,-3%,0) rotate(3deg)}}
@keyframes curios-engraving{0%,100%{background-position:100% 0;opacity:.5}50%{background-position:0 0;opacity:1}}
.curio-card-reserved{display:grid;place-items:center;width:100%;height:100%;border:1px solid #ae966044;border-radius:10px;background:linear-gradient(145deg,#1c252a,#10171d);font:600 13px Barlow,sans-serif;letter-spacing:.14em;color:#a9a497;box-shadow:inset 0 0 0 7px #141e24,inset 0 0 0 8px #ae966022}
[data-site-background="background-animated-mountain-pass"]{--site-background-image:linear-gradient(#0b131937,#0b131969),url('/assets/curios/winter-pass.webp');--ambient-layer-one:radial-gradient(ellipse at 22% 55%,#d4e4ec3d,transparent 50%),radial-gradient(ellipse at 78% 70%,#d0e1e94a,transparent 46%);--ambient-layer-two:url('/assets/curios/snowfall.svg');--ambient-size-two:640px 640px;--ambient-motion-one:curios-mist;--ambient-motion-two:curios-snow;--ambient-duration:34s;--ambient-duration-two:20s}
body[data-site-background="background-animated-mountain-pass"]{background-image:var(--site-background-image)!important;background-size:cover;background-position:center;background-attachment:fixed}
body[data-site-background="background-animated-mountain-pass"]>.game-page-texture{opacity:0!important}
body[data-site-background="background-animated-mountain-pass"]::after,.site-theme-sample[data-site-background="background-animated-mountain-pass"]::after{inset:-640px 0 0 -120px;animation:curios-snow 20s linear infinite;opacity:.55;background-repeat:repeat}
.site-theme-sample[data-site-background="background-animated-mountain-pass"]::after{background-size:160px 160px;inset:-160px 0 0 -30px;animation-name:curios-snow-preview}
@keyframes curios-mist{from{transform:translate3d(-5%,2%,0) scale(1.03);opacity:.3}to{transform:translate3d(6%,-2%,0) scale(1.09);opacity:.65}}
@keyframes curios-snow{to{transform:translate3d(0,640px,0)}}
@keyframes curios-snow-preview{to{transform:translate3d(0,160px,0)}}
@media(prefers-reduced-motion:reduce){[data-nameframe="curios-aureate"]::after,[data-namebackground="curios-glacier"]::before,[data-namebackground="curios-glacier"]:not([data-nameframe="curios-aureate"])::after{animation:none!important}}
body[data-grinder-motion="reduced"] [data-nameframe="curios-aureate"]::after,body[data-grinder-motion="reduced"] [data-namebackground="curios-glacier"]::before,body[data-grinder-motion="reduced"] [data-namebackground="curios-glacier"]:not([data-nameframe="curios-aureate"])::after{animation:none!important}

#curiosView .curio-object [data-nameframe="curios-aureate"],#curiosInspect .curio-object [data-nameframe="curios-aureate"]{border-radius:12px 2px;border:2px solid #b99a58;box-shadow:inset 0 0 0 3px #11191f,inset 0 0 0 4px #705a32,0 3px 0 #070d12,0 5px 0 #806943}
[data-nameframe="curios-aureate"]:not([data-namebackground])::before{inset:6px;background:linear-gradient(90deg,#c2a363 0 20px,transparent 20px calc(100% - 20px),#c2a363 calc(100% - 20px)) top left/100% 1px no-repeat,linear-gradient(90deg,#c2a363 0 20px,transparent 20px calc(100% - 20px),#c2a363 calc(100% - 20px)) bottom left/100% 1px no-repeat,radial-gradient(circle at 5px 50%,#dcc388 0 1.5px,transparent 2px),radial-gradient(circle at calc(100% - 5px) 50%,#dcc388 0 1.5px,transparent 2px);opacity:.9}
#curiosView .curio-object [data-namebackground="curios-glacier"],#curiosInspect .curio-object [data-namebackground="curios-glacier"]{border-color:#91b2bf;box-shadow:inset 0 0 0 2px #1b303b,inset 0 0 0 3px #5b7781,0 3px 0 #070d12,0 5px 0 #4c6975}
body[data-background-paused][data-site-background="background-animated-mountain-pass"]::before,body[data-background-paused][data-site-background="background-animated-mountain-pass"]::after,body[data-theme-hidden][data-site-background="background-animated-mountain-pass"]::before,body[data-theme-hidden][data-site-background="background-animated-mountain-pass"]::after{animation-play-state:paused}

/* The Death of Socrates: original canvas, crimson lining and gallery gilt. */
[data-site-background="background-death-of-socrates"]{--site-background-image:linear-gradient(#17130e18,#17130e40),url('/assets/curios/the-death-of-socrates.jpg');--ambient-layer-one:none;--ambient-layer-two:none}
body[data-site-background="background-death-of-socrates"]{background-image:var(--site-background-image)!important;background-size:cover;background-position:62% center;background-attachment:fixed}
body[data-site-background="background-death-of-socrates"]>.game-page-texture{opacity:0!important}
.site-theme-sample[data-site-background="background-death-of-socrates"]{background-position:62% center}
[data-namebackground="curios-socrates"]{isolation:isolate;overflow:hidden;background:#221d16;border:1px solid #947449;border-radius:2px;color:#fff3d7;box-shadow:inset 0 0 0 2px #291c15,inset 0 0 0 3px #753c2d}
[data-namebackground="curios-socrates"]::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#17120de8 4%,#20170b77 48%,#20170b20 76%,#17120d77),url('/assets/curios/the-death-of-socrates.jpg') 64% 45%/cover no-repeat;opacity:1;animation:none;z-index:-1}
[data-nameframe="curios-socrates"]{isolation:isolate;border:3px solid #aa8954;border-radius:2px;box-shadow:inset 0 0 0 1px #ead4a0,inset 0 0 0 3px #392a19,inset 0 0 0 4px #846742,0 0 0 1px #33261a,0 3px 0 #090907}
[data-nameframe="curios-socrates"]:not([data-namebackground]){background:#211e18}
[data-nameframe="curios-socrates"]::after{content:'';position:absolute;inset:5px;pointer-events:none;border:1px solid #b498655e;border-left:5px double #b99a63;border-right:5px double #b99a63;border-radius:0;background:linear-gradient(#833f2d,#833f2d) left center/2px 50% no-repeat,linear-gradient(#833f2d,#833f2d) right center/2px 50% no-repeat;animation:none;z-index:2}
#curiosView .curio-object [data-nameframe="curios-socrates"],#curiosInspect .curio-object [data-nameframe="curios-socrates"]{border:3px solid #aa8954;border-radius:2px;box-shadow:inset 0 0 0 1px #ead4a0,inset 0 0 0 3px #392a19,inset 0 0 0 4px #846742,0 4px 0 #090907,0 6px 0 #695238}
#curiosView .curio-card-duo,#curiosInspect .curio-card-duo{width:min(100%,460px);gap:12px;align-items:end;padding:0 12px;box-sizing:border-box}
#curiosView .curio-card-duo .curio-card-art,#curiosInspect .curio-card-duo .curio-card-art{position:relative;width:calc((100% - 12px)/2);height:auto;aspect-ratio:5/7;max-width:none;transform:rotate(-4deg);transform-origin:bottom center}
#curiosView .curio-card-duo .curio-card-art+ .curio-card-art,#curiosInspect .curio-card-duo .curio-card-art+ .curio-card-art{transform:rotate(4deg)}
@media(max-width:700px){#curiosView .curio-card-duo,#curiosInspect .curio-card-duo{max-width:340px;gap:8px;padding:0 14px}}
