/* Core Points store and shared live news, using the existing portal palette. */
.rc-store-page,.rc-news-page { padding-top:4px; }
.rc-wallet-balance { display:flex; align-items:center; gap:12px; color:#f5a64e; padding:8px 0; }
.rc-wallet-balance>div { display:grid; gap:2px; }
.rc-wallet-balance small { font-size:11px; color:#999dad; }
.rc-wallet-balance strong { font-size:23px; line-height:1.2; color:#f4f4fa; }
.rc-wallet-balance strong>span { font-size:13px; color:#f6a149; }
.rc-store-intro { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:28px 0 22px; }
.rc-eyebrow { color:#f3a453; font-size:10px; font-weight:800; letter-spacing:.15em; }
.rc-store-intro { font-family:"Segoe UI",system-ui,Arial,sans-serif; }
.rc-store-title { color:#f3f4f8; font-size:clamp(22px,2vw,27px); font-weight:700; letter-spacing:-.025em; line-height:1.25; }
.rc-store-intro p { max-width:60ch; margin-top:9px; color:#b4bdce; font-size:16px; font-weight:400; line-height:1.6; letter-spacing:normal; }
.rc-reward-note { display:flex; align-items:center; gap:8px; flex-shrink:0; color:#b9bdc8; font-size:13px; line-height:1.5; }
.rc-store-tabs { display:flex; gap:24px; border-bottom:1px solid #30313c; margin-bottom:24px; }
.rc-store-tabs button { display:flex; align-items:center; gap:8px; padding:15px 0; border-bottom:2px solid transparent; color:#9297aa; font-size:14px; font-weight:700; }
.rc-store-tabs button[aria-selected=true] { color:#fff; border-color:#f69735; }
.rc-store-tabs small { padding:1px 7px; border-radius:4px; background:#30313c; font-size:11px; }
.rc-game-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; margin-bottom:30px; }
.rc-game-tile { position:relative; aspect-ratio:2/3; min-width:0; text-align:start; overflow:hidden; border:1px solid #3a3d49; border-radius:9px; background:#191b24; isolation:isolate; transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.rc-game-tile::after { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(180deg,transparent 32%,rgba(8,10,16,.12) 48%,rgba(8,10,16,.83) 80%,#080a10 100%); }
.rc-game-tile:hover { border-color:#ad9a7c; transform:translateY(-3px); box-shadow:0 8px 22px #0005; }
.rc-game-tile:focus-visible { outline:2px solid #ffbd69; outline-offset:4px; }
.rc-game-tile.selected { border-color:#f7a23e; box-shadow:0 0 0 1px #f7a23e,0 6px 24px #0004; }
.rc-game-tile>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; opacity:1; display:block; transition:transform .3s ease; }
.rc-game-tile:hover>img { transform:scale(1.035); }
.rc-game-tile>span { position:absolute; inset-inline:0; bottom:0; z-index:2; display:grid; gap:5px; padding:16px 13px; }
.rc-game-tile strong { font-size:15px; line-height:1.25; font-weight:700; color:#fff; text-shadow:0 1px 5px #0009; }
.rc-game-tile small { color:#c4cbda; font-size:12px; line-height:1.4; }
@media(prefers-reduced-motion:reduce) { .rc-game-tile,.rc-game-tile>img { transition:none; } .rc-game-tile:hover,.rc-game-tile:hover>img { transform:none; } }
.rc-shop-layout { display:grid; grid-template-columns:minmax(0,1fr) 272px; gap:24px; align-items:start; }
.rc-shop-layout>section { min-width:0; }
.rc-catalog-title { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:17px; }
.rc-catalog-title h2 { font-size:21px; font-weight:700; }
.rc-catalog-title h2>span { margin-inline-start:9px; font-size:12px; font-weight:500; color:#9297aa; }
.rc-catalog-title>p,.rc-catalog-title>span { color:#9297aa; font-size:12px; }
.rc-shop-toolbar { display:grid; grid-template-columns:minmax(0,1fr) 135px 175px; gap:9px; margin-bottom:18px; }
.rc-shop-toolbar .pw-field { min-width:0; width:100%; padding:10px 12px; font-size:12px; }
.rc-skin-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.rc-shop-item { min-width:0; border:1px solid #30333f; border-radius:6px; overflow:hidden; background:#1b1c25; }
.rc-shop-item:hover { border-color:#646779; }
.rc-item-image { position:relative; display:flex; width:100%; height:158px; align-items:center; justify-content:center; padding:12px; overflow:hidden; background:#14161e; color:#626b82; }
.rc-item-image img { display:block; max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; transition:transform .18s; }
.rc-item-image:hover img { transform:scale(1.035); }
.rc-item-image.portrait { padding:0; }
.rc-item-image.portrait img { width:100%; height:100%; object-fit:cover; object-position:50% 23%; max-height:none; }
.rc-owned { position:absolute; display:flex; align-items:center; gap:4px; top:9px; inset-inline-end:9px; padding:4px 6px; border:1px solid #526c58; border-radius:3px; background:#1d2d24; color:#a5d4b3; font-size:10px; }
.rc-item-copy { padding:13px; }
.rc-item-meta { display:flex; justify-content:space-between; gap:7px; color:#8d94a9; font-size:10px; }
.rc-item-meta>span:last-child { text-align:end; color:#b5a9cc; }
.rc-item-title { display:block; min-height:40px; width:100%; margin:8px 0 13px; text-align:start; font-size:13px; font-weight:700; line-height:1.5; color:#eeeef6; }
.rc-item-title:hover { color:#ffb563; }
.rc-item-actions { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.rc-item-actions>strong { color:#f6ae61; font-size:17px; }
.rc-item-actions small { font-size:10px; font-weight:600; color:#ae936e; }
.rc-item-add { display:grid; place-items:center; width:31px; height:31px; border:1px solid #725131; border-radius:4px; color:#ffad55; }
.rc-item-add:hover:not(:disabled) { background:#382a1e; border-color:#f69735; }
.rc-item-add.added { background:#332a21; border-color:#d38c43; }
.rc-item-add:disabled { color:#9cc8aa; border-color:#43534b; }
.rc-cart { position:sticky; top:84px; border:1px solid #343641; border-radius:6px; padding:18px; background:#1a1b24; }
.rc-cart-title { display:flex; align-items:center; gap:9px; padding-bottom:16px; border-bottom:1px solid #30333f; }
.rc-cart-title>svg { color:#e9a259; }
.rc-cart-title h2 { font-size:16px; font-weight:700; }
.rc-cart-title>span { margin-inline-start:auto; color:#858da2; font-size:11px; }
.rc-cart-empty { padding:30px 8px 20px; text-align:center; color:#7e889e; }
.rc-cart-empty>svg { margin:0 auto 13px; }
.rc-cart-empty p { font-size:13px; }
.rc-cart-items { max-height:410px; overflow-y:auto; padding:9px 0; }
.rc-cart-items>div { display:flex; gap:9px; align-items:center; padding:9px 0; border-bottom:1px solid #30333f; }
.rc-cart-items img { width:38px; height:38px; object-fit:contain; border-radius:3px; background:#13151c; }
.rc-cart-items>div>div { flex:1; min-width:0; display:grid; gap:4px; }
.rc-cart-items strong { font-size:11px; line-height:1.4; color:#dfe1eb; }
.rc-cart-items small { font-size:11px; color:#dfa35f; }
.rc-cart-items button { color:#8d94a5; padding:4px; }
.rc-cart-total { display:flex; justify-content:space-between; gap:12px; margin:16px 0; font-size:14px; }
.rc-cart-total>strong { color:#f8af5d; }
.rc-cart-hint { margin-top:12px; font-size:11px; color:#8f97ab; line-height:1.7; }
.rc-full { width:100%; }
.rc-cart>.pw-success { display:flex; flex-wrap:wrap; align-items:center; gap:5px; font-size:12px; margin-top:12px; }
.rc-shop-modal,.rc-checkout-modal { width:calc(100% - 28px); max-width:470px; padding:27px; background:#1c1e29; color:#e8eaf3; border:1px solid #454958; border-radius:9px; }
.rc-shop-modal h2,.rc-checkout-modal h2 { padding-inline-end:12px; font-size:22px; line-height:1.4; }
.rc-shop-modal p,.rc-checkout-modal p { color:#a0a7bb; font-size:13px; line-height:1.6; }
.rc-shop-modal-image { height:250px; display:flex; align-items:center; justify-content:center; background:#14161f; border-radius:5px; padding:12px; }
.rc-shop-modal-image img { max-width:100%; max-height:100%; object-fit:contain; }
.rc-modal-buy,.rc-checkout-summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0; }
.rc-modal-buy>strong,.rc-checkout-summary>strong { font-size:24px; font-weight:700; color:#f6af60; }
.rc-source-link { display:inline-flex; align-items:center; gap:6px; color:#929bb2; font-size:11px; }
.rc-source-link:hover { color:#f6af60; }
.rc-inventory { min-height:300px; }
.rc-inventory-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.rc-inventory-item { display:flex; flex-direction:column; border:1px solid #30333f; border-radius:6px; padding:16px; background:#1b1c25; }
.rc-inventory-item>img { width:100%; height:160px; object-fit:contain; margin-bottom:13px; }
.rc-inventory-item>small { color:#8d96aa; font-size:11px; }
.rc-inventory-item h3 { font-size:14px; font-weight:700; margin:7px 0 13px; flex:1; }
.rc-inventory-item>span { display:flex; align-items:center; gap:5px; color:#90b39c; font-size:11px; }
.rc-ledger { max-width:850px; margin:0 auto; border:1px solid #30333f; border-radius:7px; padding:22px; background:#1a1c25; }
.rc-ledger-note { color:#9a9faf; font-size:13px; margin-bottom:20px; }
.rc-ledger-note strong { color:#efab65; }
.rc-ledger>article { display:flex; align-items:center; gap:14px; padding:16px 0; border-top:1px solid #30333f; }
.rc-ledger-icon { display:grid; place-items:center; width:40px; height:40px; border-radius:5px; background:#2e2722; color:#d6a26c; }
.rc-ledger-icon.credit { background:#24322b; color:#94c3a4; }
.rc-ledger>article>div:nth-child(2) { flex:1; display:grid; gap:5px; }
.rc-ledger>article strong { font-size:14px; }
.rc-ledger>article small { color:#8e98ae; font-size:11px; }
.rc-credit { color:#a5c9ad; }
.rc-balance-chip { display:inline-flex; align-items:center; gap:6px; padding:7px 9px; color:#f1ad60; border:1px solid #59452f; border-radius:5px; background:#29211a; font-size:12px; white-space:nowrap; }
.rc-balance-chip>b { color:#bf9a70; font-size:10px; }
.rc-news-updated { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:25px 0 18px; color:#8f97aa; font-size:12px; }
.rc-news-updated>button { display:inline-flex; align-items:center; gap:6px; margin-inline-start:auto; }
.rc-feed-status { display:inline-flex; align-items:center; gap:6px; color:#949db1; font-size:12px; }
.rc-news-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:30px 22px; margin-top:25px; }
.rc-news-card { display:flex; flex-direction:column; min-width:0; }
.rc-news-image { position:relative; display:block; height:155px; overflow:hidden; border-radius:6px; background:#1a1c26; }
.rc-news-image img { width:100%; height:100%; object-fit:cover; }
.rc-news-image>span { position:absolute; bottom:8px; inset-inline-start:8px; padding:3px 7px; border-radius:3px; background:#11151ee8; color:#e1e4ed; font-size:10px; }
.rc-news-meta { display:flex; justify-content:space-between; gap:8px; margin:12px 0 8px; color:#8d96ad; font-size:10px; }
.rc-news-meta>span { color:#d1a475; }
.rc-news-title { font-size:14px; font-weight:700; line-height:1.55; color:#e6e8f1; }
.rc-news-title:hover { color:#f5ad5e; }
.rc-news-card>p { font-size:12px; line-height:1.65; color:#8e99b0; margin:9px 0 13px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.rc-news-source { display:inline-flex; align-items:center; gap:6px; align-self:flex-start; margin-top:auto; padding-top:10px; font-size:11px; color:#9da6bb; }
.rc-news-source:hover { color:#f5ad5e; }
.rc-home-news { padding-top:50px; padding-bottom:50px; }
.rc-home-news .rc-catalog-title h2 { font-size:29px; }
@media(max-width:1100px) { .rc-game-grid { gap:10px; } .rc-game-tile>span { padding:13px 10px; } .rc-game-tile strong { font-size:13px; } .rc-shop-layout { grid-template-columns:minmax(0,1fr) 242px; gap:18px; } .rc-skin-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .rc-shop-toolbar { grid-template-columns:1fr 1fr; } .rc-shop-toolbar>input { grid-column:1/-1; } .rc-news-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .rc-inventory-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:760px) { .rc-game-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .rc-store-intro { align-items:flex-start; flex-direction:column; gap:10px; } .rc-shop-layout { grid-template-columns:1fr; } .rc-cart { position:static; order:-1; } .rc-cart-empty { padding:14px 0; } .rc-cart-empty>svg { display:none; } .rc-cart-hint { margin-top:8px; } .rc-cart-items { max-height:250px; } .rc-skin-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .rc-news-grid,.rc-inventory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .rc-store-tabs { gap:18px; } .rc-store-tabs button { font-size:12px; gap:6px; } .rc-header-wallet { display:none!important; } }
@media(max-width:480px) { .rc-game-grid { gap:9px; } .rc-game-tile>span { padding:12px 9px; } .rc-game-tile strong { font-size:12px; } .rc-game-tile small { font-size:11px; } .rc-store-title { font-size:22px; } .rc-store-intro p { font-size:15px; } .rc-skin-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .rc-item-image { height:140px; } .rc-item-copy { padding:10px; } .rc-item-title { font-size:12px; } .rc-item-meta { font-size:9px; } .rc-item-actions>strong { font-size:15px; } .rc-wallet-balance { gap:7px; } .rc-wallet-balance strong { font-size:20px; } .rc-wallet-balance small { font-size:10px; } .rc-news-grid { grid-template-columns:1fr; gap:28px; } .rc-news-image { height:190px; } .rc-news-title { font-size:16px; } .rc-inventory-grid { gap:10px; } .rc-inventory-item { padding:11px; } .rc-inventory-item>img { height:115px; } .rc-ledger { padding:15px; } }

.rc-header-wallet { margin-inline-end:18px; }
.pw-lobby-status.completed { color:#aad2b6; background:#1f2a23; border-color:#415d49; }

/* Clip sideways without creating a nested scroll container for the cart. */
body:has(.rc-store-page) { overflow-x:clip; overflow-y:visible; }



/* Inventory selection and persisted withdrawal requests. */
.rc-inventory-actions { position:sticky; top:76px; z-index:30; display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:20px 0 10px; padding:14px 16px; border:1px solid #42414b; border-radius:6px; background:#1e202a; box-shadow:0 6px 24px #0003; }
.rc-inventory-actions>div:first-child { display:grid; gap:4px; margin-inline-end:auto; }
.rc-inventory-actions strong { color:#f0f1f8; font-size:14px; }
.rc-inventory-actions small { color:#929bad; font-size:11px; }
.rc-inventory-select-tools { display:flex; gap:5px; flex-wrap:wrap; }
.rc-inventory-select-tools .pw-social-button { font-size:12px; padding:8px 10px; }
.rc-inventory-help { margin:10px 0 18px; color:#98a1b4; font-size:12px; line-height:1.6; }
.rc-inventory-choice { position:relative; cursor:pointer; min-width:0; transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease; }
.rc-inventory-choice:hover:not(.reserved) { border-color:#80715f; background-color:#20212a; }
.rc-inventory-choice.selected { border-color:#eea043; box-shadow:inset 0 0 0 1px #eea04366,0 5px 20px #0003; background:linear-gradient(145deg,#30271f 0%,#24232b 55%,#20212a 100%); }
.rc-inventory-choice>input[type=checkbox] { display:block; position:absolute; top:10px; inset-inline-end:10px; z-index:2; width:30px; height:30px; margin:0; padding:0; opacity:0; appearance:none; cursor:pointer; }
.rc-inventory-choice>.rc-inventory-selector { position:absolute; top:12px; inset-inline-end:12px; z-index:1; display:grid; place-items:center; width:26px; height:26px; margin:0; border:1px solid #656979; border-radius:8px; background:#151720eb; color:#15171f; box-shadow:0 2px 6px #0004; pointer-events:none; transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease; }
.rc-inventory-selector>svg { width:16px; height:16px; opacity:0; transform:scale(.7); transition:opacity .16s ease,transform .16s ease; }
.rc-inventory-choice:hover:not(.reserved)>.rc-inventory-selector { border-color:#d5ac72; }
.rc-inventory-choice.selected>.rc-inventory-selector { border-color:#ffbc65; background:#f6a13c; box-shadow:0 0 0 3px #f6a13c16,0 2px 8px #0004; }
.rc-inventory-choice.selected>.rc-inventory-selector>svg,.rc-inventory-choice.reserved>.rc-inventory-selector>svg { opacity:1; transform:scale(1); }
.rc-inventory-choice:has(>input:focus-visible) { outline:2px solid #ffbc65; outline-offset:4px; }
.rc-inventory-choice>input:disabled { cursor:not-allowed; }
.rc-inventory-choice.reserved { cursor:default; border-color:#4b463e; background:#1c1d24; }
.rc-inventory-choice.reserved>.rc-inventory-selector { color:#bca06e; background:#29251fe6; border-color:#61543d; box-shadow:none; }
.rc-inventory-choice.reserved>span:not(.rc-inventory-selector) { color:#d4b578; }
.rc-inventory-choice h3 { overflow-wrap:anywhere; }
@media(prefers-reduced-motion:reduce) { .rc-inventory-choice,.rc-inventory-selector,.rc-inventory-selector>svg { transition:none; } }
.rc-withdraw-history { margin-top:38px; padding-top:24px; border-top:1px solid #303441; }
.rc-withdraw-info { display:flex; gap:10px; align-items:flex-start; padding:12px 14px; border:1px solid #494336; background:#26231f; border-radius:5px; color:#c2b69f; font-size:12px; line-height:1.7; }
.rc-withdraw-info>svg { flex-shrink:0; margin-top:2px; }
.rc-withdraw-notice { display:flex; align-items:center; gap:9px; margin:14px 0; color:#a8d0b0; font-size:13px; }
.rc-withdraw-empty { display:flex; gap:10px; align-items:center; min-height:88px; color:#939db0; font-size:13px; }
.rc-withdraw-list { display:grid; gap:12px; }
.rc-withdraw-request { padding:18px; border:1px solid #343744; border-radius:6px; background:#1a1c25; }
.rc-withdraw-request-heading { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:14px; }
.rc-withdraw-request h3 { font-size:14px; font-weight:700; color:#eceef7; }
.rc-withdraw-request time { display:block; margin-top:6px; color:#8f9aaf; font-size:11px; }
.rc-withdraw-state { display:inline-flex; align-items:center; gap:6px; padding:5px 8px; border-radius:4px; color:#d9b981; background:#30291e; font-size:11px; }
.rc-withdraw-state.processing { color:#a5cce1; background:#20303e; }
.rc-withdraw-state.completed { color:#a8d0b0; background:#24332a; }
.rc-withdraw-state.cancelled,.rc-withdraw-state.rejected { color:#a1a8b9; background:#2b2d37; }
.rc-withdraw-request details { margin-top:15px; border-top:1px solid #313440; padding-top:12px; }
.rc-withdraw-request summary { color:#b7bdcc; cursor:pointer; font-size:12px; }
.rc-withdraw-request>.pw-social-button { margin-top:13px; font-size:12px; }
.rc-withdraw-items { display:grid; gap:10px; padding:12px 0 0; list-style:none; }
.rc-withdraw-items>li { display:flex; align-items:center; gap:12px; min-width:0; }
.rc-withdraw-items img { flex-shrink:0; width:46px; height:42px; object-fit:contain; border:1px solid #383c48; border-radius:3px; background:#14161e; }
.rc-withdraw-items span { display:grid; gap:4px; min-width:0; }
.rc-withdraw-items strong { color:#dfe3ed; font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
.rc-withdraw-items small { color:#929db2; font-size:10px; }
.rc-withdraw-modal { max-width:560px; }
.rc-withdraw-modal h3 { font-size:13px; color:#bdc5d7; }
.rc-withdraw-modal .rc-withdraw-info { margin:0; }
.rc-withdraw-review-items { max-height:260px; overflow:auto; padding:0 5px 0 0; }
.rc-withdraw-modal-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:8px; }
@media(max-width:760px) { .rc-inventory-actions { top:72px; gap:10px; padding:12px; } .rc-inventory-select-tools { order:3; width:100%; } .rc-inventory-select-tools>.pw-social-button { flex:1; } .rc-inventory-actions>.pw-social-button { font-size:12px; } }
@media(max-width:480px) { .rc-inventory-choice { padding:12px; } .rc-inventory-choice>input[type=checkbox] { top:6px; inset-inline-end:6px; } .rc-inventory-choice>.rc-inventory-selector { top:8px; inset-inline-end:8px; } .rc-withdraw-request { padding:14px; } .rc-withdraw-modal-actions { flex-direction:column-reverse; } .rc-withdraw-modal-actions>.pw-social-button { width:100%; } }
