:root {
  color-scheme: dark;
  --bg: #080a12;
  --panel: #121622;
  --panel-2: #181d2c;
  --line: rgba(255,255,255,.085);
  --text: #f7f8ff;
  --muted: #858da1;
  --pink: #ff2b87;
  --pink-2: #ff68ac;
  --cyan: #44e6ef;
  --violet: #8b62ff;
  --green: #51efa0;
  --amber: #ffc55d;
  --red: #ff5c72;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { margin: 0; min-height: 100%; overflow-x: hidden; color: var(--text); background: radial-gradient(circle at 85% -10%, rgba(139,98,255,.15), transparent 32%), var(--bg); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body.sheet-open { overflow: hidden; }
button { color: inherit; font: inherit; -webkit-tap-highlight-color: transparent; }
.hidden { display: none!important; }
.ambient { position: fixed; pointer-events: none; border-radius: 999px; filter: blur(80px); opacity: .12; }
.ambient-one { width: 240px; height: 240px; right: -150px; top: 28%; background: var(--pink); }
.ambient-two { width: 260px; height: 260px; left: -190px; bottom: 5%; background: var(--cyan); }
.shell { position: relative; z-index: 1; width: min(100%, 760px); min-height: 100vh; margin: 0 auto; padding: max(12px, env(safe-area-inset-top)) 16px calc(96px + var(--safe-bottom)); }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { position: relative; width: 44px; height: 44px; display: grid; place-items: center; overflow: hidden; border-radius: 15px; background: linear-gradient(145deg, var(--pink), var(--violet)); box-shadow: 0 12px 32px rgba(255,43,135,.2); }
.brand-mark::after { content: ""; position: absolute; inset: 1px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2); }
.brand-mark span { font-size: 21px; font-weight: 950; font-style: italic; transform: skew(-8deg); }
.brand-mark i { position: absolute; right: 7px; bottom: 7px; width: 10px; height: 2px; background: white; transform: rotate(-32deg); box-shadow: 0 -5px white, 0 5px white; opacity: .72; }
.brand strong { display: block; font-size: 16px; letter-spacing: -.02em; }
.brand small { display: flex; align-items: center; gap: 5px; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .17em; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: rgba(19,23,35,.9); cursor: pointer; }
.icon-button span { font-size: 24px; transition: transform .4s; }
.icon-button.loading span { display: inline-block; animation: rotate .8s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.view { display: none; animation: fadeUp .22s ease-out; }
.view.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(7px); } }
.eyebrow, .page-heading small, .section-head small { color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .17em; }
.hero-card { position: relative; min-height: 206px; overflow: hidden; display: flex; align-items: center; padding: 24px 20px; margin-top: 9px; border: 1px solid var(--line); border-radius: 25px; background: linear-gradient(135deg, rgba(27,31,48,.98), rgba(14,17,27,.98)); box-shadow: 0 20px 55px rgba(0,0,0,.23); }
.hero-card::before { content: ""; position: absolute; width: 190px; height: 190px; right: -75px; top: -100px; border-radius: 50%; background: var(--pink); filter: blur(75px); opacity: .12; }
.hero-copy { position: relative; z-index: 2; max-width: 72%; }
.hero-copy small { color: var(--muted); font-size: 13px; }
.hero-copy h1 { margin: 9px 0 11px; font-size: clamp(30px, 9vw, 43px); line-height: .98; letter-spacing: -.055em; }
.hero-copy h1 span { color: transparent; background: linear-gradient(90deg, var(--cyan), #a889ff 75%); -webkit-background-clip: text; background-clip: text; }
.hero-copy p { margin: 0; color: #b0b6c7; font-size: 13px; line-height: 1.45; }
.radar { position: absolute; width: 154px; height: 154px; right: -33px; bottom: -28px; border: 1px solid rgba(68,230,239,.16); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 24px, rgba(68,230,239,.1) 25px 26px), linear-gradient(90deg, transparent 49.7%, rgba(68,230,239,.15) 50%, transparent 50.3%), linear-gradient(transparent 49.7%, rgba(68,230,239,.15) 50%, transparent 50.3%); opacity: .8; }
.radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; transform-origin: 50% 50%; background: conic-gradient(from -90deg, transparent 0deg 316deg, rgba(68,230,239,.025) 322deg, rgba(68,230,239,.2) 350deg, rgba(68,230,239,.48) 359deg, transparent 360deg); animation: radar-sweep 4s linear infinite; }
@keyframes radar-sweep { to { transform: rotate(360deg); } }
.radar b { position: absolute; z-index: 1; width: 5px; height: 5px; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%,-50%); background: rgba(68,230,239,.85); box-shadow: 0 0 10px rgba(68,230,239,.65); }
.radar span { position: absolute; z-index: 1; width: 7px; height: 7px; top: 39px; right: 45px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 15px var(--pink); animation: radar-target 2s ease-in-out infinite; }
@keyframes radar-target { 50% { opacity: .42; transform: scale(.72); } }
@media (prefers-reduced-motion: reduce) { .radar::after, .radar span { animation: none; } }
.balance-card { display: flex; justify-content: space-between; align-items: end; margin: 11px 0; padding: 17px 18px; border: 1px solid rgba(255,43,135,.2); border-radius: 19px; background: linear-gradient(110deg, rgba(255,43,135,.09), rgba(139,98,255,.06)); }
.balance-card small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.balance-card strong { font-size: 26px; letter-spacing: -.04em; }
.balance-card strong em { color: var(--pink-2); font-size: 13px; font-style: normal; letter-spacing: .06em; }
.balance-side { text-align: right; }
.balance-side b { font-size: 14px; }
.balance-add { width: 34px; height: 34px; display: grid; place-items: center; margin-left: 10px; border: 1px solid rgba(255,43,135,.28); border-radius: 11px; color: white; background: linear-gradient(145deg, var(--pink), #a13cff); font-size: 19px; cursor: pointer; }
.metrics-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 24px; }
.metrics-grid article { min-width: 0; padding: 13px 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(18,22,34,.86); }
.metrics-grid article.accent { border-color: rgba(68,230,239,.2); background: rgba(68,230,239,.055); }
.metrics-grid small { color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.metrics-grid strong { display: block; margin: 5px 0 2px; font-size: 21px; }
.metrics-grid span { display: block; overflow: hidden; color: var(--muted); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.section-head, .page-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 12px; }
.section-head h2, .page-heading h1 { margin: 4px 0 0; font-size: 22px; letter-spacing: -.035em; }
.section-head > span { padding: 5px 9px; border-radius: 99px; color: var(--cyan); background: rgba(68,230,239,.08); font-size: 13px; font-weight: 850; }
.readiness-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: rgba(18,22,34,.88); }
.readiness-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 0; border-bottom: 1px solid var(--line); color: inherit; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.readiness-item:last-child { border-bottom: 0; }
.readiness-item > i { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; border-radius: 9px; font-style: normal; font-size: 14px; font-weight: 900; }
.readiness-item.complete > i { color: #062016; background: var(--green); }
.readiness-item.missing > i { color: var(--red); background: rgba(255,92,114,.12); border: 1px solid rgba(255,92,114,.22); }
.readiness-item > div { min-width: 0; flex: 1; }
.readiness-item b, .readiness-item span { display: block; }
.readiness-item b { font-size: 14px; }
.readiness-item span { margin-top: 3px; color: var(--muted); font-size: 13px; }
.readiness-item > em { flex: 0 0 auto; color: var(--cyan); font-size: 18px; font-style: normal; opacity: .72; }
.readiness-item:active { background: rgba(68,230,239,.055); }
.readiness-item:focus-visible { outline: 2px solid rgba(68,230,239,.5); outline-offset: -2px; }
.onboarding-next { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; margin: 14px 0; padding: 15px; border: 1px solid rgba(68,230,239,.2); border-radius: 20px; background: linear-gradient(145deg, rgba(68,230,239,.11), rgba(139,98,255,.1) 48%, rgba(255,43,135,.08)); box-shadow: inset 0 1px rgba(255,255,255,.05), 0 18px 45px rgba(0,0,0,.16); }
.onboarding-next.hidden { display: none; }
.onboarding-next::after { content: ""; position: absolute; width: 105px; height: 105px; top: -54px; right: -38px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; box-shadow: 0 0 0 22px rgba(139,98,255,.025); pointer-events: none; }
.onboarding-next > div { position: relative; z-index: 1; min-width: 0; }
.onboarding-next small { display: block; color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .11em; }
.onboarding-next b { display: block; margin-top: 6px; font-size: 15px; }
.onboarding-next p { margin: 5px 0 0; color: #aeb7c8; font-size: 12px; line-height: 1.45; }
.onboarding-next button { position: relative; z-index: 1; min-width: 94px; min-height: 44px; padding: 8px 11px; border: 1px solid rgba(68,230,239,.27); border-radius: 14px; color: #effcff; background: linear-gradient(135deg, rgba(20,173,194,.72), rgba(99,77,216,.76)); font-size: 12px; font-weight: 900; }
.onboarding-next button span { margin-left: 4px; color: var(--cyan); font-size: 17px; }
.primary-action, .secondary-action { width: 100%; border: 0; border-radius: 16px; cursor: pointer; font-weight: 850; }
.primary-action { margin-top: 13px; padding: 15px; color: white; background: linear-gradient(105deg, var(--pink), #b13cff); box-shadow: 0 13px 35px rgba(255,43,135,.18); }
.primary-action span { margin-right: 7px; }
.page-heading { margin-top: 8px; margin-bottom: 20px; }
.page-heading h1 { font-size: 31px; }
.mini-action { width: 40px; height: 40px; border: 1px solid rgba(255,43,135,.25); border-radius: 13px; background: rgba(255,43,135,.1); color: var(--pink-2); font-size: 22px; cursor: pointer; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px; margin-bottom: 13px; border: 1px solid rgba(68,230,239,.14); border-radius: 15px; background: rgba(68,230,239,.045); }
.notice > span { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 20px; border-radius: 50%; color: #061517; background: var(--cyan); font-size: 13px; font-weight: 900; }
.notice p { margin: 0; color: #a8afc0; font-size: 13px; line-height: 1.5; }
.market-page-heading { margin-bottom: 14px; }
.segmented.market-view-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 12px; background: rgba(10,13,22,.78); backdrop-filter: blur(18px); }
.market-view-tabs button { min-width: 0; padding-inline: 5px; font-size: 12px; }
.market-view-tabs button.active { color: #061719; background: linear-gradient(105deg, var(--cyan), #75dfff); box-shadow: 0 7px 20px rgba(68,230,239,.12); }
.market-page-heading .mini-action { border-color: transparent; color: var(--cyan); background: transparent; box-shadow: none; }
.market-page-heading .mini-action span { display: inline-block; }
.market-page-heading .mini-action.loading span { animation: rotate .8s linear infinite; }
.market-search { display: flex; align-items: center; gap: 9px; padding: 11px 13px; margin-bottom: 11px; border: 1px solid var(--line); border-radius: 14px; background: rgba(18,22,34,.86); }
.market-search > span { color: var(--cyan); font-size: 18px; }
.market-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 15px; }
.market-search input::placeholder { color: var(--muted); }
.market-link-analysis { padding: 12px; margin: -2px 0 11px; border: 1px solid rgba(139,98,255,.2); border-radius: 16px; background: linear-gradient(145deg, rgba(68,230,239,.045), rgba(139,98,255,.075), rgba(255,43,135,.035)); }
.market-link-analysis > div:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.market-link-analysis small { color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .09em; }
.market-link-analysis p { margin: 0; color: var(--muted); font-size: 12px; }
.market-link-analysis-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
.market-link-analysis-form input { min-width: 0; width: 100%; border: 1px solid rgba(255,255,255,.09); outline: 0; padding: 11px 12px; border-radius: 12px; color: var(--text); background: rgba(8,10,17,.72); font-size: 13px; }
.market-link-analysis-form input::placeholder { color: #70798c; }
.market-link-analysis-form button { min-width: 92px; border: 1px solid rgba(68,230,239,.25); border-radius: 12px; padding: 9px 10px; color: #e9feff; background: linear-gradient(115deg, rgba(68,230,239,.18), rgba(139,98,255,.24)); font-size: 12px; font-weight: 900; cursor: pointer; }
.market-link-analysis-form button:disabled { opacity: .55; cursor: wait; }
.market-pulse { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-bottom: 11px; }
.market-pulse article { min-width: 0; padding: 12px 10px; border: 1px solid var(--line); border-radius: 15px; background: rgba(18,22,34,.82); }
.market-pulse small, .market-pulse strong { display: block; }
.market-pulse small { overflow: hidden; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .1em; white-space: nowrap; text-overflow: ellipsis; }
.market-pulse strong { margin-top: 5px; color: var(--cyan); font-size: 19px; }
.market-note { display: flex; gap: 10px; padding: 12px 13px; margin-bottom: 16px; border: 1px solid rgba(68,230,239,.14); border-radius: 15px; background: rgba(68,230,239,.04); }
.market-note > i { width: 8px; height: 8px; flex: 0 0 8px; margin-top: 3px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(81,239,160,.7); }
.market-note p, .market-note b, .market-note span { display: block; margin: 0; }
.market-note b { font-size: 12px; }
.market-note span { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.market-analytics-hero { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: end; gap: 10px; padding: 16px; margin-bottom: 10px; border: 1px solid rgba(255,43,135,.2); border-radius: 21px; background:
  radial-gradient(circle at 92% 15%, rgba(255,43,135,.18), transparent 34%),
  linear-gradient(135deg, rgba(26,31,48,.92), rgba(15,17,29,.96)); }
.market-analytics-hero::after { content: ""; position: absolute; right: -36px; bottom: -58px; width: 150px; height: 150px; border: 1px solid rgba(68,230,239,.1); border-radius: 50%; box-shadow: 0 0 0 24px rgba(68,230,239,.025), 0 0 0 48px rgba(139,98,255,.018); }
.market-analytics-hero > * { position: relative; z-index: 1; }
.market-analytics-hero small { color: var(--pink-2); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.market-analytics-hero h2 { margin: 5px 0 3px; font-size: 22px; letter-spacing: -.04em; }
.market-analytics-hero p { margin: 0; color: #aeb6c8; font-size: 12px; line-height: 1.45; }
.market-analytics-hero > span { flex: 0 0 auto; color: var(--muted); font-size: 11px; }
.market-analytics-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-bottom: 9px; }
.market-analytics-summary article { min-width: 0; padding: 11px 10px; border: 1px solid var(--line); border-radius: 15px; background: rgba(18,22,34,.8); }
.market-analytics-summary small, .market-analytics-summary strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.market-analytics-summary small { color: var(--muted); font-size: 10.5px; font-weight: 900; letter-spacing: .06em; }
.market-analytics-summary strong { margin-top: 5px; color: var(--cyan); font-size: 18px; }
.market-analytics-note { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; padding: 10px 11px; border: 1px solid rgba(68,230,239,.13); border-radius: 14px; background: rgba(68,230,239,.035); }
.market-analytics-note i { width: 17px; height: 17px; flex: 0 0 17px; display: grid; place-items: center; border: 1px solid rgba(68,230,239,.38); border-radius: 50%; color: var(--cyan); font-size: 10px; font-style: normal; font-weight: 900; }
.market-analytics-note p { margin: 0; color: #aeb6c8; font-size: 12px; line-height: 1.5; }
.segmented.market-analytics-tabs { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2px; padding: 3px; margin-bottom: 9px; }
.segmented.market-analytics-tabs button { min-width: 0; overflow: hidden; padding: 9px 2px; font-size: 11px; line-height: 1.15; white-space: nowrap; text-overflow: ellipsis; }
.market-analytics-tabs button.active { color: white; background: linear-gradient(105deg, rgba(255,43,135,.68), rgba(139,98,255,.68)); }
.market-analytics-list { display: grid; gap: 8px; }
.market-analytics-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(23,28,44,.96), rgba(11,14,23,.98)); }
.market-analytics-card.rising { border-color: rgba(81,239,160,.18); }
.market-analytics-card.falling { border-color: rgba(255,92,114,.18); }
.market-analytics-card.opportunity { border-color: rgba(255,43,135,.2); }
.market-history-hero { border-color: rgba(68,230,239,.2); background:
  radial-gradient(circle at 85% 18%, rgba(68,230,239,.16), transparent 35%),
  linear-gradient(145deg, rgba(19,41,51,.85), rgba(29,18,48,.84));
}
.market-history-list { display: grid; gap: 9px; margin-top: 10px; }
.market-history-card { overflow: hidden; border: 1px solid rgba(68,230,239,.14); border-radius: 19px; background: linear-gradient(145deg, rgba(23,31,45,.96), rgba(11,14,23,.98)); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.market-history-card.selected { border-color: rgba(255,43,135,.56); box-shadow: 0 0 0 1px rgba(255,43,135,.13), inset 0 1px rgba(255,255,255,.045); }
.market-history-main { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 11px; }
.market-history-image { position: relative; isolation: isolate; overflow: hidden; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; color: var(--cyan); background: radial-gradient(circle at 38% 28%, #343c58, #10131e 72%); font-size: 17px; font-weight: 950; }
.market-history-image img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.market-history-copy { min-width: 0; }
.market-history-copy small, .market-history-copy b, .market-history-copy span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.market-history-copy small { color: var(--cyan); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.market-history-copy b { margin-top: 4px; font-size: 14px; }
.market-history-copy span { margin-top: 4px; color: var(--muted); font-size: 10.5px; }
.market-history-price { min-width: 68px; text-align: right; }
.market-history-price strong, .market-history-price span { display: block; white-space: nowrap; }
.market-history-price strong { color: var(--green); font-size: 13px; }
.market-history-price span { margin-top: 5px; color: var(--muted); font-size: 10px; }
.market-history-change { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.065); border-bottom: 1px solid rgba(255,255,255,.065); }
.market-history-change > span { min-width: 0; padding: 9px 11px; }
.market-history-change > span + span { border-left: 1px solid rgba(255,255,255,.065); }
.market-history-change small, .market-history-change b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.market-history-change small { color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.market-history-change b { margin-top: 4px; color: #dce2ef; font-size: 12px; }
.market-history-change b.up { color: var(--green); }
.market-history-change b.down { color: var(--red); }
.market-history-watch { width: calc(100% - 22px); display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 9px; margin: 9px 11px 0; padding: 9px 10px; border: 1px solid rgba(68,230,239,.14); border-radius: 12px; color: #cdd4e1; text-align: left; background: rgba(68,230,239,.035); cursor: pointer; }
.market-history-watch > i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #728097; background: rgba(255,255,255,.05); font-size: 12px; font-style: normal; }
.market-history-watch > span { min-width: 0; }
.market-history-watch b, .market-history-watch small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.market-history-watch b { font-size: 11.5px; }
.market-history-watch small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.market-history-watch em { color: #788297; font-size: 10px; font-style: normal; font-weight: 950; }
.market-history-watch.active { border-color: rgba(81,239,160,.28); color: #e5fff1; background: linear-gradient(105deg, rgba(81,239,160,.08), rgba(68,230,239,.045)); }
.market-history-watch.active > i, .market-history-watch.active em { color: var(--green); }
.market-history-watch:disabled { opacity: .68; cursor: wait; }
.market-history-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; padding: 9px 11px 11px; }
.market-history-actions button { min-width: 0; padding: 9px 6px; border: 1px solid var(--line); border-radius: 11px; color: #d4d9e5; background: rgba(255,255,255,.025); font-size: 11.5px; font-weight: 850; cursor: pointer; }
.market-history-actions button.selected { border-color: rgba(81,239,160,.3); color: var(--green); background: rgba(81,239,160,.075); }
.market-history-actions button:last-child { border-color: rgba(255,43,135,.24); color: #ff83bf; background: rgba(255,43,135,.065); }
.market-compare-bar { position: sticky; z-index: 8; bottom: calc(76px + var(--safe-bottom)); display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 7px; margin-top: 10px; padding: 10px; border: 1px solid rgba(68,230,239,.24); border-radius: 17px; background: rgba(11,16,26,.9); box-shadow: 0 15px 40px rgba(0,0,0,.4); backdrop-filter: blur(22px) saturate(130%); }
.market-compare-bar small, .market-compare-bar b { display: block; }
.market-compare-bar small { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.market-compare-bar b { margin-top: 3px; font-size: 12px; }
.market-compare-bar button { padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; color: #b8c0d0; background: rgba(255,255,255,.035); font-size: 11px; font-weight: 850; cursor: pointer; }
.market-compare-bar button:last-child { border-color: rgba(255,43,135,.3); color: white; background: linear-gradient(105deg, rgba(255,43,135,.82), rgba(145,61,246,.9)); }
.market-compare-bar button:disabled { opacity: .42; cursor: default; }
.market-comparison-list { display: grid; gap: 9px; }
.market-comparison-card { overflow: hidden; border: 1px solid rgba(68,230,239,.15); border-radius: 19px; background: linear-gradient(145deg, rgba(24,32,47,.96), rgba(11,14,23,.98)); }
.market-comparison-head { display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: 10px; padding: 11px; }
.market-comparison-head > span { position: relative; isolation: isolate; overflow: hidden; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; color: var(--cyan); background: radial-gradient(circle at 38% 28%, #343c58, #10131e 72%); font-weight: 950; }
.market-comparison-head img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.market-comparison-head div { min-width: 0; }
.market-comparison-head small, .market-comparison-head b, .market-comparison-head p { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.market-comparison-head small { color: var(--cyan); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.market-comparison-head b { margin-top: 4px; font-size: 15px; }
.market-comparison-head p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.market-comparison-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.065); }
.market-comparison-metrics > span { min-width: 0; padding: 10px 11px; border-bottom: 1px solid rgba(255,255,255,.065); }
.market-comparison-metrics > span:nth-child(even) { border-left: 1px solid rgba(255,255,255,.065); }
.market-comparison-metrics > span:last-child { grid-column: 1 / -1; border-bottom: 0; border-left: 0; }
.market-comparison-metrics small, .market-comparison-metrics b, .market-comparison-metrics em { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.market-comparison-metrics small { color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.market-comparison-metrics b { margin-top: 4px; color: #e4e8f2; font-size: 13px; }
.market-comparison-metrics em { width: max-content; max-width: 100%; margin-top: 5px; padding: 3px 6px; border-radius: 7px; color: var(--green); background: rgba(81,239,160,.09); font-size: 10px; font-style: normal; font-weight: 850; }
.market-comparison-warning { margin: 0 11px 9px; padding: 8px 9px; border: 1px solid rgba(255,197,93,.18); border-radius: 11px; color: #d7c79f; background: rgba(255,197,93,.055); font-size: 10.5px; line-height: 1.4; }
.market-comparison-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 0 11px 11px; }
.market-comparison-actions button { min-width: 0; padding: 9px 6px; border: 1px solid var(--line); border-radius: 11px; color: #d3d9e6; background: rgba(255,255,255,.025); font-size: 11px; font-weight: 850; cursor: pointer; }
.market-comparison-actions button:last-child { border-color: rgba(255,43,135,.25); color: #ff82bf; background: rgba(255,43,135,.065); }
.market-analytics-main { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 10px 11px 8px; cursor: pointer; }
.market-analytics-image { position: relative; isolation: isolate; overflow: hidden; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; color: var(--cyan); background: radial-gradient(circle at 38% 28%, #343c58, #10131e 72%); font-style: normal; font-weight: 900; }
.market-analytics-image img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.market-analytics-copy { min-width: 0; }
.market-analytics-copy small { display: block; overflow: hidden; color: var(--cyan); font-size: 11px; font-weight: 850; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.market-analytics-copy h3 { overflow: hidden; margin: 5px 0; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.market-analytics-copy p { overflow: hidden; margin: 0; color: #9ba5b8; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.market-analytics-signal { min-width: 65px; text-align: right; }
.market-analytics-signal strong, .market-analytics-signal span { display: block; white-space: nowrap; }
.market-analytics-signal strong { color: var(--cyan); font-size: 14px; }
.market-analytics-card.rising .market-analytics-signal strong { color: var(--green); }
.market-analytics-card.falling .market-analytics-signal strong { color: var(--red); }
.market-analytics-card.opportunity .market-analytics-signal strong { color: var(--pink-2); }
.market-analytics-signal span { margin-top: 4px; color: #929bad; font-size: 11px; text-transform: uppercase; }
.market-analytics-evidence { display: grid; grid-template-columns: 24px minmax(0,1fr); align-items: center; gap: 8px; margin: 0 10px 8px; padding: 8px 9px; border: 1px solid rgba(255,197,93,.16); border-radius: 12px; background: rgba(255,197,93,.045); }
.market-analytics-evidence > i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; color: var(--amber); background: rgba(255,197,93,.1); font-size: 11px; font-style: normal; font-weight: 950; }
.market-analytics-evidence span, .market-analytics-evidence b, .market-analytics-evidence small { min-width: 0; display: block; }
.market-analytics-evidence b { color: #e6d7b5; font-size: 11px; }
.market-analytics-evidence small { overflow: hidden; margin-top: 3px; color: #9da6b8; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; }
.market-analytics-evidence.strong { border-color: rgba(81,239,160,.18); background: rgba(81,239,160,.045); }
.market-analytics-evidence.strong > i { color: var(--green); background: rgba(81,239,160,.1); }
.market-analytics-evidence.strong b { color: var(--green); }
.market-analytics-evidence.medium { border-color: rgba(68,230,239,.16); background: rgba(68,230,239,.04); }
.market-analytics-evidence.medium > i { color: var(--cyan); background: rgba(68,230,239,.09); }
.market-analytics-evidence.medium b { color: var(--cyan); }
.market-analytics-floor { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 12px; padding: 7px 11px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(7,10,17,.3); }
.market-analytics-floor span small, .market-analytics-floor span b { display: block; }
.market-analytics-floor span small { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.market-analytics-floor span b { margin-top: 3px; color: #e8ebf5; font-size: 14px; white-space: nowrap; }
.market-analytics-floor svg { width: 100%; height: 31px; overflow: visible; }
.market-analytics-floor polyline { fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(68,230,239,.35)); }
.market-analytics-card.rising .market-analytics-floor polyline { stroke: var(--green); }
.market-analytics-card.falling .market-analytics-floor polyline { stroke: var(--red); }
.market-analytics-actions { display: grid; grid-template-columns: 1fr .72fr; gap: 6px; padding: 8px 10px 10px; }
.market-analytics-actions button { min-width: 0; padding: 10px 6px; border: 1px solid var(--line); border-radius: 10px; color: #cdd5e3; background: rgba(255,255,255,.025); font-size: 12px; font-weight: 850; cursor: pointer; }
.market-analytics-actions button.snipe { border-color: rgba(68,230,239,.25); color: var(--cyan); background: rgba(68,230,239,.055); }
.market-list-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 9px; }
.market-list-head b, .market-list-head span { display: block; }
.market-list-head b { font-size: 15px; }
.market-list-head span, .market-list-head em { margin-top: 2px; color: var(--muted); font-size: 11px; font-style: normal; }
.market-collection-list, .market-model-list { display: grid; gap: 8px; }
.market-collection-card { width: 100%; display: grid; grid-template-columns: 50px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 11px; border: 1px solid var(--line); border-radius: 17px; color: var(--text); background: linear-gradient(145deg, rgba(22,27,42,.96), rgba(13,16,26,.96)); text-align: left; cursor: pointer; }
.market-collection-thumb, .market-selected-thumb, .market-model-image { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.08); color: var(--cyan); background: radial-gradient(circle at 38% 28%, #343c58, #10131e 72%); font-style: normal; font-weight: 900; }
.market-collection-thumb { width: 50px; height: 50px; border-radius: 14px; }
.market-collection-thumb img, .market-selected-thumb img, .market-model-image img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.market-collection-main { min-width: 0; }
.market-collection-main h3 { overflow: hidden; margin: 0 0 5px; font-size: 15px; white-space: nowrap; text-overflow: ellipsis; }
.market-collection-main p { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; }
.market-collection-main p span { padding: 3px 5px; border-radius: 6px; color: #aeb6c8; background: rgba(255,255,255,.035); font-size: 10px; }
.market-collection-price { text-align: right; }
.market-collection-price small, .market-collection-price b, .market-collection-price em { display: block; }
.market-collection-price small { color: var(--muted); font-size: 10px; }
.market-collection-price b { margin: 4px 0 2px; color: var(--green); font-size: 14px; white-space: nowrap; }
.market-collection-price em { color: var(--cyan); font-size: 16px; font-style: normal; }
.market-loading, .market-empty { padding: 30px 18px; border: 1px dashed var(--line); border-radius: 17px; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }
.market-empty b { display: block; margin-bottom: 5px; color: var(--text); font-size: 15px; }
.market-back { margin: 0 0 13px; padding: 0; border: 0; color: var(--cyan); background: transparent; font-size: 13px; font-weight: 850; cursor: pointer; }
.market-selected-collection { display: flex; align-items: center; gap: 12px; padding: 13px; margin-bottom: 11px; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(135deg, rgba(68,230,239,.07), rgba(139,98,255,.07)); }
.market-selected-thumb { width: 62px; height: 62px; flex: 0 0 62px; border-radius: 17px; }
.market-selected-collection small { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.market-selected-collection h2 { margin: 4px 0; font-size: 20px; }
.market-selected-collection p { margin: 0; color: var(--muted); font-size: 11px; }
.market-model-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(22,27,42,.97), rgba(13,16,26,.97)); }
.market-model-head { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 11px; }
.market-model-image { width: 58px; height: 58px; border-radius: 15px; }
.market-model-copy { min-width: 0; }
.market-model-copy small { color: var(--cyan); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.market-model-copy h3 { overflow: hidden; margin: 4px 0 5px; font-size: 15px; white-space: nowrap; text-overflow: ellipsis; }
.market-model-copy p { overflow: hidden; margin: 0; color: var(--muted); font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.market-model-price { text-align: right; }
.market-model-price small, .market-model-price b, .market-model-price span { display: block; }
.market-model-price small { color: var(--muted); font-size: 10px; }
.market-model-price b { margin: 3px 0; color: var(--green); font-size: 15px; white-space: nowrap; }
.market-model-price span { color: var(--muted); font-size: 10px; }
.market-model-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.market-model-stats div { padding: 9px 10px; border-right: 1px solid var(--line); }
.market-model-stats div:last-child { border-right: 0; }
.market-model-stats small, .market-model-stats b { display: block; }
.market-model-stats small { color: var(--muted); font-size: 10px; }
.market-model-stats b { overflow: hidden; margin-top: 3px; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.market-model-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 7px; padding: 9px 10px 10px; }
.market-model-actions button { border: 1px solid var(--line); border-radius: 11px; padding: 10px 7px; color: #c5ccdb; background: rgba(255,255,255,.025); font-size: 12px; font-weight: 850; cursor: pointer; }
.market-model-actions button.snipe { color: #061b1c; border-color: var(--cyan); background: linear-gradient(105deg, var(--cyan), #7de9ff); }
.market-model-actions button:only-child { grid-column: 1 / -1; }
.market-load-more { width: 100%; min-height: 46px; margin-top: 2px; border: 1px solid rgba(68,230,239,.18); border-radius: 14px; color: var(--cyan); background: rgba(68,230,239,.055); font-size: 13px; font-weight: 900; cursor: pointer; }
.market-load-more:disabled, .market-listing-sort.loading { opacity: .58; cursor: wait; }

@supports (content-visibility: auto) {
  .market-collection-card,
  .market-listing-card {
    content-visibility: auto;
    contain-intrinsic-size: auto 78px;
  }

  .market-model-card {
    content-visibility: auto;
    contain-intrinsic-size: auto 196px;
  }
}
.market-detail-hero { display: flex; align-items: center; gap: 13px; padding: 14px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(135deg, rgba(68,230,239,.08), rgba(139,98,255,.08)); }
.market-detail-image { position: relative; isolation: isolate; overflow: hidden; width: 72px; height: 72px; flex: 0 0 72px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 19px; color: var(--cyan); background: radial-gradient(circle at 38% 28%, #343c58, #10131e 72%); font-size: 20px; font-style: normal; font-weight: 900; }
.market-detail-image img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.market-detail-copy { min-width: 0; }
.market-detail-copy small { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.market-detail-copy h2 { overflow: hidden; margin: 5px 0; font-size: 22px; white-space: nowrap; text-overflow: ellipsis; }
.market-detail-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.market-source-status { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 10px; }
.market-source-status span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: #aeb7c8; background: rgba(18,22,34,.76); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.market-source-status span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #7f8798; }
.market-source-status span.online::before { background: var(--green); box-shadow: 0 0 7px rgba(81,239,160,.65); }
.market-source-status span.recent::before, .market-source-status span.slow::before { background: #ffc857; }
.market-source-status span.offline::before, .market-source-status span.stale::before { background: var(--red); }
.segmented.market-detail-period { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 4px; margin: 0 0 9px; border-color: rgba(255,255,255,.09); background: rgba(9,11,18,.7); }
.market-detail-period button { min-width: 0; padding: 8px 5px; font-size: 11px; }
.market-detail-period.loading button { pointer-events: none; opacity: .48; }
.market-detail-period.loading button.active { opacity: 1; }
.market-detail-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-bottom: 10px; }
.market-detail-stats article { min-width: 0; padding: 11px 9px; border: 1px solid var(--line); border-radius: 15px; background: rgba(18,22,34,.82); }
.market-detail-stats small, .market-detail-stats strong, .market-detail-stats span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.market-detail-stats small { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .04em; }
.market-detail-stats strong { margin-top: 6px; color: var(--cyan); font-size: 17px; }
.market-detail-stats span { margin-top: 2px; color: var(--muted); font-size: 10px; }
.market-detail-stats strong.up { color: var(--red); }
.market-detail-stats strong.down { color: var(--green); }
.market-median-note { position: relative; margin: -2px 0 10px; padding: 10px 11px 10px 30px; border: 1px solid rgba(68,230,239,.16); border-radius: 13px; color: #aeb7c8; background: rgba(68,230,239,.045); font-size: 12px; line-height: 1.5; }
.market-giftwiki-reference { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; margin: 0 0 10px; padding: 12px; border: 1px solid rgba(139,98,255,.22); border-radius: 15px; background: linear-gradient(145deg, rgba(139,98,255,.09), rgba(68,230,239,.045)); }
.market-giftwiki-reference.hidden { display: none; }
.market-giftwiki-reference small { color: #b6a8ff; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.market-giftwiki-reference p { margin: 6px 0 0; color: #d6dbea; font-size: 12.5px; line-height: 1.5; }
.market-giftwiki-reference button { min-width: 86px; padding: 9px 8px; border: 1px solid rgba(139,98,255,.25); border-radius: 10px; color: #dcd4ff; background: rgba(139,98,255,.09); font-size: 11px; font-weight: 850; cursor: pointer; }
.market-median-note::before { content: "i"; position: absolute; top: 10px; left: 11px; width: 11px; height: 11px; display: grid; place-items: center; border: 1px solid rgba(68,230,239,.45); border-radius: 50%; color: var(--cyan); font-size: 10px; font-weight: 900; }
.market-liquidity { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 10px 11px; padding: 12px; margin-bottom: 10px; border: 1px solid rgba(139,98,255,.19); border-radius: 17px; background: linear-gradient(145deg, rgba(68,230,239,.055), rgba(139,98,255,.07) 58%, rgba(255,43,135,.04)); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.market-liquidity-score { width: 50px; height: 50px; display: grid; align-content: center; justify-items: center; border: 1px solid rgba(68,230,239,.28); border-radius: 16px; background: radial-gradient(circle at 50% 25%, rgba(68,230,239,.18), rgba(14,17,28,.86) 70%); }
.market-liquidity-score strong { color: var(--cyan); font-size: 19px; line-height: 1; }
.market-liquidity-score span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.market-liquidity-copy { min-width: 0; align-self: center; }
.market-liquidity-copy small { color: #a99af6; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.market-liquidity-copy b { display: block; margin-top: 4px; font-size: 14px; }
.market-liquidity-copy p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.market-liquidity-metrics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.market-liquidity-metrics span { min-width: 0; padding: 8px; border: 1px solid rgba(255,255,255,.065); border-radius: 11px; background: rgba(9,11,18,.42); }
.market-liquidity-metrics small, .market-liquidity-metrics b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.market-liquidity-metrics small { color: var(--muted); font-size: 10px; letter-spacing: .03em; }
.market-liquidity-metrics b { margin-top: 4px; color: #dbe2f1; font-size: 12px; }
.market-detail-chart { padding: 12px 13px 8px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 17px; background: rgba(18,22,34,.72); }
.market-detail-chart > div { display: flex; justify-content: space-between; align-items: center; }
.market-detail-chart small { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.market-detail-chart b { color: #b9c1d3; font-size: 11px; }
.market-detail-chart .market-chart-legend { justify-content: flex-start; gap: 13px; margin-top: 7px; color: var(--muted); font-size: 10px; }
.market-chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.market-chart-legend span::before { content: ""; width: 13px; height: 2px; border-radius: 99px; background: var(--cyan); box-shadow: 0 0 5px rgba(68,230,239,.35); }
.market-chart-legend span.median::before { background: #a98aff; box-shadow: 0 0 5px rgba(169,138,255,.35); }
.market-detail-chart svg { display: block; width: 100%; height: 72px; margin-top: 7px; overflow: visible; }
.market-detail-chart polyline { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.market-detail-chart polyline.floor { stroke: var(--cyan); filter: drop-shadow(0 0 5px rgba(68,230,239,.45)); }
.market-detail-chart polyline.median { stroke: #a98aff; stroke-width: 1.8; opacity: .82; filter: drop-shadow(0 0 4px rgba(169,138,255,.32)); }
.market-detail-chart.no-history svg { opacity: .22; }
.market-detail-list-head { margin-top: 2px; scroll-margin-block: 86px; }
.segmented.market-listing-sort { grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 9px; }
.market-listing-sort { scroll-margin-block: 86px; }
.market-listing-sort button { min-width: 0; padding: 8px 5px; font-size: 11px; }
.market-listing-list { display: grid; gap: 8px; }
.market-listing-card { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(22,27,42,.96), rgba(13,16,26,.96)); }
.market-listing-card.unavailable { opacity: .62; border-color: rgba(255,255,255,.07); }
.market-listing-card.stale { border-color: rgba(255,200,87,.2); }
.market-listing-image { position: relative; isolation: isolate; overflow: hidden; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; color: var(--cyan); background: #121827; font-style: normal; font-weight: 900; }
.market-listing-image img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.market-listing-image img.market-listing-placeholder-art { z-index: 1; }
.market-listing-copy { min-width: 0; }
.market-listing-copy small { color: var(--cyan); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.market-listing-copy b { display: block; overflow: hidden; margin-top: 5px; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.market-listing-copy span { display: block; overflow: hidden; margin-top: 3px; color: var(--muted); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.market-listing-copy span.market-price-trust { display: flex; align-items: center; gap: 5px; font-weight: 750; }
.market-price-trust i { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #7f8798; }
.market-price-trust.cross_market { color: var(--green); }
.market-price-trust.cross_market i { background: var(--green); box-shadow: 0 0 7px rgba(81,239,160,.6); }
.market-price-trust.repeated { color: var(--cyan); }
.market-price-trust.repeated i { background: var(--cyan); box-shadow: 0 0 7px rgba(68,230,239,.5); }
.market-price-trust.new { color: #ffc857; }
.market-price-trust.new i { background: #ffc857; }
.market-price-trust.stale { color: var(--red); }
.market-price-trust.stale i { background: var(--red); }
.market-listing-copy small em { margin-left: 5px; color: var(--green); font-style: normal; }
.market-listing-card.stale .market-listing-copy small em { color: #ffc857; }
.market-listing-card.unavailable .market-listing-copy small em { color: var(--red); }
.market-listing-price { text-align: right; }
.market-listing-price strong { display: block; color: var(--green); font-size: 14px; white-space: nowrap; }
.market-listing-card.unavailable .market-listing-price strong, .market-listing-card.stale .market-listing-price strong { color: #aeb7c8; font-size: 11px; }
.market-listing-price span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.market-listing-price button { margin-top: 7px; padding: 6px 8px; border: 1px solid rgba(68,230,239,.2); border-radius: 8px; color: var(--cyan); background: rgba(68,230,239,.05); font-size: 11px; font-weight: 850; cursor: pointer; }
.market-listing-actions { display: flex; justify-content: flex-end; gap: 4px; }
.market-listing-actions button.snipe { border-color: rgba(255,43,135,.3); color: #ff78ba; background: rgba(255,43,135,.08); }
.market-search-result { grid-template-columns: 52px minmax(0,1fr) minmax(88px,auto); }
.market-search-result .market-listing-image { width: 52px; height: 52px; }
.market-search-actions { display: flex; justify-content: flex-end; gap: 5px; }
.market-search-actions button:last-child { border-color: rgba(255,43,135,.28); color: #ff78ba; background: rgba(255,43,135,.08); }
.market-search-result .market-listing-price.stale strong { color: #b7bfd0; }
.market-detail-actions { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: 8px; margin-bottom: 12px; }
.market-detail-actions .primary-action, .market-detail-actions .secondary-action { min-width: 0; margin: 0; padding: 13px 8px; font-size: 12px; }
.market-detail-analyze { border-color: rgba(68,230,239,.25); color: #dffcff; background: linear-gradient(145deg, rgba(68,230,239,.11), rgba(139,98,255,.09)); box-shadow: inset 0 1px rgba(255,255,255,.05); }
.market-detail-analyze span { margin-right: 5px; color: var(--cyan); }
.card-list { display: grid; gap: 10px; }
.filter-card { padding: 15px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(22,27,42,.97), rgba(14,17,27,.97)); }
.filter-top { display: flex; align-items: center; gap: 10px; }
.filter-icon { position: relative; isolation: isolate; overflow: hidden; width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 12px; color: var(--pink-2); background: rgba(255,43,135,.09); font-size: 18px; }
.filter-icon > i { font-style: normal; }
.filter-icon > img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: contain; background: radial-gradient(circle at 38% 28%, #343c58, #10131e 72%); }
.filter-top > div:nth-child(2) { min-width: 0; flex: 1; }
.filter-top small { color: var(--muted); font-size: 11px; letter-spacing: .13em; }
.filter-top h3 { overflow: hidden; margin: 2px 0 0; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.status { display: inline-flex; padding: 4px 7px; border-radius: 99px; font-size: 12px!important; font-weight: 900; white-space: nowrap; }
.status.ready { color: var(--green); background: rgba(81,239,160,.09); }
.status.done { color: var(--cyan); background: rgba(68,230,239,.09); }
.status.paused, .status.pending { color: var(--amber); background: rgba(255,197,93,.09); }
.status.danger { color: var(--red); background: rgba(255,92,114,.09); }
.trait-line { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.trait-line span { padding: 5px 7px; border: 1px solid var(--line); border-radius: 8px; color: #b8bed0; background: rgba(255,255,255,.025); font-size: 12px; }
.filter-numbers { box-sizing: border-box; overflow: hidden; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; padding: 10px 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-numbers div { min-width: 0; padding: 0 4px; }
.filter-numbers div:first-child { padding-left: 0; }
.filter-numbers div:last-child { padding-right: 0; }
.filter-numbers div:nth-child(2) { text-align: center; }
.filter-numbers div:nth-child(3) { text-align: right; }
.filter-numbers small, .filter-numbers b { display: block; }
.filter-numbers small { overflow: hidden; color: var(--muted); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.filter-numbers b { overflow: hidden; max-width: 100%; margin-top: 4px; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.filter-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 11px; letter-spacing: .07em; }
.filter-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-top: 11px; }
.filter-actions button { min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 9px 6px; color: #b9c0d2; background: rgba(255,255,255,.025); font-size: 12px; font-weight: 850; cursor: pointer; }
.filter-actions button:active { border-color: rgba(45,226,230,.35); background: rgba(45,226,230,.07); }
.filter-actions button:disabled { opacity: .48; cursor: default; }
.filter-actions button.resume { color: var(--green); border-color: rgba(81,239,160,.16); background: rgba(81,239,160,.05); }
.filter-actions button.delete { color: var(--red); border-color: rgba(255,92,114,.14); background: rgba(255,92,114,.04); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 13px; border: 1px solid var(--line); border-radius: 14px; background: #0e111b; }
.segmented.activity-tabs { grid-template-columns: repeat(3,1fr); }
.segmented button { border: 0; border-radius: 10px; padding: 9px; color: var(--muted); background: transparent; font-size: 13px; font-weight: 800; cursor: pointer; }
.segmented button.active { color: white; background: #242a3b; }
.activity-card { display: flex; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 17px; background: rgba(18,22,34,.88); }
.activity-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 12px; font-weight: 900; }
.activity-icon.gift { color: var(--pink-2); background: rgba(255,43,135,.09); }
.activity-icon.plus { color: var(--green); background: rgba(81,239,160,.09); }
.activity-icon.ledger { color: var(--cyan); background: rgba(68,230,239,.08); }
.activity-main { min-width: 0; flex: 1; display: flex; justify-content: space-between; gap: 8px; }
.activity-main h3 { overflow: hidden; max-width: 205px; margin: 1px 0 4px; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; text-transform: capitalize; }
.activity-main span { color: var(--muted); font-size: 12px; }
.activity-value { text-align: right; }
.activity-value b { display: block; margin-bottom: 5px; font-size: 13px; }
.purchase-card { overflow: hidden; padding: 13px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(22,27,42,.98), rgba(13,16,26,.98)); }
.purchase-head { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; align-items: center; gap: 9px; }
.purchase-image { position: relative; isolation: isolate; overflow: hidden; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px; color: var(--pink-2); background: radial-gradient(circle at 40% 30%, #343c58, #10131e 72%); }
.purchase-image i { font-style: normal; }
.purchase-image img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.purchase-title { min-width: 0; }
.purchase-title small { color: var(--cyan); font-size: 10px; font-weight: 850; letter-spacing: .07em; }
.purchase-title h3 { overflow: hidden; margin: 4px 0; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.purchase-title > span { color: var(--muted); font-size: 11px; }
.purchase-price { text-align: right; }
.purchase-price > b { display: block; margin-bottom: 6px; font-size: 12px; }
.purchase-timeline { display: grid; grid-template-columns: repeat(6,1fr); margin: 15px 0 11px; }
.purchase-timeline > div { position: relative; display: grid; justify-items: center; gap: 6px; color: #596174; font-size: 10px; text-align: center; }
.purchase-timeline > div::before { content: ""; position: absolute; z-index: 0; top: 5px; right: 50%; width: 100%; height: 2px; background: #2b3141; }
.purchase-timeline > div:first-child::before { display: none; }
.purchase-timeline i { position: relative; z-index: 1; width: 11px; height: 11px; border: 2px solid #303748; border-radius: 50%; background: #151a28; }
.purchase-timeline .done { color: #94a0b8; }
.purchase-timeline .done::before, .purchase-timeline .done i { border-color: var(--green); background: var(--green); }
.purchase-timeline .current { color: var(--cyan); }
.purchase-timeline .current::before { background: linear-gradient(90deg,var(--green),var(--cyan)); }
.purchase-timeline .current i { border-color: var(--cyan); box-shadow: 0 0 10px rgba(68,230,239,.5); }
.purchase-timeline .error { color: var(--red); }
.purchase-timeline .error i { border-color: var(--red); background: var(--red); }
.purchase-details { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.purchase-details > div { display: grid; grid-template-columns: 1fr minmax(0,1.7fr); gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.purchase-details > div:last-child { border-bottom: 0; }
.purchase-details span { color: var(--muted); font-size: 12px; }
.purchase-details b { overflow: hidden; font-size: 12px; text-align: right; white-space: nowrap; text-overflow: ellipsis; }
.purchase-warning { margin: 9px 0 0; padding: 9px 10px; border-left: 2px solid var(--amber); border-radius: 0 9px 9px 0; color: #aab1c2; background: rgba(255,197,93,.045); font-size: 12px; line-height: 1.4; }
.purchase-warning b { display: block; margin-bottom: 3px; color: var(--amber); }
.purchase-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-top: 10px; }
.purchase-actions button { min-width: 0; border: 1px solid var(--line); border-radius: 11px; padding: 10px 6px; color: #c4cbda; background: rgba(255,255,255,.025); font-size: 12px; font-weight: 850; cursor: pointer; }
.purchase-actions button.check { color: var(--cyan); border-color: rgba(68,230,239,.18); background: rgba(68,230,239,.05); }
.purchase-actions button.send { color: #071c13; border-color: var(--green); background: var(--green); }
.purchase-actions button.retry { color: var(--amber); border-color: rgba(255,197,93,.2); background: rgba(255,197,93,.05); }
.purchase-actions button:disabled { opacity: .5; cursor: default; }
.alert-card { overflow: hidden; padding: 13px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(22,27,42,.98), rgba(13,16,26,.98)); }
.alert-visual { display: flex; align-items: center; gap: 11px; }
.alert-image { position: relative; isolation: isolate; overflow: hidden; width: 68px; height: 68px; flex: 0 0 68px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; color: var(--pink-2); background: radial-gradient(circle at 40% 30%, #343c58, #10131e 72%); }
.alert-image i { font-size: 22px; font-style: normal; }
.alert-image img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.alert-title { min-width: 0; flex: 1; }
.alert-title small { color: var(--cyan); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.alert-title h3 { overflow: hidden; margin: 5px 0 7px; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.alert-source { display: grid; grid-template-columns: 7px auto minmax(0,1fr) auto; align-items: center; gap: 6px; margin-top: 10px; padding: 7px 8px; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; color: var(--muted); background: rgba(255,255,255,.025); font-size: 10px; }
.alert-source i { width: 7px; height: 7px; border-radius: 50%; background: #7f8798; }
.alert-source.fresh i { background: var(--green); box-shadow: 0 0 7px rgba(81,239,160,.55); }
.alert-source.recent i { background: var(--amber); }
.alert-source.unavailable i, .alert-source.stale i { background: var(--red); }
.alert-source b { color: var(--cyan); font-size: 10px; }
.alert-source span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.alert-source time { white-space: nowrap; }
.alert-traits { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.alert-traits span { padding: 5px 7px; border-radius: 8px; color: #cbd1df; background: rgba(255,255,255,.045); font-size: 11px; }
.alert-economics { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; overflow: hidden; margin-top: 10px; border: 1px solid var(--line); border-radius: 13px; background: var(--line); }
.alert-economics > div { padding: 9px 10px; background: #151a28; }
.alert-economics small, .alert-economics b { display: block; }
.alert-economics small { margin-bottom: 4px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.alert-economics b { font-size: 13px; }
.alert-meta { display: flex; justify-content: space-between; margin-top: 9px; color: var(--muted); font-size: 11px; }
.alert-reason { margin: 9px 0 0; padding: 8px 9px; border-left: 2px solid var(--violet); border-radius: 0 8px 8px 0; color: #929aad; background: rgba(139,98,255,.045); font-size: 11px; line-height: 1.4; }
.alert-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-top: 10px; }
.alert-actions button { min-width: 0; border: 1px solid var(--line); border-radius: 11px; padding: 10px 6px; color: #c4cbda; background: rgba(255,255,255,.025); font-size: 12px; font-weight: 850; cursor: pointer; }
.alert-actions button.buy { border-color: rgba(81,239,160,.2); color: #071c13; background: var(--green); }
.alert-actions button.skip { border-color: rgba(255,92,114,.18); color: var(--red); background: rgba(255,92,114,.05); }
.alert-actions button:disabled { opacity: .5; cursor: default; }
.positive { color: var(--green)!important; }
.profile-card { display: flex; align-items: center; gap: 12px; padding: 16px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(26,30,47,.96), rgba(14,17,27,.96)); }
.avatar { width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden; flex: 0 0 52px; border: 1px solid rgba(255,255,255,.1); border-radius: 17px; background: linear-gradient(145deg, var(--pink), var(--violet)); font-size: 22px; font-weight: 950; }
.avatar.has-photo { background: rgba(255,255,255,.04); }
.avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.profile-card > div:nth-child(2) { min-width: 0; flex: 1; }
.profile-card h2 { margin: 0 0 3px; font-size: 16px; }
.profile-card p { margin: 0; color: var(--muted); font-size: 13px; }
.tier { padding: 5px 8px; border-radius: 8px; color: var(--cyan); background: rgba(68,230,239,.08); font-size: 12px; font-weight: 900; }
.profile-balance-overview { display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: end; gap: 8px; margin-bottom: 10px; padding: 14px; border: 1px solid rgba(68,230,239,.14); border-radius: 19px; background: linear-gradient(145deg, rgba(68,230,239,.07), rgba(139,98,255,.045)); }
.profile-balance-overview > div:first-child { align-self: center; }
.profile-balance-overview small, .profile-balance-overview span, .profile-balance-overview strong, .profile-balance-overview b { display: block; }
.profile-balance-overview small { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.profile-balance-overview strong { margin-top: 4px; font-size: 18px; }
.profile-balance-overview em { color: var(--pink-2); font-size: 10px; font-style: normal; }
.profile-balance-overview > div:not(:first-child) { text-align: right; }
.profile-balance-overview > div:not(:first-child) span { color: var(--muted); font-size: 11px; }
.profile-balance-overview > div:not(:first-child) b { margin-top: 5px; font-size: 13px; }
.referral-card { width: 100%; display: grid; grid-template-columns: 42px minmax(0,1fr) auto 12px; align-items: center; gap: 10px; margin-bottom: 10px; padding: 13px; border: 1px solid rgba(255,43,135,.18); border-radius: 19px; color: inherit; background: linear-gradient(115deg, rgba(255,43,135,.095), rgba(139,98,255,.075)); text-align: left; cursor: pointer; }
.referral-card-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg, var(--pink), var(--violet)); font-size: 17px; font-weight: 950; box-shadow: 0 10px 24px rgba(255,43,135,.17); }
.referral-card-copy { min-width: 0; }
.referral-card-copy small, .referral-card-copy b, .referral-card-copy em { display: block; }
.referral-card-copy small { color: var(--pink-2); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.referral-card-copy b { overflow: hidden; margin: 3px 0; font-size: 15px; white-space: nowrap; text-overflow: ellipsis; }
.referral-card-copy em { overflow: hidden; color: var(--muted); font-size: 11px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.referral-card-stats { min-width: 62px; text-align: right; }
.referral-card-stats b, .referral-card-stats small, .referral-card-stats em { display: block; }
.referral-card-stats b { font-size: 15px; }
.referral-card-stats small { color: var(--pink-2); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.referral-card-stats em { margin-top: 4px; color: var(--muted); font-size: 10px; font-style: normal; white-space: nowrap; }
.referral-card > i { color: var(--muted); font-size: 20px; font-style: normal; }
.detail-card { overflow: hidden; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 19px; background: rgba(18,22,34,.88); }
.detail-card > div { display: grid; grid-template-columns: 1fr minmax(90px, 1.4fr) 22px; align-items: center; gap: 8px; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.detail-card > div:last-child { border-bottom: 0; }
.detail-card span { color: var(--muted); font-size: 13px; }
.detail-card b { overflow: hidden; font-size: 13px; text-align: right; white-space: nowrap; text-overflow: ellipsis; }
.detail-card > div.ton-delivery-pending b { line-height: 1.25; white-space: normal; }
.detail-card i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 7px; font-style: normal; font-size: 11px; font-weight: 900; }
.detail-card i.ok { color: #061f14; background: var(--green); }
.detail-card i.warn { color: var(--amber); background: rgba(255,197,93,.1); }
.community-card { margin-bottom: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 19px; background: rgba(18,22,34,.88); }
.focus-pulse { animation: focusPulse 1.15s ease; }
@keyframes focusPulse {
  0% { box-shadow: 0 0 0 0 rgba(68,230,239,.38); border-color: rgba(68,230,239,.58); }
  100% { box-shadow: 0 0 0 16px rgba(68,230,239,0); }
}
.community-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.community-head small { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.community-head h2 { margin: 3px 0 0; font-size: 14px; }
.community-head > span { padding: 5px 7px; border-radius: 8px; color: var(--amber); background: rgba(255,197,93,.08); font-size: 11px; font-weight: 900; }
.community-head > span.ready { color: var(--green); background: rgba(81,239,160,.08); }
.community-details { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.community-details > div { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; padding: 10px 11px; border-bottom: 1px solid var(--line); }
.community-details > div:last-child { border-bottom: 0; }
.community-details b { font-size: 12px; }
.community-details strong { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--amber); font-size: 11px; }
.community-details strong.ok { color: var(--green); }
.community-details span { color: var(--muted); font-size: 11px; line-height: 1.35; }
.community-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: 9px; }
.community-actions .secondary-action { min-width: 0; margin: 0; padding: 11px 5px; font-size: 12px; }
.support-card { width: 100%; display: grid; grid-template-columns: 42px minmax(0,1fr) 12px; align-items: center; gap: 11px; margin-bottom: 10px; padding: 13px; border: 1px solid rgba(81,239,160,.2); border-radius: 19px; color: inherit; background: linear-gradient(115deg, rgba(81,239,160,.08), rgba(68,230,239,.06), rgba(139,98,255,.05)); text-align: left; cursor: pointer; }
.support-card-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #061f14; background: linear-gradient(145deg, var(--green), var(--cyan)); font-size: 18px; font-weight: 950; box-shadow: 0 10px 24px rgba(81,239,160,.14); }
.support-card > span:nth-child(2) { min-width: 0; }
.support-card small, .support-card b, .support-card em { display: block; }
.support-card small { color: var(--green); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.support-card b { margin: 3px 0; font-size: 15px; }
.support-card em { overflow: hidden; color: var(--muted); font-size: 11px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.support-card > i { color: var(--muted); font-size: 20px; font-style: normal; }
.project-docs-card { overflow: hidden; margin-bottom: 10px; padding: 14px; border: 1px solid rgba(68,230,239,.17); border-radius: 19px; background:
  radial-gradient(circle at 90% 10%, rgba(139,98,255,.14), transparent 38%),
  linear-gradient(145deg, rgba(19,29,42,.94), rgba(18,15,31,.94)); }
.project-docs-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.project-docs-head small, .project-docs-head h2 { display: block; }
.project-docs-head small { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.project-docs-head h2 { margin: 4px 0 0; font-size: 14px; }
.project-docs-head > span { padding: 5px 7px; border: 1px solid rgba(255,43,135,.16); border-radius: 8px; color: var(--pink-2); background: rgba(255,43,135,.06); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.project-docs-card > p { margin: 8px 0 11px; color: var(--muted); font-size: 11px; }
.project-docs-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.project-docs-list button { min-width: 0; display: grid; grid-template-columns: 25px minmax(0,1fr) auto; align-items: center; gap: 7px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; color: #d7dce8; text-align: left; background: rgba(255,255,255,.025); cursor: pointer; }
.project-docs-list button.featured { grid-column: 1 / -1; border-color: rgba(68,230,239,.2); background: linear-gradient(105deg, rgba(68,230,239,.065), rgba(139,98,255,.055)); }
.project-docs-list button > i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; color: var(--cyan); background: rgba(68,230,239,.08); font-size: 12px; font-style: normal; font-weight: 950; }
.project-docs-list button > span { overflow: hidden; font-size: 11px; font-weight: 850; line-height: 1.25; text-overflow: ellipsis; }
.project-docs-list button > em { color: var(--muted); font-size: 15px; font-style: normal; }
.project-docs-list button:active { border-color: rgba(255,43,135,.3); background: rgba(255,43,135,.06); }
.secondary-action { margin-bottom: 8px; padding: 13px; border: 1px solid var(--line); background: #191e2d; }
.security-note { margin: 15px auto; max-width: 320px; color: #687084; font-size: 12px; line-height: 1.45; text-align: center; }
.language-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 15px; background: #131825; }
.language-card small, .language-card b { display: block; }
.language-card small { margin-bottom: 3px; color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.language-card b { font-size: 13px; }
.language-switch { display: grid; grid-template-columns: repeat(2,1fr); gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 11px; background: #0d111b; }
.language-switch button { min-width: 42px; border: 0; border-radius: 8px; padding: 7px 9px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 900; cursor: pointer; }
.language-switch button.active { color: white; background: linear-gradient(105deg, rgba(255,43,135,.8), rgba(139,98,255,.8)); }
.owner-funnel-card { margin-bottom: 10px; padding: 14px; border: 1px solid rgba(68,230,239,.18); border-radius: 19px; background: linear-gradient(145deg, rgba(68,230,239,.065), rgba(139,98,255,.055)); }
.owner-funnel-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.owner-funnel-head small { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.owner-funnel-head h2 { margin: 3px 0 0; font-size: 14px; }
.owner-funnel-head > button { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--cyan); background: rgba(10,13,22,.7); font-size: 17px; cursor: pointer; }
.owner-funnel-head > button:disabled { opacity: .45; }
.owner-funnel-range { margin: 11px 0; }
.owner-funnel-range button { padding: 8px 6px; font-size: 11px; }
.owner-funnel-content > p { margin: 14px 0; color: var(--muted); font-size: 12px; text-align: center; }
.owner-funnel-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.owner-funnel-metric { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: rgba(8,11,18,.58); }
.owner-funnel-metric small, .owner-funnel-metric strong, .owner-funnel-metric span { display: block; }
.owner-funnel-metric small { overflow: hidden; color: var(--muted); font-size: 10px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.owner-funnel-metric strong { margin: 5px 0 2px; font-size: 18px; }
.owner-funnel-metric span { color: var(--cyan); font-size: 10px; }
.owner-funnel-steps { margin-top: 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; }
.owner-funnel-step { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.owner-funnel-step:last-child { border-bottom: 0; }
.owner-funnel-step span { color: var(--muted); font-size: 11px; }
.owner-funnel-step b { color: var(--green); font-size: 12px; }
.owner-funnel-note { margin: 9px 2px 0; color: #687084; font-size: 10px; line-height: 1.4; text-align: center; }
.owner-launch-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.owner-launch-head > b { font-size: 13px; }
.owner-launch-head > span { padding: 5px 7px; border-radius: 8px; color: var(--muted); background: rgba(255,255,255,.04); font-size: 10px; font-weight: 900; }
.owner-launch-head > span.ready { color: var(--green); background: rgba(81,239,160,.08); }
.owner-launch-head > span.blocked { color: var(--red); background: rgba(255,92,114,.09); }
.owner-launch-content { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-top: 9px; }
.owner-launch-content > p { grid-column: 1 / -1; margin: 10px 0; color: var(--muted); font-size: 11px; text-align: center; }
.owner-launch-row { display: grid; grid-template-columns: minmax(0,1fr) 18px; align-items: center; gap: 5px; min-width: 0; padding: 8px 9px; border: 1px solid var(--line); border-radius: 11px; background: rgba(8,11,18,.52); }
.owner-launch-row.has-detail { grid-column: 1 / -1; padding: 10px 11px; }
.owner-launch-row span { min-width: 0; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.25; text-overflow: ellipsis; }
.owner-launch-row span strong, .owner-launch-row span small { display: block; }
.owner-launch-row span strong { overflow: hidden; color: var(--muted); font-size: 10px; font-weight: 500; text-overflow: ellipsis; }
.owner-launch-row span small { margin-top: 3px; color: rgba(247,248,255,.72); font-size: 10px; line-height: 1.35; }
.owner-launch-row b { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 6px; color: var(--green); background: rgba(81,239,160,.1); font-size: 11px; }
.owner-launch-row.warning b { color: var(--amber); background: rgba(255,197,93,.1); }
.owner-launch-row.blocked b { color: var(--red); background: rgba(255,92,114,.1); }
.owner-launch-row.idle b { color: var(--cyan); background: rgba(68,230,239,.1); }
.owner-launch-row > button { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 3px; padding: 7px 9px; border: 1px solid rgba(68,230,239,.14); border-radius: 9px; color: var(--cyan); background: rgba(68,230,239,.045); font-size: 10px; font-weight: 850; cursor: pointer; }
.owner-launch-row > button i { font-size: 15px; font-style: normal; }
.owner-feedback-card { margin-bottom: 10px; padding: 14px; border: 1px solid rgba(81,239,160,.19); border-radius: 19px; background: linear-gradient(145deg, rgba(81,239,160,.055), rgba(68,230,239,.045), rgba(14,18,28,.9)); }
.owner-feedback-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.owner-feedback-head small { color: var(--green); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.owner-feedback-head h2 { margin: 3px 0 0; font-size: 14px; }
.owner-feedback-head button { border: 1px solid rgba(81,239,160,.18); border-radius: 10px; padding: 8px 10px; color: var(--green); background: rgba(81,239,160,.055); font-size: 10px; font-weight: 850; cursor: pointer; }
.owner-feedback-content { display: grid; gap: 7px; }
.owner-feedback-content > p { margin: 12px 0; color: var(--muted); font-size: 11px; text-align: center; }
.owner-feedback-item { padding: 11px; border: 1px solid var(--line); border-radius: 14px; background: rgba(8,11,18,.58); }
.owner-feedback-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.owner-feedback-meta b { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.owner-feedback-meta span { flex: 0 0 auto; padding: 4px 6px; border-radius: 7px; color: var(--amber); background: rgba(255,197,93,.08); font-size: 10px; font-weight: 900; }
.owner-feedback-item.in_progress .owner-feedback-meta span { color: var(--cyan); background: rgba(68,230,239,.08); }
.owner-feedback-item.resolved .owner-feedback-meta span { color: var(--green); background: rgba(81,239,160,.08); }
.owner-feedback-item > small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.owner-feedback-item > p { max-height: 7.2em; overflow: auto; margin: 8px 0; overflow-wrap: anywhere; color: #d8ddea; font-size: 12px; line-height: 1.45; white-space: pre-wrap; }
.owner-feedback-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
.owner-feedback-actions button { min-width: 0; border: 1px solid var(--line); border-radius: 9px; padding: 8px 4px; color: var(--muted); background: rgba(255,255,255,.025); font-size: 10px; font-weight: 850; cursor: pointer; }
.owner-feedback-actions button[data-feedback-status="in_progress"] { color: var(--cyan); }
.owner-feedback-actions button[data-feedback-status="resolved"] { color: var(--green); }
.owner-feedback-reply { margin-top: 9px; padding: 9px; border: 1px solid rgba(68,230,239,.14); border-radius: 11px; background: rgba(68,230,239,.035); }
.owner-feedback-reply > small { display: block; margin-bottom: 5px; color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.owner-feedback-reply > p { margin: 0; overflow-wrap: anywhere; color: #d8e9ed; font-size: 11px; line-height: 1.45; white-space: pre-wrap; }
.owner-feedback-reply > span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.owner-feedback-composer { display: grid; gap: 6px; margin-top: 8px; }
.owner-feedback-composer textarea { width: 100%; min-height: 68px; resize: vertical; border: 1px solid var(--line); border-radius: 10px; outline: 0; padding: 9px; color: var(--text); background: rgba(8,11,18,.72); font-family: inherit; font-size: 11px; line-height: 1.4; }
.owner-feedback-composer textarea:focus { border-color: rgba(68,230,239,.32); }
.owner-feedback-composer button { border: 1px solid rgba(68,230,239,.19); border-radius: 9px; padding: 9px; color: var(--cyan); background: rgba(68,230,239,.055); font-size: 10px; font-weight: 900; cursor: pointer; }
.owner-feedback-composer button:disabled { opacity: .5; cursor: default; }
.feedback-admin-reply { margin-top: 9px; padding: 9px 10px; border-left: 2px solid var(--cyan); border-radius: 0 10px 10px 0; background: rgba(68,230,239,.055); }
.feedback-admin-reply small, .feedback-admin-reply b, .feedback-admin-reply p { display: block; }
.feedback-admin-reply small { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.feedback-admin-reply p { margin: 5px 0 0; color: #d8e9ed; font-size: 11px; line-height: 1.45; white-space: pre-wrap; }
.feedback-admin-reply b { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 600; }
.owner-withdrawals-card { margin-bottom: 10px; padding: 14px; border: 1px solid rgba(255,197,93,.2); border-radius: 19px; background: linear-gradient(145deg, rgba(255,197,93,.06), rgba(139,98,255,.045), rgba(14,18,28,.9)); }
.owner-withdrawals-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.owner-withdrawals-head small { color: var(--amber); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.owner-withdrawals-head h2 { margin: 3px 0 0; font-size: 14px; }
.owner-withdrawals-head button { border: 1px solid rgba(255,197,93,.2); border-radius: 10px; padding: 8px 10px; color: var(--amber); background: rgba(255,197,93,.055); font-size: 10px; font-weight: 850; cursor: pointer; }
.owner-withdrawals-note { margin: 9px 0 11px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.owner-withdrawal-readiness { margin: 0 0 11px; padding: 11px; border: 1px solid var(--line); border-radius: 14px; background: rgba(8,11,18,.62); }
.owner-withdrawal-readiness.loading > p { margin: 0; color: var(--muted); font-size: 10px; }
.owner-withdrawal-readiness.ready { border-color: rgba(81,239,160,.2); background: rgba(81,239,160,.035); }
.owner-withdrawal-readiness.blocked { border-color: rgba(255,92,114,.2); background: rgba(255,92,114,.035); }
.owner-withdrawal-readiness-title { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.owner-withdrawal-readiness-title > div { min-width: 0; }
.owner-withdrawal-readiness-title small, .owner-withdrawal-readiness-title b { display: block; }
.owner-withdrawal-readiness-title small { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.owner-withdrawal-readiness-title b { margin-top: 3px; font-size: 12px; }
.owner-withdrawal-readiness-title > span { display: grid; width: 25px; height: 25px; place-items: center; flex: 0 0 auto; border-radius: 9px; color: var(--red); background: rgba(255,92,114,.09); font-weight: 950; }
.owner-withdrawal-readiness.ready .owner-withdrawal-readiness-title > span { color: var(--green); background: rgba(81,239,160,.09); }
.owner-withdrawal-readiness > p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.owner-withdrawal-wallet { overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.owner-withdrawal-readiness-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-top: 9px; }
.owner-withdrawal-readiness-grid > div { min-width: 0; padding: 8px; border: 1px solid rgba(255,255,255,.05); border-radius: 9px; background: rgba(255,255,255,.018); }
.owner-withdrawal-readiness-grid span, .owner-withdrawal-readiness-grid b { display: block; }
.owner-withdrawal-readiness-grid span { color: var(--muted); font-size: 10px; }
.owner-withdrawal-readiness-grid b { margin-top: 3px; overflow-wrap: anywhere; font-size: 11px; }
.owner-withdrawal-flags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.owner-withdrawal-flags span { padding: 4px 6px; border-radius: 7px; font-size: 10px; font-weight: 900; }
.owner-withdrawal-flags .on { color: var(--green); background: rgba(81,239,160,.08); }
.owner-withdrawal-flags .off { color: var(--red); background: rgba(255,92,114,.08); }
.owner-withdrawal-blocker { overflow-wrap: anywhere; color: #ecacb5 !important; }
.owner-withdrawal-updated { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; }
.owner-withdrawals-content { display: grid; gap: 8px; }
.owner-withdrawals-content > p { margin: 12px 0; color: var(--muted); font-size: 11px; text-align: center; }
.owner-withdrawal-item { padding: 11px; border: 1px solid var(--line); border-radius: 14px; background: rgba(8,11,18,.62); }
.owner-withdrawal-meta, .owner-withdrawal-amount { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.owner-withdrawal-meta b { min-width: 0; overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.owner-withdrawal-meta span, .withdrawal-status { flex: 0 0 auto; padding: 4px 6px; border-radius: 7px; color: var(--amber); background: rgba(255,197,93,.08); font-size: 10px; font-weight: 900; }
.owner-withdrawal-item.processing .owner-withdrawal-meta span, .withdrawal-history-item.processing .withdrawal-status { color: var(--cyan); background: rgba(68,230,239,.08); }
.owner-withdrawal-item.sent_pending .owner-withdrawal-meta span, .withdrawal-history-item.sent_pending .withdrawal-status,
.owner-withdrawal-item.reconciliation_required .owner-withdrawal-meta span, .withdrawal-history-item.reconciliation_required .withdrawal-status { color: var(--pink-2); background: rgba(255,43,135,.08); }
.owner-withdrawal-item.completed .owner-withdrawal-meta span, .withdrawal-history-item.completed .withdrawal-status,
.owner-withdrawal-item.sent .owner-withdrawal-meta span, .withdrawal-history-item.sent .withdrawal-status { color: var(--green); background: rgba(81,239,160,.08); }
.owner-withdrawal-item.rejected .owner-withdrawal-meta span, .owner-withdrawal-item.cancelled .owner-withdrawal-meta span, .owner-withdrawal-item.failed .owner-withdrawal-meta span,
.withdrawal-history-item.rejected .withdrawal-status, .withdrawal-history-item.cancelled .withdrawal-status, .withdrawal-history-item.failed .withdrawal-status { color: var(--red); background: rgba(255,92,114,.08); }
.owner-withdrawal-item > small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.owner-withdrawal-amount { margin-top: 9px; }
.owner-withdrawal-amount span { color: var(--muted); font-size: 10px; }
.owner-withdrawal-amount b { color: var(--text); font-size: 16px; }
.owner-withdrawal-address { margin: 8px 0; padding: 8px 9px; overflow-wrap: anywhere; border: 1px solid rgba(255,255,255,.055); border-radius: 9px; color: #c6cddd; background: rgba(255,255,255,.02); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; line-height: 1.4; }
.owner-withdrawal-warning { margin: 8px 0; padding: 8px 9px; border-left: 2px solid var(--pink-2); border-radius: 0 9px 9px 0; color: #e5bbd1; background: rgba(255,43,135,.055); font-size: 10px; line-height: 1.4; }
.owner-withdrawal-error { margin: 7px 0; overflow-wrap: anywhere; color: var(--red); font-size: 10px; line-height: 1.4; }
.owner-withdrawal-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-top: 8px; }
.owner-withdrawal-actions button { min-width: 0; border: 1px solid var(--line); border-radius: 9px; padding: 9px 5px; color: var(--muted); background: rgba(255,255,255,.025); font-size: 10px; font-weight: 900; cursor: pointer; }
.owner-withdrawal-actions button.approve { border-color: rgba(81,239,160,.22); color: var(--green); background: rgba(81,239,160,.055); }
.owner-withdrawal-actions button.reject { border-color: rgba(255,92,114,.18); color: var(--red); background: rgba(255,92,114,.045); }
.owner-withdrawal-actions button.reconcile { grid-column: 1 / -1; border-color: rgba(255,43,135,.2); color: var(--pink-2); background: rgba(255,43,135,.045); }
.owner-withdrawal-actions button:disabled { opacity: .5; cursor: default; }
.owner-withdrawal-reject { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; margin-top: 7px; }
.owner-withdrawal-reject input { min-width: 0; border: 1px solid var(--line); border-radius: 9px; outline: 0; padding: 8px 9px; color: var(--text); background: rgba(8,11,18,.72); font-size: 10px; }
.owner-withdrawal-reject button { border: 1px solid rgba(255,92,114,.18); border-radius: 9px; padding: 8px 10px; color: var(--red); background: rgba(255,92,114,.045); font-size: 10px; font-weight: 900; cursor: pointer; }
.withdrawal-profile-action { border-color: rgba(255,197,93,.18); color: var(--amber); background: rgba(255,197,93,.045); }
.alert-card.deep-link-focus, .purchase-card.deep-link-focus { border-color: rgba(68,230,239,.72); box-shadow: 0 0 0 2px rgba(68,230,239,.12), 0 14px 36px rgba(68,230,239,.1); animation: alert-focus-pulse 1.2s ease-out 1; }
@keyframes alert-focus-pulse { 0% { transform: scale(.985); } 45% { transform: scale(1.008); } 100% { transform: scale(1); } }
.empty { padding: 34px 20px; border: 1px dashed rgba(255,255,255,.12); border-radius: 20px; color: var(--muted); text-align: center; }
.empty > i { display: block; color: var(--pink-2); font-size: 27px; font-style: normal; }
.empty h3 { margin: 9px 0 5px; color: var(--text); font-size: 14px; }
.empty p { margin: 0; font-size: 12px; line-height: 1.5; }
.empty button, .auth-state button { margin-top: 14px; padding: 11px 15px; border: 0; border-radius: 12px; color: white; background: linear-gradient(105deg, var(--pink), var(--violet)); font-size: 13px; font-weight: 850; cursor: pointer; }
.auth-state button + button { margin-left: 6px; }
.auth-state button.gate-secondary { border: 1px solid var(--line); color: var(--text); background: #1a1f2e; }
.state-card { padding: 25px 18px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); background: var(--panel); text-align: center; }
.auth-state { margin-top: 14vh; }
.auth-state .lock-mark { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 18px; color: white; background: linear-gradient(145deg, var(--pink), var(--violet)); font-size: 25px; font-weight: 950; }
.auth-state .lock-mark.error { color: var(--red); background: rgba(255,92,114,.1); }
.auth-state h2 { margin: 0 0 8px; color: var(--text); font-size: 19px; }
.auth-state p { max-width: 330px; margin: 0 auto; font-size: 13px; line-height: 1.5; }
.bottom-nav { position: fixed; z-index: 10; left: 50%; bottom: 0; width: min(100%,760px); display: grid; grid-template-columns: repeat(5,1fr); padding: 7px 12px calc(7px + var(--safe-bottom)); transform: translateX(-50%); border-top: 1px solid var(--line); background: rgba(10,12,20,.91); backdrop-filter: blur(18px); }
.bottom-nav button { position: relative; display: grid; justify-items: center; gap: 2px; border: 0; padding: 5px 2px; color: #626b7e; background: transparent; cursor: pointer; }
.bottom-nav i { height: 21px; font-size: 19px; font-style: normal; }
.bottom-nav span { font-size: 12px; font-weight: 750; }
.bottom-nav button.active { color: var(--pink-2); }
.bottom-nav .nav-badge { position: absolute; top: 0; left: calc(50% + 8px); min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 4px; border: 2px solid #0a0c14; border-radius: 99px; color: white; background: var(--pink); font-size: 10px; line-height: 1; box-shadow: 0 0 13px rgba(255,43,135,.45); }
.sheet-backdrop { position: fixed; z-index: 30; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); }
.deposit-sheet { position: fixed; z-index: 31; left: 50%; bottom: 0; width: min(100%,760px); max-height: 92vh; overflow: auto; padding: 9px 16px calc(22px + var(--safe-bottom)); transform: translateX(-50%); border: 1px solid var(--line); border-radius: 25px 25px 0 0; background: #111521; box-shadow: 0 -30px 90px rgba(0,0,0,.55); animation: sheetUp .24s ease-out; }
@keyframes sheetUp { from { transform: translate(-50%, 40px); opacity: .4; } }
.sheet-handle { width: 42px; height: 4px; margin: 0 auto 13px; border-radius: 99px; background: #3a4153; }
.deposit-head { display: flex; justify-content: space-between; align-items: start; margin-bottom: 12px; }
.deposit-head small { color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.deposit-head h2 { margin: 3px 0 0; font-size: 21px; }
.deposit-head > button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: #1d2332; font-size: 23px; cursor: pointer; }
.market-analysis-sheet { background:
  radial-gradient(circle at 88% 2%, rgba(255,43,135,.18), transparent 32%),
  radial-gradient(circle at 5% 72%, rgba(68,230,239,.11), transparent 38%),
  linear-gradient(160deg, rgba(20,24,38,.97), rgba(8,10,18,.98));
  backdrop-filter: blur(24px) saturate(125%);
}
.market-analysis-loading { min-height: 155px; display: grid; place-items: center; align-content: center; gap: 13px; padding: 20px; border: 1px solid rgba(68,230,239,.14); border-radius: 19px; background: rgba(7,10,18,.48); text-align: center; }
.market-analysis-loading .ui-state-spinner { margin: 0 auto; }
.market-analysis-loading b { display: block; font-size: 15px; }
.market-analysis-loading p { max-width: 300px; margin: 5px auto 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.market-analysis-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -2px 2px 9px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.market-analysis-meta span { color: var(--cyan); }
.market-analysis-gift-card { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 11px; margin-bottom: 9px; border: 1px solid rgba(68,230,239,.17); border-radius: 17px; background: linear-gradient(145deg, rgba(68,230,239,.075), rgba(139,98,255,.085), rgba(12,15,25,.82)); }
.market-analysis-gift-card.hidden { display: none; }
.market-analysis-gift-card > span { position: relative; isolation: isolate; overflow: hidden; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.09); border-radius: 15px; color: var(--cyan); background: radial-gradient(circle at 38% 28%, #343c58, #10131e 72%); font-size: 18px; font-weight: 900; }
.market-analysis-gift-card > span img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.market-analysis-gift-card > div { min-width: 0; }
.market-analysis-gift-card small { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.market-analysis-gift-card b { display: block; overflow: hidden; margin-top: 4px; font-size: 15px; white-space: nowrap; text-overflow: ellipsis; }
.market-analysis-gift-card p { overflow: hidden; margin: 4px 0 0; color: #aeb7c8; font-size: 11px; line-height: 1.35; white-space: pre-line; text-overflow: ellipsis; }
.market-analysis-gift-card aside { min-width: 64px; text-align: right; }
.market-analysis-gift-card strong, .market-analysis-gift-card em { display: block; white-space: nowrap; }
.market-analysis-gift-card strong { color: var(--green); font-size: 13px; }
.market-analysis-gift-card em { margin-top: 5px; color: var(--muted); font-size: 10px; font-style: normal; }
.market-analysis-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin: 8px 0; }
.market-analysis-metrics article { min-width: 0; padding: 11px 12px; border: 1px solid rgba(255,255,255,.09); border-radius: 15px; background: linear-gradient(145deg, rgba(31,38,55,.68), rgba(9,12,21,.72)); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.market-analysis-metrics article:last-child { grid-column: 1 / -1; }
.market-analysis-metrics small, .market-analysis-metrics b { display: block; }
.market-analysis-metrics small { color: #7f899e; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.market-analysis-metrics b { overflow: hidden; margin-top: 5px; color: #eef1f8; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.market-analysis-metrics article:nth-child(3) b { color: var(--green); }
.market-analysis-warning { display: grid; grid-template-columns: 25px minmax(0,1fr); align-items: center; gap: 9px; margin: 8px 0; padding: 10px 11px; border: 1px solid rgba(255,197,93,.23); border-radius: 15px; background: linear-gradient(145deg, rgba(255,197,93,.095), rgba(18,15,21,.7)); }
.market-analysis-warning.hidden { display: none; }
.market-analysis-warning i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; color: var(--amber); background: rgba(255,197,93,.12); font-size: 14px; font-style: normal; font-weight: 950; }
.market-analysis-warning p { margin: 0; color: #d9cba9; font-size: 12px; line-height: 1.45; }
.market-analysis-block { position: relative; overflow: hidden; margin-top: 8px; padding: 13px; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: linear-gradient(145deg, rgba(30,36,54,.68), rgba(12,15,25,.76)); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.market-analysis-block::after { content: ""; position: absolute; top: -42px; right: -42px; width: 95px; height: 95px; border-radius: 50%; border: 1px solid rgba(68,230,239,.08); box-shadow: 0 0 0 18px rgba(68,230,239,.025), 0 0 0 36px rgba(139,98,255,.018); pointer-events: none; }
.market-analysis-block.verdict { border-color: rgba(255,43,135,.18); background: linear-gradient(145deg, rgba(255,43,135,.085), rgba(25,19,44,.68)); }
.market-analysis-block.giftwiki { border-color: rgba(139,98,255,.2); }
.market-analysis-block small { position: relative; z-index: 1; display: block; color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.market-analysis-block.verdict small { color: var(--pink-2); }
.market-analysis-block p { position: relative; z-index: 1; margin: 9px 0 0; overflow-wrap: anywhere; color: #d9deeb; font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.market-analysis-giftwiki-open { position: relative; z-index: 1; width: auto; min-height: 36px; margin-top: 11px; padding: 0 14px; border: 1px solid rgba(68,230,239,.24); border-radius: 12px; color: var(--cyan); background: rgba(68,230,239,.07); font-size: 12px; font-weight: 900; }
.market-analysis-giftwiki-open.hidden { display: none; }
.market-analysis-actions { display: grid; gap: 8px; margin-top: 9px; }
.market-analysis-actions .primary-action, .market-analysis-actions .secondary-action { margin: 0; }
.market-analysis-error { padding: 28px 16px; border: 1px solid rgba(255,92,114,.18); border-radius: 19px; background: rgba(255,92,114,.045); text-align: center; }
.market-analysis-error b { font-size: 15px; }
.market-analysis-error p { margin: 7px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.market-analysis-error button { margin: 0; }
.sheet-copy { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.amount-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.amount-grid button { padding: 12px 5px; border: 1px solid var(--line); border-radius: 13px; background: #1a2030; font-size: 14px; font-weight: 850; cursor: pointer; }
.amount-grid button.active { border-color: var(--pink); color: white; background: rgba(255,43,135,.12); }
.amount-input { display: block; margin-top: 13px; }
.amount-input > span { display: block; margin: 0 0 6px 2px; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.amount-input > div { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: #0d111b; }
.amount-input input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 13px; color: var(--text); background: transparent; font-size: 15px; font-weight: 800; }
.amount-input b { padding-right: 13px; color: var(--pink-2); font-size: 11px; }
.deposit-create { margin-top: 10px; }
.invoice-warning { margin: 11px 5px 0; color: #788196; font-size: 12px; line-height: 1.45; text-align: center; }
.invoice-status { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,197,93,.055); }
.invoice-status > i { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.invoice-status b, .invoice-status span { display: block; }
.invoice-status b { font-size: 13px; }
.invoice-status span { margin-top: 2px; color: var(--muted); font-size: 11px; }
.invoice-status.paid { background: rgba(81,239,160,.055); }
.invoice-status.paid > i { background: var(--green); box-shadow: 0 0 12px var(--green); }
.invoice-status.submitted { background: rgba(68,230,239,.055); }
.invoice-status.submitted > i { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.invoice-status.expired > i { background: var(--red); box-shadow: 0 0 12px var(--red); }
.invoice-status.cancelled > i { background: var(--muted); box-shadow: none; }
.invoice-amount { padding: 18px 4px 14px; text-align: center; }
.invoice-amount small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .14em; }
.invoice-amount strong { display: block; margin-top: 5px; font-size: 30px; }
.invoice-amount em { color: var(--pink-2); font-size: 12px; font-style: normal; }
.invoice-details { overflow: hidden; margin-bottom: 11px; border: 1px solid var(--line); border-radius: 16px; }
.invoice-details button { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; padding: 12px; border: 0; border-bottom: 1px solid var(--line); color: inherit; background: #171c2a; text-align: left; cursor: pointer; }
.invoice-details button:last-child { border-bottom: 0; }
.invoice-details span { color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.invoice-details b { grid-column: 1; overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.invoice-details small { grid-column: 1; color: var(--muted); font-size: 11px; }
.invoice-details i { grid-column: 2; grid-row: 1 / 4; align-self: center; color: var(--cyan); font-size: 12px; font-style: normal; }
.tonkeeper-action { margin: 0 0 8px; background: linear-gradient(105deg, #168cff, #4e6fff); box-shadow: 0 13px 35px rgba(22,140,255,.15); }
.deposit-cancel { color: #ff8f9c; border-color: rgba(255,95,117,.25); background: rgba(255,95,117,.06); }
.deposit-history { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); }
.deposit-history.hidden { display: none; }
.deposit-history-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 2px 8px; }
.deposit-history-head b { font-size: 14px; }
.deposit-history-head span { color: var(--muted); font-size: 11px; }
.deposit-history-item { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 10px; margin-top: 6px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 13px; color: inherit; background: #171c2a; text-align: left; cursor: pointer; }
.deposit-history-item b { overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.deposit-history-item strong { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--text); font-size: 14px; }
.deposit-history-item span { color: var(--muted); font-size: 11px; }
.deposit-history-item.pending b { color: var(--amber); }
.deposit-history-item.submitted b { color: var(--cyan); }
.deposit-history-item.paid b { color: var(--green); }
.deposit-history-item.expired b, .deposit-history-item.amount_too_low b { color: var(--red); }
.deposit-history-item.cancelled b { color: var(--muted); }
.deposit-sheet button:disabled { opacity: .5; cursor: default; }
.referral-sheet { max-height: 94vh; }
.referral-offer { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.referral-offer > div { min-width: 0; padding: 14px; border: 1px solid rgba(255,43,135,.16); border-radius: 17px; background: linear-gradient(145deg, rgba(255,43,135,.085), rgba(139,98,255,.055)); }
.referral-offer small, .referral-offer strong, .referral-offer span { display: block; }
.referral-offer small { color: var(--pink-2); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.referral-offer strong { margin: 6px 0 3px; font-size: 27px; letter-spacing: -.04em; }
.referral-offer span { color: #aab1c2; font-size: 12px; line-height: 1.4; }
.referral-link-card { margin-top: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 17px; background: #171c2a; }
.referral-link-card > small { display: block; color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.referral-link-card > button { width: 100%; overflow: hidden; margin: 7px 0 10px; border: 1px solid var(--line); border-radius: 12px; padding: 11px; color: #cbd2e1; background: #0d111b; font-size: 12px; text-align: left; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; }
.referral-link-card > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.referral-link-card .primary-action, .referral-link-card .secondary-action { min-width: 0; margin: 0; padding: 12px 7px; border-radius: 12px; font-size: 12px; }
.referral-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.referral-metrics article { min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(18,22,34,.88); }
.referral-metrics small, .referral-metrics strong { display: block; }
.referral-metrics small { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.referral-metrics strong { margin-top: 5px; font-size: 18px; }
.referral-metrics em { color: var(--pink-2); font-size: 10px; font-style: normal; }
.referral-rules { overflow: hidden; margin-top: 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(18,22,34,.88); }
.referral-rules > div { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.referral-rules > div:last-child { border-bottom: 0; }
.referral-rules i { width: 25px; height: 25px; flex: 0 0 25px; display: grid; place-items: center; border-radius: 9px; color: var(--cyan); background: rgba(68,230,239,.08); font-size: 12px; font-style: normal; font-weight: 900; }
.referral-rules p { min-width: 0; margin: 0; }
.referral-rules b, .referral-rules span { display: block; }
.referral-rules b { font-size: 13px; }
.referral-rules span { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.referral-list-head { display: flex; justify-content: space-between; align-items: center; margin: 16px 3px 8px; }
.referral-list-head b { font-size: 15px; }
.referral-list-head span { min-width: 23px; padding: 4px 7px; border-radius: 99px; color: var(--cyan); background: rgba(68,230,239,.08); font-size: 11px; font-weight: 900; text-align: center; }
.referral-list { display: grid; gap: 7px; }
.referral-person { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #171c2a; }
.referral-person-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(145deg, rgba(255,43,135,.8), rgba(139,98,255,.8)); font-size: 14px; font-weight: 950; }
.referral-person-main { min-width: 0; }
.referral-person-main > b { display: block; overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.referral-progress { height: 5px; overflow: hidden; margin: 7px 0 4px; border-radius: 99px; background: #292f40; }
.referral-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--violet)); }
.referral-person-main > span { color: var(--muted); font-size: 10px; }
.referral-person-status { min-width: 68px; text-align: right; }
.referral-person-status b, .referral-person-status span { display: block; }
.referral-person-status b { font-size: 12px; }
.referral-person-status span { margin-top: 4px; color: var(--amber); font-size: 10px; font-weight: 850; }
.referral-person-status span.ready { color: var(--green); }
.referral-empty { padding: 22px 14px; border: 1px dashed rgba(255,255,255,.12); border-radius: 15px; color: var(--muted); font-size: 12px; line-height: 1.45; text-align: center; }
.feedback-sheet { max-height: 94vh; background:
  radial-gradient(circle at 88% 4%, rgba(81,239,160,.13), transparent 34%),
  radial-gradient(circle at 5% 70%, rgba(68,230,239,.09), transparent 38%),
  linear-gradient(160deg, rgba(20,25,37,.98), rgba(8,11,18,.99)); }
.feedback-kind { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin-bottom: 13px; padding: 4px; border: 1px solid var(--line); border-radius: 13px; background: rgba(8,11,18,.68); }
.feedback-kind button { min-width: 0; border: 0; border-radius: 9px; padding: 9px 5px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 850; cursor: pointer; }
.feedback-kind button.active { color: #061f14; background: linear-gradient(105deg, var(--green), var(--cyan)); }
.feedback-message textarea { min-height: 132px; font-family: inherit; font-size: 14px; font-weight: 600; }
.feedback-message > small { display: block; margin: 5px 3px 0; color: var(--muted); font-size: 10px; text-align: right; }
.feedback-message > small b { color: var(--cyan); }
.feedback-submit { margin-top: 11px; background: linear-gradient(105deg, #23d890, #37ccd8); box-shadow: 0 13px 35px rgba(81,239,160,.12); }
.feedback-result { margin-top: 10px; padding: 10px 12px; border: 1px solid rgba(81,239,160,.2); border-radius: 13px; color: var(--green); background: rgba(81,239,160,.06); font-size: 12px; line-height: 1.4; }
.feedback-result.error { border-color: rgba(255,92,114,.2); color: var(--red); background: rgba(255,92,114,.055); }
.feedback-history { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); }
.feedback-history-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 2px 8px; }
.feedback-history-head b { font-size: 14px; }
.feedback-history-head span { color: var(--muted); font-size: 11px; }
.feedback-history-list { display: grid; gap: 7px; }
.feedback-history-item { padding: 10px 11px; border: 1px solid var(--line); border-radius: 13px; background: rgba(23,28,42,.9); }
.feedback-history-item > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.feedback-history-item b { font-size: 11px; }
.feedback-history-item span { padding: 4px 6px; border-radius: 7px; color: var(--amber); background: rgba(255,197,93,.08); font-size: 10px; font-weight: 900; }
.feedback-history-item.in_progress span { color: var(--cyan); background: rgba(68,230,239,.08); }
.feedback-history-item.resolved span { color: var(--green); background: rgba(81,239,160,.08); }
.feedback-history-item p { margin: 7px 0 0; overflow-wrap: anywhere; color: #c9d0df; font-size: 11px; line-height: 1.45; white-space: pre-wrap; }
.feedback-history-empty { padding: 18px 12px; border: 1px dashed rgba(255,255,255,.1); border-radius: 13px; color: var(--muted); font-size: 11px; line-height: 1.4; text-align: center; }
.withdrawal-sheet { max-height: 94vh; background:
  radial-gradient(circle at 88% 4%, rgba(255,197,93,.12), transparent 35%),
  radial-gradient(circle at 4% 72%, rgba(139,98,255,.09), transparent 40%),
  linear-gradient(160deg, rgba(22,24,36,.99), rgba(8,11,18,.99)); }
.withdrawal-summary { display: grid; grid-template-columns: .72fr 1.28fr; gap: 7px; margin-bottom: 11px; }
.withdrawal-summary > div { min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(18,22,34,.9); }
.withdrawal-summary span, .withdrawal-summary b { display: block; }
.withdrawal-summary span { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.withdrawal-summary b { overflow-wrap: anywhere; margin-top: 5px; font-size: 11px; line-height: 1.35; }
.withdrawal-summary > div:last-child b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; }
.withdrawal-summary > div:first-child b { color: var(--green); }
.withdrawal-summary strong { font-size: 16px; }
.withdrawal-notice { margin-bottom: 11px; padding: 10px 11px; border: 1px solid rgba(255,197,93,.18); border-radius: 13px; color: #dcc79d; background: rgba(255,197,93,.05); font-size: 11px; line-height: 1.45; }
.withdrawal-notice.error { border-color: rgba(255,92,114,.19); color: #ecacb5; background: rgba(255,92,114,.05); }
.withdrawal-create { margin-top: 11px; background: linear-gradient(105deg, #e9a943, #8b62ff); box-shadow: 0 13px 35px rgba(255,197,93,.1); }
.withdrawal-history { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); }
.withdrawal-history-list { display: grid; gap: 7px; }
.withdrawal-history-item { padding: 10px 11px; border: 1px solid var(--line); border-radius: 13px; background: rgba(23,28,42,.9); }
.withdrawal-history-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.withdrawal-history-top > div { min-width: 0; }
.withdrawal-history-top b, .withdrawal-history-top small { display: block; }
.withdrawal-history-top b { font-size: 12px; }
.withdrawal-history-top small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.withdrawal-history-address { margin: 7px 0 0; overflow-wrap: anywhere; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; line-height: 1.4; }
.withdrawal-history-error { margin: 7px 0 0; color: var(--red); font-size: 10px; line-height: 1.4; }
.withdrawal-history-tx { margin: 7px 0 0; overflow-wrap: anywhere; color: var(--cyan); font-size: 10px; line-height: 1.4; }
.withdrawal-history-item > button { width: 100%; margin-top: 8px; border: 1px solid rgba(255,92,114,.18); border-radius: 9px; padding: 8px; color: var(--red); background: rgba(255,92,114,.045); font-size: 10px; font-weight: 900; cursor: pointer; }
.withdrawal-history-item > button:disabled { opacity: .5; cursor: default; }
.setup-sheet { max-height: 94vh; }
.form-stack { display: grid; gap: 12px; }
.field-label { display: block; }
.field-label > span { display: block; margin: 0 0 6px 2px; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.field-label select, .field-label textarea { width: 100%; border: 1px solid var(--line); border-radius: 13px; outline: 0; padding: 12px; color: var(--text); background: #0d111b; font-size: 14px; font-weight: 750; }
.field-label select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field-label select:disabled { opacity: .5; }
.field-label textarea { resize: none; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.45; }
.collection-trigger { width: 100%; display: grid; grid-template-columns: 42px 1fr 18px; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 15px; padding: 8px 10px; color: var(--text); background: #0d111b; text-align: left; cursor: pointer; }
.collection-trigger:disabled { opacity: .62; cursor: default; }
.collection-trigger b { overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.collection-trigger > em { color: var(--muted); font-size: 23px; font-style: normal; text-align: right; }
.collection-thumb, .catalog-thumb { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.14), transparent 35%), linear-gradient(145deg, rgba(255,43,135,.35), rgba(139,98,255,.35)); }
.collection-thumb { width: 42px; height: 42px; }
.collection-thumb i, .catalog-thumb i { color: rgba(255,255,255,.78); font-style: normal; font-size: 16px; font-weight: 950; }
.collection-thumb img, .catalog-thumb img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: contain; background: radial-gradient(circle, #293048, #111521 73%); }
.collection-step { min-height: 62vh; }
.collection-search { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; border: 1px solid var(--line); border-radius: 14px; padding: 0 11px; background: #0d111b; }
.collection-search span { color: var(--cyan); font-size: 18px; }
.collection-search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 12px 0; color: var(--text); background: transparent; font-size: 14px; }
.collection-meta { display: flex; justify-content: space-between; margin: 0 3px 9px; }
.collection-meta b { font-size: 13px; }
.collection-meta span { color: var(--muted); font-size: 12px; }
.collection-grid { display: grid; gap: 7px; max-height: min(58vh, 520px); overflow: auto; padding-right: 2px; scrollbar-width: thin; }
.collection-grid > button { width: 100%; display: grid; grid-template-columns: 50px 1fr 18px; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 15px; padding: 7px 10px 7px 7px; color: inherit; background: #171c2a; text-align: left; cursor: pointer; }
.collection-grid > button:active { border-color: rgba(255,43,135,.45); background: rgba(255,43,135,.08); }
.catalog-thumb { width: 50px; height: 50px; }
.collection-grid > button > span:nth-child(2) { min-width: 0; }
.collection-grid b, .collection-grid small { display: block; }
.collection-grid b { overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.collection-grid small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.collection-grid em { color: var(--muted); font-size: 20px; font-style: normal; }
.collection-empty { padding: 34px 15px; border: 1px dashed var(--line); border-radius: 15px; color: var(--muted); font-size: 13px; text-align: center; }
.collection-step > .secondary-action { margin-top: 10px; }
.model-trigger.ready { border-color: rgba(45,226,230,.24); }
.model-thumb img { object-fit: cover; }
.model-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; max-height: min(60vh, 540px); overflow: auto; padding-right: 2px; scrollbar-width: thin; }
.model-grid > button { min-width: 0; overflow: hidden; display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 15px; padding: 6px; color: inherit; background: #171c2a; text-align: left; cursor: pointer; }
.model-grid > button:active, .model-grid > button.selected { border-color: rgba(45,226,230,.45); background: rgba(45,226,230,.07); }
.model-grid > button.model-any { grid-column: 1 / -1; grid-template-columns: 42px 1fr; padding: 8px; }
.model-card-image { position: relative; isolation: isolate; overflow: hidden; display: grid; width: 58px; height: 58px; place-items: center; border-radius: 11px; background: radial-gradient(circle at 45% 30%, #353d59, #111521 72%); }
.model-any .model-card-image { width: 42px; height: 42px; }
.model-card-image i { color: rgba(255,255,255,.74); font-size: 16px; font-style: normal; font-weight: 900; }
.model-card-image img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.market-collection-thumb::before, .market-selected-thumb::before, .market-model-image::before, .market-detail-image::before, .market-listing-image::before, .filter-icon::before, .purchase-image::before, .alert-image::before, .collection-thumb::before, .catalog-thumb::before, .model-card-image::before { content: ""; position: absolute; z-index: 0; inset: 0; background: radial-gradient(circle at 32% 22%, rgba(68,230,239,.26), transparent 38%), linear-gradient(135deg, rgba(255,43,135,.22), rgba(139,98,255,.12) 48%, rgba(68,230,239,.14)); opacity: 0; transition: opacity .18s ease; }
.market-collection-thumb::after, .market-selected-thumb::after, .market-model-image::after, .market-detail-image::after, .market-listing-image::after, .filter-icon::after, .purchase-image::after, .alert-image::after, .collection-thumb::after, .catalog-thumb::after, .model-card-image::after { content: ""; position: absolute; z-index: 0; width: 70%; height: 1px; background: linear-gradient(90deg, transparent, rgba(68,230,239,.38), transparent); transform: rotate(-32deg); opacity: 0; }
.market-collection-thumb > i, .market-selected-thumb > i, .market-model-image > i, .market-detail-image > i, .market-listing-image > i, .filter-icon > i, .purchase-image > i, .alert-image > i, .collection-thumb > i, .catalog-thumb > i, .model-card-image > i { position: relative; z-index: 1; text-shadow: 0 0 14px rgba(68,230,239,.46); }
.image-fallback-visible::before, .image-fallback-visible::after { opacity: 1; }
.image-fallback-visible > i { transform: translateY(-1px); color: rgba(255,255,255,.86); }
.model-grid b, .model-grid small { display: block; min-width: 0; }
.model-grid b { overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.model-grid small { overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.trait-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; }
.trait-trigger { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 13px; padding: 9px 11px; color: var(--text); background: #0d111b; text-align: left; cursor: pointer; }
.trait-trigger:disabled { opacity: .5; cursor: default; }
.trait-trigger b { min-width: 0; overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.trait-trigger em { flex: 0 0 auto; color: var(--muted); font-size: 19px; font-style: normal; }
.trait-option-list { display: grid; gap: 7px; max-height: min(60vh,540px); overflow: auto; padding-right: 2px; scrollbar-width: thin; }
.trait-option-list > button { width: 100%; min-height: 56px; display: grid; grid-template-columns: 38px minmax(0,1fr) 18px; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 15px; padding: 8px 10px; color: inherit; background: #171c2a; text-align: left; cursor: pointer; }
.trait-option-list > button > i { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; color: var(--cyan); background: linear-gradient(145deg, rgba(255,43,135,.22), rgba(139,98,255,.2)); font-size: 15px; font-style: normal; }
.trait-option-list > button > span { min-width: 0; }
.trait-option-list b, .trait-option-list small { display: block; }
.trait-option-list b { overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.trait-option-list small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.trait-option-list em { color: var(--cyan); font-size: 15px; font-style: normal; opacity: 0; }
.trait-option-list > button.selected { border-color: rgba(45,226,230,.45); background: rgba(45,226,230,.07); }
.trait-option-list > button.selected em { opacity: 1; }
.number-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8px; }
.input-unit { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 13px; background: #0d111b; }
.input-unit input { min-width: 0; width: 100%; border: 0; outline: 0; padding: 12px; color: var(--text); background: transparent; font-size: 15px; font-weight: 800; }
.input-unit b { padding-right: 11px; color: var(--pink-2); font-size: 12px; }
.mode-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: #0d111b; }
.mode-grid button { min-width: 0; border: 0; border-radius: 10px; padding: 10px 4px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.mode-grid button.active { color: white; background: linear-gradient(105deg, rgba(255,43,135,.7), rgba(139,98,255,.7)); }
.setup-summary { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #171c2a; }
.setup-summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 11px; border-bottom: 1px solid var(--line); }
.setup-summary > div:last-of-type { border-bottom: 0; }
.setup-summary span { color: var(--muted); font-size: 12px; }
.setup-summary b { font-size: 12px; text-align: right; }
.setup-summary p { margin: 0; padding: 8px 11px; border-top: 1px solid rgba(255,197,93,.14); color: var(--amber); background: rgba(255,197,93,.04); font-size: 12px; line-height: 1.4; }
.setup-submit { margin-top: 0; }
.ton-connect-status { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 11px 12px; border: 1px solid rgba(22,140,255,.2); border-radius: 14px; background: rgba(22,140,255,.06); }
.ton-connect-status.hidden { display: none; }
.ton-connect-status > i { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #168cff; box-shadow: 0 0 12px rgba(22,140,255,.8); }
.ton-connect-status b, .ton-connect-status span { display: block; }
.ton-connect-status b { font-size: 13px; }
.ton-connect-status span { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.ton-connect-status.success { border-color: rgba(81,239,160,.2); background: rgba(81,239,160,.055); }
.ton-connect-status.success > i { background: var(--green); box-shadow: 0 0 12px rgba(81,239,160,.8); }
.ton-connect-status.pending { border-color: rgba(255,197,93,.2); background: rgba(255,197,93,.055); }
.ton-connect-status.pending > i { background: var(--amber); box-shadow: 0 0 12px rgba(255,197,93,.8); }
.ton-connect-status.error { border-color: rgba(255,92,114,.2); background: rgba(255,92,114,.055); }
.ton-connect-status.error > i { background: var(--red); box-shadow: 0 0 12px rgba(255,92,114,.8); }
.ton-connect-action { margin-bottom: 12px; background: linear-gradient(105deg, #168cff, #6d45df); box-shadow: 0 13px 35px rgba(22,140,255,.15); }
.manual-divider { display: flex; align-items: center; gap: 10px; margin: 3px 0 11px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.manual-divider::before, .manual-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.manual-copy { margin-bottom: 10px; font-size: 12px; }
.confirm-badge { padding: 11px 12px; border: 1px solid rgba(81,239,160,.18); border-radius: 14px; color: var(--green); background: rgba(81,239,160,.055); font-size: 12px; font-weight: 850; }
.confirmed-address { margin: 12px 0; padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: #0d111b; }
.confirmed-address small, .confirmed-address b { display: block; }
.confirmed-address small { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.confirmed-address b { overflow-wrap: anywhere; margin-top: 7px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.45; }
.danger-note { margin-bottom: 12px; padding: 11px 12px; border: 1px solid rgba(255,197,93,.16); border-radius: 14px; color: #d8c49c; background: rgba(255,197,93,.045); font-size: 11px; line-height: 1.5; }
.danger-action { color: var(--red); border-color: rgba(255,92,114,.18); background: rgba(255,92,114,.05); }

@media (min-width: 560px) {
  .shell { padding-left: 24px; padding-right: 24px; }
  .metrics-grid { gap: 12px; }
  .hero-copy { max-width: 62%; }
  .radar { right: 15px; }
}

@media (max-width: 350px) {
  .shell { padding-left: 12px; padding-right: 12px; }
  .hero-copy h1 { font-size: 28px; }
  .metrics-grid article { padding: 11px 9px; }
  .filter-numbers { grid-template-columns: repeat(3,minmax(0,1fr)); padding-right: 9px; padding-left: 9px; }
  .market-detail-stats article { padding-right: 7px; padding-left: 7px; }
  .market-detail-stats strong { font-size: 15px; }
  .trait-grid { grid-template-columns: 1fr; }
}
