*{box-sizing:border-box}body{margin:0;background:#eee7d8;color:#253d37;font:16px/1.45 system-ui,sans-serif}main{max-width:1000px;margin:auto;padding:24px 28px}header,footer,.ticket,.rowhead,.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:8px}header,footer,.ticket,#grade,.rowhead,.action{font:700 12px/1.3 ui-monospace,monospace;letter-spacing:.05em}header{border-block:2px solid #354a40;padding:10px 0}h1{font:700 clamp(42px,7vw,80px)/1 Georgia,serif;letter-spacing:-.06em;margin:21px 0 7px}h1 i{color:#a94128}h2{font:normal 32px/1.1 Georgia,serif;margin:0}.lead{max-width:710px;margin:8px 0 20px}.bench{display:grid;grid-template-columns:0.84fr 1.4fr;gap:24px}article,section{background:#fff9ec;border:1px solid #a79d88;padding:20px;box-shadow:3px 3px 0 #d0c5ad}article{display:flex;flex-direction:column;align-items:center;text-align:center}.ticket{width:100%;border-bottom:1px dashed #99917e;padding-bottom:9px}article img{width:100%;max-width:255px;aspect-ratio:1;object-fit:contain;mix-blend-mode:multiply}#route{font:14px ui-monospace,monospace;margin:8px 0 18px}canvas{width:100%;height:49px;image-rendering:pixelated}.sectionhead{border-bottom:1px solid #c4baa4;padding-bottom:9px}#grade{color:#9b3d24}section p{font-size:14px;margin:10px 0 17px}.rowhead{min-height:32px}.rowhead small{font:12px system-ui,sans-serif;letter-spacing:0}.strip{display:grid;grid-template-columns:repeat(7,1fr);border:1px solid #576454;margin-bottom:9px}.cell{display:grid;place-items:center;height:34px;background:#fffaeb;color:#283e34;border:0;border-right:1px solid #a69d87}.cell:last-child{border-right:0}.ink{background:#283e34;color:white}.worn{background:repeating-linear-gradient(135deg,#dcd2bb 0 3px,#f4ecdb 3px 7px);color:#5e594b}.strip button{height:43px;font:13px ui-monospace,monospace}button{cursor:pointer;font:inherit}button:focus-visible{outline:3px solid #d8642a;outline-offset:-3px}.action{background:#274c41;color:#fff4df;padding:12px 18px;border:0;border-radius:3px}.action:hover{background:#346351}#flip{background:transparent;border:1px solid #9a8a75;border-radius:3px;padding:3px 7px;color:#67452f}#message{min-height:20px;color:#99432b;margin:6px 0 8px}footer{border-top:2px solid #354a40;margin-top:18px;padding-top:12px}@media(max-width:650px){main{padding:14px}.bench{grid-template-columns:1fr;gap:10px}article{display:grid;grid-template-columns:80px 1fr;gap:4px 12px;text-align:left;padding:12px}.ticket{grid-column:span 2}article img{grid-row:span 3;width:80px}article h2{font-size:23px}#route{margin:0;font-size:12px}canvas{height:25px}section{padding:14px}.lead{font-size:14px}.strip{margin-bottom:3px}header,footer{font-size:10px}}
