/* HOST-THEME RESET, scoped by ID on purpose: host themes style bare elements
   at up to 0, 3, 1 specificity (Twenty Twenty-One's dark-theme button rule beat
   class scoping), and one ID beats any number of classes. The reset is
   #ire-c2 button (1, 0, 1); every component rule is #ire-c2 .x (1, 1, 0).
   Never add an unscoped selector to this file; exactly one #ire-c2 per page. */
#ire-c2 button,
#ire-c2 input {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    background-image: none;
    box-shadow: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: none;
    line-height: inherit;
    text-align: inherit;
    min-height: 0;
    width: auto;
}

#ire-c2 button { cursor: pointer; }

#ire-c2 a {
    text-decoration: none;
    box-shadow: none;
    background: none;
}

#ire-c2 h1,
#ire-c2 h2,
#ire-c2 h3,
#ire-c2 p,
#ire-c2 ul,
#ire-c2 dl,
#ire-c2 dd {
    margin: 0;
    padding: 0;
}

#ire-c2 ul { list-style: none; }

#ire-c2 img {
    max-width: 100%;
    height: auto;
    border: 0;
}

#ire-c2 iframe { max-width: none; }

#ire-c2 details,
#ire-c2 summary {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
}

#ire-c2 :focus {
    outline: none;
    box-shadow: none;
}

#ire-c2 {
    --bg:        #070707;   /* live body background */
    --bg-deep:   #0c0a0a;   /* deeper inset (form fields) */
    --surface:   #282a2e;   /* charcoal panel: the one raised surface (the order panel) */
    --surface-2: #212225;   /* sub-panel inside the order panel */
    --line:      #303030;   /* live border / hairline */
    --line-soft: #232323;   /* softer rule between rows on near-black */
    --gold:      #f7b91a;   /* Imperial Gold */
    --gold-deep: #db951c;   /* warm hover / gradient bottom */
    --gold-brt:  #f7ca59;   /* brighter gold */
    --gold-soft: #f7d9ad;   /* light gold */
    --text:      #f7f7f7;   /* ivory body text */
    --muted:     #b8b8b8;   /* secondary text (lifted off the live #878787 for on-page readability) */
    --faint:     #878787;   /* live muted text */
    --sale:      #e4572e;   /* ember-red: the sale dots + urgency (kept per Jeremy) */
    --save:      #6fbf73;   /* restrained green for money saved */
    --bad:       #ff5c5c;   /* errors and failed payments */
    --bad-rgb:   255, 92, 92;
    --accent-rgb: 247, 185, 26;   /* accent as rgb, for rgba() tints */
    --bg-rgb:    7, 7, 7;   /* body bg as rgb, for gradient falloffs */
    --btn-text:  #070707;   /* text on the accent CTA (dark on gold) */
    /* Beaver Builder loads only Cinzel 700 + Montserrat 300/400/700; weights stay on those */
    --display:   'Cinzel', Georgia, serif;
    --body:      'Montserrat', system-ui, sans-serif;
}

/* Aetolia: live aetolia.com skin, crimson on near-black */
#ire-c2[data-game="aetolia"] {
    --bg:        #0d0d0d;
    --bg-deep:   #0a0a0a;
    --surface:   #1a1a1a;
    --surface-2: #141414;
    --line:      #333333;
    --line-soft: #242424;
    --gold:      #cd2119;
    --gold-deep: #9e1a13;
    --gold-brt:  #ef4444;
    --gold-soft: #f0a79f;
    --text:      #f2f2f2;
    --muted:     #b3b3b3;
    --faint:     #8a8a8a;
    --sale:      #d9a441;
    --accent-rgb: 205, 33, 25;
    --bg-rgb:    13, 13, 13;
    --btn-text:  #f7f7f7;
}

#ire-c2 *,
#ire-c2 *::before,
#ire-c2 *::after { box-sizing: border-box; }

#ire-c2 [hidden] { display: none !important; }   /* must win over the display rules below */

#ire-c2 {
    /* Full-bleed out of the theme's content column */
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    container-type: inline-size;
    container-name: c2;
    color: var(--text);
    font-family: var(--body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    background: radial-gradient(1100px 520px at 92% -10%, rgba(var(--accent-rgb), 0.06), transparent 60%), var(--bg);
    background-attachment: fixed;
}

#ire-c2 .app {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 40px) 60px;
}

