/* Minimal integration rules; layout and visual components come from source CSS. */
main{display:block}#page_content_body{min-width:0;min-height:75vh}img{object-fit:contain}button,a,input{touch-action:manipulation}a:not([href]){cursor:pointer}.dropdown-menu.show{display:block}.native-note{font-size:13px;line-height:1.6;color:#b19c9c;padding:15px;white-space:pre-wrap;width:100%}.native-feedback{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;background:#493a3a;border:1px solid #b56a6a;padding:15px 24px;color:#eee;z-index:3000;box-shadow:0 4px 15px #0008}.native-more{display:block;margin:20px auto;width:100%;flex-basis:100%}.native-serial{position:absolute;right:7px;bottom:5px;font-size:12px;color:#ccc}.native-chart-title{color:#ddd;font-size:16px;padding:12px 18px;border-bottom:1px solid #444}.native-bar{display:grid;grid-template-columns:minmax(90px,40%) 1fr 68px;gap:10px;align-items:center;margin:18px;font-size:11px}.native-bar>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.native-bar>div{height:12px;background:#302727}.native-bar i{display:block;height:100%;background:#dd0000}.native-bar b{text-align:right;color:#ddd;font-weight:500}.player_page_history_chart_container{min-height:360px}.native-trade-slot{position:relative;background:#342727;min-height:145px;padding:6px;text-align:center;font-size:11px;overflow:hidden}.native-trade-slot.empty{border:1px solid #493939}.native-trade-slot img{max-width:100%;height:100px}.native-remove{position:absolute;right:0;top:0;border:0;background:#5c4545;color:#fff}.native-calc-pick{min-width:0}.native-calc-pick>.mix_item{width:100%!important;margin-bottom:0!important}.native-calc-pick>.d-flex{gap:3px;margin:4px 0 15px}.native-calc-pick button{font-size:11px}.native-calc-pick{width:18.5%}body[data-page="home"] .swiper{overflow-x:auto;scrollbar-width:none}body[data-page="home"] .swiper-wrapper{gap:12px;transform:none!important}body[data-page="home"] .swiper-slide{width:var(--gen-items-slider-card-width,140px);height:auto}body:not([data-page="home"]) #page_background{display:none}body[data-page="calculator"] #calculator-results{display:flex;flex-wrap:wrap;justify-content:space-between}body[data-page="profile"] .mix_item img{height:100px;width:100px}.item-native-chart{width:100%;height:330px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 65px,#ffffff0a 66px)}.item-native-chart path{fill:none;stroke:#dd0000;stroke-width:2;vector-effect:non-scaling-stroke}.item-native-chart circle{fill:#dd0000}.native-chart-label{font-size:12px;padding:10px 20px;color:#aaa}@media(max-width:767px){.native-calc-pick{width:31%}.native-bar{margin:12px;grid-template-columns:40% 1fr 60px}#page_content_body{width:100%!important}.native-trade-slot{min-height:110px}.native-trade-slot img{height:70px}.navbar-collapse.show{display:block}}@media(max-width:450px){.native-calc-pick{width:48%}.native-trade-slot{min-height:95px}.native-trade-slot img{height:60px}}

