/* RF CraftWorld x30 Design 3.0 — scoped section styling */
.x30-rem{max-width:1400px;width:100%;margin:0 auto;padding:16px 20px 38px;color:#e4edf3}
.x30-rem *{box-sizing:border-box}
.x30-rem h1{color:#f0d099;font-size:26px;margin:0 0 16px}
.x30-rem h2{color:#efca90!important;font-size:19px;margin:0 0 12px}
.x30-rem h3{color:#ebd5b1!important}
.x30-rem p,.x30-rem li{color:#ccd9e1;line-height:1.5}
.x30-rem .breadcrumbs{margin-bottom:15px;color:#aebdc9}
.x30-rem .breadcrumbs a,.x30-rem a{color:#e6c18a}
.x30-rem .breadcrumbs a:hover,.x30-rem a:hover{color:#fbe4bb}
.x30-rem .results-info{color:#afc0cc;font-size:13px;margin:12px 0}
.x30-rem .filters-section{padding:13px 15px;background:#1d2e3b!important;border:1px solid #455c6b;border-radius:8px;margin-bottom:14px}
.x30-rem .filters-form{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.x30-rem .search-box{flex:1;min-width:220px}
.x30-rem .filter-box{min-width:145px}
.x30-rem .filters-form input,.x30-rem .filters-form select{min-height:38px;background:#12232e!important;border:1px solid #4d6575!important;border-radius:5px;color:#eff5f7!important;padding:8px 10px}
.x30-rem .filters-form button,.x30-rem .clear-btn{padding:9px 15px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;font-size:13px;font-weight:700;cursor:pointer;text-decoration:none}
.x30-rem .filters-form button{background:#c4a16e!important;color:#16222c!important;border:1px solid #ebca99!important}
.x30-rem .clear-btn{background:#314959!important;color:#eaf0f5!important;border:1px solid #607888!important}
.x30-rem .table-responsive{overflow-x:auto;width:100%;background:#172733;border:1px solid #405b6c;border-radius:8px}
.x30-rem table{width:100%;border-collapse:collapse;background:#172733;color:#edf2f5}
.x30-rem table th{background:#314859!important;color:#f0d09b!important;padding:10px 11px;border-bottom:1px solid #556d7d;font-size:12px;text-align:left;white-space:nowrap}
.x30-rem table td{background:transparent!important;color:#e3edf2!important;border-bottom:1px solid #355061;padding:9px 11px;font-size:13px;vertical-align:middle}
.x30-rem table tbody tr:nth-child(even){background:#203341!important}
.x30-rem table tbody tr:hover{background:#2c4556!important}
.x30-rem table tbody tr[onclick]{cursor:pointer}
.x30-rem table tbody tr[onclick]:hover{background:#355367!important}
.x30-rem table img,.x30-rem table .icon img{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;object-fit:contain}
.x30-rem .name-cell,.x30-rem .name-cell strong,.x30-rem .item-name{color:#f1f5f7!important;font-weight:650}
.x30-rem .civil-badge,.x30-rem .type-badge,.x30-rem .money-badge{display:inline-block;padding:4px 7px;border-radius:5px;background:#2c4352;color:#e8f0f4;border:1px solid #5a7181;font-size:12px}
.x30-rem .cash-badge,.x30-rem .cash-badge-large{display:inline-block;padding:3px 7px;border-radius:5px;background:#f2c85e!important;color:#121b22!important;text-shadow:none!important;font-size:12px;font-weight:800}
.x30-rem .price-value{color:#e9d09b!important;font-weight:700}
.x30-rem .price-free{color:#b4c4ce}
.x30-rem .pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:18px 0}
.x30-rem .pagination a{background:#2b4453!important;color:#eaf1f5!important;border:1px solid #587183!important;padding:7px 10px;border-radius:5px;text-decoration:none;min-width:34px;text-align:center}
.x30-rem .pagination a.active{background:#cba76f!important;border-color:#e9c997!important;color:#152431!important;font-weight:800}
.x30-rem .params-section,.x30-rem .price-section,.x30-rem .materials-section,.x30-rem .missions-section,.x30-rem .rewards-section{background:#192b37!important;color:#e8f0f4;border:1px solid #415c6e;border-radius:9px;padding:15px;margin:13px 0}
.x30-rem .params-grid,.x30-rem .materials-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.x30-rem .params-card,.x30-rem .stat-card,.x30-rem .material-item{min-width:0;background:#253b49!important;color:#e9f1f5!important;border:1px solid #4b6475;border-radius:7px;padding:12px}
.x30-rem .params-row,.x30-rem .compact-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 0;border-bottom:1px solid #385364;color:#dce7ee}
.x30-rem .params-row:last-child,.x30-rem .compact-row:last-child{border-bottom:0}
.x30-rem .param-label,.x30-rem .compact-label{color:#b6c9d4}
.x30-rem .param-value,.x30-rem .stat-value{color:#f2d29c!important;font-weight:700}
.x30-rem .elements{flex-wrap:wrap;justify-content:flex-start}
.x30-rem .element{background:#152a37!important;border:1px solid #456074;border-radius:5px;padding:4px 7px;color:#dcebf4!important}
.x30-rem .detail-header,.x30-rem .animus-header,.x30-rem .dungeon-header,.x30-rem .tower-header,.x30-rem .trap-header,.x30-rem .siegekit-header,.x30-rem .miner-header{background:#233847!important;border:1px solid #496577;border-radius:8px;padding:16px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:13px}
.x30-rem .detail-header img,.x30-rem .animus-icon-large img,.x30-rem .dungeon-icon-large img,.x30-rem .tower-icon-large img,.x30-rem .trap-icon-large img,.x30-rem .siegekit-icon-large img,.x30-rem .miner-icon-large img{width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;object-fit:contain}
.x30-rem .material-icon,.x30-rem .material-icon img{max-width:34px!important;max-height:34px!important;width:34px!important;height:34px!important;object-fit:contain}
.x30-rem .no-data{padding:24px!important;text-align:center;color:#bccdd7!important}

.x30-devices .params-section{max-width:100%}
.x30-devices .params-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.x30-devices .materials-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.x30-devices .material-item{display:flex;align-items:center;gap:9px}
.x30-devices .material-name{font-size:12px;color:#eef3f6}
.x30-devices .material-count{font-weight:800;color:#efd09b}
.x30-devices .price-section{display:flex;gap:10px;flex-wrap:wrap}
.x30-devices .price-section .stat-card{min-width:250px;max-width:420px;flex:1}