/* ============================================================
   MASTHEAD (asymmetric)
   ============================================================ */
#ire-c2 header.top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px 40px;
    align-items: end;
    padding: clamp(32px, 5vw, 60px) 0 22px;
    border-bottom: 1px solid var(--line);
}

#ire-c2 .mast h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(38px, 7vw, 70px);
    line-height: 0.95;
    letter-spacing: -0.01em;
}

#ire-c2 .mast p {
    color: var(--muted);
    max-width: 48ch;
    margin: 16px 0 0;
    font-size: 16px;
}

#ire-c2 .stamp { align-self: end; }

#ire-c2 .stamp ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

@container c2 (min-width: 760px) {
    #ire-c2 header.top { grid-template-columns: 1.4fr 0.9fr; }
    #ire-c2 .stamp { text-align: right; }
    #ire-c2 .stamp ul { align-items: flex-end; }
}

#ire-c2 .stamp li {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
}

#ire-c2 .stamp svg {
    width: 15px;
    height: 15px;
    color: var(--gold);
    flex-shrink: 0;
}

/* ============================================================
   TWO COLUMNS — ledger + order panel
   ============================================================ */
#ire-c2 .counter {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 46px;
    padding-top: 26px;
}

@container c2 (min-width: 960px) {
    #ire-c2 .counter {
        grid-template-columns: 1fr 340px;
        align-items: start;
    }
}

#ire-c2 .ledger { min-width: 0; }

#ire-c2 .ledger[inert] {
    opacity: 0.55;
    transition: opacity 0.2s;
}

/* ============================================================
   CATEGORY INDEX
   ============================================================ */
#ire-c2 .index {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 22px;
    margin: 0 0 20px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 11px 18px;
}

#ire-c2 .idx {
    padding: 6px 0 9px;
    position: relative;
    font-family: var(--display);
    font-weight: 700;
    font-size: 16px;
    color: var(--muted);
    transition: color 0.18s;
}

#ire-c2 .idx:hover { color: var(--text); }

#ire-c2 .idx[aria-selected="true"] { color: var(--text); }

#ire-c2 .idx[aria-selected="true"]::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

#ire-c2 .idx .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sale);
    margin-left: 6px;
    vertical-align: middle;
}

/* Hairline that pushes the limited-time categories onto their own line */
#ire-c2 .idx-break {
    flex-basis: 100%;
    height: 0;
    margin: 8px 0 2px;
    border-top: 1px solid var(--line);
}

#ire-c2 .caption {
    color: var(--muted);
    font-size: 14.5px;
    margin: 10px 0 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 24px;
}

#ire-c2 .cap-text { max-width: 64ch; }

#ire-c2 .caption .flag {
    color: var(--sale);
    font-weight: 700;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-left: 10px;
    white-space: nowrap;
}

#ire-c2 .caption .cap-link {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Category hero banner, 4:1, from assets/credits2/ */
#ire-c2 .cat-hero {
    position: relative;
    aspect-ratio: 4 / 1;
    max-height: 210px;
    margin: 0 0 14px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--line);
}

#ire-c2 .cat-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    filter: saturate(0.95) contrast(1.02);
}

#ire-c2 .cat-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(var(--bg-rgb), 0.12) 0%, rgba(var(--bg-rgb), 0.04) 45%, rgba(var(--bg-rgb), 0.72) 100%);
}

/* Promo strip + per-row bonus highlight */
#ire-c2 .promo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 22px 0 0;
    padding: 12px 16px;
    border-radius: 5px;
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.4);
}

#ire-c2 .promo .tagline {
    font-weight: 700;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--btn-text);
    background: var(--gold);
    padding: 4px 9px;
    border-radius: 3px;
    flex-shrink: 0;
}

#ire-c2 .promo .txt {
    flex: 1 1 320px;
    font-size: 15px;
    color: var(--text);
}

#ire-c2 .promo .txt b { color: var(--gold); }

#ire-c2 .promo .ends {
    color: var(--sale);
    font-weight: 700;
    white-space: nowrap;
    margin-left: auto;
}

#ire-c2 .bonus {
    color: var(--gold);
    font-weight: 700;
}

#ire-c2 .was {
    color: var(--faint);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

#ire-c2 .entry .pr .was {
    font-size: 0.72em;
    font-weight: 400;
    margin-right: 2px;
}

