/* ================================================================
   the solana intern's phone · iOS 26 "Liquid Glass" styles
   SF Pro is used automatically on Apple devices (system font);
   Inter is the fallback everywhere else.
   ================================================================ */
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sol-a: #9945FF; --sol-b: #14F195;
  --pos: #30D158; --neg: #FF453A; --blue: #0A84FF; --ios-blue: #007AFF;
  --sep: rgba(60,60,67,.18);
  --gl-bg: rgba(255,255,255,.58); --gl-brd: rgba(255,255,255,.75); --gl-ink: #111;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: #000; font-family: var(--font); color: #111; -webkit-font-smoothing: antialiased; overscroll-behavior: none; letter-spacing: -.01em; }
body { position: relative; overflow: hidden; width: 100vw; height: 100dvh; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
a { color: inherit; }
img, video { user-select: none; -webkit-user-drag: none; }
.pos { color: var(--pos); } .neg { color: var(--neg); }

/* ---------------------------------------------------- liquid glass */
.glass, .glass-btn, .nav-back {
  background: var(--gl-bg);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  border: .5px solid var(--gl-brd);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 1px rgba(255,255,255,.12), 0 6px 22px rgba(0,0,0,.12);
  color: var(--gl-ink);
}
/* dark contexts */
.xapp, .slack, .solflare, .phoenix, .collector, .tv, .bp, .facetime, .spotify, .viewer, .chat.wa, .chat.xdm, .weather, .camera, .home, .lock, .dead, #overlay {
  --gl-bg: rgba(60,60,67,.42); --gl-brd: rgba(255,255,255,.22); --gl-ink: #fff;
}
.glass-btn.dark { --gl-bg: rgba(60,60,67,.42); --gl-brd: rgba(255,255,255,.22); --gl-ink: #fff; }
.glass-btn, .nav-back { flex: none; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 17px; font-weight: 500; }
.nav-back { padding: 0; width: 44px; }
.nav-back:has(span) { width: auto; padding: 0 16px 0 12px; }
.nav-back svg { width: 11px; height: 19px; }

/* ---------------------------------------------------------- frame */
#phone { position: absolute; left: 0; top: 0; width: 393px; height: var(--ph-h, 852px); transform-origin: 0 0; transform: translate(var(--px, 0px), var(--py, 0px)) scale(var(--s, 1)); overflow: hidden; background: #000; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
#screen { position: absolute; inset: 0; overflow: hidden; background: #f2f2f7; }
#screen > section, #screen > .home { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; }
.island { display: none; }
.disclaimer { display: none; }
@media (min-width: 500px) and (min-height: 600px) {
  body { background: radial-gradient(1100px 700px at 30% 15%, #2a1450 0%, #0a0a12 55%), #0a0a12; }
  #phone.framed { border-radius: 55px; box-shadow: 0 0 0 11px #101012, 0 0 0 12.5px #3a3840, 0 0 0 14px #18171b, 0 30px 90px rgba(0,0,0,.65); }
  .framed .island { display: block; position: absolute; z-index: 95; top: 11px; left: 50%; transform: translateX(-50%); width: 124px; height: 36px; border-radius: 20px; background: #000; pointer-events: none; }
  .disclaimer { display: block; position: absolute; left: 0; right: 0; bottom: 1.2vh; margin: 0 auto; max-width: 760px; padding: 0 20px; text-align: center; color: rgba(255,255,255,.4); font-size: 10.5px; line-height: 1.45; letter-spacing: .01em; } .disclaimer a { color: rgba(255,255,255,.65); }
}
.tr-open { animation: tropen .38s cubic-bezier(.2,.85,.25,1); }
.tr-close { animation: trclose .3s ease-out; }
.tr-push { animation: trpush .26s cubic-bezier(.2,.85,.25,1); }
@keyframes tropen { from { transform: scale(.82); opacity: 0; border-radius: 48px; filter: blur(4px); } to { transform: none; opacity: 1; } }
@keyframes trclose { from { transform: scale(1.08); opacity: .3; } to { transform: none; opacity: 1; } }
@keyframes trpush { from { transform: translateX(24px); opacity: .5; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ------------------------------------------------------ status bar */
.statusbar { flex: none; height: 54px; padding: 19px 30px 0 46px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 16px; letter-spacing: -.02em; color: #000; z-index: 2; }
.statusbar.light { color: #fff; }
.sb-right { display: flex; gap: 6px; align-items: center; }
.sb-sig { width: 18px; height: 12px; fill: currentColor; } .sb-wifi { width: 16px; height: 12px; fill: currentColor; }
.sb-batt { width: 27px; height: 13px; } .sb-batt text { font-size: 8.5px; font-weight: 700; fill: #fff; mix-blend-mode: difference; }
.statusbar:not(.light) .sb-batt text { fill: #000; mix-blend-mode: normal; }

/* ---------------------------------------------------- wallpaper */
.lock, .home {
  background:
    url('../assets/media/wallpaper.jpg') center/cover,
    radial-gradient(90% 55% at 15% 8%, rgba(176,120,255,.95) 0%, transparent 60%),
    radial-gradient(80% 50% at 95% 92%, rgba(20,241,149,.9) 0%, transparent 62%),
    radial-gradient(70% 45% at 85% 30%, rgba(80,60,220,.75) 0%, transparent 60%),
    linear-gradient(165deg, #2c1466 0%, #120a2e 55%, #081b1a 100%);
}

/* ---------------------------------------------------------- lock */
.lock { position: absolute; inset: 0; z-index: 40; color: #fff; display: flex; flex-direction: column; align-items: center; transition: transform .55s cubic-bezier(.2,.85,.25,1), opacity .55s; touch-action: none; cursor: grab; outline: none; }
.lock .statusbar { width: 100%; }
.lock.lifting { transform: translateY(-100%); opacity: 0; }
.lk-lock { margin-top: 2px; opacity: .95; }
.lk-date { margin-top: 6px; font-size: 20px; font-weight: 600; opacity: .92; letter-spacing: -.01em; }
.lk-time { font-family: -apple-system, "SF Pro Display", "Inter", sans-serif; font-size: 112px; font-weight: 600; line-height: .95; letter-spacing: -5px; margin-top: 0; background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,.72)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 14px rgba(0,0,0,.25)); }
.lk-stack { margin-top: auto; width: 92%; display: flex; flex-direction: column; gap: 8px; }
.lk-notif { display: flex; gap: 11px; align-items: center; padding: 12px 14px; border-radius: 24px; font-size: 14.5px; line-height: 1.3; }
.lk-notif small { float: right; opacity: .6; font-size: 12.5px; margin-left: 8px; }
.lk-notif > span:last-child { flex: 1; }
.lk-ni { position: relative; flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; color: #fff; }
.lk-more { height: 12px; margin: -14px 16px 0; border-radius: 0 0 18px 18px; background: rgba(255,255,255,.18); }
.lk-caption { margin-top: 18px; font-size: 17px; font-weight: 600; text-align: center; padding: 0 24px; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.lk-hint { margin-top: 10px; font-size: 13px; opacity: .75; }
.lk-hint.nudge { animation: nudge .5s ease; }
@keyframes nudge { 30% { transform: translateY(-8px); } 60% { transform: translateY(2px); } }
.lk-legal { margin-top: 6px; font-size: 10px; opacity: .45; }
.lk-bar { width: 140px; height: 5px; border-radius: 3px; background: #fff; margin: 12px 0 9px; }

/* ---------------------------------------------------------- home */
.home { color: #fff; }
.pages { flex: 1; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pages::-webkit-scrollbar { display: none; }
.page { flex: 0 0 100%; scroll-snap-align: start; padding: 8px 18px 0; display: flex; flex-direction: column; }
.widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.w-sq, .w-md { border-radius: 24px; padding: 14px 15px; display: flex; flex-direction: column; color: #fff; text-align: left; }
.w-sq { aspect-ratio: 1; }
.w-md { margin-bottom: 20px; min-height: 150px; }
.w-k { font-size: 11px; font-weight: 700; letter-spacing: .06em; opacity: .75; }
.w-bp .w-k { background: linear-gradient(90deg, #c69cff, var(--sol-b)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 1; }
.w-big { font-size: 27px; font-weight: 700; letter-spacing: -.03em; margin: auto 0 2px; line-height: 1.05; }
.w-s { font-size: 12.5px; opacity: .78; line-height: 1.3; }
.w-row { display: flex; align-items: flex-end; justify-content: space-between; margin: auto 0 4px; } .w-row .w-big { margin: 0; font-size: 40px; } .w-row svg { width: 130px; height: 44px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 20px; align-content: start; }
.app-icon { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tile { position: relative; width: 62px; height: 62px; border-radius: 15px; background: var(--tile); display: grid; place-items: center; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.35), inset 0 1.5px 1px rgba(255,255,255,.45), inset 0 -2px 3px rgba(0,0,0,.12), 0 3px 10px rgba(0,0,0,.25); }
.tile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,0) 42%); pointer-events: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; z-index: 1; }
.glyph { font-size: 28px; color: #fff; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.tile-dark .glyph { color: #111; }
.cal-glyph { display: flex; flex-direction: column; align-items: center; color: #111; line-height: 1; }
.cal-glyph small { color: #ff3b30; font-size: 10px; font-weight: 600; } .cal-glyph b { font-size: 31px; font-weight: 300; }
.badge { position: absolute; z-index: 2; top: -6px; right: -6px; min-width: 23px; height: 23px; padding: 0 6px; border-radius: 12px; background: #ff3b30; color: #fff; font-size: 13.5px; font-weight: 600; display: grid; place-items: center; }
.label { font-size: 12px; font-weight: 500; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.35); max-width: 76px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-dots { flex: none; display: flex; justify-content: center; gap: 8px; padding: 10px 0 12px; }
.page-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); } .page-dots i.on { background: #fff; }
.dock { flex: none; margin: 0 12px 12px; padding: 16px 20px; border-radius: 38px; display: flex; justify-content: space-between; }

/* -------------------------------------------------- banners/toast */
.banner { position: absolute; z-index: 60; left: 9px; right: 9px; top: 10px; display: flex; gap: 11px; align-items: center; padding: 12px 14px; border-radius: 26px; --gl-bg: rgba(250,250,252,.72); --gl-brd: rgba(255,255,255,.8); --gl-ink: #111; transform: translateY(-150%); transition: transform .45s cubic-bezier(.2,.95,.25,1.12); cursor: pointer; }
.banner.show { transform: translateY(46px); }
.b-icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--tile); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; overflow: hidden; }
.b-icon.tile-dark { color: #111; }
.b-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-body { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.3; }
.b-top { display: flex; justify-content: space-between; } .b-top small { color: #8a8a8e; font-size: 12.5px; }
.b-text { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast { position: absolute; z-index: 70; left: 50%; bottom: 110px; transform: translate(-50%, 20px); opacity: 0; max-width: 84%; padding: 11px 18px; border-radius: 22px; background: rgba(28,28,30,.82); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: #fff; font-size: 14px; text-align: center; transition: .28s; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* -------------------------------------------------------- alerts */
.alert-backdrop { position: absolute; inset: 0; z-index: 65; background: rgba(0,0,0,.3); display: grid; place-items: center; animation: fade .2s; }
.alert-backdrop.closing { opacity: 0; transition: .2s; }
.ios-alert { width: 290px; border-radius: 30px; overflow: hidden; text-align: center; padding: 20px 16px 16px; --gl-bg: rgba(245,245,247,.82); --gl-ink: #111; }
.ia-body p { margin: 4px 0 14px; font-size: 14px; opacity: .8; } .ia-body b { font-size: 17px; }
.ios-alert button { display: block; width: 100%; text-align: center; padding: 12px; margin-top: 8px; border-radius: 22px; font-size: 16px; font-weight: 600; background: rgba(120,120,128,.16); }
.ios-alert button:first-of-type { background: var(--ios-blue); color: #fff; }
@keyframes fade { from { opacity: 0; } }

/* ------------------------------------------------- death overlay */
#overlay { position: absolute; inset: 0; z-index: 80; pointer-events: none; }
#overlay.on { pointer-events: auto; }
.dead { position: absolute; inset: 0; background: #000; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; animation: fade .9s; }
.dead-batt { width: 120px; opacity: 0; transition: opacity .6s; }
.dead.show-batt .dead-batt { opacity: 1; }
.dead.show-q .dead-batt { opacity: .35; transform: scale(.7); transition: .6s; }
.dq { width: 100%; display: flex; flex-direction: column; align-items: center; }
.dq-card { margin-top: 24px; width: 84%; padding: 24px 20px 18px; border-radius: 34px; text-align: center; animation: pop .45s cubic-bezier(.2,.9,.3,1.3); --gl-bg: rgba(44,44,46,.7); }
@keyframes pop { from { transform: scale(.8); opacity: 0; } }
.dq-card.shake { animation: shake .45s; }
@keyframes shake { 15%,55% { transform: translateX(-12px); } 35%,75% { transform: translateX(12px); } }
.dq-zap { font-size: 28px; }
.dq-q { font-size: 25px; font-weight: 700; margin-top: 6px; letter-spacing: -.02em; }
.dq-sub { font-size: 13.5px; opacity: .6; margin-top: 6px; }
.dq-wrong { min-height: 22px; margin-top: 10px; color: #ff6961; font-weight: 600; font-size: 15px; }
.dq-btns { display: flex; gap: 12px; justify-content: center; align-items: center; margin-top: 10px; min-height: 64px; }
.dq-btns button { padding: 13px 28px; border-radius: 999px; font-weight: 700; font-size: 17px; text-align: center; transition: transform .3s cubic-bezier(.2,.9,.3,1.4); }
.dq-yes { background: linear-gradient(90deg, var(--sol-a), var(--sol-b)); color: #000; transform: scale(var(--grow, 1)); position: relative; z-index: 2; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 22px rgba(153,69,255,.35); }
.dq-no { background: rgba(120,120,128,.32); transform: scale(var(--shrink, 1)); }
.dq-hint { font-size: 11.5px; opacity: .45; margin-top: 14px; }
.dq-credit { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; }
.dq-credit a { opacity: .7; text-decoration: none; } .dq-credit a:last-child { opacity: 1; font-weight: 600; background: linear-gradient(90deg, #c69cff, var(--sol-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.charge { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.charge .bolt { font-size: 54px; animation: pulse .7s infinite alternate; }
.charge b { font-size: 30px; color: var(--sol-b); }
.charge small { opacity: .7; max-width: 220px; text-align: center; }
@keyframes pulse { to { transform: scale(1.15); filter: drop-shadow(0 0 12px #14F195); } }

/* -------------------------------------------- shared list chrome */
.l-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 16px 4px; }
.big-title { margin: 4px 20px 10px; font-size: 34px; font-weight: 700; letter-spacing: -.03em; }
.big-title.light { color: #fff; }
.search { margin: 0 16px 10px; height: 38px; border-radius: 19px; display: flex; align-items: center; padding: 0 14px; font-size: 16px; color: rgba(60,60,67,.6) !important; }
.av { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--av); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 16px; }
.lst { background: #fff; }
.l-rows { flex: 1; overflow-y: auto; padding-bottom: 30px; }
.l-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.l-mid { flex: 1; min-width: 0; border-bottom: .5px solid var(--sep); padding-bottom: 11px; }
.l-top { display: flex; justify-content: space-between; gap: 8px; } .l-top b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .l-top time { color: #8e8e93; font-size: 14px; flex: none; }
.l-prev { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: #8e8e93; font-size: 15px; overflow: hidden; margin-top: 2px; line-height: 1.3; }
.l-unread { flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ios-blue); color: #fff; font-size: 13px; font-weight: 600; display: grid; place-items: center; }
.lst.tg .l-unread { background: #2AABEE; } .lst.tg .big-title { color: #000; }
.lst.wa .l-unread { background: #25D366; } .lst.wa .l-top time { color: #25D366; }
.lst.imsg .l-unread { background: none; color: var(--ios-blue); font-size: 30px; }

/* ----------------------------------------------------------- chat */
.chat { background: #efeae2; }
.c-head { flex: none; display: flex; align-items: center; gap: 8px; padding: 2px 14px 8px; }
.c-who { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.chat.imsg .c-who, .chat.tg .c-who, .chat.wa .c-who, .chat.xdm .c-who { flex-direction: column; }
.c-av { width: 40px; height: 40px; font-size: 14px; margin-bottom: 3px; }
.c-title { display: flex; flex-direction: column; align-items: center; min-width: 0; max-width: 100%; } .c-title b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; padding: 3px 10px; border-radius: 12px; } .c-title small { font-size: 11px; opacity: .6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.c-acts { width: 44px; display: flex; justify-content: flex-end; }
.c-body { flex: 1; overflow-y: auto; padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.c-row { display: flex; } .c-row.me { justify-content: flex-end; }
.c-bubble { max-width: 78%; padding: 8px 12px; border-radius: 19px; font-size: 16px; line-height: 1.3; word-wrap: break-word; }
.c-bubble.has-img { padding: 4px; } .c-bubble.has-img .c-text { display: block; padding: 4px 6px 2px; }
.c-name { display: block; font-size: 13px; font-weight: 600; color: var(--nc); margin-bottom: 1px; }
.c-day, .c-sys { text-align: center; margin: 8px 0; } .c-day span, .c-sys span { display: inline-block; font-size: 12px; padding: 4px 10px; border-radius: 9px; background: rgba(0,0,0,.06); color: #555; max-width: 88%; }
.c-quote { align-self: center; font-size: 12px; color: #666; font-style: italic; margin: 8px 20px 2px; text-align: center; }
.c-photo { display: block; width: 230px; max-width: 100%; border-radius: 15px; }
.c-input { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px 30px; }
.c-field { flex: 1; height: 40px; display: flex; align-items: center; padding: 0 16px; border-radius: 20px; color: #8e8e93 !important; font-size: 16px; }
/* themes */
.chat.wa { background: #0b141a; color: #e9edef; }
.wa .them .c-bubble { background: #242626; border-top-left-radius: 6px; } .wa .me .c-bubble { background: #144d37; border-top-right-radius: 6px; }
.wa .c-day span, .wa .c-sys span { background: #1d1f1f; color: #8696a0; } .wa .c-quote { color: #8696a0; }
.chat.tg { background: linear-gradient(160deg, #c8e3b3 0%, #86b885 60%, #6aa48a 100%); }
.tg .them .c-bubble { background: #fff; border-bottom-left-radius: 6px; } .tg .me .c-bubble { background: #e3fcd0; border-bottom-right-radius: 6px; }
.tg .c-day span, .tg .c-sys span { background: rgba(0,0,0,.18); color: #fff; }
.chat.imsg { background: #fff; } .imsg .them .c-bubble { background: #e9e9eb; } .imsg .me .c-bubble { background: var(--ios-blue); color: #fff; }
.imsg .c-day span { background: none; color: #8e8e93; }
.chat.xdm { background: #000; color: #e7e9ea; }
.xdm .them .c-bubble { background: #2f3336; } .xdm .me .c-bubble { background: #1d9bf0; }

/* photo placeholders */
.ph-ph { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 4/5; padding: 12px; border-radius: 15px; text-align: center; color: #fff; background: radial-gradient(80% 60% at 30% 20%, hsl(var(--h) 70% 62%), transparent 70%), linear-gradient(150deg, hsl(var(--h) 45% 32%), hsl(calc(var(--h) + 60) 45% 18%)); overflow: hidden; }
.ph-cam { font-size: 20px; opacity: .8; } .ph-cap { font-size: 12.5px; font-weight: 600; line-height: 1.25; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.ph-img { object-fit: cover; aspect-ratio: 4/5; }
.pnl { display: flex; flex-direction: column; gap: 4px; width: 230px; max-width: 100%; padding: 14px; border-radius: 15px; background: radial-gradient(90% 80% at 100% 0%, rgba(74,222,128,.22), transparent 60%), #0c0c0e; color: #fff; border: 1px solid #222; font-family: "Inter", var(--font); }
.pnl-top { font-size: 10px; letter-spacing: .06em; opacity: .75; } .pnl-top b { color: #FF8A3D; } .pnl-big { font-size: 38px; font-weight: 800; color: #4ADE80; letter-spacing: -.03em; }
.pnl-row { display: flex; justify-content: space-between; font-size: 11px; opacity: .7; }

/* ----------------------------------------------- floating tab bar */
.tabbar { position: absolute; z-index: 5; left: 14px; right: 14px; bottom: 22px; height: 64px; border-radius: 32px; display: flex; align-items: center; justify-content: space-around; padding: 4px; }
.tabbar button { flex: 1; height: 56px; border-radius: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: inherit; opacity: .78; }
.tabbar .ti { font-size: 19px; line-height: 1; } .tabbar .tl { font-size: 10.5px; font-weight: 600; }
.tabbar button.on { opacity: 1; background: rgba(127,127,127,.18); color: var(--tab-on, var(--ios-blue)); }
.seg { position: absolute; z-index: 5; left: 50%; transform: translateX(-50%); bottom: 26px; display: flex; padding: 4px; border-radius: 24px; }
.seg button { padding: 10px 18px; border-radius: 20px; font-size: 14.5px; font-weight: 600; } .seg button.on { background: rgba(127,127,127,.2); }

/* ------------------------------------------------------------- X */
.xapp { background: #000; color: #e7e9ea; --tab-on: #fff; }
.x-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 2px 16px 4px; }
.x-logo { font-weight: 800; font-size: 24px; margin: 0 auto; } .x-acct { width: 44px; text-align: right; color: #71767b; font-size: 12px; }
.x-title { flex: none; padding: 6px 16px 8px; font-size: 20px; font-weight: 800; border-bottom: .5px solid #2f3336; }
.x-body { flex: 1; overflow-y: auto; padding-bottom: 110px; }
.x-note { padding: 10px 16px; color: #71767b; font-size: 13px; border-bottom: .5px solid #2f3336; }
.x-post { display: flex; gap: 10px; padding: 12px 16px; border-bottom: .5px solid #2f3336; }
.x-post p { margin: 3px 0 0; font-size: 15.5px; line-height: 1.35; }
.x-post.draft p { color: #d6d9db; }
.x-av { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--sol-a), var(--sol-b)); }
.x-meta { font-size: 15px; } .x-meta span { color: #71767b; } .x-meta .x-check { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #e2b719; color: #000; font-size: 10px; font-weight: 800; }
.x-acts { display: flex; gap: 22px; margin-top: 9px; color: #71767b; font-size: 13px; } .x-acts b { color: #f91880; font-weight: 600; }
.x-ratio { margin-top: 6px; color: #f4212e; font-size: 12.5px; font-weight: 600; }
.x-empty { padding: 40px 28px; text-align: center; color: #71767b; } .x-empty b { color: #e7e9ea; font-size: 18px; }
.x-notif { display: flex; gap: 12px; padding: 13px 16px; border-bottom: .5px solid #2f3336; font-size: 15px; } .x-notif p { margin: 0; } .x-ni { font-size: 20px; width: 26px; }
.x-follow { display: flex; align-items: center; gap: 12px; padding: 10px 16px; } .x-follow .av { width: 40px; height: 40px; font-size: 14px; } .x-follow span:nth-child(2) { flex: 1; }
.x-fbtn { padding: 6px 14px; border-radius: 999px; border: 1px solid #536471; font-size: 13.5px; font-weight: 700; }
.xapp .l-row { color: #e7e9ea; } .xapp .l-mid { border-color: #2f3336; }
.x-fab { position: absolute; z-index: 6; right: 18px; bottom: 100px; width: 58px; height: 58px; border-radius: 50%; background: #1d9bf0; color: #fff; font-size: 24px; display: grid; place-items: center; text-align: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 24px rgba(29,155,240,.45); }
.sheet { position: absolute; inset: 0; z-index: 66; background: rgba(0,0,0,.5); display: flex; align-items: flex-start; padding-top: 64px; animation: fade .2s; }
.sh-card { width: 100%; margin: 0 10px; border-radius: 28px; background: #0f0f10; color: #e7e9ea; border: .5px solid #2f3336; animation: pop .3s; overflow: hidden; }
.sh-card header { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; }
.sh-post { padding: 8px 18px; border-radius: 999px; background: #1d9bf0; color: #fff; font-weight: 700; }
.sh-row { display: flex; gap: 10px; padding: 4px 14px; }
.sh-row textarea { flex: 1; min-height: 130px; background: none; border: 0; outline: none; resize: none; color: #e7e9ea; font: inherit; font-size: 19px; user-select: text; -webkit-user-select: text; }
.sh-card footer { display: flex; justify-content: space-between; padding: 10px 14px; border-top: .5px solid #2f3336; font-size: 12px; color: #71767b; }

/* --------------------------------------------------------- Slack */
.slack { background: #1a1d21; color: #d1d2d3; font-family: "Inter", var(--font); }
.sl-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 2px 16px 12px; background: #4a154b; color: #fff; }
.slack .statusbar { background: #4a154b; }
.sl-ws { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; }
.sl-wsav { width: 32px; height: 32px; border-radius: 9px; background: #fff; color: #4a154b; display: grid; place-items: center; }
.sl-chname { font-weight: 800; font-size: 18px; }
.sl-list { flex: 1; overflow-y: auto; padding: 8px 0 30px; }
.sl-search { margin: 6px 16px 4px; padding: 10px 14px; border-radius: 10px; background: #222529; color: #9a9b9d; font-size: 15px; }
.sl-sec { padding: 16px 16px 6px; font-size: 14px; font-weight: 700; color: #9a9b9d; }
.sl-row { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 18px; font-size: 16.5px; color: #9a9b9d; }
.sl-row.bold { color: #fff; font-weight: 800; }
.sl-hash { width: 18px; text-align: center; opacity: .75; }
.sl-badge { margin-left: auto; padding: 1px 8px; border-radius: 10px; background: #e01e5a; color: #fff; font-size: 12.5px; font-weight: 700; }
.sl-av { width: 36px; height: 36px; border-radius: 9px; font-size: 13px; }
.sl-pin { flex: none; padding: 8px 16px; font-size: 13px; background: #222529; color: #9a9b9d; }
.sl-msgs { flex: 1; overflow-y: auto; padding: 8px 0 14px; }
.sl-msg { display: flex; gap: 10px; padding: 8px 16px; } .sl-msg p { margin: 2px 0 0; font-size: 15.5px; line-height: 1.4; color: #d1d2d3; }
.sl-meta b { color: #fff; font-weight: 800; } .sl-meta time { margin-left: 7px; font-size: 12px; color: #9a9b9d; }
.sl-msg mark { background: rgba(242,199,68,.18); color: #f2c744; border-radius: 4px; padding: 0 3px; }
.sl-input { flex: none; margin: 6px 12px 28px; padding: 12px 14px; border-radius: 12px; border: 1px solid #565856; color: #8b8d8f; font-size: 15px; }

/* ------------------------------------------------------- Solflare */
.solflare { background: #02050A; color: #fff; font-family: "Space Grotesk", var(--font); --tab-on: #FCE94F; }
.sf-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 16px 4px; }
.sf-wallet { display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 6px 14px 6px 6px; border-radius: 999px; background: #14171c; }
.sf-wav { width: 30px; height: 30px; border-radius: 50%; background: #FCE94F; display: grid; place-items: center; }
.sf-total { flex: none; text-align: center; padding: 12px 0 4px; } .sf-total small { color: #8b8f98; font-size: 13px; } .sf-total b { display: block; font-size: 44px; letter-spacing: -.03em; } .sf-total span { font-size: 14px; }
.sf-actions { flex: none; display: flex; justify-content: center; gap: 16px; padding: 16px 0 10px; }
.sf-actions button { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12px; color: #c6c9cf; }
.sf-actions button span { width: 52px; height: 52px; border-radius: 50%; background: #FCE94F; color: #02050A; display: grid; place-items: center; font-size: 19px; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.sf-body { flex: 1; overflow-y: auto; padding: 4px 12px 110px; }
.sf-tok { display: flex; align-items: center; gap: 12px; padding: 11px 8px; border-radius: 16px; }
.sf-ti { flex: none; width: 42px; height: 42px; border-radius: 50%; background: hsl(var(--h) 60% 45%); display: grid; place-items: center; font-weight: 700; }
.sf-tm, .sf-tr { display: flex; flex-direction: column; } .sf-tm { flex: 1; } .sf-tr { align-items: flex-end; }
.sf-tm small, .sf-tr small { font-size: 13px; color: #8b8f98; } .sf-tr small.pos { color: var(--pos); } .sf-tr small.neg { color: var(--neg); }
.sf-tm em { font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: #FCE94F; color: #000; vertical-align: 2px; }
.sf-perp { margin: 8px 4px; padding: 18px; border-radius: 22px; background: #0d1117; border: 1px solid #1d2230; }
.sf-pt { display: flex; justify-content: space-between; align-items: center; } .sf-pbig { font-size: 46px; font-weight: 700; margin-top: 8px; } .sf-psub { color: #8b8f98; font-size: 13px; }
.tag-long { padding: 3px 9px; border-radius: 6px; background: rgba(48,209,88,.16); color: var(--pos); font-weight: 700; font-size: 12.5px; }
.sf-btn { margin-top: 16px; width: 100%; padding: 14px; border-radius: 999px; background: #FCE94F; color: #000; text-align: center; font-weight: 700; }
.sf-act { display: grid; grid-template-columns: 1fr auto; padding: 12px 8px; border-bottom: 1px solid #14171c; } .sf-act small { grid-column: 1; color: #8b8f98; font-size: 13px; } .sf-act time { grid-row: 1; grid-column: 2; color: #6b7079; font-size: 12px; }

/* -------------------------------------------------------- Phoenix */
.phoenix { background: #000; color: #f4f4f5; font-family: "Inter", var(--font); }
.px-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 2px 16px 6px; }
.px-logo { flex: 1; font-weight: 700; letter-spacing: .16em; font-size: 15px; } .px-logo::first-letter { color: #FF8A3D; }
.px-cta { padding: 9px 14px; border-radius: 10px; background: #FF8A3D; color: #000; font-weight: 600; font-size: 13.5px; }
.px-mkt { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 18px; } .px-mkt b { font-size: 22px; } .px-lev { font-size: 11.5px; padding: 2px 7px; border-radius: 6px; background: #27272a; } .px-px { margin-left: auto; font-weight: 600; }
.px-chart { flex: none; width: 100%; height: 100px; }
.px-scroll { flex: 1; overflow-y: auto; padding: 0 14px 30px; }
.px-card, .px-form { margin-top: 10px; padding: 16px; border-radius: 16px; background: #18181b; border: 1px solid #27272a; }
.px-row { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: #a1a1aa; }
.px-pnl { font-size: 48px; font-weight: 800; color: #4ADE80; margin-top: 6px; letter-spacing: -.03em; } .px-pnlusd { color: #4ADE80; font-size: 13.5px; opacity: .85; }
.px-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 0; } .px-card dt { color: #71717a; font-size: 12px; } .px-card dd { margin: 2px 0 0; font-weight: 600; font-size: 14.5px; }
.px-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 12px; background: #27272a; }
.px-seg button { padding: 10px; border-radius: 9px; text-align: center; font-weight: 600; font-size: 14px; color: #a1a1aa; } .px-seg button.on { background: #4ADE80; color: #000; }
.px-field { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 12px; border-radius: 10px; background: #0f0f11; border: 1px solid #27272a; font-size: 13px; color: #a1a1aa; } .px-field b { font-size: 22px; color: #f4f4f5; }
.px-slider { position: relative; height: 4px; margin: 18px 4px; border-radius: 2px; background: #3f3f46; } .px-slider i { position: absolute; left: -4px; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: #e4e4e7; }
.px-btns { display: flex; gap: 10px; margin-top: 6px; } .px-btns button { flex: 1; padding: 13px; border-radius: 12px; text-align: center; font-weight: 700; }
.px-close { background: #FF8A3D; color: #000; } .px-add { background: #27272a; }
.px-sec { margin: 18px 4px 6px; font-size: 12.5px; font-weight: 600; color: #71717a; text-transform: uppercase; letter-spacing: .05em; }
.px-h { display: grid; grid-template-columns: 1fr auto; padding: 10px 4px; border-bottom: 1px solid #27272a; font-size: 14px; } .px-h small { color: #a1a1aa; } .px-h time { grid-row: 1; grid-column: 2; color: #71717a; font-size: 12px; }
.px-note { margin: 14px 4px; color: #71717a; font-size: 12.5px; }

/* -------------------------------------------------------- MoonPay */
.moonpay { background: #F9F8FB; color: #000; }
.mp-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 2px 16px 6px; }
.mp-logo { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; } .mp-logo i { width: 20px; height: 20px; border-radius: 50%; background: #000; box-shadow: 9px -5px 0 -6px #000; }
.mp-scroll { flex: 1; overflow-y: auto; padding-bottom: 30px; }
.mp-card { margin: 6px 16px 10px; padding: 20px 18px; border-radius: 26px; background: #fff; box-shadow: 0 4px 24px rgba(0,0,0,.06); text-align: center; }
.mp-sel { display: flex; justify-content: center; gap: 10px; }
.mp-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #F1F0F5; font-weight: 600; font-size: 14.5px; } .mp-sol { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--sol-a), var(--sol-b)); color: #fff; font-style: normal; display: grid; place-items: center; font-size: 12px; }
.mp-amt { font-size: 58px; font-weight: 600; letter-spacing: -.04em; margin: 18px 0 10px; } .mp-amt sup { font-size: 26px; vertical-align: 26px; margin-right: 2px; }
.mp-chips { display: flex; justify-content: center; gap: 8px; } .mp-chips span { padding: 7px 13px; border-radius: 999px; background: #F1F0F5; font-weight: 600; font-size: 13.5px; } .mp-chips .on { background: #7D00FF; color: #fff; }
.mp-btn { display: block; width: 100%; margin-top: 18px; padding: 15px; border-radius: 999px; background: #7D00FF; color: #fff; text-align: center; font-weight: 600; font-size: 16px; }
.mp-err { margin-top: 10px; color: #d70015; font-size: 13px; }
.mp-sec { padding: 14px 18px 6px; font-size: 13px; font-weight: 600; color: #8e8e93; text-transform: uppercase; letter-spacing: .04em; }
.mp-tx { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: .5px solid var(--sep); background: #fff; }
.mp-ti { width: 38px; height: 38px; border-radius: 50%; background: #F1E6FF; color: #7D00FF; display: grid; place-items: center; }
.mp-tm { flex: 1; display: flex; flex-direction: column; } .mp-tm small { font-size: 12.5px; color: #8e8e93; } .mp-tm small.neg { color: #d70015; }
.mp-st { font-size: 12.5px; font-weight: 600; color: #1a9e4b; } .mp-tx.declined .mp-st { color: #d70015; }

/* ------------------------------------------------------- Collector */
.collector { background: radial-gradient(120% 60% at 50% 0%, #1b2140 0%, #0B1020 55%, #070a14 100%); color: #fff; font-family: "Manrope", var(--font); }
.cc-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 16px 6px; }
.cc-logo { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: .08em; font-size: 18px; } .cc-logo i { width: 18px; height: 22px; border-radius: 4px; background: linear-gradient(160deg, #2E8CFF 50%, #FF7A1A 50%); transform: skewY(-12deg); }
.cc-scroll { flex: 1; overflow-y: auto; padding: 0 16px 30px; }
.cc-hero { font-size: 27px; font-weight: 800; line-height: 1.15; margin: 10px 2px 16px; letter-spacing: -.02em; } .cc-hero em { font-style: normal; color: #FF7A1A; }
.cc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; } .cc-stats div { padding: 12px; border-radius: 16px; background: rgba(255,255,255,.06); text-align: center; border: 1px solid rgba(255,255,255,.08); } .cc-stats b { display: block; font-size: 20px; } .cc-stats small { color: #9aa3c0; font-size: 11.5px; }
.cc-btn { display: block; width: 100%; margin-bottom: 10px; padding: 15px; border-radius: 999px; background: #fff; color: #0B1020; text-align: center; font-weight: 700; letter-spacing: .03em; font-size: 14.5px; }
.cc-btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.cc-sec { margin: 16px 2px 8px; font-size: 12.5px; font-weight: 700; color: #9aa3c0; text-transform: uppercase; letter-spacing: .05em; }
.cc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cc-card { display: flex; flex-direction: column; gap: 2px; font-size: 11px; }
.cc-slab { position: relative; display: flex; flex-direction: column; aspect-ratio: 5/7; padding: 5px; border-radius: 9px; background: linear-gradient(160deg, #e8eef5, #b9c3cf); box-shadow: inset 0 0 0 2px rgba(255,255,255,.6), 0 6px 16px rgba(0,0,0,.35); margin-bottom: 4px; }
.cc-grade { font-size: 9px; font-weight: 800; padding: 2px 4px; border-radius: 3px; background: #d6001c; color: #fff; align-self: stretch; text-align: center; }
.cc-art { flex: 1; display: grid; place-items: center; font-size: 26px; border-radius: 5px; margin-top: 4px; background: #4a5568; color: #fff; }
.tier-legendary .cc-art { background: linear-gradient(160deg, #ffd56b, #ff7a1a 60%, #b8321a); } .tier-epic .cc-art { background: linear-gradient(160deg, #b98cff, #5b2bd6); } .tier-rare .cc-art { background: linear-gradient(160deg, #6fb6ff, #2e5bd6); }
.cc-card b { font-size: 11.5px; line-height: 1.15; } .cc-card small { color: #9aa3c0; } .cc-card time { color: #6b7493; }
.pack-sheet { position: absolute; inset: 0; z-index: 66; background: rgba(5,8,18,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: #fff; animation: fade .25s; font-family: "Manrope", var(--font); }
.pack { position: relative; width: 210px; height: 300px; cursor: pointer; perspective: 800px; }
.pack-wrap { position: absolute; inset: 0; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(160deg, #2E8CFF, #0B1020 55%, #FF7A1A); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25), 0 20px 50px rgba(0,0,0,.5); transition: transform .6s cubic-bezier(.3,.9,.3,1), opacity .6s; animation: wobble 1.6s ease-in-out infinite; }
.pack-wrap b { letter-spacing: .14em; font-size: 18px; } .pack-wrap span { font-size: 13px; opacity: .8; }
@keyframes wobble { 50% { transform: rotate(-2deg) scale(1.02); } }
.pack.ripped .pack-wrap { transform: translateY(-140%) rotate(-14deg); opacity: 0; animation: none; }
.pack-card { position: absolute; inset: 10px; border-radius: 14px; display: flex; flex-direction: column; padding: 10px; background: linear-gradient(160deg, #e8eef5, #b9c3cf); color: #0B1020; transform: rotateY(90deg); transition: transform .5s .35s cubic-bezier(.3,1.3,.4,1); box-shadow: 0 16px 40px rgba(0,0,0,.5); text-align: center; }
.pack.ripped .pack-card { transform: none; }
.pc-grade { font-size: 11px; font-weight: 800; padding: 3px; border-radius: 4px; background: #d6001c; color: #fff; }
.pc-art { flex: 1; display: grid; place-items: center; font-size: 60px; color: #fff; border-radius: 8px; margin: 8px 0; background: #4a5568; }
.pack.grail .pc-art { background: linear-gradient(160deg, #ffd56b, #ff7a1a 55%, #b8321a); }
.pack.grail.ripped .pack-card { box-shadow: 0 0 0 3px #ffd56b, 0 0 60px rgba(255,180,60,.75); }
.pack-card b { font-size: 14px; line-height: 1.2; } .pack-card small { font-weight: 800; font-size: 15px; margin-top: 4px; color: #d6001c; }
.pack-line { min-height: 28px; font-size: 22px; font-weight: 800; opacity: 0; transition: opacity .3s; text-align: center; padding: 0 20px; }
.pack-sheet.revealed .pack-line { opacity: 1; }
.pack-btns { display: flex; gap: 10px; opacity: 0; transition: opacity .3s .2s; } .pack-sheet.revealed .pack-btns { opacity: 1; }
.pack-btns button { padding: 12px 18px; border-radius: 999px; background: #fff; color: #0B1020; font-weight: 700; font-size: 14px; } .pack-btns button + button { background: rgba(255,255,255,.14); color: #fff; }

/* --------------------------------------------------- TradingView */
.tv { background: #000; color: #dbdbdb; font-family: "Inter", var(--font); }
.tv-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 2px 16px 8px; } .tv-sym { flex: 1; display: flex; flex-direction: column; } .tv-sym small { color: #7f7f7f; font-size: 11.5px; }
.tv-last { display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; } .tv-last small { font-size: 12px; }
.tv-scroll { flex: 1; overflow-y: auto; padding-bottom: 30px; }
.tv-chart { display: block; width: 100%; height: 230px; border-top: 1px solid #1f1f1f; border-bottom: 1px solid #1f1f1f; }
.tv-sec { padding: 14px 16px 6px; font-size: 12.5px; font-weight: 600; color: #7f7f7f; text-transform: uppercase; letter-spacing: .05em; }
.tv-w { display: grid; grid-template-columns: 1fr auto 72px; gap: 10px; padding: 11px 16px; border-bottom: 1px solid #1a1a1a; font-size: 15px; } .tv-w span:last-child { text-align: right; }
.tv-a { display: flex; flex-direction: column; padding: 11px 16px; border-bottom: 1px solid #1a1a1a; } .tv-a small { color: #7f7f7f; } .tv-a.off { opacity: .5; }

/* ------------------------------------------------------ Breakpoint */
.bp { background: radial-gradient(110% 60% at 20% 0%, #3a1a7a 0%, #0c0a1c 55%), #0c0a1c; color: #fff; --tab-on: #14F195; }
.bp-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 2px 16px 4px; }
.bp-logo { font-weight: 800; letter-spacing: .2em; font-size: 14px; background: linear-gradient(90deg, #c69cff, var(--sol-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bp-scroll { flex: 1; overflow-y: auto; padding: 0 16px 120px; }
.bp-badge { display: flex; flex-direction: column; align-items: center; padding-top: 4px; }
.bp-lanyard { width: 34px; height: 40px; background: repeating-linear-gradient(90deg, var(--sol-a) 0 8px, var(--sol-b) 8px 16px); border-radius: 0 0 6px 6px; }
.bp-card { width: 270px; margin-top: -4px; padding: 20px 18px; border-radius: 26px; background: #fff; color: #0c0a1c; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.5); animation: swing 4s ease-in-out infinite; transform-origin: top center; }
@keyframes swing { 50% { transform: rotate(1.5deg); } }
.bp-top { font-weight: 800; letter-spacing: .18em; font-size: 13px; } .bp-top b { background: linear-gradient(90deg, var(--sol-a), #0fbf7a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bp-city { font-size: 10.5px; letter-spacing: .12em; color: #6b6b80; margin-top: 4px; }
.bp-name { font-size: 26px; font-weight: 800; margin-top: 16px; letter-spacing: -.02em; }
.bp-role { display: inline-block; margin-top: 6px; padding: 4px 12px; border-radius: 999px; background: #0c0a1c; color: var(--sol-b); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.bp-qr { width: 140px; height: 140px; margin: 16px auto 6px; display: block; fill: #0c0a1c; shape-rendering: crispEdges; }
.bp-access { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 8px; } .bp-access span { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: #f0eefa; }
.bp-note { margin-top: 10px; font-size: 11px; color: #6b6b80; }
.bp-day { margin: 16px 2px 6px; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--sol-b); text-transform: uppercase; }
.bp-ses { display: flex; gap: 14px; padding: 12px 14px; margin-bottom: 8px; border-radius: 18px; background: rgba(255,255,255,.07); border: .5px solid rgba(255,255,255,.12); }
.bp-ses time { flex: none; width: 46px; font-weight: 700; color: #c69cff; font-size: 14px; } .bp-ses span { display: flex; flex-direction: column; } .bp-ses small { color: rgba(255,255,255,.55); font-size: 12.5px; margin-top: 2px; }
.bp-map { position: relative; height: 340px; border-radius: 22px; background: rgba(255,255,255,.05); border: .5px solid rgba(255,255,255,.14); }
.bp-hall { position: absolute; display: flex; flex-direction: column; gap: 3px; padding: 10px; border-radius: 14px; background: rgba(153,69,255,.22); border: 1px solid rgba(198,156,255,.5); font-size: 12.5px; }
.bp-hall small { color: rgba(255,255,255,.6); font-size: 11px; line-height: 1.2; } .bp-hall.me { background: rgba(20,241,149,.18); border-color: rgba(20,241,149,.6); }
.bp-you { margin-top: auto; color: var(--sol-b); font-size: 11px; font-weight: 700; animation: pulse2 1.2s infinite alternate; } @keyframes pulse2 { to { opacity: .4; } }
.bp-mapnote { color: rgba(255,255,255,.6); font-size: 13px; margin: 12px 2px; } .bp-mapnote a { color: var(--sol-b); }

/* ------------------------------------------------- system apps */
.notes, .mail, .phone, .contacts, .calendar, .photos, .st { background: #f2f2f7; overflow-y: auto !important; }
.notes .search, .mail .search, .contacts .search { --gl-bg: rgba(118,118,128,.12); --gl-brd: transparent; box-shadow: none; }
.n-group { margin: 0 16px; border-radius: 26px; background: #fff; overflow: hidden; }
.n-row { width: 100%; display: flex; flex-direction: column; padding: 12px 18px; border-bottom: .5px solid var(--sep); } .n-row b { font-weight: 600; } .n-row small { color: #8e8e93; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n-count { text-align: center; color: #8e8e93; font-size: 12.5px; padding: 16px 16px 40px; }
.note-v { background: #fff; }
.n-date { text-align: center; color: #8e8e93; font-size: 13px; } .n-title { margin: 8px 20px 10px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.n-body { padding: 0 20px 60px; font-size: 17px; line-height: 1.5; } .n-body p { margin: 0; }
.chk { width: 100%; display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; } .chk .box { flex: none; width: 23px; height: 23px; border-radius: 50%; border: 1.5px solid #c7c7cc; display: grid; place-items: center; color: #fff; font-size: 13px; margin-top: 1px; }
.chk.done .box { background: #f7b500; border-color: #f7b500; } .chk.done > span:last-child { color: #8e8e93; text-decoration: line-through; }
.m-list { margin: 0 16px 40px; border-radius: 26px; background: #fff; overflow: hidden; }
.m-row { position: relative; width: 100%; display: flex; flex-direction: column; padding: 11px 16px 11px 30px; border-bottom: .5px solid var(--sep); }
.m-dot { position: absolute; left: 11px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--ios-blue); }
.m-top { display: flex; justify-content: space-between; } .m-top b { font-weight: 600; } .m-top time { color: #8e8e93; font-size: 14px; } .m-subj { font-size: 15px; } .m-prev { color: #8e8e93; font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-open { margin: 4px 16px; padding: 18px; border-radius: 26px; background: #fff; } .m-from { display: flex; align-items: center; gap: 10px; } .m-from time { margin-left: auto; color: #8e8e93; font-size: 13px; } .m-open h2 { font-size: 21px; letter-spacing: -.02em; } .m-open p { font-size: 16px; line-height: 1.5; }
.phone { background: #fff; overflow: hidden !important; }
.ph-scroll { flex: 1; overflow-y: auto; padding-bottom: 110px; display: flex; flex-direction: column; }
.kp { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 10px; }
.kp-num { font-size: 38px; min-height: 48px; letter-spacing: 1px; font-weight: 400; }
.kp-match { color: var(--ios-blue); font-size: 14.5px; min-height: 22px; margin: 4px 0 16px; }
.kp-keys { display: grid; grid-template-columns: repeat(3, 78px); gap: 16px 26px; }
.kp-keys button { width: 78px; height: 78px; border-radius: 50%; background: #e5e5ea; display: flex; flex-direction: column; align-items: center; justify-content: center; } .kp-keys b { font-size: 34px; font-weight: 400; line-height: 1; } .kp-keys small { font-size: 10px; letter-spacing: .14em; font-weight: 700; }
.kp-bot { display: grid; grid-template-columns: repeat(3, 78px); gap: 26px; margin-top: 16px; align-items: center; }
.kp-call { width: 78px; height: 78px; border-radius: 50%; background: #34c759; color: #fff; font-size: 32px; display: grid; place-items: center; } .kp-del { font-size: 22px; color: #8e8e93; text-align: center; }
.rc, .vm { margin: 0 16px; padding: 12px 4px; border-bottom: .5px solid var(--sep); display: flex; flex-direction: column; } .rc small, .vm p { color: #8e8e93; font-size: 14.5px; margin: 2px 0 0; } .rc.miss b { color: #ff3b30; }
.vm-top { display: flex; justify-content: space-between; } .vm-top span { color: #8e8e93; }
.call { position: absolute; inset: 0; z-index: 64; display: flex; flex-direction: column; align-items: center; padding-top: 130px; color: #fff; background: linear-gradient(180deg, #3a3a3c, #1c1c1e); animation: fade .25s; }
.call-name { font-size: 34px; font-weight: 600; } .call-st { margin-top: 8px; opacity: .75; text-align: center; padding: 0 30px; }
.call-end { margin-top: auto; margin-bottom: 80px; width: 76px; height: 76px; border-radius: 50%; background: #ff3b30; color: #fff; font-size: 30px; display: grid; place-items: center; transform: rotate(135deg); }
.ct-me { width: calc(100% - 32px); margin: 0 16px 10px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 26px; background: #fff; } .ct-me span { display: flex; flex-direction: column; } .ct-me small { color: #8e8e93; }
.ct-meav { width: 56px; height: 56px; }
.ct-sec { padding: 14px 20px 6px; font-size: 13px; font-weight: 600; color: #8e8e93; text-transform: uppercase; letter-spacing: .04em; }
.ct-row { width: calc(100% - 32px); margin: 0 16px; display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px; background: #fff; border-bottom: .5px solid var(--sep); font-size: 16.5px; } .ct-row small { color: #8e8e93; font-size: 13.5px; }
.ct-card { display: flex; flex-direction: column; align-items: center; padding: 20px; } .ct-big { width: 104px; height: 104px; font-size: 36px; } .ct-card h1 { font-size: 26px; text-align: center; letter-spacing: -.02em; }
.ct-acts { display: flex; gap: 10px; } .ct-acts button { width: 74px; padding: 11px 0; border-radius: 16px; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ios-blue); font-size: 12px; } .ct-acts span { font-size: 20px; }
.facetime { background: #000; color: #fff; overflow-y: auto !important; }
.ft-links { display: flex; gap: 10px; padding: 0 16px 14px; } .ft-links button { flex: 1; padding: 13px; border-radius: 999px; background: #1c1c1e; text-align: center; font-weight: 600; } .ft-links .ft-new { background: #30d158; color: #000; }
.ft-row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: .5px solid #222; } .ft-row > span:not(.av) { flex: 1; display: flex; flex-direction: column; min-width: 0; } .ft-row small { color: #8e8e93; font-size: 13px; } .ft-row time { color: #8e8e93; font-size: 13px; } .ft-row.miss b { color: #ff453a; }
.calendar .nav-back { color: #ff3b30; }
.cal-wd, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); padding: 0 8px; } .cal-wd span { text-align: center; font-size: 12px; color: #8e8e93; padding-bottom: 6px; }
.cd { display: flex; flex-direction: column; align-items: center; padding: 6px 0; min-height: 48px; border-top: .5px solid var(--sep); } .cd b { font-weight: 500; font-size: 17px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; }
.cd.bp b { background: linear-gradient(135deg, var(--sol-a), var(--sol-b)); color: #fff; } .cd.today b { background: #ff3b30; color: #fff; } .cd.empty { border: 0; }
.dots { display: flex; gap: 2px; margin-top: 2px; } .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--c, #8e8e93); }
.dot.orange, .ag.orange { --c: #ff9500; } .dot.blue, .ag.blue { --c: #007aff; } .dot.purple, .ag.purple { --c: #9945FF; } .dot.green, .ag.green { --c: #34c759; } .dot.red, .ag.red { --c: #ff3b30; } .dot.gray, .ag.gray { --c: #8e8e93; } .dot.side, .ag.side { --c: #14c38a; }
.cal-sec { padding: 16px 20px 6px; font-size: 13px; font-weight: 600; color: #8e8e93; text-transform: uppercase; letter-spacing: .04em; } .cal-sec a { float: right; color: var(--ios-blue); text-decoration: none; text-transform: none; }
.ag { display: flex; gap: 12px; padding: 10px 16px; margin: 0 14px 6px; border-radius: 16px; background: #fff; border-left: 4px solid var(--c); font-size: 15px; }
.ag-d { flex: none; width: 58px; color: #8e8e93; font-size: 13px; } .ag-t { display: flex; flex-direction: column; } .ag-t small { color: #8e8e93; font-size: 12px; }
.calendar > .ag:last-child { margin-bottom: 40px; }
.photos { background: #fff; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding-bottom: 110px; }
.ph-grid button { display: block; } .ph-grid .ph-thumb, .ph-grid .pnl { width: 100%; aspect-ratio: 1; border-radius: 0; } .ph-grid .ph-cap { font-size: 10.5px; } .ph-grid .pnl-big { font-size: 22px; } .ph-grid .pnl { padding: 8px; border: 0; }
.photos .seg { position: fixed; position: absolute; }
.viewer { background: #000; color: #fff; }
.v-count { font-size: 14px; font-weight: 600; }
.v-stage { flex: 1; display: grid; place-items: center; padding: 10px; } .v-photo { width: 100%; max-height: 100%; border-radius: 6px; } .v-stage .pnl { width: 86%; } .v-stage .pnl-big { font-size: 60px; }
.v-cap { flex: none; text-align: center; padding: 6px 20px 10px; font-size: 14px; opacity: .85; }
.v-nav { flex: none; display: flex; justify-content: space-around; align-items: center; margin: 0 40px 30px; height: 54px; border-radius: 27px; font-size: 20px; } .v-nav button { font-size: 30px; padding: 0 12px; }
.camera { background: #000; color: #fff; } .camera > .nav-back { position: absolute; top: 58px; left: 14px; z-index: 3; }
.cam-top { flex: none; display: flex; justify-content: center; gap: 70px; align-items: center; padding: 58px 0 8px; } .cam-rec { color: #ff3b30; font-size: 12px; }
.cam-view { position: relative; flex: 1; background: #111; overflow: hidden; } .cam-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; background: radial-gradient(70% 50% at 50% 45%, #2b2b33, #0c0c0f); } .cam-ph.gone { display: none; } .cam-ph span { color: #ff3b30; animation: pulse 1s infinite alternate; } .cam-ph p { opacity: .7; font-size: 14px; }
.cam-modes { flex: none; display: flex; justify-content: center; gap: 16px; padding: 14px 0; font-size: 13px; font-weight: 600; color: #aaa; } .cam-modes b { color: #ffd60a; }
.cam-bot { flex: none; display: flex; align-items: center; justify-content: space-around; padding: 6px 0 36px; }
.cam-thumb { width: 46px; height: 46px; border-radius: 10px; background: #333; } .cam-shutter { width: 74px; height: 74px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #000, 0 0 0 7px #fff; }
.weather { background: linear-gradient(180deg, #4a6a92 0%, #2b4061 55%, #1c2a42 100%); color: #fff; }
.w-scroll { flex: 1; overflow-y: auto; padding-bottom: 40px; }
.w-top { text-align: center; padding: 6px 0 22px; } .w-top small { font-size: 12px; font-weight: 600; letter-spacing: .06em; opacity: .7; } .w-top h1 { margin: 2px 0 0; font-size: 34px; font-weight: 500; } .w-temp { font-size: 100px; font-weight: 200; line-height: 1; } .w-cond { font-size: 20px; opacity: .9; } .w-hl { font-size: 18px; font-weight: 500; }
.w-card { margin: 0 16px 12px; padding: 13px 16px; border-radius: 26px; } .w-lab { font-size: 12px; opacity: .65; font-weight: 600; margin-bottom: 8px; letter-spacing: .04em; } .w-card p { margin: 0; font-size: 15px; }
.w-hours { display: flex; justify-content: space-between; } .w-hours span { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 15px; } .w-hours small { opacity: .8; font-weight: 600; }
.st-card { margin: 0 16px; padding: 18px; border-radius: 26px; background: #fff; display: flex; flex-direction: column; gap: 4px; } .st-card > b { font-size: 36px; letter-spacing: -.03em; } .st-card > small { color: #8e8e93; }
.st-app { display: grid; grid-template-columns: 110px 1fr 64px; gap: 8px; align-items: center; font-size: 14.5px; margin-top: 9px; } .st-app time { text-align: right; color: #8e8e93; font-size: 13px; }
.st-bar { height: 8px; border-radius: 4px; background: #eee; overflow: hidden; } .st-bar i { display: block; height: 100%; background: linear-gradient(90deg, #8B5CF6, #5B3FD6); border-radius: 4px; }
.st-pick { margin-top: 12px; }
.spotify { background: linear-gradient(180deg, #1f1f1f 0%, #121212 30%); color: #fff; overflow-y: auto !important; font-family: "Inter", var(--font); }
.sp-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 16px; } .sp-row span:last-child { display: flex; flex-direction: column; } .sp-row small, .sp-tr small { color: #a7a7a7; font-size: 13px; }
.sp-cover { flex: none; width: 58px; height: 58px; border-radius: 6px; display: flex; align-items: flex-end; padding: 6px; background: linear-gradient(135deg, hsl(var(--h) 70% 55%), hsl(calc(var(--h) + 50) 60% 25%)); } .sp-cover b { font-size: 8.5px; line-height: 1.05; }
.sp-hero { display: flex; flex-direction: column; align-items: center; padding: 6px 16px 14px; text-align: center; } .sp-hero .sp-cover { width: 190px; height: 190px; padding: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.5); } .sp-hero .sp-cover b { font-size: 22px; } .sp-hero h1 { font-size: 24px; margin: 16px 0 2px; letter-spacing: -.02em; }
.sp-play { margin-top: 12px; width: 56px; height: 56px; border-radius: 50%; background: #1ED760; color: #000; display: grid; place-items: center; font-size: 22px; text-decoration: none; text-align: center; }
.sp-tr { width: 100%; display: flex; gap: 14px; align-items: center; padding: 8px 18px; } .sp-tr > span:last-child { display: flex; flex-direction: column; } .sp-n { width: 18px; color: #a7a7a7; text-align: right; }
.spotify > .sp-tr:last-child, .spotify > .sp-row:last-child { margin-bottom: 40px; }

.w-bp .w-big { font-size: 24px; }
.dq-credit a.dq-code { opacity: .9; font-weight: 600; } .dq-code b { color: var(--sol-b); }
.dq-credit a:last-child { opacity: 1; }
.bp-code { display: block; margin: 0 0 12px; padding: 13px 16px; border-radius: 18px; text-decoration: none; font-size: 14.5px; } .bp-code b { color: var(--sol-b); }
.x-acct { width: auto; font-size: 12px; color: #71767b; }
.x-intern { margin-top: 6px; font-size: 12.5px; color: #f7b500; font-style: italic; }
.x-open { margin-left: auto; color: #1d9bf0; text-decoration: none; font-size: 13px; }
.bp-real { font-style: normal; color: var(--sol-b); font-weight: 700; }
.bp-ses small a { color: #c69cff; }
a.bp-ses { color: inherit; text-decoration: none; }
a.ag { color: inherit; text-decoration: none; }
.dq-credit .dq-code b { color: var(--sol-b); }
.gl { display: block; flex: none; }
.search .gl { opacity: .7; margin-right: 6px; display: inline-block; vertical-align: -3px; }
.tabbar .ti { height: 24px; display: grid; place-items: center; }
.x-logo .gl { display: block; }
.sf-actions button span .gl { margin: auto; }
.ct-acts span .gl { margin: 0 auto 2px; }
.v-nav .gl { display: block; }

/* ===================== v5 ===================== */
/* side buttons on the desktop frame (pure CSS, no Apple artwork) */
.side-btns { display: none; }
@media (min-width: 500px) and (min-height: 600px) {
  .is-framed .side-btns { display: block; position: absolute; left: 0; top: 0; width: 393px; height: 852px; transform-origin: 0 0; transform: translate(var(--px, 0px), var(--py, 0px)) scale(var(--s, 1)); pointer-events: none; }
  .side-btns i { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #2c2a31, #4a4750); }
  .side-btns .act { left: -17px; top: 150px; height: 32px; }
  .side-btns .vu { left: -17px; top: 210px; height: 62px; }
  .side-btns .vd { left: -17px; top: 284px; height: 62px; }
  .side-btns .pw { right: -17px; top: 236px; height: 96px; }
  .side-btns .cc { right: -17px; top: 520px; height: 46px; opacity: .8; }
}

/* lock screen */
.lk-ni { overflow: hidden; background: #333; }
.lk-ni img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lk-notif { cursor: pointer; }
.lk-hidden { opacity: .7; }
.lk-time { cursor: default; }

/* real post card */
.real-card { display: block; padding: 12px 14px; border-radius: 18px; background: #fff; color: #0f1419; border: .5px solid rgba(0,0,0,.12); box-shadow: 0 4px 18px rgba(0,0,0,.12); text-decoration: none; font-size: 15px; line-height: 1.35; text-align: left; }
.rc-top { display: flex; gap: 6px; align-items: center; font-size: 13.5px; color: #536471; } .rc-top b { color: #0f1419; }
.rc-x { margin-left: auto; color: #0f1419; display: inline-flex; }
.rc-text { display: block; margin: 6px 0 8px; white-space: normal; overflow-wrap: anywhere; }
.rc-foot { display: flex; justify-content: space-between; font-size: 12.5px; color: #536471; } .rc-foot span:last-child { color: #1d9bf0; font-weight: 600; }
.real-card.in-note { margin: 4px 0 14px; box-shadow: none; background: #f7f7f9; font-size: 14px; }
.real-card.indent { margin-left: 34px; }
.real-card.big { width: 90%; font-size: 19px; }
.real-card.small { font-size: 13.5px; }

/* Face ID */
.faceid { position: absolute; inset: 0; z-index: 90; display: grid; place-items: center; animation: fade .15s; }
.fi-box { width: 150px; height: 150px; border-radius: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; --gl-bg: rgba(40,40,44,.72); --gl-ink: #fff; font-size: 15px; }
.fi-icon { color: #fff; transition: color .2s; }
.faceid.fail .fi-icon { color: #ff453a; }
.faceid.fail .fi-box { animation: shake .45s; }

/* passcode */
.passcode { position: absolute; inset: 0; z-index: 45; color: #fff; display: flex; flex-direction: column; align-items: center; background: rgba(10,10,18,.55); -webkit-backdrop-filter: blur(28px) saturate(1.4); backdrop-filter: blur(28px) saturate(1.4); animation: fade .25s; }
.passcode::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url(../assets/media/wallpaper.jpg) center/cover; filter: blur(30px) brightness(.55); transform: scale(1.2); }
.passcode.ok { opacity: 0; transform: scale(1.06); transition: .35s; }
.pc-top { margin-top: 112px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 20px; }
.pc-top b { font-weight: 500; }
.pc-dots { display: flex; gap: 22px; margin-top: 6px; } .pc-dots i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid #fff; } .pc-dots i.on { background: #fff; }
.pc-msg { min-height: 40px; max-width: 300px; text-align: center; font-size: 14px; opacity: .85; line-height: 1.35; } .pc-msg.reveal { color: #14F195; opacity: 1; font-weight: 600; }
.pc-top.shake { animation: shake .45s; }
.pc-keys { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 80px); gap: 16px 26px; }
.pc-keys button { width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; transition: background .1s; }
.pc-keys button:active { background: rgba(255,255,255,.4); }
.pc-keys b { font-size: 36px; font-weight: 400; } .pc-keys small { font-size: 10px; letter-spacing: .18em; font-weight: 600; margin-top: 2px; }
.pc-bot { margin-top: auto; margin-bottom: 44px; width: 80%; display: flex; justify-content: space-between; font-size: 16px; }

/* toly notification sheet */
.nsheet { position: absolute; inset: 0; z-index: 62; padding: 120px 14px 0; display: flex; flex-direction: column; gap: 12px; background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); color: #fff; animation: fade .2s; }
.ns-notif { display: flex; gap: 11px; align-items: center; padding: 14px; border-radius: 24px; font-size: 15px; line-height: 1.3; animation: pop .3s; }
.ns-notif small { float: right; opacity: .6; font-size: 12.5px; } .ns-notif > span:last-child { flex: 1; }
.ns-label { margin: 6px 6px -4px; font-size: 13px; opacity: .75; font-weight: 600; }
.ns-menu { width: 220px; border-radius: 22px; overflow: hidden; --gl-bg: rgba(250,250,252,.82); --gl-ink: #111; }
.ns-menu button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; font-size: 16px; border-bottom: .5px solid var(--sep); flex-direction: row-reverse; } .ns-menu button:last-child { border: 0; }
.ns-foot { margin-top: auto; margin-bottom: 30px; text-align: center; font-size: 11px; opacity: .55; }

/* reply sheet */
.rsheet { position: absolute; inset: 0; z-index: 63; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; animation: fade .2s; }
.rs-card { width: 100%; height: 84%; background: #fff; color: #000; border-radius: 30px 30px 0 0; display: flex; flex-direction: column; animation: up .3s cubic-bezier(.2,.85,.25,1); }
@keyframes up { from { transform: translateY(40%); } to { transform: none; } }
.rs-card header { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding: 14px 16px 6px; text-align: center; } .rs-card header button { color: var(--ios-blue); text-align: left; font-size: 16px; } .rs-card header b { font-size: 16px; } .rs-card header small { color: #8e8e93; font-size: 11px; text-align: right; }
.rs-body { flex: 1; overflow-y: auto; padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; }
.rs-body .c-row { display: flex; flex-direction: column; } .rs-body .c-row.me { align-items: flex-end; } .rs-body .c-row.them { align-items: flex-start; }
.rs-body .c-bubble { position: relative; max-width: 78%; padding: 8px 13px; border-radius: 19px; font-size: 16px; line-height: 1.3; background: #e9e9eb; }
.rs-body .me .c-bubble { background: var(--ios-blue); color: #fff; }
.rs-nd { font-size: 11px; color: #ff3b30; margin: 3px 4px 0; } .rs-nd span { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: #ff3b30; color: #fff; font-size: 10px; font-weight: 800; }
.rs-tap { position: absolute; top: -14px; left: -12px; background: #e9e9eb; border: 2px solid #fff; border-radius: 14px; padding: 1px 5px; font-size: 14px; animation: pop .3s; }
.rs-brain { align-self: stretch; margin: 4px 30px 8px 0; padding: 10px 13px; border-radius: 16px; background: #f2f2f7; color: #3a3a3c; font-style: italic; font-size: 14.5px; animation: pop .3s; }
.rs-brain small { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8e8e93; margin-bottom: 2px; }
.rs-brain.warn { background: #fff3cd; color: #6b4e00; } .rs-brain.done { font-style: normal; text-align: center; margin-right: 0; } .rs-brain.done button { color: var(--ios-blue); margin-left: 6px; }
.rs-input { display: flex; gap: 8px; padding: 8px 12px; border-top: .5px solid var(--sep); }
.rs-input input { flex: 1; height: 38px; border-radius: 19px; border: 1px solid #d1d1d6; padding: 0 14px; font: inherit; font-size: 16px; outline: none; user-select: text; -webkit-user-select: text; }
.rs-send { width: 38px; height: 38px; border-radius: 50%; background: var(--sol-a); color: #fff; display: grid; place-items: center; }
.rs-legal { text-align: center; font-size: 10.5px; color: #8e8e93; padding: 0 0 28px; }

/* Big Week counter */
.bigweek { position: absolute; inset: 0; z-index: 64; display: flex; flex-direction: column; align-items: center; padding: 70px 22px 24px; color: #fff; background: radial-gradient(120% 70% at 50% 0%, #2a1250 0%, #07070c 70%); animation: fade .25s; overflow-y: auto; }
.bw-close { position: absolute; top: 56px; right: 16px; min-width: 40px; height: 40px; padding: 0; }
.bw-k { margin-top: 28px; font-size: 12px; letter-spacing: .3em; font-weight: 700; opacity: .7; }
.bw-num { font-family: "New York", "Iowan Old Style", Georgia, "Times New Roman", serif; font-size: 132px; line-height: 1.05; font-weight: 700; background: linear-gradient(135deg, var(--sol-a), var(--sol-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bw-num.bump { animation: bump .25s; } @keyframes bump { 50% { transform: scale(1.08); } }
.bw-sub { font-size: 13px; opacity: .65; }
.bw-cap { min-height: 44px; margin: 14px 0 8px; text-align: center; font-size: 17px; font-weight: 600; max-width: 300px; } .bw-cap.pop { animation: pop .35s; }
.bw-btn { padding: 16px 44px; border-radius: 30px; font-size: 20px; font-weight: 800; color: #000; background: linear-gradient(90deg, var(--sol-a), var(--sol-b)); box-shadow: 0 8px 30px rgba(153,69,255,.4); }
.bw-btn:active { transform: scale(.96); }
.bw-latest { margin: 26px 0 6px; font-size: 12px; opacity: .6; align-self: flex-start; }
.bigweek .real-card { align-self: stretch; }
.bw-foot { margin-top: auto; padding-top: 18px; font-size: 11px; opacity: .55; text-align: center; } .bw-foot button { color: #fff; text-decoration: underline; }

/* share pill (outside the phone) */
.share-pill { position: fixed; z-index: 200; display: flex; align-items: center; gap: 7px; color: #fff; font: 600 14px var(--font); background: rgba(40,40,46,.6); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: 999px; box-shadow: 0 6px 24px rgba(0,0,0,.35); cursor: pointer; }
.share-pill { right: 8px; bottom: 150px; width: 44px; height: 44px; justify-content: center; padding: 0; opacity: .8; }
.share-pill span { display: none; }
@media (min-width: 500px) and (min-height: 600px) {
  .share-pill { right: auto; left: min(calc(var(--px, 0px) + 393px * var(--s, 1) + 30px), calc(100vw - 120px)); bottom: 14vh; width: auto; height: 38px; padding: 0 16px; opacity: 1; }
  .share-pill span { display: inline; }
}
body.capturing .share-pill { visibility: hidden; }

/* notes */
.n-sec { margin: 6px 22px 6px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.n-group + .n-sec { margin-top: 18px; }

/* photos: albums */
.al-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; padding: 0 16px 120px; }
.al-tile { display: flex; flex-direction: column; text-align: left; gap: 2px; font-size: 15px; } .al-tile b { font-weight: 600; margin-top: 6px; display: flex; align-items: center; gap: 4px; } .al-tile small { color: #8e8e93; font-size: 14px; }
.al-cover { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #ddd; }
.al-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.al-blur { position: absolute; inset: -10px; display: grid; grid-template-columns: 1fr 1fr; filter: blur(14px) saturate(1.2); } .al-blur img { height: 100%; }
.al-lock { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.12); }
.al-note { margin: -4px 20px 12px; font-size: 13px; color: #8e8e93; }
.ph-quote { display: flex !important; flex-direction: column; justify-content: center; gap: 4px; padding: 10px; background: #fff; text-align: left; font-size: 11.5px; line-height: 1.25; color: #0f1419; overflow: hidden; }
.ph-quote b { font-size: 10.5px; color: #536471; }
.ph-quote span { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.v-credit { display: block; text-align: center; margin: -4px 0 12px; font-size: 13px; color: #1d9bf0; text-decoration: none; font-weight: 600; }
.ph-img { object-fit: cover; }

/* screen time */
.st-note { font-size: 13px; color: #8e8e93; }
.st-week { display: flex; gap: 10px; height: 96px; margin: 12px 0 6px; align-items: flex-end; }
.st-week span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; } .st-week i { width: 100%; border-radius: 4px; background: linear-gradient(180deg, #8B5CF6, #5B3FD6); } .st-week small { font-size: 10px; color: #8e8e93; }
.st-rep { color: #8e8e93; }
.st-sec { margin: 18px 30px 6px; font-size: 12.5px; color: #8e8e93; font-weight: 500; letter-spacing: .02em; }
.st .st-card + .st-card { margin-top: 14px; }
.st-app { display: block; margin: 4px 0 10px; } .st-app small { display: block; color: #8e8e93; font-size: 12.5px; margin-top: 4px; line-height: 1.3; }
.st-row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 4px; } .st-row b { font-weight: 600; }
.st-mini { flex-direction: row !important; gap: 14px !important; margin-bottom: 40px; } .st-mini > div { flex: 1; } .st-mini small { color: #8e8e93; font-size: 12px; } .st-mini b { display: block; font-size: 15px; margin-top: 2px; }
.st { padding-bottom: 30px; }
.st-hg { display: block; color: #5B3FD6; margin-bottom: 6px; }

/* settings */
.settings { background: #f2f2f7; }
.se-scroll { flex: 1; overflow-y: auto; padding-bottom: 40px; }
.se-title { font-size: 17px; font-weight: 600; }
.settings .search { --gl-bg: rgba(118,118,128,.12); --gl-brd: transparent; box-shadow: none; }
.se-group { margin: 0 16px 22px; border-radius: 26px; background: #fff; overflow: hidden; }
.se-row { width: 100%; min-height: 50px; display: flex; align-items: center; gap: 12px; padding: 8px 16px; font-size: 16.5px; text-align: left; border-bottom: .5px solid var(--sep); }
.se-row:last-child { border: 0; }
.se-row > span:not(.se-ic):not(.av) { flex: 1; }
.se-row > b { font-weight: 400; color: #8e8e93; display: inline-flex; align-items: center; gap: 6px; font-size: 15.5px; max-width: 60%; text-align: right; }
.se-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; }
.se-acct .av { width: 58px; height: 58px; font-size: 20px; }
.se-acct > span:nth-child(2) { display: flex; flex-direction: column; } .se-acct small { color: #8e8e93; font-size: 13px; }
.se-bw { cursor: pointer; -webkit-touch-callout: none; } .se-bw:active { background: #e5e5ea; }
.st-app .st-bar { display: block; height: 8px; width: 100%; }
.ph-quote { background: #f7f9f9 !important; border: .5px solid #e1e8ed; }
.share-pill { width: 40px; height: 40px; opacity: .6; }
#phone *, #phone { scrollbar-width: none; } #phone *::-webkit-scrollbar { display: none; }
@media (min-width: 500px) and (min-height: 600px) and (max-width: 820px) {
  .share-pill { left: auto; right: 14px; bottom: 76px; }
}

/* ===== v6: iOS dead battery / charging ===== */
.dead { justify-content: flex-start; padding-top: 170px; font-family: var(--font); }
.dead-art { position: relative; display: flex; flex-direction: column; align-items: center; opacity: 0; transition: opacity .6s, transform .6s; }
.dead.show-batt .dead-art { opacity: 1; }
.dead.show-q .dead-art { transform: translateY(-40px) scale(.8); opacity: .55; }
.dead.charging .dead-art { transform: none; opacity: 1; }
.ios-batt { width: 160px; height: 76px; }
.ios-cable { width: 26px; height: 74px; margin-top: 18px; }
.ch-pct { font-size: 44px; font-weight: 300; letter-spacing: -.02em; margin-bottom: 14px; }
.ch-bolt { position: absolute; width: 40px; height: 40px; bottom: 18px; left: calc(50% - 26px); filter: drop-shadow(0 0 3px rgba(0,0,0,.5)); }
.ch-note { margin-top: 26px; text-align: center; font-size: 14px; color: rgba(235,235,245,.6); line-height: 1.4; }
.dq { margin-top: 10px; }
.dq-alert { width: 284px; border-radius: 30px; overflow: visible; text-align: center; color: #fff; background: rgba(44,44,48,.88); -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6); box-shadow: inset 0 .5px 0 rgba(255,255,255,.18), 0 14px 40px rgba(0,0,0,.5); padding: 20px 16px 16px; animation: alertin .3s cubic-bezier(.2,.9,.3,1.2); }
@keyframes alertin { from { transform: scale(1.12); opacity: 0; } }
.dq-alert.shake { animation: shake .45s; }
.dq-body .dq-q { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.dq-body .dq-sub { margin: 4px 0 0; font-size: 13.5px; color: rgba(235,235,245,.65); line-height: 1.35; }
.dq-wrong { min-height: 18px; margin: 6px 0 0; font-size: 13.5px; color: #ff453a; font-weight: 500; }
.dq-btns { display: flex; gap: 10px; margin-top: 14px; align-items: center; justify-content: center; min-height: 48px; }
.dq-btns button { flex: 1; height: 46px; border-radius: 23px; font-size: 17px; font-weight: 600; transition: transform .3s cubic-bezier(.2,.9,.3,1.4), flex .3s; padding: 0; }
.dq-yes { background: #0a84ff; color: #fff; transform: scale(var(--grow, 1)); position: relative; z-index: 2; box-shadow: none; }
.dq-no { background: rgba(120,120,128,.36); color: #fff; transform: scale(var(--shrink, 1)); }
.dq-alert.grown .dq-yes { flex: 2.4; }
.dq-hint { margin-top: 18px; font-size: 12.5px; color: rgba(235,235,245,.45); }
.dq-made { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 400; color: rgba(235,235,245,.38); text-decoration: none; }
.disclaimer { display: none !important; }
.tile.nope { animation: nope .35s; } @keyframes nope { 30% { transform: scale(.9); } 60% { transform: scale(1.04); } }
.w-tps, .w-px { cursor: default; }

/* ===== v6: X (real-app look) ===== */
.xapp { background: #000; color: #e7e9ea; font-family: -apple-system, "SF Pro Text", Inter, system-ui, sans-serif; }
.x-top { flex: none; height: 46px; display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; padding: 0 12px; }
.x-top.plain b { text-align: center; font-size: 17px; font-weight: 700; }
.x-top .x-logo { justify-self: center; margin: 0; color: #e7e9ea; }
.x-me { justify-self: start; } .x-back-home, .x-ib { justify-self: end; color: #e7e9ea; display: grid; place-items: center; font-size: 15px; }
.x-back-home { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.08); }
.x-ib:first-child { justify-self: start; }
.x-av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; font-weight: 700; color: #fff; background: var(--av, #333); overflow: hidden; }
.x-av.sol { background: #000; border-radius: 9px; border: .5px solid #2f3336; } .x-av.sol img { width: 76%; height: 76%; object-fit: contain; }
.x-av.sm { width: 32px; height: 32px; font-size: 14px; } .x-av.sm.sol { border-radius: 7px; }
.x-av.big { width: 80px; height: 80px; font-size: 32px; border: 4px solid #000; } .x-av.big.sol { border-radius: 16px; border: 4px solid #000; }
.x-tabs { flex: none; display: flex; border-bottom: .5px solid #2f3336; }
.x-tabs button { flex: 1; height: 46px; font-size: 15px; font-weight: 500; color: #71767b; position: relative; }
.x-tabs button.on { color: #e7e9ea; font-weight: 700; }
.x-tabs button.on::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 56px; height: 4px; border-radius: 2px; background: #1d9bf0; }
.x-tabs.pr button { font-size: 14.5px; } .x-tabs.sc button { flex: none; padding: 0 14px; }
.x-body { padding-bottom: 120px; }
.xp { display: flex; gap: 10px; padding: 11px 14px 6px; border-bottom: .5px solid #2f3336; color: inherit; text-decoration: none; }
.xp-main { flex: 1; min-width: 0; }
.xp-meta { display: flex; align-items: center; gap: 3px; font-size: 15px; white-space: nowrap; overflow: hidden; }
.xp-meta b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; } .xp-meta > span { color: #71767b; overflow: hidden; text-overflow: ellipsis; margin-left: 2px; }
.xp-more { margin-left: auto !important; flex: none; display: inline-flex; }
.xv { flex: none; width: 17px; height: 17px; } .xv path:first-child { fill: #1d9bf0; } .xv.gold path:first-child { fill: #e2b719; }
.xpr h2 .xv { width: 22px; height: 22px; vertical-align: -3px; }
.xp-text { font-size: 15px; line-height: 1.32; margin-top: 2px; overflow-wrap: anywhere; } .xp-text i { font-style: normal; color: #1d9bf0; }
.xp-acts { display: flex; align-items: center; gap: 0; margin: 9px 0 4px; color: #71767b; font-size: 13px; }
.xp-acts > span { display: inline-flex; align-items: center; gap: 4px; flex: 1; } .xp-acts .gl { flex: none; }
.xp-acts > span.xp-end { flex: none; gap: 14px; }
.xp-acts b { font-weight: 400; color: inherit; }
.x-end { padding: 28px; text-align: center; color: #71767b; font-size: 14px; }
.x-fab { right: 16px; bottom: 96px; width: 56px; height: 56px; background: #1d9bf0; box-shadow: 0 2px 10px rgba(29,155,240,.4), 0 0 0 .5px rgba(255,255,255,.1); }
.x-bar { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 84px; padding: 0 8px 30px; display: flex; justify-content: space-around; align-items: center; background: rgba(0,0,0,.92); border-top: .5px solid #2f3336; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.x-bar button { position: relative; width: 56px; height: 48px; display: grid; place-items: center; color: #e7e9ea; }
.x-dot { position: absolute; top: 6px; right: 10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #1d9bf0; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; display: grid; place-items: center; border: 1.5px solid #000; }
.xprof .x-body { padding-top: 0; }
.xpr-banner { height: 110px; background: linear-gradient(120deg, #9945FF, #19FB9B); position: relative; }
.xpr-back { position: absolute; left: 12px; top: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; }
.xpr { padding: 0 14px 6px; }
.xpr-row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: -36px; }
.xpr-edit { margin-bottom: 4px; padding: 7px 16px; border-radius: 999px; border: 1px solid #536471; font-weight: 700; font-size: 14.5px; color: #e7e9ea; }
.xpr h2 { margin: 8px 0 0; font-size: 21px; font-weight: 800; }
.xpr-h { color: #71767b; font-size: 15px; }
.xpr-bio { margin: 10px 0 8px; font-size: 15px; }
.xpr-info { display: flex; flex-wrap: wrap; gap: 4px 12px; color: #71767b; font-size: 14px; } .xpr-info span { display: inline-flex; align-items: center; gap: 3px; } .xpr-info .lnk { color: #1d9bf0; }
.xpr-ff { display: flex; gap: 16px; margin-top: 10px; font-size: 14.5px; color: #71767b; } .xpr-ff b { color: #e7e9ea; }
.x-sbox { height: 36px; border-radius: 18px; background: #202327; color: #71767b; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 15px; }
.x-sbox.wide { margin: 4px 14px 8px; justify-content: flex-start; padding: 0 14px; }
.x-trend { display: flex; flex-direction: column; padding: 11px 16px; border-bottom: .5px solid #2f3336; } .x-trend small { color: #71767b; font-size: 13px; } .x-trend b { font-size: 15.5px; margin: 1px 0; }
.x-notif { display: flex; gap: 10px; padding: 12px 16px; border-bottom: .5px solid #2f3336; } .x-notif .x-ni { width: 32px; display: flex; justify-content: flex-end; } .x-notif p { margin: 6px 0 0; font-size: 15px; line-height: 1.3; }
.x-dmrow { width: 100%; display: flex; gap: 12px; padding: 12px 16px; text-align: left; color: inherit; } .x-dmrow > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.x-dmt { display: flex; gap: 6px; } .x-dmt small { color: #71767b; font-size: 14px; } .x-dmp { color: #71767b; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-follow { display: flex; align-items: center; gap: 12px; padding: 10px 16px; } .x-follow > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; } .x-follow small { color: #71767b; }
.x-draft { padding: 12px 16px; border-bottom: .5px solid #2f3336; } .x-draft small { color: #71767b; font-size: 13px; } .x-draft p { margin: 3px 0 0; font-size: 15px; line-height: 1.32; }
.x-compose { background: #000; padding: 0; align-items: stretch; }
.xc { width: 100%; padding-top: 54px; display: flex; flex-direction: column; color: #e7e9ea; animation: up .3s cubic-bezier(.2,.85,.25,1); }
.xc header { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px; } .xc header > button { font-size: 16px; color: #e7e9ea; }
.xc header span { display: flex; align-items: center; gap: 14px; } .xc-drafts { color: #1d9bf0; font-weight: 600; font-size: 15px; }
.xc .sh-post { padding: 7px 16px; border-radius: 999px; background: #1d9bf0; color: #fff; font-weight: 700; font-size: 15px; }
.xc .sh-row { display: flex; gap: 10px; padding: 10px 14px; } .xc textarea { flex: 1; min-height: 160px; background: none; border: 0; outline: none; resize: none; color: #e7e9ea; font: inherit; font-size: 19px; user-select: text; -webkit-user-select: text; }
.xc-reply { margin: 0 14px; padding: 10px 0; border-bottom: .5px solid #2f3336; color: #1d9bf0; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.xc footer { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; color: #1d9bf0; } .xc-tools { display: flex; gap: 16px; } .xc .sh-count { color: #71767b; font-size: 13px; }
.xc-note { text-align: center; font-size: 11.5px; color: #71767b; padding: 6px; }

/* ===== v6: Solflare logos, Backpack, Collector Crypt ===== */
.sf-ti.img { background: #111; overflow: hidden; position: relative; } .sf-ti.img img { width: 100%; height: 100%; object-fit: cover; }
.sf-ti.xs em { position: absolute; left: 0; right: 0; bottom: 0; font-style: normal; font-size: 8.5px; font-weight: 800; text-align: center; background: rgba(0,0,0,.72); color: #fff; padding: 1px 0; letter-spacing: .02em; }
.backpack { background: #0E0F14; color: #fff; font-family: Inter, var(--font); --tab-on: #E33E3F; }
.bk-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 2px 16px 6px; }
.bk-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; } .bk-logo img { width: 26px; height: 26px; border-radius: 7px; }
.bk-total { padding: 6px 20px 12px; display: flex; flex-direction: column; } .bk-total small { color: #8a8f98; font-size: 13px; } .bk-total b { font-size: 36px; letter-spacing: -.02em; } .bk-total span { font-size: 14px; }
.bk-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 16px 10px; } .bk-acts button { height: 40px; border-radius: 12px; background: #1C1E26; font-weight: 600; font-size: 14px; } .bk-acts button.on { background: #E33E3F; }
.bk-body { flex: 1; overflow-y: auto; padding: 0 16px 120px; }
.bk-banner { margin: 4px 0 6px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(120deg, rgba(227,62,63,.2), rgba(227,62,63,.05)); border: 1px solid rgba(227,62,63,.35); font-size: 13.5px; }
.bk-sec { margin: 14px 2px 6px; font-size: 12.5px; color: #8a8f98; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.bk-row { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid #1C1E26; }
.bk-sym { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: hsl(var(--h) 40% 30%); } .bk-sym.usd { background: #2775CA; font-size: 18px; }
.bk-m { flex: 1; min-width: 0; display: flex; flex-direction: column; } .bk-m small { color: #8a8f98; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-xs { display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; color: #8a8f98; font-weight: 600; } .bk-xs img { width: 12px; height: 12px; border-radius: 3px; }
.bk-r { text-align: right; display: flex; flex-direction: column; } .bk-r small { font-size: 12.5px; color: #8a8f98; }
.cc-logo img { width: 26px; height: 26px; border-radius: 50%; }
.cc-logo { font-size: 15px; }
.cc-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.cc-pack { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px 10px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #fff; }
.cc-pack img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; transition: transform .25s; } .cc-pack:active img { transform: scale(.96) rotate(-2deg); }
.cc-pack b { font-size: 13px; margin-top: 4px; } .cc-pack small { font-size: 10px; color: #9aa3c0; text-align: center; }
.cc-rip { margin-top: 6px; padding: 5px 14px; border-radius: 999px; background: #fff; color: #0B1020; font-weight: 800; font-size: 11px; letter-spacing: .08em; }
.cc-card { position: relative; } .cc-slabimg { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; }
.cc-card .cc-grade { position: absolute; top: 6px; left: 6px; right: auto; }
.pack { width: 220px; height: 300px; }
.pack-wrap { background: none !important; padding: 0; } .pack-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; } .pack-wrap span { position: absolute; bottom: -28px; }
.pack-card { inset: 0; padding: 0; background: #111; overflow: hidden; color: #fff; justify-content: flex-end; }
.pack-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pack-card .pc-grade, .pack-card b, .pack-card small { position: relative; z-index: 1; margin: 0 10px; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.pack-card b { margin-top: 4px; } .pack-card small { margin-bottom: 12px; color: #ffd56b; }
.pack-card .pc-grade { align-self: flex-start; }
.x-tabs button { text-align: center; }
.x-dmrow > span:not(.x-av) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.x-dmrow > .x-av { flex: none; display: grid; }
.al-q .ph-quote { width: 100%; height: 100%; font-size: 13px; }

/* ===== v7 ===== */
.home-ind { position: absolute; z-index: 30; left: 50%; bottom: 0; transform: translateX(-50%); width: 180px; height: 22px; display: grid; place-items: center; cursor: pointer; touch-action: none; }
.home-ind i { display: block; width: 136px; height: 5px; border-radius: 3px; background: rgba(0,0,0,.82); mix-blend-mode: normal; }
.xapp ~ .home-ind i, .slack ~ .home-ind i, .solflare ~ .home-ind i, .collector ~ .home-ind i, .backpack ~ .home-ind i, .bp ~ .home-ind i, .facetime ~ .home-ind i, .spotify ~ .home-ind i, .viewer ~ .home-ind i, .chat.wa ~ .home-ind i, .chat.xdm ~ .home-ind i, .weather ~ .home-ind i, .camera ~ .home-ind i, .phoenix ~ .home-ind i, .moonpay ~ .home-ind i { background: rgba(255,255,255,.85); }
.moonpay ~ .home-ind i { background: rgba(0,0,0,.82); }
.x-bar { padding-bottom: 32px; }
.xpr { position: relative; z-index: 1; }
.xpr-row { margin-top: -40px; }
.x-av { position: relative; } .x-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.x-av.sol img { position: static; width: 76%; height: 76%; object-fit: contain; }
.x-dmrow.req b { color: #71767b; font-weight: 600; } .x-dmrow.req .x-dmp { color: #536471; }
.x-av.req { background: #16181c; color: #71767b; border: .5px solid #2f3336; }
/* Backpack */
.backpack { background: #0E0F14; }
.bk-head { gap: 10px; }
.bk-search { flex: 1; height: 36px; border-radius: 12px; background: #1C1E26; color: #8a8f98; display: flex; align-items: center; gap: 6px; padding: 0 12px; font-size: 14px; }
.bk-mark { width: 34px; height: 34px; border-radius: 10px; }
.bk-total { padding: 10px 20px 10px; } .bk-total b { font-size: 38px; font-weight: 700; }
.bk-acts { grid-template-columns: repeat(3, 1fr); } .bk-acts button { height: 42px; border-radius: 14px; } .bk-acts button.on { background: #E33E3F; color: #fff; }
.bk-seg { display: flex; gap: 6px; margin: 6px 0 12px; padding: 4px; border-radius: 14px; background: #16181F; } .bk-seg button { flex: 1; height: 34px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #8a8f98; } .bk-seg button.on { background: #262833; color: #fff; }
.bk-banner { display: flex; flex-direction: column; gap: 2px; } .bk-banner b { font-size: 14px; } .bk-banner span { color: #c9cbd1; font-size: 13px; }
.bk-th { display: flex; justify-content: space-between; margin: 14px 2px 2px; font-size: 12px; color: #6c707a; font-weight: 600; }
.bk-row { border-bottom: 0; padding: 11px 2px; }
.bk-sym { background: hsl(var(--h) 35% 24%); color: #fff; border: 1px solid rgba(255,255,255,.08); overflow: hidden; } .bk-sym.usd img { width: 100%; height: 100%; }
.bk-m b { font-size: 15.5px; } .bk-r b { font-size: 15.5px; }
.bk-chg { font-weight: 600; } .bk-chg.pos { color: #00C278 !important; } .bk-chg.neg { color: #FF5353 !important; }
.bk-foot { margin: 14px 2px; font-size: 12px; color: #6c707a; display: flex; align-items: center; gap: 4px; }
.bk-body { padding-bottom: 110px; }
.bk-nav { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 84px; padding: 6px 6px 30px; display: flex; justify-content: space-around; background: #0E0F14; border-top: 1px solid #1C1E26; }
.bk-nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; color: #6c707a; width: 64px; } .bk-nav button.on { color: #fff; }
/* share modal */
.share-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: fade .2s; font-family: var(--font); }
.sm-card { position: relative; width: min(380px, calc(100vw - 32px)); padding: 16px; border-radius: 28px; background: #1c1c1e; color: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 .5px 0 rgba(255,255,255,.12); animation: pop .3s; }
.sm-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; z-index: 1; }
.sm-prev { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #0e0e10; display: grid; place-items: center; }
.sm-prev img { width: 100%; height: 100%; display: block; }
.sm-load { color: rgba(235,235,245,.5); font-size: 14px; padding: 20px; text-align: center; }
.sm-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.sm-btns button { height: 54px; border-radius: 16px; background: rgba(255,255,255,.08); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12.5px; font-weight: 600; }
.sm-btns button[data-s="x"] { background: #fff; color: #000; }
.sm-btns button[hidden] { display: none; }
.sm-btns:has(button[hidden]) { grid-template-columns: repeat(2, 1fr); }
.sm-btns button:disabled { opacity: .4; }
.sm-msg { min-height: 18px; margin-top: 10px; text-align: center; font-size: 13px; color: rgba(235,235,245,.7); }
/* phone held sideways */
body.is-side { background: #0a0a12; }
body.is-side #phone { border-radius: 28px; }
body.is-side .share-pill { left: min(calc(var(--px, 0px) + 393px * var(--s, 1) + 16px), calc(100vw - 56px)); right: auto; bottom: 16px; }
/* mobile share: a small pull-tab on the right edge, out of the way */
@media not ((min-width: 500px) and (min-height: 600px)) {
  body:not(.is-side) .share-pill { right: 0; bottom: auto; top: 46%; width: 30px; height: 46px; border-radius: 14px 0 0 14px; border-right: 0; opacity: .7; }
  body:not(.is-side) .share-pill .gl { width: 16px; height: 16px; }
}
.x-av.org { border-radius: 9px; } .x-av.sm.org { border-radius: 7px; } .x-av.big.org { border-radius: 16px; }
.ct-pfp { position: relative; overflow: hidden; } .ct-pfp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ct-h { display: block; margin-top: -6px; color: #8e8e93; font-size: 15px; }
/* v8 */
.lk-hint { margin-top: auto; padding-top: 16px; }
.lk-stack + .lk-hint { margin-top: 18px; }
.xp-media { display: block; width: 100%; margin-top: 10px; border-radius: 16px; border: .5px solid #2f3336; }
.c-imgbtn { display: block; padding: 0; width: 100%; cursor: zoom-in; }
.img-viewer { position: absolute; inset: 0; z-index: 70; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; animation: fade .2s; color: #fff; }
.img-viewer img { max-width: 100%; max-height: 78%; object-fit: contain; }
.img-viewer p { margin: 0 24px; text-align: center; font-size: 14px; opacity: .8; }
.iv-x { position: absolute; top: 58px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; }
.xshot { display: flex; flex-direction: column; gap: 6px; background: #000; color: #e7e9ea; padding: 8px; text-align: left; font-family: -apple-system, "SF Pro Text", Inter, sans-serif; overflow: hidden; }
.xs-top { display: flex; align-items: center; gap: 6px; } .xs-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.xs-who b { font-size: 10px; display: flex; align-items: center; gap: 2px; white-space: nowrap; overflow: hidden; } .xs-who b .xv { width: 10px; height: 10px; } .xs-who small { font-size: 9px; color: #71767b; }
.xs-text { font-size: 10px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; } .xs-text i { font-style: normal; color: #1d9bf0; }
.xs-foot { font-size: 8.5px; color: #71767b; margin-top: auto; } .xs-foot b { color: #e7e9ea; }
.ph-xshot { display: block !important; background: #000 !important; } .ph-xshot .xshot { width: 100%; height: 100%; }
.xshot .x-av.sm { width: 22px; height: 22px; font-size: 10px; }
.xshot.big { width: 92%; padding: 18px; border-radius: 6px; border: .5px solid #2f3336; gap: 12px; }
.xshot.big .xs-who b { font-size: 16px; } .xshot.big .xs-who b .xv { width: 17px; height: 17px; } .xshot.big .xs-who small { font-size: 14px; }
.xshot.big .xs-text { font-size: 19px; -webkit-line-clamp: unset; } .xshot.big .xs-foot { font-size: 13.5px; }
.xshot.big .x-av { width: 44px; height: 44px; }
/* v9 */
.w-rem { display: flex; flex-direction: column; align-items: flex-start; padding: 14px; border-radius: 22px; background: rgba(255,255,255,.92); color: #000; text-align: left; box-shadow: 0 4px 20px rgba(0,0,0,.18); }
.wr-top { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.wr-ic { width: 26px; height: 26px; border-radius: 50%; background: #FF9500; display: grid; place-items: center; }
.wr-top b { font-size: 26px; font-weight: 700; color: #FF9500; line-height: 1; }
.wr-k { margin-top: 6px; font-size: 13px; font-weight: 700; color: #FF9500; }
.wr-item { margin-top: auto; display: flex; gap: 7px; align-items: flex-start; font-size: 14px; font-weight: 500; line-height: 1.25; }
.wr-item i { flex: none; width: 14px; height: 14px; margin-top: 1px; border-radius: 50%; border: 1.5px solid #c7c7cc; }
.dq-made { z-index: 5; pointer-events: auto; padding: 10px; color: rgba(235,235,245,.6); }
.dq-made:hover { color: #fff; }
.x-reqnote { margin: 4px 16px 8px; color: #71767b; font-size: 13.5px; line-height: 1.35; }
.has-pfp { position: relative; overflow: hidden; } .has-pfp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.bk-sym.img { padding: 0; background: #000; } .bk-sym.img img { width: 100%; height: 100%; border-radius: 50%; }
.mp-chips button { padding: 8px 14px; border-radius: 999px; background: #F2F2F7; font-weight: 600; font-size: 14px; color: #111; }
.mp-chips button.on { background: #7D00FF; color: #fff; }
.xc textarea[readonly] { cursor: default; }
.w-vid { display: block; margin: 18px 22px 0; height: 168px; border-radius: 24px; overflow: hidden; padding: 0; box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.w-vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
button.wr-item { text-align: left; color: inherit; padding: 0; cursor: pointer; }
.wr-item i { transition: background .15s, border-color .15s; position: relative; }
.wr-item.done i { background: #FF9500; border-color: #FF9500; }
.wr-item.done i::after { content: ''; position: absolute; left: 3.5px; top: 1px; width: 3px; height: 7px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.wr-item.done span { color: #8e8e93; text-decoration: line-through; }
.faceid.ok .fi-icon { color: #30d158; }
.faceid.ok .fi-box { animation: pop .3s; }
.bk-banner { flex-direction: row !important; align-items: center; gap: 12px; } .bk-banner > span { display: flex; flex-direction: column; gap: 2px; }
.bk-bimg { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.bk-foot img { width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; }
.sf-ti.img { overflow: visible; } .sf-ti.img > img:first-child { border-radius: 50%; }
.sf-issuer { position: absolute; right: -3px; bottom: -3px; width: 17px !important; height: 17px !important; border-radius: 5px; border: 1.5px solid #02050A; }
a.sp-tr { text-decoration: none; color: inherit; display: flex; align-items: center; }
a.sp-tr > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.sp-open { color: #1ED760; transform: rotate(45deg); display: inline-flex; margin-right: 6px; }
.sp-note { text-align: center; color: #a7a7a7; font-size: 12.5px; margin: 14px 0 40px; }

/* ===== v10: suggestions ===== */
/* Dynamic Island live activity (desktop frame) */
.framed .island { pointer-events: auto; cursor: pointer; width: 150px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; color: #fff; font: 600 12px var(--font); transition: width .35s cubic-bezier(.2,.9,.3,1.2), height .35s cubic-bezier(.2,.9,.3,1.2), border-radius .35s; overflow: hidden; }
.island .is-l { background: linear-gradient(135deg, var(--sol-a), var(--sol-b)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.island .is-r { color: #14F195; }
.island .is-x { display: none; }
.framed .island.open { width: 350px; height: 74px; border-radius: 38px; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 22px; }
.island.open .is-l, .island.open .is-r { display: none; }
.island.open .is-x { display: flex; flex-direction: column; gap: 2px; } .island .is-x b { font-size: 15px; } .island .is-x small { color: rgba(235,235,245,.65); font-weight: 500; font-size: 12.5px; }
/* reminder widget, done state */
.w-rem.done { cursor: pointer; } .wr-ic.ok { background: #30D158; color: #fff; font-weight: 800; font-size: 14px; }
.w-rem.done .wr-n { color: #30D158; } .w-rem.done .wr-k { color: #30D158; }
.wr-item.done-msg { flex-direction: column; gap: 2px; } .wr-item.done-msg small { color: #8e8e93; font-size: 11.5px; font-weight: 500; }
/* Spotify now playing */
.sp-tr.on b { color: #1ED760; }
.sp-pad { height: 90px; }
.sp-bar { position: absolute; left: 8px; right: 8px; bottom: 26px; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #5b2a86; color: #fff; overflow: hidden; animation: up .3s; }
.sp-bart { flex: 1; min-width: 0; display: flex; flex-direction: column; } .sp-bart b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sp-bart small { font-size: 11.5px; color: #1ED760; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-bar button { font-size: 16px; width: 32px; color: #fff; }
.sp-prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(255,255,255,.25); } .sp-prog::after { content: ''; position: absolute; inset: 0 auto 0 0; background: #fff; animation: prog 30s linear infinite; } .sp-prog.paused::after { animation-play-state: paused; }
@keyframes prog { from { width: 0; } to { width: 100%; } }
/* voicemail */
.vm-play { display: flex; align-items: center; gap: 10px; margin: 8px 0 4px; } .vm-play button { width: 34px; height: 34px; border-radius: 50%; background: var(--ios-blue); color: #fff; font-size: 13px; display: grid; place-items: center; }
.vm-wave { display: flex; align-items: center; gap: 2px; height: 26px; } .vm-wave i { width: 3px; border-radius: 2px; background: #c7c7cc; } .vm-wave.on i { background: var(--ios-blue); animation: wave .8s ease-in-out infinite alternate; } .vm-wave.on i:nth-child(odd) { animation-delay: .2s; }
@keyframes wave { to { transform: scaleY(.45); } }
.vm-tr { color: #3a3a3c; min-height: 18px; }
/* settings switch */
.se-switch { flex: none; width: 51px; height: 31px; border-radius: 16px; background: #e9e9ea; position: relative; transition: background .2s; } .se-switch i { position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .2s; } .se-switch.on { background: #34C759; } .se-switch.on i { transform: translateX(20px); }
/* dead screen visitor count */
.dq-count { position: absolute; bottom: 64px; left: 0; right: 0; text-align: center; font-size: 12.5px; color: rgba(235,235,245,.5); }
/* Find My */
.findmy { background: #fff; }
.fm-map { position: relative; flex: none; height: 440px; margin-top: -54px; overflow: hidden; } .fm-map svg { width: 100%; height: 100%; display: block; }
.fm-back { position: absolute; top: 60px; left: 14px; }
.fm-pin { position: absolute; transform: translate(-50%, -100%); display: grid; place-items: center; }
.fm-dev { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: 0 4px 12px rgba(0,0,0,.25); border: 3px solid #fff; position: relative; z-index: 1; }
.fm-pulse { position: absolute; width: 90px; height: 90px; border-radius: 50%; background: rgba(48,209,88,.25); animation: pulse2 1.8s ease-out infinite; } @keyframes pulse2 { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.fm-me { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #007AFF; border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(0,122,255,.18); }
.fm-sheet { flex: 1; margin-top: -24px; position: relative; border-radius: 26px 26px 0 0; background: #f2f2f7; padding: 8px 16px 40px; overflow-y: auto; box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
.fm-grab { width: 38px; height: 5px; border-radius: 3px; background: #c7c7cc; margin: 0 auto 8px; } .fm-sheet h2 { margin: 4px 4px 10px; font-size: 22px; }
.fm-row { display: flex; gap: 12px; align-items: center; padding: 10px 12px; background: #fff; border-radius: 16px; margin-bottom: 8px; } .fm-row.on { box-shadow: inset 0 0 0 2px #30D158; }
.fm-ic { width: 40px; height: 40px; border-radius: 50%; background: #f2f2f7; display: grid; place-items: center; font-size: 20px; } .fm-row > span:last-child { display: flex; flex-direction: column; } .fm-row small { color: #8e8e93; font-size: 13px; }
.fm-acts { display: flex; gap: 8px; margin-top: 6px; } .fm-acts button { flex: 1; height: 44px; border-radius: 14px; background: #fff; font-weight: 600; color: var(--ios-blue); } .fm-acts button.on { background: #30D158; color: #fff; }
/* Wallet */
.wallet { background: #000; color: #fff; }
.wl-scroll { flex: 1; overflow-y: auto; padding: 0 16px 40px; }
.wl-card { height: 64px; margin-bottom: -18px; border-radius: 14px; background: var(--c); padding: 10px 16px; display: flex; flex-direction: column; box-shadow: 0 -2px 8px rgba(0,0,0,.4); } .wl-card small { opacity: .75; font-size: 12px; }
.wl-pass { position: relative; border-radius: 16px; padding: 16px; background: linear-gradient(160deg, #1b1035, #2b0f55 45%, #0c3b33); box-shadow: 0 -2px 10px rgba(0,0,0,.5); margin-top: 22px; }
.wl-top { display: flex; justify-content: space-between; align-items: flex-start; } .wl-logo { font-weight: 800; letter-spacing: .14em; background: linear-gradient(90deg, #c69cff, #14F195); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wl-pass small { display: block; font-size: 10px; letter-spacing: .08em; opacity: .65; } .wl-date { text-align: right; font-weight: 600; }
.wl-mid { margin: 22px 0 14px; } .wl-mid b { display: block; font-size: 26px; letter-spacing: .02em; } .wl-role { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 6px; background: #fff; color: #000; font-weight: 700; font-size: 12px; }
.wl-row { display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; } .wl-row span:last-child { text-align: right; }
.wl-qr { margin: 18px auto 4px; width: 150px; height: 150px; padding: 10px; background: #fff; border-radius: 10px; } .wl-qr svg { width: 100%; height: 100%; fill: #000; display: block; }
.wl-cta { display: block; margin-top: 16px; text-align: center; padding: 14px; border-radius: 14px; background: #fff; color: #000; font-weight: 700; text-decoration: none; }

/* ===== v11: Breakpoint app ===== */
.bph-hero { padding: 6px 2px 4px; } .bph-k { font-size: 11px; letter-spacing: .18em; font-weight: 700; color: #c69cff; }
.bph-hero h1 { margin: 6px 0 6px; font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(90deg, #fff, #c69cff 60%, var(--sol-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bph-hero p { margin: 0; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.72); }
.bph-cd { display: flex; gap: 8px; margin: 16px 0 12px; } .bph-cd span { flex: 1; padding: 12px 6px; border-radius: 16px; background: rgba(255,255,255,.07); border: .5px solid rgba(255,255,255,.12); text-align: center; font-size: 11px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; } .bph-cd b { display: block; font-size: 28px; color: #fff; letter-spacing: -.02em; text-transform: none; }
.bph-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; } .bph-stats div { padding: 10px; border-radius: 14px; background: rgba(20,241,149,.08); text-align: center; } .bph-stats b { display: block; font-size: 17px; color: var(--sol-b); } .bph-stats small { font-size: 11px; color: rgba(255,255,255,.6); }
.bph-dcard { width: 100%; display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 14px 16px; margin-bottom: 8px; border-radius: 18px; background: linear-gradient(120deg, rgba(153,69,255,.28), rgba(20,241,149,.12)); border: .5px solid rgba(255,255,255,.14); color: #fff; }
.bph-dcard small { color: var(--sol-b); font-weight: 700; font-size: 12px; } .bph-dcard b { font-size: 18px; } .bph-dcard span { font-size: 12.5px; color: rgba(255,255,255,.7); }
.bph-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .bph-links > * { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 16px; background: rgba(255,255,255,.07); color: #fff; font-size: 11.5px; text-decoration: none; }
.bp-seg { display: flex; gap: 4px; padding: 4px; margin-bottom: 12px; border-radius: 14px; background: rgba(255,255,255,.07); } .bp-seg button { flex: 1; height: 32px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.65); } .bp-seg button.on { background: rgba(255,255,255,.16); color: #fff; }
.bpa-head { margin: 2px 2px 12px; } .bpa-head small { color: var(--sol-b); font-weight: 700; font-size: 12px; } .bpa-head h2 { margin: 2px 0 4px; font-size: 22px; } .bpa-head p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.7); }
.bp-ses { align-items: center; } .bp-ses > span { flex: 1; }
.bp-star { flex: none; width: 34px; height: 34px; border-radius: 50%; font-size: 18px; color: rgba(255,255,255,.55); } .bp-star.on { color: #FFD60A; }
.bp-link { color: var(--sol-b); font-weight: 600; font-size: 13px; }
.bp-sub { margin: 14px 2px 6px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; }
.bps-q { width: 100%; height: 38px; border-radius: 12px; border: 0; background: rgba(255,255,255,.1); color: #fff; padding: 0 14px; font: inherit; font-size: 15px; outline: none; user-select: text; -webkit-user-select: text; }
.bps-q::placeholder { color: rgba(255,255,255,.45); }
.bp-chips { display: flex; gap: 6px; overflow-x: auto; margin: 10px -16px 4px; padding: 0 16px; } .bp-chips button { flex: none; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); font-size: 12.5px; font-weight: 600; white-space: nowrap; } .bp-chips button.on { background: #fff; color: #0c0a1c; }
.bps-row { display: flex; align-items: center; gap: 12px; padding: 8px 2px; border-bottom: .5px solid rgba(255,255,255,.08); } .bps-row > span { flex: 1; display: flex; flex-direction: column; } .bps-row small { color: rgba(255,255,255,.6); font-size: 12.5px; }
.bps-av { width: 40px; height: 40px; font-size: 14px; }
button.bp-hall { text-align: left; color: #fff; } .bp-hall.sel { box-shadow: inset 0 0 0 2px var(--sol-b); background: rgba(20,241,149,.12); }
.bpq-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; } .bpq-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--sol-a), var(--sol-b)); transition: width .3s; }
.bpq-pts { margin: 6px 2px 10px; font-size: 12.5px; color: rgba(255,255,255,.65); } .bpq-pts b { color: #fff; font-size: 15px; }
.bpq { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 6px; border-radius: 16px; background: rgba(255,255,255,.06); color: #fff; text-align: left; font-size: 14.5px; } .bpq > span:nth-child(2) { flex: 1; } .bpq em { font-style: normal; color: #c69cff; font-weight: 700; font-size: 13px; }
.bpq-box { width: 22px; height: 22px; border-radius: 7px; border: 2px solid rgba(255,255,255,.35); display: grid; place-items: center; font-size: 13px; font-weight: 800; } .bpq.done .bpq-box { background: var(--sol-b); border-color: var(--sol-b); color: #0c0a1c; } .bpq.done > span:nth-child(2) { color: rgba(255,255,255,.55); text-decoration: line-through; }
.bps-row > span:not(.av) { flex: 1; display: flex; flex-direction: column; } .bps-row > .av { flex: none; }
/* Breakpoint Mutuals */
.mu-map { position: relative; margin: 12px 0 8px; height: 330px; border-radius: 22px; background: radial-gradient(60% 60% at 50% 50%, rgba(153,69,255,.25), rgba(255,255,255,.03)); border: .5px solid rgba(255,255,255,.12); overflow: hidden; }
.mu-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mu-node, .mu-me { position: absolute; transform: translate(-50%, -50%); padding: 0; border-radius: 50%; transition: opacity .2s, transform .2s; }
.mu-av { width: 38px; height: 38px; font-size: 13px; border: 2px solid rgba(255,255,255,.2); }
.mu-av.me { width: 52px; height: 52px; font-size: 18px; border: 3px solid #fff; }
.r-mutual .mu-av { border-color: #14F195; } .r-added .mu-av { border-color: #C69CFF; } .r-they .mu-av { border-color: #3BA3FF; }
.mu-node.sel { transform: translate(-50%, -50%) scale(1.25); z-index: 2; } .mu-node.sel .mu-av { box-shadow: 0 0 0 4px rgba(255,214,10,.5); }
.mu-node.dim { opacity: .25; }
.mu-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 11.5px; color: rgba(255,255,255,.7); margin-bottom: 10px; } .mu-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 5px; }
.mu-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.08); border: .5px solid rgba(255,255,255,.14); animation: pop .25s; }
.mu-card > span:not(.av) { flex: 1; min-width: 0; display: flex; flex-direction: column; } .mu-card small { color: rgba(255,255,255,.65); font-size: 12.5px; } .mu-card .mu-path { color: #FFD60A; margin-top: 2px; }
.mu-cav { width: 48px; height: 48px; flex: none; }
.mu-add { padding: 8px 16px; border-radius: 999px; background: #fff; color: #0c0a1c; font-weight: 700; font-size: 14px; } .mu-ok { color: #14F195; font-weight: 700; font-size: 13px; } .mu-wait { color: #C69CFF; font-weight: 700; font-size: 13px; }
/* v12 Collector Crypt */
.cc-bal { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 700; }
.cc-nav { flex: none; display: flex; gap: 6px; padding: 0 16px 10px; } .cc-nav button { flex: 1; height: 36px; border-radius: 12px; background: rgba(255,255,255,.06); color: #9aa3c0; font-weight: 700; font-size: 13.5px; } .cc-nav button.on { background: linear-gradient(90deg, #FF7A1A, #2E8CFF); color: #fff; }
.cc-hero2 { padding: 6px 2px 8px; } .cc-hero2 b { display: block; font-size: 30px; font-weight: 800; } .cc-hero2 span { color: #9aa3c0; font-size: 13.5px; }
.cc-free { display: inline-block; margin: 2px 0 10px; padding: 5px 10px; border-radius: 999px; background: rgba(20,241,149,.12); color: #14F195; font-size: 12px; font-weight: 700; }
.cc-machines { display: flex; flex-direction: column; gap: 10px; }
.cc-mach { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: #fff; text-align: left; }
.cc-mach.hot { border-color: rgba(255,122,26,.5); background: linear-gradient(120deg, rgba(255,122,26,.12), rgba(46,140,255,.08)); }
.cc-mach img { width: 62px; height: 82px; object-fit: cover; border-radius: 10px; flex: none; } .cc-mt { flex: 1; display: flex; flex-direction: column; gap: 3px; } .cc-mt b { font-size: 17px; } .cc-mt small { color: #9aa3c0; font-size: 12.5px; }
.cc-mach .cc-rip { margin: 0; padding: 9px 16px; font-size: 12px; }
.cc-live { font-style: normal; color: #ff453a; font-size: 11px; margin-left: 6px; animation: pulse .9s infinite alternate; }
.cc-feed { display: flex; flex-direction: column; gap: 6px; } .cc-fr { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.04); font-size: 12.5px; }
.cc-fw { flex: none; width: 74px; color: #9aa3c0; font-family: ui-monospace, Menlo, monospace; font-size: 11px; } .cc-fc { flex: 1; min-width: 0; display: flex; flex-direction: column; } .cc-fc b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cc-fc small { color: #6b7493; } .cc-fv { font-weight: 800; color: #FFD56B; }
.cc-search { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 12px; background: rgba(255,255,255,.07); color: #9aa3c0; font-size: 14px; }
.cc-chips { display: flex; gap: 6px; margin: 10px 0; } .cc-chips span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); font-size: 12.5px; font-weight: 600; color: #9aa3c0; } .cc-chips span.on { background: #fff; color: #0B1020; }
.cc-mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .cc-mcard { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 16px; background: rgba(255,255,255,.05); color: #fff; text-align: left; } .cc-mcard img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; } .cc-mcard .cc-grade { position: absolute; top: 14px; left: 14px; } .cc-mcard b { font-size: 12.5px; line-height: 1.2; margin-top: 4px; } .cc-mcard small { color: #6b7493; font-size: 10.5px; } .cc-mcard em { font-style: normal; font-weight: 800; color: #FFD56B; }
.pack-btns2 { display: flex; gap: 10px; opacity: 0; transition: opacity .3s .3s; } .pack-sheet.revealed .pack-btns2 { opacity: 1; } .pack-btns2 button { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-weight: 600; font-size: 13px; }
.pack-btns button[data-p="sell"] { background: linear-gradient(90deg, #FF7A1A, #2E8CFF); color: #fff; }
.pack-done { padding: 12px 18px; border-radius: 999px; background: rgba(20,241,149,.14); color: #14F195; font-weight: 700; font-size: 14px; }
.cc-logo { white-space: nowrap; font-size: 13.5px; letter-spacing: .06em; }
/* v13 calendar: tappable days */
button.cd { background: none; border: 0; border-top: .5px solid var(--sep); font: inherit; color: inherit; cursor: pointer; }
.cd.sel b { background: #111; color: #fff; } .cd.sel.today b { background: #ff3b30; } .cd.sel.bp b { box-shadow: 0 0 0 2.5px #fff, 0 0 0 4.5px #111; }
.cd .dots { display: flex; gap: 2px; height: 6px; margin-top: 3px; } .cd .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--c); }
.ce-list { margin: 0 14px 40px; background: #fff; border-radius: 16px; overflow: hidden; }
.ce { display: flex; gap: 12px; padding: 12px 14px; border-bottom: .5px solid var(--sep); animation: ce-in .22s ease both; }
.ce:last-child { border-bottom: 0; }
.ce-h { flex: none; width: 64px; font-size: 13px; color: #8e8e93; padding-top: 1px; }
.ce-b { display: flex; flex-direction: column; gap: 3px; border-left: 3.5px solid var(--c); padding-left: 10px; min-width: 0; }
.ce-b b { font-size: 15px; font-weight: 600; } .ce-b small { font-size: 12.5px; color: #8e8e93; display: flex; align-items: center; gap: 3px; } .ce-b em { font-style: normal; font-size: 13px; color: #3c3c43; }
.ce.orange { --c: #ff9500; } .ce.blue { --c: #007aff; } .ce.purple { --c: #9945FF; } .ce.green { --c: #34c759; } .ce.red { --c: #ff3b30; } .ce.gray { --c: #8e8e93; } .ce.side { --c: #14c38a; }
.ce-none { margin: 0; padding: 22px; text-align: center; color: #8e8e93; font-size: 15px; }
@keyframes ce-in { from { opacity: 0; transform: translateY(4px); } }
/* v13 Solflare — matches the real app */
.solflare { background: #0b0c0f; font-family: var(--font); }
.sf-scroll { flex: 1; overflow-y: auto; padding: 0 0 120px; scrollbar-width: none; }
.sf-scroll::-webkit-scrollbar { display: none; }
.sf-hero { margin: 4px 10px 0; padding: 14px 16px 18px; border-radius: 24px; background: #2a2b2e url(../assets/media/sf-wave.svg) center/cover; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.sf-top { display: flex; justify-content: space-between; align-items: center; }
.sf-who { display: flex; align-items: center; gap: 8px; } .sf-who b { font-size: 17px; font-weight: 600; }
.sf-av { width: 34px; height: 34px; border-radius: 50%; background: #1a1b1e; color: #9a9ca3; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.sf-ib { color: #fff; padding: 4px; display: grid; place-items: center; }
.sf-bal { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: #fff; }
.sf-bal b { font-size: 46px; font-weight: 700; letter-spacing: -.02em; line-height: 1; } .sf-bal b span { color: #9a9ca3; }
.sf-bal .gl { color: #9a9ca3; } .sf-bal.hid b { letter-spacing: .05em; }
.sf-chg { margin-top: 8px; font-size: 14.5px; color: #9a9ca3; }
.solflare .sf-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 22px 0 0; }
.solflare .sf-actions button { gap: 9px; font-size: 14px; color: #fff; font-weight: 500; }
.solflare .sf-actions button span { width: 60px; height: 60px; background: #3a3b3f; color: #fff; }
.sf-promo { position: relative; margin: 10px 10px 0; border-radius: 18px; background: #232428; }
.sf-pgo { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 70px 14px 16px; text-align: left; color: #fff; }
.sf-pgo span { display: flex; flex-direction: column; gap: 4px; } .sf-pgo b { font-size: 16px; font-weight: 700; } .sf-pgo small { font-size: 13.5px; color: #b3b5bb; }
.sf-pgo img { position: absolute; right: 36px; top: 10px; height: 58px; width: auto; border-radius: 3px; box-shadow: 0 4px 12px rgba(0,0,0,.5); }
.sf-px { position: absolute; right: -6px; top: -8px; width: 28px; height: 28px; border-radius: 50%; background: #1a1b1e; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px #0b0c0f; }
.sf-tabs { display: flex; gap: 22px; padding: 16px 16px 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid #1f2024; }
.sf-tabs::-webkit-scrollbar { display: none; }
.sf-tabs button { flex: none; position: relative; padding: 4px 0 12px; font-size: 17px; font-weight: 500; color: #8b8d93; }
.sf-tabs button.on { color: #fff; } .sf-tabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #FCE94F; }
.sf-dot { position: absolute; top: 2px; right: -8px; width: 7px; height: 7px; border-radius: 50%; background: #FCE94F; }
.solflare .sf-body { overflow: visible; padding: 6px 0 0; }
.sf-tv { display: flex; justify-content: space-between; align-items: flex-end; padding: 14px 16px 10px; }
.sf-tv span:first-child { display: flex; flex-direction: column; gap: 4px; } .sf-tv small { font-size: 12px; letter-spacing: .14em; color: #8b8d93; } .sf-tv b { font-size: 19px; }
.sf-tvi { display: flex; gap: 14px; color: #8b8d93; }
.sf-claim { display: flex; align-items: center; gap: 10px; width: calc(100% - 20px); margin: 4px 10px 8px; padding: 12px 14px; border-radius: 12px; background: #3b3cb5; color: #fff; text-align: left; }
.sf-claim b { flex: 1; font-size: 15px; font-weight: 500; } .sf-coin { width: 28px; height: 28px; border-radius: 50%; background: #FCE94F; color: #111; display: grid; place-items: center; }
.solflare .sf-tok { padding: 11px 16px; border-radius: 0; gap: 14px; }
.solflare .sf-tok .sf-ti { width: 44px; height: 44px; }
.solflare .sf-tm b { font-size: 16px; font-weight: 500; } .solflare .sf-tr b { font-size: 16px; font-weight: 600; }
.solflare .sf-tm small i { font-style: normal; } .solflare small i.pos, .solflare small.pos { color: #4cd471; } .solflare small i.neg, .solflare small.neg { color: #ff5a4f; }
.sf-card { display: flex; align-items: center; gap: 12px; margin: 10px; padding: 14px; border-radius: 16px; background: #17181b; }
.sf-apy { flex: none; font-size: 13px; font-weight: 700; color: #111; background: #FCE94F; padding: 5px 10px; border-radius: 999px; }
.sf-nfts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 10px; }
.sf-nft { display: flex; flex-direction: column; gap: 6px; text-align: left; color: #b3b5bb; font-size: 12px; } .sf-nft img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #17181b; }
.sf-h2 { margin: 8px 16px 8px; font-size: 30px; font-weight: 700; }
.sf-mk { display: flex; gap: 8px; padding: 0 16px 8px; } .sf-mk span { padding: 7px 13px; border-radius: 999px; background: #1a1b1e; color: #b3b5bb; font-size: 13.5px; } .sf-mk span.on { background: #FCE94F; color: #111; font-weight: 600; }
.solflare .sf-act { padding: 12px 16px; border-bottom-color: #1a1b1e; }
.sf-ai { position: absolute; right: 18px; bottom: 116px; z-index: 6; width: 64px; height: 64px; border-radius: 50%; background: #3b3cb5; color: #FCE94F; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.sf-nav { position: absolute; left: 10px; right: 10px; bottom: 26px; z-index: 5; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; border-radius: 30px; background: rgba(28,29,32,.94); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(255,255,255,.05); }
.sf-nav button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 0 8px; border-radius: 24px; color: #fff; font-size: 12.5px; font-weight: 500; }
.sf-nav button.on { background: #2c2d31; color: #FCE94F; }
/* v14 Find My action buttons — iOS style */
.fm-acts { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; }
.fm-acts button { padding: 12px 8px; border-radius: 14px; background: #fff; color: #007aff; font-weight: 600; font-size: 15px; text-align: center; }
.fm-acts button.on { background: #fff; color: #007aff; }
.fm-ic .gl { display: block; margin: auto; }
.bps-row > .av.bps-av, .bps-av { display: grid; place-items: center; border-radius: 50%; line-height: 1; font-weight: 600; }
/* v16 fix: home grid must never grow wider than the screen (long widget text used to stretch it) */
.page { min-width: 0; width: 100%; box-sizing: border-box; overflow: hidden; }
.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > *, .w-rem, .w-sq, .w-md { min-width: 0; }
.w-rem { overflow: hidden; }
.wr-item, .wr-item span, .wr-item.done-msg { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.wr-item.done-msg small { display: block; white-space: normal; }
/* v17: short screens — widgets and row gaps shrink so the third app row never gets cut */
.page.short .widgets > * { aspect-ratio: auto !important; height: var(--wh, auto); }
.page.short .grid { row-gap: var(--rg, 14px); }
.page.short .widgets { margin-bottom: 10px; }
.page.short .w-sq .w-label, .page.short .wr-k { margin-top: 2px; }
.page.tight .widgets > * { padding: 10px 13px; }
.page.tight .w-k, .page.tight .wr-k { display: none; }
.page.tight .w-big { margin-top: auto; }
.page.tight .w-s { font-size: 11px; line-height: 1.2; }
.page.tight .wr-top b { font-size: 22px; }
.page.tight .wr-item { font-size: 13px; }
/* v17 Safari + Google */
.safari { background: #fff; color: #202124; }
.sf-page { flex: 1; overflow-y: auto; padding: 0 0 130px; scrollbar-width: none; }
.sf-page::-webkit-scrollbar { display: none; }
.gg { font-family: "Product Sans", "Google Sans", Manrope, Inter, Arial, sans-serif; font-weight: 700; letter-spacing: -.02em; }
.gg i { font-style: normal; }
.g-home { padding: 70px 18px 0; display: flex; flex-direction: column; align-items: center; }
.g-logo .gg { font-size: 64px; }
.g-box { width: 100%; display: flex; align-items: center; gap: 10px; margin-top: 26px; padding: 12px 16px; border-radius: 999px; background: #fff; box-shadow: 0 1px 6px rgba(32,33,36,.18); border: 1px solid #ececec; color: #5f6368; font-size: 16px; }
.g-box span { flex: 1; min-width: 0; color: #202124; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .g-box span.ph { color: #80868b; }
.g-recent { width: 100%; margin-top: 22px; }
.g-rh { font-size: 13px; font-weight: 600; color: #5f6368; padding: 6px 4px 8px; }
.g-row { width: 100%; display: flex; align-items: center; gap: 14px; padding: 13px 6px; border-bottom: 1px solid #f1f3f4; text-align: left; color: #202124; font-size: 16px; }
.g-row span { flex: 1; } .g-row .gl { color: #70757a; flex: none; }
.g-res { padding: 8px 0 0; }
.g-top { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 14px; }
.g-mini .gg { font-size: 30px; }
.g-top .g-box { margin-top: 6px; }
.g-tabs { display: flex; gap: 22px; padding: 14px 18px 0; border-bottom: 1px solid #ebebeb; font-size: 14px; color: #5f6368; }
.g-tabs > * { padding-bottom: 10px; } .g-tabs b { color: #202124; border-bottom: 3px solid #202124; }
.g-ai { margin: 14px 14px 0; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #eef3fe, #f6effe); }
.g-aih { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #3c4043; } .g-aih .gl { color: #4285F4; }
.g-ai p { margin: 8px 0 0; font-size: 16px; line-height: 1.45; color: #202124; }
.g-paa { margin: 18px 14px 0; }
.g-pa { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid #ebebeb; font-size: 15.5px; } .g-pa .gl { color: #5f6368; }
.sf-bar { position: absolute; left: 14px; right: 14px; bottom: 66px; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; background: rgba(255,255,255,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 4px 20px rgba(0,0,0,.12), 0 0 0 .5px rgba(0,0,0,.08); color: #111; font-size: 15px; }
.sfb-url { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.sfb-url .gl { vertical-align: -1px; color: #555; }
.sf-tools { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 5; display: flex; justify-content: space-around; padding: 0 18px; color: #007aff; }
.sf-tools > * { color: #007aff; padding: 4px 8px; } .sf-tools .off { color: #c7c7cc; }
.safari ~ .home-ind i { background: #111; }
.sfb-url { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.sfb-url .gl { vertical-align: 0; flex: none; }
/* v18: icons with an image — no tile colour, rim or sheen behind them (that was the thin white edge) */
.tile:has(img) { background: transparent; box-shadow: none; }
.tile:has(img)::after { display: none; }
.tile img { inset: -0.5px; width: calc(100% + 1px); height: calc(100% + 1px); }
.tile:has(img) .glyph { visibility: hidden; }
/* v19: Notes and Mail lists were being squeezed (bottom notes/emails hidden). They now keep full height and the page scrolls */
.notes > *, .mail > * { flex-shrink: 0; }
.notes > .n-count, .mail > .m-list { margin-bottom: 40px; }
/* v20 phone recents with contact photos */
.rc.rc-av { display: flex; align-items: center; gap: 12px; }
.rc.rc-av > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.rc-pic { flex: none; width: 40px; height: 40px; font-size: 15px; }
.rc.rc-av { flex-direction: row !important; text-align: left !important; justify-content: flex-start !important; align-items: center !important; }
.rc.rc-av > span:last-child { align-items: flex-start; }
