.ex-shell{max-width:1180px;margin:24px auto;padding:0 20px 32px;color:#294f42;overflow-wrap:anywhere}.ex-shell *{box-sizing:border-box}.ex-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#2e5546;color:#fff7d7;border-radius:28px;padding:32px;margin-bottom:20px}.ex-hero h1{font-size:clamp(26px,4vw,42px);margin:12px 0}.ex-hero p{margin:8px 0;line-height:1.7}.ex-kicker{font-size:13px;letter-spacing:2px}.ex-hero-art{flex:0 0 100px;display:block;color:#ebd98f}.ex-hero-art svg{width:100%;height:100px}.ex-settings{display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin:20px 0}.ex-field{display:grid;gap:8px;margin:12px 0;max-width:100%;font-weight:600}.ex-field input,.ex-field select{width:100%;min-width:0;min-height:46px;border:1px solid #c7cfb5;background:#fffef7;border-radius:12px;padding:10px;color:#294f42;font-size:16px}.ex-settings p{font-size:14px;line-height:1.8}.ex-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ex-mode{border:1px solid #d3d9bd;background:#fffdf2;padding:24px;border-radius:22px;display:flex;flex-direction:column;gap:12px}.ex-mode:nth-child(2n){background:#eef2df}.ex-mode h2{margin:0;font-size:24px}.ex-mode p{margin:0 0 6px;line-height:1.8;flex:1}.ex-mode small{color:#758566;font-size:12px;letter-spacing:1px}.ex-art{width:64px;height:64px;padding:12px;background:#e6ebcf;border-radius:18px;display:block}.ex-art svg{width:100%;height:100%}.ex-section{padding:24px;border:1px solid #d3d9bd;border-radius:22px;background:#fffdf5;margin-top:20px;display:grid;gap:12px}.ex-section h2,.ex-section p{margin:0;line-height:1.7}.ex-daily,.ex-records{display:flex;flex-wrap:wrap;gap:12px}.ex-daily button,.ex-records button{display:flex;gap:12px;align-items:center}.ex-daily svg,.ex-records svg{width:28px;height:28px;flex-shrink:0}.ex-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.ex-shell button{min-height:46px;white-space:normal;line-height:1.4}.ex-shell button:focus-visible{outline:3px solid #a27c20;outline-offset:3px}.ex-play-top{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:16px}.ex-play-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;align-items:start;gap:20px}.ex-board{border:1px solid #c6cda9;border-radius:24px;padding:24px;background:#fffef6;min-width:0}.ex-guide{border:1px solid #d3d9bd;border-radius:24px;background:#eef2df;padding:20px;display:grid;gap:16px;text-align:center}.ex-guide h2{font-size:18px;margin:0}.ex-guide p{margin:0;line-height:1.8;font-size:14px}.ex-buddy{width:92px;height:92px;object-fit:cover;object-position:left top;border-radius:50%;justify-self:center}.ex-ledger{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ex-ledger span{background:#eef2df;border-radius:14px;padding:14px;font-size:14px}.ex-ledger b{display:block;font-size:23px;margin-top:8px}.ex-board p{line-height:1.8}.ex-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ex-shelf article{border:1px solid #ddd4ab;border-radius:18px;padding:16px;background:#fbf4d9}.ex-shelf h3{margin:8px 0}.ex-shelf .ex-actions{gap:8px}.ex-shelf button{padding:10px}.ex-goods{font-size:32px}.ex-orders,.ex-clues{display:grid;gap:12px}.ex-orders article{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;border:1px solid #d4d9c1;border-radius:16px;padding:16px}.ex-orders h3,.ex-orders p{margin:0 0 8px}.ex-orders input{max-width:180px}.ex-feedback{margin-top:24px;border-radius:14px;padding:16px;background:#edf2df;color:#355945;min-height:56px;line-height:1.7}.ex-success{margin-top:16px;padding:20px;border-radius:18px;background:#f6e8b1;display:flex;align-items:center;gap:16px}.ex-success img{width:56px;height:70px}.ex-success h2,.ex-success p{margin:4px 0}.ex-brief{margin-bottom:20px}.ex-brief h2{font-size:24px}.ex-garden{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;max-width:420px;margin:20px auto}.ex-garden button{border-radius:10px;aspect-ratio:1;background:#edf0d8;border:1px solid #d1d8b6;padding:0;font-size:22px}.ex-garden button.planted{background:#749957;color:#fff8cb;border-color:#5e8047}.ex-center{text-align:center}.ex-designs{display:flex;gap:16px;flex-wrap:wrap;margin:24px 0}.ex-designs article{padding:16px;background:#f4efd6;border-radius:14px}.ex-mini{display:grid;grid-template-columns:repeat(6,12px);gap:2px;margin-bottom:12px}.ex-mini i{width:12px;height:12px;background:#e0e4cb}.ex-mini i.on{background:#739452}.ex-map{position:relative;width:100%;height:260px;margin:24px 0;border-radius:20px;background-color:#edf0dd;background-image:linear-gradient(#d7ddc2 1px,transparent 1px),linear-gradient(90deg,#d7ddc2 1px,transparent 1px);background-size:20% 20%;border:1px solid #cdd6b2}.ex-map span{position:absolute;left:calc(4% + var(--x)*17%);top:calc(8% + var(--y)*17%);font-size:14px;background:#fffdf1;padding:8px;border-radius:10px;transform:translateX(-5%)}.ex-map .here{background:#365f49;color:#fff}.ex-destinations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ex-clues label,.ex-clues article{display:flex;gap:12px;align-items:center;padding:18px;background:#f7f2df;border:1px solid #d7d0b3;border-radius:16px}.ex-clues small{display:block;margin-top:10px}.ex-clues label b{margin-left:auto;white-space:nowrap}.ex-clues input{width:22px;height:22px;flex-shrink:0}.ex-room{background:#f4e6af;padding:20px;border-radius:18px;text-align:center}.ex-room strong{display:block;font-size:32px;letter-spacing:7px}.ex-bridge{display:flex;align-items:center;gap:5px;margin:28px 0;background:#e3f0e9;padding:20px 8px;border-radius:16px}.ex-bridge i{height:22px;flex:1;background:#ced4c1;border-radius:4px}.ex-bridge i.built{background:#b99451}.ex-entry{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#e9edd7;border:1px solid #ced6b7;border-radius:18px;padding:18px 22px;margin:16px 0}.ex-entry p{margin:6px 0 0;font-size:14px}.ex-entry button{flex-shrink:0}html[data-view="workshop"] #game{overflow:visible;height:auto;min-height:0}html[data-view="workshop"] body{overflow:auto;height:auto}
@media(max-width:1000px){.ex-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ex-play-layout{grid-template-columns:minmax(0,1fr)}.ex-guide{display:flex;align-items:center;flex-wrap:wrap;text-align:left}.ex-guide p{flex:1;min-width:160px}.ex-buddy{width:60px;height:60px}.ex-shell{margin-top:16px}.ex-shelf article{padding:12px}}
@media(max-width:540px){.ex-shell{padding:0 12px 24px}.ex-hero{padding:22px;gap:12px;border-radius:20px}.ex-hero-art{flex-basis:50px}.ex-hero-art svg{height:60px}.ex-mode-grid{grid-template-columns:1fr}.ex-mode{display:grid;grid-template-columns:60px 1fr;gap:12px;padding:20px}.ex-mode .ex-art{grid-row:1/4}.ex-mode button{grid-column:1/-1}.ex-mode h2{font-size:22px}.ex-board{padding:16px}.ex-settings{display:grid;grid-template-columns:1fr}.ex-ledger{gap:8px}.ex-ledger span{padding:10px;font-size:12px}.ex-ledger b{font-size:20px}.ex-shelf{grid-template-columns:1fr}.ex-shelf article{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.ex-shelf p{margin:0}.ex-shelf .ex-actions{margin:0}.ex-garden{gap:4px}.ex-garden button{min-height:40px}.ex-entry{align-items:stretch;flex-direction:column}.ex-clues label{padding:12px}.ex-success{padding:14px}.ex-section{padding:18px}.ex-destinations button{padding:12px}.ex-guide .ex-buddy{display:none}}

.ex-buddy{display:block;background-image:url(/assets/companions/2d/fox-expressions.webp);background-size:300% 200%;background-position:0 0;background-repeat:no-repeat}

.ex-shell .ex-hero p{color:#e1e8cd}.ex-buddy{background-size:400% 200%}html[data-client="phone"][data-view="workshop"] #header nav{position:static;box-shadow:none;border-top:0;padding:8px 0;grid-column:1/-1;width:100%}html[data-client="phone"][data-view="workshop"] body{padding-bottom:env(safe-area-inset-bottom)}

/* Workshop: illustrated invitations using one small, shared woodland atlas. */
.ex-illustration{display:block;width:100%;height:100%;aspect-ratio:1;background-image:url('/assets/workshop-atlas-v1.webp');background-size:300% 200%;background-repeat:no-repeat}
.ex-illustration-shop{background-position:0 0}.ex-illustration-garden{background-position:50% 0}.ex-illustration-courier{background-position:100% 0}.ex-illustration-detective{background-position:0 100%}.ex-illustration-coop{background-position:50% 100%}.ex-illustration-friends{background-position:100% 100%}
.ex-hub{max-width:1200px;margin-top:24px}.ex-hub .ex-hero{position:relative;background:#e9eedb;border:1px solid #ccd8b5;color:#294f42;padding:32px 36px;min-height:220px;box-shadow:inset 0 0 0 7px #f6f6e9}.ex-hub .ex-hero h1{font-size:clamp(26px,3vw,38px);max-width:540px;line-height:1.35}.ex-hub .ex-hero p{color:#526b51;font-size:16px}.ex-hub .ex-kicker{font-size:13px;letter-spacing:1px}.ex-welcome-art{flex:0 0 180px;text-align:center;color:#365740;display:grid;justify-items:center;gap:12px}.ex-welcome-art img{width:78px;height:78px}.ex-welcome-art>span{font-size:20px;font-weight:750;line-height:1.7}.ex-welcome-art small{font-size:12px;font-weight:400;color:#596f50}
.ex-hub .ex-settings{background:transparent;border-bottom:1px solid #d9dfca;padding:0 0 22px;gap:20px;margin:24px 0}.ex-hub .ex-settings .ex-field{margin:0;font-size:13px}.ex-hub .ex-settings .ex-field:nth-child(2){flex:1;max-width:370px}.ex-hub .ex-settings select{font-size:14px;background:#fffdf5}.ex-hub .ex-reward-note{margin:0 0 4px auto;display:grid;grid-template-columns:24px 1fr;gap:4px 8px;color:#4e6745;font-weight:700;font-size:14px}.ex-reward-note img{width:24px;height:24px}.ex-reward-note small{grid-column:1/-1;font-size:12px;font-weight:400;line-height:1.7}.ex-heading{margin:24px 0 18px}.ex-heading h2{font-size:24px;margin:0 0 8px}.ex-heading p{font-size:14px;color:#607254;margin:0}
.ex-hub .ex-mode-grid{gap:20px;align-items:start}.ex-hub .ex-mode{position:relative;padding:22px;gap:10px;background:#fffdf2;border:1px solid #d7ddc6;border-radius:24px;box-shadow:0 4px 0 #e8e9d8;min-width:0;display:flex;align-items:stretch;min-height:340px}.ex-hub .ex-mode .ex-art{width:118px;height:118px;padding:0;background:transparent;border-radius:0;margin:0 auto 4px}.ex-hub .ex-mode small{font-size:12px;color:#69794f;letter-spacing:0}.ex-hub .ex-mode h2{font-size:23px;line-height:1.4}.ex-hub .ex-mode p{font-size:14px;line-height:1.7;margin:0;min-height:48px}.ex-hub .ex-mode>button{margin-top:8px;min-height:46px;border-radius:14px;box-shadow:0 3px 0 #294f3c;font-size:15px}.ex-hub .ex-mode>button:active{transform:translateY(2px);box-shadow:0 1px 0 #294f3c}.ex-hub .ex-invite{border:1px dashed #a9b58d;box-shadow:none}.ex-join{margin-top:8px}.ex-join summary{cursor:pointer;list-style:none;border:1px solid #b9c9a2;border-radius:14px;min-height:49px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#edf2df;font-size:15px;font-weight:700}.ex-join summary::-webkit-details-marker{display:none}.ex-join summary:focus-visible{outline:3px solid #a27c20;outline-offset:3px}.ex-join[open] summary span{transform:rotate(45deg)}.ex-join-form{display:grid;gap:12px;padding-top:16px}.ex-join-form .ex-field{margin:0;font-size:13px}.ex-join-form input{letter-spacing:3px}.ex-join-form button{width:100%}.ex-hub .ex-section{margin-top:24px;box-shadow:none;background:#f3f4e8;padding:24px}.ex-hub .ex-section h2{font-size:22px}.ex-hub .ex-section p{font-size:14px;color:#607254}.ex-daily button,.ex-records button{background:#fffdf2;text-align:left}.ex-daily .ex-illustration,.ex-records .ex-illustration{width:48px;height:48px;flex:0 0 48px}.ex-daily button{flex:1;min-width:170px}.ex-hero-art>.ex-illustration{border-radius:18px}.ex-hub .ex-actions{margin-top:24px}
html[data-view="workshop"] #header nav button{white-space:nowrap}
@media(max-width:1100px){.ex-hub .ex-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ex-hub .ex-settings .ex-reward-note{margin-left:0}.ex-hub .ex-mode{min-height:330px}.ex-hub .ex-mode p{min-height:48px}}
@media(max-width:700px){.ex-hub .ex-hero{padding:24px;min-height:0}.ex-welcome-art{flex-basis:90px}.ex-welcome-art img{width:60px;height:60px}.ex-welcome-art>span{font-size:14px}.ex-welcome-art small{display:none}.ex-hub .ex-hero h1{font-size:28px}.ex-hub .ex-settings{gap:16px}.ex-hub .ex-mode{padding:18px}.ex-hub .ex-mode h2{font-size:21px}}
@media(max-width:540px){.ex-hub{margin-top:12px}.ex-hub .ex-hero{padding:22px;gap:12px}.ex-hub .ex-hero h1{font-size:27px}.ex-hub .ex-hero p{font-size:14px}.ex-welcome-art{display:none}.ex-hub .ex-settings{grid-template-columns:1fr;gap:16px}.ex-hub .ex-settings .ex-field:nth-child(2){max-width:none}.ex-hub .ex-mode-grid{grid-template-columns:1fr;gap:16px}.ex-hub .ex-mode{display:grid;grid-template-columns:94px minmax(0,1fr);gap:8px 14px;min-height:0;padding:18px}.ex-hub .ex-mode .ex-art{width:94px;height:94px;grid-row:1/4;grid-column:1;margin:auto}.ex-hub .ex-mode small,.ex-hub .ex-mode h2,.ex-hub .ex-mode p{grid-column:2}.ex-hub .ex-mode p{min-height:0;font-size:13px}.ex-hub .ex-mode>button,.ex-hub .ex-join{grid-column:1/-1;margin-top:8px}.ex-hub .ex-mode h2{font-size:21px}.ex-hub .ex-section{padding:18px}.ex-daily{display:grid;grid-template-columns:1fr}.ex-daily button{min-width:0}.ex-heading h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){.ex-hub button:active{transform:none}}
.ex-illustration{clip-path:inset(4%)}.ex-hub .ex-mode .ex-join-error{color:#8d382f;font-size:13px;margin:12px 0 0;min-height:0}
.ex-hub-nav{position:sticky;top:0;z-index:12;display:flex;align-items:center;gap:16px;margin:0 0 16px;padding:calc(8px + env(safe-area-inset-top,0px)) 0 12px;background:#f8f6ed;border-bottom:1px solid #dde3cd}.ex-hub-nav>span{font-size:14px;color:#607254}.ex-hub-nav button{min-height:44px;padding:10px 16px;font-size:14px}.ex-hub{scroll-padding-top:84px}.ex-hub :is(button,input,summary,select){scroll-margin-top:90px}
@media(max-width:1100px){html[data-client="desktop"][data-view="workshop"] #header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 16px}html[data-client="desktop"][data-view="workshop"] #header nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:100%}html[data-client="desktop"][data-view="workshop"] #header nav button{padding:12px 4px;font-size:14px}}
@media(max-width:700px){html[data-client="desktop"][data-view="workshop"] #header{grid-template-columns:minmax(0,1fr)}html[data-client="desktop"][data-view="workshop"] #header .wallet{justify-self:end;grid-row:2}html[data-client="desktop"][data-view="workshop"] #header nav{grid-row:3}}
/* Focused activity layout. Hub keeps the normal site navigation. */
.ex-stock,.ex-order-panel{border:1px solid #d4d9c1;border-radius:18px;padding:14px;background:#fffdf2;min-width:0}.ex-stock{display:flex;flex-direction:column;gap:12px}.ex-stock>h2{font-size:20px;line-height:1.5;margin:0}.ex-stock>.ex-shelf{flex:1;grid-auto-rows:1fr}.ex-shop-content .ex-orders article{border:0;padding:0;background:transparent}.ex-order-panel{display:flex;flex-direction:column}.ex-order-panel .ex-orders{flex:1}.ex-order-panel .ex-orders article{align-content:space-between}.ex-shop-content{align-items:stretch}
.ex-shop-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.ex-shop-content .ex-shelf{grid-template-columns:1fr;gap:12px}.ex-shop-content .ex-shelf article{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:8px 12px;padding:12px}.ex-product{display:flex;gap:10px;align-items:center;min-width:0}.ex-product .ex-goods{font-size:28px}.ex-product h3{margin:0 0 4px}.ex-product p{font-size:13px;margin:0}.ex-shop-content .ex-field{margin:0;font-size:13px;gap:4px}.ex-shop-content input{padding:8px;min-height:44px}.ex-shop-content .ex-actions{grid-column:1/-1;margin:0;gap:8px}.ex-shop-content .ex-actions button{flex:1;padding:8px;min-height:44px}.ex-order-panel{min-width:0}.ex-order-heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:12px}.ex-order-heading h2{font-size:20px;margin:0}.ex-order-heading>span{font-size:12px;color:#627352}.ex-order-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.ex-order-tabs button{font-size:12px;padding:8px 10px;min-height:40px}.ex-order-tabs button[aria-pressed=true]{background:#dfebce;border-color:#8eaa76}.ex-shop-content .ex-orders article{display:grid;gap:12px;padding:16px;background:#fffdf2}.ex-shopping-list{list-style:none;padding:0;margin:12px 0;display:grid;gap:8px}.ex-shopping-list li{display:flex;gap:12px;justify-content:space-between;font-size:15px}.ex-order-answer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}.ex-order-answer button{font-size:14px;padding:10px 12px}.ex-shop-help{font-size:13px;margin:12px 0}.ex-play .ex-board:has(.ex-shop-content){padding:16px}.ex-play .ex-board:has(.ex-shop-content) .ex-ledger span{padding:10px 12px}.ex-play .ex-board:has(.ex-shop-content) .ex-ledger b{font-size:22px;margin-top:4px}
@media(max-width:679px){.ex-shop-content{grid-template-columns:1fr}.ex-shop-content .ex-shelf{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ex-shop-content .ex-shelf article{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:10px}.ex-product{display:block}.ex-product .ex-goods{font-size:24px}.ex-product h3{font-size:16px;margin:4px 0}.ex-product p{font-size:12px}.ex-shop-content .ex-actions{display:grid;grid-template-columns:1fr;width:100%}.ex-order-answer{grid-template-columns:1fr auto}}
html[data-view="workshop"][data-expedition-screen="play"] #header{display:none!important}
html[data-view="workshop"][data-expedition-screen="play"] #game{padding:12px 20px 24px;max-width:1320px;width:100%}
.ex-play{max-width:1240px;margin:0 auto;padding:0 0 24px}.ex-play-top{position:sticky;top:0;z-index:12;background:#f8f6ed;padding:calc(8px + env(safe-area-inset-top,0px)) 0 12px;border-bottom:1px solid #dde3cd;gap:12px;margin-bottom:16px}.ex-play-top>.task-top{margin:0;gap:8px}.ex-play-top>span{font-size:13px}.ex-play .ex-hero{padding:20px 24px;gap:16px;border-radius:20px;margin-bottom:16px}.ex-play .ex-hero h1{font-size:28px;margin:6px 0;line-height:1.35}.ex-play .ex-hero p{font-size:14px;margin:6px 0}.ex-play .ex-kicker{display:none}.ex-play .ex-hero-art{flex:0 0 76px;width:76px;height:76px}.ex-play-layout{grid-template-columns:minmax(0,1fr) 240px;gap:20px;align-items:start}.ex-play .ex-board{grid-column:1;grid-row:1}.ex-play .ex-guide{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;padding:20px;position:sticky;top:100px}.ex-play .ex-buddy{display:block!important;width:96px;height:96px;min-width:96px;min-height:96px;max-width:96px;max-height:96px;aspect-ratio:1;flex:none;border-radius:20px;background-size:400% 200%;background-position:0 0}.ex-guide-copy{min-width:0}.ex-play .ex-guide h2{font-size:17px;line-height:1.5;margin:0 0 6px}.ex-play .ex-guide p{flex:none;min-width:0;font-size:13px;line-height:1.7}.ex-play .ex-guide>button{width:100%;font-size:14px}.ex-play .ex-guide-save{font-size:12px;color:#667453}.ex-play :is(button,input,summary){scroll-margin-top:130px}
@media(max-width:1000px){.ex-play-layout{grid-template-columns:minmax(0,1fr);gap:16px}.ex-play .ex-board{grid-column:1;grid-row:2}.ex-play .ex-guide{grid-column:1;grid-row:1;position:static;display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px 16px;align-items:center;text-align:left;padding:16px}.ex-play .ex-buddy{width:72px;height:72px;min-width:72px;min-height:72px;max-width:72px;max-height:72px;grid-column:1;grid-row:1/3;justify-self:center}.ex-play .ex-guide-copy{grid-column:2;grid-row:1}.ex-play .ex-guide>button[data-ex="hint"],.ex-play .ex-guide>button[data-ex="open"]{grid-column:3;grid-row:1}.ex-play .ex-guide-save{grid-column:2;grid-row:2}.ex-play .ex-guide>button[data-ex="archive"]{grid-column:3;grid-row:2;background:transparent;box-shadow:none;font-size:12px}.ex-play .ex-guide>button{width:auto}.ex-play .ex-guide h2{font-size:16px}}
@media(max-width:540px){html[data-view="workshop"][data-expedition-screen="play"] #game{padding:8px 12px 20px}.ex-play-top{gap:10px;display:grid;grid-template-columns:auto minmax(0,1fr)}.ex-play-top>span{text-align:right;font-size:12px}.ex-play-top>.task-top{grid-column:1/-1;justify-content:flex-end;flex-wrap:wrap}.ex-play .ex-hero{padding:16px;gap:12px}.ex-play .ex-hero h1{font-size:25px}.ex-play .ex-hero-art{flex-basis:60px;width:60px;height:60px}.ex-play .ex-guide{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:14px}.ex-play .ex-buddy{width:64px;height:64px;min-width:64px;min-height:64px;max-width:64px;max-height:64px;grid-row:1}.ex-play .ex-guide-copy{grid-column:2;grid-row:1}.ex-play .ex-guide-save{display:none}.ex-play .ex-guide>button[data-ex="hint"],.ex-play .ex-guide>button[data-ex="open"]{grid-column:1/-1;grid-row:2}.ex-play .ex-guide>button[data-ex="archive"]{grid-column:1/-1;grid-row:3;min-height:40px}.ex-play .ex-guide h2{font-size:15px}}
@media(min-width:680px) and (max-width:1200px){
 html[data-view="workshop"][data-expedition-screen="play"] #game{padding:8px 16px 16px}
 .ex-play-top{padding:8px 0 10px;margin-bottom:12px;gap:10px}.ex-play-top button{padding:8px 12px;min-height:44px}.ex-play-top>.task-top{min-width:0;flex-wrap:wrap}
 .ex-play .ex-hero{padding:12px 18px;margin-bottom:12px;gap:12px}.ex-play .ex-hero h1{font-size:24px;margin:0 0 4px}.ex-play .ex-hero p{font-size:13px;margin:0}.ex-play .ex-hero-art{width:54px;height:54px;flex-basis:54px}
 .ex-play-layout{grid-template-columns:minmax(0,1fr);gap:12px}.ex-play .ex-board{grid-column:1;grid-row:2}.ex-play .ex-guide{grid-column:1;grid-row:1;position:static;display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:8px 12px;padding:12px;text-align:left}.ex-play .ex-buddy{width:60px;height:60px;min-width:60px;min-height:60px;max-width:60px;max-height:60px;grid-column:1;grid-row:1/3}.ex-play .ex-guide-copy{grid-column:2;grid-row:1/3}.ex-play .ex-guide-copy h2{font-size:15px;margin-bottom:4px}.ex-play .ex-guide-copy p{font-size:13px}.ex-play .ex-guide-save{display:none}.ex-play .ex-guide>button{width:auto;min-height:40px;padding:8px 12px}.ex-play .ex-guide>button[data-ex=hint],.ex-play .ex-guide>button[data-ex=open]{grid-column:3;grid-row:1}.ex-play .ex-guide>button[data-ex=archive]{grid-column:3;grid-row:2;font-size:12px;background:transparent}
 .ex-play .ex-feedback{margin-top:12px;min-height:44px;padding:10px 12px;font-size:13px}.ex-play .ex-board{padding:16px}.ex-play .ex-success{padding:12px;margin-top:12px}.ex-play .ex-success h2{font-size:20px}.ex-play .ex-success img{width:40px;height:50px}
 .ex-shop-content .ex-shelf{align-content:start}.ex-shop-content .ex-shelf article{grid-template-columns:minmax(0,1fr) 52px auto;align-items:center;gap:8px;padding:12px}.ex-shop-content .ex-shelf .ex-actions{grid-column:3;flex-wrap:nowrap;gap:8px}.ex-shop-content .ex-shelf .ex-actions button{flex:none;padding:8px;min-width:44px}.ex-shop-content .ex-product{gap:8px}.ex-shop-content .ex-product h3{font-size:16px}.ex-shop-content .ex-product .ex-goods{font-size:24px}.ex-shop-content .ex-product p{font-size:12px}.ex-shop-content .ex-field input{width:100%}
}
/* A frame is 384 x 512, not square. Contain that 3:4 frame inside the fixed avatar slot. */
.ex-play .ex-buddy{position:relative;background:none;overflow:hidden;border-radius:14px}
.ex-play .ex-buddy::before{content:"";position:absolute;inset:0 auto 0 12.5%;width:75%;height:100%;background:url('/assets/companions/2d/fox-expressions.webp') 0 0 / 400% 200% no-repeat}
@media(min-width:680px) and (max-width:1200px){.ex-stock,.ex-order-panel{padding:12px}.ex-shop-content .ex-shelf article{padding:10px;gap:8px;grid-template-columns:minmax(0,1fr) 46px auto}.ex-shop-content .ex-product{gap:6px}.ex-shop-content .ex-product .ex-goods{display:none}.ex-shop-content .ex-product p{line-height:1.6}.ex-stock>.ex-shelf{align-content:stretch}}
/* Match the existing task companion: white sprite paper blends into the guide panel. */
.ex-play .ex-buddy{mix-blend-mode:multiply;border-radius:0}
/* Align controls to the input itself, excluding its label above. */
@media(min-width:680px) and (max-width:1200px){.ex-shop-content .ex-shelf article{align-items:end}.ex-shop-content .ex-shelf .ex-product{align-self:center}.ex-shop-content .ex-shelf .ex-actions{align-self:end}.ex-shop-content .ex-shelf :is(input,button){height:44px;min-height:44px;box-sizing:border-box}}
.ex-shop-content .ex-order-answer :is(input,button){height:46px;min-height:46px;box-sizing:border-box}
.ex-next-round{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:16px;border:1px solid #d3d9bd;border-radius:18px;background:#eef2df}.ex-next-round>div{min-width:0}.ex-next-round strong{font-size:17px}.ex-next-round p{font-size:13px;line-height:1.6;margin:8px 0 0}.ex-next-round button{flex:none;min-height:46px}.ex-next-round+*{margin-top:16px}@media(max-width:540px){.ex-next-round{flex-direction:column;align-items:stretch;gap:12px}.ex-next-round button{width:100%}}
