/* Page chrome styled after squid.inc: black, white and neon pills, lavender accents. */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --squid-neon: #E6FA36;
  --squid-lavender: #BC8EE4;
  --squid-black: #000000;
  --squid-card: #0E0E0E;
  --squid-line: #1E1E1E;
  --squid-grey: #ACACAC;
  --squid-white: #FBFBFD;
  --font: GeistVariable, "Geist Sans", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
}
html, body { background: var(--squid-black); color: var(--squid-white); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body {
  min-height: 100vh;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 12px calc(env(safe-area-inset-bottom, 0px) + 24px);
  background:
    radial-gradient(120% 50% at 50% -10%, rgba(188, 142, 228, 0.22), rgba(0, 0, 0, 0) 60%),
    var(--squid-black);
  overscroll-behavior: none;
}
a { color: inherit; }

.pill { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 0; font: 600 14px/1 var(--font); padding: 12px 16px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pill-white { background: var(--squid-white); color: var(--squid-black); }
.pill-ghost { background: transparent; color: var(--squid-white); box-shadow: inset 0 0 0 1px #3C3C3C; }
.pill:active { transform: scale(0.98); }

.notice { max-width: 480px; margin: 0 auto 8px; color: var(--squid-grey); font-size: 12px; line-height: 1.45; font-weight: 400; word-break: keep-all; }
.widget { display: flex; justify-content: center; width: 100%; max-width: 480px; margin: 0 auto; min-height: 640px; }
.widget:empty::before { content: "불러오는 중"; color: #6B6B6B; font-size: 14px; margin-top: 120px; }

.card { max-width: 480px; margin: 14px auto 0; background: var(--squid-card); border-radius: 24px; padding: 18px; box-shadow: inset 0 0 0 1px var(--squid-line); }
.card h2 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.card p { color: var(--squid-grey); font-size: 13px; line-height: 1.5; word-break: keep-all; }
.card b { color: var(--squid-white); font-weight: 600; }
.wallet-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.wallet-links .pill { font-size: 13px; padding: 12px 10px; white-space: normal; text-align: center; line-height: 1.2; }

.facts { list-style: none; margin-top: 8px; }
.facts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--squid-line); font-size: 13px; }
.facts li:first-child { border-top: 0; }
.facts span { color: var(--squid-grey); }
.facts a { color: var(--squid-lavender); text-decoration: none; font-weight: 600; }

.card-wc {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  max-width: 460px;
  max-height: calc(100vh - 28px);
  margin: 0 auto;
  overflow-y: auto;
  z-index: 2147483647;
  background: #111111;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.82), 0 16px 48px rgba(0, 0, 0, 0.92), inset 0 0 0 1px var(--squid-lavender);
}
.card-wc[hidden], .card-desktop-tg[hidden] { display: none !important; }
.wc-qr { width: 190px; max-width: 62%; margin: 12px auto 0; background: #fff; border-radius: 12px; padding: 8px; }
.wc-qr svg { width: 100%; height: auto; display: block; }
.wc-uri { display: block; width: 100%; margin-top: 10px; background: #000; color: var(--squid-grey); border: 0; box-shadow: inset 0 0 0 1px var(--squid-line); border-radius: 12px; padding: 10px 12px; font: 12px/1.3 var(--font); word-break: break-all; }

.card-primary .lead, .card-desktop-tg .lead { margin: 0; color: var(--squid-white); font-size: 13.5px; font-weight: 600; line-height: 1.45; word-break: keep-all; }
.wallet-step-note { margin-top: 6px !important; padding: 8px 11px; border-radius: 12px; background: #161616; color: var(--squid-neon) !important; font-size: 12px !important; line-height: 1.45 !important; box-shadow: inset 0 0 0 1px #2B2B2B; }
.pill-primary { background: var(--squid-neon); color: #000000; }
.wallet-links-primary { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
.wallet-links-primary .pill { font-size: 16px; padding: 16px 18px; width: 100%; }
.card-wc-secondary h2 { font-size: 14px; }
.card-wc-secondary p { font-size: 12px; }

.amount-presets { display: flex; align-items: center; justify-content: center; gap: 8px; max-width: 480px; margin: 10px auto; }
.amount-presets[hidden] { display: none !important; }
.pill-chip { flex: 1; background: var(--squid-card); color: var(--squid-white); font-size: 14px; padding: 10px 14px; box-shadow: inset 0 0 0 1px #3C3C3C; }
.pill-chip[aria-pressed="true"] { background: var(--squid-neon); color: var(--squid-black); box-shadow: none; }
.pill[hidden], .wallet-browser-hint[hidden] { display: none !important; }
.wallet-browser-hint { max-width: 480px; margin: 8px auto; padding: 10px 14px; border-radius: 14px; background: var(--squid-card); color: var(--squid-neon); font-size: 12px; line-height: 1.45; text-align: center; box-shadow: inset 0 0 0 1px var(--squid-line); word-break: keep-all; }

.asset-spotlight { max-width: 480px; margin: 10px auto; padding: 14px; border-radius: 20px; background: var(--squid-card); box-shadow: inset 0 0 0 1px var(--squid-line); }
.asset-spotlight-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.asset-spotlight-title { font-size: 13px; font-weight: 600; color: var(--squid-white); }
.asset-spotlight-sub { font-size: 11px; color: var(--squid-grey); }
.asset-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-asset { background: #161616; color: var(--squid-white); font-size: 12px; padding: 8px 12px; box-shadow: inset 0 0 0 1px #2E2E2E; }
.pill-asset[aria-pressed="true"] { background: var(--squid-lavender); color: #000000; box-shadow: none; }
.asset-route { margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--squid-neon); line-height: 1.4; word-break: keep-all; }
.asset-tip { margin-top: 8px; color: var(--squid-grey); font-size: 11.5px; line-height: 1.5; word-break: keep-all; }
.asset-dyor-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dyor-link { display: inline-flex; align-items: center; padding: 6px 11px; border-radius: 999px; background: #151515; color: var(--squid-lavender); font-size: 11.5px; font-weight: 600; text-decoration: none; box-shadow: inset 0 0 0 1px #2F2F2F; }
.asset-news { margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: #131313; box-shadow: inset 0 0 0 1px #262626; }
.asset-news-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.asset-news-badge { font-size: 11px; font-weight: 600; color: var(--squid-neon); }
.asset-news-more { font-size: 11px; font-weight: 600; color: var(--squid-lavender); text-decoration: underline; text-underline-offset: 2px; }
.asset-news-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.asset-news-list li { font-size: 11.5px; line-height: 1.4; word-break: keep-all; }
.asset-news-list a { color: var(--squid-white); text-decoration: underline; text-decoration-color: rgba(188, 142, 228, 0.55); text-underline-offset: 2px; }
.asset-news-meta { color: var(--squid-grey); font-size: 10.5px; margin-left: 4px; }
.dyor-note { margin-top: 8px; color: #8A8A8A; font-size: 10.5px; line-height: 1.4; word-break: keep-all; }
.asset-route[hidden], .asset-dyor-links[hidden], .dyor-link[hidden], .asset-news[hidden], .dyor-note[hidden] { display: none !important; }
