/* gy-investments.css — plugin 4.22.77 / 4.22.78 (Ozgur, 4 Oct 2026: "let the investor see it, let's make a tab"; "make it colourful, like the other designs").
   Profile > Investments: the Referrals tab and the referral deposit in Transactions. Loaded on the profile page AND in the mirror of the admin investor panel.
   The layout through the panel's own classes (gpi-grid-4, gpi-card, gpi-table); the colours here. No inline style in the template. */
.gpi-ref-badge { background: rgba(240, 185, 11, 0.18); color: #f0b90b; border-radius: 8px; padding: 1px 6px; font-size: max(var(--fmin, 15px),11px); margin-left: 4px; }

/* cards: each in its own colour (a coloured frame + title, as in Overview) */
.gpi-card.gpi-ref-k { position: relative; overflow: hidden; }
.gpi-card.gpi-ref-k::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; }
.gpi-ref-k-income { border-color: rgba(14, 203, 129, 0.35); background: linear-gradient(135deg, rgba(14, 203, 129, 0.10), rgba(14, 203, 129, 0.02)); }
.gpi-ref-k-income::before { background: #0ecb81; }
.gpi-ref-k-income .gpi-card-label, .gpi-ref-k-income .gpi-card-val { color: #0ecb81; }
.gpi-ref-k-person { border-color: rgba(124, 77, 255, 0.35); background: linear-gradient(135deg, rgba(124, 77, 255, 0.12), rgba(124, 77, 255, 0.02)); }
.gpi-ref-k-person::before { background: #7c4dff; }
.gpi-ref-k-person .gpi-card-label { color: #a98bff; }
.gpi-ref-k-payment { border-color: rgba(33, 150, 243, 0.35); background: linear-gradient(135deg, rgba(33, 150, 243, 0.12), rgba(33, 150, 243, 0.02)); }
.gpi-ref-k-payment::before { background: #2196f3; }
.gpi-ref-k-payment .gpi-card-label { color: #64b5f6; }
.gpi-ref-k-last { border-color: rgba(240, 185, 11, 0.35); background: linear-gradient(135deg, rgba(240, 185, 11, 0.12), rgba(240, 185, 11, 0.02)); }
.gpi-ref-k-last::before { background: #f0b90b; }
.gpi-ref-k-last .gpi-card-label { color: #f0b90b; }
.gpi-ref-k-last .gpi-card-val { font-size: 19px; }

/* tables: inside a card, coloured title */
.gpi-card.gpi-ref-block { padding-bottom: 6px; }
.gpi-ref-h { font-size: max(var(--fmin, 15px),13px); font-weight: 600; letter-spacing: 0.4px; color: #eaecef; margin-bottom: 8px; }
.gpi-ref-right { text-align: right; }
.gpi-ref-amount { color: #0ecb81; font-weight: 700; white-space: nowrap; }
.gpi-ref-green { color: #0ecb81; }
.gpi-ref-muted { color: #848e9c; font-size: max(var(--fmin, 15px),12px); }
.gpi-ref-av { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%;
              background: linear-gradient(135deg, #7c4dff, #2196f3); color: #fff; font-size: max(var(--fmin, 15px),12px); font-weight: 700; vertical-align: middle; }

/* chips */
.gpi-pill.gpi-pill-ref { background: rgba(240, 185, 11, 0.14); color: #f0b90b; }
.gpi-pill.gpi-ref-p-ok { background: rgba(14, 203, 129, 0.14); color: #0ecb81; }
.gpi-pill.gpi-ref-p-wait { background: rgba(132, 142, 156, 0.16); color: #b7bdc6; }
.gpi-pill.gpi-ref-p-count { background: rgba(33, 150, 243, 0.16); color: #64b5f6; min-width: 22px; text-align: center; }
.gpi-pill.gpi-ref-p-cycle { background: rgba(124, 77, 255, 0.16); color: #a98bff; }

/* Transactions: the source of a referral deposit */
.gpi-ref-from { color: #c9a227; }
.gpi-ref-from strong { color: #f0b90b; }

/* 4.22.163 (code cleanup 4b; Ozgur, 2 Oct: "no inline CSS"): Investments panel -- the fixed inline styles moved here. !important so that the priority
   stays the same as the inline style. The colours computed on the server (P/L, status, lock band) in the next step. */
.gpi-badge { padding: 1px 6px !important; border-radius: 8px !important; font-size: max(var(--fmin, 15px),11px) !important; margin-left: 3px !important; }
.gpi-badge-gray { background: rgba(255,255,255,0.1) !important; }
.gpi-badge-red { background: #f6465d !important; color: #fff !important; }
.gpi-badge-purple { background: rgba(124,77,255,0.4) !important; color: #fff !important; }
.gpi-card-green { border-color: rgba(14,203,129,0.3) !important; }
.gpi-card-yellow { border-color: rgba(240,185,11,0.3) !important; }
.gpi-card-red { background: #f6465d11 !important; border-color: #f6465d44 !important; }
.gpi-c-green { color: #0ecb81 !important; }
.gpi-c-yellow { color: #f0b90b !important; }
.gpi-c-red { color: #f6465d !important; }
.gpi-c-purple { color: #7c4dff !important; }
.gpi-c-gray { color: #848e9c !important; }
.gpi-c-light { color: #eaecef !important; }
.gpi-bold { font-weight: 600 !important; }
.gpi-thin { font-weight: 400 !important; }
.gpi-f10 { font-size: max(var(--fmin, 15px),10px) !important; }
.gpi-f11 { font-size: max(var(--fmin, 15px),11px) !important; }
.gpi-f13 { font-size: max(var(--fmin, 15px),13px) !important; }
.gpi-op6 { opacity: .6 !important; }
.gpi-op65 { opacity: .65 !important; }
.gpi-op7 { opacity: .7 !important; }
.gpi-ab2 { margin-bottom: 2px !important; }
.gpi-ab8 { margin-bottom: 8px !important; }
.gpi-ub3 { margin-top: 3px !important; }
.gpi-right { text-align: right !important; }
.gpi-w140 { width: 140px !important; }
.gpi-block { display: block !important; }
.gpi-row2 { padding: 2px 0 !important; }
.gpi-icon28 { font-size: 28px !important; line-height: 1 !important; }
.gpi-realtime-detail { margin-top: 10px !important; padding-top: 10px !important; border-top: 1px solid rgba(255,255,255,0.08) !important; font-size: max(var(--fmin, 15px),11px) !important; line-height: 1.55 !important; }
.gpi-realtime-total { padding: 3px 0 !important; border-top: 1px dashed rgba(255,255,255,0.08) !important; margin-top: 4px !important; }
.gpi-fee-note { margin-top: 8px !important; padding: 6px 8px !important; background: rgba(246,70,93,0.05) !important; border-radius: 4px !important;
    color: #848e9c !important; font-size: max(var(--fmin, 15px),10px) !important; line-height: 1.5 !important; }
.gpi-countdown { margin-top: 6px !important; color: #848e9c !important; font-size: max(var(--fmin, 15px),10px) !important; opacity: .8 !important; }
.gpi-breakdown { margin-top: 8px !important; padding-top: 10px !important; border-top: 1px solid rgba(255,255,255,0.06) !important; }
.gpi-breakdown-fee { background: #f6465d0c !important; padding-left: 8px !important; padding-right: 8px !important; border-radius: 4px !important; }
.gpi-label-note { text-transform: none !important; letter-spacing: 0 !important; opacity: .6 !important; font-weight: 400 !important; }

/* 4.22.164 (code cleanup 4c): the Investments panel's colours chosen ON THE SERVER -- gypsy_color_name() gives the colour's name, the colour is in the class.
   The colours and values per family are exactly the old inline styles (example: gpi-ton-<name> = the old 'background:<colour>22;color:<colour>').
   '#999' + '22' was an invalid colour (the background was not applied) -- that is why `gpi-ton-muted` is only a text colour. Priority as inline: !important. */
.gpi-c-blue { color: #2271b1 !important; }
.gpi-c-muted { color: #999 !important; }
.gpi-ton-green { background: #0ecb8122 !important; color: #0ecb81 !important; }
.gpi-ton-red { background: #f6465d22 !important; color: #f6465d !important; }
.gpi-ton-yellow { background: #f0b90b22 !important; color: #f0b90b !important; }
.gpi-ton-gray { background: #848e9c22 !important; color: #848e9c !important; }
.gpi-ton-purple { background: #7c4dff22 !important; color: #7c4dff !important; }
.gpi-ton-blue { background: #2271b122 !important; color: #2271b1 !important; }
.gpi-ton-muted { color: #999 !important; }
.gpi-edge-green { border-color: #0ecb81 !important; }
.gpi-edge-red { border-color: #f6465d !important; }
.gpi-edge4d-green { border-color: #0ecb814d !important; }
.gpi-edge4d-blue { border-color: #2271b14d !important; }
.gpi-edge33-green { border-color: #0ecb8133 !important; }
.gpi-edge33-red { border-color: #f6465d33 !important; }
.gpi-bg0c-green { background: #0ecb810c !important; }
.gpi-bg0c-red { background: #f6465d0c !important; }
.gpi-top22-green { border-top: 1px solid #0ecb8122 !important; }
.gpi-top22-red { border-top: 1px solid #f6465d22 !important; }
.gpi-left4-red { border-left: 4px solid #f6465d !important; }
.gpi-left4-yellow { border-left: 4px solid #f0b90b !important; }
.gpi-left4-purple { border-left: 4px solid #7c4dff !important; }
.gpi-realtime-pending { background: rgba(14,203,129,0.04) !important; }
.gpi-realtime-badge { font-size: max(var(--fmin, 15px),9px) !important; padding: 2px 7px !important; border-radius: 8px !important; letter-spacing: .6px !important; font-weight: 600 !important; }
.gpi-proj-row { margin-top: 6px !important; padding-top: 6px !important; font-size: max(var(--fmin, 15px),11px) !important; line-height: 1.4 !important; }   /* 4.22.165: the name was .gpi-proj -- it CLASHED with the panel's own .gpi-proj note */
.gpi-row-overdue { background: rgba(246,70,93,0.05) !important; }
.gpi-f14 { font-size: max(var(--fmin, 15px),14px) !important; }
.gpi-f18 { font-size: 18px !important; }
.gpi-f26 { font-size: 26px !important; }
.gpi-f28 { font-size: 28px !important; }

/* 4.22.165 (code cleanup 4d): the Investments panel's EMBEDDED <style> block MOVED here, the rules AS THEY WERE. It used to be inside the page (after all
   the style files) -- that is why it is at the END of the file; the same selector is nowhere else in the file (a test checks it). */
.gpi-card { background:rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.08); border-radius:8px; padding:14px 16px; }
.gpi-card-label { font-size:max(var(--fmin, 15px),12px); text-transform:uppercase; letter-spacing:1px; color:#848e9c; opacity:.85; margin-bottom:4px; }
.gpi-card-sub   { font-size:max(var(--fmin, 15px),11px); color:#848e9c; opacity:.7; margin-top:3px; text-transform:none; letter-spacing:0; }
.gpi-card-val { font-size:22px; font-weight:600; color:#eaecef; }
.gpi-card-val .gpi-cur { font-size:max(var(--fmin, 15px),14px); color:#848e9c; font-weight:400; margin-left:4px; }
.gpi-grid { display:grid; gap:10px; grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); }
.gpi-grid-4 { display:grid; gap:10px; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); }
.gpi-table { width:100%; border-collapse:collapse; font-size:max(var(--fmin, 15px),14px); }
.gpi-table th, .gpi-table td { padding:8px 10px; border-bottom:1px solid rgba(255,255,255,0.08); text-align:left; }
.gpi-table th { font-size:max(var(--fmin, 15px),11px); text-transform:uppercase; letter-spacing:1px; color:#848e9c; font-weight:600; }
.gpi-pill { display:inline-block; padding:2px 10px; border-radius:10px; font-size:max(var(--fmin, 15px),11px); font-weight:600; text-transform:uppercase; letter-spacing:.5px; }
.gpi-tabs { display:flex; gap:4px; flex-wrap:wrap; margin-bottom:14px; padding-bottom:8px; border-bottom:1px solid rgba(255,255,255,0.08); }
.gpi-tabs .gtb { padding:6px 14px; }
.gpi-subtabs { margin-bottom:10px; padding-bottom:6px; border-bottom-style:dashed; }
.gpi-subtabs .gtb { padding:5px 11px; font-size:max(var(--fmin, 15px),12px); }
.gpi-breakdown-row { display:flex; justify-content:space-between; padding:6px 0; border-bottom:1px solid rgba(255,255,255,0.05); font-size:max(var(--fmin, 15px),13px); }
.gpi-breakdown-row:last-child { border-bottom:none; }
.gpi-breakdown-row .lbl { color:#848e9c; }
.gpi-breakdown-row .val { font-weight:600; }
.gpi-proj { background:rgba(255,255,255,0.015); border:1px dashed rgba(255,255,255,0.1); border-radius:6px; padding:10px 14px; font-size:max(var(--fmin, 15px),12px); color:#848e9c; line-height:1.6; }
.gpi-proj strong { color:#eaecef; font-weight:600; }

/* ════════════════════════════════════════════════════════════
   v5: MOBILE — make the tables readable.
   ────────────────────────────────────────────────────────────
   Strategy:
     • Narrow tables (Transactions, Payments)  → stacked card:
       each row a small card, the cells as label + value.
     • Wide tables (Cycles, 10 columns)        → horizontal scroll wrap.
     • Stat cards → smaller, 2 columns stacked.
   ════════════════════════════════════════════════════════════ */
.gpi-scroll-wrap { -webkit-overflow-scrolling: touch; overflow-x: auto; }   /* 4.22.449 (review 20 Nov): the Cycles table scrolls inside its box on every screen -- it never makes the page wider (iPad 820: 848 px today) */
@media (max-width: 700px) {
    /* The top title and the status pill shrink on the same row */
    .gpi-card { padding:11px 12px; }
    .gpi-card-val { font-size:18px; }
    .gpi-card-val .gpi-cur { font-size:max(var(--fmin, 15px),12px); }
    .gpi-card-label { font-size:max(var(--fmin, 15px),11px); letter-spacing:.6px; }
    .gpi-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap:8px; }
    .gpi-grid-4 { grid-template-columns: repeat(2, 1fr); gap:8px; }
    .gpi-tabs { gap:2px; padding-bottom:6px; }
    .gpi-tabs .gtb { padding:5px 9px; font-size:max(var(--fmin, 15px),12px); }
    .gpi-breakdown-row { font-size:max(var(--fmin, 15px),12px); padding:5px 0; }

    /* Narrow table → stacked cards.
       tr → block card, td → inline label/value.
       :before label = comes from the data-label attribute,
       on the PHP side we give every <td> a data-label="...". */
    .gpi-table-stack { display:block; width:100%; }
    .gpi-table-stack thead { display:none; }
    .gpi-table-stack tbody { display:block; }
    .gpi-table-stack tr {
        display:block;
        background:rgba(255,255,255,0.02);
        border:1px solid rgba(255,255,255,0.08);
        border-radius:8px;
        padding:10px 12px;
        margin-bottom:8px;
    }
    .gpi-table-stack tr:last-child { margin-bottom:0; }
    .gpi-table-stack td {
        display:flex;
        justify-content:space-between;
        align-items:flex-start;
        gap:10px;
        border-bottom:1px dashed rgba(255,255,255,0.06);
        padding:6px 0;
        text-align:right;
        font-size:max(var(--fmin, 15px),13px);
        line-height:1.4;
    }
    .gpi-table-stack td:last-child { border-bottom:none; padding-bottom:0; }
    .gpi-table-stack td:first-child { padding-top:0; }
    .gpi-table-stack td:before {
        content: attr(data-label);
        color:#848e9c;
        font-size:max(var(--fmin, 15px),11px);
        text-transform:uppercase;
        letter-spacing:.6px;
        font-weight:600;
        flex:0 0 auto;
        text-align:left;
        padding-top:1px;
    }
    /* Hide the label in the action cell (the button is enough on its own) */
    .gpi-table-stack td.gpi-td-action:before { display:none; }
    .gpi-table-stack td.gpi-td-action { justify-content:flex-end; }

    /* The wide Cycles table scrolls horizontally */
    .gpi-scroll-wrap {
        overflow-x: auto;
        margin: 0 -4px;
        padding-bottom: 6px;
    }
    .gpi-scroll-wrap > table { font-size:max(var(--fmin, 15px),12px); min-width:760px; }
    .gpi-scroll-wrap > table th,
    .gpi-scroll-wrap > table td { padding:6px 8px; white-space:nowrap; }
}
@media (max-width: 420px) {
    .gpi-grid-4 { grid-template-columns: 1fr; }
    .gpi-card-val { font-size:17px; }
}

/* Mark-as-Paid button (the new v5 self-confirm flow) */
.gpi-mp-btn {
    display:inline-flex; align-items:center; gap:5px;
    background:#0ecb81; color:#fff; border:none; cursor:pointer;
    padding:5px 11px; border-radius:6px; font-size:max(var(--fmin, 15px),12px); font-weight:600;
    transition:opacity .15s, transform .15s;
}
.gpi-mp-btn:hover { opacity:.88; }
.gpi-mp-btn:active { transform:scale(.97); }
.gpi-mp-btn[disabled] { opacity:.5; cursor:not-allowed; }
.gpi-paid-badge {
    display:inline-block; padding:2px 8px; border-radius:8px;
    background:rgba(124,77,255,0.15); color:#7c4dff;
    font-size:max(var(--fmin, 15px),10px); font-weight:600; text-transform:uppercase; letter-spacing:.5px;
}

/* 4.22.347 (code cleanup; Ozgur 2 Oct 2026: "no inline CSS"): the "Confirm Payment" window (gy-investments.js) -- its inline styles moved
   UNCHANGED; !important: the priority stays the same as the inline style (the theme rules do not override them). */
.gpi-pay-body { font-size:max(var(--fmin, 15px),13px) !important; line-height:1.6 !important; color:#eaecef !important; }
.gpi-pay-note { margin-bottom:12px !important; color:#848e9c !important; }
.gpi-pay-box { background:rgba(255,255,255,0.04) !important; border:1px solid rgba(255,255,255,0.08) !important; border-radius:6px !important;
               padding:12px 14px !important; margin-bottom:16px !important; }
.gpi-pay-row { display:flex !important; justify-content:space-between !important; padding:3px 0 !important; }
.gpi-pay-row.gpi-pay-total { border-top:1px dashed rgba(255,255,255,0.08) !important; margin-top:4px !important; padding-top:7px !important; }
.gpi-pay-key { color:#848e9c !important; }
.gpi-pay-amount { color:#0ecb81 !important; font-size:15px !important; }
.gpi-pay-actions { display:flex !important; gap:8px !important; justify-content:flex-end !important; }
.gpi-pay-btn { border-radius:6px !important; font-weight:600 !important; cursor:pointer !important; font-size:max(var(--fmin, 15px),13px) !important; }
.gpi-pay-btn.gpi-pay-cancel { padding:9px 16px !important; background:transparent !important; color:#848e9c !important;
                              border:1px solid rgba(255,255,255,0.15) !important; }
.gpi-pay-btn.gpi-pay-ok { padding:9px 20px !important; background:#0ecb81 !important; color:#fff !important; border:none !important; }

/* 4.22.351 (Ozgur, 2 Oct: "no inline CSS"): the cycles table (gypsy-cycles-engine.php: the admin's investor page, the site's Investments,
   candlesonar.com) -- its inline styles are the panel's utility classes above where they exist, these where not, moved UNCHANGED; !important:
   the same priority as the inline style. -a = the admin's values, -f = the site's. A cycle's details row starts hidden (gpi-cyc-detail):
   gy-investments.js shows / hides it with an inline display, which wins over this rule, as the old inline code did. */
.gpi-ub10 { margin-top: 10px !important; }
.gpi-w50 { width: 50px !important; }
.gpi-w80 { width: 80px !important; }
.gpi-f12 { font-size: max(var(--fmin, 15px),12px) !important; }
.gpi-left { text-align: left !important; }
.gpi-nowrap { white-space: nowrap !important; }
.gpi-c-ink { color: #1d2327 !important; }
.gpi-c-slate { color: #646970 !important; }
.gpi-cyc-ongoing { background: rgba(240,185,11,0.08) !important; }
.gpi-cyc-detail.gpi-cyc-detail { display: none; }
.gpi-cyc-dbg-a { background: #f9f9f9 !important; }
.gpi-cyc-dbg-f { background: rgba(255,255,255,0.02) !important; }
.gpi-cyc-dpad { padding: 10px 16px !important; }
.gpi-cyc-inner { width: 100% !important; }
.gpi-cyc-hrow-a { border-bottom: 1px solid #ddd !important; }
.gpi-cyc-hrow-f { border-bottom: 1px solid rgba(255,255,255,0.1) !important; }
.gpi-cyc-th { text-transform: uppercase !important; letter-spacing: .5px !important; }
.gpi-cyc-thpad-f { padding: 8px 6px !important; }
.gpi-cyc-td-a { padding: 4px !important; }
.gpi-cyc-td-f { padding: 7px 6px !important; }
.gpi-cyc-sub { text-transform: none !important; letter-spacing: 0 !important; }

/* 4.22.353: the admin pages use these utilities too (the Investors, Payments and Manual Verify pages) */
.gpi-w60 { width: 60px !important; }
.gpi-w100 { width: 100px !important; }
.gpi-w120 { width: 120px !important; }
.gpi-w160 { width: 160px !important; }
.gpi-w230 { width: 230px !important; }
.gpi-f22 { font-size: 22px !important; }

/* 4.22.354: utilities of the GYPSY admin pages and the user profile section (colours, widths, a weight) */
.gpi-c-dim { color: #888 !important; }
.gpi-c-leaf { color: #4caf50 !important; }
.gpi-c-orange { color: #ff9800 !important; }
.gpi-c-amber { color: #ffd740 !important; }
.gpi-c-snow { color: #eee !important; }
.gpi-c-pale { color: #e0e0e0 !important; }
.gpi-edge-amber { border-color: #ffd740 !important; }
.gpi-bold7 { font-weight: 700 !important; }
.gpi-w70 { width: 70px !important; }
.gpi-w250 { width: 250px !important; }
.gpi-w300 { width: 300px !important; }
.gpi-w400 { width: 400px !important; }

/* 4.22.355: widths and font sizes of the Gypsy Data pages */
.gpi-f16 { font-size: 16px !important; }
.gpi-w14 { width: 14px !important; }
.gpi-w16 { width: 16px !important; }
.gpi-w30 { width: 30px !important; }
.gpi-w150 { width: 150px !important; }
.gpi-w180 { width: 180px !important; }
.gpi-w200 { width: 200px !important; }
.gpi-w240 { width: 240px !important; }

/* 4.22.356: the sizes the Gypsy Data pages' scripts draw */
.gpi-w40 { width: 40px !important; }
.gpi-w560 { width: 560px !important; }

/* 4.22.449 design v2 (owner 19 Nov 2026: bigger text -> the layout makes room; nothing worse than before on a phone):
   - a badge, a tab, a button and the REAL-TIME tag never break inside (one line, as before);
   - on a phone the 3-card rows hold 2 cards: a lone last card takes the whole row (the Live Balance card was half width, its rows broke into 3-5 lines);
   - a breakdown row: the amount keeps its line, the label takes the rest. */
.gpi-badge, .gpi-ref-badge, .gpi-realtime-badge, .gpi-pill, .gpi-pay-btn, .gpi-mp-btn, .gpi-tabs .gtb, .gpi-subtabs .gtb { white-space:nowrap; }
.gpi-row2 > :last-child, .gpi-breakdown-row > :last-child { white-space:nowrap; flex-shrink:0; }
.gpi-row2 > :first-child, .gpi-breakdown-row > :first-child { min-width:0; }
.gpi-table small { white-space:nowrap; }   /* 4.22.449: a cycle's dates ("11 Aug → 11 Sep 2025") stay one line (the bigger columns had squeezed them at 1024 px) */
@media (max-width:600px) {
    .gpi-grid > :last-child:nth-child(odd) { grid-column:1 / -1; }
}

/* 4.22.453 (Ozgur 20 Nov 2026): Live Balance -- the pending referral income person by person, the "Referral credited" chip (7 days), the
   balance settled at the cycle close; the Cycles table's Referral column (violet: deposit green, withdrawal yellow) */
.gpi-c-ref { color: #a98bff !important; }
.gpi-c-sky { color: #64b5f6 !important; }
.gpi-chips { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.gpi-chip { display:inline-block; padding:2px 10px; border-radius:12px; font-size:max(var(--fmin, 15px),13px); font-weight:600; line-height:1.5; }
.gpi-chip-credited { background:rgba(14,203,129,0.14); color:#0ecb81; }
.gpi-chip-ref { background:rgba(124,77,255,0.16); color:#a98bff; white-space:nowrap; }
.gpi-ref-item { padding-left:14px !important; }
.gpi-close-box { margin-top:8px; padding:6px 8px; border-radius:4px; background:rgba(33,150,243,0.07); border:1px solid rgba(33,150,243,0.22); }
.gpi-close-note { color:#848e9c; font-size:max(var(--fmin, 15px),12px); line-height:1.45; margin-top:2px; }
