@charset "UTF-8";

.loot-page {
    min-height: 72vh;
    padding: 44px 0 86px;
    background: #111216;
    color: #eef0f3;
}
.loot-shell { width: min(1220px, calc(100% - 32px)); }
.loot-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
}
.loot-kicker {
    display: block;
    margin-bottom: 9px;
    color: #b86b62;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}
.loot-hero h1 {
    margin: 0;
    color: #f3f4f6;
    font-size: clamp(36px, 5vw, 50px);
    line-height: 1;
    letter-spacing: -.045em;
}
.loot-hero p {
    max-width: 720px;
    margin: 13px 0 0;
    color: #8f949d;
    font-size: 13px;
    line-height: 1.7;
}
.loot-summary {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}
.loot-summary > span {
    min-width: 92px;
    padding: 11px 14px;
    border: 1px solid #30333a;
    background: #181a1f;
    color: #777d87;
    font-size: 11px;
    text-align: center;
}
.loot-summary strong { display: block; margin-bottom: 3px; color: #eef0f3; font-size: 18px; }

.loot-error {
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid #633f3c;
    background: #251918;
    color: #dca7a1;
    font-size: 12px;
}
.loot-filter-panel {
    margin-bottom: 12px;
    border: 1px solid #2e3138;
    background: #181a1f;
}
.loot-filter-grid {
    display: grid;
    grid-template-columns: 175px 175px 175px minmax(260px, 1fr) auto;
    gap: 8px;
    align-items: end;
    padding: 13px;
}
.loot-filter-grid label { display: grid; gap: 6px; }
.loot-filter-grid label > span { color: #737983; font-size: 10px; font-weight: 700; }
.loot-filter-grid select,
.loot-filter-grid input,
.loot-reset {
    width: 100%;
    min-height: 42px;
    border: 1px solid #393d45;
    border-radius: 3px;
    outline: 0;
    background: #15171b;
    color: #d8dbe0;
    font: inherit;
    font-size: 12px;
}
.loot-filter-grid select { padding: 0 34px 0 11px; }
.loot-filter-grid input { padding: 0 12px; }
.loot-filter-grid input::placeholder { color: #5f646d; }
.loot-filter-grid select:focus,
.loot-filter-grid input:focus { border-color: #77423d; box-shadow: 0 0 0 2px rgba(126,65,58,.12); }
.loot-reset {
    width: auto;
    min-width: 74px;
    padding: 0 13px;
    border-color: #5b3936;
    background: #271b1a;
    color: #d99c95;
    cursor: pointer;
    font-weight: 800;
}
.loot-reset:hover { background: #30201f; color: #fff; }
.loot-filter-result {
    padding: 10px 13px;
    border-top: 1px solid #292c32;
    color: #747a84;
    font-size: 11px;
}
.loot-filter-result strong { color: #d3d6db; }

.loot-boss-quick {
    display: flex;
    gap: 7px;
    margin-bottom: 20px;
    padding: 8px;
    overflow-x: auto;
    border: 1px solid #2d3036;
    background: #15171b;
    scrollbar-width: thin;
}
.loot-boss-quick button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 5px 10px 5px 6px;
    border: 1px solid #32363d;
    border-radius: 3px;
    background: #1c1f24;
    color: #aeb3bb;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
}
.loot-boss-quick button:hover,
.loot-boss-quick button.is-active { border-color: #74433e; background: #2a1d1c; color: #f0d5d2; }
.loot-boss-quick img {
    width: 28px;
    height: 28px;
    border: 1px solid #444850;
    border-radius: 50%;
    object-fit: cover;
}

.loot-boss-list { display: grid; gap: 16px; }
.loot-boss-section {
    scroll-margin-top: 18px;
    border: 1px solid #2d3036;
    background: #16181d;
}
.loot-boss-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
    padding: 11px 14px;
    border-bottom: 1px solid #2c2f35;
    background: linear-gradient(90deg, #1f1a1a 0, #191b20 38%, #17191e 100%);
}
.loot-boss-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.loot-boss-image {
    display: grid;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #5a413d;
    border-radius: 50%;
    background: #111216;
    box-shadow: inset 0 0 18px rgba(0,0,0,.55);
}
.loot-boss-image img { width: 100%; height: 100%; object-fit: cover; }
.loot-boss-title h2 { margin: 0; color: #f1f2f4; font-size: 19px; letter-spacing: -.02em; }
.loot-boss-title div > span { display: block; margin-top: 3px; color: #6f747d; font-size: 10px; }
.loot-boss-head > strong { color: #777d86; font-size: 11px; }
.loot-boss-head > strong span { color: #c2c6cc; }

.loot-item-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
}
.loot-item-card { min-width: 0; border: 1px solid #2f3238; background: #1c1e23; }
.loot-item-card[hidden], .loot-boss-section[hidden] { display: none !important; }
.loot-item-link {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 72px;
    padding: 9px;
    color: inherit;
    text-decoration: none;
}
.loot-item-card:hover { border-color: #51413f; background: #202126; }
.loot-item-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #454951;
    background: radial-gradient(circle at 50% 38%, #292b31, #101115 72%);
}
.loot-item-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.loot-item-copy { min-width: 0; }
.loot-item-copy strong {
    display: block;
    overflow: hidden;
    color: #d9b66e;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.loot-item-copy small { display: block; margin-top: 5px; color: #8d929b; font-size: 10px; }
.loot-item-copy > span { display: block; margin-top: 3px; overflow: hidden; color: #646a74; font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.loot-item-arrow { color: #555b64; font: 300 23px/1 Arial, sans-serif; }
.loot-item-card:hover .loot-item-arrow { color: #b4b8bf; }
.loot-empty {
    padding: 70px 20px;
    border: 1px solid #2d3036;
    background: #16181d;
    color: #707680;
    text-align: center;
    font-size: 12px;
}

@media (max-width: 1100px) {
    .loot-filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .loot-search-label { grid-column: span 2; }
    .loot-item-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .loot-page { padding-top: 30px; }
    .loot-hero { align-items: flex-start; flex-direction: column; gap: 16px; }
    .loot-summary { width: 100%; }
    .loot-summary > span { flex: 1 1 0; }
    .loot-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .loot-search-label { grid-column: 1 / -1; }
    .loot-reset { width: 100%; }
    .loot-item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .loot-shell { width: min(100% - 20px, 1220px); }
    .loot-hero h1 { font-size: 36px; }
    .loot-filter-grid { grid-template-columns: 1fr; }
    .loot-search-label { grid-column: auto; }
    .loot-boss-head { min-height: 64px; padding: 9px 10px; }
    .loot-boss-image { width: 42px; height: 42px; }
    .loot-boss-title h2 { font-size: 16px; }
    .loot-item-grid { grid-template-columns: 1fr; padding: 8px; }
    .loot-item-link { min-height: 66px; }
    .loot-item-icon { width: 44px; height: 44px; }
}
