/* DravonX user shell, written from scratch 16/11/2026.
   User: "yama ile olmuyorsa sıfırdan yap.. fonksiyonlara dokunmadan.. görünmemesi gereken metni görünür yapmadan".
   Replaces dravonx-common + dravonx-user + dravonx-legacy + the inline header block on user pages. Markup, class names and
   scripts are untouched. The game scene (dragons, collect, balance strip) keeps its approved rules in dravonx-scene.css.
   Sunny theme only. One column width, one panel, one tile, one tab row, one button family, one table.
   Type scale 12/14/15/16/18/20. */

:root {
    --dx-ink: #16241d;
    --dx-muted: #4a5f55;
    --dx-line: rgba(38, 92, 80, .18);
    --dx-glass: linear-gradient(135deg, rgba(160, 224, 233, .55), rgba(240, 251, 246, .5) 54%, rgba(212, 240, 222, .46));
    --dx-tile: rgba(248, 254, 251, .74);
    --dx-tile-hover: rgba(255, 255, 255, .94);
    --dx-panel-solid: #e6f4f1;
    --dx-gold: linear-gradient(180deg, #ffe48f 0%, #ffc244 52%, #f39b18 100%);
    --dx-gold-lip: 0 3px 0 #b8700f, 0 6px 14px rgba(185, 112, 15, .28), inset 0 1px 0 rgba(255, 255, 255, .7);
    --dx-head: linear-gradient(90deg, rgba(110, 80, 52, .8), rgba(240, 214, 140, .62), rgba(118, 82, 52, .78));
    --dx-shadow: 0 10px 26px rgba(23, 52, 44, .16);
    --dx-r-panel: 18px;
    --dx-r: 12px;
    --dx-gap: 12px;
    --dx-w: min(1120px, calc(100vw - 32px));
}

/* ---------- base ---------- */
body.gx-shell {
    margin: 0;
    min-height: 100vh;
    background: #dfe9e7 url("/images/backgrounds/dravonx-sunny-world-bg-1280.webp") center top / cover fixed no-repeat;
    color: var(--dx-ink);
    font: 500 14px/1.45 Nunito, "Segoe UI", system-ui, sans-serif;
}
.gx-shell *, .gx-shell *::before, .gx-shell *::after { box-sizing: border-box; }
.gx-shell img { max-width: 100%; }
.gx-shell a { color: inherit; text-decoration: none; }
.gx-shell h1, .gx-shell h2, .gx-shell h3, .gx-shell p { margin: 0; }
.gx-shell [hidden] { display: none !important; }
.gx-shell .gx-visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}
.gx-skip-link { position: absolute; left: -9999px; }
.gx-skip-link:focus { left: 12px; top: 12px; z-index: 100; padding: 8px 12px; background: #fff; border-radius: 8px; }

#wrapper { width: var(--dx-w); margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
#content { flex: 1; display: flex; flex-direction: column; gap: var(--dx-gap); padding: 12px 0 20px; min-width: 0; }
#content > * { min-width: 0; }
#content > br { display: none; }

/* ---------- header: one row, icon + name, account tools on the right ---------- */
.gx-site-header { position: sticky; top: 0; z-index: 60; padding-top: 8px; }
.gx-active-menu-card {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 8px; border-radius: 16px;
    background: var(--dx-head);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px rgba(38, 28, 18, .22);
    backdrop-filter: blur(8px);
}
.gx-active-brand { display: none; }
.gx-active-menu { flex: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; min-width: 0; }
.gx-active-menu a {
    position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 8px; border-radius: var(--dx-r);
    color: #1d140a; font-size: 14px; font-weight: 800; white-space: nowrap;
    transition: background .15s ease;
}
.gx-active-menu a img { width: 28px; height: 28px; object-fit: contain; flex: none; }
.gx-active-menu a span { overflow: hidden; text-overflow: ellipsis; }
.gx-active-menu a:hover { background: rgba(255, 246, 214, .3); }
.gx-active-menu a.active, .gx-active-menu a[aria-current] { background: rgba(255, 246, 214, .55); box-shadow: inset 0 -3px 0 #e39a1c; }
.gx-utility-menu { display: flex; gap: 6px; flex: none; }
.gx-utility-menu a {
    position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--dx-r);
    background: rgba(255, 246, 214, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.gx-utility-menu a img { width: 26px; height: 26px; object-fit: contain; }
.gx-utility-menu a:hover, .gx-utility-menu a.active, .gx-utility-menu a[aria-current] { background: rgba(255, 246, 214, .6); }
.gx-news-badge {
    position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
    background: #d6402d; color: #fff; font-size: 11px; font-weight: 800; line-height: 16px; text-align: center;
}
.gx-news-toast {
    position: fixed; right: 16px; bottom: 16px; z-index: 80; display: grid; gap: 2px; max-width: 320px;
    padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .96); box-shadow: var(--dx-shadow);
}
.gx-news-toast b { font-size: 15px; }
.gx-news-toast span { font-size: 14px; color: var(--dx-muted); }

/* ---------- footer (one footer for public and user pages) ---------- */
#footer.gx-footer { margin: 8px auto 12px; width: min(1120px, calc(100vw - 32px)); padding: 0; background: none; border: 0; box-shadow: none; }
#footer .gx-footer-menu {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 4px;
    padding: 8px 12px; border-radius: 14px; background: rgba(250, 255, 252, .62); backdrop-filter: blur(6px);
}
#footer .gx-footer-menu a {
    padding: 4px 8px; border-radius: 8px; background: none; border: 0; box-shadow: none;
    color: var(--dx-ink, #16241d); font: 700 13px/1.3 Nunito, "Segoe UI", sans-serif; text-transform: none; letter-spacing: 0;
}
#footer .gx-footer-menu a:hover { background: rgba(255, 255, 255, .7); }

/* ---------- panel: every content block ---------- */
.gx-shell .gx-deposit-panel,
.gx-shell .gx-deposit-checkout,
.gx-shell .gx-table-scroll,
.gx-shell .gx-balance-convert-panel,
.gx-shell .gx-cashout-guide,
.gx-shell .gx-activity-panel,
.gx-shell .gx-daily-limit-panel,
.gx-shell .gx-payout-methods,
.gx-shell .gx-payout-form,
.gx-shell .gx-task-hero,
.gx-shell .gx-task-group,
.gx-shell .gx-news-head,
.gx-shell .gx-news-card,
.gx-shell .gx-settings-card,
.gx-shell .gx-settings-delete,
.gx-shell .gx-support-panel,
.gx-shell .gx-support-message,
.gx-shell .gx-bounty-panel,
.gx-shell .gx-bounty-hero,
.gx-shell .gx-bounty-form-card,
.gx-shell .gx-ref-promo-panel,
.gx-shell .gx-ref-level-progress,
.gx-shell .gx-offerwall-frame,
.gx-shell .gx-offerwall-task,
.gx-shell .gx-offerwall-unlock-strip,
.gx-shell .gx-promo-ref-link,
.gx-shell .gx-promo-outreach,
.gx-shell .gx-ref-how-modal > div,
.gx-shell .gx-clone-command-strip,
.gx-shell .gx-offerwall-ad {
    padding: 14px; border: 1px solid rgba(255, 255, 255, .6); border-radius: var(--dx-r-panel);
    background: var(--dx-glass); box-shadow: var(--dx-shadow); backdrop-filter: blur(10px);
}

/* ---------- headings and small text ---------- */
.gx-shell h1 { font-size: 20px; font-weight: 900; line-height: 1.2; }
.gx-shell h2 { font-size: 18px; font-weight: 900; line-height: 1.25; }
.gx-shell h3 { font-size: 16px; font-weight: 900; line-height: 1.25; }
.gx-shell .gx-section-kicker { display: none; }
.gx-shell small { font-size: 12px; color: var(--dx-muted); }

/* ---------- buttons: one family (gold primary, glass secondary, red danger) ---------- */
.gx-shell:not(.gx-game-shell) #content button:where(:not([data-sort-col]):not(.gx-ref-sort):not(.gx-i):not(.gx-ref-how-close):not(.gx-payout-method-card):not(.gx-daily-limit-toggle)), /* :where keeps this low so tabs and secondary buttons win */
.gx-shell #content .btn,
.gx-shell #content .gx-payment-signup,
.gx-shell #content .gx-payout-route-link,
.gx-shell #content .gx-bounty-share,
.gx-shell #content .gx-bounty-view,
.gx-shell #content .gx-ref-promo-panel-head a,
.gx-shell #content .gx-cashout-guide article > a,
.gx-shell #content .gx-offerwall-task > a,
.gx-shell #content .gx-offerwall-unlock-strip a,
.gx-shell #content .gx-support-action,
.gx-shell #content .gx-task-card > a,
.gx-shell #content .gx-clone-scene-next a,
.gx-shell #content .gx-guest-wall a {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 38px; padding: 0 16px; border: 0; border-radius: var(--dx-r);
    background: var(--dx-gold); box-shadow: var(--dx-gold-lip);
    color: #2a1703; font: 800 14px/1 Nunito, "Segoe UI", sans-serif; text-transform: none; letter-spacing: 0; white-space: nowrap;
    cursor: pointer; transition: transform .12s ease, filter .12s ease;
}
.gx-shell #content button:not([data-sort-col]):hover, .gx-shell #content .btn:hover { filter: brightness(1.05); }
.gx-shell #content button:not([data-sort-col]):active { transform: translateY(2px); }
.gx-shell #content button:disabled { filter: grayscale(.6); opacity: .65; cursor: default; }
/* secondary: go back, cancel, open, copy */
.gx-shell #content .gx-payment-back,
.gx-shell #content [data-ww-off-cancel],
.gx-shell #content .gx-ref-how-open,
.gx-shell #content .gx-daily-limit-toggle,
.gx-shell #content .gx-bounty-view,
.gx-shell #content .gx-support-action:not(.is-danger),
.gx-shell #content .gx-promo-draft footer button:not([data-copy-nearest]) {
    display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--dx-line);
    border-radius: var(--dx-r); background: rgba(255, 255, 255, .7); box-shadow: none; color: var(--dx-ink); font: 800 14px/1 Nunito, "Segoe UI", sans-serif;
}
.gx-shell #content .gx-support-action.is-danger,
.gx-shell #content [data-ww-off] { background: linear-gradient(180deg, #f08a76, #d9533c); box-shadow: 0 3px 0 #9c2f1e; color: #fff; }
.gx-shell .gx-i {
    display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 4px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(38, 92, 80, .18); color: var(--dx-ink); font: 800 11px/1 Nunito, sans-serif; cursor: help; vertical-align: middle;
}

