.notification-center-button{position:relative;display:grid;width:48px;height:48px;place-items:center;border:1px solid rgba(255,255,255,.72);border-radius:16px;color:#10384b;background:rgba(255,255,255,.9);box-shadow:0 10px 28px rgba(6,39,56,.14);cursor:pointer}.notification-center-button>span{width:20px;height:24px;border:3px solid currentColor;border-top-left-radius:12px;border-top-right-radius:12px;border-bottom:0;font-size:0}.notification-center-button>span:after{content:"";display:block;width:8px;height:3px;margin:22px auto 0;border-radius:4px;background:currentColor}.notification-center-button i{position:absolute;top:-5px;right:-5px;display:grid;min-width:22px;height:22px;place-items:center;padding:0 5px;border:2px solid #fff;border-radius:999px;color:#fff;background:#ef4d53;font-size:9px;font-style:normal;font-weight:900}.notification-center{position:fixed;z-index:92;top:86px;right:22px;display:flex;width:min(390px,calc(100vw - 28px));max-height:min(650px,calc(100vh - 110px));overflow:hidden;border:1px solid rgba(13,69,88,.12);border-radius:24px;background:rgba(250,255,253,.98);box-shadow:0 30px 85px rgba(4,28,40,.28);opacity:0;pointer-events:none;transform:translateY(-10px) scale(.98);transition:.18s ease;flex-direction:column}.notification-center.is-open{opacity:1;pointer-events:auto;transform:none}.notification-center>header{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 14px;border-bottom:1px solid #dcebea}.notification-center>header span{display:grid}.notification-center>header small{color:#15916d;font-size:8px;font-weight:900;letter-spacing:.14em}.notification-center>header b{font-size:21px}.notification-center>header div{display:flex;gap:6px}.notification-center>header button{min-height:34px;padding:0 10px;border:0;border-radius:10px;color:#315d6b;background:#eaf4f3;font-size:9px;font-weight:850;cursor:pointer}.notification-center-list{display:grid;gap:8px;padding:12px;overflow:auto}.notification-card{display:grid;grid-template-columns:40px 1fr auto;gap:10px;padding:12px;border:1px solid #dcebea;border-radius:15px;background:#fff}.notification-card.is-unread{border-color:#8bd9c0;background:#f1fff9}.notification-card__icon{display:grid;width:40px;height:40px;place-items:center;border-radius:13px;color:#fff;background:linear-gradient(145deg,#21a479,#087fa4);font-size:15px;font-weight:900}.notification-card.is-patch .notification-card__icon{background:linear-gradient(145deg,#ffca37,#ef7b2f)}.notification-card span{min-width:0}.notification-card b{display:block;color:#123c4e;font-size:12px}.notification-card p{margin:4px 0 0;color:#65808a;font-size:9px;line-height:1.45}.notification-card time{display:block;margin-top:5px;color:#8ca0a7;font-size:8px}.notification-card a,.notification-card button{align-self:center;padding:8px;border:0;border-radius:9px;color:#087eab;background:#e8f6fa;font-size:8px;font-weight:850;cursor:pointer}.notification-empty{padding:42px 18px;text-align:center;color:#71909a}.notification-empty b{display:block;color:#173f4f;font-size:16px}.notification-empty p{font-size:10px}
.marketplace-modal{position:fixed;z-index:180;inset:0;display:none;place-items:center;padding:22px}.marketplace-modal.is-open{display:grid}.marketplace-modal__backdrop{position:absolute;inset:0;background:rgba(4,26,37,.68);backdrop-filter:blur(12px)}.marketplace-shell{position:relative;display:grid;grid-template-rows:auto auto minmax(0,1fr);width:min(1180px,100%);height:min(790px,calc(100vh - 44px));overflow:hidden;border:1px solid rgba(255,255,255,.7);border-radius:30px;color:#123947;background:#f4faf7;box-shadow:0 42px 120px rgba(0,16,26,.4)}.marketplace-head{display:flex;align-items:center;gap:24px;padding:22px 25px;color:#fff;background:radial-gradient(circle at 78% 20%,rgba(255,211,60,.28),transparent 26%),linear-gradient(120deg,#0b4960,#087b72)}.marketplace-head>span{display:grid;margin-right:auto}.marketplace-head small{color:#8ce7cd;font-size:8px;font-weight:900;letter-spacing:.16em}.marketplace-head h2{margin:4px 0 0;font-size:28px;letter-spacing:-.04em}.marketplace-head>button{display:grid;width:42px;height:42px;place-items:center;border:0;border-radius:13px;color:#fff;background:rgba(255,255,255,.13);font-size:24px;cursor:pointer}.marketplace-head-stats{display:flex;gap:8px}.marketplace-head-stats span{padding:8px 11px;border-radius:11px;background:rgba(255,255,255,.1);font-size:9px}.marketplace-head-stats b{display:block;font-size:14px}.marketplace-tabs{display:flex;gap:6px;padding:10px 18px;border-bottom:1px solid #dce8e5;background:#fff}.marketplace-tabs button{min-height:40px;padding:0 18px;border:0;border-radius:12px;color:#557581;background:transparent;font-size:10px;font-weight:900;cursor:pointer}.marketplace-tabs button.is-active{color:#087e78;background:#e7f7f2}.marketplace-body{min-height:0;overflow:auto;padding:18px}.marketplace-toolbar{display:grid;grid-template-columns:minmax(200px,1.5fr) repeat(2,minmax(130px,.5fr));gap:9px;margin-bottom:14px}.marketplace-toolbar input,.marketplace-toolbar select,.marketplace-sell-form input,.marketplace-sell-form select{min-height:44px;border:1px solid #d3e3e1;border-radius:12px;padding:0 12px;color:#163c4b;background:#fff;outline:none}.marketplace-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.market-card{display:grid;grid-template-rows:154px auto;overflow:hidden;border:1px solid #d9e7e5;border-radius:19px;background:#fff;box-shadow:0 8px 24px rgba(3,41,55,.06)}.market-card__visual{position:relative;display:grid;place-items:center;background:radial-gradient(circle,#fff 0 35%,#e7f5ef 36%)}.market-card__visual img{width:132px;height:132px;object-fit:contain;filter:drop-shadow(0 13px 12px rgba(2,37,48,.2))}.market-card__visual small{position:absolute;top:10px;left:10px;padding:6px 8px;border-radius:8px;color:#fff;background:#0b7d79;font-size:7px;font-weight:900}.market-card__body{display:grid;gap:8px;padding:13px}.market-card h3{margin:0;font-size:15px}.market-card p{min-height:27px;margin:0;color:#6d858e;font-size:9px;line-height:1.45}.market-card__meta{display:flex;justify-content:space-between;color:#6a858e;font-size:8px}.market-card__price{display:flex;align-items:center;justify-content:space-between}.market-card__price strong{font-size:17px}.market-card__actions{display:flex;gap:6px}.market-card button{min-height:36px;flex:1;border:0;border-radius:10px;color:#fff;background:#168f70;font-size:9px;font-weight:900;cursor:pointer}.market-card button.is-secondary{color:#287183;background:#e8f4f4}.market-empty{grid-column:1/-1;padding:70px 20px;text-align:center;color:#69858e}.market-empty b{display:block;color:#173c49;font-size:20px}.marketplace-sell-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.7fr);gap:16px}.marketplace-sell-assets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.market-sell-asset{display:grid;grid-template-columns:54px 1fr;gap:10px;align-items:center;padding:10px;border:1px solid #d8e6e4;border-radius:15px;background:#fff;text-align:left;cursor:pointer}.market-sell-asset.is-active{border-color:#1ba77d;box-shadow:0 0 0 3px rgba(27,167,125,.11)}.market-sell-asset img{width:52px;height:52px;object-fit:contain}.market-sell-asset b{display:block;font-size:10px}.market-sell-asset small{color:#75909a;font-size:8px}.marketplace-sell-form{position:sticky;top:0;display:grid;align-content:start;gap:12px;padding:18px;border:1px solid #d8e6e4;border-radius:20px;background:#fff}.marketplace-sell-form h3{margin:0}.marketplace-sell-form label{display:grid;gap:5px;color:#55727b;font-size:9px;font-weight:850}.marketplace-sell-form button{min-height:46px;border:0;border-radius:13px;color:#fff;background:linear-gradient(135deg,#17a378,#0a7c8e);font-size:10px;font-weight:900;cursor:pointer}.market-fee-note{padding:11px;border-radius:12px;color:#56737c;background:#eef7f4;font-size:8px;line-height:1.5}.market-history{margin:0 0 14px;padding:13px 15px;border:1px solid #d6e6e3;border-radius:15px;background:#fff}.market-history b{font-size:11px}.market-history span{display:flex;gap:16px;margin-top:7px;color:#56747d;font-size:9px}
@media(max-width:900px){.marketplace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.marketplace-sell-layout{grid-template-columns:1fr}.marketplace-sell-assets{grid-template-columns:repeat(2,minmax(0,1fr))}.marketplace-sell-form{position:static}.marketplace-head-stats{display:none}}
@media(max-width:620px){.notification-center-button{position:absolute;top:8px;right:64px;width:42px;height:42px}.notification-center{top:60px;right:10px}.marketplace-modal{padding:0}.marketplace-shell{width:100%;height:100%;border-radius:0}.marketplace-head{padding:16px}.marketplace-head h2{font-size:23px}.marketplace-tabs{padding:8px}.marketplace-tabs button{flex:1;padding:0 8px}.marketplace-body{padding:10px}.marketplace-toolbar{grid-template-columns:1fr}.marketplace-grid{grid-template-columns:1fr}.marketplace-sell-assets{grid-template-columns:1fr}.market-card{grid-template-columns:115px 1fr;grid-template-rows:auto}.market-card__visual{min-height:150px}.market-card__visual img{width:105px;height:105px}}
.market-card__quantity{display:flex;align-items:center;justify-content:space-between;color:#6a858e;font-size:8px;font-weight:800}.market-card__quantity input{width:64px;height:32px;border:1px solid #d3e3e1;border-radius:9px;padding:0 8px;color:#173d4a;background:#fff}
.has-marketplace-open{overflow:hidden}
.marketplace-modal[aria-busy="true"] .marketplace-head:after{content:"Сохраняем…";padding:7px 10px;border-radius:10px;color:#0b655f;background:#dcfff4;font-size:8px;font-weight:900;letter-spacing:.08em}.market-card button:disabled,.marketplace-sell-form button:disabled{cursor:wait;opacity:.55;filter:saturate(.55)}
.marketplace-sell-assets{grid-auto-rows:minmax(78px,auto);align-content:start}.market-history span{flex-wrap:wrap;row-gap:6px}
.market-price-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.market-price-preview span{display:grid;gap:3px;padding:9px;border:1px solid #dce9e6;border-radius:11px;color:#6b858d;background:#f8fcfa;font-size:8px}.market-price-preview b{color:#123d49;font-size:10px}.market-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px}.market-pagination button{min-height:38px;padding:0 14px;border:0;border-radius:11px;color:#fff;background:#168f70;font-size:9px;font-weight:900;cursor:pointer}.market-pagination button:disabled{cursor:default;opacity:.38}.market-pagination span{color:#607b84;font-size:9px}.market-card.is-quarantined{border-color:#ef9c9c}.market-card.is-quarantined .market-card__visual small{background:#c94747}.market-sell-asset>span:first-child{display:grid;min-height:54px;place-items:center}.market-sell-asset>span:first-child>b{display:grid;width:38px;height:38px;place-items:center;border-radius:12px;color:#52747e;background:#eaf3f1}.market-card__visual>b{display:grid;width:58px;height:58px;place-items:center;border-radius:18px;color:#5f7f87;background:#fff;font-size:24px}
.game-screen .notification-center-button{position:fixed;z-index:26;top:calc(max(18px,env(safe-area-inset-top)) + 8px);left:calc(max(18px,env(safe-area-inset-left)) + 398px);width:42px;height:42px;border-color:#d3e3e3;background:rgba(250,253,251,.96);box-shadow:0 5px 14px rgba(6,39,56,.1);pointer-events:auto}.world-notification-menu-icon{display:grid!important;width:27px!important;height:27px!important;place-items:center;border:2px solid currentColor;border-radius:50%;font-size:11px!important;font-weight:950;line-height:1}
@media(min-width:761px) and (max-width:1180px){.game-screen .notification-center-button{left:calc(max(18px,env(safe-area-inset-left)) + 328px)}}
@media(max-width:760px){.game-screen .notification-center-button{display:none}.notification-center{top:10px;max-height:calc(100dvh - 20px)}}
@media(max-width:620px){.market-price-preview{grid-template-columns:1fr}.market-pagination{justify-content:space-between}.market-pagination span{text-align:center}.market-pagination button{padding:0 10px}}
.market-history{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,300px);gap:18px;align-items:end}.market-history>div:first-child{min-width:0}.market-history__chart{display:flex;height:58px;align-items:end;gap:3px;padding:7px 8px 0;border-bottom:1px solid #cddfdb;background:linear-gradient(180deg,rgba(18,163,121,.08),transparent);overflow:hidden}.market-history__chart i{position:relative;display:block;min-width:3px;height:var(--market-point);flex:1;border-radius:4px 4px 0 0;background:linear-gradient(180deg,#20b889,#087f88);opacity:.82}.market-history__chart i:hover{opacity:1}.market-history__chart span{position:absolute;left:50%;bottom:calc(100% + 3px);display:none;padding:3px 5px;border-radius:6px;color:#fff;background:#123d49;font-size:7px;font-style:normal;white-space:nowrap;transform:translateX(-50%)}.market-history__chart i:hover span{display:block}.market-card__price small{max-width:52%;text-align:right;line-height:1.25}.market-card__actions button:first-child{min-width:0}.market-card__quantity input:focus,.marketplace-toolbar input:focus,.marketplace-toolbar select:focus,.marketplace-sell-form input:focus,.marketplace-sell-form select:focus{border-color:#19a57e;box-shadow:0 0 0 3px rgba(25,165,126,.13)}
@media(max-width:760px){.market-history{grid-template-columns:1fr}.market-history__chart{height:48px}.market-card__actions{flex-wrap:wrap}.market-card__actions button{min-width:76px}.market-card h3{font-size:14px}.market-card p{font-size:10px}.market-card__meta,.market-card__quantity{font-size:9px}}

/* Market catalog and long-term analytics */
.market-sell-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:14px}.market-sell-categories button{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center;min-height:64px;padding:10px 12px;border:1px solid #d7e6e3;border-radius:15px;color:#345b68;background:#fff;text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.market-sell-categories button:hover{border-color:#8ccfbb;transform:translateY(-1px)}.market-sell-categories button.is-active{border-color:#18a47a;color:#0b6959;background:linear-gradient(135deg,#effcf7,#fff);box-shadow:0 0 0 3px rgba(24,164,122,.11)}.market-sell-categories i{display:grid;width:38px;height:38px;place-items:center;border-radius:12px;color:#fff;background:linear-gradient(145deg,#0d7f91,#20a87a);font-size:9px;font-style:normal;font-weight:950;letter-spacing:.08em}.market-sell-categories span{display:grid;gap:3px;min-width:0}.market-sell-categories b{font-size:11px}.market-sell-categories small{color:#789098;font-size:8px}.marketplace-sell-form__eyebrow{color:#12916f;font-size:8px;font-weight:950;letter-spacing:.12em}.marketplace-sell-form h3{font-size:18px;line-height:1.2}
.market-history{display:block;margin-bottom:16px;padding:0;overflow:hidden;border:1px solid #d4e5e1;border-radius:20px;background:#fff;box-shadow:0 9px 30px rgba(5,52,62,.06)}.market-history>header{display:grid;grid-template-columns:minmax(180px,1fr) auto 38px;gap:14px;align-items:center;padding:15px 17px;border-bottom:1px solid #e1ece9;background:linear-gradient(120deg,#f6fcf9,#eef8f6)}.market-history>header>span{display:grid;gap:3px;margin:0}.market-history>header small{color:#15916d;font-size:7px;font-weight:950;letter-spacing:.14em}.market-history>header b{font-size:15px}.market-history>header>button{display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:10px;color:#59777e;background:#e5f0ed;font-size:18px;cursor:pointer}.market-history__periods{display:flex;gap:4px}.market-history__periods button{min-height:32px;padding:0 10px;border:0;border-radius:9px;color:#5a777f;background:#e7f1ef;font-size:8px;font-weight:900;cursor:pointer}.market-history__periods button.is-active{color:#fff;background:#148e72}.market-history__stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:12px 14px}.market-history__stats>span{display:grid;gap:3px;margin:0;padding:10px 11px;border:1px solid #e0ebe8;border-radius:12px;background:#fbfdfc}.market-history__stats small{color:#718990;font-size:7px}.market-history__stats b{font-size:12px}.market-history__stats em{color:#779096;font-size:7px;font-style:normal}.market-history__content{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px;padding:0 14px 14px}.market-history__chart-wrap{min-width:0;padding:10px 12px 7px;border:1px solid #e0ebe8;border-radius:15px;background:linear-gradient(180deg,#fbfefc,#f4faf7)}.market-history .market-history__chart{display:block;width:100%;height:auto;min-height:150px;padding:0;overflow:visible;border:0;background:none}.market-history__area{fill:url(#marketHistoryArea)}.market-history__line{fill:none;stroke:#119476;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.market-history__volume{fill:#f3b83f;opacity:.32}.market-history__chart circle{fill:#fff;stroke:#119476;stroke-width:3}.market-history__chart text{fill:#748b92;font-size:9px;font-weight:750}.market-history__legend{display:flex;gap:14px;justify-content:flex-end;color:#6d858d;font-size:8px}.market-history__legend span{display:flex;gap:5px;align-items:center;margin:0}.market-history__legend i{display:block;width:14px;height:3px;border-radius:4px;background:#119476}.market-history__legend span+span i{height:7px;background:#f3b83f;opacity:.7}.market-history__content aside{padding:13px;border:1px solid #e0ebe8;border-radius:15px;background:#fbfdfc}.market-history__content aside>small{color:#6e878e;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.market-history__content ol{display:grid;gap:7px;margin:9px 0 0;padding:0;list-style:none;counter-reset:market-peak}.market-history__content li{display:grid;grid-template-columns:1fr auto;gap:3px 8px;padding:8px;border-radius:10px;background:#edf7f3;counter-increment:market-peak}.market-history__content li time{font-size:8px;font-weight:850}.market-history__content li b{font-size:9px}.market-history__content li span{grid-column:1/-1;display:block;margin:0;color:#718a91;font-size:7px}.market-history__transactions{border-top:1px solid #e2ece9}.market-history__transactions summary{display:flex;justify-content:space-between;padding:12px 16px;color:#2a5664;font-size:9px;font-weight:900;cursor:pointer}.market-history__transactions summary span{display:block;margin:0;color:#7a9096;font-size:8px;font-weight:600}.market-history__transactions>div{max-height:220px;overflow:auto;padding:0 14px 14px}.market-history__transactions table{width:100%;border-collapse:collapse;font-size:8px}.market-history__transactions th,.market-history__transactions td{padding:8px;border-bottom:1px solid #e7efed;text-align:left}.market-history__transactions th{position:sticky;top:0;color:#688088;background:#f7fbf9}.market-history__empty{display:grid;gap:6px;padding:35px 18px;text-align:center}.market-history__empty span{display:block;margin:0;color:#71888f;font-size:9px}.market-history--empty>header{grid-template-columns:1fr 38px}.market-history--empty .market-history__periods{grid-row:2;grid-column:1/-1}
@media(max-width:900px){.market-sell-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.market-history__stats{grid-template-columns:repeat(3,minmax(0,1fr))}.market-history__content{grid-template-columns:1fr}.market-history__content aside ol{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.market-sell-categories{gap:6px}.market-sell-categories button{grid-template-columns:31px 1fr;min-height:56px;padding:8px}.market-sell-categories i{width:31px;height:31px}.market-history>header{grid-template-columns:1fr 34px}.market-history>header .market-history__periods{grid-row:2;grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr)}.market-history__periods button{padding:0 4px}.market-history__stats{grid-template-columns:repeat(2,minmax(0,1fr));padding:9px}.market-history__content{padding:0 9px 9px}.market-history__content aside ol{grid-template-columns:1fr}.market-history .market-history__chart{min-height:128px}.market-history__transactions summary span{display:none}}
