@font-face { font-family: Outfit; src: url("fonts/outfit.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: Outfit, system-ui, sans-serif; color: #fff; background: #12324f; }
.sky { min-height: 100%; min-height: 100dvh; display: grid; place-items: center; background: #16324d url("assets/sky.webp") center/cover no-repeat; padding: 16px; }
.phone { width: min(360px, calc(100vw - 20px)); height: min(780px, calc(100dvh - 24px)); background: #111; border-radius: 36px; padding: 10px; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.screen { position: relative; height: 100%; border-radius: 28px; overflow: hidden; background: #000; }
.wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ui { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 54px 16px 12px; }
.top { display: flex; gap: 10px; }
.card { border-radius: 18px; overflow: hidden; background: rgba(0,0,0,.38); backdrop-filter: blur(10px); }
.ca { width: 46%; min-height: 108px; padding: 12px; color: #fff; }
.ca b { display: block; font-size: 13px; }
.ca .sub { font-size: 12px; opacity: .8; }
#home-ca-value, #safari-ca-value, #token-ca-value { font-family: "JetBrains Mono", monospace; font-size: 12px; word-break: break-all; }
.copy { margin-top: 8px; border: 0; background: transparent; color: #8ecbff; font: inherit; cursor: pointer; }
.shot { width: 54%; min-height: 108px; padding: 0; border: 0; cursor: pointer; }
.shot img { width: 100%; height: 108px; object-fit: cover; display: block; }
.grid { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 6px; }
.app, .dock a, .dock button { background: none; border: 0; color: #fff; text-align: center; cursor: pointer; text-decoration: none; font: inherit; padding: 0; }
.glyph { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin: 0 auto 4px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,.35); }
.glyph img { width: 100%; height: 100%; object-fit: cover; }
.app span, .dock span { display: block; font-size: 10px; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.dock { margin-top: auto; display: flex; justify-content: space-around; gap: 6px; background: rgba(255,255,255,.18); border-radius: 24px; padding: 8px; }
.search { margin: 8px auto 0; border: 0; border-radius: 14px; background: rgba(255,255,255,.22); color: #fff; padding: 6px 14px; font: inherit; }
.sheet { position: absolute; left: 0; right: 0; top: 28px; bottom: 14px; background: #f5f6f8; color: #111; display: flex; flex-direction: column; z-index: 5; border-radius: 0 0 24px 24px; }
.sheet[hidden] { display: none !important; }
.sheet header { height: 40px; display: flex; align-items: center; justify-content: center; position: relative; font-weight: 650; font-size: 15px; background: transparent; }
.sheet header button { position: absolute; left: 8px; border: 0; background: transparent; color: #2f7bf0; font: inherit; font-size: 22px; cursor: pointer; }
.sheet .body { flex: 1; overflow: auto; padding: 8px 14px 16px; }
.wtop { display: flex; align-items: center; gap: 8px; }
.wtop .who { flex: 1; line-height: 1.15; }
.wtop small { display: block; opacity: .65; font-size: 11px; }
.iconbtn { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: inherit; }
.balance { font-size: 34px; font-weight: 700; margin: 8px 0 2px; }
.asset { display: grid; grid-template-columns: 36px 1fr auto; gap: 8px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); }
.asset b { text-align: right; }
.dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.calc-board { background: #000; color: #fff; min-height: 100%; display: flex; flex-direction: column; }
.calc-board .display { margin-top: auto; font-size: 64px; font-weight: 300; padding-right: 4px; }
.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.keys button { height: 58px; border-radius: 50%; font-size: 22px; }
.keys .zero { grid-column: span 2; border-radius: 29px; text-align: left; padding-left: 24px; }
.cover { height: 210px; border-radius: 16px; position: relative; overflow: hidden; margin: 8px 0 12px; }
.cover i { position: absolute; right: -20px; top: 28px; width: 140px; height: 140px; border-radius: 50%; background: #c9692a; }
.cover strong { position: absolute; left: 16px; bottom: 16px; font-size: 28px; }
.seek { width: 100%; }
.transport { display: flex; justify-content: center; gap: 28px; font-size: 22px; }
.transport button, .round { border: 0; background: transparent; font: inherit; cursor: pointer; }
.group { background: #fff; border-radius: 16px; margin: 10px 0; overflow: hidden; }
.group .row { padding: 11px 12px; display: flex; align-items: center; gap: 10px; }
.sw { width: 42px; height: 26px; border-radius: 13px; border: 0; background: #d9d9de; position: relative; }
.sw.on { background: #34c759; }
.sw i { position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: .2s; }
.sw.on i { left: 18px; }
.badge { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-size: 14px; }
.dialpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; justify-items: center; }
.dialpad button { width: 68px; height: 68px; border-radius: 50%; border: 0; background: #e9e9ec; font-size: 26px; line-height: 1; }
.dialpad small { display: block; font-size: 9px; letter-spacing: .12em; color: #666; }
.call { width: 68px; height: 68px; border-radius: 50%; border: 0; background: #2fbf3a; color: #fff; font-size: 22px; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.photos button { border: 0; padding: 0; background: #ddd; position: relative; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.bubble { max-width: 78%; }
.finder { background: #111; color: #fff; min-height: 100%; text-align: center; }
.shutter { width: 70px; height: 70px; border-radius: 50%; border: 4px solid #fff; background: transparent; }
.dark { background: #111; color: #fff; }
.dark header { background: #161616; color: #fff; }
.row { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.wallet-row { display: grid; grid-template-columns: 1fr auto; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.keys button, .dial button, .primary { border: 0; border-radius: 999px; padding: 14px 8px; font: inherit; cursor: pointer; }
.keys button { background: #333; color: #fff; }
.keys .fn { background: #a5a5a5; color: #111; }
.keys .op { background: #f69906; }
.display { text-align: right; font-size: 48px; margin: 12px 0; overflow: hidden; }
.bubble { max-width: 78%; border-radius: 16px; padding: 8px 12px; margin: 6px 0; }
.me { margin-left: auto; background: #2f7bf0; color: #fff; }
.them { background: #e9e9eb; }
.composer { display: flex; gap: 8px; }
.composer input, .note { width: 100%; border: 0; border-radius: 12px; padding: 10px; font: inherit; }
.note { min-height: 220px; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.photos button { padding: 0; border: 0; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.feedback { min-height: 1em; font-size: 11px; color: #8ecbff; }
.status { position: absolute; top: 8px; left: 18px; right: 18px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; z-index: 6; pointer-events: none; }
.homebar { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); width: 120px; height: 18px; border: 0; background: transparent; z-index: 7; }
.homebar i { display: block; height: 5px; border-radius: 4px; background: #fff; }
@media (max-width: 420px) {
  .sky { padding: 8px; }
  .ca b, .app span { font-size: 10px; }
}
/* Internal application chrome. Home uses the original launcher layout. */
.screen:has(.sheet:not([hidden])) .status,.pump-screen .status{color:#121212;left:21px;right:20px;top:10px;font:600 10px system-ui;letter-spacing:.01em}
.screen:has(.sheet.dark:not([hidden])) .status,.pump-screen .status{color:white}
.screen:has(.sheet:not([hidden])) .status:before,.pump-screen .status:before{content:"";position:absolute;width:30%;height:20px;border-radius:30px;background:#050505;left:50%;top:-4px;transform:translateX(-50%)}
.screen:has(.sheet:not([hidden])) .homebar i{background:#161616;width:96px;margin:auto}
.screen:has(.sheet.dark:not([hidden])) .homebar i,.pump-screen .homebar i{background:#fff}
.sheet{inset:0;border-radius:inherit;padding:31px 0 23px;font-family:system-ui,sans-serif;background:#f6f7f9}
.sheet header{flex:0 0 37px;height:37px;font-size:12px;font-weight:700}
.sheet header button{font:500 22px/1 system-ui;padding:2px 8px;min-width:36px;min-height:34px;left:3px}
.sheet .body{padding:10px 14px 18px}.sheet button,.sheet input,.sheet textarea{font-family:inherit}.sheet button{cursor:pointer}
.sheet .body p{line-height:1.45}
.sheet[data-app="binance"] header,.sheet[data-app="metamask"] header,.sheet[data-app="phantom"] header{position:absolute;top:38px;left:0;width:35px;z-index:1;font-size:0}
.sheet[data-app="binance"] header button,.sheet[data-app="metamask"] header button,.sheet[data-app="phantom"] header button{color:var(--wallet-accent)}
.sheet:has(.wallet-row) .body,.sheet:has(.wtop) .body{padding:4px 15px;font-size:12px}
.wtop{display:flex;align-items:center;gap:8px;min-height:40px;padding-left:23px}
.wallet-mark{font-size:18px;color:var(--wallet-accent)}.who{flex:1}.who b,.who small,.asset small{display:block}.who b{font-size:13px}.who small,.balance-block small,.wallet-foot,.asset small{opacity:.66;font-size:10px}
.iconbtn{height:29px;width:29px;font-size:17px;border:0!important;color:inherit;background:none}.balance-block{padding:23px 6px 12px}.balance-block #hide-bal{padding:0;border:0;background:none;color:inherit;opacity:.65;font-size:11px}.balance{font-size:30px;margin:5px 0 1px}
.sheet[data-app="phantom"] .balance-block,.sheet[data-app="metamask"] .balance-block{text-align:center}
.assets-card{background:var(--wallet-card);padding:12px;border-radius:14px}.sheet[data-app="binance"] .assets-card{background:transparent;padding:10px 4px}
.asset{display:grid;grid-template-columns:28px 1fr auto;gap:9px;padding:11px 0;border-top:1px solid #ffffff12}.asset img{width:25px;height:25px;border-radius:50%}.asset b{font-size:12px}.asset .worth{text-align:right}.wallet-foot{text-align:center;padding:0 8px}
.sheet[data-app="calculator"]{background:#101012!important}.sheet[data-app="calculator"] .body{padding:0 12px 8px;display:flex}.calc-board{flex:1;min-height:0;background:transparent}.calc-board .display{font-size:50px}.calc-board .keys{gap:7px}
.calc-board .keys button{height:clamp(44px,6.5vh,61px);border-radius:80px;background:#333;color:white;font-size:22px;font-weight:400;line-height:1;padding:0}.calc-board .keys .fn{background:#aaa;color:#111}.calc-board .keys .op{background:#ff9f0a;color:white}.calc-board .keys .zero{padding-left:24px}
.sheet[data-app="photos"]{background:white}.sheet[data-app="photos"] .body{padding:0}.photos{gap:2px}.photos .photo-row{position:relative}.photos .photo-row span{position:absolute;left:2px;bottom:2px;text-shadow:0 1px 3px black;color:white;font-size:9px}.photos img{display:block}.sheet[data-app="photos"] .body>p{font-size:11px;color:#666;text-align:center}.sheet[data-app="photos"] #prev,.sheet[data-app="photos"] #next{border:0;border-radius:22px;padding:8px 18px;margin:3px;background:#edf2f8;color:#246fbb}
.sheet[data-app="music"] .body{padding:12px 21px 20px}.cover{width:100%;height:auto;aspect-ratio:1;border-radius:8px;margin:0 0 18px}.cover i{width:58%;height:auto;aspect-ratio:1;top:12%;right:-7%}.cover strong{font-size:26px}.track-title{margin:0;font-size:18px}.track-title+p{font-size:12px;color:#888;margin:2px 0 12px}.seek{accent-color:#202020}.time{display:flex;justify-content:space-between;font:10px system-ui;color:#777}.transport{margin:20px 0 8px;align-items:center}.transport button{font:18px system-ui;color:#151515}.transport #play{font-size:28px}.transport+p{text-align:center;font-size:10px;color:#777}.track-list{display:flex;gap:4px;justify-content:center}.track-list button{font-size:8px;color:#555;border:0;background:#ececee;border-radius:8px;padding:4px}
.sheet[data-app="messages"]{background:white}.sheet[data-app="messages"] .body{display:flex;flex-direction:column;padding:0 12px 5px;overflow:hidden}.person{text-align:center;position:relative}.person i{display:grid;place-items:center;font:18px system-ui;width:40px;height:40px;border-radius:50%;margin:0 auto 2px;background:#999;color:white}.person b{font-size:11px}.person button{position:absolute;right:0;top:2px;background:none;border:none;color:#888;font-size:18px}.timestamp{text-align:center;border-top:1px solid #eee;color:#8e8e93;font-size:10px;margin-top:7px;padding-top:10px}#thread{flex:1;overflow:auto}.bubble{width:fit-content;font-size:13px}.bubble.me{color:white}.composer{align-items:center;border:1px solid #dbdbdf;border-radius:20px;padding:2px 5px}.composer input{min-width:0;outline-offset:-2px}.composer button{border-radius:100%;width:25px;height:25px;border:0;background:#147cf6;color:white;font-weight:bold}
#view-notes .notes-head{display:flex;align-items:center;justify-content:space-between}.notes-head h1{font-size:25px;margin:3px 0 12px}#new-note{border:0;border-radius:50%;height:28px;width:28px;background:#efc532;font-size:20px}#view-notes .note-row{display:block;background:white;color:#111;border:0;width:100%;text-align:left;padding:13px;border-radius:12px;font-weight:600}
#view-settings>h1{font-size:24px;margin:4px 0 12px}#view-settings .row{width:100%;border:0;min-height:36px;color:inherit;background:transparent;display:flex;align-items:center;gap:7px;text-align:left;padding:7px 12px;border-bottom:1px solid #eee;font-size:12px}#view-settings .row:last-child{border-bottom:0}#view-settings .group{padding:0;overflow:hidden;margin-bottom:14px}#view-settings .badge{width:19px;height:19px;border-radius:5px;font-size:12px;display:grid;place-items:center;color:white}#account .badge{width:35px;height:35px;border-radius:50%}.about small{margin-left:auto;color:#777}#view-settings [data-wall]{background:#fff;border:0;border-radius:10px;margin:4px}
#view-camera{background:#0b0b0c;padding:0;display:flex;flex-direction:column;align-items:center}.viewfinder{width:100%;flex:1;background:#121214;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.viewfinder small{position:absolute;top:12px;color:#fbc91a;letter-spacing:3px}.viewfinder p{text-align:center;max-width:78%;font-size:13px;color:#ddd}.viewfinder button{border:0;background:white;padding:9px 16px;border-radius:40px;color:black}.viewfinder video{position:absolute;inset:0;height:100%;object-fit:cover}.shutter{flex:none;width:54px;height:54px;border-radius:50%;background:white!important;border:3px double #181818!important;margin:12px 0}
#view-phone{display:flex;flex-direction:column;align-items:center;justify-content:center}.dialpad{width:80%;max-width:250px}.dialpad button{background:#eee;color:#111}.call{background:#49cb63;color:white;border:0;border-radius:50%;min-width:49px;min-height:49px}
#view-safari{background:white}#view-safari .addressbar{text-align:center;padding:6px;background:#eeedf2;color:#656575;border-radius:13px;font-size:11px;margin:0 0 10px}#view-safari img{border-radius:3px}#view-safari>p{font-size:12px}
#view-satch{text-align:center}#view-satch img{border-radius:15px}#view-satch>p{color:#646570;font-size:12px}#view-satch .row{font-size:12px}
.pump-screen{background:#101a15;color:#ebfff5;font-family:system-ui,sans-serif}.pump-screen header{margin-top:42px;text-align:center;font-size:13px;font-weight:bold}.pump-screen header a{position:absolute;left:15px;color:#a5bcad;text-decoration:none;font-size:20px}.pump-panel{padding:36px 25px;text-align:center}.pump-panel img{width:66px;height:66px;border-radius:14px;display:block;margin:0 auto 14px}.pump-panel small{background:#123d2d;color:#67dfac;border-radius:20px;padding:3px 9px;font-size:10px}.pump-panel h1{margin:12px 0 3px}.pump-panel p{font-size:12px;color:#93ab9d}.pump-panel a{display:block;color:#09261a;background:#76efaf;padding:13px;border-radius:14px;font-weight:bold;text-decoration:none;margin:20px 0 12px}
