.sell-main { padding-block: 68px 70px; }
.sell-intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 60px; align-items: end; margin-bottom: 34px; }
.sell-intro h1 { font: 400 clamp(66px, 6.5vw, 94px) / .96 'League Gothic', sans-serif; letter-spacing: 0; }
.sell-intro h1 em { font-style: normal; color: var(--scarlet); }
.sell-intro > p { padding-bottom: 4px; font-size: 24px; line-height: 1.4; }
.preview-notice { border-block: 1px solid var(--ink); padding-block: 17px 18px; margin-bottom: 46px; font-size: 16px; }
.preview-notice strong { display: block; margin-bottom: 3px; font-size: 19px; font-weight: 600; }
.preview-notice p { max-width: 90ch; }
.no-script { margin-bottom: 25px; }
.no-script a { text-decoration: underline; }
.estimate-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr); gap: 7%; align-items: start; }
.estimate-progress ol { display: flex; justify-content: space-between; gap: 16px; padding: 0 0 26px; margin: 0 0 34px; list-style: none; border-bottom: 1px solid var(--ink); font-size: 17px; }
.estimate-progress li { display: flex; align-items: center; gap: 10px; color: #72647c; }
.estimate-progress li[aria-current] { color: var(--ink); font-weight: 600; }
.estimate-progress li > span { display: flex; width: 29px; height: 29px; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 50%; font-variant-numeric: tabular-nums; }
.estimate-progress li[aria-current] > span { background: var(--ink); color: var(--paper); }
.estimate-progress li[data-complete] > span { color: var(--ink); background: #d4e6df; }
[data-panel] > h2 { font: 400 51px / 1 'League Gothic', sans-serif; text-wrap: balance; }
.step-description { margin-top: 14px; font-size: 19px; }
.estimator-games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-block: 27px 34px; }
.estimator-game { display: flex; min-height: 53px; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--ink); border-radius: 3px; font-size: 18px; font-weight: 500; cursor: pointer; }
.estimator-game input { width: 17px; height: 17px; margin: 0; accent-color: var(--ink); flex-shrink: 0; }
.estimator-game:has(:checked) { background: #d9e7df; border-color: #176f83; }
.estimator-game:hover { background: rgb(23 136 168 / 10%); }
.game-fields { margin: 0 0 30px; min-width: 0; }
.game-fields > legend { float: left; width: 100%; margin-bottom: 22px; font: 400 35px / 1.1 'League Gothic', sans-serif; }
.count-column-headings { display: flex; clear: both; justify-content: space-between; padding-bottom: 11px; border-bottom: 1px solid var(--ink); font-size: 14px; }
.count-column-headings > span:last-child { width: 111px; text-align: right; }
.category-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 15px; border-bottom: 1px solid #beb0b6; }
.category-row label { flex: 1; cursor: pointer; }
.category-row strong { display: block; font-size: 21px; line-height: 1.2; font-weight: 500; }
.category-row small { display: block; margin-top: 6px; font-size: 15px; }
.category-row input, .unpriced-game input { width: 111px; min-height: 50px; padding: 10px 12px; border: 1px solid var(--ink); border-radius: 3px; color: var(--ink); background: rgb(255 255 255 / 25%); font-size: 21px; line-height: 1.2; text-align: right; font-variant-numeric: tabular-nums; }
input::placeholder, textarea::placeholder { opacity: 1; color: #716575; }
input[data-count]:invalid:not(:placeholder-shown) { border-color: #ad2615; }
.category-help { margin-top: 14px; max-width: 56ch; font-size: 15px; line-height: 1.5; }
.counting-help { clear: both; margin-top: 18px; border-block: 1px solid #beb0b6; }
.counting-help summary { display: list-item; min-height: 48px; padding-block: 13px; font-size: 17px; font-weight: 500; cursor: pointer; }
.counting-help-body { padding: 0 0 20px; max-width: 65ch; font-size: 17px; line-height: 1.5; }
.counting-help-body p + p { margin-top: 12px; }
.counting-help-body a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; text-decoration: underline; text-underline-offset: 3px; }
.starter-count { margin-block: -7px 25px; padding: 13px 16px; background: #eee0c6; font-size: 17px; }
.unpriced-game { clear: both; padding: 22px; background: #eee0c6; border-radius: 3px; }
.unpriced-game h3 { margin: 0 0 12px; font-size: 25px; font-weight: 500; line-height: 1.15; }
.unpriced-game > p { font-size: 18px; }
.unpriced-game > label { display: block; margin-top: 20px; margin-bottom: 7px; font-size: 16px; }
.unpriced-game input { text-align: left; width: 150px; }
.step-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.step-actions > span { max-width: 20ch; font-size: 14px; line-height: 1.4; }
.step-actions .button { font-size: 18px; padding-inline: 18px; min-height: 54px; gap: 15px; }
.form-error { margin-top: 20px; color: #a12214; font-weight: 600; font-size: 18px; }
.estimate-receipt { position: sticky; top: 30px; padding: 32px 27px 22px; color: var(--paper); background: var(--ink) url('./plates/ink-grain.png') repeat; border-top: 4px solid var(--cyan); }
.estimate-receipt:has(.receipt-line:nth-child(7)) { position: static; }
.estimate-receipt h2 { font: 400 58px / .97 'League Gothic', sans-serif; }
.receipt-subtitle { margin-top: 28px; font-size: 17px; }
.receipt-amount { display: block; margin-top: 4px; font: 400 clamp(54px, 6vw, 84px) / 1 'League Gothic', sans-serif; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.receipt-amount.is-long { font-size: 46px; }
.receipt-count { margin-top: 11px; font-size: 15px; color: #e1d8e7; }
.receipt-lines { margin-block: 25px 20px; border-block: 1px solid #81728f; padding-block: 17px; font-size: 16px; }
.receipt-lines p { font-size: 16px; }
.receipt-line { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.receipt-line + .receipt-line { margin-top: 12px; }
.receipt-line span { min-width: 0; max-width: 26ch; overflow-wrap: anywhere; line-height: 1.3; }
.receipt-line strong { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.receipt-line small { display: block; margin-top: 2px; font-size: 13px; color: #d6cde0; }
.unpriced-notice { font-size: 16px; color: #f6ce7b; margin-bottom: 18px; }
.fraction-notice { margin-bottom: 14px; color: #e1d8e7; font-size: 14px; line-height: 1.5; }
.estimate-caveat { color: #e1d8e7; font-size: 14px; line-height: 1.5; }
.reset-draft { display: inline-flex; min-height: 44px; align-items: center; padding: 0; margin-top: 16px; border: 0; background: transparent; color: var(--paper); text-decoration: underline; text-underline-offset: 4px; font-size: 15px; cursor: pointer; }
.estimate-receipt :focus-visible { outline-color: var(--amber); }
.buying-rules { margin: 28px 0; }
.buying-rules > div { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding-block: 19px; border-top: 1px solid #b9aab3; }
.buying-rules > div[hidden] { display: none; }
.buying-rules dt { font-weight: 600; }
.buying-rules dd { margin: 0; font-size: 18px; }
.confirm-condition { display: flex; gap: 13px; padding: 17px; border: 1px solid var(--ink); border-radius: 3px; cursor: pointer; font-size: 18px; line-height: 1.4; }
.confirm-condition input { width: 21px; height: 21px; flex-shrink: 0; accent-color: var(--ink); }
.detail-field { margin-top: 29px; }
.detail-field > label { display: block; font-size: 21px; font-weight: 500; margin-bottom: 9px; }
.detail-field label small { font-size: 17px; font-weight: 400; }
.detail-field input, .detail-field select, .detail-field textarea { width: 100%; max-width: 100%; border: 1px solid var(--ink); border-radius: 3px; padding: 13px; color: var(--ink); background: rgb(255 255 255 / 25%); font-family: inherit; font-size: 18px; line-height: 1.4; }
.detail-field textarea { resize: vertical; min-height: 130px; }
.detail-field > p { font-size: 15px; margin-top: 8px; }
.summary-lines { margin-top: 28px; border-top: 1px solid var(--ink); }
.summary-line { display: flex; gap: 25px; align-items: baseline; justify-content: space-between; padding-block: 16px; border-bottom: 1px solid #b9aab3; }
.summary-line strong { font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary-line > span { min-width: 0; overflow-wrap: anywhere; }
.summary-line small { display: block; font-size: 15px; }
.summary-details { margin-top: 27px; }
.summary-details > div { margin-top: 17px; }
.summary-details dt { font-size: 15px; }
.summary-details dd { margin: 3px 0 0; font-size: 19px; white-space: pre-wrap; overflow-wrap: anywhere; }
.summary-status { padding: 21px 23px; margin-top: 29px; background: #eee0c6; border-radius: 3px; }
.summary-status h3 { margin: 0 0 9px; font-size: 23px; font-weight: 600; line-height: 1.2; }
.summary-status p { font-size: 17px; }
.download-status { margin-top: 12px; font-size: 16px; }
.calculator-close { padding-top: 60px; font-size: 22px; }
.calculator-close .text-link { font-size: 18px; margin-top: 6px; }
.mobile-estimate-bar { display: none; }
@media (max-width: 1050px) {
  .estimate-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: 5%; }
  .estimator-games { grid-template-columns: 1fr 1fr; }
  .estimate-progress ol { font-size: 15px; gap: 8px; }
  .estimate-progress li { gap: 6px; }
  .estimate-progress li > span { width: 24px; height: 24px; }
  .estimate-receipt { padding-inline: 22px; }
  .step-actions { flex-wrap: wrap; }
  .buying-rules > div { grid-template-columns: 1fr; gap: 5px; }
}
@media (max-width: 750px) {
  .sell-page { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .sell-main { width: calc(100% - 40px); padding-top: 24px; }
  .sell-intro { display: block; margin-bottom: 18px; }
  .sell-intro h1 { font-size: clamp(38px, 10.8vw, 46px); line-height: 1.05; }
  .sell-intro h1 br, .sell-intro > p { display: none; }
  .preview-notice { padding-block: 10px; margin-bottom: 22px; font-size: 16px; }
  .preview-notice strong { font-size: 18px; }
  .estimate-layout { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .estimate-receipt { position: static; padding: 30px 24px 22px; }
  .estimate-receipt h2 { font-size: 55px; }
  .estimate-receipt h2 br { display: none; }
  .receipt-subtitle { margin-top: 22px; }
  .receipt-amount { font-size: 80px; }
  .estimate-progress ol { gap: 8px; padding-bottom: 18px; margin-bottom: 22px; font-size: 15px; }
  .estimate-progress li { flex-wrap: wrap; gap: 8px; }
  [data-panel] > h2 { font-size: 40px; }
  .step-description { margin-top: 10px; font-size: 17px; line-height: 1.4; }
  .estimator-games { margin-block: 18px 28px; }
  .estimator-game { min-height: 48px; font-size: 17px; }
  .category-row strong { font-size: 20px; }
  .category-row input { width: 105px; font-size: 20px; }
  .category-row { gap: 12px; }
  .step-actions { align-items: stretch; gap: 12px; }
  .step-actions .button { justify-content: space-between; flex: 1 1 auto; }
  .step-actions > span { max-width: none; flex-basis: 100%; }
  .calculator-close { padding-top: 40px; }
  .mobile-estimate-bar { display: flex; position: fixed; z-index: 5; inset: auto 0 0; min-height: 66px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px calc(12px + env(safe-area-inset-bottom)); background: var(--paper); color: var(--ink); border-top: 2px solid var(--ink); font-size: 15px; line-height: 1.2; }
  .mobile-estimate-bar strong { font: 400 30px / 1 'League Gothic', sans-serif; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
  .mobile-estimate-bar > span:last-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
  .mobile-estimate-bar svg { width: 20px; height: 20px; flex: 0 0 auto; }
}
@media (max-width: 380px) {
  .estimate-progress ol { font-size: 14px; }
  .estimate-progress li { gap: 5px; }
  .estimate-progress li > span { width: 22px; height: 22px; }
  .category-row strong { font-size: 18px; }
  .category-row input { width: 88px; }
  [data-panel] > h2 { font-size: 38px; }
}
@media print {
  .page-header, .site-footer, .skip-link, .preview-notice, .estimate-progress, .step-actions, .reset-draft, .calculator-close, .detail-field, .download-status, .mobile-estimate-bar { display: none; }
  .sell-main { width: 100%; padding: 0; }
  .sell-intro { margin-bottom: 25px; }
  .sell-intro h1 { font-size: 45px; }
  .sell-intro > p { display: none; }
  .estimate-layout { display: block; }
  .estimate-receipt { position: static; margin-top: 30px; background: transparent; color: #000; border: 1px solid #000; break-inside: avoid; }
  .estimate-receipt p, .receipt-line small { color: #000; }
  .receipt-amount { font-size: 55px; }
}

.contact-fields { margin: 28px 0; padding: 0; border: 0; }
.contact-fields > legend { margin-bottom: 16px; padding: 0; font-size: 25px; font-weight: 500; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-grid .detail-field { min-width: 0; margin: 0; }
.contact-grid input { min-height: 50px; }
.contact-use { margin-top: 12px; font-size: 15px; }
.contact-use a { text-decoration: underline; text-underline-offset: 3px; }
.contact-consent { margin-top: 20px; }
.submission-actions { flex-wrap: wrap; justify-content: flex-start; }
.submission-actions [data-submit] { margin-inline-start: auto; }
.submission-reference { margin-top: 12px; overflow-wrap: anywhere; }
.submission-trap { display: none; }
[aria-invalid="true"] { border-color: #a12214 !important; }
@media (max-width: 650px) { .contact-grid { grid-template-columns: 1fr; gap: 22px; } .submission-actions [data-submit] { margin-inline-start: 0; } }