/* ============================================================
   LEDGER ENTRIES — ruled rows, no cards
   ============================================================ */
#ire-c2 .rows { border-top: 1px solid var(--line-soft); }

#ire-c2 .entry {
    display: grid;
    grid-template-columns: 20px 1fr auto;
    align-items: center;
    gap: 0 22px;
    padding: 18px 26px 18px 18px;
    border-bottom: 1px solid var(--line-soft);
    cursor: pointer;
    position: relative;
    width: 100%;
    text-align: left;
    transition: background 0.16s;
}

#ire-c2 .entry::before {
    /* Selection tick in the left margin */
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background: var(--gold);
    border-radius: 2px;
    transition: transform 0.18s ease;
    transform-origin: center;
}

#ire-c2 .entry:hover { background: rgba(255, 255, 255, 0.03); }

#ire-c2 .entry[aria-pressed="true"] { background: rgba(var(--accent-rgb), 0.06); }

#ire-c2 .entry[aria-pressed="true"]::before { transform: translateY(-50%) scaleY(1); }

#ire-c2 .entry .txt {
    grid-column: 2;
    min-width: 0;
}

#ire-c2 .entry .nm {
    font-family: var(--display);
    font-weight: 700;
    font-size: 19px;
    line-height: 1.15;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

#ire-c2 .entry .mt {
    font-size: 13px;
    line-height: 1.35;
    color: var(--muted);
    margin-top: 2px;
    max-width: 56ch;
}

/* Pick ring */
#ire-c2 .entry .pick {
    grid-column: 1;
    position: relative;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--faint);
    border-radius: 50%;
    transition: border-color 0.16s, background 0.16s;
}

#ire-c2 .entry:hover .pick { border-color: var(--text); }

#ire-c2 .entry[aria-pressed="true"] .pick {
    border-color: var(--gold);
    background: var(--gold);
}

#ire-c2 .entry[aria-pressed="true"] .pick::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--btn-text);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#ire-c2 .entry .pr {
    grid-column: 3;
    text-align: right;
    font-weight: 400;
    font-size: 24px;
    color: var(--text);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

#ire-c2 .entry[aria-pressed="true"] .pr { color: var(--gold); }

#ire-c2 .tag {
    display: inline;
    font-family: var(--body);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    border-radius: 0;
}

#ire-c2 .tag.popular { color: var(--gold-brt); }

#ire-c2 .tag.value { color: var(--save); }

/* Gold = popularity, green = standing value, ember = ending promotion */
#ire-c2 .tag.ember { color: var(--sale); }

#ire-c2 .tag::before {
    content: '\00b7\00a0';
    color: var(--faint);
}

/* Elite benefits, the row's next sibling */
#ire-c2 .ebody {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    padding: 0 26px 0 60px;   /* 18 entry pad + 20 pick + 22 gap */
    transition: grid-template-rows 0.3s ease, visibility 0s 0.3s;
}

#ire-c2 .entry.elite[aria-pressed="true"] + .ebody {
    grid-template-rows: 1fr;
    visibility: visible;
    padding-bottom: 18px;
    background: rgba(var(--accent-rgb), 0.06);
    border-bottom: 1px solid var(--line-soft);
    transition: grid-template-rows 0.3s ease, visibility 0s;
}

#ire-c2 .entry.elite[aria-pressed="true"] { border-bottom-color: transparent; }

#ire-c2 .ebody > div { overflow: hidden; }

#ire-c2 .ebody .bh {
    font-family: var(--display);
    font-weight: 700;
    font-size: 15px;
    color: var(--gold);
    margin: 0 0 10px;
}

#ire-c2 .ebody ul {
    padding-left: 1.1em;
    font-size: 14.5px;
    color: var(--text);
}

#ire-c2 .ebody li {
    margin: 7px 0;
    position: relative;
    line-height: 1.45;
}

#ire-c2 .ebody li::before {
    content: '\002B';
    position: absolute;
    left: -1.1em;
    color: var(--gold-deep);
    font-weight: 700;
}

#ire-c2 .ebody .cancel {
    color: var(--faint);
    font-size: 12.5px;
    margin: 16px 0 2px;
    padding-top: 12px;
    border-top: 1px solid var(--line-soft);
}

/* ============================================================
   SEGMENTED STEPPERS (tickets + Trading Post rows)
   ============================================================ */
