/* V25: a toy chest and adventure postcards, drawn around the actual 3D Milo. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.chapter-art{display:block;background-image:url('./assets/art/chapter-adventures-v25.png');background-repeat:no-repeat;background-size:500% 100%;background-position:var(--chapter-x,0%) center}
.stratum-art.chapter-art{height:172px;width:130px;justify-self:end;border-radius:24px;border:3px solid #ffe59b;box-shadow:0 5px #173048}
.journey-screen .toy-missions{background:linear-gradient(145deg,#fff5ba,#ffe072);border:3px solid #fff9df;border-bottom-width:6px;box-shadow:0 6px #c28c29,0 10px 20px #09274d40;color:#283b70;padding:17px 18px 12px;border-radius:24px}
.toy-missions .panel-heading{gap:4px;margin:0 0 8px}
.toy-missions .panel-heading strong{font-size:24px;line-height:1.05;text-shadow:0 2px #fff7dc}
.toy-missions .panel-heading>.ui-art{width:64px;height:64px;margin:-12px 0 -9px -12px}
.toy-missions .mini-mission{padding:9px 0;font-size:13px;line-height:1.25;border:0;gap:4px 10px}
.toy-missions .mini-mission small{background:#fff8d1;border-radius:10px;align-self:center;padding:5px 6px;color:#28427b;font-size:12px}
.toy-missions .meta-meter{height:14px;margin:4px 0;background:#c7973c55;border:2px solid #bb923a55;box-shadow:0 1px #fff9d6}
.toy-missions .meta-meter i{background:linear-gradient(#8ee8ff,#29a6e7);border-top:2px solid #c9f5ff}
.toy-missions .panel-link{margin-top:5px;border-top:2px solid #d8b25666;padding-top:9px;color:#5242a4;font-size:13px}
.journey-screen .toy-adventure{display:grid;grid-template-columns:43% 1fr;grid-template-rows:1fr auto;min-height:217px;padding:0;gap:0;border:3px solid #ffe7a7;border-bottom-width:6px;border-radius:25px;background:linear-gradient(135deg,#336fbd,#24447b);color:white;box-shadow:0 6px #133958,0 10px 22px #08284f4d;text-align:left;isolation:isolate}
.toy-adventure .story-art{height:100%;min-height:205px;grid-row:1/-1;border-radius:20px 0 0 18px;box-shadow:inset -6px 0 12px #0c2a3840}
.toy-adventure .story-info{padding:17px 13px 7px;display:flex;flex-direction:column;gap:7px;min-width:0}
.toy-adventure .story-info small{font-size:11px;font-weight:750;color:#c4ebff}
.toy-adventure .story-info strong{font-size:23px;line-height:1.06;color:#fff2a3;text-shadow:0 2px #193e74}
.toy-adventure .story-info>span{font-size:11px;line-height:1.4;color:#f1faff}
.toy-adventure .adventure-cta{display:flex;justify-content:space-between;align-items:center;margin-top:auto;border-radius:12px;padding:7px 10px;background:linear-gradient(#ffe983,#ffcf49);border:2px solid #fff0ac;box-shadow:0 4px #aa7929;color:#38405b;font-size:14px;white-space:nowrap}
.toy-adventure .adventure-cta i{font-size:23px;line-height:.7;font-style:normal}
.toy-adventure .story-stamps{display:flex;justify-content:center;gap:7px;padding:7px 6px 6px;line-height:1;min-height:26px}
.toy-adventure .story-stamps i{color:#abc5f2;font-size:20px;font-style:normal}
.toy-adventure .story-stamps i.done{color:#ffe168;font-size:17px}
.lobby-layout .play-big{font-size:30px;min-height:62px;white-space:nowrap}

.journey-screen[data-mode=wardrobe] .lobby-top,.journey-screen[data-mode=wardrobe] .journey-nav{display:none}
.journey-screen[data-mode=wardrobe] .journey-window{width:min(1480px,100%);gap:16px;min-height:620px}
.journey-screen[data-mode=wardrobe] .journey-toolbar{padding:0 8px;min-height:50px}
.journey-screen[data-mode=wardrobe] .journey-toolbar h2{font-size:31px;text-shadow:0 3px #163650}
.journey-screen[data-mode=wardrobe] .journey-content{background:none;padding:0;border:0;box-shadow:none;overflow:hidden}
.toy-wardrobe{display:grid;grid-template-columns:minmax(280px,35%) minmax(0,1fr);height:100%;min-height:0;gap:24px}
.toy-wardrobe .toy-stage{position:relative;top:auto;display:grid;grid-template-rows:auto minmax(200px,1fr) auto;align-content:stretch;height:100%;padding:22px 18px 15px;border:4px solid #b7f8fc;border-bottom-width:8px;border-radius:36px;background:radial-gradient(ellipse at 50% 46%,#e1fff1 0,#a0eee2 38%,#50bacd 100%);box-shadow:0 6px #287e9c,inset 0 3px #fff9;color:#205384;overflow:hidden;text-align:center}
.toy-stage:before{content:'';position:absolute;inset:14px;border:2px dashed #ffffff70;border-radius:25px;pointer-events:none}
.toy-stage .stage-title{position:relative;z-index:1;pointer-events:none}
.toy-stage .stage-title>span{font-size:13px;font-weight:700;color:#287393}
.toy-stage .stage-title h3{font-size:38px;line-height:1.05;margin:2px 0 0;color:#fffef4;text-shadow:0 3px #348aa4,2px 0 #348aa4,-2px 0 #348aa4}
.toy-wardrobe .toy-stage #costume-preview{position:relative;height:auto!important;width:100%;min-height:0;margin:0;z-index:1}
.toy-stage #costume-preview canvas{display:block;position:absolute;inset:0;width:100%;height:100%}
.toy-stage .outfit-caption{position:relative;z-index:2;align-self:end;padding:13px 14px 6px;border-radius:23px;background:#eafff3ed;box-shadow:0 4px #68baba66}
.toy-stage .outfit-caption h4{font-size:21px;line-height:1.15;margin:0 0 5px;color:#255382}
.toy-stage .outfit-caption p{font-size:12px;line-height:1.4;margin:4px auto 9px;max-width:320px}
.toy-stage .outfit-tag{display:inline-block;font-size:11px;font-weight:750;color:#347b77;margin-bottom:4px}
.toy-stage .outfit-caption .equip-toy{width:min(100%,290px);display:block;margin:11px auto 7px;padding:10px 15px;border:3px solid #fff1a4;background:linear-gradient(#fff079,#ffd245);color:#354679;border-radius:16px;box-shadow:0 5px #bd8c28,inset 0 2px #fff9;font-size:18px;font-weight:850;line-height:1.15}
.toy-stage .outfit-caption .equip-toy:disabled{background:linear-gradient(#b9f09d,#83d596);border-color:#ddffd1;box-shadow:0 4px #4b9c88;color:#285a61}
.toy-stage .outfit-caption .reset-outfit{background:transparent;box-shadow:none;border:0;font-size:11px;font-weight:650;text-decoration:underline;text-underline-offset:3px;color:#38778c;padding:8px}
.costume-spark{position:absolute;color:#fffcb1;font-size:42px;text-shadow:0 2px #57aeb5;pointer-events:none;z-index:1}.spark-one{left:7%;top:37%;transform:rotate(-12deg)}.spark-two{right:8%;top:59%;font-size:27px;transform:rotate(12deg)}
.toy-chest{display:flex;flex-direction:column;min-width:0;min-height:0;border:4px solid #90d9ff;border-bottom-width:8px;border-radius:32px;overflow:hidden;background:linear-gradient(135deg,#3479cb,#294998);box-shadow:0 6px #172b69,inset 0 3px #c6eeff77;color:#fff}
.toy-chest-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:21px 24px 16px;background:#2e68b7;border-bottom:3px solid #215396;box-shadow:inset 0 2px #9cd7ff60}
.toy-chest-heading h3{font-size:27px;line-height:1.12;margin:0 0 4px;color:#fff;text-shadow:0 3px #204a89}
.toy-chest-heading>div>span{font-size:12px;color:#cceeff}
.collection-bubble{padding:9px 13px;border:2px solid #9be8fd;border-radius:17px;background:#1c4e91;font-size:25px;font-weight:850;white-space:nowrap;box-shadow:0 3px #153d76}
.collection-bubble small{font-size:13px;color:#c5eafa}
.toy-chest-layout{display:grid;grid-template-columns:88px minmax(0,1fr);min-height:0;flex:1}
.toy-wardrobe .toy-categories{display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;margin:0;padding:13px 7px 16px;gap:9px;overflow-y:auto;background:#20559b;scrollbar-width:thin;scrollbar-color:#85c8f4 transparent}
.toy-categories button{flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-height:68px;padding:5px 3px;border:2px solid #6babe9;border-radius:17px;background:linear-gradient(#5e9ce1,#3a6db8);color:white;box-shadow:0 4px #143c79;font-size:10px;font-weight:800}
.toy-categories button .ui-art{width:40px;height:40px;filter:drop-shadow(0 3px 2px #16365050)}
.toy-categories button[aria-pressed=true]{background:linear-gradient(#ffec86,#ffd34c);border-color:#fff3bd;color:#30466d;box-shadow:0 4px #bd8c2c}
.outfit-shelf{min-width:0;min-height:0;display:flex;flex-direction:column;background:#1c40814d}
.shelf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 17px 10px;flex-shrink:0}
.shelf-toolbar>strong{font-size:16px;color:#e2f6ff}
.toy-rarity{font:inherit;font-size:11px;font-weight:700;color:#e7f7ff;background:#24519a;border:1px solid #79b7e7;border-radius:11px;padding:7px 8px;color-scheme:dark;max-width:145px}
.toy-wardrobe .toy-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:16px 13px;overflow-y:auto;min-height:0;padding:6px 17px 22px;margin:0;scrollbar-width:thin;scrollbar-color:#80b8ed transparent}
.toy-items .toy-item{display:flex;flex-direction:column;align-items:stretch;position:relative;min-width:0;min-height:224px;gap:0;padding:11px 10px 10px;border:3px solid #f2faff;border-bottom-width:5px;border-radius:23px;background:radial-gradient(circle at 50% 28%,#fff 0%,color-mix(in srgb,var(--item-color) 22%,#edf6ff) 70%);box-shadow:0 6px #132f6d,inset 0 -4px #3d62921a;text-align:center;color:#244878;overflow:visible;isolation:isolate}
.toy-items .toy-item .prize-art{display:grid;place-items:center;height:120px;min-height:100px;margin:0;background:none;flex-shrink:0}
.toy-items .toy-item .prize-art>.ui-art{height:112px;width:112px;max-width:100%;filter:drop-shadow(0 7px 3px #21416e3b);transition:transform .16s}
.toy-items .toy-item:hover .prize-art>.ui-art{transform:rotate(-5deg) scale(1.04)}
.toy-items .toy-item>strong{font-size:14px;line-height:1.18;min-height:34px;margin:3px 0 8px;display:flex;align-items:center;justify-content:center}
.toy-items .item-status{position:absolute;top:7px;right:7px;display:flex;justify-content:center;align-items:center;min-width:24px;min-height:24px;padding:3px 6px;border-radius:10px;background:#eaffd5;color:#3d9567;font-size:10px;font-weight:850;z-index:2}
.toy-items .item-status>.ui-art{width:21px;height:21px;filter:none}
.toy-items .toy-item.equipped{border-color:#c7ff86;background:radial-gradient(circle at 50% 28%,#fff,#e0facb);box-shadow:0 6px #3a8c69,inset 0 -4px #50a77322}
.toy-items .toy-item.equipped .item-status{background:#4ca56d;color:white}
.toy-items .toy-item.selected{outline:4px solid #ffe36a;outline-offset:1px}
.toy-items .toy-item.item-locked .prize-art>.ui-art{filter:drop-shadow(0 7px 3px #21416e3b);opacity:.82}
.toy-items .toy-item.item-locked .item-status{background:#e1edfa}
.item-foot{display:flex;justify-content:space-between;gap:5px;align-items:center;margin-top:auto}
.toy-items .toy-item .rarity{background:color-mix(in srgb,var(--item-color) 36%,white);font-size:9px;padding:4px 6px;border-radius:8px;color:#344775;font-weight:750;white-space:nowrap}
.toy-items .item-foot>small{font-size:10px;color:#4b6785}
.toy-items .empty-collection{padding:18px;color:#e8f8ff;font-size:14px;line-height:1.5}

@media(min-width:1550px){.toy-items .toy-item{min-height:254px}.toy-items .toy-item .prize-art{height:148px}.toy-items .toy-item .prize-art>.ui-art{width:142px;height:142px}.toy-items .toy-item>strong{font-size:16px}.toy-stage .stage-title h3{font-size:44px}.toy-chest-heading h3{font-size:31px}}
@media(max-width:1100px){.toy-wardrobe{grid-template-columns:minmax(240px,34%) minmax(0,1fr);gap:16px}.toy-chest-heading{padding:16px}.toy-chest-heading h3{font-size:23px}.toy-chest-layout{grid-template-columns:73px 1fr}.toy-categories button{min-height:61px;font-size:9px}.toy-categories button .ui-art{width:35px;height:35px}.toy-wardrobe .toy-items{gap:13px 10px;padding:6px 12px 18px}.toy-items .toy-item{padding:9px 7px;min-height:177px;border-radius:19px}.toy-items .toy-item .prize-art{height:94px;min-height:90px}.toy-items .toy-item .prize-art>.ui-art{width:92px;height:92px}.toy-items .toy-item>strong{font-size:12px}.item-foot{justify-content:center}.toy-items .item-foot>small{display:none}.toy-stage .outfit-caption{padding:11px}.toy-stage .outfit-caption h4{font-size:18px}.toy-stage .stage-title h3{font-size:32px}.toy-stage .outfit-caption p{font-size:11px}.toy-adventure .story-info{padding:13px 9px 5px}.toy-adventure .story-info strong{font-size:20px}.toy-adventure .story-info>span{font-size:10px}.toy-adventure .adventure-cta{font-size:12px;padding:7px}.toy-missions .panel-heading strong{font-size:21px}}
@media(max-width:760px){.journey-screen[data-mode=wardrobe] .journey-content{overflow-y:auto;padding-bottom:7px}.toy-wardrobe{display:flex;flex-direction:column;height:auto;min-height:100%;gap:18px}.toy-wardrobe .toy-stage{grid-template-columns:46% 54%;grid-template-rows:auto 230px;min-height:300px;flex-shrink:0;padding:14px 12px;border-radius:27px}.toy-stage .stage-title{grid-column:1/-1}.toy-stage .stage-title>span{display:none}.toy-stage .stage-title h3{font-size:29px}.toy-wardrobe .toy-stage #costume-preview{grid-column:1;grid-row:2;margin:0 -12px;width:calc(100% + 24px)}.toy-stage .outfit-caption{grid-column:2;grid-row:2;align-self:center;padding:13px 10px 9px}.toy-stage .outfit-caption .equip-toy{font-size:15px;padding:9px 8px}.toy-stage .outfit-caption p{font-size:11px}.toy-stage .outfit-caption .reset-outfit{font-size:10px}.costume-spark{display:none}.toy-chest{overflow:visible;min-height:390px;flex-shrink:0;border-radius:26px}.toy-chest-heading{border-radius:21px 21px 0 0}.toy-chest-heading h3{font-size:22px}.toy-chest-heading>div>span{font-size:11px}.toy-chest-layout{display:flex;flex-direction:column}.toy-wardrobe .toy-categories{flex-direction:row;padding:10px 12px 14px;overflow:auto;gap:8px}.toy-categories button{width:68px;min-height:64px;font-size:9px}.outfit-shelf{min-height:0;overflow:visible}.toy-wardrobe .toy-items{overflow:visible;grid-template-columns:repeat(3,minmax(0,1fr));padding:8px 12px 18px}.toy-items .toy-item{min-height:172px}.toy-items .toy-item .prize-art{height:90px}.toy-items .toy-item>strong{font-size:12px}.toy-items .toy-item .prize-art>.ui-art{height:88px;width:88px}.toy-chest .collection-bubble{font-size:23px;padding:8px}.toy-chest .collection-bubble small{font-size:11px}}
@media(max-width:600px){.journey-screen[data-mode=home] .lobby-layout{grid-template-rows:minmax(270px,1fr) 185px 107px auto}.journey-screen .toy-missions{padding:9px 10px;border-width:2px;border-bottom-width:4px;border-radius:18px}.toy-missions .panel-heading strong{font-size:16px}.toy-missions .panel-heading>.ui-art{width:35px;height:35px;margin:-3px 0 -2px -4px}.toy-missions .mini-mission{font-size:11px;padding:7px 0}.toy-missions .mini-mission small{font-size:10px;padding:4px}.toy-missions .panel-link{font-size:10px;padding-top:5px;margin-top:2px}.toy-missions .meta-meter{height:11px}.journey-screen .toy-adventure{min-height:185px;border-width:2px;border-bottom-width:4px;border-radius:18px;grid-template-columns:38% 1fr}.toy-adventure .story-art{min-height:177px;border-radius:14px 0 0 13px}.toy-adventure .story-info{padding:9px 8px 3px;gap:5px}.toy-adventure .story-info small{font-size:9px}.toy-adventure .story-info strong{font-size:16px}.toy-adventure .story-info>span{font-size:9px;line-height:1.25}.toy-adventure .adventure-cta{font-size:11px;padding:5px 6px;border-radius:9px;white-space:normal}.toy-adventure .story-stamps{gap:4px;padding:6px 5px 4px;min-height:23px}.toy-adventure .story-stamps i{font-size:15px}.toy-adventure .story-stamps i.done{font-size:13px}.lobby-layout .play-big{font-size:29px;min-height:48px}.stratum-art.chapter-art{height:150px;width:100%;background-size:500% auto;background-position:var(--chapter-x) 50%;margin:12px 0}.journey-screen[data-mode=wardrobe] .journey-window{gap:10px;min-height:620px}.journey-screen[data-mode=wardrobe] .journey-toolbar h2{font-size:25px}.journey-screen[data-mode=wardrobe] .journey-toolbar{padding:0;min-height:42px}.toy-wardrobe .toy-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 12px}.toy-items .toy-item .prize-art{height:116px}.toy-items .toy-item .prize-art>.ui-art{height:110px;width:110px}.toy-items .toy-item>strong{font-size:13px}.toy-items .item-foot>small{display:block;font-size:9px}.item-foot{justify-content:space-between}.toy-wardrobe .toy-stage{grid-template-rows:auto 215px;min-height:278px}.toy-stage .outfit-caption h4{font-size:16px}.toy-stage .outfit-caption .equip-toy{font-size:13px}.toy-stage:before{inset:10px}}
@media(min-width:761px) and (max-height:700px){.journey-screen .toy-adventure{min-height:166px}.toy-adventure .story-art{min-height:155px}.toy-adventure .story-info{padding:10px 11px 3px;gap:4px}.toy-adventure .story-info strong{font-size:19px}.toy-adventure .story-info>span{font-size:10px}.toy-missions .panel-heading strong{font-size:21px}.toy-missions .panel-heading>.ui-art{width:47px;height:47px}.journey-screen .toy-missions{padding:10px 14px}.toy-missions .mini-mission{font-size:12px;padding:5px 0}.journey-screen[data-mode=wardrobe] .journey-window{min-height:510px}.toy-chest-heading{padding:13px 18px}.toy-chest-heading h3{font-size:23px}.toy-stage .stage-title h3{font-size:30px}.toy-stage .outfit-caption{padding:10px}.toy-stage .outfit-caption h4{font-size:18px}.toy-wardrobe .toy-stage{padding:14px 14px 12px;grid-template-rows:auto minmax(160px,1fr) auto}.toy-stage .outfit-caption p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.toy-items .toy-item .prize-art>.ui-art{transition:none}.toy-items .toy-item:hover .prize-art>.ui-art{transform:none}}

.toy-items .toy-item.item-locked .prize-art,.toy-items .toy-item.item-locked .prize-art>.ui-art{opacity:1}
@media(max-width:760px){.toy-wardrobe .toy-stage{align-self:stretch;width:100%;height:auto}.toy-items .toy-item{min-height:200px}.toy-items .toy-item .item-foot{flex-shrink:0}}