/* ---------- inputs ---------- */
.gx-shell #content input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.gx-shell #content select,
.gx-shell #content textarea {
    width: 100%; min-height: 38px; padding: 8px 12px; border: 1px solid var(--dx-line); border-radius: var(--dx-r);
    background: rgba(255, 255, 255, .86); color: var(--dx-ink); font: 600 14px/1.3 Nunito, "Segoe UI", sans-serif; outline: none;
}
.gx-shell #content textarea { min-height: 96px; resize: vertical; }
.gx-shell #content input:focus, .gx-shell #content select:focus, .gx-shell #content textarea:focus { border-color: #e9a52a; box-shadow: 0 0 0 3px rgba(255, 194, 68, .3); }
.gx-shell #content label { display: grid; gap: 4px; font-size: 14px; font-weight: 700; }

/* ---------- alerts and notices ---------- */
.gx-shell .alert, .gx-shell .gx-settings-notice:not(:empty) {
    margin: 0; padding: 10px 14px; border: 0; border-left: 4px solid #e9a52a; border-radius: var(--dx-r);
    background: rgba(255, 252, 238, .9); color: var(--dx-ink); font-size: 14px; font-weight: 700; box-shadow: var(--dx-shadow);
}
.gx-shell .gx-settings-notice:empty { display: none; }
.gx-shell .alert-danger, .gx-shell .gx-settings-notice.is-error { border-left-color: #d6402d; }
.gx-shell .alert-success, .gx-shell .gx-settings-notice.is-good, .gx-shell .gx-settings-notice.is-success { border-left-color: #3f9a4a; }

/* ---------- tabs: one row of pills (game, offerwall, tasks, news, promo, support) ---------- */
.gx-shell .gx-clone-tabs, .gx-shell .gx-offerwall-tabs, .gx-shell .gx-task-tabs, .gx-shell .gx-news-filter, .gx-shell .gx-promo-tabs, .gx-shell .gx-support-hero nav {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 0; background: none; border: 0; box-shadow: none;
}
.gx-shell .gx-clone-tabs a, .gx-shell .gx-offerwall-tabs a, .gx-shell .gx-task-tabs a, .gx-shell .gx-news-filter a, .gx-shell #content .gx-promo-tabs button, .gx-shell .gx-support-hero nav a {
    display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px; background: rgba(250, 255, 252, .7); box-shadow: 0 4px 12px rgba(23, 52, 44, .12);
    color: var(--dx-ink); font: 800 14px/1 Nunito, "Segoe UI", sans-serif; text-transform: none; cursor: pointer;
}
.gx-shell .gx-clone-tabs a img { width: 22px; height: 22px; object-fit: contain; }
.gx-shell .gx-clone-tabs a.active, .gx-shell .gx-clone-tabs a.is-active, .gx-shell .gx-clone-tabs a[aria-current],
.gx-shell .gx-offerwall-tabs a.is-active, .gx-shell .gx-task-tabs a.is-active, .gx-shell .gx-task-tabs a.active,
.gx-shell .gx-news-filter a.is-active, .gx-shell .gx-news-filter a.active, .gx-shell #content .gx-promo-tabs button.is-active,
.gx-shell .gx-support-hero nav a.is-active, .gx-shell .gx-support-hero nav a.active {
    background: var(--dx-gold); border-color: transparent; box-shadow: var(--dx-gold-lip); color: #2a1703;
}

/* ---------- method tile: deposit and payout share one tile ---------- */
.gx-shell .gx-deposit-panel { display: grid; gap: 10px; }
.gx-shell .gx-deposit-methods, .gx-shell .gx-payout-methods { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.gx-shell .gx-payout-methods { padding: 14px; }
.gx-shell .gx-payment-type, .gx-shell .gx-payout-method-card {
    display: flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .75); border-radius: var(--dx-r); background: var(--dx-tile);
    box-shadow: 0 3px 0 rgba(38, 92, 80, .16); color: var(--dx-ink); cursor: pointer; transition: background .12s ease, transform .12s ease;
    font: inherit; text-transform: none;
}
.gx-shell .gx-payment-type:hover, .gx-shell .gx-payout-method-card:hover { background: var(--dx-tile-hover); transform: translateY(-1px); }
.gx-shell .gx-payment-type img, .gx-shell .gx-payment-type .gx-coin-badge,
.gx-shell .gx-payout-method-icon img, .gx-shell .gx-payout-method-icon .gx-coin-badge { width: 28px; height: 28px; flex: none; object-fit: contain; }
.gx-shell .gx-payout-method-icon { display: grid; place-items: center; flex: none; }
.gx-shell .gx-payment-type span, .gx-shell .gx-payout-method-copy { display: grid; min-width: 0; text-align: left; }
.gx-shell .gx-payment-type b, .gx-shell .gx-payout-method-copy .title { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-shell .gx-payment-type small, .gx-shell .gx-payout-method-copy small { display: none; }
/* a saved payout wallet: one small check in the corner (title balloon "Wallet saved"), not a second border style */
.gx-shell .gx-payout-method-card { position: relative; }
.gx-shell .gx-payout-method-card.is-registered::after {
    content: "\2713"; position: absolute; top: 4px; right: 5px; display: grid; place-items: center; width: 15px; height: 15px;
    border-radius: 50%; background: #3f9a5a; color: #fff; font-size: 10px; font-weight: 900; line-height: 1;
}
.gx-shell .gx-coin-badge { display: grid; place-items: center; border-radius: 50%; background: #2f6f5d; color: #fff; font-size: 10px; font-weight: 900; }
.gx-shell .gx-deposit-wing { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--dx-muted); font-size: 12px; font-weight: 800; }
.gx-shell .gx-deposit-wing::before, .gx-shell .gx-deposit-wing::after { content: ""; flex: 1; height: 1px; background: var(--dx-line); }

/* ---------- tables: header is text, rows are lines ---------- */
.gx-shell .gx-table-scroll { padding: 6px 14px; overflow-x: auto; }
/* the partner list has every referral (2 000+ for a big referrer): it scrolls in its own box, header stays, sorting still covers all rows */
.gx-shell .gx-partner-history .gx-table-scroll { max-height: 560px; overflow-y: auto; }
.gx-shell .gx-partner-history thead th { position: sticky; top: 0; z-index: 1; background: var(--dx-panel-solid); }
.gx-shell table { width: 100%; border-collapse: collapse; background: none; }
.gx-shell table th, .gx-shell table td { padding: 9px 8px; border: 0; border-bottom: 1px solid var(--dx-line); background: none; text-align: left; white-space: nowrap; vertical-align: middle; }
.gx-shell table th { color: var(--dx-muted); font-size: 12px; font-weight: 800; }
.gx-shell table td { font-size: 14px; font-weight: 600; color: var(--dx-ink); }
.gx-shell table tbody tr:last-child td { border-bottom: 0; }
.gx-shell table tr.tab_title { background: none; }
.gx-shell th button[data-sort-col], .gx-shell .gx-ref-sort {
    padding: 0; border: 0; background: none; box-shadow: none; color: inherit; font: inherit; cursor: pointer; text-transform: none;
}
.gx-shell th button[data-sort-col]::after, .gx-shell .gx-ref-sort::after { content: " ↕"; opacity: .35; }
.gx-shell .gx-empty-row td { color: var(--dx-muted); text-align: center; white-space: normal; }
.gx-shell .gx-date-mark, .gx-shell .gx-method-pill, .gx-shell .gx-user-mark { font-weight: 700; }
.gx-shell .gx-status-pill, .gx-shell .badge {
    display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(38, 92, 80, .12); color: var(--dx-ink);
    font-size: 12px; font-weight: 800; text-transform: none;
}
.gx-shell .gx-status-pill.is-pending, .gx-shell .gx-status-pill.is-0, .gx-shell .badge-warning { background: #ffe7a6; color: #6b4300; }
.gx-shell .gx-status-pill.is-success, .gx-shell .gx-status-pill.is-paid, .gx-shell .gx-status-pill.is-done, .gx-shell .gx-status-pill.is-approved, .gx-shell .gx-status-pill.is-1, .gx-shell .gx-status-pill.is-3, .gx-shell .badge-success { background: #cdeec6; color: #1f5a26; }
.gx-shell .gx-status-pill.is-expired, .gx-shell .gx-status-pill.is-2, .gx-shell .badge-secondary { background: rgba(60, 70, 66, .12); color: #4d5852; }
.gx-shell .gx-status-pill.is-rejected, .gx-shell .gx-status-pill.is-failed, .gx-shell .gx-status-pill.is-cancelled, .gx-shell .badge-danger { background: #f8d0c8; color: #8a2414; }

/* ---------- deposit checkout and result ---------- */
.gx-shell .gx-deposit-amount { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.gx-shell .gx-deposit-amount > label { flex: 1 1 200px; position: relative; display: block; }
.gx-shell .gx-money-symbol { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-weight: 900; color: var(--dx-muted); pointer-events: none; }
.gx-shell .gx-deposit-amount > label input, .gx-shell .gx-deposit-amount > label select { padding-left: 34px !important; }
.gx-shell .gx-network-symbol img { width: 20px; height: 20px; }
.gx-shell .gx-payment-converter { display: flex; gap: 8px; flex: 1 1 260px; }
.gx-shell .gx-payment-converter article {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 10px;
    border-radius: var(--dx-r); background: var(--dx-tile); font-weight: 800;
}
.gx-shell .gx-payment-converter img { width: 22px; height: 22px; }
.gx-shell .gx-deposit-result { display: grid; gap: 12px; }
.gx-shell .gx-deposit-result h2 { font-size: 20px; }
.gx-shell .gx-deposit-result-head { display: grid; gap: 4px; text-align: center; }
.gx-shell .gx-deposit-wait-orbit { display: none; }
.gx-shell .gx-deposit-progress { height: 8px; border-radius: 99px; background: rgba(38, 92, 80, .14); overflow: hidden; }
.gx-shell .gx-deposit-progress span { display: block; height: 100%; background: var(--dx-gold); }
.gx-shell .gx-deposit-progress-caption { font-size: 12px; color: var(--dx-muted); text-align: center; }
.gx-shell .gx-deposit-result-grid { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 12px; align-items: start; }
.gx-shell .gx-deposit-wallet-panel { display: grid; gap: 10px; }
.gx-shell .gx-deposit-address-row { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; }
.gx-shell .gx-deposit-address-row > span { grid-column: 1 / -1; font-size: 12px; color: var(--dx-muted); }
.gx-shell .gx-deposit-timer { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: var(--dx-r); background: var(--dx-tile); font-weight: 800; }
.gx-shell .gx-deposit-qr { display: grid; justify-items: center; gap: 6px; padding: 10px; border-radius: var(--dx-r); background: #fff; }
.gx-shell .gx-deposit-qr img { width: 180px; height: 180px; }
.gx-shell .gx-deposit-qr span { font-size: 12px; color: var(--dx-muted); }
.gx-shell .gx-deposit-result-actions { display: flex; gap: 8px; justify-content: center; }
.gx-shell .gx-deposit-ww small { display: block; }

/* ---------- payout ---------- */
.gx-shell .gx-payout-clone { display: flex; flex-direction: column; gap: var(--dx-gap); }
.gx-shell .gx-balance-convert-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; }
.gx-shell .gx-balance-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gx-shell .gx-balance-pair article { display: grid; gap: 2px; padding: 8px 12px; border-radius: var(--dx-r); background: var(--dx-tile); }
.gx-shell .gx-balance-pair span { font-size: 12px; font-weight: 800; color: var(--dx-muted); }
.gx-shell .gx-balance-pair b { display: flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 900; }
.gx-shell .gx-balance-pair b img { width: 20px; height: 20px; }
.gx-shell .gx-balance-convert-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.gx-shell .gx-balance-convert-form label { position: relative; }
.gx-shell .gx-balance-convert-form label small { position: absolute; right: 12px; bottom: 11px; }
.gx-shell .gx-cashout-guide, .gx-shell .gx-activity-panel, .gx-shell .gx-daily-limit-panel { display: grid; gap: 10px; }
.gx-shell .gx-cashout-guide > header, .gx-shell .gx-activity-panel > header, .gx-shell .gx-daily-limit-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gx-shell .gx-cashout-guide > header strong { font-size: 16px; }
.gx-shell .gx-cashout-guide > div { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.gx-shell .gx-cashout-guide article { display: grid; gap: 6px; padding: 10px 12px; border-radius: var(--dx-r); background: var(--dx-tile); }
.gx-shell .gx-cashout-guide article > a { justify-self: start; }
.gx-shell .gx-cashout-or { color: var(--dx-muted); font-size: 14px; }
.gx-shell .gx-cashout-track, .gx-shell .gx-activity-track, .gx-shell .gx-ref-level-bar, .gx-shell .gx-offerwall-unlock-strip i {
    position: relative; display: block; height: 8px; border-radius: 99px; background: rgba(38, 92, 80, .14); overflow: hidden;
}
.gx-shell .gx-cashout-track i, .gx-shell .gx-activity-track > div, .gx-shell .gx-ref-level-bar i { display: block; height: 100%; border-radius: 99px; background: var(--dx-gold); }
.gx-shell .gx-activity-track { height: auto; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; background: none; overflow: visible; }
.gx-shell .gx-activity-track > div { height: 8px; background: linear-gradient(90deg, #ffc244 var(--gx-progress, 0%), rgba(38, 92, 80, .14) var(--gx-progress, 0%)); }
.gx-shell .gx-activity-range { display: flex; justify-content: space-between; font-size: 12px; color: var(--dx-muted); }
.gx-shell .gx-daily-limit-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.gx-shell .gx-payout-form { display: grid; gap: 12px; }
.gx-shell .gx-payout-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gx-shell .gx-payout-rules-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gx-shell .gx-payout-min-final, .gx-shell .gx-payout-fee-note { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--dx-r); background: var(--dx-tile); font-size: 14px; }
.gx-shell .gx-payout-min-final b, .gx-shell .gx-payout-fee-note b { display: flex; align-items: center; gap: 4px; }
.gx-shell .gx-payout-min-final img { width: 18px; height: 18px; }
.gx-shell .gx-payout-wallet { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: var(--dx-r); background: var(--dx-tile); }
.gx-shell .gx-payout-wallet-entry { display: grid !important; grid-template-columns: 1fr; padding: 0; background: none; }
.gx-shell .gx-payout-form .block { display: grid; gap: 10px; }
.gx-shell .gx-payout-form .block + div, .gx-shell .gx-payout-form > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; }
.gx-shell .gx-ww-connect { display: grid; gap: 8px; }
.gx-shell .gx-ww-connect .gx-payout-methods { padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; }
.gx-shell .gx-history-coin { margin-right: 2px; color: var(--dx-muted); }

/* ---------- partners ---------- */
.gx-shell .gx-ref-board { display: flex; flex-direction: column; gap: var(--dx-gap); }
.gx-shell .gx-ref-main { display: flex; flex-direction: column; gap: var(--dx-gap); }
.gx-shell .gx-ref-main > center { display: flex; flex-direction: column; gap: var(--dx-gap); text-align: left; }
.gx-shell .gx-ref-promo-split { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--dx-gap); }
.gx-shell .gx-ref-promo-panel { display: grid; gap: 10px; align-content: start; }
.gx-shell .gx-ref-promo-panel > div > b, .gx-shell .gx-ref-promo-panel > b, .gx-shell .gx-ref-promo-panel-head b { font-size: 16px; font-weight: 900; }
.gx-shell .gx-ref-promo-panel-head { display: flex; justify-content: space-between; align-items: center; }
.gx-shell .gx-ref-promo-link label { display: none; }
.gx-shell .gx-ref-promo-link > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.gx-shell .gx-partner-share { display: flex; gap: 6px; }
.gx-shell .gx-partner-share a {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--dx-r); background: var(--dx-tile);
    font-size: 13px; font-weight: 900; box-shadow: 0 3px 0 rgba(38, 92, 80, .16);
}
.gx-shell .gx-partner-share a.is-telegram { color: #1a74ab; }
.gx-shell .gx-partner-share a.is-x { color: #111; }
.gx-shell .gx-partner-share a.is-whatsapp { color: #15803d; }
.gx-shell .gx-partner-share a.is-facebook { color: #1d4ed8; }
.gx-shell .gx-partner-share a.is-email { color: #2563eb; }
.gx-shell .gx-ref-promo-previews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gx-shell .gx-ref-promo-previews img { width: 100%; height: 56px; object-fit: cover; border-radius: 8px; }
.gx-shell .gx-ref-dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gx-shell .gx-ref-dashboard article { display: grid; gap: 2px; padding: 8px 10px; border-radius: var(--dx-r); background: var(--dx-tile); }
.gx-shell .gx-ref-dashboard b { display: flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 900; }
.gx-shell .gx-ref-card-icon { width: 22px; height: 22px; }
.gx-shell .gx-ref-dashboard span { font-size: 12px; color: var(--dx-muted); font-weight: 700; }
.gx-shell .gx-ref-level-progress { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 14px; align-items: center; width: 100%; max-width: none; }
.gx-shell .gx-ref-level-progress > div:first-child { display: grid; gap: 2px; }
.gx-shell .gx-ref-level-progress > div:first-child b { font-size: 16px; }
.gx-shell .gx-ref-level-progress > div:first-child span { font-size: 14px; font-weight: 700; }
.gx-shell .gx-ref-level-actions { display: flex; align-items: center; gap: 8px; }
.gx-shell .gx-ref-topbar { display: flex; align-items: center; gap: 8px; }
.gx-shell .gx-ref-income { display: flex; align-items: center; gap: 6px; padding: 0 10px; min-height: 38px; border-radius: var(--dx-r); background: var(--dx-tile); }
.gx-shell .gx-ref-income img { width: 20px; height: 20px; }
.gx-shell .gx-ref-tier-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; width: 100%; max-width: none; }
.gx-shell .gx-ref-tier-strip article {
    display: grid; gap: 2px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .6); border-radius: var(--dx-r);
    background: var(--dx-glass); box-shadow: var(--dx-shadow);
}
.gx-shell .gx-ref-tier-strip article b { font-size: 15px; }
.gx-shell .gx-ref-tier-strip article span { font-size: 14px; font-weight: 800; }
.gx-shell .gx-ref-tier-strip article small img { width: 14px; height: 14px; vertical-align: -2px; }
.gx-shell .gx-ref-how-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(10, 22, 18, .45); }
.gx-shell .gx-ref-how-modal > div { position: relative; display: grid; gap: 10px; width: min(560px, 100%); background: rgba(246, 253, 250, .97); }
.gx-shell .gx-ref-how-close { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 22px; cursor: pointer; }
.gx-shell .gx-ref-xp-grid, .gx-shell .gx-ref-xp-current { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.gx-shell .gx-ref-xp-grid article, .gx-shell .gx-ref-xp-current article { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 10px; background: var(--dx-tile); font-size: 14px; }
.gx-shell .gx-partner-history { display: block; }

/* ---------- tasks ---------- */
.gx-shell .gx-task-center { display: flex; flex-direction: column; gap: var(--dx-gap); }
.gx-shell .gx-task-hero { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; }
.gx-shell .gx-task-hero > div:first-child small, .gx-shell .gx-task-hero > div:first-child p { display: none; }
.gx-shell .gx-task-summary { display: flex; gap: 8px; }
.gx-shell .gx-task-summary article { display: flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: var(--dx-r); background: var(--dx-tile); }
.gx-shell .gx-task-summary b { font-size: 16px; font-weight: 900; }
.gx-shell .gx-task-summary span { font-size: 12px; font-weight: 800; color: var(--dx-muted); }
.gx-shell .gx-task-group { display: grid; gap: 10px; }
.gx-shell .gx-task-group > header { display: flex; align-items: baseline; gap: 10px; }
.gx-shell .gx-task-group > header p { font-size: 14px; color: var(--dx-muted); }
.gx-shell .gx-task-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gx-shell .gx-task-card {
    display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "icon copy xp" "act act act"; gap: 8px 10px; align-items: center;
    padding: 10px; border: 1px solid rgba(255, 255, 255, .75); border-radius: var(--dx-r); background: var(--dx-tile);
}
.gx-shell .gx-task-card > img { grid-area: icon; width: 40px; height: 40px; object-fit: contain; }
.gx-shell .gx-task-copy { grid-area: copy; display: grid; gap: 3px; min-width: 0; }
.gx-shell .gx-task-copy b { font-size: 14px; font-weight: 800; line-height: 1.2; }
.gx-shell .gx-task-copy span { font-size: 12px; color: var(--dx-muted); font-weight: 700; }
.gx-shell .gx-task-copy i { display: block; height: 6px; border-radius: 99px; background: rgba(38, 92, 80, .14); overflow: hidden; }
.gx-shell .gx-task-copy i u { display: block; height: 100%; background: var(--dx-gold); }
.gx-shell .gx-task-card > strong { grid-area: xp; padding: 3px 8px; border-radius: 999px; background: #fff1c7; color: #6b4300; font-size: 12px; font-weight: 900; white-space: nowrap; }
.gx-shell .gx-task-card > form, .gx-shell .gx-task-card > a, .gx-shell .gx-task-card > em { grid-area: act; }
.gx-shell .gx-task-card > form button, .gx-shell .gx-task-card > a { width: 100%; min-height: 34px !important; }
.gx-shell .gx-task-card > em { font-style: normal; text-align: center; font-size: 12px; font-weight: 800; color: #1f5a26; }

/* ---------- news ---------- */
.gx-shell .gx-news-hub { display: flex; flex-direction: column; gap: var(--dx-gap); }
.gx-shell .gx-news-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; }
.gx-shell .gx-news-head .gx-section-kicker { display: block; font-size: 18px; font-weight: 900; color: var(--dx-ink); }
.gx-shell .gx-news-list { display: grid; gap: 8px; }
.gx-shell .gx-news-card { display: grid; gap: 4px; padding: 12px 14px; }
.gx-shell .gx-news-card small { display: flex; gap: 8px; align-items: center; }
.gx-shell .gx-news-tag { padding: 2px 8px; border-radius: 999px; background: #fff1c7; color: #6b4300; font-size: 12px; font-weight: 800; }
.gx-shell .gx-news-card h2 { font-size: 16px; }
.gx-shell .gx-news-card p { font-size: 14px; }
.gx-shell .gx-news-list-items { margin: 0; padding-left: 18px; display: grid; gap: 2px; font-size: 14px; }

/* ---------- settings ---------- */
.gx-shell .gx-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px var(--dx-gap); }
.gx-shell .gx-settings-limit-note, .gx-shell .gx-settings-section-title, .gx-shell .gx-settings-payout-grid, .gx-shell .gx-settings-delete { grid-column: 1 / -1; }
.gx-shell .gx-settings-limit-note { font-size: 12px; color: var(--dx-muted); }
/* block label over the sky: a small glass chip, not bare text on the picture */
.gx-shell .gx-settings-section-title { justify-self: start; display: inline-flex; align-items: center; margin-top: 4px; padding: 5px 12px; border-radius: 999px; background: rgba(250, 255, 252, .82); box-shadow: 0 4px 12px rgba(23, 52, 44, .12); font-size: 15px; font-weight: 900; }
.gx-shell .gx-settings-payout-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px var(--dx-gap); }
.gx-shell .gx-settings-card { padding: 8px; }
.gx-shell .gx-settings-password-form, .gx-shell .gx-settings-payout-form { display: flex; align-items: center; gap: 8px; }
.gx-shell .gx-settings-password-form > input, .gx-shell .gx-settings-payout-form > input, .gx-shell .gx-settings-wallet-fields { flex: 1 1 0; min-width: 0; }
.gx-shell .gx-settings-wallet-fields { display: flex; gap: 8px; }
.gx-shell .gx-settings-row-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: var(--dx-r); background: rgba(255, 255, 255, .7); font-size: 20px; }
.gx-shell .gx-settings-row-icon img { width: 26px; height: 26px; object-fit: contain; }
.gx-shell .gx-settings-password-form button, .gx-shell .gx-settings-payout-form button { flex: none; }
.gx-shell .gx-settings-delete summary { cursor: pointer; font-weight: 800; color: #8a2414; }
.gx-shell .gx-settings-delete-form { display: grid; gap: 8px; margin-top: 8px; }

/* ---------- support ---------- */
.gx-shell .gx-support-shell { display: flex; flex-direction: column; gap: var(--dx-gap); }
.gx-shell .gx-support-hero { display: flex; justify-content: center; padding: 0; background: none; border: 0; box-shadow: none; }
.gx-shell .gx-support-hero > div { display: none; }
.gx-shell .gx-support-panel form { display: grid; gap: 10px; }
.gx-shell .gx-support-panel form button { justify-self: start; }
.gx-shell .gx-support-upload small { font-weight: 500; }
.gx-shell .gx-support-thread { display: grid; gap: 8px; }
.gx-shell .gx-support-message { display: grid; gap: 6px; }
.gx-shell .gx-support-message header { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--dx-muted); }
.gx-shell .gx-support-message header b { color: var(--dx-ink); font-size: 14px; }
.gx-shell .gx-support-message p { white-space: pre-line; }
.gx-shell .gx-support-action-row { display: flex; gap: 6px; }
.gx-shell .gx-support-action-row form { margin: 0; }
.gx-shell .gx-support-action { min-height: 30px !important; padding: 0 10px !important; font-size: 12px !important; }
.gx-shell .gx-support-attachments { display: flex; gap: 6px; flex-wrap: wrap; }
.gx-shell .gx-support-attachments img { max-height: 120px; border-radius: 8px; }

/* ---------- bounty rewards ---------- */
.gx-shell .gx-bounty-dark { display: flex; flex-direction: column; gap: var(--dx-gap); }
.gx-shell .gx-bounty-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--dx-gap); align-items: start; }
.gx-shell .gx-bounty-left, .gx-shell .gx-bounty-side, .gx-shell .gx-bounty-submissions { display: grid; gap: var(--dx-gap); }
.gx-shell .gx-bounty-hero { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; }
.gx-shell .gx-bounty-play { display: flex; align-items: center; gap: 10px; }
.gx-shell .gx-bounty-play-badge { display: none; }
.gx-shell .gx-bounty-play h1 br { display: none; }
.gx-shell .gx-bounty-play p { font-size: 14px; color: var(--dx-muted); }
.gx-shell .gx-bounty-range > div { display: grid; text-align: right; }
.gx-shell .gx-bounty-range b { font-size: 16px; }
.gx-shell .gx-bounty-form-card { display: grid; gap: 10px; }
.gx-shell .gx-bounty-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gx-shell .gx-bounty-send { justify-self: start; }
.gx-shell .gx-bounty-note { font-size: 12px; color: var(--dx-muted); }
.gx-shell .gx-bounty-template { display: grid; gap: 8px; }
.gx-shell .gx-bounty-template-head { display: flex; align-items: baseline; gap: 10px; }
.gx-shell .gx-bounty-template-actions { display: flex; gap: 8px; }
.gx-shell .gx-bounty-template-actions .gx-bounty-share { display: none !important; } /* the script shows it inline; the old stack kept it hidden */
.gx-shell .gx-bounty-rules { display: grid; grid-template-columns: 1fr 1fr; gap: var(--dx-gap); }
.gx-shell .gx-bounty-panel { display: grid; gap: 8px; align-content: start; }
.gx-shell .gx-bounty-panel ul, .gx-shell .gx-bounty-panel ol { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }
.gx-shell .gx-bounty-rule.is-good h3 { color: #1f5a26; }
.gx-shell .gx-bounty-rule.is-bad h3 { color: #8a2414; }
.gx-shell .gx-bounty-feed, .gx-shell .gx-bounty-leaders { display: grid; gap: 4px; }
.gx-shell .gx-bounty-feed-item, .gx-shell .gx-bounty-leader { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: var(--dx-tile); font-size: 14px; }
.gx-shell .gx-bounty-leader br { display: none; }
.gx-shell .gx-bounty-rank { font-weight: 900; }
.gx-shell .gx-bounty-empty { color: var(--dx-muted); font-size: 14px; text-align: center; white-space: normal; }
.gx-shell .gx-bounty-table { margin: 0; }

/* ---------- promo materials ---------- */
.gx-shell .gx-promo-ref-link { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; }
.gx-shell .gx-promo-ref-link > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.gx-shell .gx-promo-outreach { display: grid; gap: 12px; }
.gx-shell .gx-promo-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gx-shell .gx-promo-panel:not(.is-active) { display: none; }
.gx-shell .gx-promo-draft { display: grid; gap: 8px; padding: 10px; border-radius: var(--dx-r); background: var(--dx-tile); }
.gx-shell .gx-promo-draft header { display: flex; justify-content: space-between; gap: 8px; font-weight: 800; }
.gx-shell .gx-promo-draft footer { display: flex; flex-wrap: wrap; gap: 6px; }
.gx-shell .gx-promo-draft footer button { min-height: 32px !important; padding: 0 10px !important; font-size: 12px !important; }
.gx-shell .gx-promo-banner-panel { display: block; }
.gx-shell .gx-promo-banner-panel:not(.is-active) { display: none; }
.gx-shell .gx-promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.gx-shell .gx-promo-item { display: grid; gap: 8px; padding: 10px; border-radius: var(--dx-r); background: var(--dx-tile); }
.gx-shell .gx-promo-preview { display: grid; place-items: center; min-height: 90px; }
.gx-shell .gx-promo-preview img { max-height: 160px; object-fit: contain; }
.gx-shell .gx-promo-meta { display: grid; gap: 6px; }
.gx-shell .gx-promo-meta textarea { min-height: 60px !important; font-size: 12px !important; }
.gx-shell .gx-promo-meta > div { display: flex; flex-wrap: wrap; gap: 6px; }
.gx-shell .gx-promo-meta > div button { min-height: 32px !important; padding: 0 10px !important; font-size: 12px !important; }

/* ---------- route not found (inc/404.php): one centered panel, the old page title stays hidden ---------- */
.gx-shell .gx-route-not-found {
    display: grid; justify-items: center; gap: 8px; max-width: 420px; margin: 24px auto; padding: 22px 18px; text-align: center;
    border: 1px solid rgba(255, 255, 255, .6); border-radius: var(--dx-r-panel); background: var(--dx-glass); box-shadow: var(--dx-shadow); backdrop-filter: blur(10px);
}
.gx-shell .gx-route-not-found .page_title { display: none; }
.gx-shell .gx-route-not-found img { width: 88px; height: 88px; object-fit: contain; }
.gx-shell .gx-route-not-found h3 { font-size: 20px; }
.gx-shell .gx-route-not-found p { font-size: 15px; color: var(--dx-muted); }
.gx-shell #content .gx-route-not-found .gx-home-btn {
    display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: var(--dx-r);
    background: var(--dx-gold); box-shadow: var(--dx-gold-lip); color: #2a1703; font-weight: 800;
}
/* ---------- offerwalls ---------- */
.gx-shell .gx-offerwall-shell { display: flex; flex-direction: column; gap: var(--dx-gap); }
.gx-shell .gx-offerwall-shell > * { max-width: 100%; }
.gx-shell .gx-offerwall-unlock-strip { display: grid; grid-template-columns: auto auto minmax(80px, 1fr) auto; gap: 12px; align-items: center; padding: 8px 14px; }
.gx-shell .gx-offerwall-unlock-strip span { font-size: 14px; font-weight: 800; }
.gx-shell .gx-offerwall-unlock-strip i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--gx-progress, 0%); background: var(--dx-gold); border-radius: 99px; }
.gx-shell .gx-offerwall-frame { padding: 8px; overflow: hidden; }
.gx-shell .gx-offerwall-frame iframe { display: block; width: 100%; min-height: 1100px; border: 0; border-radius: 12px; background: #fff; }
.gx-shell .gx-offerwall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 8px; }
/* one row per task: name and view time, reward, Open (a 60-task list stays short) */
.gx-shell .gx-offerwall-task { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 10px 8px 12px; }
.gx-shell .gx-offerwall-task h2 { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-shell .gx-offerwall-task p { font-size: 12px; color: var(--dx-muted); }
.gx-shell .gx-offerwall-task strong { font-size: 14px; font-weight: 900; }
.gx-shell #content .gx-offerwall-task > a { min-height: 34px; padding: 0 14px; }
.gx-shell .gx-offerwall-empty { color: var(--dx-muted); text-align: center; }
.gx-shell .gx-offerwall-ad { display: grid; place-items: center; padding: 8px; }
.gx-shell .gx-offerwall-ad-mobile { display: none; }

/* ---------- guest wall and modal (guest preview) ---------- */
.gx-guest-modal { position: fixed; inset: 0; z-index: 95; display: none; place-items: center; padding: 16px; background: rgba(10, 22, 18, .5); }
.gx-guest-modal.is-open { display: grid; }
.gx-guest-dialog { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; position: relative; display: grid; gap: 8px; width: min(420px, 100%); padding: 18px; border-radius: var(--dx-r-panel); background: rgba(246, 253, 250, .98); text-align: center; box-shadow: var(--dx-shadow); }
.gx-guest-dialog > img { width: 140px; margin: 0 auto; }
.gx-guest-brand-title { font-size: 20px; }
.gx-guest-brand-subtitle { font-size: 14px; font-weight: 800; color: var(--dx-muted); }
.gx-guest-dialog p { font-size: 14px; }
.gx-guest-close { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 22px; cursor: pointer; }
.gx-guest-login-form { display: grid; gap: 8px; }
.gx-guest-login-form input { width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid var(--dx-line); border-radius: var(--dx-r); font: 600 14px Nunito, sans-serif; }
.gx-guest-login-form button { min-height: 40px; border: 0; border-radius: var(--dx-r); background: var(--dx-gold); box-shadow: var(--dx-gold-lip); font: 800 14px Nunito, sans-serif; cursor: pointer; }
.gx-guest-error { padding: 8px; border-radius: 10px; background: #f8d0c8; color: #8a2414; font-size: 14px; font-weight: 700; }
.gx-guest-error.is-good { background: #cdeec6; color: #1f5a26; }

/* ---------- game: tabs, command strip, shop grid (the scene itself lives in dravonx-scene.css) ---------- */
.gx-shell .gx-game { display: flex; flex-direction: column; gap: var(--dx-gap); }
.gx-shell .gx-clone-command-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 10px; padding: 12px; }
.gx-shell .gx-game-inline-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gx-shell .gx-game-inline-stats span { display: grid; justify-items: center; gap: 2px; padding: 6px 8px; border-radius: var(--dx-r); background: var(--dx-tile); }
.gx-shell .gx-game-inline-stats small { font-size: 12px; font-weight: 800; color: var(--dx-muted); }
.gx-shell .gx-game-inline-stats b { font-size: 18px; font-weight: 900; }
.gx-shell .gx-strip-upgrade-card { margin: 0; }
.gx-shell .gx-strip-upgrade-card button {
    display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "img copy cost" "img copy cost"; align-items: center; gap: 2px 10px;
    width: 100%; height: 100%; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .75); border-radius: var(--dx-r);
    background: var(--dx-tile); color: var(--dx-ink); font: inherit; text-align: left; cursor: pointer;
}
.gx-shell .gx-strip-upgrade-card button > small { display: none; }
.gx-shell .gx-strip-upgrade-card button > img { grid-area: img; width: 56px; height: 56px; object-fit: contain; }
.gx-shell .gx-strip-upgrade-card button > span { grid-area: copy; display: grid; gap: 2px; min-width: 0; }
.gx-shell .gx-strip-upgrade-card b { font-size: 15px; font-weight: 900; }
.gx-shell .gx-strip-upgrade-card em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--dx-muted); }
.gx-shell .gx-strip-upgrade-card em i { font-style: normal; color: #b36b00; font-size: 14px; }
.gx-shell .gx-strip-upgrade-card em u { text-decoration: none; margin-left: 4px; }
.gx-shell .gx-strip-upgrade-card strong {
    grid-area: cost; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--dx-r);
    background: var(--dx-gold); box-shadow: var(--dx-gold-lip); color: #2a1703; font-size: 14px; font-weight: 900;
}
.gx-shell .gx-strip-upgrade-card strong img { width: 18px; height: 18px; }
.gx-shell .gx-strip-progress-meter { display: none; }
.gx-shell .gx-clone-shop { display: flex; flex-direction: column; gap: var(--dx-gap); }
.gx-shell .gx-clone-shop > header { display: none; }
.gx-shell .gx-clone-shop-legend { display: none; }
.gx-shell .gx-clone-cardgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.gx-shell .gx-clone-slot {
    display: grid; grid-template-rows: auto auto; gap: 6px; padding: 6px; border: 1px solid rgba(255, 255, 255, .7);
    border-radius: var(--dx-r-panel); background: var(--dx-glass); box-shadow: var(--dx-shadow);
}
.gx-shell .gx-clone-slot.is-locked { filter: grayscale(.45); opacity: .82; }
.gx-shell .gx-clone-slot-visual { position: relative; display: grid; place-items: center; height: 108px; border-radius: var(--dx-r); background: rgba(255, 255, 255, .45); overflow: hidden; }
.gx-shell .gx-clone-slot-visual > img { height: 92px; width: auto; object-fit: contain; }
.gx-shell .gx-clone-slot-state { display: none; }
.gx-shell .gx-clone-dragon-title { position: absolute; left: 6px; top: 6px; max-width: calc(100% - 66px); font-style: normal; font-size: 12px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-shell .gx-clone-count { position: absolute; right: 6px; bottom: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(22, 36, 29, .78); color: #fff; font-style: normal; font-size: 12px; font-weight: 900; }
.gx-shell .gx-clone-boost { position: absolute; right: 6px; top: 6px; padding: 1px 7px; border-radius: 999px; background: #cdeec6; color: #1f5a26; font-style: normal; font-size: 12px; font-weight: 900; }
.gx-shell .gx-clone-slot-footer { display: grid; gap: 6px; }
.gx-shell .gx-clone-slot-copy { display: flex; align-items: baseline; justify-content: center; gap: 4px; flex-wrap: wrap; }
.gx-shell .gx-clone-slot-copy > small { display: none; }
.gx-shell .gx-clone-slot-copy b { font-size: 16px; font-weight: 900; }
.gx-shell .gx-clone-slot-copy > span:not(.gx-clone-slot-meter) { font-size: 12px; font-weight: 800; color: var(--dx-muted); }
.gx-shell .gx-clone-slot-meter { flex-basis: 100%; display: block; height: 5px; border-radius: 99px; background: rgba(38, 92, 80, .14); overflow: hidden; }
.gx-shell .gx-clone-slot-meter u { display: block; height: 100%; background: var(--dx-gold); }
.gx-shell .gx-clone-slot form { margin: 0; }
.gx-shell .gx-clone-slot button {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 36px; padding: 0 10px; border: 0; border-radius: var(--dx-r);
    background: var(--dx-gold); box-shadow: var(--dx-gold-lip); color: #2a1703; font: 900 14px/1 Nunito, "Segoe UI", sans-serif; cursor: pointer;
}
.gx-shell .gx-clone-slot button em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; }
.gx-shell .gx-clone-slot button img { width: 18px; height: 18px; }
.gx-shell .gx-clone-slot.is-unfunded button, .gx-shell .gx-clone-slot.is-locked button, .gx-shell .gx-clone-slot button:disabled { background: rgba(255, 255, 255, .7); box-shadow: none; color: var(--dx-muted); }
.gx-shell .gx-clone-slot.is-owned button:not([name]) { background: #cdeec6; box-shadow: none; color: #1f5a26; }
.gx-shell .gx-alert {
    position: fixed; left: 50%; top: 84px; z-index: 70; transform: translateX(-50%); display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .97); color: var(--dx-ink); font-weight: 800; box-shadow: var(--dx-shadow);
}
.gx-shell .gx-alert img { width: 28px; height: 28px; }
.gx-shell .gx-alert button { border: 0; background: none; font-size: 20px; cursor: pointer; }
.gx-shell .gx-alert.is-hidden { visibility: hidden; opacity: 0; }

/* ---------- public pages (inc/head.php: about, news, terms, privacy, promo materials, SEO landings, 404) ----------
   16/11/2026: same panel, type and button family as the user pages. Screen map: a thin header row (logo home, one main
   action), a slim title row, one content panel; the legal text sits in two columns so a page fits one screen. */
.gx-public .gx-public-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0 0; }
.gx-public .gx-public-brand img { display: block; width: auto; height: 52px; filter: drop-shadow(0 4px 8px rgba(23, 52, 44, .25)); }
.gx-public .gx-public-play {
    display: inline-flex; align-items: center; min-height: 38px; padding: 0 18px; border-radius: var(--dx-r);
    background: var(--dx-gold); box-shadow: var(--dx-gold-lip); color: #2a1703; font: 800 14px/1 Nunito, "Segoe UI", sans-serif; white-space: nowrap;
}
.gx-public .gx-public-play:hover { filter: brightness(1.05); }
/* the landing hero and the 404 panel carry their own play / home button: the header one would repeat it */
.gx-public:has(.gx-seo-landing) .gx-public-play { display: none; }
.gx-public .gx-route-not-found .gx-home-btn { display: none !important; }
.gx-public-about .gx-public-copy-panel { max-width: 760px; }
.gx-public #content > h1.page_title {
    align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: rgba(250, 255, 252, .82);
    box-shadow: 0 4px 12px rgba(23, 52, 44, .12); font-size: 18px;
}
.gx-public .gx-public-copy-panel {
    padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .6); border-radius: var(--dx-r-panel);
    background: var(--dx-glass); box-shadow: var(--dx-shadow); backdrop-filter: blur(10px);
}
.gx-public .gx-clone-copy { display: grid; gap: 6px; }
.gx-public .gx-clone-copy h2 { margin-top: 8px; font-size: 16px; }
.gx-public .gx-clone-copy > h2:first-child { margin-top: 0; }
.gx-public .gx-clone-copy p { font-size: 15px; line-height: 1.55; max-width: 76ch; }
.gx-public .gx-legal-page .gx-clone-copy { display: block; columns: 2; column-gap: 28px; }
.gx-public .gx-legal-page .gx-clone-copy h2 { break-after: avoid; margin: 0 0 4px; }
.gx-public .gx-legal-page .gx-clone-copy p { break-inside: avoid; margin: 0 0 14px; }
/* news: every item is its own card (the user news card), so the wrapper is not a second glass box */
.gx-public .gx-news-public { padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; }
.gx-public .gx-news-public .gx-clone-copy { gap: 8px; }
.gx-public .gx-news-public .gx-news-card {
    border: 1px solid rgba(255, 255, 255, .6); border-radius: var(--dx-r-panel); background: var(--dx-glass); box-shadow: var(--dx-shadow); backdrop-filter: blur(10px);
}
.gx-public .gx-news-public .gx-news-card h2 { margin: 0; }
.gx-public .gx-news-public .gx-news-card p { font-size: 14px; max-width: none; }
/* SEO landing: the pitch with its one action on the left, four facts on the right */
.gx-public .gx-seo-landing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--dx-gap); margin-top: 12px; }
.gx-public .gx-seo-landing > article,
.gx-public .gx-seo-landing > div > section {
    border: 1px solid rgba(255, 255, 255, .6); border-radius: var(--dx-r-panel); background: var(--dx-glass); box-shadow: var(--dx-shadow); backdrop-filter: blur(10px);
}
.gx-public .gx-seo-landing > article { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 24px 26px; }
.gx-public .gx-seo-landing h1 { font-size: 34px; line-height: 1.1; }
.gx-public .gx-seo-landing > article p { font-size: 16px; line-height: 1.5; }
.gx-public #content .gx-seo-landing > article > a {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; border-radius: var(--dx-r);
    background: var(--dx-gold); box-shadow: var(--dx-gold-lip); color: #2a1703; font: 800 15px/1 Nunito, "Segoe UI", sans-serif;
}
.gx-public .gx-seo-landing > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--dx-gap); }
.gx-public .gx-seo-landing > div > section { display: grid; align-content: start; gap: 4px; padding: 14px 16px; }
.gx-public .gx-seo-landing > div > section b { font-size: 16px; font-weight: 900; }
.gx-public .gx-seo-landing > div > section p { font-size: 14px; color: var(--dx-muted); }