/* Centred explicitly: the host reset gives buttons text-align:inherit. */
#ire-c2 .stepgroup,
#ire-c2 .tp-line .st {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 3px;
    overflow: hidden;
    background: var(--bg-deep);
}

#ire-c2 .stepgroup button,
#ire-c2 .tp-line .st button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
}

#ire-c2 .stepgroup button:hover,
#ire-c2 .tp-line .st button:hover {
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--gold);
}

/* Tickets: padding matches .entry so it lines up with the rows above it */
#ire-c2 .stepper {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 26px 18px 14px;
}

#ire-c2 .stepgroup { flex-shrink: 0; }

#ire-c2 .stepgroup button {
    width: 42px;
    min-height: 42px;
    font-size: 22px;
}

#ire-c2 .stepper input {
    width: 66px;
    text-align: center;
    color: var(--text);
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    padding: 0 4px;
    font-size: 19px;
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
}

#ire-c2 .stepper input::-webkit-outer-spin-button,
#ire-c2 .stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#ire-c2 .stepper input:focus {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
}

#ire-c2 .stepper .tk-total {
    margin-left: auto;
    font-weight: 400;
    font-size: 24px;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   TRADING POST
   ============================================================ */
#ire-c2 .tp-index {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 18px;
}

#ire-c2 .tp-cat {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--surface-2);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--muted);
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}

#ire-c2 .tp-cat:hover {
    color: var(--text);
    border-color: var(--faint);
}

#ire-c2 .tp-cat[aria-selected="true"] {
    color: var(--btn-text);
    background: var(--gold);
    border-color: var(--gold);
}

#ire-c2 .tp-line {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 2px 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line-soft);
}

#ire-c2 .tp-line .tn {
    grid-column: 1;
    font-weight: 700;
    font-size: 17px;
}

#ire-c2 .tp-line .td {
    grid-column: 1;
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px;
    max-width: 50ch;
}

#ire-c2 .tp-line .tc {
    grid-row: 1 / 3;
    grid-column: 2;
    color: var(--muted);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

#ire-c2 .tp-line.in .tc { color: var(--gold); }

/* One size down from tickets; the recipe lives in the shared rules above */
#ire-c2 .tp-line .st {
    grid-row: 1 / 3;
    grid-column: 3;
    align-self: center;
}

#ire-c2 .tp-line .st button {
    width: 34px;
    min-height: 32px;
    font-size: 19px;
}

#ire-c2 .tp-line .st .q {
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    font-size: 14.5px;
    font-variant-numeric: tabular-nums;
}

#ire-c2 .tp-line.in .st { border-color: rgba(var(--accent-rgb), 0.45); }

#ire-c2 .tp-line.in .st .q { color: var(--gold); }

#ire-c2 .tally {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 2px solid var(--line);
}

#ire-c2 .tally h3 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 17.5px;
    margin: 0 0 10px;
    color: var(--gold);
}

/* Size stated: an unsized paragraph takes the host theme's, ~24px on Twenty Twenty-Five */
#ire-c2 p.empty {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--muted);
    font-style: italic;
}

/* Line items and the total row share the two-column flex */
#ire-c2 .tally .trow,
#ire-c2 .tally .tsum {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

#ire-c2 .tally .trow {
    padding: 5px 0;
    font-size: 15px;
}

#ire-c2 .tally .tsum {
    align-items: baseline;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line-soft);
    font-variant-numeric: tabular-nums;
}

#ire-c2 .tally .tsum .paysum {
    font-size: 19px;
    color: var(--gold);
    white-space: nowrap;
}

#ire-c2 .tally .tsum .member {
    display: block;
    color: var(--muted);
    font-size: 13.5px;
    margin-top: 6px;
}

/* ============================================================
   ORDER PANEL
   ============================================================ */
#ire-c2 .order-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 22px 22px 20px;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
    color: var(--text);
}

#ire-c2 .order-panel::before {
    content: '';
    display: block;
    height: 3px;
    margin: -22px -22px 18px;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
    border-radius: 3px 3px 0 0;
}

#ire-c2 .order-panel h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 18.5px;
    margin: 0 0 14px;
}

#ire-c2 .rline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px;
}

#ire-c2 .rline .k {
    color: var(--muted);
    flex-shrink: 0;
}

#ire-c2 .rline .v {
    min-width: 0;
    font-weight: 700;
    text-align: right;
}

