.lang-switch{display:flex;overflow:hidden;border:1px solid #afa5eb77;border-radius:999px;background:#ffffff12}.lang-switch button{min-width:40px;height:34px;padding:0 10px;border:0;color:#d6d0f5;background:transparent;cursor:pointer;font-size:.78rem;font-weight:900;letter-spacing:.05em}.lang-switch button[aria-pressed=true]{color:#231146;background:linear-gradient(135deg,#ffed9c,#ffbd7b)}.game-dialog{width:min(360px,calc(100vw - 36px));border:1px solid #c0b3ff;border-radius:24px;padding:30px;color:#f9f6ff;text-align:center;background:linear-gradient(145deg,#322064,#191443);box-shadow:0 20px 70px #030218cc}.game-dialog::backdrop{background:#07051ba8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.game-dialog h2{margin:4px 0 10px}.game-dialog p{color:#ddd6ff;line-height:1.45}.dialog-star{color:#ffdf8a;font-size:2rem;text-shadow:0 0 18px #ffe990}.best-line{font-size:.88rem}.primary-button{width:100%;border:0;border-radius:13px;padding:12px;color:#231146;background:linear-gradient(135deg,#ffed9c,#ffbd7b);cursor:pointer;font-weight:900;font-size:1rem;box-shadow:0 3px 10px #05021b99}.progress-dialog{width:min(560px,calc(100vw - 28px));text-align:left}.progress-dialog .primary-button{margin:4px 0 10px}.progress-status{min-height:1.45em;margin:6px 0 12px;font-size:.88rem}.progress-warning{padding:8px 10px;border-left:4px solid #d98a1f;border-radius:6px;background:#d98a1f1f;font-weight:700}.progress-file{display:block;margin:8px 0 12px;padding:12px;border:1px dashed #c0b3ff99;border-radius:13px;color:#fff6c9;font-weight:900;text-align:center;cursor:pointer}.progress-file input{display:block;max-width:100%;margin:8px auto 0;color:#ddd6ff;font:inherit;font-size:.8rem}.progress-confirm{margin:10px 0;padding:4px 14px 10px;border-radius:13px;background:#ffffff10}.progress-confirm p{font-size:.88rem}.progress-close{width:100%;border:0;padding:10px;color:#f7f2ff;background:transparent;cursor:pointer;font:inherit;font-weight:800}.progress-views{display:flex;gap:4px;margin:0 0 14px;padding:4px;border:1px solid #afa5eb55;border-radius:999px;background:#ffffff0d}.progress-views button{flex:1;min-height:36px;border:0;border-radius:999px;color:#d6d0f5;background:transparent;cursor:pointer;font:inherit;font-size:.9rem;font-weight:900}.progress-views button[aria-pressed=true]{color:#231146;background:linear-gradient(135deg,#ffed9c,#ffbd7b)}.parent-report{font-size:.9rem}.parent-report .report-intro{margin:0 0 12px;font-size:.86rem}.report-game{margin:0 0 14px;padding:12px 14px;border-radius:14px;background:#ffffff0d}.report-card{margin-bottom:6px;padding:0}.report-card>summary{padding:8px 12px;cursor:pointer;color:#fff6c9;line-height:1.3}.report-card>summary:focus-visible{outline:2px solid #fff6c9;outline-offset:2px;border-radius:14px}.report-game-title{font-weight:900}.report-overview{display:block;margin:3px 0 0 1.1em;color:#c9c1f0;font-size:.78rem}.report-content{padding:4px 12px 12px}.report-records{width:100%;border-collapse:collapse;font-size:.78rem;line-height:1.35}.report-records th,.report-records td{padding:7px 5px;border-bottom:1px solid #ffffff1c;text-align:left;vertical-align:top}.report-records thead th{color:#c9c1f0;font-weight:600}.report-records tbody th{font-weight:600}.report-game h3{margin:0 0 2px;color:#fff6c9;font-size:1.02rem}.report-game h4{margin:0 0 2px;color:#fff6c9;font-size:.92rem}.parent-report p.report-scope{margin:0 0 8px;color:#bfb6ea;font-size:.8rem;line-height:1.35}.parent-report p.report-line{margin:6px 0}.report-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin:0}.report-stats div{padding:7px 9px;border-radius:10px;background:#ffffff0f}.report-stats dt{color:#c9c1f0;font-size:.74rem;line-height:1.25}.report-stats dd{margin:2px 0 0;color:#fffaf0;font-size:1rem;font-weight:900}.report-situations{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.report-situations .report-stats{grid-template-columns:1fr}.report-situations .report-stats div{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.report-situations .report-stats dd{flex:none;margin:0;font-size:.92rem}.report-revisit{margin:10px 0 4px;color:#f2edff;line-height:1.7}.report-revisit p{margin:0}.report-chip{display:inline-block;padding:0 8px;border:1px dashed #ffe3a0;border-radius:999px;color:#fff6c9;font-weight:800;white-space:nowrap;line-height:1.5}.parent-report p.report-note{margin:6px 0 0;color:#bfb6ea;font-size:.78rem;line-height:1.4}.report-details{margin-top:10px}.report-details summary{cursor:pointer;color:#fff6c9;font-weight:900;padding:4px 0}.report-grid-wrap{overflow-x:auto;margin:8px 0}.report-grid{border-collapse:separate;border-spacing:3px;margin:0 auto;font-size:.78rem}.report-grid caption{margin-bottom:2px;color:#ddd6ff;font-size:.8rem;font-weight:800;text-align:left}.report-grid th{min-width:22px;color:#bfb6ea;font-weight:800}.report-grid th[scope=row]{padding-right:4px;text-align:right;white-space:nowrap}.report-cell{width:30px;height:28px;border:1px solid #ffffff1c;border-radius:7px;text-align:center;color:#c9c1f0;font-weight:800}.report-cell.is-started,.report-swatch.is-started{border-color:#7fe0c080;background:#7fe0c040;color:#f2fffa}.report-cell.is-going-well,.report-cell.is-independent,.report-swatch.is-going-well,.report-swatch.is-independent{border-color:#7fe0c0;background:#7fe0c099;color:#14213a}.report-cell.is-revisit,.report-cell.is-demonstrated,.report-swatch.is-revisit,.report-swatch.is-demonstrated{border:2px dashed #ffe3a0;background:#ffed9c1f;color:#fff6c9}.report-legend{display:flex;flex-wrap:wrap;gap:4px 14px;margin:4px 0 0;padding:0;list-style:none;font-size:.76rem;color:#ddd6ff}.report-legend li{display:inline-flex;align-items:center;gap:6px}.report-swatch{display:inline-block;width:14px;height:14px;border:1px solid #ffffff33;border-radius:4px}@media(max-width:480px){.progress-dialog{padding:22px 14px}.report-game{padding:10px}.report-card{padding:0}.report-grid{border-spacing:2px}.report-cell{width:27px;height:26px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.treasure-button{height:38px;padding:0 14px;border:1px solid #ffdf8a99;border-radius:999px;color:#fff6c9;background:#ffffff12;cursor:pointer;font-weight:900;font-size:.85rem;white-space:nowrap}.treasure-button:hover{background:#fff2}.treasure-badge{margin-left:4px;padding:2px 7px;border-radius:999px;color:#231146;background:linear-gradient(135deg,#ffed9c,#ffbd7b);font-size:.75rem}.treasure-dialog{width:min(560px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;padding:22px 18px}.treasure-count{margin:0 0 8px;font-weight:900}.treasure-next{margin:6px 0 12px;font-size:.88rem}.treasure-progress{height:10px;overflow:hidden;border-radius:999px;background:#ffffff1f}.treasure-progress span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#7fe0c0,#ffed9c);transition:width .4s}.treasure-grid{margin:0 0 12px;padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.treasure-card{padding:10px 6px;display:flex;flex-direction:column;align-items:center;gap:4px;border:1px solid #c0b3ff55;border-radius:16px;background:#ffffff14;font-size:.8rem;line-height:1.2}.treasure-card span{color:#c4c4e8;font-size:.72rem}.treasure-art{width:64px;height:64px;flex:none}.treasure-art svg{width:100%;height:100%;display:block;filter:drop-shadow(0 0 8px #ffe99055)}.treasure-card.is-locked{background:#ffffff08;border-style:dashed}.treasure-card.is-locked .treasure-art svg{filter:brightness(0) invert(1);opacity:.16}.treasure-note{margin:0 0 14px;color:#c7bee9;font-size:.75rem}.treasure-filter{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:0 0 12px}.treasure-filter-button{min-height:40px;padding:0 14px;border:1px solid #c0b3ff77;border-radius:999px;color:#f8f5ff;background:#ffffff12;cursor:pointer;font:inherit;font-size:.85rem;font-weight:800}.treasure-filter-button[aria-pressed=true]{border-color:transparent;color:#231146;background:linear-gradient(135deg,#ffed9c,#ffbd7b)}.treasure-filter-button:focus-visible{outline:3px solid #fff;outline-offset:2px}@media(max-width:480px){.treasure-grid{grid-template-columns:repeat(2,1fr)}.treasure-art{width:56px;height:56px}}.treasure-button svg{width:18px;height:18px;margin-right:2px;vertical-align:-4px}.shop-dialog{width:min(720px,calc(100vw - 24px))}.shop-dialog[open]{display:flex;flex-direction:column;overflow:hidden}.shop-dialog>*{flex:none}.shop-dialog>.shop-grid{flex:0 1 auto;min-height:120px;overflow-y:auto;overscroll-behavior:contain;margin-inline:-6px;padding:6px}.shop-dialog>h2{margin-bottom:4px}.shop-purse{margin:0 0 12px;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff6c9;font-weight:900;font-variant-numeric:tabular-nums}.shop-purse svg{width:24px;height:24px;flex:none}.shop-status{min-height:1.3em;margin:0 0 10px;color:#fff6c9;font-size:.88rem;font-weight:700}.shop-status:empty{min-height:0;margin:0}.shop-grid{grid-template-columns:repeat(auto-fill,minmax(124px,1fr))}.shop-card{justify-content:flex-start;text-align:center}.shop-card strong{min-height:2.4em;display:flex;align-items:center;overflow-wrap:anywhere;-webkit-hyphens:manual;hyphens:manual}.shop-card:focus-visible{outline:3px solid #fff;outline-offset:2px}.shop-card.is-owned{border-color:#a8ecc955;background:#a8ecc914}.treasure-card .shop-price{color:#ffe9a8;font-size:.92rem;font-weight:900;font-variant-numeric:tabular-nums}.treasure-card .shop-state,.treasure-card .shop-where{min-height:40px;display:flex;align-items:center;justify-content:center;gap:4px;color:#d6cff2;font-size:.76rem;line-height:1.25}.treasure-card .shop-state.is-owned{color:#a8ecc9;font-weight:800}.treasure-card .shop-where{min-height:0;margin-top:auto;padding-top:2px}.shop-action{width:100%;min-height:40px;margin-top:auto;padding:4px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:0;border-radius:999px;color:#231146;background:linear-gradient(135deg,#ffed9c,#ffbd7b);cursor:pointer;font:inherit;font-size:.85rem;font-weight:900;line-height:1.1}.shop-action.is-sell{border:1px solid #c0b3ff77;color:#f8f5ff;background:#ffffff12}.shop-action small{font-size:.72rem;font-weight:800;font-variant-numeric:tabular-nums;opacity:.85}.shop-action:hover{filter:brightness(1.06)}.shop-action.is-sell:hover{background:#fff2}.shop-action:focus-visible{outline:3px solid #fff;outline-offset:2px}@media(max-width:480px){.shop-dialog{padding:18px 12px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.treasure-tabs{display:flex;gap:6px;margin:0 0 14px;padding:4px;border-radius:999px;background:#ffffff14}.treasure-tabs button{flex:1;min-height:44px;border:0;border-radius:999px;color:#f8f5ff;background:transparent;cursor:pointer;font:inherit;font-weight:900}.treasure-tabs button[aria-pressed=true]{color:#231146;background:linear-gradient(135deg,#ffed9c,#ffbd7b)}.treasure-tabs button:focus-visible,.island-chip:focus-visible,.island-remove:focus-visible,.friend-card:focus-visible,.treasure-dialog .iw-back:focus-visible,#treasure-close:focus-visible{outline:3px solid #fff;outline-offset:2px}.treasure-dialog.is-island{--panel: 232px;--gap: 14px;--chrome: 160px;--stage-h: min(calc(100vh - var(--chrome)), calc((100vw - 58px - var(--panel) - var(--gap)) / 1.6));--stage-h: min(calc(100dvh - var(--chrome)), calc((100vw - 58px - var(--panel) - var(--gap)) / 1.6));--stage-w: calc(var(--stage-h) * 1.6);width:fit-content;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);padding:10px 14px 14px}.treasure-dialog.is-island[open]{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"tabs close" "body body";align-content:start;gap:8px 12px;align-items:center;text-align:left}.treasure-dialog.is-island>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.treasure-dialog.is-island .treasure-tabs{grid-area:tabs;width:min(100%,420px);margin:0}.treasure-dialog.is-island #treasure-close{grid-area:close;width:auto;min-height:44px;padding:10px 22px}.treasure-dialog.is-island #view-island{grid-area:body}.island-world{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:8px;min-width:0}.island-world[hidden]{display:none}.iw-bar{min-height:48px;display:flex;align-items:center;gap:12px}.iw-where{min-width:0}.iw-where h3{margin:0;font-size:1.15rem;line-height:1.2}.iw-where p{margin:0;color:#e4dcff;font-size:.85rem;line-height:1.3}.iw-work{display:flex;align-items:flex-start;gap:var(--gap)}.island-world .iw-stage{flex:none;width:var(--stage-w);height:var(--stage-h);border-radius:22px}.iw-panel{min-width:0;width:var(--panel);max-height:var(--stage-h);overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:2px}.island-help{min-height:2.6em;margin:0;font-weight:800;font-size:.92rem;line-height:1.35}.island-tray{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.island-tray[hidden]{display:none}.island-chip{position:relative;min-height:44px;padding:6px 4px 7px;display:flex;flex-direction:column;align-items:center;gap:1px;border:1px solid #c0b3ff55;border-radius:16px;color:inherit;background:#ffffff14;cursor:pointer;font:inherit;font-size:.74rem;font-weight:800;line-height:1.15;text-align:center;-webkit-tap-highlight-color:transparent}.island-chip .treasure-art{width:44px;height:44px}.island-chip em{color:#a8ecc9;font-size:.66rem;font-style:normal;font-weight:700}.island-chip:hover{background:#fff2}.island-chip.is-selected{border-color:#ffed9c;box-shadow:0 0 0 2px #ffed9c,0 0 14px #ffed9c66;background:#ffffff2a}.island-remove{display:block;width:100%;min-height:44px;border:1px solid #ffdf8a99;border-radius:999px;color:#fff6c9;background:#ffffff12;cursor:pointer;font:inherit;font-weight:900}.island-remove[hidden],.island-friend-box[hidden]{display:none}.friend-now{display:flex;flex-direction:column;align-items:center;gap:8px}.friend-now .friend-art{width:84px;height:84px}.friend-art svg{width:100%;height:100%;display:block;overflow:visible;filter:drop-shadow(0 0 5px #ffe99044)}.m-eyes{transform-box:fill-box;transform-origin:center}.friend-prompt{margin:0 0 8px;text-align:center;font-weight:800;font-size:.9rem}.friend-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.friend-card{min-height:44px;padding:6px 4px;display:flex;flex-direction:column;align-items:center;gap:2px;border:1px solid #c0b3ff55;border-radius:16px;color:inherit;background:#ffffff14;cursor:pointer;font:inherit;font-size:.8rem;font-weight:800}.friend-card.is-current{border-color:#ffed9c;box-shadow:0 0 0 2px #ffed9c}.friend-art{width:64px;height:64px}.iw-panel .friend-picker{grid-template-columns:1fr}.iw-panel .friend-card{flex-direction:row;justify-content:flex-start;gap:10px;padding-inline:10px}.iw-panel .friend-card .friend-art{width:48px;height:48px}@media(orientation:portrait){.treasure-dialog.is-island{--stage-h: min( calc((100vw - 58px)/1.6) , calc(100vh - 400px) );--stage-h: min( calc((100vw - 58px)/1.6) , calc(100dvh - 400px) )}.iw-work{flex-direction:column}.iw-panel{width:100%;max-height:none;overflow:visible}.island-tray{grid-template-columns:repeat(auto-fill,minmax(92px,1fr))}.iw-panel .friend-picker{grid-template-columns:repeat(3,1fr)}.iw-panel .friend-card{flex-direction:column;justify-content:center}.friend-now{flex-direction:row;justify-content:center}.friend-now .friend-art{width:56px;height:56px}.friend-now .island-remove{width:auto;padding-inline:20px}}@media(max-width:700px)and (orientation:portrait){.treasure-dialog.is-island{--stage-h: clamp(280px, calc(100vh - 330px) , 520px);--stage-h: clamp(280px, calc(100dvh - 330px) , 520px);width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:8px 10px 10px;border:0;border-radius:0}.treasure-dialog.is-island #treasure-close{padding-inline:16px}.island-world .iw-stage{width:100%;border-radius:18px}.iw-where h3{font-size:1.02rem}.iw-where p{font-size:.78rem}.island-help{min-height:0;font-size:.86rem}.island-tray{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:2px 2px 6px}.island-chip{flex:0 0 86px;scroll-snap-align:start}}
