/* Tall black PC/DVD cases, modeled after the user's reference photograph. */
/* Square artwork from official non-Steam sources keeps its full title visible. */
.booklet-art img[src^="covers/900000000"]{object-fit:contain;background:#0c1116}
.jewel-case{aspect-ratio:14/19;grid-template-columns:8px minmax(0,1fr) 5px;background:linear-gradient(90deg,#151817,#333936 2%,#101311 4%,#1b201d 97%,#414743 99%,#0d100e);border:1px solid #171d19;border-radius:5px;box-shadow:2px 3px 0 #1e2925,4px 7px 10px #20312535,inset 0 0 0 1px #67716977;transition:transform .2s}
.jewel-case:before{height:3px;left:3px;right:3px;top:1px;border:0;border-radius:3px;background:linear-gradient(90deg,#303c3555,#78867a77 25%,#424f4366 80%,#171c1a)}
.jewel-case:after{box-shadow:inset 0 0 0 1px #9aa79a26;background:linear-gradient(105deg,transparent 3%,#ffffff0c 5%,transparent 7%,transparent 81%,#ffffff09 87%,transparent 94%);border-radius:4px}
.jewel-spine{margin:5px 0 5px 2px;border:0;border-radius:3px 0 0 3px;background:linear-gradient(90deg,#171d18,#414b40 36%,#242d24 60%,#101511)}
.jewel-spine:before,.jewel-spine:after{width:3px;height:23px;left:-2px;border:0;border-radius:2px;background:linear-gradient(90deg,#0c100d,#7c857866,#1a211b);box-shadow:none}
.jewel-spine:before{top:25%}.jewel-spine:after{bottom:25%}
.jewel-booklet{margin:6px 0 7px 0;border:1px solid #090f0b;background:#151d16;box-shadow:0 0 0 1px #7f8d7755;border-radius:1px;overflow:hidden}
.booklet-band{height:22px;padding:0 7px;background:linear-gradient(90deg,#e9e9d9,#cad3c0 65%,#e9ecdd);border-bottom:1px solid #152719;color:#243327;font-family:"Arial Narrow","Segoe UI",sans-serif;font-size:9px;font-weight:700;letter-spacing:1px}
.booklet-band b{font-family:Arial,sans-serif;font-size:13px;font-weight:900;letter-spacing:-.5px}.booklet-band span{font-size:9px}
.booklet-art img{object-fit:cover;object-position:50% 50%}.booklet-title{display:none}
.jewel-edge{margin:5px 1px 6px 0;border:0;border-radius:0 2px 2px 0;background:linear-gradient(90deg,#172016,#69746366,#11190f)}
.jewel-case>.rating-badge{bottom:16px;right:-5px;transform:rotate(-4deg);z-index:6;font-size:15px;padding:6px 8px}
.card-body{padding-top:14px}.card-title{min-height:40px}.cover-placeholder span{font-family:"Arial Narrow","Segoe UI",sans-serif;font-size:25px;font-weight:800;line-height:1.1;letter-spacing:-.8px;text-align:center;padding:20px;overflow-wrap:anywhere;max-width:100%}
.cover-placeholder:before{width:120px;height:180px;border-radius:1px;border-color:#dce5cf25;box-shadow:0 0 0 12px #dce5cf06;transform:rotate(-9deg)}
.game-card:hover .jewel-case{transform:rotate(-.5deg)}
.list .game-card{grid-template-columns:90px minmax(0,1fr);gap:20px}.list .jewel-case{width:90px;grid-template-columns:4px minmax(0,1fr) 3px;border-radius:3px;aspect-ratio:14/19}
.list .jewel-spine{margin:3px 0 3px 1px}.list .jewel-spine:before,.list .jewel-spine:after{width:2px;height:12px;left:-1px}.list .jewel-spine:before{top:25%}.list .jewel-spine:after{bottom:25%}
.list .jewel-booklet{margin:3px 0 4px 0}.list .booklet-band{height:12px;padding:0 3px;font-size:5px;letter-spacing:.2px}.list .booklet-band b{font-size:7px;letter-spacing:0}.list .booklet-band span{font-size:5px}.list .booklet-title{display:none}.list .jewel-case>.rating-badge{bottom:8px;font-size:10px;padding:3px 4px;right:-3px}.list .cover-placeholder span{padding:6px;font-size:11px;letter-spacing:0}.list .cover-placeholder:before{width:40px;height:70px}
@media(max-width:800px){.jewel-case{grid-template-columns:7px minmax(0,1fr) 4px}.booklet-band{height:19px;padding:0 5px}.booklet-band b{font-size:11px}.booklet-band span{font-size:8px}.jewel-booklet{margin:5px 0 6px 0}.cover-placeholder span{font-size:22px;padding:13px}}
@media(max-width:550px){.game-grid{gap:27px 19px}.jewel-case{grid-template-columns:6px minmax(0,1fr) 4px;border-radius:4px}.jewel-spine{margin:4px 0 4px 1px}.jewel-spine:before,.jewel-spine:after{width:2px;height:18px;left:-1px}.jewel-booklet{margin:4px 0 5px 0}.booklet-band{height:17px;padding:0 4px}.booklet-band b{font-size:10px}.booklet-band span{font-size:7px;letter-spacing:.5px}.jewel-case>.rating-badge{bottom:12px;font-size:12px;padding:5px 6px;right:-4px}.cover-placeholder span{font-size:18px;letter-spacing:-.4px;padding:10px}.cover-placeholder:before{width:80px;height:130px}.list .game-card{grid-template-columns:78px minmax(0,1fr);gap:15px}.list .jewel-case{width:78px;grid-template-columns:3px minmax(0,1fr) 2px}.list .jewel-booklet{margin:3px 0 3px 0}.list .booklet-band{height:10px;padding:0 2px}.list .booklet-band b{font-size:6px}.list .booklet-band span{font-size:4px}.list .jewel-case>.rating-badge{bottom:7px;font-size:9px;right:-3px}.list .cover-placeholder span{font-size:10px;padding:5px}}
.detail-cover{width:100%;aspect-ratio:auto;max-height:none;overflow:hidden}
.detail-cover>img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.detail-cover>.cover-placeholder{aspect-ratio:460/215}
.dialog-close{display:grid;place-items:center;position:absolute;top:12px;right:12px;width:44px;height:44px;padding:0;border:2px solid #f6f5e9;border-radius:50%;background:linear-gradient(145deg,#56634e,#25352c);color:#fffdf1;font-size:0;box-shadow:0 3px 12px #101b13a6,inset 0 0 0 2px #ffffff1c;transition:background .15s,box-shadow .15s}
.dialog-close::before,.dialog-close::after{content:"";position:absolute;width:18px;height:3px;border-radius:2px;background:currentColor;transform:rotate(45deg)}
.dialog-close::after{transform:rotate(-45deg)}
.dialog-close:hover{background:linear-gradient(145deg,#6a7c58,#354c39);box-shadow:0 4px 15px #101b13b3,inset 0 0 0 2px #ffffff38}
.dialog-close:focus-visible{outline:3px solid #e9bc78;outline-offset:3px}

.detail-fields .detail-genres{grid-column:1 / -1}.detail-genres dd{line-height:1.65;color:#4d5b40}

/* A playable disc beside each game's title and score. */
.detail-intro{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:20px;align-items:center;margin-bottom:21px}
.detail-heading{min-width:0}.detail-heading h2{overflow-wrap:anywhere}.detail-heading .detail-score{margin-bottom:0}
.walkthrough-disc{display:flex;flex-direction:column;align-items:center;gap:7px;color:#304435;text-decoration:none;border-radius:50%;align-self:center}
.cd-disc{display:block;position:relative;width:200px;aspect-ratio:1;filter:drop-shadow(2px 5px 4px #29372c33);transition:transform .22s,filter .22s}
.cd-surface{position:absolute;inset:2.5%;border-radius:50%;background:conic-gradient(from 15deg,#e6e9d7,#f6f3e6 13%,#b2c6b6 21%,#c2c4d7 28%,#eee3c5 34%,#eff2e4 43%,#a8c4b6 52%,#d9d1df 63%,#f7e9c1 70%,#b9cfc8 78%,#e2e6d6 91%,#e6e9d7);box-shadow:inset 0 0 0 1px #798b795e,inset 0 0 0 6px #ffffff45}
.cd-disc svg{display:block;position:relative;width:100%;height:100%;overflow:visible}.cd-rim{fill:none;stroke:#697c6580;stroke-width:1}.cd-hub{fill:#f7f6e144;stroke:#7f90756b;stroke-width:1}.cd-hole{fill:#f6f5e9;stroke:#708269;stroke-width:2}.cd-play{fill:#526c4e}
.cd-lettering{fill:#34482f;font:700 12px 'Segoe UI',Arial,sans-serif;letter-spacing:1.25px;paint-order:stroke;stroke:#f4f3de88;stroke-width:1.2px}
a.walkthrough-disc:hover .cd-disc{transform:rotate(-7deg) translateY(-2px);filter:drop-shadow(3px 8px 6px #29372c44)}
a.walkthrough-disc:focus-visible{outline:3px solid #a66f3f;outline-offset:5px}.walkthrough-disc.is-disabled{cursor:default;color:#858a7d}.is-disabled .cd-disc{filter:grayscale(.85);opacity:.5}.cd-unavailable{font-size:11px;text-align:center;line-height:1.3}
@media(max-width:550px){.detail-intro{grid-template-columns:minmax(0,1fr) 140px;gap:12px}.cd-disc{width:140px}.detail-heading h2{font-size:23px}.detail-heading .detail-score{padding:6px 9px}.detail-heading .detail-score span{font-size:11px}.cd-unavailable{font-size:10px}}
.walkthrough-disc.is-empty{cursor:default}
.cd-empty{filter:none}
.cd-empty .cd-surface{background:radial-gradient(circle at 45% 40%,#464947 0,#3c3f3d 48%,#303330 68%,#242724 70%,#4c504b 72%,#2d302d 74%);box-shadow:inset 0 3px 10px #101310a6,inset 0 -1px 2px #70766d66,0 1px 0 #ffffff8c}
.cd-empty .cd-surface::after{content:"";position:absolute;inset:9%;border-radius:50%;border:1px solid #73786d36;box-shadow:inset 0 0 0 1px #1c201b55}
.cd-empty-hub{position:absolute;inset:43%;border:2px solid #242823;border-radius:50%;background:repeating-conic-gradient(#252a25 0deg 15deg,#656b60 15deg 30deg);box-shadow:0 2px 3px #11171199,0 0 0 4px #30372d,0 0 0 5px #60685866}
.cd-empty-hub::after{content:"";position:absolute;inset:27%;border-radius:50%;background:#31372f;border:1px solid #1b2118;box-shadow:inset 0 1px 2px #10160d}
.cd-empty .cd-lettering{fill:#d0d3c9;stroke:#191e1980;stroke-width:1px;letter-spacing:1.6px}
