.sdtcg-buylist{--ink:#15223a;--accent:#c91c3a;color:var(--ink);margin:2rem 0 3rem}.sdtcg-buylist .buylist-intro{font-size:1.08rem;max-width:66ch}.sdtcg-buylist .buylist-game{margin:2.1rem 0}.sdtcg-buylist h2{font-size:1.6rem;margin:0 0 .8rem}.sdtcg-buylist .buylist-table-wrap{overflow-x:auto;border:1px solid #dce2e9;border-radius:12px;box-shadow:0 5px 22px rgba(16,31,55,.05)}.sdtcg-buylist table{width:100%;border-collapse:collapse;min-width:580px;margin:0}.sdtcg-buylist th,.sdtcg-buylist td{padding:.8rem 1rem;border-bottom:1px solid #e7ebef;text-align:left;vertical-align:middle}.sdtcg-buylist thead{background:#15223a;color:white}.sdtcg-buylist tbody tr:last-child th,.sdtcg-buylist tbody tr:last-child td{border:0}.sdtcg-buylist tbody tr:nth-child(even){background:#f7f9fb}.sdtcg-buylist tbody th{font-weight:600}.sdtcg-buylist td small{display:block;color:#657184}.sdtcg-buylist input.buylist-qty{width:90px;min-height:44px;padding:.5rem;border:1px solid #adb9c7;border-radius:6px;background:white;color:#15223a}.sdtcg-buylist .buylist-line{text-align:right;white-space:nowrap;font-weight:700}.sdtcg-buylist thead th:last-child{text-align:right}.sdtcg-buylist .buylist-total{background:#15223a;color:white;border-radius:12px;padding:1.25rem 1.5rem;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:1.1rem}.sdtcg-buylist .buylist-total strong{display:block;font-size:1.7rem;color:#fff}.sdtcg-buylist .buylist-note{border-left:4px solid var(--accent);padding:.2rem 1rem;margin:1.4rem 0;color:#465368;line-height:1.6}.sdtcg-buylist .screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){.sdtcg-buylist .buylist-total{display:block}.sdtcg-buylist .buylist-total span{display:block;margin:.5rem 0}}

.sdtcg-buylist tbody tr,.sdtcg-buylist tbody tr:nth-child(odd){background:#fff}.sdtcg-buylist tbody tr:nth-child(even){background:#f1f5f9}.sdtcg-buylist tbody th,.sdtcg-buylist tbody td,.sdtcg-buylist tbody strong{color:#15223a!important}.sdtcg-buylist tbody td small{color:#5b6778!important}

/* Keep the buying form on the same navy and light-card palette as the rate tables. */
.post-347 .wpcf7-form{background:#f7f9fc;color:#15223a;border:1px solid #dce2e9;border-radius:12px;box-shadow:0 5px 22px rgba(0,0,0,.10);padding:clamp(1.25rem,3vw,2.25rem);margin:1.4rem 0 3rem}
.post-347 .wpcf7-form p{color:#334155;line-height:1.6}
.post-347 .wpcf7-form label{display:block;color:#15223a;font-weight:650;margin:1rem 0}
.post-347 .wpcf7-form input:not([type=file]):not([type=submit]),.post-347 .wpcf7-form select,.post-347 .wpcf7-form textarea{display:block;width:100%;max-width:100%;min-height:46px;margin-top:.45rem;padding:.7rem .85rem;color:#15223a!important;background:#fff!important;border:1px solid #aab6c4;border-radius:7px;box-sizing:border-box;font-weight:400;line-height:1.5}
.post-347 .wpcf7-form textarea{min-height:128px;resize:vertical}
.post-347 .wpcf7-form textarea[name=buylist-breakdown]{background:#e9f0f8!important;border-color:#99aec6;min-height:120px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.94rem}
.post-347 .wpcf7-form input::placeholder,.post-347 .wpcf7-form textarea::placeholder{color:#637184!important;opacity:1}
.post-347 .wpcf7-form input:focus,.post-347 .wpcf7-form select:focus,.post-347 .wpcf7-form textarea:focus{outline:2px solid #2875c9;outline-offset:1px}
.post-347 .wpcf7-form input[type=file]{color:#334155;max-width:100%}
.post-347 .wpcf7-form input[type=submit]{background:#17355d;color:#fff;border:0;border-radius:7px;padding:.8rem 1.35rem;font-weight:700;cursor:pointer}
.post-347 .wpcf7-form input[type=submit]:hover{background:#24558a}
.post-347 .wpcf7-form .wpcf7-response-output{color:#15223a;border-radius:6px}
.sdtcg-buylist .buylist-note{background:#172438;color:#e4ebf4;border-radius:0 8px 8px 0;padding:1rem 1.2rem}

.post-347 .wpcf7-form p,.post-347 .wpcf7-form p *:not(input):not(textarea):not(select){color:#334155!important}
/* Sealed products sit beside the bulk calculator on wider screens. */
.post-347 .wp-block-columns.buylist-columns{align-items:flex-start;gap:1.4rem;margin-top:1rem}
.post-347 .buylist-columns>.wp-block-column{min-width:0}
.post-347 .buylist-columns .sdtcg-buylist{margin-top:0}
.sdtcg-sealed{color:#e4ebf4;margin:0 0 2rem}
.sdtcg-sealed .sealed-intro{font-size:1.03rem;line-height:1.55;margin:0 0 1rem}
.sdtcg-sealed .sealed-tabs{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:1rem}
.sdtcg-sealed .sealed-tabs button{border:1px solid #7893ae;border-radius:7px;background:transparent;color:#e5edf8;padding:.55rem 1rem;cursor:pointer;font-weight:700}
.sdtcg-sealed .sealed-tabs button.is-active{background:#e9f0f8;color:#15223a;border-color:#e9f0f8}
.sdtcg-sealed [hidden]{display:none!important}
.sdtcg-sealed .sealed-table-wrap{overflow-x:auto;border:1px solid #dce2e9;border-radius:12px;box-shadow:0 5px 22px rgba(16,31,55,.05)}
.sdtcg-sealed .sealed-table{width:100%;min-width:780px;border-collapse:collapse;margin:0;font-size:.9rem}
.sdtcg-sealed .sealed-table thead{background:#15223a;color:#fff}
.sdtcg-sealed .sealed-table th,.sdtcg-sealed .sealed-table td{padding:.8rem 1rem;border-bottom:1px solid #e7ebef;text-align:left;vertical-align:middle}
.sdtcg-sealed .sealed-table thead th:last-child{text-align:right}
.sdtcg-sealed .sealed-table tbody tr,.sdtcg-sealed .sealed-table tbody tr:nth-child(odd){background:#fff;color:#15223a}
.sdtcg-sealed .sealed-table tbody tr:nth-child(even){background:#f1f5f9}
.sdtcg-sealed .sealed-table tbody tr:last-child th,.sdtcg-sealed .sealed-table tbody tr:last-child td{border-bottom:0}
.sdtcg-sealed .sealed-table tbody th{font-weight:600;min-width:135px;line-height:1.35;color:#15223a!important}
.sdtcg-sealed .sealed-table tbody td,.sdtcg-sealed .sealed-table tbody strong{color:#15223a!important}
.sdtcg-sealed .sealed-rate-cell strong{display:block;white-space:nowrap}
.sdtcg-sealed .sealed-rate-cell label{display:block;font-size:.82rem;color:#5b6778;margin-top:.35rem}
.sdtcg-sealed .sealed-rate-cell input{display:block;width:75px;min-height:44px;margin-top:.25rem;padding:.5rem;border:1px solid #adb9c7;border-radius:6px;background:#fff;color:#15223a;box-sizing:border-box}
.sdtcg-sealed .sealed-rate-cell input:focus{outline:2px solid #2875c9;outline-offset:1px}
.sdtcg-sealed .sealed-unavailable{color:#657184!important;text-align:center!important}
.sdtcg-sealed .sealed-set-total{text-align:right!important;font-weight:700;white-space:nowrap}
.sdtcg-sealed .screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sdtcg-sealed .sealed-total{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;background:#15223a;color:#fff;border-radius:12px;padding:1.25rem 1.5rem;margin:1rem 0;font-size:1.1rem}
.sdtcg-sealed .sealed-total strong{display:block;color:#fff;font-size:1.7rem;white-space:nowrap}
.sdtcg-sealed .sealed-note{background:#172438;color:#e4ebf4;line-height:1.6;border-left:4px solid #c91c3a;border-radius:0 8px 8px 0;padding:1rem 1.2rem;margin:1.4rem 0}
@media(max-width:940px){.post-347 .wp-block-columns.buylist-columns{display:block}.post-347 .buylist-columns>.wp-block-column{width:100%;margin:0}}

/* Give both rate tables the full content width so sealed columns remain visible. */
.post-347 .wp-block-columns.buylist-columns{display:block!important}
.post-347 .buylist-columns>.wp-block-column{width:100%!important;flex-basis:100%!important;margin:0!important}
.post-347 .buylist-columns .sdtcg-sealed{margin-top:2rem}
.sdtcg-sealed .sealed-table{min-width:780px}

.sdtcg-sealed .sealed-rate-cell small{display:block;color:#5b6778;font-size:.72rem;line-height:1.2}

/* Gentle color cycle for the sell page title; retain a static readable color for reduced motion. */
.page-id-347 .entry-title,.page-id-347 .wp-block-post-title,.post-347 h1{color:#f1f5fb;animation:sdtcg-sell-title-color 7s ease-in-out infinite}
@keyframes sdtcg-sell-title-color{0%,100%{color:#f1f5fb;text-shadow:0 0 0 transparent}25%{color:#ff718b;text-shadow:0 0 12px rgba(201,28,58,.35)}50%{color:#f4c857;text-shadow:0 0 12px rgba(244,200,87,.32)}75%{color:#94c5ff;text-shadow:0 0 12px rgba(68,137,209,.35)}}
@media(prefers-reduced-motion:reduce){.page-id-347 .entry-title,.page-id-347 .wp-block-post-title,.post-347 h1{animation:none;color:#f1f5fb}}

/* Sell Cards: readable rate cards and touch-friendly controls on phones. */
@media (max-width: 680px) {
  .post-347 .sdtcg-buylist .buylist-table-wrap,
  .post-347 .sdtcg-sealed .sealed-table-wrap { overflow: visible; border: 0; box-shadow: none; }
  .post-347 .sdtcg-buylist table,
  .post-347 .sdtcg-sealed .sealed-table { display: block; min-width: 0; width: 100%; }
  .post-347 .sdtcg-buylist thead,
  .post-347 .sdtcg-sealed .sealed-table thead { display: none; }
  .post-347 .sdtcg-buylist tbody,
  .post-347 .sdtcg-sealed .sealed-table tbody { display: grid; gap: .75rem; }
  .post-347 .sdtcg-buylist tbody tr,
  .post-347 .sdtcg-sealed .sealed-table tbody tr.sealed-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1rem; padding: .9rem; border: 1px solid #dce2e9; border-radius: 10px; background: #fff; }
  .post-347 .sdtcg-buylist tbody th,
  .post-347 .sdtcg-sealed .sealed-table tbody th { grid-column: 1 / -1; min-width: 0; padding: 0 0 .55rem; border-bottom: 1px solid #e7ebef; }
  .post-347 .sdtcg-buylist tbody td,
  .post-347 .sdtcg-sealed .sealed-table tbody td { display: block; min-width: 0; padding: 0; border: 0; }
  .post-347 .sdtcg-buylist tbody td::before,
  .post-347 .sdtcg-sealed .sealed-table tbody td::before { display: block; margin-bottom: .25rem; color: #5b6778; font-size: .78rem; font-weight: 600; line-height: 1.3; }
  .post-347 .sdtcg-buylist tbody td:nth-child(2)::before { content: 'Quantity'; }
  .post-347 .sdtcg-buylist tbody td:nth-child(3)::before { content: 'Our rate'; }
  .post-347 .sdtcg-buylist tbody td:nth-child(4) { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; padding-top: .55rem; border-top: 1px solid #e7ebef; }
  .post-347 .sdtcg-buylist tbody td:nth-child(4)::before { content: 'Estimated offer'; margin: 0; }
  .post-347 .sdtcg-buylist input.buylist-qty { box-sizing: border-box; width: 100%; max-width: 130px; font-size: 16px; }
  .post-347 .sdtcg-sealed .sealed-tabs button { flex: 1 1 calc(50% - .45rem); min-height: 44px; padding: .55rem .65rem; }
  .post-347 .sdtcg-sealed .sealed-table tbody td:nth-child(2)::before { content: 'Booster box'; }
  .post-347 .sdtcg-sealed .sealed-table tbody td:nth-child(3)::before { content: 'Booster pack'; }
  .post-347 .sdtcg-sealed .sealed-table tbody td:nth-child(4)::before { content: 'Sleeved pack'; }
  .post-347 .sdtcg-sealed .sealed-table tbody td:nth-child(5)::before { content: 'ETB'; }
  .post-347 .sdtcg-sealed [data-game-panel='onepiece'] .sealed-table tbody td:nth-child(5)::before { content: 'Double pack set'; }
  .post-347 .sdtcg-sealed .sealed-table tbody td.sealed-set-total { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; padding-top: .55rem; border-top: 1px solid #e7ebef; }
  .post-347 .sdtcg-sealed .sealed-table tbody td.sealed-set-total::before { content: 'Estimated offer'; margin: 0; }
  .post-347 .sdtcg-sealed .sealed-table tbody td.sealed-unavailable { text-align: left!important; }
  .post-347 .sdtcg-sealed .sealed-rate-cell input { width: 100%; max-width: 110px; font-size: 16px; }
  .post-347 .sdtcg-sealed .sealed-total { display: block; }
  .post-347 .sdtcg-sealed .sealed-total span { display: block; margin: .5rem 0; }
}