#ire-c2 .rline .v.empty {
    color: var(--muted);
    font-weight: 400;
    font-style: italic;
}

#ire-c2 .rtotal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 2px 0 0;
}

#ire-c2 .rtotal .k {
    color: var(--muted);
    font-size: 12.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

#ire-c2 .rtotal .v {
    font-weight: 700;
    font-size: 24px;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
}

/* the Elite line, inside the selected credit row */
#ire-c2 .elite-hint {
    display: block;
    margin: 8px 0 0;
    padding-top: 7px;
    border-top: 1px solid rgba(var(--accent-rgb), 0.22);
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--gold-soft);
}

#ire-c2 .elite-hint b {
    color: var(--gold);
    font-weight: 700;
}

#ire-c2 .field { margin-top: 14px; }

#ire-c2 .field label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

#ire-c2 .field input {
    width: 100%;
    background: var(--bg-deep);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 11px 12px;
    font-size: 15px;
}

#ire-c2 .field input:focus {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
}

#ire-c2 .field input:read-only {
    background: var(--surface);
    border-color: var(--line-soft);
    cursor: default;
}

#ire-c2 .field .hint {
    margin: 7px 0 0;
    font-size: 12px;
    color: var(--faint);
    line-height: 1.4;
}

#ire-c2 .sub-lbl {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

#ire-c2 .paystack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#ire-c2 .pm-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 46px;
    padding: 0 44px;           /* room for the chevron without shifting the label */
    font-size: 16px;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.85);
}

#ire-c2 .pm-row[aria-expanded="true"] {
    padding: 0 14px;
    justify-content: flex-start;
    border-radius: 3px 3px 0 0;
    font-size: 15px;
    color: var(--gold);
    background: var(--surface-2);
    box-shadow: none;
}

#ire-c2 .pm-ico {
    width: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ire-c2 .pm-ico svg { width: 20px; height: 20px; }

#ire-c2 .pm-row[aria-expanded="true"] .pm-name { flex: 1 1 auto; }

#ire-c2 .pm-chev {
    position: absolute;
    right: 16px;
    top: 50%;
    margin-top: -9px;
    display: flex;
    opacity: 0.75;
    transition: transform 0.18s ease;
}

#ire-c2 .pm-chev svg { width: 18px; height: 18px; }

#ire-c2 .pm-row[aria-expanded="true"] .pm-chev {
    transform: rotate(180deg);
    opacity: 1;
}

#ire-c2 .pm-body {
    padding: 14px;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 3px 3px;
    background: var(--bg-deep);
}

#ire-c2 .cverify {
    margin: 7px 0 0;
    font-size: 12.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

#ire-c2 .cverify.ok { color: var(--save); }

#ire-c2 .cverify.bad {
    color: var(--bad);
    font-weight: 600;
}

#ire-c2 .pay,
#ire-c2 .pm-row,
#ire-c2 .bl-go,
#ire-c2 .done-btn {
    font-weight: 700;
    color: var(--btn-text);
    background: linear-gradient(180deg, var(--gold-brt), var(--gold-deep));
    border-radius: 3px;
    transition: filter 0.15s;
}

#ire-c2 .pay {
    margin-top: 16px;
    width: 100%;
    font-size: 15px;
    line-height: 1.3;
    padding: 14px 8px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#ire-c2 .pay:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: none;
}

#ire-c2 .pay:not(:disabled):hover,
#ire-c2 .done-btn:hover,
#ire-c2 .pm-row:hover { filter: brightness(1.06); }

#ire-c2 .rfoot {
    margin-top: 14px;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

#ire-c2 .rfoot svg {
    width: 13px;
    height: 13px;
    color: var(--faint);
    flex-shrink: 0;
}

#ire-c2 .rfoot a {
    color: var(--gold);
    text-decoration: none;
}

#ire-c2 .rfoot a:hover { text-decoration: underline; }

#ire-c2 .rfoot2 {
    text-align: center;
    margin-top: 8px;
}

#ire-c2 .manage-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.45);
    padding-bottom: 1px;
}

#ire-c2 .manage-link:hover { color: var(--gold-brt); }

/* Mobile-only back control */
#ire-c2 .rback {
    display: none;
    color: var(--gold);
    font-weight: 700;
    font-size: 15px;
    padding: 2px 0 12px;
}

#ire-c2 .barline { display: none; }

