/* Illustrated biome choices: open meadows, layered forest, and a warm oasis. */
#titleScreen{gap:26px;padding:56px 18px 42px}
#titleScreen .title-group{margin:0;width:min(660px,86vw);flex:0 0 auto}
#titleScreen .title-buttons{flex:0 0 auto;gap:8px}
#titleScreen .scene-select{gap:8px;margin-bottom:4px;align-items:stretch}
#titleScreen .scene-card{--scene-accent:#5a8c79;--scene-paper:#e9f0e7;position:relative;display:grid;grid-template-rows:72px auto 1fr;height:148px;min-width:0;padding:0;overflow:hidden;border:2px solid #768d79;outline:none;background:var(--scene-paper);color:#30483b;text-shadow:none;box-shadow:inset 0 0 0 1px #f8fff1,0 3px 0 #15271d55;transition:transform .12s ease,border-color .12s ease}
#titleScreen .scene-card[data-theme=plains]{--scene-accent:#9b995b;--scene-paper:#f1efd9;border-color:#a9ae7b;color:#474c31}
#titleScreen .scene-card[data-theme=oasis]{--scene-accent:#b49461;--scene-paper:#f5ecd9;border-color:#bea278;color:#615036}
#titleScreen .scene-card .scene-preview{display:block;width:100%;height:72px;object-fit:cover;object-position:center;image-rendering:pixelated;filter:brightness(var(--scene-brightness,1.08)) saturate(var(--scene-saturation,.9));pointer-events:none;border-bottom:1px solid #ffffff9c}
#titleScreen .scene-card>b{display:block;align-self:center;margin:8px 5px 0;font-size:15px;line-height:1.15;font-weight:700;letter-spacing:0}
#titleScreen .scene-card>.scene-copy{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;align-self:start;margin:6px 7px 8px;font-size:11px;line-height:1.3;color:#576957;text-shadow:none}
#titleScreen .scene-card[data-theme=plains]>.scene-copy{color:#6c7050}
#titleScreen .scene-card[data-theme=oasis]>.scene-copy{color:#7e6d51}
#titleScreen .scene-card:hover{transform:translateY(-2px);border-color:var(--scene-accent);box-shadow:inset 0 0 0 1px #fff,0 5px 0 #15271d45}
#titleScreen .scene-card.chosen{border-color:var(--scene-accent);outline:2px solid #f5ffe8;outline-offset:1px;box-shadow:inset 0 0 0 1px #fff,0 3px 0 #15271d55}
#titleScreen .scene-card.chosen::after{content:'✓';position:absolute;top:5px;right:5px;display:grid;place-items:center;width:18px;height:18px;border:1px solid var(--scene-accent);background:#f8fff2;color:var(--scene-accent);font-size:14px;line-height:1;text-shadow:none;font-weight:bold}
#titleScreen .scene-card:focus-visible{outline:2px solid #fff;outline-offset:3px}
#titleScreen .scene-card:active{transform:translateY(1px)}
@media(max-width:700px){#titleScreen{gap:22px;padding:56px 12px 40px}#titleScreen .title-group{width:min(440px,92vw);max-width:92vw}#titleScreen .title-buttons{gap:6px}#titleScreen .scene-select{gap:6px}#titleScreen .scene-card{grid-template-rows:40px 28px 1fr;height:124px}#titleScreen .scene-card .scene-preview{height:40px}#titleScreen .scene-card>b{margin:4px 4px 0;font-size:12px;line-height:1.1}#titleScreen .scene-card>.scene-copy{font-size:9px;line-height:1.25;margin:4px 4px 5px;max-height:34px}#titleScreen .scene-card.chosen::after{top:3px;right:3px;width:14px;height:14px;font-size:11px}#titleScreen .splash{font-size:12px;bottom:-8px}}
@media(max-height:620px) and (min-width:701px){#titleScreen{gap:18px;padding-top:40px;padding-bottom:34px}#titleScreen .title-group{width:min(500px,70vw)}#titleScreen .scene-card{height:124px;grid-template-rows:58px auto 1fr}#titleScreen .scene-card .scene-preview{height:58px}#titleScreen .scene-card>b{margin-top:6px;font-size:14px}#titleScreen .scene-card>.scene-copy{font-size:10px;margin:4px 6px 6px}}
@media(max-width:360px){#titleScreen .scene-card>b{font-size:11.5px}#titleScreen .scene-card>.scene-copy{font-size:8.5px}}
@media(prefers-reduced-motion:reduce){#titleScreen .scene-card{transition:none}#titleScreen .scene-card:hover{transform:none}}
