/* Each destination owns the screen. Scrolling is local to its inventory, route, or list. */
.in-destination :is(#plaza,#stage,#petals,.festival-scene){display:none!important}
#dialog.destination-page,#ss-community.community-page{
  --venue:url(assets/places/events.webp);--dusk:#27172d;--accent:#f8cd91;--shell:#35213bed;
  position:fixed;inset:0;transform:none;margin:0;padding:0;width:100%;height:100dvh;max-width:none;max-height:none;
  display:flex;flex-direction:column;overflow:hidden;isolation:isolate;border:0;border-radius:0;box-shadow:none;
  background:var(--dusk);color:#fff0d9;font-family:Nunito,system-ui,sans-serif;
}
#dialog.destination-page::before,#ss-community.community-page::before{
  content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;
  background-image:linear-gradient(0deg,color-mix(in srgb,var(--dusk) 62%,transparent),transparent 46%,color-mix(in srgb,var(--dusk) 30%,transparent)),var(--venue);
  background-position:center,var(--venue-position,50% 50%);background-size:cover;background-repeat:no-repeat;
}
#dialog[hidden],#ss-community[hidden]{display:none!important}
#dialog[data-screen=wallet]{--venue:url(assets/places/shop.webp);--dusk:#39271c;--venue-position:50% 46%}
#dialog[data-screen=guardians]{--venue:url(assets/places/guardians.webp);--dusk:#16353a}
#dialog[data-screen=events]{--venue:url(assets/places/events.webp);--dusk:#40283a}
#dialog[data-screen=detail]{--venue:url(assets/scenes/012.webp);--dusk:#34283a}
body[data-route-item=firework] #dialog[data-screen=detail]{--venue:url(assets/scenes/025.webp)}
body[data-route-item=koi] #dialog[data-screen=detail]{--venue:url(assets/scenes/047-wide.webp)}
body[data-route-item=star] #dialog[data-screen=detail]{--venue:url(assets/scenes/089.webp)}
body[data-route-item=leaf] #dialog[data-screen=detail]{--venue:url(assets/scenes/004.webp)}
body[data-route-item=moon] #dialog[data-screen=detail]{--venue:url(assets/scenes/064.webp)}
#dialog[data-screen=collection],#dialog[data-screen=sticker]{--venue:url(assets/scenes/014.webp);--dusk:#443349}
#dialog[data-screen=claimed]{--venue:url(assets/scenes/098.webp)}
#dialog[data-screen=help]{--venue:url(assets/scenes/055.webp);--dusk:#233644}
#dialog[data-screen=settings],#dialog[data-screen=restart]{--venue:url(assets/places/settings.webp);--dusk:#262a37}
#dialog[data-screen=result]{--venue:var(--stage-scene,url(assets/scenes/001.webp));--dusk:#35223e}
#ss-community[data-screen=profile]{--venue:url(assets/places/profile.webp);--dusk:#4b2f3c;--venue-position:32% center}
#ss-community[data-screen=groups]{--venue:url(assets/places/groups.webp);--dusk:#233546}
#ss-community[data-screen=friends]{--venue:url(assets/places/friends.webp);--dusk:#34504c}
#ss-community[data-screen=leaderboards]{--venue:url(assets/places/rankings.webp);--dusk:#34233e}
#ss-community[data-screen=cosmetics]{--venue:url(assets/places/wardrobe.webp);--dusk:#422a48;--venue-position:37% center}
#ss-community[data-screen=pass]{--venue:url(assets/places/pass.webp);--dusk:#3d2144}
#ss-community[data-screen=admin]{--venue:url(assets/admin-office.webp);--dusk:#222842}
.place-toolbar,#ss-community .sc-header{display:flex;align-items:center;justify-content:space-between;position:relative;flex:none;margin:0;padding:calc(10px + env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right)) 10px max(20px,env(safe-area-inset-left));border:0;
 background:linear-gradient(#211825ae,transparent);gap:12px}
.route-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:41px;min-width:86px;padding:4px 13px;border:1px solid #e3bb87;border-radius:20px;color:#ffebc6;background:linear-gradient(140deg,#614256ed,#382c42ef);box-shadow:inset 0 1px #ffe4c850,0 2px 5px #261a32a8;font-weight:960;font-size:14px}
.route-link:hover{filter:brightness(1.13)}.route-link svg{height:18px;width:18px}.route-brand{font-size:13px;font-weight:950;letter-spacing:.8px;color:#fff1cf;text-shadow:0 1px 5px #2f243c}
.place-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;display:flex;padding:1.5dvh max(14px,env(safe-area-inset-right)) calc(4dvh + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
.place-scroll::-webkit-scrollbar{display:none}.place-main{position:relative;margin:auto;flex:none;width:min(100%,780px);text-align:center}
.place-main .modal-title{font-size:clamp(32px,5.5dvh,58px);line-height:1.05;letter-spacing:-1.8px;color:#fff0c8;text-shadow:0 2px #6f4b58,0 4px 0 #352637,0 6px 16px #1c1229}
.place-main .modal-sub,.place-main .shop-note,.place-main .modal-eyebrow{text-shadow:0 1px 4px #201523,0 1px 2px #201523;color:#fff0db}
.place-main .modal-sub{margin:8px auto 18px;max-width:510px}.place-main .actions{margin-top:15px;justify-content:center}.place-main :is(.gold-button,.candy-button,.secondary-button){min-height:41px}
.place-main .modal-eyebrow{color:#ffe1a8;letter-spacing:1.2px}
#dialog[data-screen=wallet] .place-main{width:min(100%,890px);margin-bottom:4dvh}
#dialog[data-screen=wallet] .modal-title{font-size:clamp(38px,9dvh,79px)}.wallet-count{margin:10px auto 19px;display:inline-flex;align-items:center;gap:7px;border:1px solid #dfba83;padding:3px 16px;border-radius:18px;background:#352337eb}
.kingdom-menu{gap:clamp(7px,2vw,22px)}.kingdom-menu button{position:relative;justify-content:flex-end;height:clamp(140px,25dvh,245px);padding:10px;border:2px solid #edc48d;border-radius:34% 34% 14px 14px;background:linear-gradient(160deg,#845574eb,#413348f0);box-shadow:inset 0 0 0 3px #745163,0 4px #503444,0 10px 21px #24182d8c;overflow:hidden}
.kingdom-menu button:nth-child(2){background:linear-gradient(135deg,#8382a5ee,#68456aee)}.kingdom-menu button:last-child{background:linear-gradient(135deg,#b57c55f0,#694453ee)}
.kingdom-menu button img{height:79%;width:100%;filter:drop-shadow(0 4px 4px #352138a6)}.kingdom-menu button b{font-size:clamp(15px,2.2vw,25px)}
#dialog[data-screen=guardians] .place-main{width:min(100%,870px)}.guardian-shelf{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);align-items:center;column-gap:25px}
.guardian-shelf>.modal-eyebrow,.guardian-shelf>.modal-title{grid-column:1/-1}.guardian-shelf>.shelf-hero{grid-column:1;grid-row:3/9;width:100%;height:min(43dvh,365px);display:grid;place-items:center}
.shelf-hero .guardian-sprite{width:100%;height:100%;max-width:none;align-self:end}
.shelf-tabs,.guardian-shelf>.power-copy,.guardian-shelf>.shelf-meta,.guardian-shelf>.actions,.guardian-shelf>.shop-note,.outfit-link{grid-column:2}
.shelf-tabs{margin:15px auto 6px;gap:5px}.shelf-tabs button{height:clamp(36px,4vw,58px);width:clamp(36px,4vw,58px)}
.outfit-link{justify-self:center;color:#ffe0a8;font-size:13px;font-weight:920;text-decoration:underline;text-underline-offset:3px;background:#33263bcc;border-radius:13px;padding:4px 10px}
.power-copy,.shelf-meta,.guardian-shelf>.shop-note{color:#fff0d7;text-shadow:0 1px 5px #21172c,0 0 3px #21172c}.power-copy{margin-top:8px;padding:11px 14px;border:1px solid #cfab87a8;border-radius:13px;background:#362c42d9}.guardian-shelf .shelf-meta{background:#34263bd9;border-radius:9px;justify-self:center;padding:4px 8px}
#dialog[data-screen=events] .place-main,#dialog[data-screen=collection] .place-main{width:min(100%,880px)}
.event-grid,.album-grid{gap:clamp(8px,1.6vw,17px)}.event-grid .challenge,.album-grid .album-tile{border:1.5px solid #eac39a;background:linear-gradient(145deg,color-mix(in srgb,var(--theme) 37%,#413047e0),#362b42f0);box-shadow:inset 0 1px #fff2d94a,0 3px #674958,0 5px 10px #2d193966}
.event-grid .sticker-art,.album-grid .sticker-art{height:clamp(67px,11dvh,116px)}.album-grid{background:linear-gradient(90deg,#5e4438e8,#936e52df 49.3%,#453133e0 50%,#8b6553df 51%,#684944e8);border:3px solid #d7b48c;border-radius:14px 20px 19px 10px;padding:clamp(7px,1.5vw,19px)}
#dialog:is([data-screen=detail],[data-screen=sticker],[data-screen=claimed]) .place-main{width:min(100%,640px)}.featured-detail,.place-main>.detail-sticker{filter:drop-shadow(0 3px 6px #2a1b3652)}.featured-detail .detail-sticker,.place-main>.detail-sticker{height:clamp(105px,25dvh,250px)}
.featured-detail .detail-meter,.reward-row{background:#37263be0;border-radius:15px}.featured-detail .detail-meter{padding:7px 11px}.reward-row{padding:6px 14px;width:fit-content;margin:10px auto}
#dialog:is([data-screen=settings],[data-screen=help],[data-screen=restart]) .place-main{width:min(100%,650px);padding:clamp(13px,2.7vw,30px) 0}.setting-list,.help-rows,.audio-credits{border:1px solid #c29a859c;border-radius:13px;background:#352a40e8;padding:8px 15px}.audio-credits{margin:9px auto}.help-rows{text-align:left;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.help-row{min-width:0}
#dialog[data-screen=result] .place-main{width:min(100%,690px)}.result-hero-wrap{display:grid;place-items:center;width:100%;height:clamp(96px,26dvh,270px)}.result-hero-wrap .guardian-sprite{height:100%;width:min(100%,30dvh)}.result-stats{background:#3b2940e8;border:1px solid #d5ac88;border-radius:15px}.result-stars{filter:drop-shadow(0 3px #593d48)}.result-stars img{height:clamp(34px,6dvh,59px)}
.sc-page-heading{display:flex;gap:8px;align-items:center;justify-content:center;min-width:0}.sc-page-heading h1{font-size:clamp(22px,4vw,41px);letter-spacing:-1px;color:#ffefcd;line-height:1.03;text-align:center;text-shadow:0 2px #6c4656,0 3px #352338,0 4px 9px #2d1937}
#ss-community .sc-layout{margin:auto auto min(5dvh,48px);width:min(94vw,970px);max-height:calc(100% - 91px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));min-height:0;display:grid;grid-template-columns:119px minmax(0,1fr);gap:13px;overflow:hidden;background:transparent}
#ss-community .sc-rail{align-self:end;max-height:100%;padding:6px;border-radius:14px;background:#30243be8;border:1px solid #c59a85a8}
#ss-community .sc-main{background:linear-gradient(130deg,color-mix(in srgb,var(--dusk) 76%,#8c6877ea),#30263bee);border:1px solid #cfa78bbf;border-radius:20px;padding:clamp(13px,1.8vw,23px);overflow:auto;scrollbar-width:none;box-shadow:0 7px 23px #291c364d}
#ss-community:is([data-screen=profile],[data-screen=groups],[data-screen=friends],[data-screen=leaderboards]) .sc-layout{width:min(93vw,800px);margin-right:clamp(14px,6vw,115px)}
#ss-community[data-screen=groups] .sc-layout{margin-left:clamp(14px,6vw,115px);margin-right:auto}
#ss-community[data-screen=leaderboards] .sc-layout{margin-inline:auto}
#ss-community[data-screen=profile] .sc-layout{max-width:720px}#ss-community[data-screen=admin] .sc-layout{width:min(94vw,810px);display:flex;flex-direction:column}
#ss-community:is([data-screen=pass],[data-screen=admin]) .sc-rail{display:none}
#ss-community[data-screen=pass] .sc-layout{width:min(93vw,650px);height:min(81dvh,790px);margin:auto auto max(3dvh,env(safe-area-inset-bottom));display:flex}
#ss-community[data-screen=pass] .sc-main,#ss-community[data-screen=pass] .sc-body{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
#ss-community[data-screen=pass] .sc-pass-track{flex:1 1 0;height:auto;min-height:44px}.sc-pass-current .sc-pass-node b{box-shadow:0 0 10px #f9cf69b3}.sc-pass-current .sc-pass-node:after{content:"";width:5px;height:5px;border-radius:50%;background:#ffeab0}
#ss-community[data-screen=cosmetics] .sc-layout{width:min(95vw,1050px)}.sc-gallery-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:7px 0}.sc-gallery-tools label{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#efd6d7}.sc-gallery-tools select{height:32px;font:inherit;background:#35243c;color:#ffe2bd;border:1px solid #b88e98;border-radius:7px;padding:3px 4px}
.sc-item small.sc-source{font-size:10px;color:#dec7d5;display:block;line-height:1.15;margin:2px 0 5px}.sc-item .sc-skin-sample{display:block;width:100%;height:84px}.sc-item .sc-source-action{font-size:10px}.sc-shop-skin h4{margin:3px 0}.sc-item-sample{overflow:visible}
@media(max-width:650px){
 .place-toolbar,#ss-community .sc-header{padding:calc(7px + env(safe-area-inset-top,0px)) 9px 6px;gap:5px}.route-link{min-width:60px;min-height:36px;padding:4px 8px;gap:3px;font-size:11px}.route-link svg{width:15px;height:15px}.route-brand{font-size:11px}
 .place-scroll{padding:1dvh 10px calc(3dvh + env(safe-area-inset-bottom))}.place-main .modal-title{font-size:clamp(28px,6.9vw,40px)}.place-main .modal-sub{font-size:13px;line-height:1.35}.kingdom-menu{gap:6px}
 .kingdom-menu button{padding:5px 3px;height:clamp(112px,23dvh,175px);border-width:1px}.kingdom-menu button b{font-size:13px}.kingdom-menu button img{height:75%}
 #dialog[data-screen=wallet] .place-main{margin:auto auto 9dvh}.guardian-shelf{display:flex;flex-direction:column;gap:0}.guardian-shelf>.shelf-hero{height:clamp(100px,27dvh,230px)}.shelf-tabs{margin:3px auto 7px}.guardian-shelf .shelf-meta,.guardian-shelf .shop-note{margin-top:4px}.guardian-shelf .outfit-link{order:0}.power-copy{margin-top:6px;padding:6px 10px}.guardian-shelf .actions{margin-top:8px}
 .help-rows{grid-template-columns:1fr;gap:3px}.help-row{padding:4px}.event-grid .sticker-art,.album-grid .sticker-art{height:clamp(47px,9dvh,82px)}
 .sc-page-heading .sc-section-icon{width:22px;height:22px}.sc-page-heading .sc-section-icon svg{width:22px;height:22px}.sc-page-heading{gap:3px}.sc-page-heading h1{font-size:clamp(17px,4.8vw,26px)}
 #ss-community .sc-layout,#ss-community:is([data-screen=profile],[data-screen=groups],[data-screen=friends],[data-screen=leaderboards],[data-screen=admin],[data-screen=cosmetics]) .sc-layout{display:flex;flex-direction:column-reverse;width:calc(100% - 12px);max-height:calc(100% - 61px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));margin:auto auto calc(5px + env(safe-area-inset-bottom,0px));gap:5px}
 #ss-community .sc-rail{flex:none;width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:3px;gap:2px}.sc-rail button{min-height:37px}
 #ss-community .sc-main{padding:12px 9px;border-radius:15px}#ss-community[data-screen=pass] .sc-layout{height:min(88dvh,850px);max-height:calc(100% - 60px - env(safe-area-inset-top,0px));width:calc(100% - 12px);margin:auto auto calc(5px + env(safe-area-inset-bottom,0px))}.sc-item .sc-skin-sample{height:62px}
}
@media(orientation:landscape) and (max-height:550px){.place-toolbar,#ss-community .sc-header{padding-block:3px}.route-link{min-height:29px}.place-scroll{padding-block:1px 7px}.place-main .modal-title{font-size:26px}.place-main .modal-sub{margin:4px auto 9px}.guardian-shelf>.shelf-hero{height:48dvh}.sc-page-heading h1{font-size:24px}#ss-community .sc-layout,#ss-community[data-screen=pass] .sc-layout{max-height:calc(100% - 45px);margin-bottom:4px}.sc-pass-card{min-height:55px}}
@media(prefers-reduced-motion:reduce){.destination-page *, .community-page *{scroll-behavior:auto!important}}
.event-portrait,.cosmetic-receipts{display:flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;flex-wrap:wrap;gap:6px 9px;margin:8px auto;padding:5px 12px;border:1px solid #c5a282;border-radius:13px;background:#35273de8;color:#ffe7c1}.event-portrait img,.cosmetic-receipts img{width:36px;height:36px;object-fit:contain}.event-portrait span{display:grid;text-align:left}.event-portrait strong{font-size:13px}.event-portrait small{font-size:10px;color:#e5cddd}.cosmetic-receipts strong{font-size:11px}.cosmetic-receipts span{display:inline-flex;align-items:center;gap:5px;font-size:12px}
.route-brand{width:clamp(80px,11vw,128px);height:clamp(25px,4.4dvh,39px);object-fit:contain;filter:drop-shadow(0 2px 3px #34223899)}
#dialog[data-screen=result] .result-hero-wrap{margin-bottom:10px}
#dialog[data-screen=result] .actions .secondary-button,#dialog[data-screen=restart] .actions .secondary-button{background:linear-gradient(#715365f2,#46364bf2);color:#fff0cb;border:1px solid #d8af8b;border-radius:13px;padding-inline:13px;text-shadow:0 1px #312237;box-shadow:inset 0 1px #ffe2be40,0 2px #452f42}
#dialog[data-screen=result] .modal-sub{width:fit-content;padding:4px 10px;border-radius:11px;background:#39293edd;margin-top:6px;margin-bottom:8px}
#ss-community[data-screen=cosmetics] .sc-items{grid-template-columns:repeat(auto-fill,minmax(123px,1fr))}
@media(max-width:650px){#ss-community[data-screen=cosmetics] .sc-items{grid-template-columns:repeat(3,minmax(0,1fr))}#dialog[data-screen=result] .actions{gap:5px}#dialog[data-screen=result] .actions button{font-size:12px}}
.sc-pass-stepper{display:flex;flex:none;align-items:center;justify-content:center;gap:8px;padding:5px 0 0}.sc-pass-stepper strong{font-size:12px;color:#ffdeae;min-width:65px;text-align:center}.sc-pass-stepper .sc-btn{height:30px;min-width:34px;padding:2px 8px;font-size:16px;line-height:1}.sc-pass-stepper .sc-link{font-size:11px;margin-left:5px}.sc-pass-tier[data-viewing-tier] .sc-pass-node b{outline:2px solid #ffe6a9;outline-offset:1px}
/* The pass is an outdoor lantern trail. Each stop has two hanging reward stalls. */
#ss-community[data-screen=pass] .sc-layout{width:min(96%,1220px);height:calc(100% - 79px);max-height:none;margin:auto auto max(9px,env(safe-area-inset-bottom));display:flex}
#ss-community[data-screen=pass] .sc-main{width:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#ss-community[data-screen=pass] .sc-body{min-height:0;flex:1;overflow:hidden}
.sc-pass-map{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(420px,1.45fr);gap:clamp(12px,6vw,108px);min-height:0;height:100%;flex:1}
.sc-season-sign{align-self:start;position:relative;margin:4.5dvh 2px 0;padding:clamp(12px,2vw,23px);border:2px solid #ebc08d;border-radius:12px 26px 15px 26px;
 background:radial-gradient(ellipse at 5% 0,#a2618dc9,transparent 65%),linear-gradient(145deg,#56385ce8,#382748ef);box-shadow:inset 0 0 0 3px #9e70833d,0 4px #65404f,0 10px 26px #3e24344a}
.sc-season-sign:before,.sc-season-sign:after{content:"";position:absolute;width:13px;height:13px;border:2px solid #f7cf93;background:linear-gradient(155deg,#ffd698,#ba786d);transform:rotate(45deg);border-radius:4px;top:-7px;box-shadow:0 1px 2px #683b4d}.sc-season-sign:before{left:15px}.sc-season-sign:after{right:15px}
#ss-community .sc-season-sign .sc-pass-banner{display:grid;grid-template-columns:68px minmax(0,1fr);position:relative;padding:0;gap:8px 9px;border:0;border-radius:0;background:transparent;box-shadow:none}
#ss-community .sc-season-sign .sc-pass-banner>img{width:68px;height:78px;grid-row:1/3;filter:drop-shadow(0 5px 3px #301e37ac)}
#ss-community .sc-season-sign .sc-pass-banner h3{font-size:clamp(21px,2.4vw,34px);letter-spacing:-.9px;line-height:1.05}.sc-season-sign .sc-pass-ticket{justify-self:start;padding:2px 8px}
.sc-season-sign .sc-pass-foot{align-items:center;justify-content:flex-start;gap:7px;border-top-color:#e8bb9c55}.sc-season-sign .sc-pass-description{font-size:12px;margin-block:5px 9px;line-height:1.3}
.sc-lantern-road{display:flex;flex-direction:column;min-height:0;position:relative;min-width:0;padding:0 5px 3px}
#ss-community[data-screen=pass] .sc-pass-head{grid-template-columns:minmax(0,1fr) 77px minmax(0,1fr);gap:8px;margin:4px 5px 1px}
.sc-pass-head>span:first-child,.sc-pass-head>span:last-child{width:min(100%,220px);padding:6px 8px;border:2px solid #cfb1e3;border-radius:24px 8px 23px 8px;font-size:clamp(15px,1.7vw,21px);font-weight:1000;letter-spacing:.25px;text-shadow:0 2px #3b2649;box-shadow:inset 0 1px #ffffff56,0 3px #594250,0 5px 12px #38223866}
.sc-pass-head>span:first-child{justify-self:end;background:linear-gradient(125deg,#7057a4,#406f8c 70%,#36838b);color:#f0f2e4}
.sc-pass-head>span:last-child{justify-self:start;background:linear-gradient(125deg,#c37c46,#97603e 68%,#ac6c4f);color:#ffedb4;border-color:#ffdc95}
.sc-pass-head .sc-pass-center-label{align-self:center;justify-self:center;padding:4px 8px;background:#382039e8;border-radius:10px;font-size:10px}
#ss-community[data-screen=pass] .sc-pass-track{min-height:0;flex:1 1 0;height:0;margin:0;padding:2px 6px 4px;scroll-padding-block:10px;isolation:isolate}
#ss-community[data-screen=pass] .sc-pass-tier{grid-template-columns:minmax(0,1fr) 77px minmax(0,1fr);gap:8px;min-height:clamp(141px,19dvh,181px);padding:8px 0;position:relative}
.sc-pass-tier:before{display:none}.sc-pass-cord{position:absolute;z-index:-1;left:50%;top:-1px;width:80px;height:calc(100% + 2px);transform:translateX(-50%);overflow:visible;fill:none;filter:drop-shadow(0 2px 2px #44253366)}
.sc-pass-tier:nth-child(even) .sc-pass-cord{transform:translateX(-50%) scaleX(-1)}
.sc-pass-tier .sc-pass-node{position:relative;z-index:1;transform:translateX(-20px);gap:4px}
.sc-pass-tier:nth-child(even) .sc-pass-node{transform:translateX(20px)}
.sc-pass-tier .sc-pass-node>b,.sc-pass-tier .sc-pass-node.reached>b{position:relative;width:46px;height:48px;border:2px solid #e6b07e;border-radius:46%;background:repeating-linear-gradient(0deg,transparent 0 8px,#853c5a55 9px 10px),radial-gradient(ellipse at 36% 32%,#d98b9c,#975873 62%,#6d3f62);color:#fff2d0;font-size:21px;line-height:1;text-shadow:0 1px 3px #693746;box-shadow:inset 2px 0 5px #f2c59e66,0 2px 3px #3c243b99;outline:none}
.sc-pass-node>b:before,.sc-pass-node>b:after{content:"";position:absolute;left:12%;right:12%;height:5px;border:1px solid #d2a47b;background:#6d4b48;border-radius:3px}.sc-pass-node>b:before{top:-4px}.sc-pass-node>b:after{bottom:-4px}
.sc-pass-node small{font-size:10px;white-space:nowrap;color:#fff0c6;border:1px solid #d3a977;border-radius:7px;background:#422c43ed;padding:3px 5px}
.sc-pass-tier.sc-pass-current .sc-pass-node>b,.sc-pass-tier[data-viewing-tier] .sc-pass-node>b{background:repeating-linear-gradient(0deg,transparent 0 8px,#dc865944 9px 10px),radial-gradient(ellipse at 33% 30%,#fff6bd,#ffd37b 43%,#eca05e 76%,#b67449);color:#633853;box-shadow:0 0 0 2px #fff0b7,0 0 19px 5px #ffc66e99,0 2px 4px #532d47;outline:none}
.sc-pass-tier.sc-pass-current .sc-pass-node:after{content:"✦";position:absolute;width:auto;height:auto;border-radius:0;background:transparent;color:#fff2b5;font-size:15px;top:-15px;right:5px;filter:drop-shadow(0 0 4px #ffac55)}
#ss-community .sc-pass-card{--stall-rim:#c2b4e4;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;overflow:visible;width:min(100%,220px);min-height:115px;padding:13px 8px 7px;border:2px solid var(--stall-rim);border-radius:40% 40% 15px 15px / 14% 14% 13px 13px;
 color:#f5f2ff;background:radial-gradient(ellipse at 50% 15%,#ae95c982,transparent 64%),linear-gradient(135deg,#684986ed,#425778f2 65%,#30737aef);box-shadow:inset 0 0 0 2px #746a9d,0 3px #453858,0 6px 9px #39213977;filter:none}
#ss-community .sc-pass-card.free{justify-self:end}
#ss-community .sc-pass-card.premium{--stall-rim:#ffd78f;justify-self:start;color:#fff3d0;background:radial-gradient(ellipse at 50% 12%,#f6c080a1,transparent 65%),linear-gradient(135deg,#aa7149ed,#935c4aef 58%,#78495bef);box-shadow:inset 0 0 0 2px #c29469,0 3px #75453f,0 6px 9px #39213977}
.sc-pass-card:before{content:"";pointer-events:none;position:absolute;top:-3px;left:7%;right:7%;height:12px;border-radius:50% 50% 3px 3px;background:repeating-linear-gradient(100deg,#67558d 0 13px,#9684b5 13px 24px);border:1px solid var(--stall-rim);box-shadow:0 2px #44314f}
.sc-pass-card.premium:before{background:repeating-linear-gradient(100deg,#bc764c 0 13px,#e8b16b 13px 24px)}.sc-pass-card:after{content:"";pointer-events:none;position:absolute;left:11px;bottom:-7px;width:6px;height:10px;border-radius:1px 1px 4px 4px;background:var(--stall-rim);box-shadow:calc(min(220px,20vw) - 38px) 0 var(--stall-rim)}
.sc-inspect-reward{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;width:100%;gap:3px;padding:0 3px;color:inherit}
.sc-reward-picture{position:relative;isolation:isolate;height:clamp(46px,7dvh,72px);width:100%;display:grid;place-items:center;overflow:visible}
.sc-pass-card .sc-reward-picture:before{content:"";position:absolute;z-index:-1;width:84px;height:48px;max-width:90%;border-radius:50%;background:radial-gradient(ellipse,#ead2df83,transparent 71%)}
.sc-reward-picture :is(.sc-reward-art,.sc-avatar),.sc-treasure-art :is(.sc-reward-art,.sc-avatar){height:100%;width:auto;max-width:92%;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 3px 2px #36233966)}
.sc-reward-picture .sc-name{padding:4px 12px;background-color:#423450;border-radius:10px;border:1px solid #f2c38d;font-size:27px;line-height:1.03;box-shadow:0 3px #5e4357;filter:drop-shadow(0 0 3px #e8bc9270)}
.sc-inspect-reward>strong{font-size:clamp(13px,1.35vw,18px);font-weight:1000;text-shadow:0 1px 3px #35223d;line-height:1.12}.sc-pass-card .sc-claim-status{font-size:10px;justify-self:center;padding:2px 6px;border-radius:7px;color:#f7e7df;background:#34243bbc;min-height:18px}
.sc-pass-card.available .sc-claim-status{background:transparent;padding:0}.sc-pass-tier.sc-pass-current .sc-pass-card{border-color:#ffecb0;box-shadow:0 0 9px 1px #ffd8998c,0 3px #724e53,inset 0 0 0 2px #e9bd9a78}
.sc-pass-stepper{align-self:center;width:fit-content;max-width:100%;padding:4px 10px;border:1px solid #e0b589;border-radius:19px;background:#38273fe8;box-shadow:0 2px 4px #3b233c6b}
.sc-treasure{display:flex;align-items:center;gap:9px;flex:none;margin:3px auto;padding:6px 10px;width:min(100%,500px);background:linear-gradient(115deg,#694963,#382c43f5);border:2px solid #e6bd91;border-radius:12px}.sc-treasure-art{display:grid;place-items:center;flex:none;width:50px;height:49px}.sc-treasure>div{flex:1;min-width:0}.sc-treasure small{color:#f9d39a;font-size:10px}.sc-treasure p{color:#ffebdf;font-size:12px}.sc-treasure h4{font-size:16px;line-height:1.1}
@media(max-width:720px){
 #ss-community[data-screen=pass] .sc-layout{width:calc(100% - 10px);margin:0 auto calc(4px + env(safe-area-inset-bottom));height:auto;flex:1;max-height:none}
 .sc-pass-map{display:flex;flex-direction:column;gap:5px}.sc-season-sign{width:min(100%,495px);align-self:center;margin:4px 0 0;padding:6px 9px;border-width:1px;border-radius:12px 19px 12px 19px}
 #ss-community .sc-season-sign .sc-pass-banner{display:flex;gap:8px}#ss-community .sc-season-sign .sc-pass-banner>img{width:39px;height:40px}#ss-community .sc-season-sign .sc-pass-banner h3{font-size:19px}#ss-community .sc-season-sign .sc-pass-banner p{font-size:10px}
 .sc-season-sign .sc-pass-progress{margin:3px 0;height:6px}.sc-season-sign .sc-pass-description{font-size:10px;margin:2px 0}.sc-season-sign .sc-pass-foot{margin:3px 0 0;padding-top:3px;justify-content:space-between}.sc-season-sign .sc-pass-foot>span{font-size:10px}.sc-season-sign .sc-pass-foot .sc-btn{min-height:25px;font-size:10px;padding:2px 7px}
 .sc-lantern-road{width:min(100%,510px);align-self:center;flex:1;min-height:0;padding:0}
 #ss-community[data-screen=pass] .sc-pass-head,#ss-community[data-screen=pass] .sc-pass-tier{grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);gap:4px}
 #ss-community[data-screen=pass] .sc-pass-head{margin:3px 7px}.sc-pass-head>span:first-child,.sc-pass-head>span:last-child{padding:3px 5px;font-size:13px;border-width:1px}
 #ss-community[data-screen=pass] .sc-pass-tier{min-height:clamp(112px,14.5dvh,135px);padding:7px 0}.sc-pass-cord{width:45px}.sc-pass-tier .sc-pass-node{transform:translateX(-9px)}.sc-pass-tier:nth-child(even) .sc-pass-node{transform:translateX(9px)}
 .sc-pass-tier .sc-pass-node>b,.sc-pass-tier .sc-pass-node.reached>b{height:36px;width:33px;font-size:16px}.sc-pass-node small{font-size:8px;padding:2px 3px}
 #ss-community .sc-pass-card{min-height:95px;padding:9px 4px 4px}.sc-pass-card:before{height:8px}.sc-pass-card:after{height:6px;bottom:-5px;box-shadow:none}.sc-pass-card .sc-reward-picture{height:clamp(34px,5.4dvh,48px)}.sc-inspect-reward>strong{font-size:12px}.sc-reward-picture .sc-name{font-size:20px}
 .sc-pass-stepper{font-size:10px;gap:5px;padding:2px 7px}.sc-pass-stepper .sc-btn{height:26px;min-width:29px}.sc-treasure-art{width:38px;height:36px}.sc-treasure{gap:5px;padding:5px}.sc-treasure p{font-size:11px}
}
@media(orientation:landscape) and (max-height:520px){#ss-community[data-screen=pass] .sc-layout{height:calc(100% - 48px);max-height:none;margin:0 auto}.sc-pass-map{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(280px,1.3fr);gap:10px}.sc-season-sign{margin-top:10px;padding:7px}.sc-lantern-road{height:100%;width:100%;align-self:stretch}.sc-pass-head>span:first-child,.sc-pass-head>span:last-child{padding:2px 7px;font-size:14px}#ss-community[data-screen=pass] .sc-pass-tier{min-height:103px;padding:7px 0}#ss-community .sc-pass-card{min-height:82px;padding:8px 3px 3px}.sc-reward-picture{height:32px}.sc-pass-stepper{padding:1px 7px}.sc-pass-stepper .sc-btn{height:22px;min-width:27px}}
.sc-reward-picture{--reward-size:clamp(48px,7.2dvh,75px);display:flex;align-items:center;justify-content:center;flex:none;grid-row:auto;height:var(--reward-size)}
.sc-pass-card .sc-reward-picture>.sc-reward-art,.sc-pass-card .sc-reward-picture>.sc-avatar{flex:none;display:inline-flex;align-items:center;justify-content:center;width:var(--reward-size);height:var(--reward-size);max-width:95%;max-height:100%}
.sc-pass-card .sc-reward-picture>img.sc-reward-art{display:block;object-fit:contain}
.sc-pass-card .sc-reward-picture>.sc-avatar img{width:100%;height:100%;object-fit:contain}
.sc-pass-card .sc-reward-picture .sc-reward-metric .sc-icon{width:90%;height:90%}
.sc-pass-card .sc-inspect-reward>strong,.sc-pass-card .sc-claim-status{position:relative;z-index:1}
#ss-community .sc-season-sign .sc-pass-banner h3{font-size:clamp(21px,2vw,29px)}
.sc-pass-card:before{left:4%;right:4%;top:-5px;height:14px;border-radius:55% 55% 6px 6px / 45% 45% 35% 35%;background:repeating-linear-gradient(102deg,#735c9a 0 13px,#a99ccf 13px 26px);box-shadow:0 2px #563b59,0 4px 4px #33203e4d}
.sc-pass-card.premium:before{background:repeating-linear-gradient(102deg,#b87b47 0 13px,#ebb86e 13px 26px)}
@media(max-width:720px){.sc-pass-card .sc-reward-picture{--reward-size:clamp(37px,5.5dvh,49px);height:var(--reward-size)}#ss-community .sc-season-sign .sc-pass-banner h3{font-size:18px}.sc-pass-card:before{height:10px;top:-4px}}
@media(orientation:landscape) and (max-height:520px){.sc-pass-card .sc-reward-picture{--reward-size:32px;height:32px}}

.guardian-shelf>.shelf-hero{position:relative;min-width:0;min-height:0;pointer-events:none}.guardian-shelf>.shelf-hero>.guardian-sprite{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;aspect-ratio:auto}
.sc-pass-ticket,.audio-credits>summary{min-height:28px}.audio-credits>summary{padding-block:4px}.policy-page a[href^="mailto:"],.legal-content a[href^="mailto:"]{display:inline-flex;align-items:center;min-height:26px}

.language-setting{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;background:#342b40;border:1px solid #b08b91;border-radius:12px;padding:9px 13px;color:#ffefd6;text-align:left;font-weight:900}.language-setting select{min-height:36px;min-width:12ch;max-width:100%;padding:4px 7px;background:#50384b;color:#fff2e5;border:1px solid #cca990;border-radius:8px;font:inherit}.policy-paper a[href^="mailto:"]{display:inline-block;min-height:26px;line-height:26px}.sanctuary-dock .dock-label{display:block;width:auto;height:auto;max-width:100%;line-height:1.1;overflow-wrap:anywhere;filter:none}.sc-name{overflow-wrap:anywhere}

#plaza .sanctuary-dock button>.dock-label{width:auto;height:auto;display:block;flex:none;filter:none}.language-setting>select{color-scheme:dark}

@media(min-width:701px){#ss-community:not(.soc-full) .sc-layout{grid-template-rows:minmax(0,1fr)}#ss-community:not(.soc-full) .sc-main{min-block-size:0;max-block-size:100%}}
@media(orientation:landscape) and (max-height:550px){.sc-pass-map{grid-template-rows:minmax(0,1fr)}.sc-lantern-road{min-block-size:0;max-block-size:100%}.sc-season-sign{min-block-size:0;max-block-size:100%;overflow-y:auto;overscroll-behavior:contain}.place-toolbar,.sc-header{flex-shrink:0}}

#ss-community .sc-rail{min-height:0;overscroll-behavior:contain}
@media(orientation:landscape) and (max-height:550px){.sanctuary-hud{left:max(8px,calc(env(safe-area-inset-left,0px) + 3px));right:max(8px,calc(env(safe-area-inset-right,0px) + 3px))}.orbit-left{left:max(12px,calc(env(safe-area-inset-left,0px) + 3px))}.orbit-right{right:max(12px,calc(env(safe-area-inset-right,0px) + 3px))}}