/* ============================================================
   MOBILE ORDER BAR — a slim bottom bar until "Review"
   ============================================================ */
@media (max-width: 959px) {
    #ire-c2 .entry {
        gap: 0 16px;
        padding: 16px 18px 16px 16px;
    }

    #ire-c2 .grouphead { padding-left: 52px; }   /* 16 + 20 + 16 */

    #ire-c2 .ebody {
        padding-left: 52px;
        padding-right: 18px;
    }

    #ire-c2 .app { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }   /* room for the 62px bar */

    /* in flow on phones; only the bar is fixed */
    #ire-c2 .order-panel {
        margin-top: 24px;
        padding: 20px 18px 18px;
        scroll-margin-top: 12px;
    }

    #ire-c2 .order-panel::before { margin: -20px -18px 16px; }

    #ire-c2 .paymsg { scroll-margin-bottom: calc(76px + env(safe-area-inset-bottom)); }   /* clear of the bar */

    #ire-c2 .order-panel h2 { display: none; }

    #ire-c2 .rback { display: block; }

    #ire-c2 .barline {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        justify-content: space-between;
        align-items: center;
        gap: 14px;
        height: calc(62px + env(safe-area-inset-bottom));
        padding: 0 clamp(16px, 4vw, 32px) env(safe-area-inset-bottom);
        background: var(--surface);
        border-top: 1px solid var(--line);
        box-shadow: 0 -20px 44px -22px rgba(0, 0, 0, 0.8);
    }

    #ire-c2 .barline .bl-pkg {
        font-family: var(--display);
        font-size: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #ire-c2 .barline .bl-pkg.empty {
        color: var(--muted);
        font-style: italic;
        font-family: var(--body);
    }

    #ire-c2 .barline .bl-total {
        font-weight: 700;
        font-size: 22.5px;
        color: var(--gold);
        white-space: nowrap;
        margin-left: auto;
        font-variant-numeric: tabular-nums;
    }

    #ire-c2 .barline .bl-go {
        font-family: var(--display);
        font-size: 15px;
        padding: 10px 18px;
    }
}

/* ============================================================
   CHECKOUT NOTICES (relocated off the old confirmation step)
   ============================================================ */
#ire-c2 .gate {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.45;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--muted);
}

#ire-c2 .gate a,
#ire-c2 .done-help a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

#ire-c2 .gate {
    border-color: rgba(var(--accent-rgb), 0.4);
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--gold-soft);
}

#ire-c2 .paywrap { margin-top: 18px; }

/* stands in for the payment stack until a package is picked */
#ire-c2 .howto {
    margin: 18px 0 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--muted);
}

/* the theme styles bare ol; the reset only covers ul */
#ire-c2 .howto ol {
    margin: 0 0 10px;
    padding: 0 0 0 22px;
    list-style: decimal;
    color: var(--text);
}

#ire-c2 .howto li { padding: 3px 0; }

#ire-c2 .howto li::marker {
    color: var(--gold);
    font-weight: 700;
}

#ire-c2 .paymsg {
    position: relative;
    margin: 10px 0 0;
    padding: 11px 12px 11px 42px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    background: rgba(var(--bad-rgb), 0.16);
    border: 1px solid rgba(var(--bad-rgb), 0.6);
    border-left: 4px solid var(--bad);
    color: var(--text);
    scroll-margin-bottom: 16px;
    animation: c2-alert 0.2s ease-out;
}

/* Generated "!" badge: the text is set by script */
#ire-c2 .paymsg::before {
    content: '!';
    position: absolute;
    left: 13px;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border-radius: 50%;
    background: var(--bad);
    color: #070707;
    font-size: 14px;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
}

@keyframes c2-alert {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
}

#ire-c2 .disclaimer {
    margin-top: 16px;
    border-top: 1px solid var(--line-soft);
    padding-top: 12px;
}

#ire-c2 .disclaimer summary {
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--faint);
    list-style: none;
}

#ire-c2 .disclaimer summary::-webkit-details-marker { display: none; }

#ire-c2 .disclaimer summary::after {
    content: ' +';
    color: var(--faint);
}

#ire-c2 .disclaimer[open] summary::after { content: ' \2212'; }

#ire-c2 .disclaimer summary:hover { color: var(--muted); }

#ire-c2 .disclaimer p {
    margin: 10px 0 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--faint);
}

