:root{color-scheme:dark;font-family:system-ui,sans-serif;color:#f5f3fa;background:#101018}
*{box-sizing:border-box}
body{max-width:110rem;margin:auto;padding:clamp(1rem,3vw,3rem);line-height:1.5}
header,.controls{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}
a{color:#e0d0ff;text-underline-offset:.2em}
h1{font-size:2.25rem;line-height:1.2;margin:.2rem 0 .5rem}
button,select,summary{font:inherit;color:inherit;background:#232133;border:1px solid #66617b;border-radius:.4rem;padding:.55rem .7rem;cursor:pointer}
details[open]{width:min(100%,25rem);padding:.75rem;background:#191824;border-radius:.4rem}
details p{margin:.65rem 0}
#choices{max-height:16rem;overflow:auto}
#choices label{display:flex;gap:.6rem;padding:.35rem 0;overflow-wrap:anywhere}
#status,footer{color:#d2cbe0}
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,21rem),1fr));gap:1rem}
.tile{min-height:8rem;background:#1e1b2b;border:1px solid #49405e;border-radius:.5rem;padding:1.25rem;overflow-wrap:anywhere}
.tile h2{font-size:1.55rem;line-height:1.3;margin:0 0 .5rem}
.tile p{margin:0;color:#d2cbe0}
footer{margin-top:1.5rem;display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
footer img{display:block}
#mediaForm{display:grid;gap:.5rem;margin-top:.65rem}
#mediaUrl{font:inherit;min-width:0;width:100%;padding:.5rem;color:inherit;background:#232133;border:1px solid #66617b;border-radius:.4rem}
#mediaPlayer{margin-bottom:1rem}
#mediaPlayer iframe{display:block;width:100%;max-width:48rem;aspect-ratio:16/9;min-height:200px;border:0}
#mediaPlayer audio{width:min(100%,32rem)}
.wallpaper{position:fixed;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;pointer-events:none}
body.has-wallpaper::before{content:"";position:fixed;inset:0;z-index:-1;background:rgb(16 16 24 / 72%);pointer-events:none}
