/* Page 82 · ADS IN THE GAME (pre-launch lane A). Page chrome + screen parts = 72_base.css; the ad pieces below (prefix a82-).
   Screens are 998 x 460 game units (iPhone 16 landscape). The game's pieces wear the comic look; the ad itself (inside the
   frame) wears the ad network's plain look with its "Test Ad" / "Ad" label, never dressed as game UI. */
.p82 .dO { --dc: #59F08A; } .p82 .dF { --dc: #8E99B0; } .p82 .dN { --dc: #FF5A7A; } .p82 .dS { --dc: #FFD23F; }
.a82-rules { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.a82-rules span { font: 400 13.5px/1.2 var(--f-display); letter-spacing: 0.04em; padding: 8px 11px 7px; border-radius: 10px; border: 2.5px solid var(--ink); box-shadow: 2px 4px 0 var(--ink); background: var(--panel-2); color: #fff; }
.a82-rules span.y { background: var(--yellow); color: var(--ink); }
.a82-rules span.r { background: #FF5A7A; }
.a82-box { margin: 22px 0 0; border: 3px solid var(--ink); border-radius: 16px; background: linear-gradient(180deg, #2E2850, #1E1A33); box-shadow: 3px 6px 0 var(--ink); padding: 14px 18px; }
.a82-box h4 { margin: 0 0 6px; font: 400 18px/1.1 var(--f-display); letter-spacing: 0.04em; color: var(--yellow); }
.a82-box ul { margin: 0; padding-left: 20px; color: var(--cream-2); }
.a82-box li { margin: 4px 0; }
.a82-box b { color: #fff; }

/* the screens' backgrounds */
.a82-arena { background: linear-gradient(180deg, #1C2742 0%, #2A3A5E 55%, #1B2238 55.2%, #11162A); }
.a82-arena::before { content: ""; position: absolute; left: 0; right: 0; top: 55%; height: 6px; background: #0B0E1A; }
.a82-practice { background: linear-gradient(180deg, #24304A 0%, #34476B 58%, #1B2238 58.2%, #11162A); }
.a82-dim { position: absolute; inset: 0; background: rgba(8, 6, 18, 0.62); }

/* fighters (simple sticks) */
.a82-stick { position: absolute; }

/* game panels */
.a82-panel { position: absolute; border-radius: 18px; border: 4px solid var(--ink); box-shadow: 0 7px 0 var(--ink); background: linear-gradient(180deg, #3A3460, #26213F); }
.a82-banner-win { position: absolute; left: 0; right: 0; top: 34px; text-align: center; font-size: 64px; line-height: 1; color: var(--yellow); }
.a82-coins { position: absolute; display: flex; align-items: center; gap: 10px; font-size: 34px; }
.a82-coin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--ink); background: radial-gradient(circle at 40% 35%, #FFF1A0, #FFC92E 55%, #E09A00); flex: none; }
.a82-gem { width: 28px; height: 28px; transform: rotate(45deg); border-radius: 6px; border: 3px solid var(--ink); background: linear-gradient(135deg, #8DF0FF, #2BB5E8); flex: none; }

/* the rewarded button: the game's own (a green WATCH play triangle + what you get + how many are left) */
.a82-rw { position: absolute; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 8px; border-radius: 16px; border: 4px solid var(--ink); box-shadow: 0 6px 0 var(--ink); background: linear-gradient(180deg, #7FE8A0, #2DC768 50%, #13A04A); color: #fff; font-size: 24px; line-height: 1; white-space: nowrap; }
.a82-rw .tv { width: 38px; height: 30px; border-radius: 7px; border: 3px solid var(--ink); background: #1D1B24; display: grid; place-items: center; flex: none; }
.a82-rw .tv i { width: 0; height: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.a82-rw small { display: block; font: 800 13px/1.1 var(--f-body); letter-spacing: 0.07em; color: rgba(255, 255, 255, 0.9); -webkit-text-stroke: 0; text-shadow: none; margin-top: 3px; }
.a82-rw.y { background: linear-gradient(180deg, #FFEB8A, #FFD23F 45%, #F4AE00); color: var(--ink); }
.a82-rw.y small { color: rgba(60, 40, 0, 0.8); }
.a82-rw.off { background: linear-gradient(180deg, #4A4566, #34304E); color: rgba(255, 255, 255, 0.55); }
.a82-rw.sm { font-size: 18px; border-width: 3px; border-radius: 12px; box-shadow: 0 4px 0 var(--ink); padding: 0 10px 0 6px; gap: 8px; }
.a82-rw.sm .tv { width: 28px; height: 22px; border-width: 2.5px; }
.a82-rw.sm .tv i { border-left-width: 8px; border-top-width: 5px; border-bottom-width: 5px; }
.a82-left { position: absolute; right: -10px; top: -12px; font: 400 13px/1 var(--f-display); background: #fff; color: var(--ink); border: 2.5px solid var(--ink); border-radius: 8px; padding: 3px 6px 2px; transform: rotate(4deg); }

/* game buttons */
.a82-btn { position: absolute; display: flex; align-items: center; justify-content: center; border-radius: 16px; border: 4px solid var(--ink); box-shadow: 0 6px 0 var(--ink); font-size: 26px; line-height: 1; }
.a82-btn.y { background: linear-gradient(180deg, #FFEB8A, #FFD23F 45%, #F4AE00); color: var(--ink); }
.a82-btn.d { background: linear-gradient(180deg, #353052, #23203A); color: #fff; }

/* the ad network's own look (Test Ad) */
.a82-sdk { position: absolute; background: #EEF0F3; color: #202124; font-family: Roboto, Arial, sans-serif; letter-spacing: 0; overflow: hidden; }
.a82-sdk .lab { position: absolute; left: 6px; top: 5px; font: 600 11px/1 Arial, sans-serif; color: #fff; background: #3C4043; border-radius: 3px; padding: 2px 4px; }
.a82-sdk .art { position: absolute; border-radius: 6px; }
.a82-sdk .t { position: absolute; font: 600 16px/1.2 Arial, sans-serif; color: #202124; }
.a82-sdk .s { position: absolute; font: 400 12.5px/1.25 Arial, sans-serif; color: #5F6368; }
.a82-sdk .cta { position: absolute; font: 600 13px/1 Arial, sans-serif; color: #fff; background: #1A73E8; border-radius: 4px; padding: 8px 12px; }
.a82-sdk.full { inset: 0; background: #1F2023; }
.a82-sdk.full .x { position: absolute; right: 18px; top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.85); color: #fff; display: grid; place-items: center; font: 600 16px/1 Arial, sans-serif; }

/* the slot a banner / native card lives in (game frame; the ad inside) */
.a82-slot { position: absolute; border-radius: 12px; border: 3px solid var(--ink); background: #15122A; box-shadow: 0 4px 0 var(--ink); overflow: hidden; }
.a82-slot .adtag { position: absolute; right: 6px; top: 5px; font: 400 12px/1 var(--f-display); background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; padding: 2px 5px 1px; z-index: 2; }
.a82-ghost { position: absolute; border: 3px dashed rgba(255, 255, 255, 0.45); border-radius: 12px; display: grid; place-items: center; font: 400 15px/1.1 var(--f-display); color: rgba(255, 255, 255, 0.6); letter-spacing: 0.04em; text-align: center; }

/* the corner chip (respawn, try-on): small, never over the fight's centre */
.a82-chip { position: absolute; display: flex; align-items: center; gap: 9px; padding: 6px 12px 6px 6px; border-radius: 14px; border: 3px solid var(--ink); background: linear-gradient(180deg, #2E2A48, #1E1A33); box-shadow: 0 4px 0 var(--ink); font-size: 19px; line-height: 1; white-space: nowrap; }
.a82-chip .ring { width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(var(--yellow) 0 var(--p, 70%), rgba(255, 255, 255, 0.15) var(--p, 70%) 100%); display: grid; place-items: center; flex: none; }
.a82-chip .ring b { width: 30px; height: 30px; border-radius: 50%; background: #1D1B24; display: grid; place-items: center; font-weight: 400; font-size: 17px; }
.a82-chip small { display: block; font: 800 13px/1.1 var(--f-body); letter-spacing: 0.07em; color: rgba(255, 255, 255, 0.75); margin-top: 3px; }
.a82-chip.g { background: linear-gradient(180deg, #7FE8A0, #2DC768 50%, #13A04A); }
.a82-chip.g small { color: rgba(255, 255, 255, 0.92); }
.a82-safe { position: absolute; border: 3px dashed #FF5A7A; border-radius: 18px; }
.a82-safe span { position: absolute; left: 8px; top: 6px; font: 400 14px/1 var(--f-display); color: #FF5A7A; letter-spacing: 0.04em; }

/* the HUD (simplified) */
.a82-hud { position: absolute; display: flex; gap: 8px; }
.a82-hud span { width: 56px; height: 56px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.08); }
.a82-score { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); display: flex; gap: 6px; }
.a82-score span { padding: 4px 10px 3px; border-radius: 9px; border: 3px solid var(--ink); font-size: 17px; background: #2A2545; }

/* sheets (the pop-up) */
.a82-sheet { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 22px; border: 4px solid var(--ink); box-shadow: 0 8px 0 var(--ink); background: linear-gradient(180deg, #3C3466, #25203F); }
.a82-sheet h3 { margin: 0; position: absolute; left: 0; right: 0; text-align: center; font-weight: 400; }

/* cards in lists */
.a82-row { position: absolute; left: 0; right: 0; height: 54px; border-radius: 13px; border: 3px solid var(--ink); background: linear-gradient(180deg, #34304E, #25213B); }
.a82-row .nm { position: absolute; left: 60px; top: 8px; font-size: 20px; }
.a82-row .sb { position: absolute; left: 60px; top: 30px; font: 800 12px/1 var(--f-body); letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.7); }
.a82-head { position: absolute; left: 10px; top: 6px; width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--ink); }

/* the step frames' small labels */
.a82-state { position: absolute; left: 12px; bottom: 10px; font: 400 14px/1 var(--f-display); padding: 4px 8px 3px; border-radius: 8px; border: 2.5px solid var(--ink); z-index: 9; letter-spacing: 0.04em; }
.a82-state.on { background: #59F08A; color: var(--ink); }
.a82-state.off { background: #8E99B0; color: var(--ink); }

/* the table at the end */
.a82-table table { width: 100%; border-collapse: separate; border-spacing: 0; }
.a82-table th, .a82-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; vertical-align: top; }
.a82-table th { font: 400 14px/1.2 var(--f-display); letter-spacing: 0.03em; color: var(--yellow); }
.a82-table td b { color: #fff; }
.a82-table .on { color: #59F08A; font-weight: 800; }
.a82-table .off { color: #8E99B0; font-weight: 800; }
.a82-table code { font-size: 12.5px; color: var(--cream-2); }

.a82-tagc { font: 400 12.5px/1 var(--f-display); font-style: normal; padding: 3px 7px 2px; border-radius: 7px; border: 2px solid var(--ink); margin-left: 6px; vertical-align: 2px; letter-spacing: 0.04em; white-space: nowrap; }
.a82-tagc.on { background: #59F08A; color: var(--ink); } .a82-tagc.off { background: #8E99B0; color: var(--ink); }
