/* /for/resellers: kraft cardboard, shelf-tag yellow, price-gun orange. Anton + IBM Plex Mono. */
.fl-resell {
	--fl-bg: #f3e7d0; --fl-ink: #1a140c; --fl-muted: #5b4a33; --fl-surface: #fffaf0;
	--fl-line: rgba(26,20,12,.16); --fl-accent: #ff5a1f; --fl-accent-ink: #1f0800;
	--fl-display: 'Anton', 'Oswald', sans-serif; --fl-body: 'IBM Plex Mono', ui-monospace, monospace; --fl-radius: 4px;
	--tag: #ffd23f;
	scrollbar-color: var(--fl-accent) var(--fl-bg);
}
.fl-resell .fl-h2 { text-transform: uppercase; letter-spacing: .01em; }

.rs-hero { position: relative; padding: clamp(32px, 5vw, 72px) 0 0;
	background:
		repeating-linear-gradient(90deg, rgba(90,60,20,.05) 0 2px, transparent 2px 7px),
		linear-gradient(#f3e7d0, #ead9b9); }
.rs-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: 56px; }
.rs-copy .fl-h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem); text-transform: uppercase; letter-spacing: .005em; }
.rs-lead { font-size: 1.02rem; line-height: 1.65; max-width: 46ch; margin: 1.2rem 0; color: var(--fl-muted); }
.rs-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.rs-points span { font-size: .8rem; font-weight: 600; padding: 6px 10px; border: 1.5px solid var(--fl-ink); border-radius: 2px; background: var(--fl-surface); }

