/* RF CraftWorld x30 — Box catalog and loot details, Design 3.0 */
.boxs-page,.box-detail-page{max-width:1400px;margin:0 auto;padding:14px 18px 36px;color:#e9f0f5}
.boxs-page *,.box-detail-page *{box-sizing:border-box}
.boxs-page h1,.box-detail-page h1{color:#f3cd93}
.boxs-filters{background:#1b2a36;border:1px solid #456073;border-radius:8px;padding:14px 16px;margin:12px 0}
.boxs-search-form{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:10px}
.boxs-search-form input{flex:1 1 320px;max-width:560px;min-width:230px;background:#101e29;color:#f2f5f7;border:1px solid #526b7b;border-radius:6px;padding:10px 12px;font:inherit}
.boxs-search-form button,.boxs-reset{background:#354c5c;border:1px solid #617b8b;border-radius:5px;color:#f1f4f6!important;padding:9px 14px;text-decoration:none!important;cursor:pointer;font:inherit}
.boxs-search-form button:hover,.boxs-reset:hover{background:#466576}
.boxs-filter-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:4px 0}
.boxs-filter-label{min-width:63px;color:#bdd0dd;font-size:13px;font-weight:700}
.boxs-filter-chip{display:inline-block;border:1px solid #50697b;background:#2b4050;color:#e1ebf1!important;padding:6px 11px;border-radius:5px;text-decoration:none!important;font-size:13px}
.boxs-filter-chip:hover{background:#3a596b}
.boxs-filter-chip.is-active{background:#c9a36c;color:#16232d!important;border-color:#e0bd87;font-weight:700}
.boxs-page .results-info{background:#20303c;border:1px solid #455f6e;border-left:3px solid #d8b175;border-radius:5px;color:#e2edf4;padding:10px 12px;margin:12px 0}
.boxs-page .table-responsive{overflow-x:auto;width:100%;background:#1b2b37;border:1px solid #465f6e;border-radius:8px}
.boxs-page .boxs-table{width:100%;border-collapse:collapse;background:#1b2b37;color:#e6eef4;font-size:13px;margin:0}
.boxs-page .boxs-table th{background:#304453;color:#f0cf9b!important;padding:10px 8px;text-align:left;border-bottom:1px solid #567081;white-space:nowrap}
.boxs-page .boxs-table td{background:#1c2c38;color:#e2ecf2!important;padding:7px 8px;border-bottom:1px solid #384f5e;vertical-align:middle;white-space:nowrap}
.boxs-page .boxs-table tbody tr:nth-child(even) td{background:#223440}
.boxs-page .boxs-table tbody tr:hover td{background:#304857}
.boxs-page .boxs-table td.name-cell{min-width:180px;white-space:normal}
.boxs-page .box-item-link{color:#ecf3f7!important;text-decoration:none;font-weight:700}
.boxs-page .box-item-link:hover{color:#f6d29a!important;text-decoration:underline}
.boxs-page .boxs-table td.icon img{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;object-fit:contain;display:block}
.boxs-page .cash-badge,.box-detail-page .cash-badge-large{display:inline-block;padding:2px 6px;border-radius:4px;border:1px solid #efdb9d;background:#e5c875!important;color:#101820!important;text-shadow:none!important;font-size:11px;font-weight:800}
.boxs-page .civil-badge,.box-detail-page .civil-badge,.boxs-page .money-badge{display:inline-block;background:#304a58;border:1px solid #597587;border-radius:4px;color:#e7f0f4!important;padding:3px 6px;font-size:12px}
.boxs-page .price-value,.box-detail-page .price-value-large{color:#f4cf94!important;font-weight:750}
.boxs-page .price-free{color:#9eb1bc}
.boxs-page .status-cell{text-align:center}
.boxs-page .pagination{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;padding:18px 0}
.boxs-page .pagination a{background:#293f4e;color:#e8eff3!important;padding:7px 11px;border:1px solid #567285;border-radius:5px;text-decoration:none}
.boxs-page .pagination a.active{background:#c9a36d;color:#14212d!important;font-weight:750;border-color:#dcb57b}
.box-detail-page .breadcrumbs{margin:0 0 13px}
.box-detail-page .breadcrumbs a{color:#e6c18b!important;text-decoration:none}
.box-detail-page .box-header{display:flex;gap:17px;align-items:center;padding:18px 20px;border:1px solid #516b7a;border-left:4px solid #d9ae71;background:#263946;border-radius:8px;margin-bottom:13px}
.box-detail-page .box-icon-large{flex:none;border:1px solid #4a6476;background:#132431;border-radius:6px;padding:7px}
.box-detail-page .box-icon-large img{display:block;width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important;object-fit:contain}
.box-detail-page .box-title h1{margin:0 0 8px;font-size:24px;color:#f3d198!important}
.box-detail-page .box-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.box-detail-page .loot-section,.box-detail-page .stat-card.compact{border:1px solid #496574;background:#1c2d39;border-radius:8px;padding:16px;margin:12px 0;color:#e9f0f4}
.box-detail-page .loot-section h2,.box-detail-page .stat-card h3{margin:0 0 13px;color:#efc993!important;font-size:19px}
.box-detail-page .loot-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px;margin:0}
.box-detail-page .loot-cell{min-width:0;background:#293e4c;border:1px solid #506a7a;border-radius:6px;padding:10px;margin:0!important;display:flex;align-items:center;color:#e9f0f4}
.box-detail-page .loot-item-display{display:flex;align-items:center;gap:9px;min-width:0;width:100%}
.box-detail-page .loot-icon{width:36px!important;height:36px!important;max-width:36px!important;max-height:36px!important;object-fit:contain;flex:none}
.box-detail-page .loot-item-text{min-width:0;flex:1}
.box-detail-page .loot-item-text strong{display:block;color:#f1f4f6!important;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.box-detail-page .loot-item-meta{margin-top:5px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px}
.box-detail-page .loot-quantity{color:#cbdce6;font-weight:700}
.box-detail-page .loot-chance{color:#a7e3bd;font-weight:700;background:#244a40;border:1px solid #4d846c;border-radius:4px;padding:2px 5px}
.box-detail-page .compact-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.box-detail-page .compact-row{display:flex;gap:12px;justify-content:space-between;background:#293e4c;padding:10px;border-radius:5px}
.box-detail-page .compact-label{color:#b9cdd8}
.box-detail-page .stat-value{color:#edf2f6;font-weight:700}
@media(max-width:1100px){.box-detail-page .loot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
