/* Gatcha Days — player rules page. Pastel, light on ink; prints to letter portrait. */
.gd-rules-app .rules-preview { padding: 22px; overflow: auto; }
.rules-sheet { max-width: 920px; margin: 0 auto; background: #fff; color: #2f2b33; padding: 26px 30px 24px; border-radius: 18px; box-shadow: 0 8px 35px rgba(41, 35, 24, .23); font: 13.5px/1.5 "Nunito", "Arial Rounded MT Bold", system-ui, sans-serif; }
.rules-sheet, .rules-sheet * { font-family: "Nunito", "Arial Rounded MT Bold", system-ui, sans-serif; }
.rules-sheet h2 { margin: 12px 0 6px; font-size: 17px; font-weight: 900; display: inline-block; background: #f9d4dc; padding: 1px 12px; border-radius: 999px; }
.rules-sheet h3 { margin: 10px 0 2px; font-size: 13px; font-weight: 900; color: #c0657a; }
.rules-sheet p { margin: 5px 0; } .rules-sheet ul, .rules-sheet ol { margin: 4px 0; padding-left: 20px; } .rules-sheet li { margin: 2px 0; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; margin-top: 6px; }
.cols section { min-width: 0; }
.intro { border: 2px solid #2f2b33; border-radius: 14px; padding: 4px 16px 8px; background: #fffaf2; }
.note { font-size: 12px; color: #6f6a75; background: #f4f9fd; border-left: 4px solid #b9d4ee; padding: 4px 8px; border-radius: 4px; }
.rule { background: #fbeec6; border-radius: 8px; padding: 5px 10px; }
.mini { width: 100%; border-collapse: collapse; margin: 6px 0; font-size: 12.5px; }
.mini td { padding: 3px 8px; border: 1.5px solid #2f2b33; } .mini tr:nth-child(odd) td { background: #faf6ee; }
.art-inline { float: right; width: 150px; margin: 0 0 6px 10px; text-align: center; } .art-inline svg { width: 150px; display: block; } .art-inline .cap { font-size: 9.5px; line-height: 1.25; color: #6f6a75; margin: 2px 0 0; }
.foot { margin-top: 14px; padding-top: 8px; border-top: 2px solid #2f2b33; font-size: 11px; color: #6f6a75; text-align: center; }
@page { size: letter portrait; margin: .35in; }
@media print {
  .gd-rules-app { display: block !important; background: #fff !important; } .gd-rules-app .generator-panel { display: none !important; }
  .gd-rules-app .rules-preview { padding: 0; } .rules-sheet { box-shadow: none; border-radius: 0; max-width: none; padding: 0; font-size: 10.5px; line-height: 1.38; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .hero img { max-width: 520px; } .rules-sheet h2 { font-size: 13.5px; margin: 8px 0 4px; } .rules-sheet h3 { font-size: 11px; margin: 6px 0 1px; } .mini { font-size: 10px; }
}
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }

.gd-rules-app .coin { display: inline-block; width: 1.2em; height: 1.2em; line-height: 1.1em; text-align: center; border: 2px solid #2f2b33; border-radius: 50%; font-weight: 900; font-size: .8em; vertical-align: middle; }

.tour { margin: 10px 0; break-inside: avoid; }
.tour h3 small { font-weight: 700; color: #8b8790; }
.map { border: 2px solid #2f2b33; border-radius: 10px; overflow: hidden; background: #fff; } .map svg { display: block; width: 100%; height: auto; }
.legend { columns: 2; column-gap: 28px; list-style: none; padding: 0 !important; margin: 8px 0; counter-reset: n; }
.legend li { break-inside: avoid; position: relative; padding-left: 28px; margin: 3px 0; }
.legend li::before { counter-increment: n; content: attr(data-n); position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: #c0657a; color: #fff; font-weight: 900; font-size: 12px; text-align: center; line-height: 21px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.flow .step { border: 2px solid #2f2b33; border-radius: 12px; padding: 6px 8px; position: relative; }
.flow .step b { display: block; font-size: 13px; } .flow .step span { font-size: 11.5px; color: #4a454f; }
.flow .step i { position: absolute; top: -9px; left: -7px; width: 22px; height: 22px; border-radius: 50%; background: #2f2b33; color: #fff; font-style: normal; font-weight: 900; text-align: center; line-height: 22px; font-size: 12px; }
.walk { padding-left: 22px; } .walk li { margin: 5px 0; }
.sale svg { width: 100%; height: auto; display: block; }
.pricevis { display: grid; gap: 4px; margin: 6px 0; } .pricevis .row { display: flex; align-items: center; gap: 8px; border: 1.5px solid #2f2b33; border-radius: 10px; padding: 3px 8px; } .pricevis .row:nth-child(odd) { background: #faf6ee; }
.pricevis .row b { min-width: 62px; } .pricevis svg { height: 22px; width: auto; vertical-align: middle; } .pricevis .or { font-weight: 800; color: #8b8790; font-size: 11px; }
.ref-title { margin-top: 18px !important; background: #f6d79a !important; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } .legend { columns: 1; } }
@media print { .legend { font-size: 9.5px; } .flow .step span { font-size: 9px; } .ref-title { break-before: page; } }
.pricevis .row { flex-wrap: wrap; gap: 3px 5px; font-size: 11.5px; } .pricevis .row b { min-width: 52px; } .pricevis svg { height: 18px; }
.cols section { overflow: hidden; }

.cardfig { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: start; margin: 8px 0; } .cardfig .legend { columns: 1; }
.cardfig .map { border: 0; }
@media (max-width: 900px) { .cardfig { grid-template-columns: 1fr; } }
@media print { .cardfig { break-inside: avoid; } }

.rule.themed { background: #e6f1e0; }
.themefig { border: 0; margin: 6px 0; } .themefig svg { width: 100%; height: auto; display: block; }

.quick { margin: 12px 0; break-inside: avoid; } .quick .flow { grid-template-columns: repeat(3, 1fr); gap: 14px 12px; margin: 12px 0 8px; }
@media (max-width: 900px) { .quick .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .quick .flow { grid-template-columns: 1fr; } }
.quick .flow b { font-size: 14px; font-weight: 900; color: #c0657a; padding-left: 8px; } .quick .flow span { display: block; line-height: 1.35; } @media print { .quick .flow b { font-size: 11px; } }
.quick .flow ul { margin: 3px 0 0; padding-left: 16px; font-size: 11.5px; line-height: 1.35; color: #4a454f; } .quick .flow li { margin: 2px 0; } .quick .flow em { color: #8b8790; } @media print { .quick .flow ul { font-size: 9px; } }

.hero { border-bottom: 3px solid #2f2b33; padding-bottom: 12px; margin-bottom: 16px; text-align: center; }
.hero h1 { margin: 0; } .hero img { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
.hero-badges b { background: #f9d4dc; border-radius: 999px; padding: 3px 12px; font-size: 11px; }

.closeups { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; align-items: start; margin: 8px 0; }
.close { margin: 0; break-inside: avoid; } .close.wide { grid-column: 1 / -1; } .close .map { border: 0; border-radius: 0; } .close .map img { display: block; width: 100%; height: auto; }
.close figcaption { font-size: 12px; line-height: 1.4; margin-top: 4px; } .cardfig .map img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) { .closeups { grid-template-columns: 1fr; } }
@media print { .close figcaption { font-size: 9.5px; } }

.openchart { border: 3px solid #2f2b33; border-radius: 14px; background: #fffaf0; padding: 8px 14px 12px; margin: 12px 0; break-inside: avoid; }
.rules-sheet .openchart h3 { font-size: 15px; margin: 2px 0; } .openchart p { margin: 0 0 6px; font-size: 12px; color: #6f6a75; }
.openchart table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; font-weight: 900; }
.openchart th, .openchart td { border: 1.5px solid #2f2b33; padding: 5px 3px; background: #fff; font-size: 17px; overflow-wrap: break-word; }
.openchart th { background: #f9d4dc; } .openchart tr > :first-child { width: 30%; text-align: left; padding-left: 8px; font-size: 12px; background: #faf6ee; }
.openchart tr.how td { font-size: 11px; font-weight: 800; }
@media (max-width: 600px) { .openchart { padding: 6px 8px 8px; } .openchart th, .openchart td { font-size: 14px; } .openchart tr.how td { font-size: 9.5px; } }
.openchart .ico { width: 1.7em; height: 1.7em; vertical-align: middle; margin-right: 3px; }