@media (max-width: 599px) {
    #ire-c2 .promo .ends { font-size: 17px; }

    #ire-c2 .entry { align-items: start; }

    #ire-c2 .entry .pick { margin-top: 1px; }

    #ire-c2 .entry .pr {
        white-space: normal;
        line-height: 1.15;
    }

    #ire-c2 .entry .pr .was {
        display: block;
        margin: 0;
    }

    #ire-c2 .entry.nobrainer .txt { grid-column: 2 / -1; }
    #ire-c2 .entry.nobrainer .pr {
        grid-column: 2 / -1;
        grid-row: 2;
        text-align: left;
        margin-top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #ire-c2 *,
    #ire-c2 *::before,
    #ire-c2 *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   POST-PURCHASE — one narrow centered column
   ============================================================ */
#ire-c2 .done {
    max-width: 544px;
    margin: 0 auto;
    padding: clamp(48px, 9vw, 96px) 0 80px;
    text-align: center;
}

#ire-c2 .done-mark {
    width: 56px;
    height: 56px;
    margin: 0 auto 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    line-height: 1;
    color: var(--gold);
    border: 1px solid rgba(var(--accent-rgb), 0.45);
    background: rgba(var(--accent-rgb), 0.08);
}

#ire-c2 .done-mark.bad {
    color: var(--bad);
    border-color: rgba(var(--bad-rgb), 0.45);
    background: rgba(var(--bad-rgb), 0.08);
}

#ire-c2 .done h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(34px, 5.5vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
    color: var(--text);
}

#ire-c2 .done-lede {
    font-size: 17.5px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0 auto;
    max-width: 480px;
}

#ire-c2 .done-order {
    margin: 34px 0 0;
    padding: 4px 0 0;
    border-top: 1px solid var(--line);
    text-align: left;
}

#ire-c2 .done-order > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line-soft);
}

#ire-c2 .done-order dt {
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
    flex-shrink: 0;
}

#ire-c2 .done-order dd {
    text-align: right;
    font-size: 18.5px;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

#ire-c2 .done-note {
    margin: 26px auto 0;
    max-width: 480px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--faint);
}

#ire-c2 .done-note strong { color: var(--text); }

#ire-c2 .done-cta {
    margin: 34px 0 0;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

#ire-c2 .done-btn {
    display: inline-block;
    font-family: var(--display);
    font-size: 17px;
    padding: 14px 30px;
    text-decoration: none;
}

#ire-c2 .done-alt {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 15px;
}

#ire-c2 .done-alt:hover { color: var(--gold-brt); }

#ire-c2 .done-help {
    margin: 30px auto 0;
    font-size: 13px;
    color: var(--faint);
}

/* Elite "Full benefits" expander */
#ire-c2 .ebody .ebody-more {
    padding: 4px 0;
    margin: 8px 0 0;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

#ire-c2 .ebody .ebody-more:hover { color: var(--gold-brt); }

#ire-c2 .ebody .ebody-full { margin-top: 10px; }

/* ============================================================
   FOCUS (the reset cleared the host's ring)
   ============================================================ */
#ire-c2 .order-panel :focus-visible,
#ire-c2 .entry:focus-visible,
#ire-c2 .idx:focus-visible,
#ire-c2 .tp-cat:focus-visible,
#ire-c2 .ebody-more:focus-visible,
#ire-c2 .done-btn:focus-visible,
#ire-c2 a:focus-visible,
#ire-c2 .stepper button:focus-visible,
#ire-c2 .tp-line .st button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 2px;
}

/* The No-Brainer pitch, on its own line under the rate. */
#ire-c2 .entry .mt .sell {
    display: block;
    margin-top: 4px;
    line-height: 1.45;
    color: var(--muted);
}

#ire-c2 .entry .mt .sell.extra {
    margin-top: 2px;
    color: var(--faint);
}

#ire-c2 .entry.nobrainer {
    padding-top: 26px;
    padding-bottom: 26px;
}

#ire-c2 .entry.nobrainer .mt { max-width: 62ch; }

/* ============================================================
   ARTIFACT SUB-HEADINGS
   ============================================================ */
#ire-c2 .grouphead {
    padding: 22px 0 8px 60px;   /* 18 entry pad + 20 pick + 22 gap */
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
}

#ire-c2 .rows .grouphead:first-child { padding-top: 8px; }
