/* grading-offer.css — Onward-grading OFFER popup + submission TIMELINE (Phase 32)
 * Portable: works on pages that do NOT load the big RAWLITY.css. Cream brand-name
 * TEXT only (no PSA/BGS trade dress — spec.md truth invariant 5 + 32.1).
 * Tokens fall back to literals so it renders even without a :root token set. */

.go-overlay { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(20,16,9,.55), rgba(0,0,0,.92)); }
.go-overlay.on { display: flex; }
.go-modal { position: relative; width: 100%; max-width: 560px; background: linear-gradient(180deg,#171107,#100c07);
  border: 1px solid rgba(239,216,185,.2); box-shadow: 0 50px 110px rgba(0,0,0,.85); padding: 40px 38px 32px; transition: max-width .3s ease;
  max-height: 92vh; overflow-y: auto; font-family: 'DM Sans', sans-serif; }
.go-modal.wide { max-width: 620px; }
.go-modal .vf { position: absolute; width: 22px; height: 22px; border: 1.5px solid var(--accent,#FFF4D4); opacity: .55; pointer-events: none; }
.go-modal .vf.tl { top: 14px; left: 14px; border-width: 1.5px 0 0 1.5px; }
.go-modal .vf.tr { top: 14px; right: 14px; border-width: 1.5px 1.5px 0 0; }
.go-modal .vf.bl { bottom: 14px; left: 14px; border-width: 0 0 1.5px 1.5px; }
.go-modal .vf.br { bottom: 14px; right: 14px; border-width: 0 1.5px 1.5px 0; }
.go-close { position: absolute; top: 16px; right: 18px; background: none; border: none; color: rgba(239,216,185,.4); font-size: 1.1rem; cursor: pointer; line-height: 1; }
.go-close:hover { color: #efd8b9; }
.go-back { background: none; border: none; color: rgba(239,216,185,.5); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; padding: 0; margin-bottom: 1.3rem; display: inline-flex; gap: .5rem; align-items: center; transition: color .2s; }
.go-back:hover { color: #efd8b9; }
.go-eyebrow { display: block; text-align: center; font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--accent,#FFF4D4); opacity: .7; margin-bottom: .9rem; }
.go-title { font-family: 'DM Serif Display', serif; font-size: 1.9rem; line-height: 1.1; color: #f3e7c9; text-align: center; margin: 0 0 .5rem; }
.go-sub { text-align: center; font-size: .85rem; color: rgba(239,216,185,.55); margin: 0 0 2rem; }
.go-card-name { color: #efd8b9; font-weight: 600; }
.go-choices { display: flex; flex-direction: column; gap: 14px; }
.go-choice { display: flex; align-items: center; gap: 18px; width: 100%; text-align: left; cursor: pointer; font-family: inherit;
  background: rgba(239,216,185,.02); border: 1px solid rgba(239,216,185,.12); padding: 18px 20px; transition: all .22s ease; }
.go-choice:hover { border-color: rgba(239,216,185,.4); background: rgba(239,216,185,.05); transform: translateY(-2px); }
.go-choice.primary { background: linear-gradient(120deg,rgba(255,244,212,.06),rgba(239,216,185,.02)); border-color: rgba(239,216,185,.32); }
.go-ic { flex: 0 0 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(239,216,185,.2); color: var(--accent,#FFF4D4); }
.go-cbody { flex: 1; min-width: 0; }
.go-ctitle { font-size: .98rem; font-weight: 600; color: #efd8b9; margin-bottom: 3px; display: block; }
.go-cdesc { font-size: .76rem; line-height: 1.5; color: rgba(239,216,185,.5); display: block; }
.go-marks { display: flex; align-items: center; gap: .7rem; margin-top: 9px; }
.go-marks .go-sep { width: 1px; height: 15px; background: rgba(239,216,185,.18); }
.go-arrow { flex: 0 0 auto; color: rgba(239,216,185,.45); font-size: 1.1rem; transition: transform .22s ease, color .22s ease; }
.go-choice:hover .go-arrow { color: var(--accent,#FFF4D4); transform: translateX(4px); }
/* Vault "Store with us" — disabled / coming-soon (no custody liability until launched) */
.go-choice.soon { opacity: .5; cursor: not-allowed; }
.go-choice.soon:hover { border-color: rgba(239,216,185,.14); background: transparent; transform: none; }
.go-soon-tag { flex: 0 0 auto; font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(239,216,185,.55); border: 1px solid rgba(239,216,185,.22); border-radius: 99px; padding: 3px 8px; white-space: nowrap; }
.go-foot { text-align: center; font-size: .62rem; color: rgba(239,216,185,.34); margin-top: 1.6rem; line-height: 1.6; }
.go-pick-hint { text-align: center; font-size: .66rem; letter-spacing: .04em; color: rgba(239,216,185,.4); margin: 1.3rem 0 0; }
.go-sum-grader { text-align: center; margin-bottom: 1.2rem; }
.go-sum-grader .rg-mark-txt { font-size: 1.3rem; }
.go-sum-row { display: flex; justify-content: space-between; align-items: baseline; padding: .7rem 0; border-bottom: 1px solid rgba(239,216,185,.09); }
.go-sum-row .k { font-size: .82rem; color: rgba(239,216,185,.6); }
.go-sum-row .v { font-size: .88rem; color: #efd8b9; font-weight: 500; }
.go-sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1rem; }
.go-sum-total .k { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(239,216,185,.5); }
.go-sum-total .v { font-family: 'Bebas Neue','DM Serif Display',sans-serif; font-size: 2.1rem; color: #f0e4ca; line-height: 1; }
.go-steps { list-style: none; margin: 1.5rem 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.go-steps li { position: relative; padding-left: 1.7rem; font-size: .78rem; color: rgba(239,216,185,.6); }
.go-steps li::before { content: ''; position: absolute; left: 0; top: .55em; width: 13px; height: 1px; background: var(--accent,#FFF4D4); opacity: .7; }
.go-pay-btn { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; background: var(--accent,#FFF4D4); color: #1a1206; border: none; font-family: inherit; font-weight: 700; letter-spacing: .06em; font-size: .82rem; padding: 1rem; cursor: pointer; transition: filter .2s; }
.go-pay-btn:hover { filter: brightness(1.06); }
.go-pay-btn:disabled { opacity: .5; cursor: default; }
.go-qr-wrap { text-align: center; margin: 1rem 0; }
.go-qr-wrap canvas, .go-qr-wrap img { background: #fff; padding: 8px; border-radius: 6px; }
.go-file { display: block; width: 100%; margin: 1rem 0 .4rem; font-size: .74rem; color: rgba(239,216,185,.6); }
.go-msg { text-align: center; font-size: .76rem; margin: .8rem 0 0; min-height: 1.1em; }
.go-msg.err { color: var(--red,#ff6b6b); }
.go-msg.ok { color: var(--green,#00cc99); }
@media (max-width: 520px) { .go-modal, .go-modal.wide { padding: 34px 20px 24px; max-width: none; } .go-title { font-size: 1.55rem; } }

/* "Send for real grade" trigger button */
.go-trigger { display: inline-flex; align-items: center; gap: .55rem; font-family: 'DM Sans',sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  background: linear-gradient(120deg,rgba(255,244,212,.08),rgba(239,216,185,.02)); border: 1px solid rgba(239,216,185,.32); color: var(--accent-light,#efd8b9); padding: .7rem 1.3rem; transition: all .22s ease; }
.go-trigger:hover { border-color: var(--accent,#FFF4D4); color: var(--accent,#FFF4D4); transform: translateY(-1px); }

/* Submission TIMELINE (32.8): 8-stage, "await round" vs "SLA counting" split */
.go-track { border: 1px solid rgba(239,216,185,.14); background: rgba(239,216,185,.015); padding: 1.4rem 1.5rem; margin-top: 1rem; font-family: 'DM Sans',sans-serif; }
.go-track-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.go-track-title { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(239,216,185,.7); }
.go-badge { font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .6rem; border: 1px solid rgba(239,216,185,.25); color: var(--accent-light,#efd8b9); }
.go-badge.await { color: var(--amber,#ffaa44); border-color: rgba(255,170,68,.4); }
.go-badge.sla { color: var(--green,#00cc99); border-color: rgba(0,204,153,.4); }
.go-badge.done { color: var(--accent,#FFF4D4); border-color: rgba(239,216,185,.5); }
.go-tl { list-style: none; margin: 0; padding: 0; }
.go-tl li { position: relative; padding: 0 0 1.05rem 1.6rem; font-size: .76rem; color: rgba(239,216,185,.4); }
.go-tl li::before { content: ''; position: absolute; left: 3px; top: .28em; width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(239,216,185,.3); background: #000; }
.go-tl li::after { content: ''; position: absolute; left: 6.5px; top: 1.1em; bottom: -.1em; width: 1px; background: rgba(239,216,185,.12); }
.go-tl li:last-child::after { display: none; }
.go-tl li.done { color: rgba(239,216,185,.75); }
.go-tl li.done::before { background: var(--accent,#FFF4D4); border-color: var(--accent,#FFF4D4); }
.go-tl li.cur { color: #efd8b9; font-weight: 600; }
.go-tl li.cur::before { background: var(--accent,#FFF4D4); border-color: var(--accent,#FFF4D4); box-shadow: 0 0 0 4px rgba(255,244,212,.12); }
.go-tl-meta { display: block; font-size: .62rem; color: rgba(239,216,185,.4); margin-top: 2px; font-weight: 400; letter-spacing: .02em; }
.go-cert { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent,#FFF4D4); text-decoration: none; border-bottom: 1px solid rgba(239,216,185,.3); padding-bottom: 3px; }
.go-cert:hover { border-color: var(--accent,#FFF4D4); }
.go-disclaimer { font-size: .6rem; line-height: 1.6; color: rgba(239,216,185,.34); margin-top: 1rem; }

/* ── Self-contained .rg-* subset used by the offer popup screen 2 (tier grid) ──
   Mirrors RAWLITY.css values so the popup renders identically on pages that do
   not load RAWLITY.css. Identical values → harmless if both are present. */
.rg-case { position: relative; background: linear-gradient(160deg,#14100a,#0c0a07); border: 1px solid rgba(239,216,185,.16); padding: 18px 16px; }
.rg-case .vf { position: absolute; width: 20px; height: 20px; border: 1.5px solid var(--accent,#FFF4D4); opacity: .5; z-index: 5; pointer-events: none; }
.rg-case .vf.tl { top: 10px; left: 10px; border-width: 1.5px 0 0 1.5px; }
.rg-case .vf.tr { top: 10px; right: 10px; border-width: 1.5px 1.5px 0 0; }
.rg-case .vf.bl { bottom: 10px; left: 10px; border-width: 0 0 1.5px 1.5px; }
.rg-case .vf.br { bottom: 10px; right: 10px; border-width: 0 1.5px 1.5px 0; }
.rg-cols { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; }
.rg-col { padding: 0 14px; }
.rg-col + .rg-col { border-left: 1px solid rgba(239,216,185,.1); }
.rg-plate { text-align: center; padding: 6px 0 13px; margin-bottom: 11px; border-bottom: 1px solid rgba(239,216,185,.14); }
.rg-plate .rg-mark-txt { font-size: 1.05rem; }
.rg-mark-txt { font-family: 'DM Sans', sans-serif; font-weight: 700; letter-spacing: .06em; font-size: .92rem; color: rgba(239,216,185,.85); }
.rg-tiers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rg-tier { padding: .6rem 0; border-bottom: 1px solid rgba(239,216,185,.07); cursor: pointer; transition: background .18s ease, padding-left .18s ease; }
.rg-tier:last-child { border-bottom: none; }
.rg-tier:hover { background: rgba(255,244,212,.05); padding-left: 6px; }
.rg-tname { font-size: .82rem; font-weight: 500; color: #efd8b9; display: flex; flex-direction: column; }
.rg-tname small { font-size: .56rem; font-weight: 400; letter-spacing: .02em; color: rgba(239,216,185,.4); margin-top: 1px; }
.rg-row2 { display: flex; justify-content: space-between; align-items: baseline; margin-top: 3px; }
.rg-days { font-family: ui-monospace, 'Courier New', monospace; font-size: .56rem; letter-spacing: .08em; color: rgba(239,216,185,.45); }
.rg-price { font-family: 'Bebas Neue', sans-serif; font-size: 1.15rem; line-height: 1; letter-spacing: .02em; color: #f0e4ca; }
@media (max-width: 460px) {
  .rg-cols { grid-template-columns: 1fr; gap: .5rem; }
  .rg-col + .rg-col { border-left: none; border-top: 1px solid rgba(239,216,185,.1); padding-top: 14px; margin-top: 6px; }
}
