/* Resale Referee identity layer over the Sigma theme.
   Concept: rink and stripes. Referee black, ice white, armband orange, blue-line blue.
   Display: Anton (poster numerals). Text: Manrope. Both self-hosted (SIL OFL). */

@font-face { font-family: 'RR Anton'; src: url('fonts/anton.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'RR Manrope'; src: url('fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --rr-ink: #101418;
  --rr-ink-2: #2a3138;
  --rr-ice: #f3f6f9;
  --rr-frost: #e6ecf2;
  --rr-line: #d3dbe3;
  --rr-white: #ffffff;
  --rr-orange: #e8501b;
  --rr-orange-ink: #b83a0e;
  --rr-blue: #1d4ed8;
  --rr-muted: #56616c;
  --rr-radius: 4px;
  --rr-display: 'RR Anton', 'Impact', 'Arial Narrow', sans-serif;
  --rr-text: 'RR Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html body, html body input, html body select, html body textarea, html body button { font-family: var(--rr-text); }
html body { background: var(--rr-ice); color: var(--rr-ink); font-size: 15px; line-height: 1.55; }
html body a { color: var(--rr-blue); }
html body a:hover { color: var(--rr-orange-ink); }
html body h1, html body h2, html body h3 { font-family: var(--rr-display); font-weight: 400; letter-spacing: .01em; color: var(--rr-ink); }

/* ---------- header ---------- */
html body header, html body.home header { background: var(--rr-ink); background-color: var(--rr-ink); border-bottom: 4px solid var(--rr-orange); box-shadow: none; }
html body header .wrapper .box { min-height: 72px; }
html body header #logo a, html body header #logo { color: var(--rr-white); }
html body #logo a.only-text { font-family: var(--rr-display); font-weight: 400; font-size: 30px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; color: var(--rr-white); padding: 18px 0 16px 34px; position: relative; }
/* Mark: an orange resale tag (string hole on the left), tilted. Not stripes: refereestockroom.com uses a striped box. */
html body #logo a.only-text::before { content: ''; position: absolute; left: 0; top: 50%; width: 26px; height: 17px; margin-top: -9px; background: radial-gradient(circle at 7px 50%, var(--rr-ink) 0 2.5px, transparent 3px), var(--rr-orange); clip-path: polygon(28% 0, 100% 0, 100% 100%, 28% 100%, 0 50%); transform: rotate(-24deg); border-radius: 0 3px 3px 0; }
html body header #logo img { filter: brightness(0) invert(1); max-height: 44px; }
html body header .nav a { color: var(--rr-white); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
html body header .nav a:hover { color: #ffd2c2; }
html body header .nav a.publish { background: var(--rr-orange); color: var(--rr-white); border-radius: var(--rr-radius); padding-left: 18px; padding-right: 18px; }
html body header .nav a.publish:hover { background: var(--rr-orange-ink); color: var(--rr-white); }
html body header .menu-icon span { background: var(--rr-white); }

/* ---------- preview bar ---------- */
.rr-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.rr-preview { background: var(--rr-white); border-bottom: 1px solid var(--rr-line); font-size: 13.5px; color: var(--rr-ink-2); }
.rr-preview .rr-wrap { padding-top: 9px; padding-bottom: 9px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.rr-preview a { font-weight: 700; white-space: nowrap; }
.rr-preview-tag { display: inline-block; background: var(--rr-orange); color: var(--rr-white); font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 2px 8px; border-radius: 2px; }

/* ---------- hero ---------- */
.rr-hero { position: relative; background: var(--rr-ink); color: var(--rr-white); overflow: hidden; }
.rr-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; padding-top: 64px; padding-bottom: 72px; align-items: end; }
.rr-stripes { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 34%;
  background: repeating-linear-gradient(90deg, #f6f7f8 0 26px, var(--rr-ink) 26px 52px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.18) 30%, rgba(0,0,0,.32) 100%);
          mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.18) 30%, rgba(0,0,0,.32) 100%); }
.rr-eyebrow { font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; color: var(--rr-orange); margin: 0 0 14px; }
html body .rr-hero-title { font-family: var(--rr-display); color: var(--rr-white); font-size: clamp(44px, 6.4vw, 84px); line-height: .98; text-transform: uppercase; margin: 0 0 22px; max-width: 13ch; }
.rr-hero-lede { font-size: 18px; line-height: 1.6; color: #cfd6dd; max-width: 46ch; margin: 0 0 30px; }
.rr-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.rr-btn { display: inline-block; padding: 14px 22px; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; border-radius: var(--rr-radius); text-decoration: none; border: 2px solid transparent; line-height: 1.1; }
html body a.rr-btn-solid, html body .rr-btn-solid { background: var(--rr-orange); color: var(--rr-white); }
html body a.rr-btn-solid:hover { background: var(--rr-orange-ink); color: var(--rr-white); }
html body a.rr-btn-line { border-color: var(--rr-white); color: var(--rr-white); }
html body a.rr-btn-line:hover { background: var(--rr-white); color: var(--rr-ink); }
.rr-hero-stats { margin: 0; display: grid; gap: 0; border-left: 2px solid rgba(255,255,255,.18); }
.rr-hero-stats > div { padding: 12px 0 12px 22px; }
.rr-hero-stats dt { font-family: var(--rr-display); font-size: 46px; line-height: 1; color: var(--rr-white); }
.rr-hero-stats dd { margin: 4px 0 0; color: #aeb7c0; font-size: 14px; }

/* ---------- home search card (Sigma) ---------- */
html body .home-search, html body.home section.home-search { background: transparent; background-color: transparent; padding: 0; margin-top: -34px; position: relative; z-index: 3; }
html body .home-search form.box { background: var(--rr-white); border-radius: var(--rr-radius); box-shadow: 0 18px 40px rgba(16,20,24,.14); padding: 22px 24px 8px; border-top: 4px solid var(--rr-blue); }
html body .home-search h1 { font-family: var(--rr-text); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--rr-muted); margin: 0 0 14px; text-align: left; }
html body .home-search label { color: var(--rr-muted); font-weight: 600; }
html body input[type=text], html body input[type=password], html body input[type=email], html body input[type=tel], html body input[type=number], html body select, html body textarea { border: 1.5px solid var(--rr-line); border-radius: var(--rr-radius); font-family: var(--rr-text); }
html body input:focus, html body select:focus, html body textarea:focus { border-color: var(--rr-blue); outline: 2px solid rgba(29,78,216,.18); }
html body .btn.btn-primary, html body button.btn-primary { background: var(--rr-ink); border-color: var(--rr-ink); color: var(--rr-white); border-radius: var(--rr-radius); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
html body .btn.btn-primary:hover { background: var(--rr-orange); border-color: var(--rr-orange); }
html body .btn.btn-secondary { border-radius: var(--rr-radius); }

/* ---------- blocks ---------- */
.rr-home-bottom { clear: both; float: left; width: 100%; padding-top: 26px; }
.rr-block { background: var(--rr-white); border: 1px solid var(--rr-line); border-radius: var(--rr-radius); padding: 28px 28px 30px; margin: 0 0 26px; }
.rr-block-head { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; margin-bottom: 18px; }
html body .rr-block-head h2 { font-size: 30px; line-height: 1; text-transform: uppercase; margin: 0; }
.rr-block-head p { margin: 0; color: var(--rr-muted); flex: 1 1 320px; }
.rr-empty { margin: 0; color: var(--rr-muted); }
.rr-spot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.rr-spot-list a { display: grid; gap: 6px; padding: 16px; border: 1px solid var(--rr-line); border-left: 4px solid var(--rr-orange); border-radius: var(--rr-radius); text-decoration: none; color: var(--rr-ink); }
.rr-spot-cat { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--rr-muted); font-weight: 700; }
.rr-spot-price { font-family: var(--rr-display); font-size: 22px; }

.rr-steps { counter-reset: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.rr-steps li { border-top: 3px solid var(--rr-ink); padding-top: 14px; }
.rr-step-n { font-family: var(--rr-display); font-size: 40px; line-height: 1; color: var(--rr-orange); display: block; margin-bottom: 6px; }
.rr-steps strong { display: block; font-size: 17px; margin-bottom: 4px; }
.rr-steps p { margin: 0; color: var(--rr-ink-2); }

/* ---------- pricing ---------- */
.rr-preview-note { color: var(--rr-ink-2) !important; }
.rr-price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rr-price { border: 1px solid var(--rr-line); border-radius: var(--rr-radius); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; background: var(--rr-white); }
.rr-price-spotlight { border-color: var(--rr-ink); box-shadow: inset 0 4px 0 var(--rr-orange); }
html body .rr-price h3 { font-family: var(--rr-text); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--rr-muted); margin: 0; }
.rr-amount { margin: 0; }
.rr-amount span { font-family: var(--rr-display); font-size: 48px; line-height: 1; }
.rr-amount small { color: var(--rr-muted); font-size: 14px; }
.rr-annual { margin: -2px 0 0; font-weight: 700; color: var(--rr-ink-2); }
.rr-blurb { margin: 4px 0 0; color: var(--rr-ink-2); }
.rr-price ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 6px; }
.rr-price li { padding-left: 20px; position: relative; font-size: 14px; }
.rr-price li::before { content: ''; position: absolute; left: 0; top: .55em; width: 10px; height: 2px; background: var(--rr-orange); }
.rr-price .rr-btn { margin-top: auto; text-align: center; }
.rr-not-on-sale { margin-top: auto; padding: 12px; text-align: center; border: 1.5px dashed var(--rr-line); border-radius: var(--rr-radius); color: var(--rr-muted); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- pricing page ---------- */
.rr-page { padding: 8px 0 10px; }
.rr-page-head { background: var(--rr-ink); color: var(--rr-white); border-radius: var(--rr-radius); padding: 40px 36px; margin-bottom: 26px; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 22px, transparent 22px 44px); }
html body .rr-page-title { color: var(--rr-white); font-size: clamp(36px, 5vw, 60px); line-height: 1; text-transform: uppercase; margin: 0 0 14px; }
.rr-lede { color: #cfd6dd; font-size: 17px; max-width: 60ch; margin: 0 0 16px; }
.rr-preview-flag { margin: 0; color: var(--rr-white); }
.rr-faq-list { margin: 0; display: grid; gap: 0; }
.rr-faq-list > div { border-top: 1px solid var(--rr-line); padding: 16px 0; }
.rr-faq-list dt { font-weight: 800; margin-bottom: 4px; }
.rr-faq-list dd { margin: 0; color: var(--rr-ink-2); max-width: 75ch; }

/* ---------- point of use ---------- */
.rr-pou { background: #fff7f3; border: 1px solid #f4c7b4; border-left: 4px solid var(--rr-orange); border-radius: var(--rr-radius); padding: 12px 16px; margin: 0 0 18px; font-size: 14px; color: var(--rr-ink-2); width: 100%; box-sizing: border-box; }
.rr-pou-item { margin-top: 14px; }

/* ---------- Sigma listings + categories ---------- */
html body #home-cats .wrap a { border: 1px solid var(--rr-line); border-radius: var(--rr-radius); background: var(--rr-white); }
html body #home-cats .wrap a:hover { border-color: var(--rr-ink); }
html body #home-cats .icon, html body #home-cats .icon i { color: var(--rr-orange) !important; }
html body #home-cats h2, html body #home-regs h2, html body .list-header h1, html body .list-header h2 { font-family: var(--rr-display); text-transform: uppercase; font-weight: 400; }
html body .listing-card, html body .listing-cell { border-radius: var(--rr-radius); }
html body .currency-value, html body .price { color: var(--rr-ink); font-weight: 800; }
html body .premium-list .listing-cell, html body li.premium { box-shadow: inset 4px 0 0 var(--rr-orange); }

/* ---------- footer ---------- */
html body footer { background: var(--rr-ink); color: #cfd6dd; border-top: 4px solid var(--rr-orange); margin-top: 40px; }
html body footer a, html body footer .box > a { color: var(--rr-white); }
html body footer a:hover { color: #ffd2c2; }
.rr-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; padding: 14px 0 4px; border-top: 1px solid rgba(255,255,255,.14); margin-top: 10px; width: 100%; }
.rr-powered { color: #aeb7c0; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .rr-hero-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 40px; padding-bottom: 58px; }
  .rr-stripes { width: 22%; }
  .rr-hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 0; border-top: 2px solid rgba(255,255,255,.18); }
  .rr-hero-stats > div { padding: 12px 10px 0 0; }
  .rr-hero-stats dt { font-size: 34px; }
  .rr-steps, .rr-price-grid { grid-template-columns: 1fr; }
  .rr-block { padding: 20px 18px 22px; }
  .rr-page-head { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .rr-hero-lede { font-size: 16px; }
  .rr-btn { width: 100%; text-align: center; }
  .rr-hero-stats dd { font-size: 12.5px; }
}

/* Sigma leftovers recoloured to the site palette */
html body .item #comments, html body.item #comments { background: var(--rr-frost); border-radius: var(--rr-radius); }
html body.item-post > section, html body.contact > section { background: var(--rr-ice); }

/* ---------- 1.0.2: age notes, empty categories, legal pages ---------- */
.rr-board-note { margin: 18px 0 0; max-width: 58ch; color: #cfd6dd; font-size: 14px; border-left: 3px solid var(--rr-orange); padding: 2px 0 2px 12px; }
.rr-age { background: #fff8e6; border: 1px solid #f0d58a; border-left: 4px solid #c98a00; border-radius: var(--rr-radius); padding: 10px 14px; margin: 10px 0 14px; font-size: 14px; color: var(--rr-ink-2); }
.rr-empty-cat { margin-top: 6px; }
.rr-legal-note { font-size: 13px; color: var(--rr-muted); margin: 10px 0; }
.rr-legal .rr-faq-list dd { max-width: 80ch; }
.rr-foot a + a { margin-left: 0; }
