/* Abyss Angler. Everything is prefixed aa- and laid out inside the game's own box. */
.aa { position: relative; width: 100%; display: flex; flex-direction: column; color: #dfe9ff; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-tap-highlight-color: transparent; }
.aa [hidden] { display: none !important; }
.aa-stage { position: relative; width: 100%; height: min(78vh, 680px); min-height: 380px; overflow: hidden; background: #04060f; user-select: none; -webkit-user-select: none; touch-action: pan-y; isolation: isolate; }
.aa-stage.is-live, .stage.is-immersive .aa-stage { touch-action: none; }   /* a cast in play owns every touch; at the start screen a swipe may scroll the page */
.aa-stage canvas#aa-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; }
@media (max-width: 600px) { .aa-stage { height: auto; aspect-ratio: 3 / 4.5; max-height: 78vh; min-height: 0; } }

.aa-hud { position: absolute; inset: 0; pointer-events: none; }
.aa-hud button, .aa-hud .aa-chip { pointer-events: auto; }
.aa button { font: inherit; color: inherit; cursor: pointer; border: 0; margin: 0; }
.aa button:focus-visible { outline: 2px solid #55d6ff; outline-offset: 2px; }

/* top row */
.aa-top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 6px; padding: 8px; }
.aa-sp { flex: 1 1 auto; }
.aa-chip { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 12px; border-radius: 20px; background: rgba(6, 12, 30, 0.74); border: 1px solid rgba(120, 160, 220, 0.24); font-weight: 700; font-size: 15px; white-space: nowrap; min-width: 0; }
.aa-coins b { font-variant-numeric: tabular-nums; color: #e4ecff; }
.aa-coins.is-bump { animation: aa-bump 0.32s ease-out; }
/* The game's money is pearls: pale and round with a soft sheen, nothing like a gold coin. */
.aa-pearl { width: 18px; height: 18px; border-radius: 50%; flex: 0 0 auto; display: inline-block;
  background: radial-gradient(circle at 31% 27%, #ffffff 0, #ffffff 12%, rgba(255, 255, 255, 0) 31%), radial-gradient(circle at 64% 70%, rgba(150, 164, 226, 0.95) 0, rgba(150, 164, 226, 0) 60%), radial-gradient(circle at 44% 40%, #f7faff 0, #dde6fb 56%, #b4c0ec 100%);
  box-shadow: 0 0 6px rgba(191, 233, 255, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.aa-info { font-size: 13px; font-weight: 600; color: #c6d6f2; flex: 0 1 auto; gap: 0; }
.aa-info b, .aa-info span { overflow: hidden; text-overflow: ellipsis; min-width: 0; font-weight: 600; }
.aa-info span::before { content: '\00a0\00b7\00a0'; }
.aa-live { gap: 12px; padding: 0 12px; }
.aa-lv { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.aa-lv i { font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #8aa3c4; }
.aa-lv b { font-size: 13.5px; font-variant-numeric: tabular-nums; }
#aa-worth { color: #e4ecff; }
.aa-tool { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(6, 12, 30, 0.74); border: 1px solid rgba(120, 160, 220, 0.24) !important; color: #dfe9ff; }
.aa-tool svg { width: 22px; height: 22px; }
.aa-tool:hover { background: rgba(20, 34, 70, 0.9); }
.aa-tool .aa-off { display: none; }
.aa-tool[aria-pressed="true"] .aa-on { display: none; }
.aa-tool[aria-pressed="true"] .aa-off { display: inline; }
.aa-buffs { position: absolute; left: 8px; top: 54px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.aa-buff { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 11px; background: rgba(6, 12, 30, 0.74); border: 1px solid rgba(255, 209, 102, 0.5); color: #ffd166; }

/* bottom dock */
.aa-dock { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 26px 10px 10px; background: linear-gradient(to top, rgba(4, 6, 15, 0.82), rgba(4, 6, 15, 0.5) 62%, rgba(4, 6, 15, 0)); }
.aa-cast { position: relative; width: min(100%, 340px); height: 58px; border-radius: 29px; font-size: 22px; font-weight: 800; letter-spacing: 0.02em; color: #2a1a00 !important; background: linear-gradient(#ffe08a, #ffc23d 60%, #f0a020); box-shadow: 0 4px 0 #9a6200, 0 10px 24px rgba(0, 0, 0, 0.45); display: flex; align-items: center; justify-content: center; gap: 10px; transition: transform 0.08s; }
.aa-cast:hover { filter: brightness(1.06); }
.aa-cast:active { transform: translateY(3px); box-shadow: 0 1px 0 #9a6200, 0 6px 14px rgba(0, 0, 0, 0.45); }
.aa-cast.is-pulse { animation: aa-pulse 1.5s ease-in-out infinite; }
.aa-key { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: rgba(60, 36, 0, 0.16); border: 1px solid rgba(60, 36, 0, 0.3); }
@media (hover: none) and (pointer: coarse) { .aa-key { display: none; } }
.aa-nav { width: min(100%, 440px); display: flex; gap: 6px; }
.aa-nb { position: relative; flex: 1 1 0; min-width: 0; height: 50px; border-radius: 13px; background: rgba(8, 16, 38, 0.86); border: 1px solid rgba(120, 160, 220, 0.26) !important; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11.5px; font-weight: 700; color: #cfe0ff; }
.aa-nb svg { width: 20px; height: 20px; color: #55d6ff; }
.aa-nb:hover { background: rgba(20, 34, 70, 0.95); }
.aa-nb.is-exit svg { color: #ff6b81; }
.aa-badge { position: absolute; top: -5px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #ff6b81; color: #fff; font-size: 11px; font-weight: 800; font-style: normal; display: grid; place-items: center; box-shadow: 0 0 0 2px #04060f; }
.aa-toast { position: absolute; left: 50%; top: 58px; transform: translateX(-50%); max-width: calc(100% - 24px); padding: 9px 16px; border-radius: 18px; background: rgba(6, 12, 30, 0.9); border: 1px solid rgba(255, 209, 102, 0.55); color: #ffe7a8; font-size: 14px; font-weight: 700; text-align: center; animation: aa-drop 0.25s ease-out; z-index: 4; }

/* panels */
.aa-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 10px; background: rgba(3, 5, 14, 0.62); }
.aa-overlay.is-sheet { align-items: flex-end; background: linear-gradient(to top, rgba(3, 5, 14, 0.7), rgba(3, 5, 14, 0.15)); }
.aa-panel { width: min(100%, 560px); max-height: 100%; display: flex; flex-direction: column; background: #0b1328; border: 1px solid #1c2b4a; border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6); overflow: hidden; animation: aa-rise 0.2s ease-out; }
.aa-panel.is-wide { width: min(100%, 640px); height: 100%; }
.aa-panel.is-result { width: min(100%, 520px); }
.aa-ph { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-bottom: 1px solid #1c2b4a; flex: 0 0 auto; }
.aa-ph h3 { margin: 0; font-size: 18px; font-weight: 800; flex: 1 1 auto; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aa-ph .aa-purse { font-size: 14px; font-weight: 800; color: #e4ecff; display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.aa-x { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: #13203f; display: grid; place-items: center; color: #dfe9ff; }
.aa-x:hover { background: #1c2e58; }
.aa-x svg { width: 18px; height: 18px; }
.aa-tabs { display: flex; gap: 4px; padding: 6px 8px 0; flex: 0 0 auto; border-bottom: 1px solid #1c2b4a; }
.aa-tab { position: relative; flex: 1 1 0; min-width: 0; height: 42px; border-radius: 11px 11px 0 0; background: transparent; font-size: 13.5px; font-weight: 700; color: #8aa3c4; }
.aa-tab[aria-selected="true"] { background: #13203f; color: #fff; box-shadow: inset 0 -3px 0 #55d6ff; }
.aa-tab .aa-badge { top: 2px; right: 4px; box-shadow: none; }
.aa-pb { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch; padding: 12px; }
.aa-pf { flex: 0 0 auto; display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid #1c2b4a; }
.aa-pf.is-col { flex-direction: column; }
.aa-btn { min-height: 46px; padding: 0 16px; border-radius: 13px; background: #16264a; border: 1px solid #27407a !important; font-size: 15px; font-weight: 800; color: #dfe9ff; flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-align: center; }
.aa-btn:hover { background: #1d3160; }
.aa-btn.is-primary { background: linear-gradient(#ffe08a, #ffc23d 60%, #f0a020); color: #2a1a00 !important; border-color: #9a6200 !important; box-shadow: 0 3px 0 #9a6200; }
.aa-btn.is-primary:hover { filter: brightness(1.06); }
.aa-btn.is-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 #9a6200; }
.aa-btn.is-cool { background: linear-gradient(#7fe3ff, #36bfee); color: #02202c !important; border-color: #0e6a8a !important; }
.aa-btn.is-danger { background: #2a1422; border-color: #6b2740 !important; color: #ff9aa8; }
.aa-btn[disabled] { opacity: 0.5; cursor: default; filter: none; }
.aa-p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.5; color: #c6d6f2; }
.aa-p b { color: #fff; }
.aa-mut { color: #8aa3c4; font-size: 13px; }
.aa-h4 { margin: 14px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: #8aa3c4; }
.aa-h4:first-child { margin-top: 0; }

/* upgrade rows */
.aa-up { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px; margin-bottom: 8px; border-radius: 14px; background: #0f1a36; border: 1px solid #1c2b4a; }
.aa-up.can { border-color: rgba(255, 209, 102, 0.55); background: linear-gradient(90deg, rgba(255, 209, 102, 0.09), #0f1a36 60%); }
.aa-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #13203f; color: #55d6ff; }
.aa-ic svg { width: 26px; height: 26px; }
.aa-un { font-size: 15px; font-weight: 800; color: #fff; display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.aa-un small { font-size: 11.5px; font-weight: 700; color: #8aa3c4; }
.aa-ud { font-size: 12.5px; color: #a9bfe0; margin-top: 2px; line-height: 1.35; }
.aa-ud b { color: #6fe08a; font-weight: 700; }
.aa-buy { min-width: 92px; min-height: 46px; padding: 4px 10px; border-radius: 12px; background: #16264a; border: 1px solid #27407a !important; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #8aa3c4; line-height: 1.2; }
.aa-buy b { font-size: 14.5px; color: #dfe9ff; display: flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.aa-buy .aa-pearl { width: 13px; height: 13px; box-shadow: none; }
.aa-buy.can { background: linear-gradient(#ffe08a, #ffc23d 60%, #f0a020); border-color: #9a6200 !important; color: #5a3a00; box-shadow: 0 3px 0 #9a6200; }
.aa-buy.can b { color: #2a1a00; }
.aa-buy.can:active { transform: translateY(2px); box-shadow: 0 1px 0 #9a6200; }
.aa-buy.max { background: transparent; border-style: dashed !important; cursor: default; }
.aa-up.is-flash { animation: aa-flash 0.5s ease-out; }

/* waters */
.aa-wc { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 9px; margin-bottom: 8px; border-radius: 14px; background: #0f1a36; border: 1px solid #1c2b4a; }
.aa-wc.is-here { border-color: #55d6ff; }
.aa-wc.is-locked { opacity: 0.78; }
.aa-sw { width: 58px; height: 58px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16); }
.aa-wn { font-size: 15px; font-weight: 800; color: #fff; display: flex; gap: 7px; align-items: baseline; flex-wrap: wrap; }
.aa-wn small { font-size: 11.5px; font-weight: 700; color: #8aa3c4; }
.aa-wl { font-size: 12.5px; color: #a9bfe0; margin-top: 3px; line-height: 1.4; }
.aa-wl .ok { color: #6fe08a; font-weight: 700; }
.aa-wl .gold { color: #ffd166; font-weight: 700; }
.aa-wa { grid-column: 1 / -1; display: flex; gap: 8px; }
.aa-wa .aa-btn { min-height: 44px; font-size: 14px; }
.aa-voy { padding: 12px; margin-bottom: 10px; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 209, 102, 0.16), rgba(197, 139, 255, 0.14)); border: 1px solid rgba(255, 209, 102, 0.55); }
.aa-voy .aa-btn { width: 100%; margin-top: 8px; }
.aa-stars { color: #ffd166; letter-spacing: 2px; font-size: 15px; }

/* quests and stats */
.aa-q { padding: 10px 11px; margin-bottom: 8px; border-radius: 14px; background: #0f1a36; border: 1px solid #1c2b4a; }
.aa-qt { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; font-weight: 700; color: #fff; }
.aa-qt span { color: #e4ecff; white-space: nowrap; display: flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.aa-qt .aa-pearl { width: 13px; height: 13px; box-shadow: none; }
.aa-bar { height: 9px; border-radius: 5px; background: #1a2a52; overflow: hidden; margin-top: 8px; }
.aa-bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #36bfee, #6fe08a); }
.aa-bar.gold i { background: linear-gradient(90deg, #f0a020, #ffe08a); }
.aa-qn { font-size: 12px; color: #8aa3c4; margin-top: 5px; }
.aa-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.aa-st { padding: 8px 10px; border-radius: 11px; background: #0f1a36; border: 1px solid #1c2b4a; font-size: 12px; color: #8aa3c4; }
.aa-st b { display: block; font-size: 16px; color: #fff; font-variant-numeric: tabular-nums; }
.aa-troph { display: flex; flex-wrap: wrap; gap: 6px; }
.aa-tr { flex: 1 1 150px; padding: 8px 10px; border-radius: 11px; background: #0f1a36; border: 1px solid #1c2b4a; font-size: 12.5px; color: #8aa3c4; }
.aa-tr.got { border-color: rgba(255, 209, 102, 0.55); color: #ffd166; font-weight: 700; }

/* almanac */
.aa-chips { display: flex; gap: 6px; overflow-x: auto; touch-action: pan-x; padding-bottom: 8px; scrollbar-width: none; }
.aa-chips::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) { .aa-chips { flex-wrap: wrap; overflow-x: visible; } }   /* a mouse cannot swipe the row sideways */
.aa-wchip { flex: 0 0 auto; min-height: 40px; padding: 0 13px; border-radius: 20px; background: #0f1a36; border: 1px solid #1c2b4a !important; font-size: 13px; font-weight: 700; color: #a9bfe0; white-space: nowrap; }
.aa-wchip[aria-pressed="true"] { background: #16264a; border-color: #55d6ff !important; color: #fff; }
.aa-wchip small { color: #8aa3c4; font-weight: 700; margin-left: 4px; }
.aa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 7px; }
.aa-tile { position: relative; min-height: 96px; padding: 6px 4px 7px; border-radius: 13px; background: #0f1a36; border: 1px solid #1c2b4a !important; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 700; color: #dfe9ff; line-height: 1.2; text-align: center; }
.aa-tile canvas { width: 78px; height: 52px; display: block; pointer-events: none; }
.aa-tile.unk { color: #5f7397; }
.aa-tile[aria-pressed="true"] { border-color: #55d6ff !important; background: #13203f; }
.aa-tile .aa-dot { position: absolute; top: 6px; left: 6px; width: 8px; height: 8px; border-radius: 50%; }
.aa-det { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; margin-bottom: 10px; border-radius: 14px; background: #0f1a36; border: 1px solid #1c2b4a; min-height: 104px; }
.aa-det canvas { width: 120px; height: 80px; display: block; }
.aa-dn { font-size: 16px; font-weight: 800; color: #fff; }
.aa-dr { font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.aa-dd { font-size: 12.5px; color: #a9bfe0; line-height: 1.45; margin-top: 3px; }
.aa-sum { font-size: 13px; color: #a9bfe0; margin: 0 0 8px; }
.aa-sum b { color: #6fe08a; }

/* result card */
.aa-res { text-align: center; }
.aa-rt { font-size: 15px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #55d6ff; }
.aa-rt.gold { color: #ffd166; }
.aa-big { font-size: 44px; font-weight: 900; color: #eef3ff; line-height: 1.1; margin: 2px 0 2px; font-variant-numeric: tabular-nums; display: flex; align-items: center; justify-content: center; gap: 10px; }
.aa-big .aa-pearl { width: 30px; height: 30px; }
.aa-rb { font-size: 12.5px; color: #8aa3c4; margin-bottom: 8px; }
.aa-bd { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-bottom: 8px; }
.aa-bd span { padding: 4px 9px; border-radius: 10px; background: #0f1a36; border: 1px solid #1c2b4a; font-size: 12.5px; color: #a9bfe0; }
.aa-bd b { color: #fff; font-variant-numeric: tabular-nums; }
.aa-new { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 2px 0 8px; }
.aa-nw { width: 92px; padding: 5px 3px 6px; border-radius: 12px; background: #0f1a36; border: 1px solid rgba(255, 209, 102, 0.5); font-size: 11px; font-weight: 700; line-height: 1.2; animation: aa-pop 0.35s ease-out backwards; }
.aa-nw canvas { width: 78px; height: 52px; display: block; margin: 0 auto; }
.aa-nw i { display: block; font-style: normal; font-size: 9.5px; letter-spacing: 0.05em; text-transform: uppercase; }
.aa-qd { margin: 0 0 6px; padding: 7px 10px; border-radius: 11px; background: rgba(111, 224, 138, 0.1); border: 1px solid rgba(111, 224, 138, 0.4); font-size: 13px; color: #c9f5d4; text-align: left; display: flex; justify-content: space-between; gap: 8px; }
.aa-qd b { color: #e4ecff; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.aa-qd .aa-pearl { width: 13px; height: 13px; box-shadow: none; }
.aa-goal { margin-top: 6px; padding: 9px 11px; border-radius: 12px; background: #0f1a36; border: 1px solid #1c2b4a; text-align: left; font-size: 13px; color: #c6d6f2; }
.aa-goal b { color: #fff; }
.aa-got { margin-bottom: 4px; color: #6fe08a; font-weight: 700; }
/* a refusal, pinned to the button that was pressed */
.aa-need { position: absolute; z-index: 5; padding: 7px 11px; border-radius: 11px; background: #3a1422; border: 1px solid #ff8fa3; color: #ffe3e8; font-size: 13px; font-weight: 800; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6); animation: aa-rise 0.16s ease-out; }
.aa-need::after { content: ""; position: absolute; left: var(--aa-ax, 50%); bottom: -6px; width: 10px; height: 10px; margin-left: -5px; background: #3a1422; border: solid #ff8fa3; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.aa-need.is-below::after { bottom: auto; top: -6px; border-width: 1px 0 0 1px; }
.aa .is-deny { animation: aa-shake 0.32s ease-out; }
.aa-hauls { display: flex; gap: 8px; margin: 10px 0; }
.aa-haul { flex: 1 1 0; padding: 9px 4px; border-radius: 12px; background: #0f1a36; border: 1px solid #1c2b4a; text-align: center; font-size: 11.5px; color: #8aa3c4; }
.aa-haul b { display: block; font-size: 17px; color: #fff; font-variant-numeric: tabular-nums; }
.aa-haul.best { border-color: #ffd166; }
.aa-haul.best b { color: #ffd166; }
.aa-rgd { display: block; margin: 6px 0 0; font-size: 13px; color: #a9bfe0; }
.aa-rgd:empty { display: none; }

/* how to play */
.aa-steps { margin: 0; padding: 0; list-style: none; counter-reset: aa; }
.aa-steps li { position: relative; padding: 0 0 12px 40px; font-size: 14px; line-height: 1.45; color: #c6d6f2; counter-increment: aa; }
.aa-steps li::before { content: counter(aa); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #16264a; border: 1px solid #27407a; color: #55d6ff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.aa-steps b { color: #fff; }

.aa-help { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; }
.aa-help .aa-hint-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .aa-help .aa-hint-kb { display: none; } .aa-help .aa-hint-touch { display: inline; } }
.stage .aa-help { padding: 10px 14px 12px; }
.aa-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* full screen: the stage takes the room, the hint line goes */
.stage.is-immersive .stage-body > .aa { min-height: 0; flex: 1 1 auto; }
.stage.is-immersive .aa-stage { flex: 1 1 auto; height: auto; aspect-ratio: auto; max-height: none; min-height: 0; }
.stage.is-immersive .aa-help { display: none; }

@media (max-width: 430px) {
  .aa-chip { padding: 0 10px; font-size: 14px; }
  .aa-info { font-size: 12.5px; flex-direction: column; align-items: flex-start; justify-content: center; line-height: 1.15; }
  .aa-info span { font-size: 11px; color: #9db4d6; max-width: 100%; }
  .aa-info b { max-width: 100%; }
  .aa-info span::before { content: none; }
  .aa-live { gap: 9px; padding: 0 10px; }
  .aa-big { font-size: 38px; }
  .aa-det { grid-template-columns: 96px minmax(0, 1fr); }
  .aa-det canvas { width: 96px; height: 64px; }
  .aa-pb { padding: 10px; }
  .aa-buy { min-width: 84px; }
  .aa-nav { gap: 5px; }
  .aa-nb { font-size: 10.5px; letter-spacing: -0.1px; }
}
@media (max-height: 520px) { .aa-dock { padding-top: 12px; gap: 6px; } .aa-cast { height: 50px; font-size: 20px; } .aa-nb { height: 44px; } }

@keyframes aa-bump { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes aa-pulse { 0%, 100% { box-shadow: 0 4px 0 #9a6200, 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(255, 209, 102, 0.55); } 50% { box-shadow: 0 4px 0 #9a6200, 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 0 12px rgba(255, 209, 102, 0); } }
@keyframes aa-drop { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes aa-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes aa-shake { 20% { transform: translateX(-5px); } 45% { transform: translateX(4px); } 70% { transform: translateX(-3px); } 100% { transform: none; } }
@keyframes aa-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes aa-flash { 0% { background: rgba(111, 224, 138, 0.4); } 100% { background: #0f1a36; } }
@media (prefers-reduced-motion: reduce) { .aa-cast.is-pulse, .aa-panel, .aa-toast, .aa-need, .aa .is-deny, .aa-nw, .aa-coins.is-bump, .aa-up.is-flash { animation: none; } .aa-cast { transition: none; } }
