/* Shop districts share a single seal of light with the header's navigation. */
#play-screen .rh-submenu>.rh-shop-tabs { position:relative;isolation:isolate }
#play-screen .rh-submenu .rh-shop-tabs>button::after { content:none }
#play-screen .rh-submenu .rh-shop-tabs>button { isolation:isolate;z-index:1 }
#play-screen .rh-submenu .rh-shop-tabs>[aria-current="page"] { color:#ffe4ab!important }
.rh-shop-light {
  pointer-events:none;position:absolute;z-index:0;bottom:1px;left:0;height:100%;
  width:var(--shop-light-width,0px);transform:translateX(calc(var(--shop-light-x,0px) - 50%));
  opacity:0;background:radial-gradient(ellipse 60% 72% at 50% 109%,#d39a4c50,transparent 93%);
  transition:transform .28s cubic-bezier(.18,.75,.25,1),width .28s ease,opacity .18s;
}
.rh-shop-tabs[data-lit] .rh-shop-light{opacity:1}
.rh-shop-light::before,.rh-shop-light::after {
  content:"";position:absolute;left:50%;bottom:5px;width:5px;height:5px;
  transform:translateX(-50%) rotate(45deg);border:1px solid #d9b57b;
  box-shadow:0 0 9px #e8b86b7a;
}
.rh-shop-light::after{bottom:7px;width:2px;height:2px;background:#ffe1a2;border:0}
@media(max-width:680px){
  #play-screen .rh-submenu>.rh-shop-tabs{grid-template-columns:1fr 1fr .82fr 1.33fr}
  #play-screen .rh-submenu .rh-shop-tabs>button{padding-inline:2px}
}

/* One fixed HUD row below the subnavigation across the collection and every shop. */
.rh-wallet-anchor,#play-screen .rh-shop-wallet {flex:none;min-width:0}
#play-screen .rh-shop-wallet {
  position:relative;z-index:1;color:#f4e8cd;
  background:linear-gradient(90deg,rgba(13,26,25,.32),rgba(14,29,27,.78));
  border-bottom:1px solid #c3a16b38;
}
#play-screen .rh-wallet-inner {
  box-sizing:border-box;width:min(100%,1536px);margin:auto;
  padding:0 max(clamp(10px,3vw,52px),env(safe-area-inset-right)) 0 max(clamp(10px,3vw,52px),env(safe-area-inset-left));
  min-height:38px;display:flex;align-items:center;justify-content:flex-end;gap:clamp(9px,2.4vw,36px)
}
#play-screen .rh-wallet-tools,#play-screen .rh-balances,#play-screen .rh-balance {display:flex;align-items:center}
#play-screen .rh-wallet-tools{gap:6px}
#play-screen .rh-balances{gap:clamp(10px,1.9vw,30px);flex:none}
#play-screen .rh-balance{gap:7px;color:#ede2cb;font:500 clamp(11px,1vw,15px)/1.15 var(--rh-ui,system-ui);white-space:nowrap}
#play-screen .rh-balance b{color:#ffebc0;font-variant-numeric:tabular-nums}
#play-screen .rh-balance i{display:inline-block;position:relative;flex:0 0 13px;width:13px;height:19px;margin:0}
#play-screen :is(.rh-balance,.cl-jade-label,.cl-offer-crystals) .cl-crystal-icon{clip-path:polygon(52% 0,96% 28%,82% 73%,41% 100%,5% 66%,11% 29%);background:conic-gradient(from 23deg at 49% 48%,#c7ffeb,#1da395 27%,#09665f 42%,#7be2c8 49%,#25b39e 70%,#d5fff5)}
#play-screen .rh-balance .cl-shard-icon{width:15px;flex-basis:15px;clip-path:polygon(0 44%,36% 3%,23% 70%,10% 81%,0 44%,48% 53%,100% 26%,77% 83%,40% 100%);background:linear-gradient(120deg,#ffe2a0 21%,#daa267 42%,#93603a 45%,#efbd80 68%,#ae733f)}
#play-screen .cl-main>.cl-factions {margin-top:0}
.rh-wallet-overlay {position:fixed;inset:0;z-index:110}
#play-screen .rh-wallet-overlay>.cl-shell {height:100%;background:transparent!important}
#play-screen .rh-wallet-overlay>.cl-shell::before,#play-screen .rh-wallet-overlay>.cl-shell::after{content:none}
#play-screen .rh-wallet-overlay [hidden]{display:none!important}

