/* Scoped to game and offer pages with an enabled game theme. */
body.mx-game-theme { background: var(--mx-bg) !important; color: #e9f3fa; }
.mx-game-theme main.app { min-height: 75vh; background: radial-gradient(ellipse at 80% 0, var(--mx-panel), transparent 65%); color: #e9f3fa; padding-bottom: 32px; }
.mx-game-theme main.app > .container { max-width: 1280px; }
.mx-world { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 330px; margin: 0 0 32px; padding: 42px; border: 1px solid #ffffff29; border-radius: 24px; background: linear-gradient(120deg,var(--mx-panel),var(--mx-bg)); box-shadow: 0 20px 70px #0004; }
.mx-world::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,var(--mx-bg) 5%,transparent 100%); pointer-events: none; }
.mx-world__background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; opacity: .55; }
.mx-world__grid { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(#ffffff06 1px, transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px); background-size: 36px 36px; }
.mx-world__content { max-width: 65%; position: relative; z-index: 1; }
.mx-world__eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #d5e9f5; margin-bottom: 20px; }
.mx-world__eyebrow span { color: var(--mx-accent); margin-right: 9px; }
.mx-world h1,.mx-world h2 { font-family: Manrope, sans-serif; font-weight: 800; color: #fff !important; letter-spacing: -1.5px; line-height: 1.1; font-size: clamp(30px,4vw,52px); margin: 0 0 14px; overflow-wrap: anywhere; }
.mx-world p { color: #d0dfeb; max-width: 540px; margin-bottom: 22px; }
.mx-world__link { display: inline-block; color: #fff !important; border: 1px solid var(--mx-accent); border-radius: 9px; padding: 10px 18px; font-weight: 600; text-decoration: none; background: #071321c9; }
.mx-world__link:hover { box-shadow: 0 0 20px #ffffff25; }
.mx-world__logo { max-width: 190px; max-height: 65px; object-fit: contain; margin-bottom: 18px; }
.mx-world__character { position: absolute; right: 2%; bottom: 0; width: 36%; height: 96%; object-fit: contain; object-position: bottom; pointer-events: none; }
.mx-world__cover { position: absolute; right: 5%; width: 23%; max-height: 230px; object-fit: contain; border-radius: 18px; transform: rotate(4deg); box-shadow: 0 15px 45px #0006; }
.mx-world--compact { min-height: 195px; padding: 28px 36px; }
.mx-world--compact h2 { font-size: clamp(26px,3vw,36px); }
.mx-world--compact .mx-world__cover { max-height: 155px; }
.mx-game-theme main .card { background-color: var(--mx-panel) !important; color: #e9f3fa !important; border: 1px solid #ffffff24; border-radius: 14px; box-shadow: 0 8px 24px #0002; }
.mx-game-theme main .card-body { color: #e9f3fa; }
.mx-game-theme main :is(h3,h4,h5,h6,.text-dark,.card-title) { color: #e9f3fa !important; }
.mx-game-theme main .text-muted { color: #b6c9d9 !important; }
.mx-game-theme main :is(.badge-secondary,.bg-light) { background-color: #ffffff12 !important; color: #e9f3fa !important; }
.mx-game-theme main :is(.form-control,.searchInput,.form-select) { color: #f1f7fb !important; background-color: var(--mx-bg) !important; border: 1px solid #ffffff40; }
.mx-game-theme main input::placeholder { color: #adbfcd !important; opacity: 1; }
.mx-game-theme main .btn-dark { background: var(--mx-accent) !important; border-color: var(--mx-accent) !important; color: #071321 !important; }
.mx-game-theme main .btn-dark :is(h5,span) { color: #071321 !important; }
.mx-game-theme main .modal-content { background: var(--mx-panel); color: #e9f3fa; }
.mx-game-theme .mx-categories { padding: 22px; border: 1px solid #ffffff1f; border-radius: 18px; background: #ffffff04; }
.mx-game-theme .mx-categories .card-info { border-radius: 14px !important; border: 1px solid #ffffff35; transition: border-color .15s,transform .15s; }
.mx-game-theme .mx-categories .card-info.active { border: 2px solid var(--mx-accent); box-shadow: 0 0 22px #ffffff15; }
.mx-game-theme main :is(.oferta,.card_sell) { transition: border-color .15s, transform .15s; }
.mx-game-theme main :is(.oferta,.card_sell):hover,.mx-game-theme .mx-categories .card-info:hover { border-color: var(--mx-accent); transform: translateY(-3px); }
.mx-game-theme #offers { scroll-margin-top: 100px; }
.mx-game-theme main :is(a,button,input,select):focus-visible { outline: 3px solid var(--mx-accent); outline-offset: 3px; }
@media(max-width: 767px) { .mx-world { min-height: 280px; padding: 25px; border-radius: 18px; } .mx-world__content { max-width: 100%; } .mx-world__cover,.mx-world__character { opacity: .15; width: 65%; right: -8%; z-index: -1; } .mx-world--compact { min-height: 210px; } .mx-world__eyebrow { font-size: 9px; letter-spacing: 1px; } .mx-game-theme .mx-categories { gap: 16px !important; padding: 16px; } }
@media(prefers-reduced-motion: reduce) { .mx-game-theme main * { transition: none !important; } }

.mx-game-theme main.app { --text-primary: #e9f3fa; --text-secondary: #b6c9d9; --border-color: #ffffff29; --card-color: var(--mx-panel); --quantity-btn-bg: var(--mx-panel); --quantity-btn-hover-bg: #315169; --quantity-input-bg: var(--mx-bg); --quantity-input-color: #e9f3fa; }

@media(max-width: 991px) { .mx-game-theme main .col-lg-4 { margin-top: 20px; } }
/* This file is merged into game-theme.css by the package builder. */
.mx-game-theme { --mx-secondary:#ffd35b; --mx-text:#e9f3fa; --mx-ink:#031322; }
.mx-game-theme main.app { --text-primary:var(--mx-text); --text-secondary:var(--mx-text); color:var(--mx-text); background:transparent; isolation:isolate; }
.mx-game-theme main.app > .container { max-width:1240px; }
.mx-page-art { position:fixed; inset:0; width:100%; height:100vh; object-fit:cover; opacity:var(--mx-intensity,.18); z-index:-2; pointer-events:none; }
.mx-game-theme .mx-world { min-height:330px; padding:40px; border-radius:8px; border-color:#48caff66; box-shadow:inset 0 0 0 4px #02172aaa,0 16px 40px #0005; }
.mx-game-theme .mx-world::after { background:linear-gradient(90deg,#031424ee 0%,#03142470 48%,transparent 85%); }
.mx-game-theme .mx-world__background { opacity:1; z-index:-3; }
.mx-game-theme .mx-world__content { max-width:65%; }
.mx-game-theme .mx-world h1 { font-size:clamp(30px,3.5vw,47px); max-width:660px; }
.mx-game-theme .mx-world__eyebrow { color:var(--mx-accent); font:700 10px/1.5 Poppins,sans-serif; letter-spacing:2px; }
.mx-world__eyebrow span { color:#d0e1ee; }
.mx-game-theme .mx-world__link,.mx-action { border-radius:3px; border:1px solid var(--mx-accent); background:linear-gradient(#174772,#072039); padding:10px 20px; color:#fff !important; font-weight:600; font-size:13px; text-decoration:none; text-align:center; white-space:nowrap; }
.mx-action:hover { filter:brightness(1.25); box-shadow:0 0 16px #44cfff33; }
.mx-game-theme .mx-world__hint { display:block; margin-top:15px; color:#c1d3df; font-size:11px; }
.mx-world__rail { position:absolute; bottom:0; left:0; right:0; display:flex; justify-content:space-between; padding:5px 18px; background:#04182cbb; border-top:1px solid #71c6ff44; color:#7db4cf; font-size:8px; letter-spacing:3px; }
.mx-game-theme .mx-world--compact { min-height:200px; padding:25px 35px 35px; margin-bottom:22px; }
.mx-world__character--left { right:auto; left:0; }
.mx-world--left-art .mx-world__content { margin-left:23%; }
.mx-game-theme .mx-window,.mx-game-theme .mx-shop,.mx-game-theme .mx-seller,.mx-exchange { border:1px solid #3877aa; border-radius:4px; background:var(--mx-panel); box-shadow:0 10px 24px #0004,inset 0 0 0 3px #051324; }
.mx-window__title { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 18px; min-height:40px; border-bottom:1px solid #3479ad; background:linear-gradient(#1c5683,#092843 80%); color:#f0f9ff; font-size:14px; font-weight:600; border-radius:3px 3px 0 0; letter-spacing:.3px; }
.mx-window__tag { font-size:10px; color:var(--mx-secondary); letter-spacing:1.5px; font-weight:500; }
.mx-inventory__body { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:22px; }
.mx-slots { display:flex; gap:18px; flex-wrap:wrap; }
.mx-slot { display:flex; flex-direction:column; align-items:center; text-align:center; gap:10px; width:90px; color:#bed9ec !important; font-size:11px; line-height:1.3; text-decoration:none; }
.mx-slot__icon { width:68px; height:68px; position:relative; padding:4px; border:1px solid #34597b; box-shadow:inset 0 0 0 3px #041726; background:linear-gradient(#173450,#04101c); }
.mx-slot__icon img { width:100%; height:100%; object-fit:contain; }
.mx-slot__count { position:absolute; right:2px; bottom:1px; background:#04111de6; color:#ffe070; min-width:18px; padding:2px 4px; font-size:10px; }
.mx-slot.active { color:var(--mx-secondary) !important; }
.mx-slot.active .mx-slot__icon,.mx-slot:hover .mx-slot__icon { border-color:var(--mx-secondary); box-shadow:0 0 12px #ffd35b22,inset 0 0 0 2px #614613; }
.mx-search { width:250px; flex-shrink:0; }
.mx-search label { font-size:11px; color:#c9e2ef; display:block; margin-bottom:8px; }
.mx-game-theme .mx-search input { border-radius:3px; padding:10px 12px; font-size:12px; }
.mx-market-title { margin-top:26px; }
.mx-game-theme #offers { margin-left:0; margin-right:0; gap:8px; }
.mx-server-row { display:grid; grid-template-columns:1.7fr .8fr 1fr auto; align-items:center; gap:20px; padding:16px 20px; background:linear-gradient(90deg,#0c263bee,#041321ee); border:1px solid #285376; border-left:3px solid var(--mx-accent); width:100%; }
.mx-server-row__name,.mx-listing-row__identity,.mx-listing-row__seller { display:flex; gap:14px; align-items:center; min-width:0; }
.mx-token { width:42px; height:42px; }
.mx-kicker { font-size:9px; letter-spacing:2px; color:#74a3c0; }
.mx-server-row h3 { font-size:17px; margin:3px 0; }
.mx-server-row__price small,.mx-server-row__price strong { display:block; }
.mx-server-row__price strong,.mx-exchange__price strong { color:var(--mx-secondary); font-variant-numeric:tabular-nums; }
.mx-listing-row { display:grid; grid-template-columns:minmax(360px,2.5fr) minmax(150px,.85fr) minmax(135px,.75fr) minmax(155px,.8fr) auto; align-items:center; gap:20px; min-height:142px; padding:14px 18px; background:#061a2bea; border:1px solid #2a5476; overflow:hidden; transition:background .16s ease,border-color .16s ease,box-shadow .16s ease; }
.mx-listing-row.mx-clickable-card,.mx-server-row.mx-clickable-card { cursor:pointer; }
.mx-listing-row.mx-clickable-card:hover { background:#0b2940ee; border-color:#4d86b2; box-shadow:0 8px 26px #0005; }
.mx-listing-row.mx-clickable-card:focus-visible,.mx-server-row.mx-clickable-card:focus-visible { outline:3px solid var(--mx-secondary); outline-offset:2px; }
.mx-listing-row__identity { min-width:0; align-self:stretch; }
.mx-listing-row__name { min-width:0; flex:1 1 auto; overflow:hidden; }
.mx-listing-row .card-title { display:block; max-width:100%; margin:0 0 10px; color:var(--mx-text) !important; font-size:15px; font-weight:700; line-height:1.25; text-decoration:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mx-listing-row .card-title:hover { color:var(--mx-secondary) !important; }
.mx-listing-row .badge { font-size:10px; }
.mx-listing-row strong,.mx-listing-row small { display:block; }
.mx-listing-row__seller { min-width:0; }
.mx-listing-row__seller .small { min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mx-listing-row__stock { min-width:0; }
.mx-listing-row__stock small { line-height:1.35; }
.mx-item-thumb { width:112px; height:112px; flex:0 0 112px; object-fit:cover; padding:3px; border:1px solid #345b7c; background:#04111d; box-shadow:inset 0 0 0 2px #071b2a; }
.mx-avatar { width:38px; height:38px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.mx-listing-row .mx-action { white-space:nowrap; }
.mx-game-theme .mx-old-title { display:none; }
.mx-item-heading { display:flex; gap:18px; align-items:center; margin:25px 0; }
.mx-item-heading h1 { font-size:26px; margin:0; color:var(--mx-text); }
.mx-item-heading .mx-world__eyebrow { margin:0 0 6px; }
.mx-item-icon { width:68px; height:68px; display:grid; place-items:center; background:#041627; border:1px solid #718256; box-shadow:inset 0 0 0 3px #162e43; flex-shrink:0; }
.mx-item-icon img { max-width:85%; max-height:85%; }
.mx-item-heading__server { margin-left:auto; font-size:12px; color:#b9d2e2; }
.mx-item-heading__server strong { color:var(--mx-secondary); }
.mx-immersive .mx-purchase-layout { align-items:flex-start; }
.mx-immersive .mx-offer-info { width:58%; }
.mx-immersive .mx-shop-column { width:42%; }
.mx-immersive main .card { border-radius:4px; border-color:#29577b; }
.mx-immersive .mx-offer-info .card-body > .section-title:first-child { display:none; }
.mx-immersive .mx-shop .btn-dark { background:linear-gradient(#f9dc74,#c88b25) !important; border:1px solid #ffe091 !important; color:#241808 !important; box-shadow:0 0 15px #ffc93e1a; border-radius:3px; }
.mx-immersive .mx-shop .btn-dark h5 { color:#241808 !important; letter-spacing:.5px; font-size:16px; margin:0; }
.mx-immersive .input_add_rem { border-radius:3px; border:1px solid #335e7c; padding:4px; }
.mx-immersive .mx-shop hr { margin-top:0; }
.mx-game-theme .mx-shop .card-body { padding:24px; }
.mx-game-theme .mx-exchange { margin-top:16px; }
.mx-exchange__columns,.mx-exchange__row { display:grid; grid-template-columns:1.6fr 1.1fr .8fr .8fr 1.1fr auto; align-items:center; gap:15px; padding:15px 18px; }
.mx-exchange__columns { font-size:10px; color:#93bad3; background:#10314c; }
.mx-game-theme main .mx-exchange__row { margin:0 !important; border:0; border-bottom:1px solid #23415a; border-radius:0; box-shadow:none; background:#041522d9 !important; font-size:12px; }
.mx-game-theme main .mx-exchange__row:nth-child(even) { background:#0b2234e6 !important; }
.mx-game-theme main .mx-exchange__row:hover { transform:none; background:#15344b !important; }
.mx-exchange__seller { display:flex; align-items:center; gap:10px; min-width:0; }
.mx-exchange__seller a { color:#f0f8ff; text-decoration:none; overflow-wrap:anywhere; }
.mx-exchange__row small { display:block; color:#9fbdd0; font-size:10px; margin-top:4px; }
.mx-exchange__row .mx-online { color:#7be9b2; }
.mx-exchange__row .mx-mobile-label { display:none; }
.mx-exchange .mx-action { padding:8px 12px; font-size:11px; }
.mx-game-theme main .btn-dark { color:var(--mx-ink) !important; }
.mx-game-theme main .btn-dark :is(h5,span) { color:var(--mx-ink) !important; }
.mx-game-theme main :is(h3,h4,h5,h6,.text-dark,.card-title),.mx-game-theme main .card,.mx-game-theme main .card-body { color:var(--mx-text) !important; }
.mx-game-theme main :is(a,button,input,select):focus-visible { outline:3px solid var(--mx-secondary); outline-offset:3px; }
@media(max-width:991px) {
 .mx-inventory__body { flex-direction:column; align-items:stretch; } .mx-search { width:100%; }
 .mx-immersive .mx-offer-info,.mx-immersive .mx-shop-column { width:100%; }
 .mx-listing-row { grid-template-columns:minmax(0,1.5fr) minmax(130px,.8fr) auto; min-height:136px; } .mx-listing-row__identity { grid-column:1 / -1; } .mx-item-thumb { width:104px; height:104px; flex-basis:104px; }
 .mx-exchange__columns { display:none; } .mx-exchange__row { grid-template-columns:1.2fr 1fr 1fr; }
 .mx-exchange__row .mx-mobile-label { display:block; } .mx-exchange__seller { grid-column:1 / -1; }
}
@media(max-width:600px) {
 .mx-game-theme .mx-world { min-height:290px; padding:26px 22px 38px; } .mx-game-theme .mx-world__content { max-width:100%; }
 .mx-game-theme .mx-world__background { object-position:65% center; opacity:.7; } .mx-game-theme .mx-world--compact { min-height:190px; }
 .mx-game-theme .mx-world h1 { font-size:29px; } .mx-game-theme .mx-world h2 { font-size:25px; }
 .mx-slot { width:72px; font-size:10px; } .mx-slots { gap:12px; } .mx-slot__icon { width:58px; height:58px; }
 .mx-inventory__body { padding:15px; gap:16px; } .mx-server-row { grid-template-columns:1fr auto; gap:14px; padding:15px; }
 .mx-server-row h3 { font-size:15px; } .mx-server-row .badge { font-size:10px; }
 .mx-item-heading__server { display:none; } .mx-item-heading h1 { font-size:23px; }
 .mx-exchange__row { grid-template-columns:1fr 1fr; gap:14px; padding:18px; } .mx-exchange__row .mx-action { grid-column:1 / -1; }
 .mx-listing-row { grid-template-columns:1fr 1fr; gap:14px; min-height:0; padding:14px; } .mx-listing-row__identity { grid-column:1 / -1; } .mx-listing-row__seller { grid-column:1 / -1; } .mx-listing-row .mx-action { grid-column:1 / -1; text-align:center; } .mx-item-thumb { width:92px; height:92px; flex-basis:92px; } .mx-listing-row .card-title { font-size:14px; }
 .mx-world--left-art .mx-world__content { margin-left:0; }
}


.mx-immersive .mx-server-row,.mx-immersive .mx-listing-row { border-radius:2px !important; }
.mx-seller-link { color:var(--mx-text) !important; text-decoration:none !important; position:relative; z-index:3; }
.mx-seller-link:hover .small { color:var(--mx-secondary); }
.mx-chat-action { background:#18a84a !important; border-color:#28c760 !important; color:#fff !important; }
.mx-chat-action:hover { background:#138c3d !important; color:#fff !important; }
.mx-exchange__row.mx-clickable-card { cursor:pointer; }
.mx-exchange__row.mx-clickable-card:hover { background:#0d2b41; }


/* V4: page atmosphere + themed shell */
body.mx-game-theme{position:relative;background:var(--mx-bg)!important;min-height:100vh}
body.mx-game-theme::before{content:"";position:fixed;inset:0;z-index:-2;background-image:linear-gradient(rgba(2,10,18,calc(1 - var(--mx-intensity))),rgba(2,10,18,calc(1 - var(--mx-intensity)))),var(--mx-page-background);background-size:cover;background-position:center;background-attachment:fixed;filter:saturate(.82) contrast(1.04);pointer-events:none}
body.mx-game-theme::after{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(2,9,17,.30),rgba(2,9,17,.58) 62%,rgba(2,9,17,.78));pointer-events:none}
.mx-game-theme main.app{background:transparent!important}
.mx-game-theme .navbar-glass{background:rgba(3,17,30,.88)!important;border-bottom:1px solid color-mix(in srgb,var(--mx-accent) 55%,transparent);box-shadow:0 10px 35px #0007;backdrop-filter:blur(16px) saturate(125%)}
.mx-game-theme .navbar-glass .footer-logo{filter:brightness(0) invert(1) drop-shadow(0 0 12px #58ddff20)}
.mx-game-theme .navbar-glass .nav-icon-link,.mx-game-theme .navbar-glass .nav-link,.mx-game-theme .navbar-glass .profile-name-text,.mx-game-theme .navbar-glass .profile-chevron{color:#d9edf8!important}
.mx-game-theme .mx-game-context{display:flex;align-items:center;gap:8px;margin-left:8px;padding:7px 11px;border-left:1px solid #4bbde255;color:#a9cfe3;max-width:330px;min-width:0;font-size:11px;letter-spacing:.35px}
.mx-game-theme .mx-game-context span{font-size:9px;letter-spacing:1.6px;color:var(--mx-accent);font-weight:800}.mx-game-theme .mx-game-context i{font-size:8px;opacity:.6}.mx-game-theme .mx-game-context strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-weight:600}
.mx-game-theme footer.footer{position:relative;background:linear-gradient(180deg,rgba(3,17,30,.96),rgba(2,10,18,.985))!important;color:#c9deea!important;border-top:1px solid #3d86ad66;box-shadow:0 -16px 45px #0006;backdrop-filter:blur(18px)}
.mx-game-theme footer.footer::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,var(--mx-accent) 50%,transparent) top/100% 1px no-repeat;opacity:.55;pointer-events:none}
.mx-game-theme footer.footer .footer-logo{filter:brightness(0) invert(1);opacity:.96}.mx-game-theme footer.footer :is(h5,a){color:#dceefa!important}.mx-game-theme footer.footer a:hover{color:var(--mx-secondary)!important}
.mx-game-theme .mx-footer-game{display:inline-flex;flex-direction:column;margin:10px 0 12px;padding:7px 10px;border:1px solid #3d86ad66;background:#071a2a;border-radius:4px}.mx-game-theme .mx-footer-game span{font-size:9px;letter-spacing:1.3px;text-transform:uppercase;color:var(--mx-accent)}.mx-game-theme .mx-footer-game strong{font-size:12px;color:#fff}
@media(max-width:1100px){.mx-game-theme .mx-game-context{display:none}}
