  main.app { padding-block: 112px clamp(72px, 10vw, 120px); }
  .app-head { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
  .app-head h1 { font-size: clamp(32px, 4.2vw, 46px); }
  .app-head p { margin: 8px 0 0; font-size: 15.5px; max-width: 50ch; }

  .panels { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: start; }
  @media (max-width: 940px) { .panels { grid-template-columns: 1fr; } }

  .panel { border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); overflow: hidden; }
  .panel + .panel { margin-top: 16px; }
  .panel-hd { display: flex; align-items: center; gap: 12px; padding: 17px 22px;
              border-bottom: 1px solid var(--line-2); }
  .panel-hd h2 { font-size: 16px; letter-spacing: -.02em; font-weight: 600; }
  .panel-bd { padding: 22px; }
  .panel-bd.tight { padding: 0; }

  .kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 1px;
        background: var(--line-2); }
  .kv > div { background: var(--bg-2); padding: 16px 22px; }
  .kv .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .11em;
           text-transform: uppercase; color: var(--fg-3); }
  .kv .v { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.03em;
           margin-top: 5px; display: flex; align-items: center; gap: 8px; }
  .kv .v small { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--fg-3);
                 letter-spacing: 0; }

  .row { display: flex; align-items: center; justify-content: space-between; gap: 14px;
         padding: 13px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
  .row:last-child { border-bottom: 0; }
  .row span { color: var(--fg-3); font-family: var(--mono); font-size: 11.5px;
              letter-spacing: .09em; text-transform: uppercase; }
  .row b { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }

  .field { margin-top: 16px; }
  .field label { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .11em;
                 text-transform: uppercase; color: var(--fg-3); margin-bottom: 8px; }
  .inp { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line);
         border-radius: 12px; background: var(--bg); padding: 0 14px; }
  .inp:focus-within { border-color: rgba(255,255,255,.34); }
  .inp input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--fg);
               font-family: var(--mono); font-size: 15px; padding: 13px 0; letter-spacing: -.01em; }
  .inp input::placeholder { color: var(--fg-3); }
  .inp .suffix { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
  .inp button { appearance: none; border: 1px solid var(--line); background: transparent;
                color: var(--fg-2); border-radius: 8px; padding: 4px 9px; font-size: 11px;
                font-family: var(--mono); cursor: pointer; letter-spacing: .06em; }
  .inp button:hover { color: var(--fg); border-color: rgba(255,255,255,.3); }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
         width: 100%; appearance: none; cursor: pointer; border-radius: 999px;
         font-family: var(--display); font-weight: 600; font-size: 15.5px; letter-spacing: -.012em;
         padding: 14px 22px; border: 1px solid var(--fg); background: var(--fg); color: #070707;
         transition: opacity .18s ease, transform .18s var(--ease); }
  .btn:hover:not(:disabled) { opacity: .88; transform: translateY(-1px); }
  .btn:disabled { opacity: .34; cursor: not-allowed; }
  .btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); }
  .btn.ghost:hover:not(:disabled) { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.26); }
  .btn + .btn { margin-top: 10px; }
  .btn-row { display: flex; gap: 10px; margin-top: 16px; }
  .btn-row .btn { margin-top: 0; }

  .status { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px;
            color: var(--fg-3); }
  .led { width: 7px; height: 7px; border-radius: 50%; background: var(--fg-3); flex: 0 0 auto; }
  .led.live { background: var(--fg); box-shadow: 0 0 9px rgba(255,255,255,.7);
              animation: pulse 2.4s ease-in-out infinite; }
  .led.warn { background: var(--fg-2); }

  .empty { text-align: center; padding: 46px 22px; }
  .empty h3 { font-size: 19px; margin-bottom: 10px; }
  .empty p { font-size: 14.5px; max-width: 46ch; margin-inline: auto; }

  .pool-item { display: flex; align-items: center; gap: 16px; padding: 16px 22px; width: 100%;
               background: none; border: 0; border-bottom: 1px solid var(--line-2);
               cursor: pointer; text-align: left; color: var(--fg); transition: background .15s ease; }
  .pool-item:last-child { border-bottom: 0; }
  .pool-item:hover { background: rgba(255,255,255,.04); }
  .pool-item[aria-current="true"] { background: rgba(255,255,255,.07); }
  .pool-item .sym { font-family: var(--display); font-weight: 600; font-size: 16px; }
  .pool-item .meta { font-family: var(--mono); font-size: 11.5px; color: var(--fg-3); margin-top: 2px; }
  .pool-item .pct { margin-left: auto; font-family: var(--mono); font-size: 13px; }

  .toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(16px);
           background: var(--bg-3); border: 1px solid var(--line); border-radius: 14px;
           padding: 13px 20px; font-size: 14px; max-width: min(92vw, 520px);
           box-shadow: 0 24px 56px -18px rgba(0,0,0,.95); opacity: 0; pointer-events: none;
           transition: opacity .25s ease, transform .25s var(--ease); z-index: 200;
           overflow-wrap: anywhere; }
  .toast.on { opacity: 1; transform: translateX(-50%); pointer-events: auto; }

  details.cfg { margin-top: 16px; border: 1px solid var(--line-2); border-radius: 14px; }
  details.cfg summary { cursor: pointer; padding: 13px 18px; font-family: var(--mono);
                        font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
                        color: var(--fg-3); list-style: none; }
  details.cfg summary::-webkit-details-marker { display: none; }
  details.cfg summary:hover { color: var(--fg-2); }
  details.cfg .inner { padding: 4px 18px 18px; }
  .addrs { margin-top: 18px; border-top: 1px solid var(--line-2); }
  .ar { display: flex; align-items: center; gap: 12px; padding: 11px 0;
        border-bottom: 1px solid var(--line-2); font-size: 13px; }
  .ar:last-child { border-bottom: 0; }
  .ar span { color: var(--fg-3); font-family: var(--mono); font-size: 11px;
             letter-spacing: .1em; text-transform: uppercase; min-width: 44px; }
  .ar a { font-size: 12.5px; overflow-wrap: anywhere; color: var(--fg-2); }
  .ar a:hover { color: var(--fg); text-decoration: underline; }
  .ar a.plain { pointer-events: none; color: var(--fg-3); }
  .cp { margin-left: auto; flex: 0 0 auto; appearance: none; cursor: pointer;
        border: 1px solid var(--line); background: transparent; color: var(--fg-2);
        border-radius: 7px; padding: 4px 9px; font-family: var(--mono); font-size: 10.5px;
        letter-spacing: .06em; }
  .cp:hover { color: var(--fg); border-color: rgba(255,255,255,.28); }

  .why { font-size: 12.5px; color: var(--fg-3); line-height: 1.55; margin: 12px 0 0; }
  .why:empty { display: none; }

  .hint { font-size: 12.5px; color: var(--fg-3); margin-top: 9px; line-height: 1.5; }

  /* app-local: the landing page uses .pill for these now */
  .chip { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 10.5px;
          letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2);
          border: 1px solid var(--line); background: var(--surface);
          border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
  .chip.mute { color: var(--fg-3); background: transparent; }
  .meter { height: 6px; background: rgba(255,255,255,.07); border-radius: 999px; overflow: hidden; }
  .meter i { display: block; height: 100%; border-radius: 999px; background: var(--fg);
             transition: width .5s var(--ease); }
  .meter-row { display: flex; justify-content: space-between; gap: 14px; margin-top: 10px;
               font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
  .meter-row b { color: var(--fg); font-weight: 500; }
  @media (prefers-reduced-motion: reduce) { .meter i { transition: none; } }

  /* wallet picker */
  .wsheet { position: fixed; inset: 0; z-index: 300; display: none;
            align-items: center; justify-content: center; padding: 20px;
            background: rgba(0,0,0,.66); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
  .wsheet.on { display: flex; }
  .wsheet .box { width: min(94vw, 360px); background: var(--bg-2);
                 border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
  .wsheet .hd { display: flex; align-items: center; padding: 15px 18px;
                border-bottom: 1px solid var(--line-2); }
  .wsheet .hd .t { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
                   text-transform: uppercase; color: var(--fg-3); }
  .wsheet .hd button { margin-left: auto; background: none; border: 0; color: var(--fg-3);
                       cursor: pointer; font-size: 18px; line-height: 1; padding: 0 2px; }
  .wsheet .hd button:hover { color: var(--fg); }
  .wopt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 18px;
          background: none; border: 0; border-bottom: 1px solid var(--line-2);
          color: var(--fg); font-family: var(--sans); font-size: 14.5px; text-align: left;
          cursor: pointer; transition: background .15s ease; }
  .wopt:last-child { border-bottom: 0; }
  .wopt:hover { background: rgba(255,255,255,.05); }
  .wopt img { width: 26px; height: 26px; border-radius: 7px; flex: 0 0 auto; }
  .wopt .ph { width: 26px; height: 26px; border-radius: 7px; flex: 0 0 auto;
              background: var(--surface-2); border: 1px solid var(--line-2); }
  .wnone { padding: 26px 18px; text-align: center; font-size: 13.5px; color: var(--fg-2); }

/* Solana additions */
.pool-item .badge { width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto; overflow: hidden;
                    background: var(--surface-2); border: 1px solid var(--line-2); display: grid; place-items: center;
                    font-family: var(--mono); font-size: 10px; color: var(--fg-2); }
.pool-item .badge img { width: 100%; height: 100%; object-fit: cover; }
.notice { border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
          padding: 14px 18px; font-size: 13.5px; color: var(--fg-2); margin-bottom: 16px; line-height: 1.55; }
.notice b { color: var(--fg); font-weight: 500; }
.link { color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--fg); }
.btn.small { width: auto; padding: 9px 16px; font-size: 13.5px; }
.kv.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1180px) { .kv.two { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
[hidden] { display: none !important; }
@media (max-width: 520px) { .hide-sm { display: none !important; } }
