.trial-notice{position:fixed;z-index:10001;bottom:0;left:0;right:0;height:25px;background:#fff5cf;color:#594b20;text-align:center;font:12px/25px sans-serif}.trial-notice a{margin-left:18px;color:#1358a9}
#trial-layer{position:fixed;inset:0 0 25px;z-index:10000;display:flex;align-items:center;justify-content:center;background:#eaf5fc;overflow:hidden}#trial-layer[hidden]{display:none!important}.trial-faithful{overflow:hidden!important}.trial-faithful #app,.trial-faithful #isl-side,.trial-faithful #isl-welcome-bg,.trial-faithful #isl-peng-deco{visibility:hidden!important}
.trial-frame{position:relative;width:min(100vw,calc((100dvh - 25px) * 1672 / 941));aspect-ratio:1672/941;flex:none;container-type:inline-size}.trial-art{width:100%;height:100%;display:block;pointer-events:none;user-select:none}.trial-hit{position:absolute;background:transparent;border:0;border-radius:22px;margin:0;padding:0;cursor:pointer;color:transparent;touch-action:manipulation}.trial-hit:hover{background:#ffffff0c}.trial-hit:focus-visible{outline:4px solid #eea900;outline-offset:-4px;background:#ffffff18}.trial-selected{box-shadow:inset 0 0 0 3px #1768b3;background:#ffffff4d}.trial-task{background:#f5fdff;color:#1451a5;border-radius:999px;font-size:clamp(10px,1.9cqw,31px);font-weight:800;white-space:nowrap}.trial-name{position:absolute;left:32%;top:69%;width:36%;height:8%;display:flex;align-items:center;justify-content:center;background:#fff0d0;color:#1261c2;font-size:2.6cqw;font-weight:800}.trial-a #parent:not([hidden]){z-index:20000!important}
.trial-hit[data-topic=fun]{clip-path:polygon(55% 0,100% 0,100% 100%,0 100%,0 60%,55% 60%)}
.wear-room{width:100%;height:100%;overflow:auto;background:#fffaf0;color:#24456b;padding:22px clamp(15px,4vw,65px);box-sizing:border-box;font-family:'Baloo 2',sans-serif}.wear-room header{display:flex;align-items:center;justify-content:space-between;gap:15px}.wear-room h1{margin:0;color:#1456ae;font-size:32px}.wear-room p{margin:3px 0}.wear-room header button{background:white;color:#2a5789;border:2px solid #d4e3ec;border-radius:20px;padding:10px 18px;font-size:16px;cursor:pointer}.wear-room nav{display:flex;gap:10px;margin:20px auto;max-width:950px}.wear-room nav button{flex:1;border:2px solid #dce5e9;border-radius:18px;padding:9px 4px;background:white;color:#24456b;font-size:18px;cursor:pointer}.wear-room small{display:block;font-size:13px}.wear-room button[aria-pressed=true]{border-color:#1874da;background:#e7f4ff;box-shadow:0 0 0 2px #1874da22}.wear-room main{display:grid;grid-template-columns:1fr 1fr;gap:45px;max-width:1000px;margin:auto;align-items:center}.wear-stage{text-align:center;background:#eaf7fa;border-radius:36px;min-height:480px;padding:10px 20px}.wear-figure{display:block;background-image:var(--sheet);background-size:600% 100%;background-position:calc(var(--i)*20%) center;background-repeat:no-repeat;aspect-ratio:1/2;width:80px;flex:none;clip-path:inset(0 3%)}.wear-large{width:210px;height:420px;margin:0 auto}.wear-stage h2{margin:-5px 0 0;font-size:28px}.wear-stage p{color:#3b775a}.wear-options h2{margin:0 0 12px;font-size:23px}.wear-options>button[data-suit]{display:flex;align-items:center;width:100%;gap:20px;background:white;border:2px solid #dce5e9;border-radius:22px;padding:8px 20px;margin:10px 0;text-align:left;cursor:pointer}.wear-options .wear-figure{width:55px;height:100px}.wear-options b{font-size:22px}.wear-options small{color:#617083;font-size:14px}#wear-apply{width:100%;margin-top:12px;padding:16px;background:#096ce0;color:white;font-size:23px;font-weight:800;border:0;border-radius:22px;cursor:pointer}.wear-note{font-size:13px;color:#677988;text-align:center;padding:8px}.wear-room button:focus-visible{outline:4px solid #f2bb36;outline-offset:3px}.wear-overview{max-width:1300px;margin:auto}.wear-overview section>div{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.wear-overview article{text-align:center;background:#f0f6f8;border-radius:22px;padding:5px}.wear-overview .wear-figure{width:100%;max-width:155px;margin:auto}.wear-overview h2{font-size:23px;color:#1e5ca5;margin:15px 0 5px}.wear-overview b{font-size:18px}@media(max-width:700px){.wear-room main{gap:12px}.wear-room{padding:12px}.wear-room h1{font-size:23px}.wear-room header button{font-size:12px;padding:7px}.wear-room nav{gap:4px;margin:12px 0}.wear-room nav button{font-size:13px}.wear-large{width:150px;height:300px}.wear-stage{padding:5px;min-height:360px}.wear-options>button[data-suit]{padding:6px;gap:5px}.wear-options b{font-size:16px}.wear-options small{font-size:11px}.wear-options .wear-figure{height:70px;width:38px}.wear-overview section>div{grid-template-columns:repeat(3,1fr)}}
/* Preserve artwork proportions at every window size. */
.trial-frame{width:min(100vw,calc((100dvh - 25px)*1672/941));height:auto;aspect-ratio:1672/941}

/* Shared full-size native sidebar/header; the map illustration remains proportional. */
.trial-responsive-home #isl-side{visibility:visible!important;z-index:10002}
.trial-responsive-home #trial-layer{left:140px;display:block;overflow:auto;background:#ebf2fc}
.trial-home-layout{min-height:100%;box-sizing:border-box;padding:24px 20px 32px;font-family:'PingFang TC','Noto Sans TC',sans-serif;color:#1f3a68}
.trial-home-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.trial-home-header small{font-size:20px;font-weight:800;color:#1565c0}
.trial-home-header h1{font-size:clamp(40px,6vw,64px);line-height:1.18;margin:8px 0 10px;color:#1565c0}
.trial-home-header p{font-size:18px;font-weight:700;margin:0}
.trial-home-controls{display:flex;align-items:center;gap:5px;background:white;border-radius:30px;padding:8px;box-shadow:0 5px 15px #123a6b0a}
.trial-home-controls button{font:700 16px 'PingFang TC',sans-serif;border:0;border-radius:24px;background:white;color:#1565c0;padding:12px 10px;cursor:pointer;min-height:44px}
.trial-home-controls button[aria-pressed=true]{background:#ffc23d;color:#123a6b}
.trial-map-stage{position:relative;width:100%;aspect-ratio:1492/771;container-type:inline-size;border-radius:26px;overflow:hidden;background:#a3e4f5}
.trial-map-art{width:100%;height:100%;display:block}
@media(max-width:700px){.trial-responsive-home #trial-layer{left:0;bottom:103px}.trial-responsive-home #isl-side{z-index:10002}.trial-home-layout{padding:16px 12px}.trial-home-header h1{font-size:40px}.trial-home-controls button{padding:8px;font-size:14px}}
/* Hide the old subtitle embedded at the top-left of the artwork crop. */
.trial-map-stage:before{content:"";position:absolute;z-index:1;top:0;left:0;width:40%;height:5%;background:linear-gradient(110deg,#d0f0ff,#c8efff);pointer-events:none}

/* Extend the beach beyond the proportional welcome artwork. */
#trial-layer.trial-welcome-fill{background:linear-gradient(to bottom,#a6e3f9 0%,#b8eaff 40%,#fff0d3 60%,#fff0d3 100%)}
.trial-welcome-fill .trial-frame{z-index:1}
#trial-layer.trial-welcome-fill::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 110px 24px at 15% 7%,#ffffff6b 0 65%,transparent 68%),radial-gradient(ellipse 80px 19px at 82% 10%,#ffffff55 0 65%,transparent 68%)}
#trial-layer.trial-welcome-fill::after{content:"";position:absolute;bottom:-32px;left:-5%;width:110%;height:clamp(30px,7vh,85px);border-radius:50% 50% 0 0;background:#f7e3b8;opacity:.45;pointer-events:none}
/* Illustrated extension, matching the approved character scene. */
#trial-layer.trial-welcome-fill{background:#a8e2f6 url('assets/welcome-backdrop-v2.png') center/100% 100% no-repeat}
#trial-layer.trial-welcome-fill::before,#trial-layer.trial-welcome-fill::after{display:none}
/* The map art includes an old progress label underneath this live label. */
.trial-task,.trial-task:hover,.trial-task:active,.trial-task:focus-visible{background:#f5fdff!important;color:#1451a5!important;transform:none!important;opacity:1!important;text-shadow:none!important;box-shadow:none;transition:outline-color .15s}
.trial-task:hover{outline:2px solid #8bc8ef;outline-offset:-2px}
#trial-layer .trial-task{isolation:isolate;z-index:4;overflow:visible}
#trial-layer .trial-task::before{content:"";position:absolute;inset:-2px;background:#f5fdff;border-radius:999px;z-index:-1;pointer-events:none}

.trial-hit.trial-language{color:#1565c0;background:#e3f5fc;font:700 clamp(10px,1.15cqw,20px) "PingFang TC",sans-serif;border-radius:999px}.trial-hit.trial-language[aria-pressed=true]{background:#ffc23d;color:#123a6b}
