/* Approved rewards preview, scoped to the lobby. Gameplay and existing fonts are untouched. */
.rw-dialog{opacity:1;transform:scale(1);transition:opacity 200ms cubic-bezier(.23,1,.32,1),transform 200ms cubic-bezier(.23,1,.32,1)}
.rw-dialog[data-closing=true]{opacity:0;transform:scale(.97);transition-duration:160ms}
.rw-dialog::backdrop{transition:opacity 200ms cubic-bezier(.23,1,.32,1);opacity:1}.rw-dialog[data-closing=true]::backdrop{opacity:0}
@starting-style{.rw-dialog[open]:not([data-instant=true]){opacity:0;transform:scale(.97)}.rw-dialog[open]::backdrop{opacity:0}}
.rw-dialog[data-instant=true]{transition:none}
@media(prefers-reduced-motion:reduce){.rw-dialog,.rw-dialog::backdrop{transition:none!important;transform:none!important}}
body[data-screen=home] .journey-shell.rw-layout{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:16px;max-width:1600px;width:100%;height:auto;min-height:0;padding-bottom:70px}
body[data-screen=home] .rw-layout .arrival{width:100%;max-width:none;flex:none;padding:0;margin:0}
.rw-showcase{display:grid;gap:20px;padding:24px;border:1px solid #778b6266;border-radius:22px;background:#0d211cdd;color:#f6f2ea}
.rw-heading h1{font-size:clamp(36px,4vw,54px)!important;line-height:1.05!important;margin:0!important;max-width:12ch}
.house-reward-ladder{flex:none;width:100%;padding-top:16px;margin-top:16px;border-top:1px solid #7f998355;text-align:left}
.house-reward-ladder p{font:400 13px/1.5 var(--ui);color:#d0dbce;margin:0 0 10px;max-width:70ch}
.house-reward-ladder p:last-child{margin-bottom:0}.house-reward-ladder strong{color:#f6f2ea}
.rw-heading p{font:400 14px/1.5 var(--ui);margin:12px 0}.rw-heading small{display:block;font:400 11px/1.4 var(--ui);color:#c3cec3;margin-top:10px}
.rw-showcase button,.rw-dialog button{font-family:var(--ui);cursor:pointer;color:inherit}
.rw-showcase button:focus-visible,.rw-dialog button:focus-visible{outline:3px solid #ead294;outline-offset:4px}
.rw-link{border:1px solid #7f998377;background:#233c32;padding:12px 16px;border-radius:14px;min-height:44px;text-align:left;text-decoration:none;font-size:15px;color:#e9dbb5!important}
.rw-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:12px}
.rw-prize{display:flex;flex-direction:column;align-items:center;gap:10px;border:0;background:none;padding:6px;min-width:0;text-align:center;font-size:12px;line-height:1.35}
.rw-prize b{font-size:16px}.rw-prize:nth-child(2){transform:translateY(-8px)}.rw-art{position:relative;display:block;width:100%;max-width:180px;aspect-ratio:1}.rw-art img{width:100%;height:100%;object-fit:contain}.rw-prize:nth-child(2) .rw-art{max-width:210px}
.rw-badge{display:inline-flex;padding:4px 7px;border-radius:99px;background:#e3ebd7;color:#203326;font:600 9px/1 var(--ui);white-space:nowrap}.rw-art .rw-badge{position:absolute;right:0;top:0}
.rw-dock{display:grid;gap:16px}.rw-dock>button{display:flex;align-items:center;gap:12px;text-align:left;background:#1c3028;border:1px solid #7f998355;border-radius:14px;padding:12px;min-height:44px}.rw-dock b{display:block;font-size:16px}.rw-dock small{display:block;font-size:11px;color:#d0dbce;margin-top:4px}.rw-frames{justify-content:space-between}.rw-frames small{text-decoration:none}
.rw-dialog>.rw-info+a,.rw-dialog .rw-bearing-intro a{background:#233c32;border:1px solid #7f998377;border-radius:14px;text-decoration:none;color:#f0dbab}
.rw-link:hover,.rw-dock>button:hover,.rw-dialog>.rw-info+a:hover,.rw-dialog .rw-bearing-intro a:hover{background:#2c493d;border-color:#b1c3a5;text-decoration:none}
.rw-dialog a:focus-visible{outline:3px solid #ead294;outline-offset:4px}
.rw-avatar{display:grid;place-items:center;position:relative;flex:none;width:110px;height:110px}.rw-avatar>span{grid-area:1/1;display:grid;place-items:center;width:68%;height:68%;border-radius:50%;background:#ebe1d1;color:#1b1f2e;font:600 28px/1 var(--ui)}.rw-avatar img{grid-area:1/1;position:relative;width:100%;height:100%;object-fit:contain}
.rw-actions{display:flex;gap:8px;align-items:center}.rw-actions>*{flex:1;min-width:0}.rw-actions .primary{min-height:54px}.rw-actions .sub{display:none}.rw-actions .secondary{min-height:44px;padding:10px;font-size:13px}
body[data-screen=home] .rw-layout .lobby-side{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);align-self:stretch;max-height:none;gap:16px;flex:none;width:100%;min-height:350px}
body[data-screen=home] .rw-layout #house-standings,body[data-screen=home] .rw-layout #lobby-board{padding:20px;background:#0b1915ed;border:1px solid #778b6266;border-radius:22px;margin:0;min-width:0}
body[data-screen=home] .rw-layout #house-standings{display:flex;flex-direction:column}
body[data-screen=home] .rw-layout .hb-row{flex:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:stretch}
body[data-screen=home] .rw-layout .hb{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:12px 3px;border-radius:12px;background:var(--rw-paper);color:var(--rw-ink);transform:none}
.rw-layout .hb[data-house=onyx-forge]{--rw-paper:linear-gradient(135deg,#771c28,#5a1017 70%,#470d15);--rw-ink:#fff1df}.rw-layout .hb[data-house=chrome-manor]{--rw-paper:linear-gradient(135deg,#f3eadc,#ebe1d1 70%,#e2d7c5);--rw-ink:#1b1f2e}.rw-layout .hb[data-house=gilded-court]{--rw-paper:linear-gradient(135deg,#e5a43b,#cf8a24 70%,#bd781b);--rw-ink:#2b1a05}.rw-layout .hb[data-house=sapphire-keep]{--rw-paper:linear-gradient(135deg,#173cac,#102b90 70%,#0c2275);--rw-ink:#fff}
body[data-screen=home] .rw-layout .hb-art{width:100%;height:120px;object-fit:contain;max-width:90px;transform:none}body[data-screen=home] .rw-layout .hb-plate{background:none;border:0;color:inherit;padding:8px 0 0;min-width:0}body[data-screen=home] .rw-layout .hb-name{font-size:12px;color:inherit}body[data-screen=home] .rw-layout .hb-count{font-size:26px;color:inherit}
body[data-screen=home] .rw-layout #lobby-board{display:flex;flex-direction:column;height:390px;overflow:hidden}body[data-screen=home] .rw-layout .lb-scroll{min-height:0;flex:1;overflow:auto}body[data-screen=home] .rw-layout .lb-note{font-size:11px;margin-top:8px}
body[data-screen=home] .rw-layout .arrival>.journey-links{display:none}body[data-screen=home] .rw-layout .arrival>.arrival-meta{display:none}body[data-screen=home] .rw-layout .arrival>.journey-note{font-size:12px;margin:8px 0}body[data-screen=home] .rw-layout .spire-menu{margin:12px 0}
.rw-dialog{width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:28px;background:#14241f;color:#f6f2ea;border:1px solid #85987b;border-radius:22px;font:400 15px/1.55 var(--ui)}.rw-dialog::backdrop{background:#030b0bd9}.rw-dialog h2{font:400 38px/1.1 var(--display,Hound,Georgia);margin:0 46px 22px 0}.rw-dialog h3{font-size:24px}.rw-dialog h4{font-size:17px;margin:20px 0 8px}.rw-dialog p{font-size:15px;line-height:1.55}.rw-dialog a{color:#f0dbab;text-underline-offset:4px}.rw-close{position:absolute;top:12px;right:12px;width:44px;height:44px;border:1px solid #8b9b85;border-radius:50%;background:none;font-size:26px}.rw-tabs{display:flex;gap:8px;flex-wrap:wrap}.rw-tabs button{min-height:44px;padding:8px 14px;border-radius:999px;background:none;border:1px solid #88967e}.rw-tabs [aria-pressed=true]{background:#efe8d5;color:#14241f}.rw-product{display:flex;gap:18px;align-items:center}.rw-product img{object-fit:contain;flex:none}.rw-frame-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;text-align:center}.rw-frame-list .rw-avatar{margin:auto;width:140px;height:140px}.rw-tiers>div{display:flex;justify-content:space-between;border-bottom:1px solid #798b6b66;padding:10px 0}.rw-dialog summary{cursor:pointer;padding:12px 0;min-height:44px}
.rw-modes .journey-actions{display:grid!important;gap:12px!important;width:100%;margin:20px 0 0!important}.rw-modes .journey-actions button{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;min-height:60px!important;display:flex!important;font-size:18px!important;box-sizing:border-box}.rw-modes .play-more{display:grid;gap:12px;grid-template-columns:1fr}.rw-modes .primary .sub{display:block}.rw-modes .journey-actions .glyph{position:static!important;width:auto!important;height:auto!important;background:none!important;box-shadow:none!important}
@media(min-width:1200px){body[data-screen=home] .journey-shell.rw-layout{padding-top:0}.rw-showcase{grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr) minmax(0,.8fr);gap:20px}.rw-dock{border-left:1px solid #7c866b;padding-left:18px}.rw-heading p{font-size:12px}.rw-dock b{font-size:14px}.rw-art{max-width:150px}.rw-heading h1{font-size:44px!important}}
@media(max-width:1099px){body[data-screen=home] .rw-layout .lobby-side{grid-template-columns:1fr}.rw-showcase{padding:20px}.rw-heading h1{max-width:none}.rw-dock{grid-template-columns:1fr 1fr;gap:12px}.rw-actions{grid-column:1/-1}.rw-avatar{width:90px;height:90px}.rw-dock b{font-size:14px}body[data-screen=home] .rw-layout #lobby-board{height:470px}body[data-screen=home] .rw-layout .lb-name{min-height:44px;justify-content:center}body[data-screen=home] .rw-layout .hb-art{height:110px}}
@media(max-width:760px){body[data-screen=home] .journey-shell.rw-layout{padding-bottom:140px}.rw-heading h1{font-size:38px!important}.rw-showcase{padding:18px 14px}.rw-prize{gap:8px;padding:0;font-size:11px}.rw-prize b{font-size:14px}.rw-prize:nth-child(2){transform:translateY(-5px)}.rw-dock{grid-template-columns:1fr}.rw-dock>button{justify-content:center}.rw-dock .rw-frames{justify-content:space-between}.rw-actions{position:fixed;bottom:calc(46px + env(safe-area-inset-bottom));left:12px;right:12px;z-index:40;gap:8px}.rw-actions .rw-play{order:1;flex:1;position:relative;min-height:70px;padding:0 74px 0 24px;border-radius:999px;background:#34413ddf;color:#f6f2ea;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;border:1px solid #ffffff47;backdrop-filter:blur(24px)}.rw-actions .rw-play .label{font:600 19px/1.15 var(--ui)}.rw-actions .rw-play .sub{display:block;font:400 12px/1.35 var(--ui);margin:3px 0}.rw-actions .rw-play .glyph{position:absolute;right:6px;top:6px;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:#f6f2ea;color:#16201d}.rw-actions .secondary{order:0;flex:0 0 62px;height:62px;border-radius:50%;font-size:11px;padding:4px;background:#34413df2}.rw-dialog{padding:24px 16px}.rw-product{gap:12px}.rw-product img{width:78px;height:78px}.rw-frame-list{grid-template-columns:1fr}.rw-frame-list article{display:grid;grid-template-columns:140px 1fr;align-items:center;text-align:left}.rw-frame-list .rw-avatar{grid-row:1/3}.rw-frame-list h4{margin:0}.rw-tabs button{font-size:12px;padding:8px}.rw-heading small{font-size:10px}}
@media(prefers-reduced-motion:reduce){.rw-showcase *{transition:none!important;animation:none!important}}
.rw-mobile-play{display:none}
@media(max-width:760px){
 body[data-screen=home]:not(:has(dialog[open])) .rw-mobile-play:not([hidden]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;position:fixed;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:calc(76px + env(safe-area-inset-bottom));z-index:45;padding:8px;background:#13251f;border:1px solid #829584;border-radius:18px}
 .rw-mobile-play button{min-width:0;min-height:48px;padding:8px 6px;border-radius:999px;border:1px solid #829584;background:#253b32;color:#f6f2ea;font:600 15px/1.2 var(--ui)}
 .rw-mobile-play button:first-child{background:#f6f2ea;color:#14241f;border-color:#f6f2ea}
 .rw-mobile-play button:focus-visible{outline:3px solid #ead294;outline-offset:2px}
 body[data-screen=home]:has(.rw-mobile-play) #journey{padding-bottom:calc(170px + env(safe-area-inset-bottom))}
}
.rw-actions .rw-play{color:#14241f}.rw-actions .rw-play .glyph{margin-top:0;top:5px}.rw-actions .rw-play .label{font-size:18px;line-height:1.2}
.rw-modes .primary{color:#14241f}.rw-modes .primary .glyph{margin:0!important}.rw-modes .primary .sub{color:#33453b}
@media(min-width:1200px) and (max-height:800px){.rw-showcase{padding:16px;gap:14px}.rw-heading h1{font-size:34px!important}.rw-prize{font-size:10px}.rw-art{max-width:112px}.rw-prize:nth-child(2) .rw-art{max-width:130px}.rw-avatar{width:80px;height:80px}.rw-dock{gap:8px}.rw-dock b{font-size:12px}body[data-screen=home] .rw-layout #lobby-board{height:300px}body[data-screen=home] .rw-layout .lobby-side{min-height:300px}body[data-screen=home] .rw-layout .hb-art{height:90px}}
@media(max-width:760px){.rw-actions .rw-play{color:#f6f2ea}.rw-actions .rw-play .sub{color:#d5dfd9}.rw-actions .rw-play .glyph{top:6px;margin-top:0}}
body[data-screen=home] .rw-layout .hb-title{display:block;font:600 18px/1.4 var(--ui);margin:0 0 12px}body[data-screen=home] .rw-layout .hb-title small{font:400 11px/1.4 var(--ui)}
body[data-screen=home] .rw-layout .hb-title{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}
body[data-screen=home] .rw-layout .lb-call{padding:10px 0;min-height:0;gap:8px}body[data-screen=home] .rw-layout .lb-call p{margin:0;font-size:12px}body[data-screen=home] .rw-layout .lb-call .primary{min-height:44px;font-size:14px;margin:8px 0}
@media(min-width:1200px) and (max-height:800px){body[data-screen=home] .rw-layout #lobby-board{height:250px;padding:14px}body[data-screen=home] .rw-layout .lobby-side{min-height:250px}body[data-screen=home] .rw-layout .lb-controls{margin-bottom:8px}body[data-screen=home] .rw-layout .lb-note{margin-top:5px;font-size:10px}body[data-screen=home] .rw-layout .hb-art{height:80px}body[data-screen=home] .rw-layout .lb-top{margin-bottom:8px}}
@media(min-width:1200px){body[data-screen=home] .rw-layout .lb-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}body[data-screen=home] .rw-layout .lb-tabs button{font-size:12px;min-height:36px;padding:0 5px}body[data-screen=home] .rw-layout .lb-controls:has([data-ctab=winRate]){height:auto;min-height:36px;flex:none}}
@media(min-width:1200px) and (max-height:800px){.rw-heading h1{font-size:32px!important}.rw-heading p{font-size:11px;margin:8px 0}.rw-heading .rw-link{font-size:12px}.rw-heading small{font-size:9px;margin-top:6px}body[data-screen=home] .rw-layout #lobby-board{height:calc(100dvh - 450px);min-height:250px}body[data-screen=home] .rw-layout .lobby-side{min-height:250px}}

/* Qualification close: prominent without crowding the prize showcase. */
.rw-qualification{margin:0 0 20px;padding:22px 26px;border:1px solid var(--glass-edge);border-radius:24px;background:#132d25f2;color:var(--text,#f5f1e8)}
.rw-qualification h2{margin:0 0 10px;font:600 clamp(20px,2vw,28px)/1.25 'HoundTektur',system-ui,sans-serif;color:var(--jade-ink,#b6eedb)}
.rw-qualification p{margin:0;max-width:76ch;font-size:16px;line-height:1.55;text-wrap:pretty}
.rw-qualification small{display:block;margin-top:10px;max-width:90ch;font-size:13px;line-height:1.5;color:var(--muted,#bac6bf)}
@media(max-width:760px){.rw-qualification{padding:18px;border-radius:20px}.rw-qualification p{font-size:14px}}
