:root{color-scheme:dark;--bg:#101218;--gold:#c8a45d;--text:#e8dcc0;--muted:#bdb29e;--stone:#24252b;--ember:#791d29;--line:#50432e;--accent:#d2ad65}
.separated{margin-top:2rem}.event-hero{min-height:380px}.event-hero h1{font-size:clamp(2.5rem,6vw,5rem)}.dropzone{padding:1rem;border:1px dashed #8e754b}.item-icon{height:48px;width:auto;object-fit:contain}
.prize .crest{color:var(--gold);font-size:3rem}.prize.awarded{border-color:var(--gold);box-shadow:inset 0 0 32px #b5924e2b}.form details{border-bottom:1px solid var(--line);padding:.55rem}.form details label{margin:.5rem 0}.form summary{cursor:pointer}
.boss-card .art{height:180px;filter:drop-shadow(0 10px 13px #050509c0)}.boss-card:hover{border-color:#a9874f}.detail-art{display:flex;align-items:center;justify-content:center;gap:2rem}.detail-art .art{margin:0}.tile img{image-rendering:pixelated;filter:drop-shadow(0 3px 3px #08080c)}.tile:hover img{filter:drop-shadow(0 0 5px #f2c77c88)}.hero .hero-art{height:95%;width:min(53%,910px);right:max(2vw,calc((100vw - 1450px)/2));object-position:center bottom;mask-image:none;filter:drop-shadow(0 0 45px #9c4a3588)}@media(max-width:720px){.hero .hero-art{height:78%;width:78%;right:-12%;opacity:.66}}.wheel-result .art{height:240px;filter:drop-shadow(0 0 22px #bd854e44)}
#event-state{align-items:start}.board .tile:not(.done){background:radial-gradient(ellipse at 50% 24%,#4a4037 0%,#2c2930 50%,#1d1d24 100%)}.board .tile img{filter:brightness(1.16) drop-shadow(0 3px 3px #08080c)}.board .tile:hover img{filter:brightness(1.16) drop-shadow(0 0 6px #f2c77c88)}
.wheel-result .art{animation:appear .65s ease-out}.boss-card .art{transition:transform .25s ease}.boss-card:hover .art,.boss-card:focus-within .art{transform:translateY(-4px)}
.public-wheel-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(12rem,16rem);gap:clamp(1rem,3vw,3rem);align-items:start}
.public-wheel-layout fieldset{max-height:min(70vh,46rem)}
.wheel-stage{min-width:0;text-align:center}
.wheel-stage .wheel-wrap{width:min(100%,39rem);margin:1rem auto 1.5rem}
.public-wheel-layout .wheel-wrap{width:min(100%,58rem)}
.wheel-stage canvas{width:100%;height:auto;box-sizing:border-box;transition:none}
.wheel-actions{justify-content:center}.wheel-status{min-height:1.55em;margin:.6rem 0;color:var(--muted)}
.wheel-stage:fullscreen{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;overflow:auto;
  width:100%;height:100%;padding:1rem;background:#101218;color:var(--text)}
.wheel-stage:fullscreen .wheel-wrap{flex:none;width:min(calc(100dvw - 2.5rem),calc(100dvh - 9rem),74rem);margin:.6rem auto 1rem}
.wheel-stage:fullscreen .wheel-actions{position:sticky;bottom:0;z-index:2;flex:none;
  background:#101218;padding:.55rem .8rem;border:1px solid var(--line)}
.wheel-stage:fullscreen .wheel-result{flex:none;max-width:calc(100vw - 2rem)}
.wheel-stage:fullscreen:has(.wheel-result:not([hidden])) .wheel-result{position:absolute;right:1.1rem;bottom:4rem;
  width:min(19rem,28vw);max-height:calc(100dvh - 6rem);overflow:auto;background:#17161df5;border:1px solid var(--gold);padding:1rem}
.wheel-stage:fullscreen .wheel-result h2{font-size:clamp(1.25rem,2vw,2rem)}
.wheel-stage:fullscreen .wheel-result .art{max-height:20vh}
@media(max-width:850px){.public-wheel-layout{grid-template-columns:1fr}}
@media(max-width:620px){.wheel-stage:fullscreen:has(.wheel-result:not([hidden])) .wheel-result{position:static;width:100%}}
.reel-stage{min-width:0;text-align:center}
.reel-window{position:relative;overflow:hidden;border-block:4px double #ba9356;border-inline:1px solid #72563a;
  background:#13131b;box-shadow:inset 0 0 40px #050509,0 0 30px #ae72442a;padding:1.15rem 0;isolation:isolate}
.reel-window::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,#0c0d16 0%,transparent 23% 77%,#0c0d16 100%)}
.reel-track{position:relative;display:flex;gap:.65rem;width:max-content;will-change:transform}
.reel-boss{flex:none;width:clamp(10.5rem,30vw,16rem);height:clamp(14rem,30vw,19rem);padding:1rem;display:grid;
  grid-template-rows:minmax(0,1fr) auto;place-items:center;gap:.6rem;border:1px solid #856742;
  background:radial-gradient(ellipse at 50% 40%,#3c353d,#1a1b24 69%);box-shadow:inset 0 0 0 3px #130f17}
.reel-portrait{width:100%;height:100%;min-height:0;object-fit:contain;filter:drop-shadow(0 9px 9px #050507)}
.reel-moving .reel-portrait{filter:none}
.reel-boss strong{font:700 clamp(1rem,2.2vw,1.5rem)/1.08 Georgia,serif;color:#f5e3bd;text-shadow:0 2px 2px #050507}
.reel-boss.reel-winner{border-color:#f5cb7c;box-shadow:inset 0 0 40px #d5974555,0 0 16px #eab55c77}
.reel-marker{position:absolute;z-index:1;inset:0 auto 0 50%;width:1px;pointer-events:none}
.reel-marker::before,.reel-marker::after{content:"";position:absolute;left:50%;transform:translateX(-50%);
  border-inline:12px solid transparent;filter:drop-shadow(0 0 7px #dd9b4d)}
.reel-marker::before{top:-1px;border-top:18px solid #efca80}.reel-marker::after{bottom:-1px;border-bottom:18px solid #efca80}
.reel-controls{justify-content:center;margin-top:1rem}.reel-result:not([hidden]){display:flex;align-items:center;justify-content:center;gap:1.5rem;
  padding:1rem;border:1px solid #8d7047;background:#191722;animation:appear .5s ease-out}
.reel-result h2{margin-bottom:.55rem}.reel-reveal{max-width:48%;height:clamp(100px,20vh,190px);object-fit:contain}
.reel-stage:fullscreen{width:100%;height:100%;overflow:auto;background:#101218;padding:clamp(1rem,4vh,3rem) 1rem;
  display:flex;flex-direction:column;align-items:center;justify-content:center}
.reel-stage:fullscreen>*{width:min(100%,86rem)}.reel-stage:fullscreen .reel-boss{width:clamp(10.5rem,28vw,21rem);height:clamp(12rem,42dvh,26rem)}
.reel-stage:fullscreen .reel-controls{flex:none}.reel-stage:fullscreen .reel-result{max-width:52rem}
@media(max-height:660px){.reel-stage:fullscreen{justify-content:flex-start}.reel-stage:fullscreen .reel-reveal{height:85px}}
.reel-result{position:relative;isolation:isolate}
.reel-reveal-copy,.reel-reveal{position:relative;z-index:1}
.reel-callout{margin:.15rem 0 .65rem;color:#ffce80;font-weight:850;letter-spacing:.09em;text-shadow:0 0 14px #f28e4688}
.reel-stage .reel-fireworks{position:fixed;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:5}
.reel-fireworks span{position:absolute;left:var(--x);top:var(--y)}
.reel-fireworks i{position:absolute;width:5px;height:5px;border-radius:50%;background:var(--spark);
  color:var(--spark);box-shadow:0 0 9px 2px currentColor;opacity:0;
  animation:reel-firework 1.3s cubic-bezier(.13,.53,.32,1) var(--delay) both}
@keyframes reel-firework{0%{opacity:0;transform:scale(.1)}13%{opacity:1}62%{opacity:.78}
  100%{opacity:0;transform:translate(var(--dx),calc(var(--dy) + 23px)) scale(.24)}}
.sigil{position:absolute;right:max(6vw,calc((100vw - 1170px)/2));top:50%;width:min(38vw,510px);aspect-ratio:1;transform:translateY(-50%) rotate(-12deg);display:grid;place-items:center;border:1px solid #ae77485e;border-radius:50%;box-shadow:0 0 70px #bd692c25,inset 0 0 80px #bd692c27;pointer-events:none;z-index:-1;color:#b98d57a0}.sigil::before,.sigil::after{content:"";position:absolute;border:1px solid #b18a535e;inset:12%;rotate:45deg}.sigil::after{inset:6%;rotate:0deg;border-radius:50%;border-style:dashed}.sigil span{font:clamp(4rem,18vw,17rem)/1 Georgia;text-shadow:0 0 34px #df783f88;animation:sigil-glow 7s ease-in-out infinite alternate}@keyframes sigil-glow{to{opacity:.5}}@media(max-width:650px){.sigil{right:-10%;top:44%;width:70vw;opacity:.5}}
*{box-sizing:border-box}body{margin:0;color:var(--text);background:var(--bg);font:1rem/1.55 system-ui,sans-serif}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}h1,h2,h3,.brand,.crest{font-family:Georgia,serif;font-weight:500;line-height:1.1}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.4rem,7vw,6.5rem);margin-bottom:1rem}h2{font-size:clamp(1.8rem,4vw,3rem);margin-bottom:1rem}h3{font-size:1.4rem}.skip{position:fixed;top:-8rem;left:1rem;z-index:10;background:#101218;padding:1rem}.skip:focus{top:1rem}:focus-visible{outline:2px solid #f1d59b;outline-offset:4px}
.mast{display:flex;align-items:center;gap:1.3rem;justify-content:space-between;padding:1rem clamp(1rem,4vw,4.5rem);border-bottom:1px solid var(--line);background:#101218;position:relative;z-index:2}.mast nav{display:flex;gap:clamp(.6rem,2vw,2rem);flex-wrap:wrap}.mast nav a{color:var(--text);font-size:.9rem}.brand{white-space:nowrap;font-size:1.35rem;color:var(--text)}.brand span,.brand b{color:var(--gold)}.button{display:inline-flex;align-items:center;justify-content:center;text-align:center;padding:.66rem 1rem;border:1px solid var(--gold);background:#251d13;color:#f5e6c6;font-weight:650;min-height:44px}.button:hover{background:#3d2b1b;text-decoration:none}.button.primary{background:#d5ad65;color:#1c140d}.button.twitch{background:#59329d;border-color:#a482ed;color:white}.button:disabled{cursor:wait;opacity:.6}
.hero{position:relative;min-height:min(660px,80vh);display:grid;align-items:center;isolation:isolate;overflow:hidden;padding:clamp(3rem,9vw,8rem) max(1rem,calc((100vw - 1240px)/2));border-bottom:1px solid var(--line);background:radial-gradient(ellipse at 78% 55%,var(--ember),transparent 58%),#110e14}.hero::before,.surface::before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(117deg,#ffffff04 0 1px,transparent 1px 7px);z-index:-1}.hero-art{position:absolute;right:0;bottom:0;height:100%;width:63%;object-fit:contain;object-position:right bottom;z-index:-2;mask-image:linear-gradient(90deg,transparent,black 28%);animation:appear .8s ease-out}.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#100d13 10%,#100d13c9 37%,transparent 82%);z-index:-1}.hero-text{max-width:700px}.hero-title{max-width:8ch;color:#f5e5bc;text-shadow:0 5px 30px #100b0a;letter-spacing:-.055em}.eyebrow{text-transform:uppercase;color:#dfbd7a;font-size:.85rem;font-weight:700;letter-spacing:.19em}.motto{font-family:Georgia,serif;color:#f2d69a;font-size:clamp(1.3rem,3vw,2.1rem);letter-spacing:.05em;margin-bottom:.6rem}.hero p:not(.eyebrow):not(.motto){max-width:43ch;color:#e7dccb}.actions{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center}.embers{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}.embers i{position:absolute;bottom:-10%;left:var(--x);width:3px;height:3px;background:#ffd290;box-shadow:0 0 11px 3px #e78031;border-radius:50%;animation:rise var(--t) linear infinite;animation-delay:var(--d)}@keyframes rise{from{transform:translateY(0);opacity:0}25%{opacity:.8}to{transform:translate(80px,-680px);opacity:0}}@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.wrap{width:min(1240px,calc(100% - 2rem));margin:auto;padding:3.25rem 0}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap}.surface{position:relative;isolation:isolate;background:#1b1a20;border:1px solid var(--line);padding:clamp(1rem,3vw,2rem);box-shadow:inset 0 0 0 3px #0d0e1155}.columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:1.3rem}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:1rem}.art{height:200px;margin:auto;object-fit:contain}.muted{color:var(--muted)}.stat{font-size:1.2rem;color:#f5db9e}.stack{display:grid;gap:1rem}.form{display:grid;gap:1rem}.form label{display:grid;gap:.3rem}.form fieldset{border:1px solid var(--line);max-height:18rem;overflow:auto}.form fieldset label,.form .inline{display:flex;align-items:center;gap:.5rem}.form input:not([type=checkbox]),.form select,.form textarea,footer select{width:100%;padding:.55rem;color:var(--text);background:#121217;border:1px solid #776448}.form input[type=checkbox]{accent-color:var(--gold)}.form output{color:#f6d795}.row{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap}.rank{display:grid;grid-template-columns:2rem minmax(0,1fr) auto auto;gap:.75rem;align-items:center;padding:.65rem 0;border-bottom:1px solid var(--line)}.rank[data-rank="1"]{color:#f0ce83}.rank[data-rank="2"]{color:#d6d9e1}.rank[data-rank="3"]{color:#e5b28f}.avatar{width:32px;height:32px;border-radius:50%}.board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(3px,1vw,11px)}.tile{display:grid;align-content:center;justify-items:center;position:relative;gap:.3rem;min-width:0;min-height:clamp(82px,13vw,126px);padding:.35rem;border:1px solid #69583b;box-shadow:inset 0 0 0 2px #101218;background:#24252b;color:var(--text);overflow-wrap:anywhere;line-height:1.15;font-size:clamp(.65rem,1.6vw,.95rem)}.tile small{color:var(--muted)}.tile img{height:clamp(16px,5vw,38px);object-fit:contain}.tile.elite{border-color:#9366ac}.tile.done{background:#12332d;border-color:#8fae73;color:#fff1c8}.tile.line{box-shadow:inset 0 0 14px #b5a45c5c}.tile b{color:#ffd478}.tile:hover{border-color:#f2ce88}.tile:focus-visible{z-index:1}
.wheel-wrap{position:relative;width:min(540px,100%);margin:1rem auto 2rem}.wheel-wrap canvas{width:100%;display:block;border:9px ridge #ad894b;border-radius:50%;box-shadow:0 0 38px #ad894b55;transition:transform 4.4s cubic-bezier(.14,.71,.2,1)}.pointer{position:absolute;left:50%;top:-13px;z-index:1;transform:translateX(-50%);border-left:17px solid transparent;border-right:17px solid transparent;border-top:33px solid #f5d792}.wheel-result{text-align:center;min-height:4rem}.wheel-wrap:fullscreen{width:100%;display:grid;place-items:center;background:#121218}.wheel-wrap:fullscreen canvas{width:min(80vh,80vw)}
footer{border-top:1px solid var(--line);padding:1.3rem max(1rem,calc((100vw - 1240px)/2));display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap;color:var(--muted)}footer label{display:flex;gap:.6rem;align-items:center}dialog{width:min(650px,calc(100% - 2rem));max-height:88vh;background:#1b191c;border:1px solid var(--gold);color:var(--text);padding:1.2rem}dialog::backdrop{background:#050507d9}dialog form{display:flex;justify-content:end;margin-bottom:1rem}#notification{position:fixed;inset:auto 1rem 1rem auto;z-index:4;max-width:min(420px,calc(100% - 2rem));padding:1.25rem;background:#2b2218;border:1px solid #efce8c;box-shadow:0 0 45px #c28c4355;animation:appear .55s ease}.overlay{background:transparent}.overlay .mast,.overlay footer{display:none}.overlay #main{position:absolute;inset:auto 2rem 2rem 2rem}
[data-theme=saradomin]{--ember:#285280;--accent:#b9d5fd}[data-theme=guthix]{--ember:#295940;--accent:#a6d1a0}[data-theme=necromancy]{--ember:#523582;--accent:#83e0d5}[data-theme=sanctum]{--ember:#263986;--accent:#b3c6ff}[data-theme=zuk]{--ember:#a73812;--accent:#f5a872}[data-theme=amascut]{--ember:#5a2659;--accent:#e1afd8}[data-theme=christmas]{--ember:#22635d;--accent:#b2e9df}
body[data-graphics=low] .embers,body[data-graphics=medium] .embers{display:none}body[data-graphics=low] *,body[data-graphics=low] *::before{animation:none!important;transition:none!important}
@media(max-width:850px){.mast{flex-wrap:wrap}.mast nav{order:3;width:100%}.hero{min-height:560px}.hero-art{width:85%;opacity:.7}.columns{grid-template-columns:1fr}}
@media(max-width:500px){.mast{gap:.75rem}.mast .button{font-size:.8rem;padding:.45rem}.hero-art{width:100%}.wrap{padding:2rem 0}.rank{grid-template-columns:1.5rem minmax(0,1fr) auto;gap:.35rem}.rank .avatar{display:none}.tile{padding:.2rem}.tile small{font-size:.6rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.embers{display:none}}
.bingo-sample{max-width:920px;margin-inline:auto}
.bingo-sample h1{font-size:clamp(2.5rem,5vw,4.6rem)}
.bingo-card{--tile-edge:#8a6943;min-width:0}
.bingo-card .board{gap:clamp(3px,1vw,10px)}
.bingo-card .tile{
  display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;
  overflow:hidden;padding:0;border-radius:6px;border-color:var(--tile-edge);
  background:#191920;isolation:isolate;text-align:center;
}
.bingo-card .tile:not(.done){background:#1c1b23}
.bingo-card .tile.elite{border-color:#ab73cc}
.bingo-card .tile.done{border-color:#70a987;background:#102b25}
.bingo-card .tile.line{border-color:#d2b775;box-shadow:0 0 10px #cbb37340,inset 0 0 0 1px #d2b77580}
.bingo-card .tile:hover,.bingo-card .tile:focus-visible{border-color:#f2ce88}
.tile-scene{
  position:relative;isolation:isolate;overflow:hidden;display:block;aspect-ratio:1.25;
  background:radial-gradient(ellipse at 52% 40%,#664a38,#2c2630 66%,#15151d);
}
.tile.done .tile-scene{background:radial-gradient(ellipse at 52% 40%,#36644c,#1d4135 66%,#132220)}
.tile.elite:not(.done) .tile-scene{background:radial-gradient(ellipse at 52% 40%,#5d3b70,#362338 66%,#18141f)}
.tile-scene::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#09090bc9,transparent 56%);pointer-events:none}
.bingo-card .tile .tile-boss-portrait{
  position:absolute;inset:1% 3% auto;width:94%;height:100%;object-fit:contain;object-position:center bottom;
  image-rendering:auto;filter:brightness(.9) drop-shadow(0 4px 7px #08080c);transform-origin:50% 70%;
}
.bingo-card .tile:hover .tile-boss-portrait,.bingo-card .tile:focus-visible .tile-boss-portrait{
  filter:brightness(1.12) drop-shadow(0 4px 7px #08080c)
}
.bingo-card .tile .tile-item-icon{
  position:absolute;z-index:1;right:5%;bottom:5%;width:clamp(17px,3.9vw,40px);height:clamp(17px,3.9vw,40px);
  object-fit:contain;padding:2px;border:1px solid #ad8d55;background:#121219e8;border-radius:4px;
}
.tile-caption{display:grid;align-content:start;gap:4px;padding:7px 3px;line-height:1.12}
.tile-caption strong{font-size:clamp(.57rem,1.1vw,.9rem);color:#f4e9ce}
.tile-caption small{font-size:clamp(.49rem,1vw,.72rem);color:#ddd0bc}
.tile-caption .tile-tier{color:#d6ad70}
.tile-check{
  position:absolute;z-index:2;top:4px;left:4px;display:grid;place-items:center;
  width:clamp(15px,2.4vw,25px);aspect-ratio:1;border:1px solid #af955b;
  background:#132c23;color:#ffde91;border-radius:50%;line-height:1;
}
@keyframes portrait-drift{
  from{transform:translate3d(0,1%,0) scale(1)}
  to{transform:translate3d(1%,-1.5%,0) scale(1.075)}
}
@media(prefers-reduced-motion:no-preference){
  body:is([data-graphics="high"],[data-graphics="ultra"]) .bingo-card .tile-boss-portrait{
    animation:portrait-drift 7.5s ease-in-out var(--portrait-delay,0s) infinite alternate;
  }
  body:is([data-graphics="high"],[data-graphics="ultra"]) #hero-art .hero-art{
    animation:appear .8s ease-out,portrait-drift 7.5s ease-in-out infinite alternate;
  }
}
@media(min-width:851px){
  #event-state:has(.bingo-card){grid-template-columns:minmax(0,2.3fr) minmax(215px,1fr)}
}
@media(max-width:500px){
  .bingo-card{padding:8px}
  .tile-caption{padding:5px 2px}
}