/* Every menu command keeps a stationary hit target. Only the light changes. */
#play-screen .rh-menu-action.rh-menu-action.rh-menu-action {
  --command-ink:#f5e5c3;
  position:relative;isolation:isolate;box-sizing:border-box;cursor:pointer;
  color:var(--command-ink)!important;font-family:var(--rh-inscription,Georgia,serif)!important;
  font-weight:600;letter-spacing:.052em;text-decoration:none!important;
  border:0!important;border-radius:0!important;outline-offset:-2px;
  background:transparent!important;box-shadow:none!important;clip-path:none!important;
  text-shadow:0 1px 3px #091412;
  transition:color .2s,text-shadow .2s;
}
#play-screen .rh-menu-action.rh-menu-action::before {
  content:"";pointer-events:none;position:absolute;z-index:-1;
  inset:9% 0 2%;width:auto;height:auto;border:0;box-shadow:none;
  background:radial-gradient(ellipse 70% 85% at 50% 78%,rgba(218,167,83,.25),transparent 75%);
  opacity:0;transform:scaleX(.70);transition:opacity .22s ease,transform .24s ease;
}
#play-screen .rh-menu-action.rh-menu-action::after {
  content:"";pointer-events:none;position:absolute;inset:auto auto 2px 50%;width:4px;height:4px;
  border:1px solid #e9ca89;background:#e6bd7733;box-shadow:0 0 5px #f1ce9680;
  opacity:0;transform:translateX(-50%) rotate(45deg) scale(.6);
  transition:transform .2s ease,opacity .18s ease;
}
#play-screen .rh-menu-action.rh-menu-action.rh-menu-action:not(:disabled):is(:hover,:focus-visible) {
  --command-ink:#fff1c9;color:#fff1c9!important;text-shadow:0 1px 2px #091412,0 0 10px #e8b96988;
}
#play-screen .rh-menu-action.rh-menu-action:not(:disabled):is(:hover,:focus-visible)::before {opacity:1;transform:scaleX(1)}
#play-screen .rh-menu-action.rh-menu-action:not(:disabled):is(:hover,:focus-visible)::after {opacity:1;transform:translateX(-50%) rotate(45deg) scale(1)}
#play-screen .rh-menu-action.rh-menu-action.rh-menu-action:focus-visible {outline:1px solid #ffdd92!important}
#play-screen .rh-menu-action:is(.cl-primary,.ll-primary,.rh-action-primary),#play-screen .wr-avatar-equip {--command-ink:#ffdc96!important}
#play-screen .rh-menu-action.rh-menu-action.rh-menu-action:disabled {--command-ink:#c1b9a9;opacity:1;cursor:default}
#play-screen .wr-avatar-equip.rh-menu-action,#play-screen .rh-menu-action.vn-buy {
  min-height:44px;padding:8px 17px 11px;font-size:clamp(16px,1.45vw,22px);text-align:center;
}
#play-screen .rh-menu-action.vn-buy {height:auto;width:100%}
#play-screen .wr-avatar-equip.rh-menu-action:before,#play-screen .vn-buy.rh-menu-action:not(:disabled):before{opacity:.42}
#play-screen .rh-wallet-tools .rh-menu-action.rh-menu-action {
  min-height:38px;padding:5px 8px 7px;font-size:clamp(11px,.9vw,14px);white-space:nowrap;
}
#play-screen .rh-wallet-tools .rh-menu-action::after{bottom:3px;width:3px;height:3px}
#play-screen .rh-atlas .cta.rh-menu-action {min-height:44px;padding-inline:14px}
#play-screen .rh-atlas .cta.rh-menu-action>span[aria-hidden]{display:none}
#play-screen .rh-atlas .mark.selected .ring::before{
  content:"";position:absolute;inset:-7px;border-radius:50%;pointer-events:none;
  background:conic-gradient(from 13deg,transparent 0 14%,#f7d28a 14.4% 17%,transparent 17.5% 63%,#e7bc71 63.5% 66.5%,transparent 67%);
  border:0;
  mask:radial-gradient(closest-side,transparent calc(100% - 1.6px),#000 calc(100% - 1px));
  -webkit-mask:radial-gradient(closest-side,transparent calc(100% - 1.6px),#000 calc(100% - 1px));
  animation:rh-seal-compass 26s linear infinite;
}
@keyframes rh-seal-compass{to{transform:rotate(1turn)}}
@media(max-width:600px) {
  #play-screen .rh-wallet-inner {padding-inline:6px;gap:5px;justify-content:space-between;min-height:35px}
  #play-screen .rh-wallet-tools{gap:0}
  #play-screen .rh-wallet-tools .rh-menu-action.rh-menu-action{font-size:10px;min-height:35px;padding:4px}
  #play-screen .rh-balances{gap:8px; margin-inline-start:auto}
  #play-screen .rh-balance {gap:3px;font-size:clamp(9px,2.6vw,12px)}
  #play-screen .rh-balance i{height:14px;width:10px;flex-basis:10px}
  #play-screen .rh-wallet-inner>small{display:none}
}
@media(max-width:365px){
  #play-screen .rh-balance {font-size:9px}
  #play-screen .rh-wallet-tools .rh-menu-action.rh-menu-action {font-size:9px;padding-inline:3px}
}
@media(max-height:480px) and (orientation:landscape) {
  #play-screen .rh-wallet-inner {min-height:27px}
  #play-screen .rh-wallet-tools .rh-menu-action.rh-menu-action{min-height:27px;padding:2px 7px 4px}
  #play-screen .cl-main>.cl-factions{height:auto;margin:0;padding:0}
  #play-screen .rh-menu-action.vn-buy{min-height:32px;font-size:14px}
}
@media(max-width:620px){
  .rh-atlas .ax-landscape .mapart{background-position:var(--atlas-region,33%) 45%}
}
@media(prefers-reduced-motion:reduce) {
  html:not([data-rh-motion=full]) #play-screen :is(.rh-shop-light,.rh-menu-action),
  html:not([data-rh-motion=full]) #play-screen .rh-menu-action::before,
  html:not([data-rh-motion=full]) #play-screen .rh-menu-action::after,
  html:not([data-rh-motion=full]) #play-screen .rh-atlas .mark.selected .ring::before{animation:none!important;transition:none!important}
}
:is(html[data-rh-motion=reduced],html[data-rh-quality=low]) #play-screen .rh-shop-light,
:is(html[data-rh-motion=reduced],html[data-rh-quality=low]) #play-screen .rh-menu-action,
:is(html[data-rh-motion=reduced],html[data-rh-quality=low]) #play-screen .rh-menu-action::before,
:is(html[data-rh-motion=reduced],html[data-rh-quality=low]) #play-screen .rh-menu-action::after,
:is(html[data-rh-motion=reduced],html[data-rh-quality=low]) #play-screen .rh-atlas .mark.selected .ring::before{animation:none!important;transition:none!important}
@media(forced-colors:active){
  #play-screen .rh-menu-action.rh-menu-action.rh-menu-action{color:ButtonText!important}
  #play-screen .rh-menu-action.rh-menu-action.rh-menu-action:disabled{color:GrayText!important}
  #play-screen .rh-shop-tabs>[aria-current=page]{outline:2px solid Highlight}
}

#play-screen .rh-menu-action.rh-menu-action.rh-menu-action:disabled {--command-ink:#c1b9a9!important}
#play-screen .rh-menu-action[aria-pressed=true]{--command-ink:#ffdc96;}
#play-screen .rh-menu-action[aria-pressed=true]::after {opacity:1;transform:translateX(-50%) rotate(45deg) scale(1)}
#play-screen .ll-difficulty .ll-level>span{
  position:relative;isolation:isolate;border:0!important;box-shadow:none!important;color:#e6dbbf!important;
  background:transparent!important;font-family:var(--rh-inscription,Georgia,serif);text-decoration:none;
}
#play-screen .ll-difficulty .ll-level>span::after{
  content:"";position:absolute;pointer-events:none;bottom:3px;left:50%;width:4px;height:4px;
  transform:translateX(-50%) rotate(45deg);background:#ffe09c;box-shadow:0 0 7px #e0ab6773;opacity:0;
}
#play-screen .ll-difficulty .ll-level:is(:hover,:focus-within)>span,#play-screen .ll-difficulty .ll-level>input:checked+span {
  color:#ffebbd!important;background:radial-gradient(ellipse at 50% 98%,#ba96573b,transparent 70%)!important;
}
#play-screen .ll-difficulty .ll-level>input:checked+span::after {opacity:1}
#play-screen .rh-wallet-overlay .cl-shade {position:fixed;inset:0}
@media(pointer:coarse) and (min-height:500px){
  #play-screen .rh-wallet-inner,#play-screen .rh-wallet-tools .rh-menu-action.rh-menu-action{min-height:44px}
}
/* Both the collection header and the two galleries use the same baseline. */
#play-screen{--rh-department-height:49px}
#play-screen :is(.cl-shell>.cl-top,.vanity>.vn-top.rh-submenu){
  box-sizing:border-box;height:var(--rh-department-height);min-height:var(--rh-department-height);
  flex:0 0 var(--rh-department-height)
}
#play-screen .cl-top>.cl-top-inner.rh-submenu{height:100%;min-height:0}
#play-screen .cl-pack-copy .cl-pack-actions{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 7px;margin-top:7px;
}
#play-screen .cl-pack-copy .cl-pack-actions .rh-menu-action {
  width:100%;min-width:0;min-height:40px;padding:5px 2px;white-space:normal;line-height:1.17;
}
#play-screen .cl-pack-copy .cl-pack-actions:not(:has([data-action=open-five]))>[data-action=open-pack]{grid-column:1/-1}
#play-screen .cl-pack-copy .cl-pack-details{gap:1px 9px}
#play-screen .cl-pack-copy .cl-pack-details>.cl-link {min-height:35px;padding:5px 3px}
@media(max-width:680px){#play-screen{--rh-department-height:46px}}
@media(max-height:480px) and (orientation:landscape) {
  #play-screen{--rh-department-height:45px}
  #play-screen .cl-pack-copy .cl-pack-actions{margin-top:2px}
  #play-screen .cl-pack-copy .cl-pack-actions .rh-menu-action,#play-screen .cl-pack-copy .cl-pack-details>.cl-link{min-height:30px;padding-block:1px}
}

#play-screen .cl-pack-copy .cl-pack-short{display:none}
#play-screen .cl-pack-links{display:flex;flex:none;flex-wrap:wrap;align-items:center;gap:1px 12px}
#play-screen .cl-pack-links>.cl-link{min-height:36px;padding:4px 3px}
@media(max-width:740px){#play-screen .cl-pack-links{justify-content:center}}
@media (max-width:400px) and (max-height:700px), (max-height:480px) and (orientation:landscape) {
  #play-screen .cl-pack-copy .cl-pack-long{display:none}
  #play-screen .cl-pack-copy .cl-pack-short{display:block;margin:2px 0}
  #play-screen .cl-pack-copy .cl-pack-brief>.cl-overline{margin:0}
  #play-screen .cl-pack-copy .cl-pack-brief h2{margin:0 0 3px}
  #play-screen .cl-pack-copy .cl-pack-brief .cl-set-progress{margin:3px 0}
  #play-screen .cl-pack-links>.cl-link{min-height:29px;padding:2px 4px}
}
@media(max-width:380px) and (max-height:640px){
  #play-screen .cl-shell .cl-pack-stage{grid-template-rows:minmax(54px,.45fr) minmax(0,1.6fr)}
}

#play-screen .rh-wallet-tools .icon {display:none}
@media(max-width:460px){
  #play-screen .rh-wallet-inner{padding-inline:6px 10px}
  #play-screen .rh-wallet-tools .rh-menu-action.rh-menu-action{display:grid;place-items:center;min-width:42px}
  #play-screen .rh-wallet-tools .rh-menu-action>span{display:none}
  #play-screen .rh-wallet-tools .icon{display:block;width:17px;height:17px;color:#e7c58d}
  #play-screen .rh-balances{gap:12px}
  #play-screen .rh-balance{font-size:clamp(10px,2.8vw,12px)}
}
@media(max-width:355px){
  #play-screen .rh-wallet-tools .rh-menu-action.rh-menu-action{min-width:40px}
  #play-screen .rh-balance>span>b{display:block}
  #play-screen .rh-balances{gap:12px}
}

@media (max-width:380px) and (max-height:650px), (max-width:740px) and (max-height:430px) {
  #play-screen .cl-pack-copy .cl-pack-brief>.cl-overline {display:none}
  #play-screen .cl-pack-copy .cl-pack-brief h2{font-size:24px;line-height:1.07;margin:0 0 3px}
  #play-screen .cl-pack-copy .cl-pack-brief :is(.cl-pack-short,.cl-set-progress){font-size:12px;line-height:1.18;margin:3px 0}
  #play-screen .cl-pack-copy .cl-pack-details{font-size:11px;line-height:1.17;gap:2px 6px}
  #play-screen .cl-pack-copy .cl-guarantee{font-size:inherit;line-height:inherit;margin:0}
}
