.magic-icon{width:38px;height:38px;flex:none;vertical-align:middle;pointer-events:none}.wallet-card{display:flex;align-items:center;gap:20px;max-width:880px;margin:0 auto 28px;padding:24px 30px;background:linear-gradient(115deg,#fff2cc,#fffaf0 65%);border:2px solid #fffdf8;border-radius:26px;box-shadow:0 6px 0 #dcc99d66,0 12px 35px #7b674513}.wallet-art .coin-icon{width:90px;height:90px}.wallet-copy{flex:1}.wallet-copy h2{font-size:36px;margin:4px 0;color:#684b7c}.wallet-copy h2 small{font-size:18px}.wallet-copy p{margin:0 0 7px;font-size:14px}.wallet-copy>small{font-size:11px;color:#8c795e}.wallet-card .pill{min-height:48px;white-space:nowrap}.coin-shop{box-sizing:border-box;width:min(750px,calc(100% - 24px));max-height:90dvh;padding:28px;border:2px solid #fff;border-radius:30px;background:#fffcf3;color:#5d4776;box-shadow:0 12px 0 #81708944,0 25px 80px #243c4840;overflow:auto;text-align:center}.coin-shop::backdrop{background:#304b526b}.coin-shop h2{margin:10px 0;font-size:28px;line-height:1.2}.coin-shop>p{font-size:14px}.coin-close{position:absolute;right:14px;top:14px;width:44px;height:44px;border:1px solid #e6daf1;border-radius:15px;background:#f4edf9;color:#795798;font-size:28px;cursor:pointer}.shop-coin .coin-icon{width:75px;height:75px}.coin-pack-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0 18px}.coin-pack{display:flex;flex-direction:column;align-items:center;gap:9px;min-height:175px;padding:14px 8px;border:2px solid #e8dcf0;background:#fff;border-radius:21px;box-shadow:0 4px 0 #e5d9e8;color:#674d7e;cursor:pointer;font-family:inherit}.coin-pack[aria-pressed=true]{border-color:#9c77db;background:#f3eaff;box-shadow:0 4px 0 #9c77db}.coin-pack .coin-icon{width:50px;height:50px}.coin-pack strong{font-size:16px}.coin-pack>span{font-size:22px;font-weight:800}.coin-pack small{font-size:11px;color:#897094}.coin-selection{font-weight:700}.coin-shop .coin-pay{width:100%;min-height:48px}.coin-payment-note{font-size:12px!important;color:#897a8a;line-height:1.5}.coin-rules{text-align:left;border-top:1px solid #eadff0;margin-top:18px;padding-top:14px;font-size:12px;line-height:1.6}.coin-rules summary{min-height:44px;cursor:pointer;font-size:14px;font-weight:700}.coin-pack:focus-visible,.coin-close:focus-visible,.island-wallet:focus-visible{outline:3px solid #8a63cc;outline-offset:4px}.coin-pack:active{transform:translateY(2px)}.plan-count .coin-icon{width:34px;height:34px;margin-right:8px}.awakening-plan .coin-icon{width:42px;height:42px;margin:auto}.game-toolbar .app-nav-button>.magic-icon{width:34px;height:34px}.island-bottom #toggle-pet>.magic-icon{width:32px;height:32px}
.island-wallet{display:none}body[data-view=island][data-guest-preview=""] .island-wallet{position:absolute;z-index:6;display:flex;align-items:center;gap:5px;right:92px;top:24px;height:52px;min-width:112px;padding:3px 8px 3px 4px;border:2px solid white;border-radius:20px;background:#fff7dd;box-shadow:0 4px 0 #b29a6d66;color:#69502f;cursor:pointer;font:800 20px system-ui}.island-wallet .coin-icon{width:43px;height:43px}.wallet-plus{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:#8060ca;color:white;font-size:22px;margin-left:4px}
.island-wallet>[data-coin-art]{display:flex;align-items:center;justify-content:center;flex:none}.island-wallet strong{line-height:1;min-width:16px;text-align:center;font-variant-numeric:tabular-nums}.island-wallet .wallet-plus{display:flex;align-items:center;justify-content:center;flex:none;align-self:center;line-height:1;padding:0;margin:0 0 0 4px;border:1px solid #ceb5f4;background:linear-gradient(150deg,#a282dd,#7954b9);box-shadow:0 2px 0 #63438c}.wallet-plus svg{display:block;flex:none;width:16px;height:16px}
@media(min-width:601px) and (max-width:780px){body[data-view=island] .scene-label{top:86px;max-width:calc(100% - 32px)}}
@media(max-width:700px){.wallet-card{gap:12px;margin:0 0 25px;padding:18px 15px;flex-wrap:wrap}.wallet-art .coin-icon{width:65px;height:65px}.wallet-copy h2{font-size:29px}.wallet-copy .eyebrow{font-size:8px}.wallet-copy p{font-size:12px}.wallet-card .pill{width:100%;justify-content:center}.coin-shop{padding:25px 16px;border-radius:24px}.coin-shop h2{font-size:23px}.coin-pack-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.coin-pack{min-height:150px;padding:11px 8px;gap:6px}.coin-pack .coin-icon{width:42px;height:42px}.coin-shop>p{font-size:12px}.game-toolbar .app-nav-button>.magic-icon{width:30px;height:30px}body[data-view=island] .scene-label{max-width:calc(100% - 380px)}}
@media(max-width:600px){body[data-view=island][data-guest-preview=""] .island-wallet{right:70px;top:max(14px,env(safe-area-inset-top));height:46px;min-width:94px;border-radius:16px;font-size:17px}.island-wallet .coin-icon{width:35px;height:35px}.wallet-plus{width:23px;height:23px;font-size:19px}body[data-view=island] .scene-label{max-width:calc(100% - 32px)}}

/* One baseline and one height for every control in the island header. */
body[data-view=island]{--island-header-top:max(20px,env(safe-area-inset-top));--island-header-height:56px}
body[data-view=island] .island-hud{top:var(--island-header-top);height:var(--island-header-height);align-items:center}
body[data-view=island] .island-hud .hud-button{height:var(--island-header-height);min-height:var(--island-header-height);box-sizing:border-box;margin-top:0;margin-bottom:0}
body[data-view=island][data-guest-preview=""] .island-wallet{top:var(--island-header-top);height:var(--island-header-height);box-sizing:border-box;margin:0}
@media(min-width:781px){body[data-view=island] .scene-label{top:var(--island-header-top);height:var(--island-header-height);min-height:var(--island-header-height);box-sizing:border-box;margin:0}.scene-label .island-badge-icon{height:40px}}
@media(max-width:600px){body[data-view=island]{--island-header-top:max(14px,env(safe-area-inset-top));--island-header-height:48px}}