/* ---------- phone ---------- */
@media (max-width: 1000px) {
    .gx-active-menu a span { display: none; }
    .gx-shell .gx-task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gx-shell .gx-ref-promo-split { grid-template-columns: 1fr 1fr; }
    .gx-shell .gx-ref-promo-split > :first-child { grid-column: 1 / -1; }
    .gx-shell .gx-bounty-layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .gx-shell .gx-deposit-methods, .gx-shell .gx-payout-methods, .gx-shell .gx-clone-cardgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gx-shell .gx-clone-command-strip { grid-template-columns: 1fr; }
    /* scene.css gives the next-step card "span 2" here, which opened a second column and squeezed the upgrade cards */
    html body.gx-game-shell .gx-clone-games-page .gx-clone-command-strip .gx-clone-scene-next { grid-column: 1 / -1 !important; }
    .gx-shell .gx-ref-level-progress { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    :root { --dx-w: calc(100vw - 24px); }
    body.gx-shell { background-image: url("/images/backgrounds/dravonx-sunny-world-bg-mobile.webp"); background-attachment: scroll; }
    .gx-active-menu-card { padding: 4px; gap: 4px; }
    .gx-active-menu { gap: 2px; }
    .gx-active-menu a { height: 40px; padding: 0 2px; }
    .gx-active-menu a img { width: 26px; height: 26px; }
    .gx-utility-menu { gap: 2px; }
    .gx-utility-menu a { width: 32px; height: 40px; }
    .gx-utility-menu a img { width: 22px; height: 22px; }
    .gx-shell .gx-deposit-methods, .gx-shell .gx-payout-methods, .gx-shell .gx-clone-cardgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gx-shell .gx-balance-convert-panel, .gx-shell .gx-deposit-result-grid, .gx-shell .gx-settings-grid, .gx-shell .gx-settings-payout-grid,
    .gx-shell .gx-ref-promo-split, .gx-shell .gx-bounty-rules, .gx-shell .gx-bounty-form-grid, .gx-shell .gx-promo-panel { grid-template-columns: 1fr; }
    .gx-shell .gx-task-grid { grid-template-columns: 1fr; }
    .gx-shell .gx-task-hero, .gx-shell .gx-bounty-hero { flex-wrap: wrap; }
    .gx-shell .gx-task-summary { flex-wrap: wrap; }
    .gx-shell .gx-payout-preview { grid-template-columns: 1fr; }
    .gx-shell .gx-cashout-guide > div { grid-template-columns: 1fr; }
    .gx-shell .gx-game-inline-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gx-shell .gx-settings-password-form, .gx-shell .gx-settings-payout-form { flex-wrap: wrap; }
    /* a row keeps its Save / Locked button beside the last field: one wallet = one line on a phone */
    .gx-shell .gx-settings-password-form > input, .gx-shell .gx-settings-payout-form > input { flex: 1 1 0; min-width: 0; }
    .gx-shell .gx-settings-password-form > input:not([type="hidden"]):has(~ input:not([type="hidden"])) { flex: 1 1 calc(100% - 50px); }
    .gx-shell .gx-settings-wallet-fields { flex: 1 1 0; min-width: 0; }
    .gx-shell .gx-settings-password-form button, .gx-shell .gx-settings-payout-form button { flex: none; }
    .gx-shell .gx-offerwall-unlock-strip { grid-template-columns: 1fr auto; }
    .gx-shell .gx-offerwall-ad-mobile { display: block; }
    .gx-shell .gx-offerwall-ad-desktop { display: none; }
    #footer .gx-footer-menu a { font-size: 12px; }
    .gx-public .gx-public-brand img { height: 44px; }
    .gx-public .gx-legal-page .gx-clone-copy { columns: 1; }
    .gx-public .gx-seo-landing, .gx-public .gx-seo-landing > div { grid-template-columns: 1fr; }
    .gx-public .gx-seo-landing > article { padding: 18px; }
    .gx-public .gx-seo-landing h1 { font-size: 28px; }
}