/* Red decorative backdrop */
body[data-page="home"] #page_background{background-color:#402b2b;background-blend-mode:luminosity}
/* Profile history follows the original two-column statistics panel. */
body[data-page="profile"] .player_page_history_chart_container{background:#3e3232;display:flex;flex-direction:column;padding:18px 18px 8px;min-width:0;min-height:420px}.profile-chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 13px;flex-wrap:wrap}.profile-chart-ranges{display:flex;gap:5px}.profile-chart-ranges button{border:0;border-radius:0;background:#5a4c4c;color:#ddd;padding:1px 7px;font-size:12px;line-height:21px}.profile-chart-ranges button.active{background:#111;color:#fff;font-weight:700}.profile-chart-dates{display:flex;align-items:center;gap:6px;font-size:11px}.profile-chart-dates input{background:#4b4141;border:1px solid #655454;color:#ddd;font-size:11px;padding:1px 3px;width:110px;color-scheme:dark}.profile-chart-plot{flex:1;display:flex;align-items:center;min-height:285px}.profile-chart-plot svg{width:100%;height:100%;min-height:285px;overflow:visible}.profile-chart-plot text{fill:#ddd;font-size:11px}.profile-grid{stroke:#ffffff16;stroke-width:1}.profile-chart-plot path{fill:none;stroke-width:2;vector-effect:non-scaling-stroke}.profile-chart-overview{margin:4px 18px 0 48px;border-top:1px solid #ffffff20;border-bottom:1px solid #ffffff20;height:44px;background:#ffffff05;position:relative}.profile-chart-overview>span{position:absolute;top:4px;left:5px;font-size:10px;color:#a89797}.profile-chart-overview>div{display:flex;align-items:flex-end;justify-content:space-between;height:100%}.profile-chart-overview i{width:3px;background:#c5b7b7;display:block}.profile-chart-legend{display:flex;justify-content:center;gap:20px;margin:12px 0 2px}.profile-chart-legend button{background:none;border:0;color:#ddd;font-size:12px;font-weight:600;padding:0;display:flex;align-items:center;gap:6px}.profile-chart-legend button:before{content:'';width:16px;height:2px;background:var(--series-color)}.profile-chart-legend button[aria-pressed="false"]{opacity:.4}.profile-chart-footnote{font-size:10px;color:#b8a4a4;text-align:center;padding:5px 0}.stat-data{font-variant-numeric:tabular-nums}.player_info_grid .stat-data{font-weight:700}@media(max-width:600px){body[data-page="profile"] .player_page_history_chart_container{padding:12px 8px;min-height:360px}.profile-chart-toolbar{gap:8px}.profile-chart-dates input{width:108px}.profile-chart-plot,.profile-chart-plot svg{min-height:245px}.profile-chart-legend{gap:12px}}
.native-profile-link{display:inline-flex;align-items:center;margin-left:9px;color:#ccc}.native-profile-link svg{width:23px;height:23px}.native-profile-link:hover{color:#fff}.ad-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ad-editor-grid>label{min-width:0}.ad-items{display:flex;gap:8px;flex-wrap:wrap}.ad-items .mix_item{width:calc(50% - 4px)!important}.ad-message{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:600px){.ad-editor-grid{grid-template-columns:1fr}}
#create-ad,#trade-ad-form button,#trade-ad-list .btn{background:#d90000;border-color:#d90000;color:#fff}#ad-load{white-space:nowrap;min-width:125px}#ad-error{padding-left:0}
/* Interactive plot and draggable timeline. */
.profile-chart-plot{position:relative;display:block;min-height:285px;touch-action:pan-y}.profile-chart-svg{position:relative;width:100%;height:100%;min-height:285px}.profile-chart-svg>svg{display:block;width:100%;height:100%;min-height:285px}.profile-chart-plot .profile-chart-crosshair{stroke:#aaa;stroke-width:1;stroke-dasharray:4 3}.profile-chart-plot .profile-chart-zoom-box{fill:#ffffff19;stroke:#ffffff35;stroke-width:1;pointer-events:none}.profile-chart-hit{cursor:crosshair;touch-action:none}.profile-chart-plot .profile-data-line{stroke-width:1.8}.profile-grid.vertical{opacity:.4}.profile-chart-tooltip{position:absolute;z-index:5;min-width:165px;max-width:95%;background:#211b1bf5;border:1px solid #887171;border-radius:3px;padding:9px 12px;box-shadow:0 3px 10px #0005;pointer-events:none;font-size:12px;color:#eee;line-height:1.7}.profile-chart-tooltip strong{display:block;font-size:11px;font-weight:500;margin-bottom:3px}.profile-chart-empty{position:absolute;inset:40% 10% auto;text-align:center;font-size:13px;color:#c4b3b3}.profile-chart-navigator{position:relative;height:45px;margin:5px 5.25% 0 8.25%;border-top:1px solid #ffffff20;border-bottom:1px solid #ffffff20;background:#ffffff05;touch-action:none;user-select:none}.profile-chart-nav-svg,.profile-chart-nav-svg svg{width:100%;height:100%;display:block}.profile-chart-nav-svg path{fill:none;stroke:#c3c9d0;stroke-width:1;vector-effect:non-scaling-stroke}.profile-chart-nav-svg circle{fill:#c3c9d0}.profile-chart-nav-window{position:absolute;top:0;height:100%;background:#e3d3d322;border-left:1px solid #b5a5a5;border-right:1px solid #b5a5a5;cursor:grab;min-width:2px}.profile-chart-handle{position:absolute;top:10px;height:24px;width:12px;padding:0;background:#695c5c;border:1px solid #a69999;color:#eee;font-size:10px;cursor:ew-resize;line-height:19px;touch-action:none}.profile-chart-handle.start{left:-6px}.profile-chart-handle.end{right:-6px}.profile-chart-handle:focus-visible{outline:2px solid #ff8888}.profile-chart-footnote{overflow-wrap:anywhere}.profile-chart-legend{flex-wrap:wrap;gap:10px 20px}@media(max-width:600px){.profile-chart-svg,.profile-chart-svg>svg{min-height:245px}.profile-chart-tooltip{font-size:11px;min-width:145px}}
.terrazim-verified-badge{display:inline-block!important;width:16px!important;height:16px!important;min-height:0!important;margin-left:5px;vertical-align:-2px;object-fit:contain;flex:none}.page_title .terrazim-verified-badge{width:24px!important;height:24px!important;vertical-align:-3px;margin-left:8px}
h6.verified-name{display:flex;align-items:center}h6.verified-name .native-username{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}h6.verified-name .terrazim-verified-badge{flex:none}
body[data-page="item"] .item_page_chart_container{min-height:420px!important;background:#3e3232;padding:18px}.native-owner-tabs button{border:0;color:#ccc;background:#382f2f}.native-owner-tabs button.active{color:white;border-bottom:2px solid #aaa;background:#443939}.native-owner-table{font-size:13px}.native-owner-table th button{background:none;border:0;color:#c7b2b2;padding:5px 0;white-space:nowrap}.native-owner-table td{vertical-align:middle;white-space:nowrap}.native-owner-table .native-owner-avatar{width:28px!important;height:28px!important;margin-right:8px}.native-owner-table a{color:#ddd}#native-item-ownership input,#native-item-ownership select{margin-left:5px;max-width:180px}#native-item-ownership .btn{background:#d90000;border-color:#d90000;color:white}.ownership-stat-box{border-top-color:#df0000!important}.ownership-stat-box .value-stat-header{color:#d78b8b}
/* Item charts need a content-sized panel: the original fixed height clipped
   the navigator and legend when the SVG expanded to the panel's full height. */
body[data-page="item"] .item_page_chart_container{height:auto!important;min-height:0!important;min-width:0;box-sizing:border-box;padding:16px 18px 12px}
body[data-page="item"] .item_page_chart_container.active{display:flex;flex-direction:column;gap:0}
body[data-page="item"] .item_page_chart_container:not(.active){display:none}
body[data-page="item"] .profile-chart-toolbar{flex:none;min-width:0;padding-bottom:10px;gap:10px}
body[data-page="item"] .profile-chart-plot{flex:none;height:clamp(260px,28vw,350px);min-height:0;width:100%;min-width:0}
body[data-page="item"] .profile-chart-svg{height:100%;min-height:0}
body[data-page="item"] .profile-chart-svg>svg{height:100%;min-height:0;overflow:hidden}
body[data-page="item"] .profile-chart-navigator{flex:none;height:42px;margin-top:8px;margin-bottom:2px}
body[data-page="item"] .profile-chart-legend{flex:none;margin:12px 0 5px}
body[data-page="item"] .profile-chart-footnote{flex:none;padding:4px 8px;line-height:1.5}
body[data-page="item"] #chart_tabs{margin-bottom:0}
body[data-page="item"] #native-item-ownership{clear:both;padding-top:8px}
@media(max-width:600px){body[data-page="item"] .item_page_chart_container{padding:12px 8px 10px}body[data-page="item"] .profile-chart-plot{height:255px}body[data-page="item"] .profile-chart-toolbar{align-items:flex-start}body[data-page="item"] .profile-chart-dates{margin-left:auto}body[data-page="item"] .profile-chart-legend{font-size:11px}}
#player_online_status[data-presence="Online"]{color:#67c842!important}#player_online_status[data-presence="In Game"]{color:#ffb259!important}#player_online_status[data-presence="In Studio"]{color:#d896fa!important}#player_online_status[data-presence="Offline"],#player_online_status[data-presence="Unknown"]{color:#b9aaaa!important}
/* Classic player trade ads and four-slot creation layout. */
.trade-page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.trade-page-heading h1{margin-bottom:4px}.trade-page-heading .page_subtitle{margin:0}.trade-board .btn,.trade-creator .btn{background:#e00000;border:0;color:#fff;padding:6px 16px}.trade-board-banner{display:grid;grid-template-columns:198px 1fr;background:linear-gradient(100deg,#940000,#350000);min-height:166px;margin-bottom:16px}.trade-banner-avatar{background:#ffffff14;display:flex;align-items:center;justify-content:center;overflow:hidden}.trade-banner-avatar img{width:100%;height:166px}.trade-banner-avatar>span{font-size:65px;color:#ddd}.trade-board-banner>div:last-child{padding:18px 16px 16px}.trade-board-banner h3{font-size:23px;color:#eee}.trade-board-banner p{margin:16px 0 28px;color:#ddd}.trade-banner-actions{display:flex;gap:16px;flex-wrap:wrap}.trade-banner-actions .btn{min-width:180px;font-size:16px;font-weight:600}.trade-filter-panel{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:16px;background:#352c2c;border-radius:4px;margin-bottom:22px}.trade-filter-panel h3{font-size:23px;margin-bottom:2px}.trade-filter-panel small{display:block;color:#bca6a6}.trade-filter-panel input{background:#211b1b;border:0;color:#eee;height:40px;max-width:210px}.trade-pagination{display:flex;gap:5px;margin:22px 0;flex-wrap:wrap}.trade-pagination button{border:0;border-radius:3px;background:#483939;color:#eee;min-width:32px;height:31px}.trade-pagination button.active{background:#211a1a;border:1px solid #a34545}.trade-pagination button:disabled{opacity:.4}.trade-ad-card{margin:24px 0;background:#302727;box-shadow:0 2px 8px #0002}.trade-ad-card header{display:flex;justify-content:space-between;align-items:center;background:#211b1b;padding:5px 16px;gap:10px}.trade-ad-identity{display:flex;align-items:center;gap:12px;color:#eee;font-size:14px;min-width:0}.trade-ad-identity>img{width:32px;height:32px}.trade-ad-identity small{display:block;font-size:11px;color:#a58c8c}.trade-ad-card header .btn{font-size:12px;padding:5px 10px}.trade-ad-sides{display:grid;grid-template-columns:1fr 1fr;gap:7.5%;padding:12px 25px}.trade-ad-sides>div{min-width:0}.trade-ad-sides h6{text-align:center;font-weight:700;color:#eee;margin-bottom:10px}.trade-slot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.trade-item-slot{position:relative;background:#352d2d;aspect-ratio:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:3px;overflow:hidden}.trade-item-slot img{width:100%;height:100%;object-fit:contain}.trade-item-slot a{width:100%;height:100%}.trade-item-slot.empty{background:#382e2e}.trade-item-slot>button{position:absolute;right:0;top:0;border:0;background:#231a1ae6;color:#eee;padding:0 6px;line-height:23px}.trade-slot-serial{position:absolute;bottom:1px;right:4px;color:#bbb;font-size:10px}.trade-side-totals{text-align:center;margin:12px 0 2px;color:#bdaaaa;font-size:12px;line-height:1.9}.trade-side-totals strong{color:#ff7777;font-size:16px;margin-left:5px}.trade-side-totals strong.trade-rap{color:#58bb45}.trade-ad-details{padding:14px 20px;border-top:1px solid #4a3939;white-space:pre-wrap;overflow-wrap:anywhere}.trade-tag-symbol{font-size:36px;line-height:1.1;color:#ee8888}.trade-tag-slot strong{font-size:14px;text-transform:uppercase;color:#eee;font-weight:800;text-align:center;text-shadow:1px 2px #000}.trade-ad-usage{display:grid;grid-template-columns:1fr 1fr;text-align:center;background:#483b3b;padding:10px;margin:20px 0 24px;color:#c98c8c;font-size:14px}.trade-ad-usage strong{display:block;color:#eee;font-size:16px}.trade-load-profile{padding:14px 16px;background:#382e2e}.trade-load-profile>div{display:flex;gap:10px}.trade-load-profile>label{font-size:13px}.trade-load-profile p{margin:8px 0 0;color:#b99e9e}.trade-create-panel{position:relative;background:#483b3b;padding-bottom:15px;text-align:center}.trade-create-panel .trade-item-slot{border-radius:0;background:#352c2c}.trade-create-panel .trade-ad-sides{padding-top:12px;padding-bottom:10px}.trade-create-panel .trade-side-totals{margin-top:24px}.trade-create-panel #ad-submit{font-weight:700;background:#342a2a;margin-top:2px;border-radius:2px}.trade-create-panel #ad-submit:not(:disabled){background:#d90000}.trade-create-panel #ad-submit:disabled{color:#aaa;opacity:.7}.trade-message-label{display:block;font-size:12px;margin:12px 0}.trade-message-label textarea{background:#382e2e;color:#ddd;border-color:#514040}.trade-picker{background:#483b3b;margin-top:22px}.trade-picker-tabs{display:grid;grid-template-columns:1fr 1fr}.trade-picker-tabs button{background:transparent;color:#bca7a7;border:0;border-bottom:2px solid transparent;padding:10px}.trade-picker-tabs button.active{color:#eee;background:#3c3030;border-color:#bbb}.trade-picker-search{display:flex;margin:15px;gap:0}.trade-picker-search input{background:#eee;color:#333;border:0;border-radius:0;height:46px;font-size:17px}.trade-picker-search button{border:0;background:#645050;color:#eee;font-size:23px;width:48px}.trade-picker-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;padding:0 15px 15px}.trade-picker-item{min-width:0;background:#352c2c;border:0;color:#ddd;text-align:left;padding:0 0 6px}.trade-picker-item h6{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;padding:5px}.trade-picker-item img{width:100%;height:110px}.trade-picker-item small{display:block;font-size:10px;padding:0 6px;color:#bfa6a6}.trade-picker-item:hover{outline:1px solid #d65e5e}.trade-picker-item:disabled{opacity:.35}.trade-tag-pick{background:#613a3a;border:0;color:#eee;padding:6px 12px;margin:0 5px 12px;font-size:12px}#ad-request-tags{padding:0 10px}#ad-error{color:#ffaaaa;font-size:13px} .trade-creator button:disabled{cursor:default}
@media(max-width:767px){.trade-board-banner{grid-template-columns:125px 1fr}.trade-banner-actions .btn{min-width:120px;font-size:13px}.trade-board-banner p{font-size:13px;margin:10px 0 18px}.trade-ad-sides{gap:5%;padding:12px}.trade-slot-grid{gap:5px}.trade-tag-symbol{font-size:25px}.trade-tag-slot strong{font-size:10px}.trade-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.trade-ad-card header{padding:5px 8px}.trade-ad-card header .btn{font-size:10px;padding:5px 7px}.trade-page-heading .btn{font-size:12px}}
@media(max-width:480px){.trade-filter-panel{gap:15px;padding:12px}.trade-filter-panel h3{font-size:19px}.trade-board-banner{grid-template-columns:90px 1fr}.trade-board-banner>div:last-child{padding:12px}.trade-banner-actions{gap:8px}.trade-banner-actions .btn{min-width:0;font-size:11px}.trade-ad-sides{gap:20px;grid-template-columns:1fr}.trade-create-panel .trade-ad-sides{grid-template-columns:1fr 1fr;gap:16px}.trade-create-panel .trade-slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trade-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.trade-load-profile>div{flex-wrap:wrap}.trade-page-heading{flex-wrap:wrap}.trade-ad-card header{align-items:flex-start}.trade-ad-card header>div{display:flex;gap:3px;flex-wrap:wrap;justify-content:flex-end}}
.avatar-category-links .btn{background:#d90000;border-color:#d90000;color:#fff;font-size:13px}#avatar-category-status{color:#bea5a5}#avatar-category-items .mix_item img{height:110px;width:110px}#avatar-category-search{height:46px}
.inventory-history-page .btn{background:#d90000;border-color:#d90000;color:white}.inventory-history-chart{display:flex;flex-direction:column;min-width:0;background:#3e3232;padding:18px 18px 12px}.inventory-history-chart .profile-chart-plot{flex:none;height:clamp(270px,34vw,400px);min-height:0}.inventory-history-chart .profile-chart-svg,.inventory-history-chart .profile-chart-svg>svg{height:100%;min-height:0}.inventory-history-chart .profile-chart-navigator{flex:none;height:42px}.inventory-history-chart .profile-chart-toolbar,.inventory-history-chart .profile-chart-legend,.inventory-history-chart .profile-chart-footnote{flex:none}.inventory-history-table{color:#ddd;font-size:13px}.inventory-history-table th,.inventory-history-table td{white-space:nowrap;padding:9px 12px}.inventory-history-table th{color:#c49b9b}#inventory-history-status{color:#bba3a3;font-size:12px;margin-top:10px}#history-row-limit{margin-left:5px}@media(max-width:600px){.inventory-history-chart{padding:12px 8px}.inventory-history-chart .profile-chart-plot{height:260px}}
.native-inventory-toolbar{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr 2.15fr;gap:16px;margin-top:12px}.native-inventory-toolbar>div{min-width:0}.native-inventory-toolbar label{font-size:13px;color:#c1aaaa;margin-bottom:7px;display:block}.native-inventory-toolbar .form-control{height:44px;max-height:none;font-size:13px;width:100%;padding:10px 12px}.native-inventory-toolbar select.form-control{cursor:pointer;appearance:auto;padding-right:5px}.native-inventory-toolbar input::placeholder{font-size:12px;color:#a38c8c}.native-inventory-field{position:relative}.native-inventory-field input{padding-right:29px!important}.native-inventory-field button{position:absolute;right:5px;top:8px;border:0;background:transparent;color:#c7b1b1;font-size:19px;line-height:26px;width:24px;padding:0}.native-inventory-field input[type=search]::-webkit-search-cancel-button{display:none}.native-inventory-summary{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:10px;color:#ac9292;font-size:11px}.native-inventory-summary button{border:0;background:transparent;color:#d89595;font-size:11px;padding:2px 0}.native-inventory-toolbar [aria-invalid=true]{outline:1px solid #ef6565}#inventory-filter-error{font-size:12px;color:#ff9d9d;margin:7px 0}@media(max-width:767px){.native-inventory-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.native-inventory-toolbar>div:last-child{grid-column:1/-1}}@media(min-width:768px) and (max-width:1050px){.native-inventory-toolbar{gap:10px;grid-template-columns:1.2fr 1fr 1fr 1fr 1.8fr}}
