*{box-sizing:border-box}body{margin:0;background:#e7edf4;color:#101b2e;font-family:Tahoma,Arial,sans-serif}.print-controls{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:18px;padding:16px;background:#071426;color:white}.print-controls a{color:#a8e6ff}.print-controls button{padding:12px 20px;background:#ffe052;border:0;border-radius:6px;font:700 16px Tahoma,Arial;cursor:pointer}.treasure-print-sheet{width:min(190mm,calc(100% - 24px));margin:24px auto;background:white;padding:6mm;box-shadow:0 4px 25px #0002;display:grid;gap:3mm}.print-brand{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ccd6e1;padding-bottom:2mm}.print-brand img{width:42mm;height:14mm;object-fit:contain}.print-brand strong{font-size:10pt;color:#075eab}.print-brand h1{font-size:17pt;margin:1mm 0 0}.print-promotion{display:block;width:100%;height:auto;max-height:200mm;object-fit:contain}.print-join{display:grid;grid-template-columns:38mm minmax(0,1fr);align-items:center;gap:4mm}.print-join img{display:block;width:38mm;height:38mm}.print-join h2{font-size:13pt;margin:0 0 2mm}.print-join p{font-size:9pt;line-height:1.6;margin:1mm 0}.print-url{display:block;font:8pt Arial;color:#075eab;overflow-wrap:anywhere}.treasure-print-sheet footer{border-top:1px solid #ccd6e1;padding-top:2mm;font-size:8pt;line-height:1.6}.print-size{font-weight:700}@media screen and (max-width:520px){.print-brand img{width:100px}.print-brand h1{font-size:14pt}.print-join{grid-template-columns:100px minmax(0,1fr);gap:10px}.print-join img{width:100px;height:100px}.print-join h2{font-size:11pt}.print-join p{font-size:8pt}.print-url{font-size:7pt}}
@page{size:A4 portrait;margin:10mm}
@media print{html,body{width:190mm;margin:0;background:white;print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-controls{display:none}.treasure-print-sheet{width:190mm;height:271mm;padding:0;margin:0;box-shadow:none;grid-template-rows:12mm 200mm 42mm 8mm;gap:3mm;break-inside:avoid;page-break-inside:avoid}.print-brand img{height:11mm}.print-promotion{height:200mm;max-height:200mm}.print-join{height:42mm}.treasure-print-sheet footer{margin:0}}
