.rs-shell {
    --rs-gold: #efd19a;
    --rs-muted: #b9b3aa;
    --rs-line: #514233;
    --rs-panel: #181923;
    --rs-input: #11121a;
    padding-block: clamp(32px, 6vw, 78px) 88px;
    color: #f5efe5;
}
.rs-gear-classes, .rs-gear-pages { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.rs-gear-classes { margin-bottom: 14px; }
.rs-gear-classes button {
    padding: 8px 16px; border: 1px solid var(--rs-line); border-radius: 7px;
    background: var(--rs-input); color: var(--rs-gold); font: inherit; cursor: pointer;
}
.rs-gear-classes button[aria-pressed="true"] { background: var(--rs-gold); color: #251c11; border-color: var(--rs-gold); }
.rs-gear-results { margin: 15px 0 9px; }
.rs-gear-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px;
}
.rs-gear-card {
    display: grid; grid-template-rows: 94px 1fr auto auto; align-items: center; justify-items: center; gap: 8px;
    padding: 10px; min-width: 0; min-height: 196px; border: 1px solid #303946; border-radius: 8px;
    background: #151c27; color: #f5efe5; font: inherit; cursor: pointer; text-align: center;
}
.rs-gear-card:hover, .rs-gear-card[aria-pressed="true"] { border-color: var(--rs-gold); }
.rs-gear-card[aria-pressed="true"] { background: #24232c; }
.rs-gear-art {
    display: grid; width: 100%; height: 100%; place-items: center; border-radius: 4px;
    background: linear-gradient(#ffffff0a 1px, transparent 1px) center / 24px 24px,
        linear-gradient(90deg, #ffffff0a 1px, transparent 1px) center / 24px 24px, #0d121a;
}
.rs-gear-art img { width: auto; height: auto; max-width: 85%; max-height: 82px; object-fit: contain; }
.rs-gear-card strong { color: #61e5ba; line-height: 1.2; overflow-wrap: anywhere; }
.rs-gear-card-details { font-size: .75rem; color: #bbc2d0; }
.rs-gear-card-price { font-size: .78rem; color: var(--rs-gold); }
.rs-gear-pages { justify-content: center; margin: 14px 0 0; }
.rs-gear-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 18px; }
.rs-gear-layout .rs-part-head h3 { margin: 0; color: #fff0d1; overflow-wrap: anywhere; scroll-margin-top: 100px; }
.rs-gear-checkout h3, .rs-gear-checkout .rs-facts { margin: 0; }
.rs-gear-checkout [data-gear-total] { margin: 0; color: var(--rs-gold); font-size: 1.2rem; font-weight: 700; }
.rs-gear-tiers { margin-bottom: 18px; }
.rs-gear-tiers ul { display: flex; gap: 8px 24px; flex-wrap: wrap; padding-inline-start: 20px; }
.rs-gear button:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 760px) {
    .rs-gear-layout { grid-template-columns: minmax(0, 1fr); }
    .rs-gear .rs-part-head > button { grid-column: 1 / -1; justify-self: start; }
}
.rs-shell a { color: var(--rs-gold); }
.rs-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 18px;
    padding: clamp(22px, 5vw, 52px);
    border: 1px solid var(--rs-line);
    border-radius: 14px;
    background: radial-gradient(ellipse at top right, #654424 0%, transparent 58%), #19161c;
}
.rs-heading h1 {
    margin: 0;
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.12;
    color: #fff2d7;
}
.rs-heading p { color: #ddd1be; margin: .75rem 0 0; }
.rs-wallet {
    display: grid;
    gap: 4px;
    padding: 12px 16px;
    border: 1px solid #887153;
    border-radius: 9px;
    background: #19161a;
    font-variant-numeric: tabular-nums;
}
.rs-wallet strong { color: var(--rs-gold); font-size: 1.13rem; }
.rs-wallet span, .rs-muted, .rs-table small { color: var(--rs-muted); font-size: .9rem; }
.rs-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 22px; }
.rs-nav a {
    padding: 8px 12px;
    border: 1px solid var(--rs-line);
    border-radius: 7px;
    text-decoration: none;
    background: #1b1920;
}
.rs-nav a[aria-current], .rs-nav a:hover { color: #17120c; background: var(--rs-gold); }
.rs-nav-end { margin-inline-start: auto; }
.rs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 18px; }
.rs-card, .rs-panel {
    border: 1px solid var(--rs-line);
    border-radius: 12px;
    background: var(--rs-panel);
    min-width: 0;
}
.rs-card { display: flex; flex-direction: column; overflow: hidden; }
.rs-art {
    min-height: 132px;
    display: grid;
    place-items: center;
    position: relative;
    background: radial-gradient(ellipse at center, #4b3728 0%, #211b23 62%, #151620);
    border-bottom: 1px solid var(--rs-line);
}
.rs-art img { width: 84px; height: 84px; object-fit: contain; object-position: center; margin-top: 15px; }
.rs-art > span:first-child { color: #bf9e6d; font: 700 2.1rem Georgia, serif; margin-top: 15px; }
.rs-type {
    position: absolute;
    top: 10px;
    left: 10px;
    border: 1px solid #886745;
    padding: 4px 9px;
    background: #1a151a;
    color: var(--rs-gold);
    border-radius: 20px;
    font-size: .83rem;
}
.rs-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.rs-shell h2 { color: #fff1d9; font-size: 1.25rem; margin: 0 0 12px; overflow-wrap: anywhere; }
.rs-description { margin: 0; color: #ded6ca; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.rs-facts { display: grid; gap: 8px; margin: 15px 0; }
.rs-facts div { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.rs-facts dt { color: var(--rs-muted); }
.rs-facts dd { margin: 0; text-align: right; color: var(--rs-gold); }
.rs-card form, .rs-editor { display: grid; gap: 10px; }
.rs-card form { margin-top: auto; padding-top: 8px; }
.rs-shell label { display: grid; align-items: start; gap: 5px; color: #eee4d3; font-size: .92rem; }
.rs-shell label[hidden], .rs-shell [hidden] { display: none; }
.rs-shell :is(input, select, textarea) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 9px 10px;
    color: #fff4e2;
    color-scheme: dark;
    background: var(--rs-input);
    border: 1px solid #666070;
    border-radius: 6px;
    font: inherit;
}
.rs-shell :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--rs-gold); outline-offset: 3px; }
.rs-button {
    font-family: inherit;
    font-size: .91rem;
    line-height: 1.25;
    font-weight: 700;
    padding: 9px 12px;
    border: 1px solid var(--rs-gold);
    border-radius: 6px;
    background: var(--rs-gold);
    color: #1a130c;
    cursor: pointer;
}
.rs-button:hover { background: #ffe4b2; }
.rs-secondary { color: var(--rs-gold); background: #25212a; border-color: #927454; }
.rs-secondary:hover { background: #413442; }
.rs-message {
    border: 1px solid #6e7660;
    padding: 13px;
    border-radius: 8px;
    background: #252a22;
}
.rs-error { border-color: #b97567; background: #3c2529; color: #ffdfda; }
.rs-panel { padding: clamp(15px, 3vw, 24px); margin-block: 0 18px; }
.rs-admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(390px, 100%), 1fr)); gap: 20px; }
.rs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 11px; }
.rs-table { overflow-x: auto; }
.rs-table table { width: 100%; min-width: 480px; border-collapse: collapse; text-align: left; }
.rs-table :is(th, td) { padding: 10px; border-bottom: 1px solid #453b38; vertical-align: top; }
.rs-table th { color: var(--rs-gold); font-size: .9rem; }
.rs-table details { margin-top: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
.rs-table details summary { cursor: pointer; color: var(--rs-gold); }
.rs-builder-grid { grid-template-columns: minmax(0, 2.4fr) minmax(270px, 1fr); align-items: start; }
.rs-builder-grid > :only-child { grid-column: 1 / -1; }
.rs-builder { display: grid; gap: 12px; }
.rs-picker { display: grid; gap: 10px; padding: 13px; border: 1px solid #514636; border-radius: 8px; background: #12131b; }
.rs-picker p, .rs-builder-status { margin: 0; }
.rs-builder-status:empty { display: none; }
.rs-picker-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.rs-item-picker { grid-template-columns: minmax(110px, .9fr) minmax(125px, 1fr) minmax(155px, 1.2fr) auto; }
.rs-button:disabled { opacity: .55; cursor: default; }
.rs-component-editor { display: grid; gap: 12px; }
.rs-component-editor:empty { display: none; }
.rs-part-editor {
    display: grid;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #605044;
    border-radius: 9px;
    background: #20202a;
}
.rs-part-head { display: grid; grid-template-columns: 65px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.rs-part-head strong { color: #fff0d1; overflow-wrap: anywhere; }
.rs-part-head small { display: block; color: var(--rs-muted); margin-top: 4px; }
.rs-part-icon {
    display: grid; place-items: center; height: 58px;
    border: 1px solid #5f4a38; border-radius: 6px;
    background: radial-gradient(ellipse, #59402b, #211d25 75%);
}
.rs-part-icon img { max-width: 52px; max-height: 48px; object-fit: contain; }
.rs-part-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.rs-part-fields:last-child:has(> [hidden]:first-child + [hidden] + [hidden]) { display: none; }
.rs-checks { display: flex; flex-wrap: wrap; gap: 7px 14px; }
.rs-checks label { display: inline-flex; align-items: baseline; gap: 5px; }
.rs-shell input[type="checkbox"] { width: auto; accent-color: var(--rs-gold); }
.rs-excellent { min-width: 0; border: 1px solid #6c5b4a; border-radius: 7px; padding: 9px 11px; }
.rs-excellent legend { padding: 0 6px; color: var(--rs-gold); }
.rs-shop-filter {
    display: grid; grid-template-columns: minmax(145px, .8fr) minmax(170px, 1.2fr) auto auto;
    align-items: end; gap: 10px; padding: 14px; margin-bottom: 18px;
    border: 1px solid var(--rs-line); border-radius: 8px; background: var(--rs-panel);
}
.rs-shop-filter > a { align-self: center; }
.rs-card-category { margin: 0 0 7px; color: var(--rs-gold); font-size: .86rem; }
.rs-pack-art { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; padding: 30px 10px 14px; }
.rs-art .rs-pack-art img {
    box-sizing: border-box; margin: 0; width: 44px; height: 51px; padding: 4px;
    border-radius: 6px; border: 1px solid #6d503a; background: #191722;
}
.rs-listing-details { padding: 7px 0; margin-top: 6px; }
.rs-listing-details summary { color: var(--rs-gold); cursor: pointer; }
.rs-components { display: grid; gap: 6px; margin: 9px 0 0; padding: 0; list-style: none; white-space: normal; }
.rs-components li { display: flex; align-items: start; gap: 8px; padding: 7px; background: #14151d; border: 1px solid #494035; border-radius: 5px; }
.rs-components img { object-fit: contain; flex: 0 0 36px; }
.rs-components small { display: block; margin-top: 3px; color: var(--rs-muted); line-height: 1.35; }
@media (max-width: 940px) {
    .rs-builder-grid { grid-template-columns: 1fr; }
}
@media (max-width: 630px) {
    .rs-item-picker, .rs-shop-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rs-item-picker > :nth-child(3) { grid-column: 1 / -1; }
    .rs-part-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Public storefront */
.rs-storefront.container {
    --rs-gold: #f8d796;
    --rs-muted: #c4bfca;
    --rs-line: #755535;
    --rs-panel: #0d131e;
    --rs-input: #111725;
    width: min(96%, 1640px);
    max-width: none;
    padding: clamp(12px, 1.5vw, 22px) 0 72px;
}
.rs-storefront .rs-heading {
    display: grid;
    justify-content: stretch;
    justify-items: center;
    align-content: center;
    gap: 12px;
    min-height: 168px;
    padding: 18px 12px;
    border-color: #a77942;
    background:
        radial-gradient(ellipse at 16% 100%, #713b1c90, transparent 50%),
        radial-gradient(ellipse at 90% 0%, #204b6590, transparent 52%),
        linear-gradient(115deg, #21180e, #0d131e 49%, #101c27);
    box-shadow: inset 0 -5px 28px #0008, 0 10px 24px #0005;
    text-align: center;
}
.rs-storefront .rs-heading h1,
.rs-storefront .rs-forge-banner h2 {
    color: #ffe1a1;
    font-family: "Cinzel", Georgia, serif;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 2px 2px #120901, 0 0 24px #ce764a65;
}
.rs-banner-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.rs-storefront .rs-heading h1 { font-size: clamp(1.65rem, 3.6vw, 3.1rem); }
.rs-storefront .rs-wallet {
    min-width: 165px;
    justify-items: center;
    gap: 3px;
    padding: 7px 12px;
    background: linear-gradient(#232135ef, #111421ef);
    border-color: #a77942;
}
.rs-storefront .rs-wallet span { font-size: .76rem; }
.rs-storefront .rs-wallet strong { font-size: 1rem; }
.rs-storefront .rs-banner-reward {
    border-color: #ac7ae0;
    background: linear-gradient(#392051ed, #1d142def);
}
.rs-banner-reward strong { color: #f1cdff; }
.rs-storefront .rs-nav { margin-block: 13px; }
.rs-storefront .rs-nav a,
.rs-armory :is(.rs-gear-display, .rs-gear-classes) button {
    display: inline-grid;
    place-items: center;
    border: 1px solid #424557;
    border-radius: 6px;
    background: linear-gradient(#222633, #101521);
    color: #efe8db;
    font: inherit;
    cursor: pointer;
}
.rs-storefront .rs-nav a { padding: 7px 14px; font-size: .875rem; }
.rs-storefront .rs-nav a:is([aria-current], :hover),
.rs-armory button[data-gear-group]:is([aria-pressed="true"], :hover),
.rs-armory :is(.rs-gear-display, .rs-gear-classes) button:is([aria-pressed="true"], :hover) {
    border-color: #e3b46b;
    background: linear-gradient(#765020, #3b2617 55%, #8b5c23);
    color: #ffebc1;
    box-shadow: inset 0 0 9px #f0b14b49, 0 0 8px #f59f3038;
}
.rs-armory.rs-panel {
    display: grid;
    grid-template-columns: minmax(190px, 232px) minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 0;
    background: transparent;
    border: 0;
}
.rs-armory-sidebar,
.rs-armory-main {
    border: 1px solid var(--rs-line);
    border-radius: 10px;
    background: linear-gradient(135deg, #151c2a, #090e17 65%);
    box-shadow: 0 12px 28px #0004;
}
.rs-armory-sidebar { padding: 15px; }
.rs-armory-sidebar h3 {
    margin: 0 0 8px;
    padding-bottom: 7px;
    border-bottom: 1px solid #9d723955;
    color: var(--rs-gold);
    font-size: .86rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.rs-gear-categories {
    display: grid;
    gap: 3px;
    margin: 0 0 16px;
}
.rs-gear-categories button {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: #eee6dc;
    font: inherit;
    font-size: .88rem;
    text-align: left;
    cursor: pointer;
}
.rs-gear-categories button span { color: #f2c981; text-align: center; }
.rs-filter-label { margin: 0 0 5px; color: #eee4d3; font-size: .88rem; }
.rs-armory .rs-gear-classes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.rs-armory .rs-gear-classes button { padding: 5px; font-size: .78rem; }
.rs-armory .rs-gear-tiers { margin: 14px 0 0; font-size: .8rem; }
.rs-gear-tiers summary { color: var(--rs-gold); cursor: pointer; }
.rs-armory .rs-gear-tiers :is(p, .rs-facts div) { font-size: .8rem; }
.rs-armory-main { min-width: 0; padding: 12px; }
.rs-forge-banner {
    padding: clamp(12px, 1.4vw, 19px) 12px;
    border: 1px solid #b18853;
    border-radius: 9px;
    text-align: center;
    background:
        radial-gradient(ellipse at 0% 100%, #a4602c69, transparent 52%),
        radial-gradient(ellipse at 100% 0%, #285b5b65, transparent 52%),
        linear-gradient(112deg, #211b13, #101820 54%, #122029);
}
.rs-storefront .rs-forge-banner h2 { margin: 0 0 4px; font-size: clamp(1.45rem, 3vw, 2.35rem); }
.rs-forge-banner p { margin: 0; color: #eae5f1; font-size: .86rem; }
.rs-armory-toolbar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
}
.rs-armory-toolbar select { width: min(100%, 175px); }
.rs-armory-toolbar input { width: min(100%, 270px); }
.rs-armory :is(.rs-armory-toolbar, .rs-armory-sidebar, .rs-armory-results) :is(input,select) {
    border-color: #414555;
    padding: 6px 9px;
    font-size: .8rem;
}
.rs-armory-results { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; margin: 10px 0; }
.rs-armory .rs-gear-results { flex: 1 1 auto; margin: 0; font-size: .8rem; }
.rs-armory-results label { display: flex; align-items: center; font-size: .75rem; white-space: nowrap; }
.rs-armory-results select { width: auto; }
.rs-gear-display { display: flex; gap: 4px; }
.rs-armory .rs-gear-display button { width: 30px; height: 28px; }
.rs-gear-workspace { display: grid; gap: 12px; align-items: start; }
.rs-gear-catalog { min-width: 0; }
.rs-armory .rs-gear-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.rs-armory .rs-gear-layout {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    margin: 0;
    gap: 8px;
}
.rs-armory .rs-part-editor {
    padding: 12px;
    background: linear-gradient(145deg, #1b2225, #11171e);
}
.rs-armory .rs-part-head { grid-template-columns: 52px minmax(0, 1fr); }
.rs-armory .rs-part-head > button { grid-column: 1 / -1; justify-self: start; }
.rs-armory .rs-part-icon { height: 50px; }
.rs-armory .rs-part-icon img { max-width: 44px; max-height: 42px; }
.rs-configure-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--rs-muted);
    font-size: .8rem;
}
.rs-configure-close {
    width: 28px;
    height: 28px;
    border: 1px solid #665647;
    border-radius: 5px;
    background: var(--rs-input);
    color: var(--rs-gold);
    font-family: inherit;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
}
.rs-armory [data-gear-editor] { scroll-margin-top: 100px; }
.rs-armory .rs-excellent {
    border-color: #397152;
    background: linear-gradient(150deg, #0b291d88, #11191e);
}
.rs-armory .rs-excellent legend,
.rs-armory .rs-configured-excellent h3 { color: #63eb9e; }
.rs-armory .rs-excellent input[type="checkbox"] { accent-color: #63eb9e; }
.rs-armory .rs-configured-excellent .rs-part-icon {
    border-color: #497a51;
    background: radial-gradient(ellipse, #1c5838, #111c16 80%);
}
.rs-armory .rs-gear-card {
    position: relative;
    grid-template-rows: 76px 1fr auto auto;
    min-height: 155px;
    padding: 6px;
    gap: 5px;
    border: 1px solid #9c7244;
    border-radius: 9px;
    background: linear-gradient(160deg, #1c1e1f, #171815 59%, #11130f);
}
.rs-armory .rs-gear-card::before {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px solid transparent;
    border-radius: 6px;
    background:
        linear-gradient(#f0c680, #f0c680) left top / 9px 1px,
        linear-gradient(#f0c680, #f0c680) right top / 9px 1px,
        linear-gradient(#f0c680, #f0c680) left bottom / 9px 1px,
        linear-gradient(#f0c680, #f0c680) right bottom / 9px 1px;
    background-repeat: no-repeat;
    pointer-events: none;
}
.rs-armory .rs-gear-card:is(:hover, [aria-pressed="true"]) {
    border-color: #f9cd84;
    box-shadow: inset 0 0 12px #dc9c4c43, 0 0 12px #bc8b3940;
}
.rs-armory .rs-gear-art {
    background: radial-gradient(ellipse at 50% 63%, #5e492c77, #1c1d18 62%, #141613 90%);
}
.rs-armory .rs-gear-card-excellent .rs-gear-art {
    background: radial-gradient(ellipse at 50% 64%, #1c5d36, #14271a 62%, #151810 94%);
}
.rs-armory .rs-gear-art img { width: 82%; height: 72px; filter: drop-shadow(0 3px 3px #000b); }
.rs-armory .rs-gear-card strong { color: #ffdf9e; font-size: .82rem; }
.rs-armory .rs-gear-card-excellent strong { color: #65e99b; }
.rs-armory .rs-gear-card-details { color: #c9c7b9; font-size: .72rem; }
.rs-gear-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 3px; width: 100%; }
.rs-armory .rs-gear-card-price {
    flex: 1;
    padding: 4px 3px;
    border: 1px solid #5e5139;
    border-radius: 4px;
    background: #14150f;
    color: #ffe2a7;
    font-size: .73rem;
}
.rs-armory .rs-gear-card-price::before { content: "◆"; margin-right: 4px; color: #ff7390; text-shadow: 0 0 7px #f63868; }
.rs-gear-card-configure {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid #c69551;
    border-radius: 4px;
    background: linear-gradient(#ffe69e, #c58c40);
    color: #311b0d;
    font: bold 1.05rem/1 Georgia, serif;
}
.rs-armory .rs-gear-grid-list { grid-template-columns: minmax(0, 1fr); }
.rs-gear-grid-list .rs-gear-card {
    grid-template: 48px / 60px minmax(0,1fr) minmax(0,1fr) minmax(100px, .6fr);
    min-height: 0;
    gap: 10px;
    text-align: left;
    justify-items: start;
}
.rs-armory .rs-gear-grid-list .rs-gear-art img { height: 42px; }
.rs-gear-grid-list .rs-gear-card-price { text-align: center; }
.rs-shard-help p { margin-bottom: 0; }

@media (min-width: 1010px) {
    .rs-gear-workspace:has(.rs-gear-layout:not([hidden])) {
        grid-template-columns: minmax(0, 1fr) minmax(265px, 30%);
    }
}
@media (max-width: 1009px) {
    .rs-armory .rs-gear-layout { grid-row: 1; }
}
@media (max-width: 720px) {
    .rs-armory.rs-panel { grid-template-columns: minmax(0, 1fr); }
    .rs-armory-sidebar { padding: 10px; }
    .rs-armory-sidebar .rs-gear-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rs-armory .rs-gear-classes { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
    .rs-armory .rs-gear-grid:not(.rs-gear-grid-list) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 410px) {
    .rs-armory-main { padding: 7px; }
    .rs-armory-sidebar .rs-gear-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rs-armory-toolbar :is(input, select) { flex: 1 1 100%; }
    .rs-gear-grid-list .rs-gear-card { grid-template: 45px / 45px minmax(0, 1fr) 105px; }
    .rs-gear-grid-list .rs-gear-card-details { display: none; }
}


/* ===== RaidMU / Build Gear : Forged item cards (v7) ===== */
.rs-armory .rs-gear-grid:not(.rs-gear-grid-list) { gap: 14px; }
.rs-armory .rs-gear-card {
    isolation: isolate; overflow: hidden; position: relative;
    grid-template-rows: 116px minmax(32px,auto) 18px 39px;
    min-height: 231px; padding: 7px 8px 9px; gap: 7px;
    border: 1px solid #896333; border-radius: 11px;
    background: linear-gradient(158deg,#252018 0%,#131a19 46%,#0a1017 100%);
    box-shadow: inset 0 1px 0 #ffdd9340, inset 0 -1px 0 #000,0 6px 18px #0006;
    color: #f4eddf; transform: translateY(0);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.rs-armory .rs-gear-card::before {
    content: ''; position: absolute; inset: 4px; border-radius: 7px;
    border: 1px solid #bf945022;
    background: linear-gradient(#e9b96b,#e9b96b) left top / 15px 1px,
                linear-gradient(#e9b96b,#e9b96b) right top / 15px 1px,
                linear-gradient(#e9b96b,#e9b96b) left bottom / 15px 1px,
                linear-gradient(#e9b96b,#e9b96b) right bottom / 15px 1px;
    background-repeat: no-repeat; pointer-events: none; z-index: 3;
}
.rs-armory .rs-gear-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 38%, #fff4c412 50%,transparent 62%);
    transform: translateX(-125%); transition: transform .55s ease; pointer-events:none;
}
.rs-armory .rs-gear-card:hover::after { transform: translateX(125%); }
.rs-armory .rs-gear-card:is(:hover,[aria-pressed="true"]) {
    transform: translateY(-3px); border-color: #ffcf79;
    box-shadow: inset 0 1px 0 #ffe6ab80, 0 9px 28px #000a, 0 0 18px #c78e3a55;
}
.rs-armory .rs-gear-card[aria-pressed="true"] { border-color: #e2bd78; }
.rs-armory .rs-gear-art {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; place-items: center; width: 100%; min-width: 0; height: 116px;
    border: 1px solid #78593250; border-radius: 7px;
    background: radial-gradient(ellipse at 50% 54%,#4a472a90 0%,#1e2c22 44%,#10171a 84%);
}
.rs-armory .rs-gear-card-excellent .rs-gear-art {
    background: radial-gradient(ellipse at 50% 57%,#2d8a4e9e 0%,#193d2b 42%,#0a1818 88%);
}
.rs-armory .rs-gear-art::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg,transparent 49.7%,#d6c39210 50%,transparent 50.3%),
                linear-gradient(transparent 49.7%,#d6c3920d 50%,transparent 50.3%);
}
.rs-armory .rs-gear-art::after {
    content: ''; position:absolute; width:74%; height:14px; bottom:11px; left:13%;
    background:#0008; filter:blur(12px); border-radius:50%; pointer-events:none;
}
.rs-armory .rs-gear-art img {
    width: 86%; max-width: 100%; height: 105px; max-height: 105px;
    object-fit: contain; position: relative; z-index: 1;
    filter: drop-shadow(0 6px 4px #000e) drop-shadow(0 0 9px #71ed9d3a);
    transition: transform .25s ease, filter .25s ease;
}
.rs-armory .rs-gear-card:hover .rs-gear-art img {
    transform: scale(1.12) translateY(-2px);
    filter: drop-shadow(0 8px 5px #000d) drop-shadow(0 0 13px #91fdb46d);
}
.rs-armory .rs-item-tier {
    position: absolute; top: 7px; left: 7px; z-index: 2;
    padding: 3px 6px; border-radius: 4px;
    color: #efdbac; border: 1px solid #b58c5655; background: #0c1214c9;
    font-size: .59rem; font-weight: 800; letter-spacing: .085em;
    text-transform: uppercase; box-shadow: 0 2px 8px #0006;
}
.rs-armory .rs-gear-card-excellent .rs-item-tier { color:#b9ffca; border-color:#419e656e; }
.rs-armory .rs-gear-card strong {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; align-self: center;
    color:#f8db9c; font-size: .91rem; font-weight: 800;
    line-height: 1.2; text-shadow:0 1px 4px #000;
}
.rs-armory .rs-gear-card-excellent strong { color:#66ffab; text-shadow:0 0 11px #2ee47b38; }
.rs-armory .rs-gear-card-details {
    font-size:.71rem; color:#c7c3b5; white-space:nowrap;
    overflow:hidden; max-width:100%; text-overflow:ellipsis;
}
.rs-armory .rs-gear-card-footer { gap: 7px; align-self:stretch; }
.rs-armory .rs-gear-card-price {
    display: flex; justify-content:center; align-items:center;
    min-width:0; height: 36px; padding: 4px;
    border:1px solid #735b34; border-radius: 6px;
    background:linear-gradient(180deg,#292214,#131510);
    color:#ffe1a4; font-size:.76rem; font-weight:800;
    white-space:nowrap; box-shadow:inset 0 1px 0 #ffffff12;
}
.rs-armory .rs-gear-card-price::before { content:'◆'; margin-right:6px; color:#ff6b92; text-shadow:0 0 9px #ff3976; }
.rs-armory .rs-gear-card-configure {
    flex:0 0 35px; width:35px; height:36px;
    border:1px solid #f3d292; border-radius:6px;
    background:linear-gradient(165deg,#fff2bf,#e4b661 57%,#a66b2c);
    color:#3a210c; font:bold 1.6rem/1 Georgia,serif;
    box-shadow:inset 0 1px 0 #fff8da,0 2px 9px #0007;
    transition:filter .2s ease, transform .2s ease;
}
.rs-armory .rs-gear-card:hover .rs-gear-card-configure { filter:brightness(1.16); transform:translateX(2px); }
/* List view must stay horizontal rather than inherit the card's grid rows. */
.rs-armory .rs-gear-grid-list .rs-gear-card {
    grid-template: 66px / 70px minmax(0,1fr) minmax(0,.9fr) minmax(125px,.9fr);
    min-height: 78px; gap: 10px; text-align: left; justify-items: start;
}
.rs-armory .rs-gear-grid-list .rs-gear-art { height: 62px; }
.rs-armory .rs-gear-grid-list .rs-gear-art img { height:55px; max-height:55px; }
.rs-armory .rs-gear-grid-list .rs-item-tier { display:none; }
.rs-armory .rs-gear-grid-list .rs-gear-card-footer { align-self:center; }
@media(max-width:1100px) and (min-width:581px) {
    .rs-armory .rs-gear-grid:not(.rs-gear-grid-list) { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:580px) {
    .rs-armory .rs-gear-grid:not(.rs-gear-grid-list) { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
    .rs-armory .rs-gear-card { min-height:209px; grid-template-rows:99px minmax(30px,auto) 18px 35px; padding:6px; gap:5px; }
    .rs-armory .rs-gear-art { height:99px; }
    .rs-armory .rs-gear-art img { height:91px; max-height:91px; }
    .rs-armory .rs-gear-card strong { font-size:.78rem; }
    .rs-armory .rs-gear-card-price { font-size:.63rem; height:33px; }
    .rs-armory .rs-gear-card-configure { flex-basis:28px; width:28px; height:33px; }
    .rs-armory .rs-gear-grid-list .rs-gear-card { grid-template:50px / 55px minmax(0,1fr) 116px; min-height:62px; }
    .rs-armory .rs-gear-grid-list .rs-gear-card-details {display:none;}
    .rs-armory .rs-gear-grid-list .rs-gear-art {height:49px;}
    .rs-armory .rs-gear-grid-list .rs-gear-art img {height:45px;max-height:45px;}
}
@media(prefers-reduced-motion:reduce) {
    .rs-armory .rs-gear-card,.rs-armory .rs-gear-card::after,
    .rs-armory .rs-gear-art img,.rs-armory .rs-gear-card-configure {transition:none;}
}

/* v8 — clean card borders + adaptive catalogue beside the configurator. */
.rs-armory .rs-gear-card::before { content: none; display: none; }
.rs-armory .rs-gear-card { min-width: 0; }
.rs-armory .rs-gear-card-footer { min-width: 0; }
.rs-armory .rs-gear-card-price { flex: 1 1 auto; min-width: 0; overflow: hidden; font-size: clamp(.63rem, .8vw, .76rem); }
.rs-armory .rs-gear-card-configure { flex-shrink: 0; }

/* Full catalogue: four across on wide screens. When the editor is visible,
   reserve a proper three-column catalogue instead of crushing four cards. */
@media (min-width: 1101px) {
    .rs-gear-workspace:not(:has(.rs-gear-layout:not([hidden]))) .rs-gear-grid:not(.rs-gear-grid-list) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .rs-gear-workspace:has(.rs-gear-layout:not([hidden])) .rs-gear-grid:not(.rs-gear-grid-list) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
/* Respond to the actual catalogue width (which changes when editor opens),
   not just the browser width. */
.rs-gear-catalog { container-type: inline-size; }
@container (max-width: 590px) {
    .rs-armory .rs-gear-grid:not(.rs-gear-grid-list) { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* RaidMU Online marketplace — v8, storefront only */
.rs-shell.rs-storefront {--rs-gold:#ffd079;--rs-muted:#bcb0ce;--rs-line:#543d70;--rs-panel:#20192e;--rs-input:#171322;color:#f4edf9;}
.rs-storefront .rs-heading {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);align-items:center;text-align:left;justify-items:stretch;min-height:0;padding:26px;gap:24px;border-color:#6e4b92;background:radial-gradient(ellipse at 85% 0%,#65358a55,transparent 65%),linear-gradient(120deg,#241a38,#181522 70%);box-shadow:0 14px 40px #0004;}
.rs-storefront .rs-heading h1 {font-size:clamp(1.65rem,2.7vw,2.7rem);text-shadow:none;color:#ffe0a5;}
.rs-kicker {display:block;color:#c69aff;font-size:.68rem;font-weight:800;letter-spacing:.13em;margin-bottom:8px;}
.rs-storefront .rs-heading p {color:var(--rs-muted);font-size:.85rem;}
.rs-storefront .rs-banner-facts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.rs-storefront .rs-wallet {min-width:0;align-content:center;justify-items:start;text-align:left;padding:14px;border:1px solid #694a88;background:linear-gradient(145deg,#35234b,#21192e);border-radius:12px;overflow-wrap:anywhere;}
.rs-storefront .rs-banner-balance {border-color:#a88351;background:linear-gradient(145deg,#40304a,#21192e);}
.rs-storefront .rs-wallet strong {font-size:clamp(.85rem,1.1vw,1.1rem);color:#ffd079;}
.rs-storefront .rs-earn-card {text-decoration:none;transition:border-color .15s,background .15s;}
.rs-storefront a.rs-earn-card:hover {border-color:#d9a5ff;background:#40295b;}
.rs-storefront .rs-earn-icon {font-size:1.3rem;color:#d9a5ff;line-height:1;}
.rs-storefront .rs-earn-pending strong {color:#d6c1ec;}
.rs-storefront .rs-nav {gap:8px;padding:8px;border:1px solid var(--rs-line);border-radius:12px;background:#191523;}
.rs-storefront .rs-nav a {display:flex;align-items:center;gap:8px;background:#241c33;border-color:transparent;color:#e9dff4;border-radius:8px;padding:11px 15px;}
.rs-storefront .rs-nav a:is([aria-current],:hover),.rs-storefront .rs-armory button[data-gear-group]:is([aria-pressed=true],:hover),.rs-storefront .rs-armory :is(.rs-gear-display,.rs-gear-classes) button:is([aria-pressed=true],:hover) {background:linear-gradient(135deg,#543371,#342347);border-color:#a87ad3;color:#ffe0a5;box-shadow:none;}
.rs-tab-icon {color:#d7a2ff;font-size:1.05rem;}
.rs-storefront :is(.rs-armory-sidebar,.rs-armory-main,.rs-card,.rs-panel:not(.rs-armory)) {background:linear-gradient(145deg,#261e35,#191522);border-color:var(--rs-line);box-shadow:none;}
.rs-storefront .rs-forge-banner {background:linear-gradient(110deg,#38234f,#21192e);border-color:#61437f;text-align:left;padding:18px 20px;}
.rs-storefront .rs-forge-banner h2 {text-shadow:none;font-size:clamp(1.3rem,2vw,1.9rem);}
.rs-storefront .rs-armory .rs-gear-card {background:linear-gradient(150deg,#2c223e,#181522);border-color:#60447c;box-shadow:none;}
.rs-storefront .rs-armory .rs-gear-card:is(:hover,[aria-pressed=true]) {border-color:#c395ed;box-shadow:0 0 0 1px #c395ed55;}
.rs-storefront .rs-armory .rs-gear-art {background:radial-gradient(ellipse,#45305b,#1c1828 75%);border-color:#5b4275;}
.rs-storefront .rs-armory .rs-gear-card-excellent .rs-gear-art {background:radial-gradient(ellipse,#214a3b,#17251f 75%);}
.rs-storefront .rs-armory .rs-gear-card-excellent strong {color:#66ffab;}
.rs-storefront .rs-armory .rs-gear-card-price,.rs-storefront .rs-gear-card-configure {background:#322443;border-color:#654782;color:#ffd079;}
.rs-storefront :is(input:not([type=checkbox]):not([type=radio]),select) {background:#171322;border-color:#59416f;color:#eee5f6;}
.rs-storefront .rs-button {background:#563676;border:1px solid #a579cc;color:#ffdfa0;box-shadow:none;text-decoration:none;}
.rs-bag-heading {display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;}
.rs-bag-heading h2 {margin:0;color:#ffd079;}.rs-bag-heading p {margin:6px 0 0;}
.rs-bag-account {margin:24px 0 10px;color:#d9b4ff;font-size:1rem;border-bottom:1px solid #543d70;padding-bottom:10px;}
.rs-bag-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px;}
.rs-bag-order {min-width:0;background:#181423;border:1px solid #59416f;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px;}
.rs-bag-meta,.rs-bag-bottom {display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:.75rem;color:#bcb0ce;}
.rs-bag-status {color:#c6edb7;}.rs-bag-order h4 {margin:0;color:#ffe0a5;overflow-wrap:anywhere;}.rs-bag-order .rs-components {margin:0;}.rs-bag-order .rs-components li {background:#251c34;border-radius:8px;padding:8px;}.rs-bag-order .rs-components img {width:48px;height:48px;object-fit:contain;}.rs-bag-bottom {margin-top:auto;}.rs-bag-note {margin-top:20px;}.rs-bag-empty {text-align:center;padding:38px 12px;}.rs-bag-empty>span {font-size:42px;color:#c69aff;}
@media(max-width:1000px){.rs-storefront .rs-heading {grid-template-columns:1fr;}}
@media(max-width:600px){.rs-storefront .rs-heading {padding:16px;}.rs-storefront .rs-banner-facts {grid-template-columns:1fr 1fr;}.rs-storefront .rs-banner-balance {grid-column:1/-1;}.rs-storefront .rs-nav-end {margin-inline-start:0;}.rs-storefront .rs-nav a {padding:8px 10px;}}

/* V9 — editorial marketplace: graphite surfaces, restrained metallic accents. */
.rs-shell.rs-storefront{--rs-gold:#e3c28a;--rs-muted:#a9a3b5;--rs-line:#353040;--rs-panel:#191720;--rs-input:#14121b;padding-block:32px 80px;color:#e9e5ee;max-width:1480px;width:calc(100% - 64px);margin-inline:auto;}
.rs-storefront .rs-heading{padding:30px 34px;gap:32px;grid-template-columns:minmax(320px,.95fr) minmax(540px,1.45fr);align-items:stretch;border:1px solid #393143;border-top:2px solid #98784f;border-radius:6px;background:linear-gradient(112deg,#251d32 0%,#1b1724 52%,#17151e 100%);box-shadow:none;}
.rs-storefront .rs-heading h1{font-size:clamp(2rem,3vw,3rem);font-weight:500;letter-spacing:-.025em;color:#f0dbb5;line-height:1.15;}
.rs-storefront .rs-kicker{color:#b4a1ce;font-size:.65rem;font-weight:600;letter-spacing:.17em;}
.rs-storefront .rs-heading p{max-width:420px;line-height:1.6;color:#b4adbf;}
.rs-storefront .rs-banner-facts{gap:0;grid-template-columns:minmax(0,1.45fr) minmax(235px,1fr) minmax(235px,1fr);border:1px solid #41374c;border-radius:4px;background:#16131d;min-height:136px;}
.rs-storefront .rs-wallet{grid-template-columns:56px minmax(0,1fr);align-items:center;border:0;border-radius:0;background:none;padding:18px 18px;gap:14px;align-content:center;}
.rs-storefront .rs-wallet+.rs-wallet{border-left:1px solid #41374c;}
.rs-storefront .rs-wallet-copy{display:grid;gap:5px;min-width:0;}
.rs-storefront .rs-wallet span{font-size:.72rem;color:#a9a3b5;}
.rs-storefront .rs-wallet strong{font-size:1rem;color:#e5ddec;font-weight:650;line-height:1.25;}
.rs-storefront .rs-banner-balance strong{font-size:clamp(1.25rem,2vw,1.9rem);letter-spacing:-.04em;color:#e3c28a;}
.rs-storefront .rs-wallet-kicker{text-transform:none;}
.rs-storefront .rs-wallet-meta{color:#b9b2c6;}
.rs-storefront .rs-wallet-media{width:56px;height:56px;display:grid;place-items:center;border:1px solid #604873;border-radius:16px;background:radial-gradient(circle at 50% 26%,rgba(118,72,184,.18),transparent 55%),linear-gradient(180deg,#21172f 0%,#171321 100%);box-shadow:inset 0 -2px 0 rgba(133,82,198,.32);}
.rs-storefront .rs-wallet-media img{width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 0 12px rgba(159,98,255,.42));}
.rs-storefront .rs-wallet-media svg{width:28px;height:28px;color:#cdb2f5;filter:drop-shadow(0 0 12px rgba(159,98,255,.22));}
.rs-storefront .rs-wallet-media-time{border-color:#4f5777;background:radial-gradient(circle at 50% 26%,rgba(108,138,199,.16),transparent 55%),linear-gradient(180deg,#1a1d30 0%,#151924 100%);box-shadow:inset 0 -2px 0 rgba(97,119,182,.28);}
.rs-storefront .rs-wallet-media-time svg{color:#c8d8ff;}
.rs-storefront a.rs-earn-card{transition:background .18s ease,border-color .18s ease;}
.rs-storefront a.rs-earn-card:hover{background:#211b2b;}
.rs-storefront a.rs-earn-card:hover .rs-wallet-media{border-color:#8760b7;}
.rs-storefront .rs-earn-pending .rs-wallet-media{opacity:.95;}
.rs-storefront .rs-nav{margin:20px 0 24px;padding:0;gap:4px;border:0;border-bottom:1px solid #393143;border-radius:0;background:transparent;}
.rs-storefront .rs-nav a{padding:14px 18px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#b7afc1;font-size:.85rem;font-weight:500;white-space:nowrap;}
.rs-storefront .rs-nav a:is([aria-current],:hover){background:#211b2b;border:0;border-bottom:2px solid #d4b47e;color:#f1dcb6;box-shadow:none;}
.rs-storefront .rs-tab-icon{display:flex;color:#aa95c3;}
.rs-storefront .rs-tab-icon svg{width:17px;height:17px;}
.rs-storefront .rs-nav a[aria-current] .rs-tab-icon{color:#e3c28a;}
.rs-storefront .rs-nav .rs-nav-end{color:#c1accf;}
.rs-storefront :is(.rs-armory-sidebar,.rs-armory-main,.rs-card,.rs-panel:not(.rs-armory)){border:1px solid #353040;border-radius:5px;background:#191720;box-shadow:none;}
.rs-storefront .rs-armory-sidebar{padding:20px 16px;}
.rs-storefront .rs-armory-sidebar h3{font-size:.7rem;font-weight:600;letter-spacing:.16em;color:#b8a4cf;border-color:#353040;}
.rs-storefront .rs-armory button[data-gear-group]{border-radius:3px;border-color:transparent;color:#c8c0d1;background:transparent;padding-block:11px;}
.rs-storefront .rs-armory button[data-gear-group]:is([aria-pressed=true],:hover){background:#2a2236;color:#e3c28a;border-color:transparent;border-left:2px solid #b99a68;box-shadow:none;}
.rs-storefront .rs-armory-main{padding:22px;}
.rs-storefront .rs-forge-banner{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 12px;background:none;border:0;border-bottom:1px solid #353040;border-radius:0;padding:0 0 18px;margin-bottom:18px;}
.rs-storefront .rs-forge-banner h2{font-family:inherit;font-weight:500;font-size:1.7rem;color:#eae4f0;letter-spacing:-.025em;}
.rs-storefront .rs-forge-banner p{grid-column:1/-1;color:#a9a3b5;line-height:1.6;}
.rs-storefront .rs-catalog-count{font-size:.75rem;color:#b4a1ce;border:1px solid #41374c;padding:6px 9px;border-radius:3px;}
.rs-storefront :is(input:not([type=checkbox]):not([type=radio]),select){background:#14121b;border:1px solid #41394d;border-radius:4px;min-height:34px;}
.rs-storefront .rs-armory-results{padding:8px 0 4px;margin-bottom:12px;}
.rs-storefront .rs-armory :is(.rs-gear-display,.rs-gear-classes) button{border-radius:3px;background:#18151f;border-color:#41394d;color:#b7afc1;}
.rs-storefront .rs-armory :is(.rs-gear-display,.rs-gear-classes) button:is([aria-pressed=true],:hover){background:#30263e;border-color:#766188;color:#e3c28a;box-shadow:none;}
.rs-storefront .rs-armory .rs-gear-card{padding:0;gap:8px;grid-template-rows:136px minmax(32px,auto) 18px 42px;min-height:248px;border:1px solid #3c3546;border-radius:5px;background:#1d1a25;box-shadow:none;transition:border-color .15s,background .15s;}
.rs-storefront .rs-armory .rs-gear-card:is(:hover,[aria-pressed=true]){transform:none;border-color:#a28a66;box-shadow:none;background:#24202d;}
.rs-storefront .rs-armory .rs-gear-card::after,.rs-storefront .rs-armory .rs-gear-art::before,.rs-storefront .rs-armory .rs-gear-art::after{display:none;}
.rs-storefront .rs-armory .rs-gear-art{height:136px;border:0;border-bottom:1px solid #3c3546;border-radius:4px 4px 0 0;background:radial-gradient(ellipse at 50% 60%,#342a42,#191720 75%);}
.rs-storefront .rs-armory .rs-gear-card-excellent .rs-gear-art{background:radial-gradient(ellipse at 50% 60%,#223a30,#171d1e 78%);}
.rs-storefront .rs-armory .rs-gear-art img{height:119px;max-height:119px;filter:drop-shadow(0 5px 4px #0009);}
.rs-storefront .rs-armory .rs-gear-card:hover .rs-gear-art img{transform:scale(1.04);filter:drop-shadow(0 5px 4px #0009);}
.rs-storefront .rs-armory .rs-item-tier{background:#17151e;border:0;border-radius:2px;color:#c4b2d8;font-size:.62rem;font-weight:600;box-shadow:none;letter-spacing:.1em;}
.rs-storefront .rs-armory .rs-gear-card-excellent .rs-item-tier{color:#9ccab1;}
.rs-storefront .rs-armory .rs-gear-card strong{justify-self:start;text-align:left;padding:0 12px;color:#e9e1ef;font-size:.88rem;font-weight:600;text-shadow:none;}
.rs-storefront .rs-armory .rs-gear-card-excellent strong{color:#79d9a1;text-shadow:none;}
.rs-storefront .rs-armory .rs-gear-card-details{justify-self:start;text-align:left;padding:0 12px;color:#a9a3b5;font-size:.72rem;}
.rs-storefront .rs-armory .rs-gear-card-footer{padding:0 10px;border-top:1px solid #383142;box-sizing:border-box;gap:6px;}
.rs-storefront .rs-armory .rs-gear-card-price{justify-content:flex-start;background:none;border:0;padding:0;color:#e3c28a;box-shadow:none;font-weight:600;}
.rs-storefront .rs-armory .rs-gear-card-price::before{color:#bd9ad9;text-shadow:none;}
.rs-storefront .rs-armory .rs-gear-card-configure{width:29px;height:28px;flex-basis:29px;background:#292333;border:1px solid #51435e;border-radius:3px;color:#d6b984;box-shadow:none;font:500 1.2rem/1 sans-serif;}
.rs-storefront .rs-armory .rs-gear-card:hover .rs-gear-card-configure{transform:none;filter:none;background:#3b3048;}
.rs-storefront .rs-armory .rs-gear-grid-list .rs-gear-card{grid-template:72px / 74px minmax(0,1fr) minmax(0,.8fr) minmax(125px,.9fr);min-height:74px;padding:4px;}
.rs-storefront .rs-armory .rs-gear-grid-list .rs-gear-art{height:70px;border:0;}
.rs-storefront .rs-armory .rs-gear-grid-list .rs-gear-art img{height:64px;max-height:64px;}
.rs-storefront .rs-armory .rs-gear-grid-list .rs-gear-card-footer{border:0;}
.rs-storefront .rs-button{background:#302638;border:1px solid #796283;border-radius:4px;color:#ead5ab;box-shadow:none;font-weight:500;}
.rs-storefront .rs-bag-heading{padding-bottom:18px;border-bottom:1px solid #393143;}
.rs-storefront .rs-bag-account{color:#c7b5d9;display:flex;align-items:center;gap:8px;border-color:#393143;}
.rs-storefront .rs-bag-account svg{width:17px;height:17px;}
.rs-storefront .rs-bag-order{background:#1d1a25;border:1px solid #3c3546;border-radius:5px;padding:18px;}
.rs-storefront .rs-bag-meta{font-size:.7rem;letter-spacing:.06em;}
.rs-storefront .rs-bag-status{color:#a6c7ac;}
.rs-storefront .rs-bag-order .rs-components li{background:#17151e;border-radius:3px;}
.rs-storefront .rs-bag-bottom{border-top:1px solid #393143;padding-top:12px;}
.rs-storefront .rs-bag-empty>span svg{width:42px;height:42px;color:#b4a1ce;}
@media(max-width:1050px){.rs-storefront .rs-heading{grid-template-columns:1fr;gap:20px;}}
@media(max-width:650px){.rs-shell.rs-storefront{width:calc(100% - 24px);padding-top:18px;}.rs-storefront .rs-heading{padding:18px;}.rs-storefront .rs-banner-facts{grid-template-columns:1fr;}.rs-storefront .rs-banner-balance{grid-column:auto;border-bottom:1px solid #41374c;}.rs-storefront .rs-wallet+.rs-wallet{border-left:0;border-top:1px solid #41374c;}.rs-storefront .rs-wallet{grid-template-columns:48px minmax(0,1fr);padding:14px;gap:12px;}.rs-storefront .rs-wallet-media{width:48px;height:48px;border-radius:14px;}.rs-storefront .rs-wallet-media img{width:30px;height:30px;}.rs-storefront .rs-nav a{padding:10px;}.rs-storefront .rs-armory-main{padding:12px;}.rs-storefront .rs-armory .rs-gear-card{grid-template-rows:105px minmax(32px,auto) 18px 37px;min-height:218px;}.rs-storefront .rs-armory .rs-gear-art{height:105px;}.rs-storefront .rs-armory .rs-gear-art img{height:94px;max-height:94px;}.rs-storefront .rs-armory .rs-gear-grid-list .rs-gear-card{grid-template:58px / 52px minmax(0,1fr) 105px;min-height:60px;}.rs-storefront .rs-armory .rs-gear-grid-list .rs-gear-art{height:56px;}.rs-storefront .rs-armory .rs-gear-grid-list .rs-gear-art img{height:50px;max-height:50px;}}


/* V11 — vivid Daily Rewards inspired hero cards + overflow fixes */
.rs-shell.rs-storefront{width:min(1380px,calc(100% - 24px));max-width:none;overflow-x:clip;}
.rs-storefront .rs-heading{grid-template-columns:minmax(0,.95fr) minmax(0,1.55fr);overflow:hidden;border-radius:18px;background:radial-gradient(circle at 0% 0%,rgba(168,76,255,.18),transparent 28%),linear-gradient(135deg,#221432 0%,#171325 54%,#12131f 100%);box-shadow:0 18px 36px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.04);}
.rs-storefront .rs-banner-facts{border-radius:18px;overflow:hidden;background:linear-gradient(180deg,#191429 0%,#14111f 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.04);}
.rs-storefront .rs-hero-copy{min-width:0;}
.rs-storefront .rs-hero-copy h1{line-height:1.02;}
.rs-storefront .rs-hero-card{position:relative;isolation:isolate;min-width:0;}
.rs-storefront .rs-hero-card::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 14% 18%,rgba(255,255,255,.08),transparent 22%);opacity:.8;z-index:-1;}
.rs-storefront .rs-hero-balance{background:radial-gradient(circle at 18% 22%,rgba(170,91,255,.20),transparent 24%),linear-gradient(180deg,#1a1430 0%,#14101f 100%);}
.rs-storefront .rs-hero-daily{background:radial-gradient(circle at 18% 22%,rgba(240,188,88,.18),transparent 28%),linear-gradient(180deg,#261432 0%,#17111f 100%);}
.rs-storefront .rs-hero-time{background:radial-gradient(circle at 18% 22%,rgba(101,233,221,.13),transparent 26%),linear-gradient(180deg,#141c33 0%,#111521 100%);}
.rs-storefront .rs-wallet-media{width:62px;height:62px;border-radius:18px;border-color:#8458b7;background:linear-gradient(180deg,#312048 0%,#201630 100%);box-shadow:inset 0 -3px 0 rgba(126,74,200,.26),0 0 0 1px rgba(214,155,255,.08);}
.rs-storefront .rs-wallet-media img{width:38px;height:38px;object-fit:contain;}
.rs-storefront .rs-wallet-media-shards img{filter:drop-shadow(0 0 14px rgba(162,112,255,.45));}
.rs-storefront .rs-wallet-media-jewels img{width:58px;height:58px;border-radius:16px;object-fit:cover;filter:drop-shadow(0 6px 10px rgba(0,0,0,.24));}
.rs-storefront .rs-wallet-media-time{border-color:#6d88c9;background:linear-gradient(180deg,#22304f 0%,#162038 100%);box-shadow:inset 0 -3px 0 rgba(82,138,210,.25),0 0 0 1px rgba(170,210,255,.08);}
.rs-storefront .rs-wallet-media-time svg{width:30px;height:30px;color:#dcebff;filter:drop-shadow(0 0 10px rgba(138,191,255,.30));}
.rs-storefront .rs-wallet-copy{gap:4px;}
.rs-storefront .rs-wallet-kicker{font-size:.74rem;letter-spacing:.02em;color:#d0c2e6;}
.rs-storefront .rs-wallet strong{font-size:1.04rem;color:#fff6ff;}
.rs-storefront .rs-banner-balance strong{font-size:clamp(1.55rem,2.3vw,2.5rem);line-height:1.02;color:#ffd47d;text-shadow:0 0 18px rgba(240,188,88,.12);}
.rs-storefront .rs-wallet-meta{font-size:.86rem;color:#cfc1dd;}
.rs-storefront .rs-hero-daily strong{color:#fff0d0;}
.rs-storefront .rs-hero-time strong{color:#eef7ff;}
.rs-storefront a.rs-earn-card:hover{background:linear-gradient(180deg,#2c1a39 0%,#1b1325 100%);}
.rs-storefront .rs-hero-time:hover,.rs-storefront .rs-hero-time{background:radial-gradient(circle at 18% 22%,rgba(101,233,221,.13),transparent 26%),linear-gradient(180deg,#15203a 0%,#10141f 100%);}
.rs-storefront .rs-nav{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin;padding-bottom:2px;}
.rs-storefront .rs-nav .rs-nav-end{margin-inline-start:auto;flex:0 0 auto;}
.rs-storefront .rs-nav a{flex:0 0 auto;}
@media(max-width:1050px){.rs-storefront .rs-heading{grid-template-columns:1fr;}.rs-storefront .rs-banner-facts{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);}}
@media(max-width:720px){.rs-shell.rs-storefront{width:calc(100% - 18px);padding-top:14px;}.rs-storefront .rs-heading{padding:16px;gap:16px;}.rs-storefront .rs-banner-facts{grid-template-columns:1fr;}.rs-storefront .rs-wallet+.rs-wallet{border-left:0;border-top:1px solid #41374c;}.rs-storefront .rs-wallet{grid-template-columns:54px minmax(0,1fr);padding:14px;}.rs-storefront .rs-wallet-media{width:54px;height:54px;border-radius:16px;}.rs-storefront .rs-wallet-media img{width:34px;height:34px;}.rs-storefront .rs-wallet-media-jewels img{width:50px;height:50px;}.rs-storefront .rs-banner-balance{border-bottom:1px solid #41374c;}}

/* V12 — align marketplace with shared header's 1700px container. */
body .rs-shell.rs-storefront.container {
  box-sizing: border-box;
  width: min(100%, 1700px) !important;
  max-width: 1700px !important;
  margin-inline: auto !important;
  padding-inline: 24px !important;
  overflow-x: visible;
}
.rs-storefront .rs-heading {
  grid-template-columns: minmax(0, .85fr) minmax(0, 2fr);
  justify-items: stretch;
  align-items: center;
  text-align: left;
  gap: 24px;
  padding: 24px;
}
.rs-storefront .rs-banner-facts {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);
}
.rs-storefront .rs-wallet {grid-template-columns: 62px minmax(0,1fr); gap: 12px; padding: 16px 14px;}
.rs-storefront .rs-banner-balance strong {white-space: nowrap; overflow-wrap: normal; word-break: normal; font-size: clamp(1.05rem,1.65vw,1.85rem); letter-spacing: -.035em;}
.rs-storefront .rs-wallet-media-jewels img {object-fit: contain;}
@media (max-width: 1390px) {
  .rs-storefront .rs-heading {grid-template-columns: minmax(0,1fr);}
  .rs-storefront .rs-banner-balance strong {font-size: clamp(1.1rem,2.1vw,1.85rem);}
}
@media (max-width: 850px) {
  body .rs-shell.rs-storefront.container {padding-inline: 12px !important;}
  .rs-storefront .rs-heading {padding: 16px;}
  .rs-storefront .rs-banner-facts {grid-template-columns: minmax(0,1fr);}
  .rs-storefront .rs-wallet {grid-template-columns: 54px minmax(0,1fr);}
  .rs-storefront .rs-wallet + .rs-wallet {border-left: 0; border-top: 1px solid #41374c;}
  .rs-storefront .rs-banner-balance {grid-column: auto; border-bottom: 0;}
  .rs-storefront .rs-banner-balance strong {font-size: clamp(1rem,5vw,1.85rem);}
}

/* V13 — equipment tiers share the VIP palette; independent of account VIP. */
.rs-storefront .rs-armory .rs-gear-card[data-tier]{--tier-accent:#a8b0c1;--tier-border:#404858;--tier-surface:linear-gradient(155deg,#232833,#161923 48%,#11141c);--tier-art:radial-gradient(ellipse at 50% 55%,#343b4a,#171b25 76%);--tier-glow:#a8b0c125;position:relative;overflow:hidden;border:1px solid var(--tier-border);border-top:2px solid var(--tier-accent);border-radius:12px;background:var(--tier-surface);box-shadow:0 8px 20px #0004;transition:border-color .18s,box-shadow .18s,transform .18s;}
.rs-storefront .rs-armory .rs-gear-card[data-tier="mid"]{--tier-accent:#c6d3e6;--tier-border:#536174;--tier-surface:linear-gradient(155deg,#252f40 0%,#141b28 38%,#111722 100%);--tier-art:radial-gradient(ellipse at 50% 45%,#43516a,#141b28 78%);--tier-glow:#c6d3e638;}
.rs-storefront .rs-armory .rs-gear-card[data-tier="elite"]{--tier-accent:#ffd079;--tier-border:#a37a42;--tier-surface:linear-gradient(155deg,#49351c,#211e20 42%,#141923);--tier-art:radial-gradient(ellipse at 50% 45%,#73532c,#211e20 78%);--tier-glow:#ffd07940;}
.rs-storefront .rs-armory .rs-gear-card[data-tier="top"]{--tier-accent:#c46eff;--tier-border:#a64ee8;--tier-surface:radial-gradient(ellipse at 90% 0,#a52ff855,transparent 55%),linear-gradient(155deg,#4b1f79,#25143a 48%,#14111e);--tier-art:radial-gradient(ellipse at 55% 40%,#7134a0,#25143a 78%);--tier-glow:#a23cff55;box-shadow:0 0 18px #a23cff20,0 8px 20px #0005;}
.rs-storefront .rs-armory .rs-gear-card[data-tier] .rs-gear-art{background:var(--tier-art);border-bottom:1px solid var(--tier-border);border-radius:10px 10px 0 0;}
.rs-storefront .rs-armory .rs-gear-card[data-tier] .rs-gear-art img{filter:drop-shadow(0 5px 5px #0009) drop-shadow(0 0 10px var(--tier-glow));}
.rs-storefront .rs-armory .rs-gear-card[data-tier] .rs-item-tier{color:var(--tier-accent);border:1px solid var(--tier-border);background:#100e18d9;border-radius:5px;font-weight:800;}
.rs-storefront .rs-armory .rs-gear-card[data-tier] strong{justify-self:center;text-align:center;color:var(--tier-accent);font-weight:800;line-height:1.25;text-shadow:0 0 12px var(--tier-glow),0 1px 3px #000a;}
.rs-storefront .rs-armory .rs-gear-card[data-tier] .rs-gear-card-details{justify-self:center;text-align:center;color:#c3bccc;}
.rs-storefront .rs-armory .rs-gear-card[data-tier] .rs-gear-card-footer{border-top-color:var(--tier-border);}
.rs-storefront .rs-armory .rs-gear-card[data-tier] .rs-gear-card-configure{color:var(--tier-accent);border-color:var(--tier-border);background:#12101b99;}
.rs-storefront .rs-armory .rs-gear-card[data-tier]:is(:hover,[aria-pressed=true],:focus-visible){background:var(--tier-surface);border-color:var(--tier-accent);box-shadow:0 0 20px var(--tier-glow),0 8px 22px #0006;}
.rs-storefront .rs-armory .rs-gear-card[data-tier]:hover{transform:translateY(-2px);}
.rs-storefront .rs-armory .rs-gear-card-price{justify-content:center;color:#ffda91;font-weight:750;gap:5px;white-space:nowrap;}
.rs-storefront .rs-armory .rs-gear-card-price::before{content:"";display:block;flex:0 0 20px;width:20px;height:20px;margin:0;background:url('/assets/images/daily-rewards/shards.svg') center/contain no-repeat;filter:drop-shadow(0 0 5px #a46aff66);}
.rs-storefront .rs-armory .rs-gear-grid-list .rs-gear-card[data-tier] .rs-gear-art{border:0;border-radius:7px;}
.rs-storefront .rs-armory .rs-gear-grid-list .rs-gear-card[data-tier] .rs-gear-card-footer{border:0;}
@media(prefers-reduced-motion:reduce){.rs-storefront .rs-armory .rs-gear-card[data-tier]{transition:none;}.rs-storefront .rs-armory .rs-gear-card[data-tier]:hover{transform:none;}}

/* V14: original Legends metallic corner geometry, scaled to equipment cards. */
.rs-storefront .rs-armory .rs-gear-card[data-tier][data-tier="entry"]{--frame-metal:#a8b0c1;--frame-dark:#414957;--frame-light:#e2e8f0;--corner-tl:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20transform%3D%22%22%3E%3Cpath%20d%3D%22M2%2045V13L13%202H45L31%208H17L8%2017V31Z%22%20fill%3D%22%23414957%22%20stroke%3D%22%23a8b0c1%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M3%2038V15L15%203H38M9%2026L26%209M3%2017L17%203%22%20fill%3D%22none%22%20stroke%3D%22%23e2e8f0%22%20stroke-width%3D%221.3%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");--corner-tr:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20transform%3D%22translate%2848%200%29%20scale%28-1%201%29%22%3E%3Cpath%20d%3D%22M2%2045V13L13%202H45L31%208H17L8%2017V31Z%22%20fill%3D%22%23414957%22%20stroke%3D%22%23a8b0c1%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M3%2038V15L15%203H38M9%2026L26%209M3%2017L17%203%22%20fill%3D%22none%22%20stroke%3D%22%23e2e8f0%22%20stroke-width%3D%221.3%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");--corner-bl:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20transform%3D%22translate%280%2048%29%20scale%281%20-1%29%22%3E%3Cpath%20d%3D%22M2%2045V13L13%202H45L31%208H17L8%2017V31Z%22%20fill%3D%22%23414957%22%20stroke%3D%22%23a8b0c1%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M3%2038V15L15%203H38M9%2026L26%209M3%2017L17%203%22%20fill%3D%22none%22%20stroke%3D%22%23e2e8f0%22%20stroke-width%3D%221.3%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");--corner-br:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20transform%3D%22translate%2848%2048%29%20scale%28-1%20-1%29%22%3E%3Cpath%20d%3D%22M2%2045V13L13%202H45L31%208H17L8%2017V31Z%22%20fill%3D%22%23414957%22%20stroke%3D%22%23a8b0c1%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M3%2038V15L15%203H38M9%2026L26%209M3%2017L17%203%22%20fill%3D%22none%22%20stroke%3D%22%23e2e8f0%22%20stroke-width%3D%221.3%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
.rs-storefront .rs-armory .rs-gear-card[data-tier][data-tier="mid"]{--frame-metal:#bcdcff;--frame-dark:#54769d;--frame-light:#f0f9ff;--corner-tl:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20transform%3D%22%22%3E%3Cpath%20d%3D%22M2%2045V13L13%202H45L31%208H17L8%2017V31Z%22%20fill%3D%22%2354769d%22%20stroke%3D%22%23bcdcff%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M3%2038V15L15%203H38M9%2026L26%209M3%2017L17%203%22%20fill%3D%22none%22%20stroke%3D%22%23f0f9ff%22%20stroke-width%3D%221.3%22%2F%3E%3Cg%20class%3D%22gem%22%3E%3Cpath%20d%3D%22M13%203%2025%2013%2013%2026%202%2013Z%22%20fill%3D%22%2354769d%22%20stroke%3D%22%23f0f9ff%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2023%204%2013Z%22%20fill%3D%22%23bcdcff%22%2F%3E%3Cpath%20d%3D%22M13%205%2013%2013%204%2013Z%22%20fill%3D%22%23f0f9ff%22%2F%3E%3Cpath%20d%3D%22M13%2013%2023%2013%2013%2023Z%22%20fill%3D%22%2354769d%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2013Z%22%20fill%3D%22white%22%20opacity%3D%22.48%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");--corner-tr:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20transform%3D%22translate%2848%200%29%20scale%28-1%201%29%22%3E%3Cpath%20d%3D%22M2%2045V13L13%202H45L31%208H17L8%2017V31Z%22%20fill%3D%22%2354769d%22%20stroke%3D%22%23bcdcff%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M3%2038V15L15%203H38M9%2026L26%209M3%2017L17%203%22%20fill%3D%22none%22%20stroke%3D%22%23f0f9ff%22%20stroke-width%3D%221.3%22%2F%3E%3Cg%20class%3D%22gem%22%3E%3Cpath%20d%3D%22M13%203%2025%2013%2013%2026%202%2013Z%22%20fill%3D%22%2354769d%22%20stroke%3D%22%23f0f9ff%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2023%204%2013Z%22%20fill%3D%22%23bcdcff%22%2F%3E%3Cpath%20d%3D%22M13%205%2013%2013%204%2013Z%22%20fill%3D%22%23f0f9ff%22%2F%3E%3Cpath%20d%3D%22M13%2013%2023%2013%2013%2023Z%22%20fill%3D%22%2354769d%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2013Z%22%20fill%3D%22white%22%20opacity%3D%22.48%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");--corner-bl:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20transform%3D%22translate%280%2048%29%20scale%281%20-1%29%22%3E%3Cpath%20d%3D%22M2%2045V13L13%202H45L31%208H17L8%2017V31Z%22%20fill%3D%22%2354769d%22%20stroke%3D%22%23bcdcff%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M3%2038V15L15%203H38M9%2026L26%209M3%2017L17%203%22%20fill%3D%22none%22%20stroke%3D%22%23f0f9ff%22%20stroke-width%3D%221.3%22%2F%3E%3Cg%20class%3D%22gem%22%3E%3Cpath%20d%3D%22M13%203%2025%2013%2013%2026%202%2013Z%22%20fill%3D%22%2354769d%22%20stroke%3D%22%23f0f9ff%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2023%204%2013Z%22%20fill%3D%22%23bcdcff%22%2F%3E%3Cpath%20d%3D%22M13%205%2013%2013%204%2013Z%22%20fill%3D%22%23f0f9ff%22%2F%3E%3Cpath%20d%3D%22M13%2013%2023%2013%2013%2023Z%22%20fill%3D%22%2354769d%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2013Z%22%20fill%3D%22white%22%20opacity%3D%22.48%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");--corner-br:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20transform%3D%22translate%2848%2048%29%20scale%28-1%20-1%29%22%3E%3Cpath%20d%3D%22M2%2045V13L13%202H45L31%208H17L8%2017V31Z%22%20fill%3D%22%2354769d%22%20stroke%3D%22%23bcdcff%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M3%2038V15L15%203H38M9%2026L26%209M3%2017L17%203%22%20fill%3D%22none%22%20stroke%3D%22%23f0f9ff%22%20stroke-width%3D%221.3%22%2F%3E%3Cg%20class%3D%22gem%22%3E%3Cpath%20d%3D%22M13%203%2025%2013%2013%2026%202%2013Z%22%20fill%3D%22%2354769d%22%20stroke%3D%22%23f0f9ff%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2023%204%2013Z%22%20fill%3D%22%23bcdcff%22%2F%3E%3Cpath%20d%3D%22M13%205%2013%2013%204%2013Z%22%20fill%3D%22%23f0f9ff%22%2F%3E%3Cpath%20d%3D%22M13%2013%2023%2013%2013%2023Z%22%20fill%3D%22%2354769d%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2013Z%22%20fill%3D%22white%22%20opacity%3D%22.48%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
.rs-storefront .rs-armory .rs-gear-card[data-tier][data-tier="elite"]{--frame-metal:#ffd079;--frame-dark:#a36a21;--frame-light:#fff0bf;--corner-tl:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20transform%3D%22%22%3E%3Cpath%20d%3D%22M2%2045V13L13%202H45L31%208H17L8%2017V31Z%22%20fill%3D%22%23a36a21%22%20stroke%3D%22%23ffd079%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M3%2038V15L15%203H38M9%2026L26%209M3%2017L17%203%22%20fill%3D%22none%22%20stroke%3D%22%23fff0bf%22%20stroke-width%3D%221.3%22%2F%3E%3Cg%20class%3D%22gem%22%3E%3Cpath%20d%3D%22M13%203%2025%2013%2013%2026%202%2013Z%22%20fill%3D%22%23a36a21%22%20stroke%3D%22%23fff0bf%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2023%204%2013Z%22%20fill%3D%22%23ffd079%22%2F%3E%3Cpath%20d%3D%22M13%205%2013%2013%204%2013Z%22%20fill%3D%22%23fff0bf%22%2F%3E%3Cpath%20d%3D%22M13%2013%2023%2013%2013%2023Z%22%20fill%3D%22%23a36a21%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2013Z%22%20fill%3D%22white%22%20opacity%3D%22.48%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");--corner-tr:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20transform%3D%22translate%2848%200%29%20scale%28-1%201%29%22%3E%3Cpath%20d%3D%22M2%2045V13L13%202H45L31%208H17L8%2017V31Z%22%20fill%3D%22%23a36a21%22%20stroke%3D%22%23ffd079%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M3%2038V15L15%203H38M9%2026L26%209M3%2017L17%203%22%20fill%3D%22none%22%20stroke%3D%22%23fff0bf%22%20stroke-width%3D%221.3%22%2F%3E%3Cg%20class%3D%22gem%22%3E%3Cpath%20d%3D%22M13%203%2025%2013%2013%2026%202%2013Z%22%20fill%3D%22%23a36a21%22%20stroke%3D%22%23fff0bf%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2023%204%2013Z%22%20fill%3D%22%23ffd079%22%2F%3E%3Cpath%20d%3D%22M13%205%2013%2013%204%2013Z%22%20fill%3D%22%23fff0bf%22%2F%3E%3Cpath%20d%3D%22M13%2013%2023%2013%2013%2023Z%22%20fill%3D%22%23a36a21%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2013Z%22%20fill%3D%22white%22%20opacity%3D%22.48%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");--corner-bl:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20transform%3D%22translate%280%2048%29%20scale%281%20-1%29%22%3E%3Cpath%20d%3D%22M2%2045V13L13%202H45L31%208H17L8%2017V31Z%22%20fill%3D%22%23a36a21%22%20stroke%3D%22%23ffd079%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M3%2038V15L15%203H38M9%2026L26%209M3%2017L17%203%22%20fill%3D%22none%22%20stroke%3D%22%23fff0bf%22%20stroke-width%3D%221.3%22%2F%3E%3Cg%20class%3D%22gem%22%3E%3Cpath%20d%3D%22M13%203%2025%2013%2013%2026%202%2013Z%22%20fill%3D%22%23a36a21%22%20stroke%3D%22%23fff0bf%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2023%204%2013Z%22%20fill%3D%22%23ffd079%22%2F%3E%3Cpath%20d%3D%22M13%205%2013%2013%204%2013Z%22%20fill%3D%22%23fff0bf%22%2F%3E%3Cpath%20d%3D%22M13%2013%2023%2013%2013%2023Z%22%20fill%3D%22%23a36a21%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2013Z%22%20fill%3D%22white%22%20opacity%3D%22.48%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");--corner-br:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20transform%3D%22translate%2848%2048%29%20scale%28-1%20-1%29%22%3E%3Cpath%20d%3D%22M2%2045V13L13%202H45L31%208H17L8%2017V31Z%22%20fill%3D%22%23a36a21%22%20stroke%3D%22%23ffd079%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M3%2038V15L15%203H38M9%2026L26%209M3%2017L17%203%22%20fill%3D%22none%22%20stroke%3D%22%23fff0bf%22%20stroke-width%3D%221.3%22%2F%3E%3Cg%20class%3D%22gem%22%3E%3Cpath%20d%3D%22M13%203%2025%2013%2013%2026%202%2013Z%22%20fill%3D%22%23a36a21%22%20stroke%3D%22%23fff0bf%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2023%204%2013Z%22%20fill%3D%22%23ffd079%22%2F%3E%3Cpath%20d%3D%22M13%205%2013%2013%204%2013Z%22%20fill%3D%22%23fff0bf%22%2F%3E%3Cpath%20d%3D%22M13%2013%2023%2013%2013%2023Z%22%20fill%3D%22%23a36a21%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2013Z%22%20fill%3D%22white%22%20opacity%3D%22.48%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
.rs-storefront .rs-armory .rs-gear-card[data-tier][data-tier="top"]{--frame-metal:#dc96ff;--frame-dark:#8738bd;--frame-light:#fff0ff;--corner-tl:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20transform%3D%22%22%3E%3Cpath%20d%3D%22M2%2045V13L13%202H45L31%208H17L8%2017V31Z%22%20fill%3D%22%238738bd%22%20stroke%3D%22%23dc96ff%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M3%2038V15L15%203H38M9%2026L26%209M3%2017L17%203%22%20fill%3D%22none%22%20stroke%3D%22%23fff0ff%22%20stroke-width%3D%221.3%22%2F%3E%3Cg%20class%3D%22gem%22%3E%3Cpath%20d%3D%22M13%203%2025%2013%2013%2026%202%2013Z%22%20fill%3D%22%238738bd%22%20stroke%3D%22%23fff0ff%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2023%204%2013Z%22%20fill%3D%22%23dc96ff%22%2F%3E%3Cpath%20d%3D%22M13%205%2013%2013%204%2013Z%22%20fill%3D%22%23fff0ff%22%2F%3E%3Cpath%20d%3D%22M13%2013%2023%2013%2013%2023Z%22%20fill%3D%22%238738bd%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2013Z%22%20fill%3D%22white%22%20opacity%3D%22.48%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");--corner-tr:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20transform%3D%22translate%2848%200%29%20scale%28-1%201%29%22%3E%3Cpath%20d%3D%22M2%2045V13L13%202H45L31%208H17L8%2017V31Z%22%20fill%3D%22%238738bd%22%20stroke%3D%22%23dc96ff%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M3%2038V15L15%203H38M9%2026L26%209M3%2017L17%203%22%20fill%3D%22none%22%20stroke%3D%22%23fff0ff%22%20stroke-width%3D%221.3%22%2F%3E%3Cg%20class%3D%22gem%22%3E%3Cpath%20d%3D%22M13%203%2025%2013%2013%2026%202%2013Z%22%20fill%3D%22%238738bd%22%20stroke%3D%22%23fff0ff%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2023%204%2013Z%22%20fill%3D%22%23dc96ff%22%2F%3E%3Cpath%20d%3D%22M13%205%2013%2013%204%2013Z%22%20fill%3D%22%23fff0ff%22%2F%3E%3Cpath%20d%3D%22M13%2013%2023%2013%2013%2023Z%22%20fill%3D%22%238738bd%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2013Z%22%20fill%3D%22white%22%20opacity%3D%22.48%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");--corner-bl:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20transform%3D%22translate%280%2048%29%20scale%281%20-1%29%22%3E%3Cpath%20d%3D%22M2%2045V13L13%202H45L31%208H17L8%2017V31Z%22%20fill%3D%22%238738bd%22%20stroke%3D%22%23dc96ff%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M3%2038V15L15%203H38M9%2026L26%209M3%2017L17%203%22%20fill%3D%22none%22%20stroke%3D%22%23fff0ff%22%20stroke-width%3D%221.3%22%2F%3E%3Cg%20class%3D%22gem%22%3E%3Cpath%20d%3D%22M13%203%2025%2013%2013%2026%202%2013Z%22%20fill%3D%22%238738bd%22%20stroke%3D%22%23fff0ff%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2023%204%2013Z%22%20fill%3D%22%23dc96ff%22%2F%3E%3Cpath%20d%3D%22M13%205%2013%2013%204%2013Z%22%20fill%3D%22%23fff0ff%22%2F%3E%3Cpath%20d%3D%22M13%2013%2023%2013%2013%2023Z%22%20fill%3D%22%238738bd%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2013Z%22%20fill%3D%22white%22%20opacity%3D%22.48%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");--corner-br:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20transform%3D%22translate%2848%2048%29%20scale%28-1%20-1%29%22%3E%3Cpath%20d%3D%22M2%2045V13L13%202H45L31%208H17L8%2017V31Z%22%20fill%3D%22%238738bd%22%20stroke%3D%22%23dc96ff%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M3%2038V15L15%203H38M9%2026L26%209M3%2017L17%203%22%20fill%3D%22none%22%20stroke%3D%22%23fff0ff%22%20stroke-width%3D%221.3%22%2F%3E%3Cg%20class%3D%22gem%22%3E%3Cpath%20d%3D%22M13%203%2025%2013%2013%2026%202%2013Z%22%20fill%3D%22%238738bd%22%20stroke%3D%22%23fff0ff%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2023%204%2013Z%22%20fill%3D%22%23dc96ff%22%2F%3E%3Cpath%20d%3D%22M13%205%2013%2013%204%2013Z%22%20fill%3D%22%23fff0ff%22%2F%3E%3Cpath%20d%3D%22M13%2013%2023%2013%2013%2023Z%22%20fill%3D%22%238738bd%22%2F%3E%3Cpath%20d%3D%22M13%205%2023%2013%2013%2013Z%22%20fill%3D%22white%22%20opacity%3D%22.48%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
.rs-storefront .rs-armory .rs-gear-card[data-tier]{border:2px solid var(--frame-metal);border-radius:10px;isolation:isolate;box-shadow:0 6px 18px #0007;}
.rs-storefront .rs-armory .rs-gear-card[data-tier]::after{content:"";display:block;position:absolute;inset:0;z-index:5;pointer-events:none;transform:none;opacity:1;border-radius:inherit;background:var(--corner-tl) left top/32px 32px no-repeat,var(--corner-tr) right top/32px 32px no-repeat,var(--corner-bl) left bottom/32px 32px no-repeat,var(--corner-br) right bottom/32px 32px no-repeat;box-shadow:none;}
.rs-storefront .rs-armory .rs-gear-card[data-tier]:hover::after{transform:none;}
.rs-storefront .rs-armory .rs-gear-card[data-tier] .rs-item-tier{top:10px;left:34px;}
.rs-storefront .rs-armory .rs-gear-card[data-tier] .rs-gear-card-footer{padding-inline:24px;}
.rs-storefront .rs-armory .rs-gear-card[data-tier]:is(:hover,[aria-pressed=true],:focus-visible){border-color:var(--frame-light);box-shadow:0 0 20px var(--tier-glow);}
.rs-storefront .rs-armory .rs-gear-grid-list .rs-gear-card[data-tier]::after{background-size:19px 19px;}
@media(max-width:650px){.rs-storefront .rs-armory .rs-gear-card[data-tier]::after{background-size:24px 24px;}.rs-storefront .rs-armory .rs-gear-card[data-tier] .rs-item-tier{left:26px;}.rs-storefront .rs-armory .rs-gear-card[data-tier] .rs-gear-card-footer{padding-inline:13px;}}

/* V18: inset premium frames; plain Entry cards. */
.rs-storefront .rs-armory .rs-gear-card[data-tier]:not([data-tier="entry"]){border:2px solid transparent;}
.rs-storefront .rs-armory .rs-gear-card[data-tier]:not([data-tier="entry"])::after{inset:5px;border:1px solid var(--frame-metal);border-radius:6px;}
.rs-storefront .rs-armory .rs-gear-card[data-tier]:not([data-tier="entry"]):is(:hover,[aria-pressed=true],:focus-visible){border-color:transparent;}
.rs-storefront .rs-armory .rs-gear-card[data-tier]:not([data-tier="entry"]):is(:hover,[aria-pressed=true],:focus-visible)::after{border-color:var(--frame-light);}
.rs-storefront .rs-armory .rs-gear-card[data-tier="entry"]{border:1px solid #34303e;border-radius:10px;--tier-accent:#aaa5b4;--tier-border:#34303e;--tier-art:radial-gradient(ellipse at 50% 55%,#292631,#15131d 76%);--tier-surface:linear-gradient(155deg,#201d29,#15131d);--tier-glow:#0000;box-shadow:none;}
.rs-storefront .rs-armory .rs-gear-card[data-tier="entry"]::after{content:none;display:none;}
.rs-storefront .rs-armory .rs-gear-card[data-tier="entry"] .rs-item-tier{left:12px;}
.rs-storefront .rs-armory .rs-gear-card[data-tier="entry"]:is(:hover,[aria-pressed=true],:focus-visible){border-color:#71677e;box-shadow:none;}

/* V19: keep horizontal separators inside the inset Legends frame. */
.rs-storefront .rs-armory .rs-gear-grid:not(.rs-gear-grid-list) .rs-gear-card[data-tier]:not([data-tier="entry"]) .rs-gear-art {
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, transparent 6px, var(--tier-border) 6px, var(--tier-border) calc(100% - 6px), transparent calc(100% - 6px)) 1;
}
.rs-storefront .rs-armory .rs-gear-grid:not(.rs-gear-grid-list) .rs-gear-card[data-tier]:not([data-tier="entry"]) .rs-gear-card-footer {
    border-top: 1px solid transparent;
    border-image: linear-gradient(to right, transparent 6px, var(--tier-border) 6px, var(--tier-border) calc(100% - 6px), transparent calc(100% - 6px)) 1;
}

/* Online Time Trade */
.rs-online-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin:18px 0;}
.rs-online-card{border:1px solid rgba(150,176,215,.22);border-radius:12px;padding:18px;background:linear-gradient(150deg,rgba(37,54,78,.65),rgba(15,22,36,.75));min-width:0;}
.rs-online-card h3{margin:0 0 14px;overflow-wrap:anywhere;}
.rs-online-form{display:grid;gap:10px;margin-top:14px;}
.rs-online-form label{display:grid;gap:6px;}
.rs-online-form input[type=number]{width:100%;padding:10px;background:#111827;color:#fff;border:1px solid #40516b;border-radius:6px;}
.rs-online-preview{font-size:.9rem;color:#a7b5ca;}.rs-online-preview strong{color:#f5c970;}
