/* AAO curve + door panel on the token page (aao.js) */
.aao-panel .fcurve { height: 10px; border-radius: 6px; background: var(--panel-3, #211e17); overflow: hidden; margin: 14px 0 10px; }
.aao-panel .fcurve-fill { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent, #f5c518), var(--accent-2, #ffd84a)); transition: width 0.4s; }
.aao-panel .fcurve-meta { font-size: 13px; color: var(--muted, #9c957f); line-height: 1.5; }
.aao-panel .fcurve-meta b { color: var(--text, #fff); }
.aao-door { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-3, #1a1813); display: flex; flex-direction: column; gap: 8px; }
.aao-door-lab { font-family: var(--mono, monospace); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2, #6a6454); }
.aao-rules { display: flex; flex-wrap: wrap; gap: 6px; }
.aao-rule { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 9px; background: var(--accent-soft, rgba(245, 197, 24, 0.12)); border: 1px solid var(--accent-line, rgba(245, 197, 24, 0.45)); color: var(--accent, #f5c518); font-size: 12.5px; font-weight: 600; }
.aao-rule.open { background: transparent; border-color: var(--line, #262219); color: var(--muted, #9c957f); font-weight: 500; }
.aao-door-note { font-size: 12.5px; color: var(--muted, #9c957f); line-height: 1.5; }
.aao-ok { color: var(--up, #4fd18b); }
.aao-verify { height: 30px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--accent, #f5c518); background: var(--accent, #f5c518); color: #000; font: 600 12.5px var(--font, sans-serif); cursor: pointer; margin-left: 6px; }
.aao-verify:hover { background: var(--accent-2, #ffd84a); }

/* ── AAO token page (aao-page.js): pump.fun-style left column ── */
#tokenView .tk-card.ap-hide { display: none; }
.ap-head { display: flex; align-items: center; gap: 16px; margin: 0 0 14px; }
.ap-avatar { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: var(--panel-2, #181611); border: 1px solid var(--line, #262219); display: grid; place-items: center; font: 600 24px var(--font, sans-serif); color: var(--accent, #f5c518); flex: 0 0 80px; }
.ap-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ap-id { min-width: 0; flex: 1; }
.ap-sym { display: flex; align-items: center; gap: 10px; font-family: var(--display, sans-serif); font-size: 34px; font-weight: 600; letter-spacing: -0.01em; color: #fff; line-height: 1.05; }
.ap-copy { background: none; border: 0; color: var(--muted, #9c957f); padding: 2px; cursor: pointer; display: inline-grid; }
.ap-copy svg { width: 18px; height: 18px; } .ap-copy.ok { color: var(--up, #4fd18b); }
.ap-name { color: var(--muted, #9c957f); font-size: 16px; margin-top: 4px; }
.ap-chain { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 12px; background: var(--panel, #0f0e0b); border: 1px solid var(--line, #262219); font-weight: 600; font-size: 13px; }
.ap-chain .bnb { width: 16px; height: 16px; }
.ap-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
.ap-stats > div { padding: 12px 14px; border-radius: 14px; background: var(--panel, #0f0e0b); border: 1px solid var(--line, #262219); min-width: 0; }
.ap-stats span { display: block; font-family: var(--mono, monospace); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted, #9c957f); margin-bottom: 6px; }
.ap-stats b { display: block; font-family: var(--mono, monospace); font-size: 18px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-stats b small { font-size: 11px; color: var(--muted, #9c957f); font-weight: 500; margin-left: 4px; }
.ap-stats b sub { font-size: 11px; }
.ap-chart-wrap { margin: 0 0 12px; }
.ap-chart { position: relative; height: 440px; border-radius: 16px; overflow: hidden; background: #0b0a08; border: 1px solid var(--line, #262219); }
.ap-chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted, #9c957f); font-size: 13px; z-index: 2; pointer-events: none; }
.ap-tfs { display: flex; gap: 4px; margin-top: 8px; padding: 4px; border-radius: 12px; background: var(--panel, #0f0e0b); border: 1px solid var(--line, #262219); }
.ap-tfs button { flex: 1; height: 34px; border: 0; border-radius: 9px; background: transparent; color: var(--muted, #9c957f); font: 600 13px var(--font, sans-serif); cursor: pointer; }
.ap-tfs button.active { background: var(--panel-3, #211e17); color: #fff; }
.ap-bond { padding: 14px 16px; border-radius: 14px; background: var(--panel, #0f0e0b); border: 1px solid var(--line, #262219); margin: 0 0 12px; }
.ap-bond-head { display: flex; justify-content: space-between; font-family: var(--mono, monospace); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted, #9c957f); margin-bottom: 10px; }
.ap-bond-head b { color: #fff; font-size: 13px; margin-left: 6px; }
.ap-bar { height: 8px; border-radius: 5px; background: var(--panel-3, #211e17); overflow: hidden; }
.ap-bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--accent, #f5c518), var(--accent-2, #ffd84a)); transition: width 0.4s; }
.ap-chg { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 14px; background: var(--panel, #0f0e0b); border: 1px solid var(--line, #262219); margin: 0 0 12px; }
.ap-chg > div { padding: 12px; text-align: center; border-left: 1px solid var(--line-3, #1a1813); }
.ap-chg > div:first-child { border-left: 0; }
.ap-chg span { display: block; font-size: 12px; color: var(--muted, #9c957f); margin-bottom: 4px; }
.ap-chg b { font-family: var(--mono, monospace); font-size: 14px; color: var(--muted, #9c957f); }
.ap-chg .up { color: var(--up, #4fd18b); } .ap-chg .down { color: var(--down, #ff6b6b); }
.ap-card { padding: 18px 20px; border-radius: 16px; background: var(--panel, #0f0e0b); border: 1px solid var(--line, #262219); margin: 0 0 12px; }
.ap-lab { font-family: var(--mono, monospace); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted, #9c957f); margin-bottom: 10px; }
.ap-about { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--text-2, #cfc9b8); white-space: pre-wrap; }
.ap-door { display: flex; flex-direction: column; gap: 8px; padding: 14px 0 0; border-top: 1px solid var(--line-3, #1a1813); }
.ap-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ap-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 10px; background: #000; border: 1px solid var(--line, #262219); color: #fff; font-size: 12.5px; font-weight: 600; }
.ap-chip:hover { border-color: var(--accent, #f5c518); color: var(--accent, #f5c518); }
.ap-fees-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ap-fee-who { font-family: var(--mono, monospace); font-size: 14px; color: #fff; }
.ap-fees-tot { text-align: right; }
.ap-fees-tot b { font-family: var(--mono, monospace); font-size: 30px; font-weight: 600; color: #fff; }
.ap-fee-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-3, #1a1813); font-size: 12.5px; color: var(--muted, #9c957f); }
.ap-trades { display: flex; flex-direction: column; }
.ap-tr { display: grid; grid-template-columns: 44px 1fr 1fr 1.2fr 40px 24px; gap: 8px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line-3, #1a1813); font-family: var(--mono, monospace); font-size: 12.5px; color: var(--text-2, #cfc9b8); }
.ap-tr:first-child { border-top: 0; }
.ap-tr .side { font-weight: 600; } .ap-tr.buy .side { color: var(--up, #4fd18b); } .ap-tr.sell .side { color: var(--down, #ff6b6b); }
.ap-tr .who { color: var(--muted, #9c957f); } .ap-tr .when { color: var(--muted-2, #6a6454); text-align: right; } .ap-tr .tx { color: var(--muted, #9c957f); text-align: right; }
.ap-empty { font-size: 13px; color: var(--muted, #9c957f); }
@media (max-width: 760px) {
  .ap-stats { grid-template-columns: repeat(2, 1fr); }
  .ap-chart { height: 300px; }
  .ap-sym { font-size: 26px; }
  .ap-tr { grid-template-columns: 40px 1fr 1fr 24px; } .ap-tr .tok, .ap-tr .when { display: none; }
}
.ap-via { font-size: 11px; color: var(--muted, #9c957f); font-weight: 500; margin-left: 4px; }
/* hooks section on the token page */
.ap-hooks { border-color: var(--accent-line, rgba(245, 197, 24, 0.45)); background: linear-gradient(180deg, rgba(245, 197, 24, 0.07), rgba(0, 0, 0, 0) 70%), var(--panel, #0f0e0b); }
.ap-hooks-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.ap-hooks-head .ap-lab { margin: 0; }
.ap-hooks-count { font-family: var(--mono, monospace); font-size: 11px; color: var(--accent, #f5c518); }
.ap-hook-list { display: flex; flex-direction: column; }
.ap-hook { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-3, #1a1813); font-size: 13px; }
.ap-hook:first-child { border-top: 0; }
.ap-hook b { color: var(--accent, #f5c518); font-weight: 600; }
.ap-hook span { color: var(--text-2, #cfc9b8); line-height: 1.45; }
.ap-hook.none b { color: #fff; }
.ap-hook.base b { color: var(--muted, #9c957f); font-weight: 500; }
.ap-hook.base span { color: var(--muted, #9c957f); }
.ap-hooks .aao-door-note { display: block; margin-top: 10px; }
@media (max-width: 760px) { .ap-hook { grid-template-columns: 1fr; gap: 3px; } }
/* hook pills under the coin name: icon + name, gold glow, a styled tooltip on hover or focus */
.ap-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ap-pill { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.01em; color: var(--accent, #f5c518); background: linear-gradient(180deg, rgba(245, 197, 24, 0.18), rgba(245, 197, 24, 0.06)); border: 1px solid rgba(245, 197, 24, 0.55); box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.08), 0 4px 14px rgba(245, 197, 24, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08); cursor: help; outline: none; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.ap-pill:hover, .ap-pill:focus { transform: translateY(-1px); border-color: var(--accent, #f5c518); box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.2), 0 8px 22px rgba(245, 197, 24, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.ap-pill > svg { width: 14px; height: 14px; flex: 0 0 14px; }
.ap-pill.quiet { color: var(--text-2, #cfc9b8); background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); border-color: var(--line, #262219); box-shadow: none; font-weight: 500; }
.ap-pill.quiet:hover, .ap-pill.quiet:focus { border-color: var(--line-strong, #5a4e2a); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.ap-tip { position: absolute; left: 0; top: calc(100% + 9px); z-index: 30; width: 280px; padding: 11px 13px; border-radius: 12px; background: #15130e; border: 1px solid rgba(245, 197, 24, 0.35); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6); color: var(--text-2, #cfc9b8); font-size: 12.5px; font-weight: 400; line-height: 1.5; text-align: left; white-space: normal; cursor: default; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity 0.15s, transform 0.15s; }
.ap-tip::before { content: ; position: absolute; left: 16px; top: -6px; width: 10px; height: 10px; background: #15130e; border-left: 1px solid rgba(245, 197, 24, 0.35); border-top: 1px solid rgba(245, 197, 24, 0.35); transform: rotate(45deg); }
.ap-tip b { display: block; color: var(--accent, #f5c518); font-size: 12px; margin-bottom: 4px; }
.ap-pill:hover .ap-tip, .ap-pill:focus .ap-tip { opacity: 1; transform: translateY(0); }
.ap-hooks { display: none; }
@media (max-width: 760px) { .ap-tip { width: min(280px, calc(100vw - 48px)); } }