.rs-bench { grid-template-areas: 'shelf' 'ctrl' 'tag'; background: #2a2016; color: #f8eedb; border-radius: 6px; padding: 18px; box-shadow: 0 18px 40px -18px rgba(26,20,12,.6); display: grid; gap: 16px; }
.rs-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #e6d3ad; margin-bottom: 8px; font-weight: 600; }
.rs-shelf { border: 0; margin: 0; padding: 0; min-width: 0; }
.rs-shelf-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 10px 8px 14px; background: linear-gradient(#3a2c1e, #3a2c1e) bottom / 100% 10px no-repeat, #31251a; border-radius: 4px; }
.rs-box { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; text-align: center; }
.rs-box input { position: absolute; opacity: 0; pointer-events: none; }
.rs-box-face { width: 100%; aspect-ratio: 1; background: #fff; border-radius: 3px; display: grid; place-items: center; padding: 6px; transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s; }
.rs-box-face img { width: 100%; height: 100%; object-fit: contain; }
.rs-box-name { font-size: .68rem; line-height: 1.25; color: #e9dcc2; min-height: 2.5em; }
.rs-box input:checked + .rs-box-face { transform: translateY(-8px); box-shadow: 0 0 0 3px var(--fl-accent), 0 10px 18px rgba(0,0,0,.4); }
.rs-box input:focus-visible + .rs-box-face { outline: 3px solid var(--tag); outline-offset: 2px; }

.rs-toggle { display: inline-flex; background: #1a140c; border-radius: 4px; padding: 3px; gap: 3px; flex-wrap: wrap; }
.rs-tog { font: 600 .85rem/1 var(--fl-body); color: #e6d3ad; background: transparent; border: 0; padding: 10px 12px; border-radius: 3px; cursor: pointer; min-height: 40px; }
.rs-tog.is-on { background: var(--tag); color: #1a140c; }
.rs-price input[type=range] { width: 100%; accent-color: var(--fl-accent); height: 32px; }
.rs-price output { color: var(--tag); font-weight: 600; font-size: 1rem; }
.rs-coins { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-coin input { position: absolute; opacity: 0; }
.rs-coin span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3f0e8, #b7b2a6 70%); color: #2a2016; font-weight: 700; font-size: .85rem; box-shadow: inset 0 0 0 3px #9c968a; cursor: pointer; transition: transform .2s; }
.rs-coin input:checked + span { box-shadow: inset 0 0 0 3px #9c968a, 0 0 0 3px var(--fl-accent); transform: scale(1.08); }
.rs-coin input:focus-visible + span { outline: 3px solid var(--tag); outline-offset: 2px; }

.rs-gunrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rs-fire { font-family: var(--fl-display); font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; padding: .55em 1.1em; }
.rs-fire.is-firing svg { animation: rs-kick .32s cubic-bezier(.16,1,.3,1); }
@keyframes rs-kick { 30% { transform: rotate(-14deg) translateX(-4px); } }
.rs-hint { font-size: .78rem; color: #bfa983; }

.rs-tagslot { min-height: 210px; display: grid; place-items: start center; }
.rs-tag-empty { color: #bfa983; font-size: .85rem; margin: 30px 0; }
.rs-tag { width: min(100%, 380px); background: var(--tag); color: #1a140c; border-radius: 3px; padding: 14px 16px 12px; box-shadow: 0 10px 20px rgba(0,0,0,.35); transform-origin: top center; position: relative; }
.rs-tag::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 6px, transparent 6px 12px); }
.rs-tag.is-in { animation: rs-print .55s cubic-bezier(.16,1,.3,1); }
@keyframes rs-print { from { clip-path: inset(0 0 100% 0); transform: translateY(-12px) rotate(-2deg); } to { clip-path: inset(0 0 0 0); transform: none; } }
.rs-tag-head { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: .92rem; border-bottom: 2px solid #1a140c; padding: 6px 0 8px; }
.rs-tag-pack { font-weight: 400; white-space: nowrap; }
.rs-tag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 10px 0; }
.rs-tag-grid div { display: flex; flex-direction: column; }
.rs-tag-grid dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.rs-tag-grid dd { margin: 0; font-family: var(--fl-display); font-size: 1.7rem; line-height: 1.1; }
.rs-tag-box { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding-top: 8px; border-top: 1px dashed rgba(26,20,12,.5); font-size: .85rem; }
.rs-tag-box strong { font-size: 1rem; }
.rs-barcode { height: 22px; margin-top: 10px; background: repeating-linear-gradient(90deg, #1a140c 0 2px, transparent 2px 4px, #1a140c 4px 5px, transparent 5px 8px, #1a140c 8px 11px, transparent 11px 13px); opacity: .85; }
.rs-tag-link { display: inline-block; margin-top: 10px; font-weight: 700; font-size: .85rem; }
.rs-tag.is-loss dd#rs-t-each, .rs-tag.is-loss dd#rs-t-margin { color: #b42318; }

.rs-shelfedge { height: 18px; background: linear-gradient(#ff5a1f, #e14a12); box-shadow: 0 6px 0 #c23d0c; }

.rs-table-wrap { overflow-x: auto; border: 1.5px solid var(--fl-ink); border-radius: 3px; background: var(--fl-surface); }
.rs-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.rs-table th, .rs-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--fl-line); }
.rs-table thead th { background: var(--fl-ink); color: var(--fl-bg); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.rs-table td.num { text-align: right; white-space: nowrap; }
.rs-table tbody tr:hover { background: #fff3cf; }
.rs-table th[scope=row] { font-weight: 500; }

@media (max-width: 880px) {
	.rs-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
	.rs-shelf-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 8px 6px 12px; }
	.rs-box-name { display: none; }
	.rs-coin span { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
	.rs-tag.is-in { animation: none; }
}

.rs-shelf { grid-area: shelf; } .rs-ctrl { grid-area: ctrl; display: grid; gap: 16px; align-content: start; } .rs-tagslot { grid-area: tag; }
.rs-box-face { max-width: 92px; }
@media (min-width: 1100px) {
	.rs-bench { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'shelf shelf' 'ctrl tag'; }
	.rs-tagslot { min-height: 0; place-items: start stretch; }
	.rs-coin span { width: 46px; height: 46px; font-size: .78rem; }
	.rs-copy .fl-h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.8rem); }
}
