/* Let the games do the talking. One visual doubles as the playable entry. */
.games-section .section-heading{margin-bottom:28px}
.games-section .section-heading h2{font-size:46px}
.game-grid{align-items:start}
.game-summary{padding:24px 24px 19px}
.game-summary .game-title-row{align-items:center;gap:13px}
.game-summary .game-title-row>img{width:48px;height:48px;flex:none}
.game-summary h3{font-size:32px;font-weight:600;letter-spacing:-.04em;line-height:1.15;margin:0}
.game-genre{margin-left:auto;color:#51432f;font-size:14px;line-height:1.4;white-space:nowrap}
.game-summary .game-description{font-size:16px;line-height:1.6;margin-top:14px}
.playable-demo{margin:0;padding:0;border:0}
.demo-art{display:none;position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none;background:#356de9}
.demo-art::before{content:'';position:absolute;width:86%;aspect-ratio:1;left:7%;top:12%;border:1px solid #fdcf2e75;border-radius:50%}
.demo-art :is(.preview-back,.preview-front){position:absolute;display:block;object-fit:cover;object-position:top;border:6px solid #f9f6e3;border-radius:17px;background:#f9f6e3;box-shadow:0 18px 36px #123b8f55;transition:transform .4s}
.demo-art .preview-back{width:47%;height:auto;left:6%;top:17%;transform:rotate(-10deg)}
.demo-art .preview-front{width:48%;height:auto;right:7%;top:5%;transform:rotate(8deg)}
.softsweep-demo-art{background:#efd6bc}
.softsweep-demo-art::before{content:none}
.softsweep-demo-art img{position:absolute;display:block;height:auto}
.softsweep-demo-art .cover-meadow{inset:0;width:100%;height:100%;object-fit:cover;object-position:center 74%}
.softsweep-demo-art .cover-gameplay{width:39%;right:9%;top:9%;transform:rotate(8deg);border:clamp(3px,1vw,6px) solid #fff9e9;border-radius:clamp(10px,2vw,20px);box-shadow:0 10px 28px #30392c66}
.softsweep-demo-art .cover-pip{width:53%;left:0;top:21%;filter:drop-shadow(0 8px 12px #42432b55)}
.softsweep-demo-art .cover-wool{filter:drop-shadow(0 4px 6px #5e4b3938)}
.softsweep-demo-art .cover-wool-rose{width:14%;left:8%;top:12%;transform:rotate(-20deg)}
.softsweep-demo-art .cover-wool-mint{width:12%;left:28%;top:6%;transform:rotate(21deg)}
.softsweep-demo-art .cover-wool-lavender{width:10%;left:44%;top:19%;transform:rotate(34deg)}
.playable-demo .demo-screen{width:calc(100% - 40px);max-width:430px;margin-inline:auto}
.playable-demo[data-state="idle"] .demo-screen{width:100%;max-width:none;aspect-ratio:6/5;border:0;border-radius:0;box-shadow:none}
.playable-demo[data-state="idle"] .demo-art{display:block}
.playable-demo[data-state="idle"] .demo-cover{align-items:flex-end;padding:24px;background:linear-gradient(180deg,transparent 50%,#102b704d);backdrop-filter:none}
.softsweep-card .playable-demo[data-state="idle"] .demo-cover{background:linear-gradient(180deg,transparent 65%,#253c2b80)}
.playable-demo[data-state="idle"] .demo-cover-content{margin:0 auto;gap:0}
.playable-demo[data-state="idle"] .demo-level,
.playable-demo[data-state="idle"] [data-demo-title],
.playable-demo[data-state="idle"] [data-demo-copy]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.playable-demo[data-state="idle"] .demo-start{margin:0;min-height:54px;font-size:17px;max-width:236px;box-shadow:0 6px 24px #102b7066}
.demo-start svg{width:22px;height:22px}
.demo-toolbar{width:calc(100% - 40px);max-width:430px;margin:0 auto 10px}
.playable-demo[data-state="idle"] .demo-toolbar,
.playable-demo[data-state="loading"] .demo-toolbar,
.playable-demo[data-state="complete"] .demo-toolbar,
.playable-demo[data-state="lost"] .demo-toolbar,
.playable-demo[data-state="error"] .demo-toolbar{display:none}
.demo-help{margin:14px 24px 0;color:#51432f;font-size:14px;line-height:1.65}
.demo-help summary{width:fit-content;cursor:pointer;color:#2655bd;text-underline-offset:3px}
.demo-help summary:hover{text-decoration:underline}
.demo-help>div{padding-top:9px;max-width:440px}
.demo-help p+p{margin-top:8px}
.game-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:17px 24px 20px}
.media-thumb{position:relative;min-width:0;aspect-ratio:4/5;overflow:hidden;padding:0;background:#356de9;border:1px solid #356de93d;border-radius:8px}
.media-thumb>img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .3s}
.media-thumb:hover>img{transform:scale(1.07)}
.thumb-expand{position:absolute;bottom:7px;right:7px;display:flex;align-items:center;justify-content:center;width:25px;height:25px;background:#f9f6e3ed;border-radius:5px;color:#311300}
.thumb-expand svg{width:15px;height:15px}
.trailer-thumb::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#102b7020,#102b7055 45%,#102b70f0);pointer-events:none}
.trailer-play{position:absolute;z-index:1;left:50%;top:43%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:43px;height:43px;padding-left:2px;background:#fdcf2e;color:#311300;border-radius:50%}
.trailer-play svg{width:23px;height:23px}
.trailer-label{position:absolute;z-index:1;bottom:10px;left:0;right:0;text-align:center;color:#fff;font-size:15px;font-weight:600;text-shadow:0 1px 4px #102b70}
.game-availability{padding:0 24px 18px}
.game-availability .store-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.game-availability .store-button{padding:11px 12px;gap:10px}
.game-availability .store-button small{font-size:13px;letter-spacing:0;line-height:1.3;white-space:nowrap}
.game-availability .store-button>span{font-size:16px}
.game-availability .policy-link{display:block;width:fit-content;margin:13px auto 0;font-size:13px;line-height:1.5}
.trailer-dialog{width:min(520px,calc(100vw - 28px));padding:20px;max-height:94svh;overflow:auto}
.trailer-dialog .gallery-header{gap:16px;margin-bottom:14px}
.trailer-dialog h2{font-size:25px;line-height:1.2}
.trailer-dialog .game-video{width:auto;height:auto;max-width:100%;max-height:74svh;margin:auto;aspect-ratio:6/13;background:#101825;box-shadow:none}
@media(max-width:900px){.game-grid{grid-template-columns:1fr;gap:28px}}
@media(max-width:620px){.games-section .section-heading h2{font-size:36px}.games-section .section-heading{margin-bottom:22px}.game-grid{grid-template-columns:1fr;gap:25px}.game-summary{padding:21px 20px 17px}.game-summary h3{font-size:30px}.game-summary .game-title-row{gap:11px}.game-summary .game-description{margin-top:12px;font-size:16px}.game-genre{font-size:13px}.playable-demo[data-state="idle"] .demo-cover{padding:20px}.playable-demo[data-state="idle"] .demo-start{min-height:49px;font-size:16px;max-width:210px}.demo-art :is(.preview-back,.preview-front){border-width:4px;border-radius:13px}.demo-help{margin:13px 20px 0}.game-gallery{padding:15px 20px 18px;gap:8px}.trailer-play{width:36px;height:36px}.trailer-play svg{width:21px;height:21px}.thumb-expand{width:22px;height:22px;bottom:5px;right:5px}.thumb-expand svg{width:13px;height:13px}.trailer-label{font-size:14px;bottom:7px}.game-availability{padding:0 20px 17px}.game-availability .store-button{gap:8px;padding:11px 9px}.game-availability .store-button>svg{width:22px;height:22px}.game-availability .store-button>span{font-size:15px}.trailer-dialog{padding:15px}.trailer-dialog h2{font-size:22px}}
@media(max-width:360px){.playable-demo .demo-screen{width:calc(100% - 32px)}.game-summary{padding-inline:16px}.game-summary h3{font-size:27px}.game-summary .game-title-row>img{width:42px;height:42px}.game-summary .game-title-row{display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:10px;row-gap:3px}.game-summary .game-title-row>img{grid-column:1;grid-row:1/span 2}.game-summary h3{grid-column:2;grid-row:1}.game-genre{grid-column:2;grid-row:2;margin:0;font-size:13px}.game-summary .game-description{font-size:15px}.game-gallery{padding-inline:16px;gap:6px}.game-availability{padding-inline:16px}.game-availability .store-button{padding:11px 5px;gap:6px;flex-direction:column;justify-content:center;text-align:center}.game-availability .store-button>span{font-size:15px}.game-availability .store-button>svg{width:22px;height:22px}.game-availability .store-button small{font-size:13px}.demo-help{margin-inline:16px}.playable-demo[data-state="idle"] .demo-start{max-width:190px}.game-gallery .trailer-play{width:32px;height:32px}.thumb-expand{width:21px;height:21px}.game-gallery .trailer-label{font-size:13px}}
@media(prefers-reduced-motion:reduce){.media-thumb>img,.demo-art img{transition:none}}

/* A single optional guide; the header owns the site's sound preference. */
.demo-utility-row{margin:14px 24px 0}
.demo-utility-row .demo-help{margin:0;min-width:0;padding-top:5px}
.demo-utility-row .demo-help[open]>div{padding-top:16px}
@media(max-width:620px){.demo-utility-row{margin:13px 20px 0}}
@media(max-width:360px){.demo-utility-row{margin-inline:16px}}
