body[data-civic] label{font-size:14px}body[data-civic] button{min-height:44px}body[data-civic] .hero:not(:has(>img)){grid-template-columns:1fr;max-width:880px}.civic-panel{padding:28px;margin:28px 0;background:#e7e8cd;border:1px solid #8d9c77;border-radius:8px}.button-row{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.civic-panel .cards{margin-bottom:10px}.civic-form{position:static}.civic-search{margin-bottom:15px}.civic-votes{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 8px}.civic-votes button{min-height:40px;padding:9px;font-size:13px}.civic-status{font-size:14px}.ordinance-seal{display:inline-block;padding:7px 12px;border:3px double #4f6f42;color:#2f573a;font:800 13px system-ui;transform:rotate(-3deg)}.forecast-card strong{font-size:27px}.forecast-card .meta{font-size:13px}.forecast-fiction{background:#293f36;color:#fff1c4;padding:25px;border:7px double #c8b979}.forecast-stale{padding:12px;border-left:4px solid #a26930;background:#fff1c2}.excuse-machine{display:grid;grid-template-columns:1fr 1.3fr;gap:30px}.excuse-machine form{position:static}.excuse-slip{background:#fff9e6;border:2px dashed #708362;padding:28px;min-height:320px;align-self:start}.excuse-slip h2{font-size:30px;line-height:1.4}.excuse-stamp{font:800 14px/1.5 monospace;letter-spacing:1px;border:3px double #8a4230;padding:14px;color:#8a4230;display:inline-block;transform:rotate(-3deg)}.excuse-machine>.button-row,.excuse-machine>#excuse-status{grid-column:1/-1}.card-collection{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:20px;margin:25px 0}.collectible{border:5px double #486647;border-radius:10px;background:#fcf3cd;padding:15px;position:relative;display:flex;flex-direction:column;text-align:center;min-height:325px;box-shadow:0 5px 8px #263b2724}.collectible.rare{border-color:#8f7045;background:#f2dfb3}.collectible.legendary{border-color:#a28732;background:linear-gradient(130deg,#fff0ac,#e0edcf,#ffe3a5)}.collectible.missing{filter:grayscale(.85);opacity:.65}.collectible>img{width:100%;height:155px;object-fit:contain}.collectible h3{font-size:20px;margin:10px 0}.collectible p{margin:5px 0;font-size:14px}.collectible .card-count{font:800 14px system-ui;margin-top:auto}.collectible button{margin-top:10px;font-size:13px}.pack-card{animation:civic-reveal .5s ease both}@keyframes civic-reveal{from{opacity:0;transform:rotateY(65deg) translateY(20px)}to{opacity:1;transform:none}}dialog{color:#243c2b;background:#f9f0d8;border:3px double #627854;border-radius:8px;padding:24px;width:min(620px,94vw);max-height:92vh;overflow:auto}dialog::backdrop{background:#16251bd9}#card-detail-body .collectible{max-width:340px;margin:25px auto}.postcard-maker{display:grid;grid-template-columns:1fr 1.4fr;gap:30px;align-items:start}.postcard-maker form{position:static}.postcard-maker figure{margin:0}.postcard-maker canvas{width:100%;height:auto;background:#fff5d6;box-shadow:0 5px 15px #1c2e2626}.postcard-maker figcaption{font-size:13px}.fair-heading{text-align:center}.fair-booths{display:grid;grid-template-columns:1fr 1fr;gap:25px}.wheel-stage{position:relative;width:min(100%,310px);margin:20px auto}.wheel-pointer{position:absolute;z-index:2;left:50%;top:-20px;font-size:38px;transform:translateX(-50%);color:#263c2a;text-shadow:0 2px #fff7c7}.fair-wheel{aspect-ratio:1;border-radius:50%;border:8px double #4e6843;background:conic-gradient(#df9e6d 0 45deg,#e1cf7c 45deg 90deg,#88b398 90deg 135deg,#d39c95 135deg 180deg,#b3bf82 180deg 225deg,#e3b58e 225deg 270deg,#a1bab0 270deg 315deg,#b7a0bb 315deg);display:grid;place-items:center;transition:transform 1.2s cubic-bezier(.1,.65,.1,1)}.fair-wheel span{display:grid;place-items:center;background:#2e4b37;color:#ffedb8;border:4px double #f3e4a6;border-radius:50%;width:35%;height:35%;font:900 30px Georgia}.digital-ribbon{display:block;margin:10px auto 20px;width:90px;height:90px;border:8px double #eee5b4;border-radius:50%;background:#476f57;color:#fff6cc;position:relative;font:800 20px/1.1 Georgia;text-align:center;padding-top:15px}.digital-ribbon:after{content:'';position:absolute;left:22px;top:75px;width:30px;height:40px;background:#6c915d;clip-path:polygon(0 0,100% 0,100% 100%,50% 75%,0 100%)}.project-pipeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}.project-pipeline>div{padding:15px;border:1px solid #8d9c77;background:#fff6d9;font:600 14px/1.5 system-ui}.project-pipeline strong{display:block;font:700 28px Georgia}.completed-project{border:3px double #517e41;background:#eef5cc}.project-note{white-space:pre-wrap}.attraction-stage{text-align:center}#monument-art{font-size:clamp(110px,20vw,220px);line-height:1.3;text-shadow:5px 9px 2px #6b7b4a44}.story-panel{background:#253d35;color:#f3e3ae;border:8px double #bdaf79}.story-panel h2{font-size:38px}.story-panel>p{font-size:18px;line-height:1.8}.story-panel a{color:#eaffbc}.story-choices{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.story-choices button{max-width:100%;text-align:left}.story-ending{border:3px double #859c57}.civic-pill{background:#dce6af;border:1px solid #718b57;padding:8px;display:inline-block;margin:5px;font:600 13px system-ui}.civic-more[hidden],button[hidden],canvas[hidden]{display:none}.civic-print-heading{display:none}.civic-form .trap{position:absolute}.civic-form input[type=number]{min-width:0}.civic-owned-key{font-size:13px}.civic-stamps{margin:30px 0}.civic-stamp{border:3px double #527346;border-radius:50%;display:inline-block;padding:20px;transform:rotate(-5deg);font:800 14px Georgia;color:#365f3e}@media(max-width:720px){.excuse-machine,.fair-booths,.postcard-maker{grid-template-columns:1fr}.civic-panel{padding:18px}.card-collection{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.collectible{padding:10px;min-height:300px}.collectible>img{height:115px}.collectible h3{font-size:18px}.collectible p{font-size:13px}.story-panel h2{font-size:29px}.story-panel>p{font-size:16px}}@media(max-width:370px){.card-collection{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.pack-card{animation:none}.fair-wheel{transition:none}}@media print{body[data-civic=trading-cards] header,body[data-civic=trading-cards] .hero,body[data-civic=trading-cards] footer,body[data-civic=trading-cards] .civic-panel>*:not(#card-collection),body[data-civic=trading-cards] dialog,body[data-civic=trading-cards] .collectible button,body[data-civic=trading-cards] .collectible[data-owned=false]{display:none!important}body[data-civic=trading-cards] main,body[data-civic=trading-cards] .civic-panel{width:100%;padding:0;margin:0;border:0;background:white}body[data-civic=trading-cards] #card-collection{display:grid;grid-template-columns:repeat(3,2.4in);gap:.1in}body[data-civic=trading-cards] .collectible{width:2.4in;height:3.4in;break-inside:avoid;box-shadow:none;min-height:0;font-size:10pt}body[data-civic=trading-cards] .collectible>img{height:1.5in}body[data-civic=trading-cards] .collectible h3{font-size:14pt}body[data-civic=trading-cards] .collectible p{font-size:9pt}body[data-civic=post-office] header,body[data-civic=post-office] .hero,body[data-civic=post-office] form,body[data-civic=post-office] footer,body[data-civic=post-office] figcaption{display:none!important}body[data-civic=post-office] main{width:100%;margin:0}.postcard-maker{display:block}.postcard-maker canvas{width:6in;max-width:100%;height:auto;box-shadow:none}body[data-civic=excuse-factory] header,body[data-civic=excuse-factory] .hero,body[data-civic=excuse-factory] form,body[data-civic=excuse-factory] footer,body[data-civic=excuse-factory] .button-row,body[data-civic=excuse-factory] #excuse-status{display:none!important}body[data-civic=excuse-factory] .excuse-machine{display:block;background:white;border:0}}

.civic-directory-icon{display:block;width:100%;height:150px;object-fit:contain;margin:0 auto 12px}
