.home-dashboard {
 display:grid;
 grid-template-columns:minmax(0, 1.12fr) minmax(0, 1fr);
 align-items:start;
 gap:18px;
 margin:20px 0;
}
.home-dashboard .panel{margin:0;padding:24px;border:1px solid #468a9f;background:linear-gradient(135deg,#123343bb,#091b2be8);min-width:0;position:relative;overflow:hidden}.home-id-heading{display:flex;align-items:center;gap:12px;min-width:0}.profile-frame{--frame:#79e9f1;position:relative;display:grid;place-items:center;padding:6px;border:2px solid var(--frame);background:#071722;box-shadow:inset 0 0 0 3px #17323d;flex:none;box-sizing:border-box;isolation:isolate}.home-id-heading .profile-frame{width:clamp(64px, 6.4vw, 96px);height:clamp(64px, 6.4vw, 96px)}.profile-frame .diver-portrait{width:100%;height:100%;min-width:0;object-fit:contain}.profile-frame:after{content:'';position:absolute;inset:-5px;pointer-events:none;border:1px solid var(--frame);clip-path:polygon(0 0,25% 0,25% 2%,2% 2%,2% 25%,0 25%,0 0,100% 0,100% 25%,98% 25%,98% 2%,75% 2%,75% 0,100% 0,100% 100%,75% 100%,75% 98%,98% 98%,98% 75%,100% 75%,100% 100%,0 100%,0 75%,2% 75%,2% 98%,25% 98%,25% 100%,0 100%)}.frame-scan{--frame:#88e9b4;border-style:dashed}.frame-circuit{--frame:#c1a0fc;outline:2px solid #6d54b1;outline-offset:3px;border-width:3px}.frame-prism{--frame:#b4e8ff;border:4px double #b4e8ff;background:linear-gradient(135deg,#392450,#0a3349)}.frame-crown{--frame:#ffe091;border:4px double #ffe091;box-shadow:0 0 0 2px #745225,inset 0 0 0 3px #3f301a}.frame-aurora{--frame:#eac8ff;border:4px solid transparent;background:linear-gradient(#091e30,#091e30) padding-box,conic-gradient(#80eeff,#b79aff,#ffb3da,#ffdf97,#80eeff) border-box;box-shadow:0 0 0 1px #e5dbff}.home-name{min-width:0}.home-name h1{font-size:clamp(22px,2.8vw,34px);line-height:1.3;color:#f2fbff;margin:8px 0;overflow-wrap:anywhere}.home-name .player-id{font-size:12px;margin:0 0 12px;color:#92bbcc;overflow-wrap:anywhere}.player-id b{font-weight:400;color:#cce4ec;margin-left:8px}.home-name .identity-title{font-size:11px;max-width:100%;overflow-wrap:anywhere;box-sizing:border-box}.home-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:24px 0 18px;padding:16px 0 0;border-top:1px solid #2e5669;gap:20px 8px}.home-stats dt{color:#a8ccd9;font-size:11px}.home-stats dd{margin:5px 0 0;color:#f4df8f;font-size:25px;line-height:1.1}.home-stats dd small{font-size:11px;color:#a0c0cc}.home-library-progress progress{display:block;width:100%;height:5px;margin:0}.home-shortcuts{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px}.home-shortcuts button{font-size:11px;padding:9px 12px;min-height:38px}
.home-profile-row {
 display:grid;
 grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
 align-items:center;
 gap:16px;
}
.home-connection {
 display:grid;
 grid-template-columns:minmax(48px, 45%) minmax(0, 1fr);
 align-items:center;
 gap:6px 8px;
 padding-inline-start:16px;
 border-inline-start:1px solid #2e5669;
}
.connection-caption {grid-column:1/-1}
.connection-caption .eyebrow {font-size:10px;letter-spacing:.04em}
.home-kernel-art-frame {height:112px;position:relative;isolation:isolate}
.home-kernel-art-frame::before {
 content:'';
 position:absolute;
 inset:16% 18%;
 transform:rotate(45deg);
 border:1px solid #59d3e04d;
 background:repeating-linear-gradient(0deg,transparent 0 12px,#5dc7db12 12px 13px);
}
.home-kernel-art-frame::after {
 content:'';
 position:absolute;
 inset:auto 6% 6px;
 height:12px;
 border:1px solid #56cfe275;
 border-radius:50%;
 z-index:-1;
}
.home-kernel-art {
 position:absolute;
 inset:0;
 background-image:var(--art-file);
 background-size:var(--art-size);
 background-position:var(--art-x) var(--art-y);
 background-repeat:no-repeat;
 image-rendering:pixelated;
}
.home-kernel-name {min-width:0;overflow-wrap:anywhere}
.home-kernel-name small {font-size:11px;color:#9ac6d7}
.home-dashboard .home-kernel-name h2 {font-size:clamp(16px, 2vw, 22px);line-height:1.2;margin:4px 0;color:#e6f6fc}
.home-kernel-name h2 span {color:#b6e5e9;font-size:.72em}
.home-drive-link {display:block;font-size:11px;text-align:start;padding:8px 0;min-height:36px}
.home-dive-console{grid-column:1/-1;display:flex;gap:20px;align-items:center;justify-content:space-between;background:#0b2233;border:1px solid #548d9f;padding:18px 24px;box-shadow:inset 4px 0 #6de3ed}.home-dive-console>div>strong,.home-dive-console>div>small{display:block}.home-dive-console>div>strong{font-size:22px;color:#edfaff;margin:6px 0}.home-dive-console>div>small{font-size:10px;color:#8fb9c7}.home-dive-button{display:flex;align-items:center;gap:20px;min-width:280px;min-height:76px;padding:12px 25px;border:2px solid #a0f5f5;color:#ebffff;background:linear-gradient(110deg,#104756,#183c58);box-shadow:inset 0 0 0 4px #0d2634,4px 4px #030c15;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);text-align:left;cursor:pointer;position:relative;font-size:21px;letter-spacing:.08em}.home-dive-button small{display:block;letter-spacing:.03em;color:#9ce7e8;font-size:11px;margin-top:6px}.dive-button-mark{font-size:38px;line-height:1;color:#8df2ef}.home-dive-button>b{margin-left:auto;color:#dcffff;font-size:26px}.home-dive-button:hover,.home-dive-button:focus-visible{background:linear-gradient(110deg,#196779,#255574);outline:3px solid #fff;outline-offset:3px}.home-extra{margin-top:12px;font-size:12px}.home-extra>summary{cursor:pointer;color:#9ebfce}.home-extra .world-panel{margin-top:16px}.profile-cosmetics{grid-column:1/-1;text-align:left;min-width:0}.profile-cosmetics label{display:grid;font-size:12px;gap:8px;margin:0 0 16px}.profile-cosmetics select{width:100%;min-width:0;background:#071b2a;color:#f4fbff;border:1px solid #5a94a6;font-size:13px;padding:10px;min-height:44px}.profile-reward-list{font-size:11px;margin:12px 0 20px}.profile-reward-list summary{cursor:pointer}.profile-reward-list p{line-height:1.6;margin:12px 0;border-bottom:1px solid #345367;padding-bottom:8px}.profile-reward-list small{margin:4px 0 0!important;color:#91b4c2}.settings-face{width:156px;height:156px;margin:0 auto 20px}.avatar-confirm .settings-face .avatar-selected-face{width:100%;height:100%;margin:0}.topbar #player-settings{white-space:nowrap;min-height:36px}.topbar #player-settings:disabled{opacity:.4}.in-battle #player-settings{display:none}
@media(max-width:700px){.home-dashboard{gap:12px;margin:14px 0;grid-template-columns:1fr}.home-dashboard .panel{padding:18px}.home-id-heading{gap:20px}.home-id-heading .profile-frame{width:78px;height:78px}.home-name h1{font-size:25px}.home-name .player-id{font-size:11px;margin-bottom:8px}.home-stats{margin:18px 0 14px;gap:17px 8px}.home-stats dd{font-size:23px}.home-stats dt{font-size:10px}.home-dive-console{padding:17px;gap:14px;flex-wrap:wrap}.home-dive-console>div{width:100%}.home-dive-console>div>strong{font-size:20px;display:inline-block;margin:3px 12px 0 0}.home-dive-console>div>small{display:inline-block;font-size:9px}.home-dive-button{width:100%;min-width:0;min-height:70px;font-size:20px;gap:20px;padding:12px 20px}.avatar-confirm .settings-face{width:88px;height:88px;margin:0;grid-column:1;grid-row:1/4}.topbar #player-settings{font-size:10px;padding:7px 8px}.home-extra{padding:14px}.home-shortcuts button{font-size:10px}.home-shortcuts .text-button{padding-left:0;padding-right:0}}
@media(max-width:380px){.home-dashboard .panel{padding:14px}.home-name h1{font-size:22px}.home-id-heading{gap:15px}.home-id-heading .profile-frame{width:68px;height:68px}.home-name .identity-title{font-size:10px;padding:4px 7px}.home-stats dd{font-size:20px}.home-stats dd small{font-size:9px}.home-dive-console>div>small{display:block;margin-top:5px}}
.home-screen .topbar{height:64px}.home-screen #app>.account-bar{display:none}.home-screen #app>nav button{padding-block:16px}.home-name h1{font-size:28px;line-height:1.2;margin:6px 0}.home-name .eyebrow{font-size:10px}.home-name .player-id{line-height:1.4}.home-name .identity-title{line-height:1.4}.home-id-heading{min-height:105px}.home-stats{gap:16px 8px;padding-top:14px;margin-top:18px;margin-bottom:14px}.home-stats dt{line-height:1.3}.home-stats dd{line-height:1.1}.home-shortcuts{margin-top:12px}.home-dashboard .panel{border-image:none;box-shadow:inset 3px 0 #46ccda30,3px 3px #020c16}.home-screen .home-dive-console{padding-block:14px}.home-screen .home-dive-console>div>strong{line-height:1.3}.home-screen .home-dive-console>div>small{line-height:1.4}.home-screen .home-extra{padding:12px 18px}
@media(max-width:700px){.home-screen .topbar{height:62px}.home-screen .topbar{gap:8px;padding-inline:12px;flex-wrap:wrap;align-content:center}.home-screen .topbar .brand{font-size:13px;margin-right:auto}.home-screen .topbar .brand-mark{font-size:22px}.home-screen .topbar .wallet{font-size:10px}.home-screen .topbar .wallet small{display:none}.home-screen #app>nav button{padding-block:14px}.home-screen .home-id-heading{min-height:94px}.home-screen .home-name h1{font-size:24px}.home-screen .home-stats{gap:15px 8px}.home-screen .home-dive-console{gap:12px}.home-screen .home-dive-console>div>strong{font-size:18px}.home-screen .home-name .identity-title{font-size:10px}}
.home-shortcuts .text-button{white-space:nowrap;flex:none}.home-shortcuts .secondary{flex:1;min-width:0}
@media(max-width:700px){body:not(.in-battle) .topbar{height:auto;min-height:62px;padding:8px 12px;gap:8px;flex-wrap:wrap;align-content:center;box-sizing:border-box}body:not(.in-battle) .topbar .brand{font-size:13px;letter-spacing:0;margin-right:auto}body:not(.in-battle) .topbar .brand-mark{font-size:22px}body:not(.in-battle) .topbar .prototype{display:none}body:not(.in-battle) .topbar .wallet{font-size:10px;min-width:0}body:not(.in-battle) .topbar .wallet small{display:none}body:not(.in-battle) .topbar .sound-toggle{font-size:10px;padding:7px 8px;min-height:34px;margin:0}.home-shortcuts .text-button{font-size:10px}}
@media(max-width:350px){body:not(.in-battle) .topbar{gap:5px;padding-inline:9px}body:not(.in-battle) .topbar .brand{font-size:11px}body:not(.in-battle) .topbar .brand-mark{font-size:18px}body:not(.in-battle) .topbar .sound-toggle{font-size:9px;padding-inline:6px}.home-screen .home-name h1{font-size:22px}.home-shortcuts .text-button{font-size:9px}}

@media(max-width:700px){body:not(.in-battle) .topbar .wallet{gap:4px;margin:0;flex-shrink:0}body:not(.in-battle) .topbar .wallet strong{font-size:14px}}
.frame-neon-shift {
  --frame: #75faff;
  border: 5px solid transparent;
  background: linear-gradient(145deg, #140e32, #0a3246) padding-box, conic-gradient(from 24deg, #76faff 0 25%, #4c73fe 25% 42%, #fc92f4 42% 68%, #927cff 68% 83%, #76faff 83%) border-box;
  box-shadow: inset 0 0 0 1px #b9f4ff, 0 0 0 1px #2c4863;
}
.frame-neon-shift:after { inset: -9px; border-color: #e4b5ff; }
.frame-shop-product, .frame-shop-history { max-width: 780px; margin: 0 auto 20px; }
.frame-shop-product { display: grid; grid-template-columns: minmax(98px, 160px) minmax(0, 1fr); align-items: center; gap: clamp(18px, 4vw, 34px); }
.frame-shop-product .profile-frame { width: 100%; height: auto; aspect-ratio: 1; }
.frame-shop-details h2, .frame-shop-history h2 { margin: 0; }
.frame-shop-details .primary { margin: 0; }
.frame-shop-details [data-checkout-link] { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.frame-shop-history-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.frame-shop-history ul { padding: 0; list-style: none; }
.frame-shop-history li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #315063; }
.frame-shop-history li code { overflow-wrap: anywhere; font-size: .875em; }
.frame-shop-history li div small { display: block; margin-top: 4px; }
@media (max-width: 560px) {
  .frame-shop-product { grid-template-columns: 1fr; }
  .frame-shop-product .profile-frame { width: min(140px, 100%); }
  .frame-shop-history li { grid-template-columns: 1fr auto; }
  .frame-shop-history li>span:first-child { grid-column: 1 / -1; }
}
.home-dive-console.has-active-dive>div>small{font-size:12px}
.home-dashboard .home-play-modes {grid-template-columns:minmax(0, 1fr);min-width:0}
.home-play-modes .home-dive-console {flex-wrap:wrap;gap:12px}
.home-play-modes .home-dive-button {flex:1 1 190px;min-width:0}
@media (max-width:1000px) {
 .home-dashboard {grid-template-columns:minmax(0, 1fr)}
}
@media (max-width:520px) {
 .home-profile-row {gap:10px}
 .home-dashboard .home-id-heading {flex-direction:column;align-items:flex-start;gap:8px}
 .home-id-heading .profile-frame {width:52px;height:52px}
 .home-dashboard .home-name h1 {font-size:19px}
 .home-connection {grid-template-columns:minmax(0, 1fr);gap:2px;padding-inline-start:10px}
 .home-kernel-art-frame {width:68px;height:72px}
 .home-drive-link {padding-block:5px;min-height:32px}
}
@media(max-width:700px){
 .has-active-dive .home-dive-button{gap:10px;padding-inline:14px;font-size:18px}
}
