:root{--olive:#737b51;--forest:#4d5935;--forest-deep:#39432a;--olive-soft:#d8ddc5;--ivory:#faf8f1;--linen:#f0ebdf;--white:#fffdfa;--gold:#ba9254;--ink:#343b2b;--muted:#767b6a;--line:#d8d2bd;--pending:#9c7130;--pending-bg:#fff0cf;--rejected:#9c5142;--rejected-bg:#fcece6;--shadow:0 18px 55px rgba(34,42,22,.13)}
*{box-sizing:border-box}html{background:var(--ivory);scroll-behavior:smooth}body{margin:0;background:var(--ivory);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;line-height:1.45;min-height:100dvh}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:3px solid #ab8549;outline-offset:3px}button:disabled{cursor:default;opacity:.55}.hidden{display:none!important}
.ambient-leaves{position:fixed;top:0;bottom:0;width:200px;background-repeat:repeat-y;background-size:100% auto;opacity:.26;pointer-events:none;z-index:0}.ambient-left{left:0;background-image:url('./assets/side-leaves.svg')}.ambient-right{right:0;transform:scaleX(-1);background-image:url('./assets/side-leaves.svg')}
.app-shell{position:relative;z-index:1;width:min(100%,610px);margin:0 auto;padding:0 19px 115px;background:linear-gradient(180deg,#fdfbf5 0%,#f9f7ef 56%,#f8f5eb 100%);min-height:100dvh;box-shadow:0 0 40px rgba(54,65,36,.045)}
.masthead{text-align:center;padding:27px 10px 18px;position:relative}.masthead-ornament{font-family:Georgia,serif;line-height:1;color:var(--olive);font-size:17px;letter-spacing:9px;opacity:.76;margin-bottom:16px}.masthead-ornament span{font-size:25px}.eyebrow{font-family:Georgia,serif;font-size:12px;font-weight:600;letter-spacing:.22em;color:var(--forest);margin:0}.ampersand{font-style:italic;font-weight:normal;font-size:1.17em}.masthead h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.045em;font-size:clamp(38px,9vw,57px);line-height:1.15;margin:6px 0 12px;color:var(--forest-deep)}.masthead h1 em{font-weight:400}.date-rule{display:flex;align-items:center;justify-content:center;gap:11px;margin:0 auto;width:202px;color:var(--olive)}.date-rule span{height:1px;background:var(--olive);flex:1}.date-rule i{font-style:normal;font-size:10px;letter-spacing:4px}.occasion{font-family:Georgia,serif;color:var(--olive);font-size:10px;font-weight:600;letter-spacing:.13em;margin:12px 0 0}.occasion b{margin:0 4px}
.prototype-notice{display:flex;align-items:center;justify-content:center;gap:8px;border:1px dashed #d7b97a;background:#fff7e3;border-radius:8px;padding:9px 8px;margin:1px 0 20px;color:#7c5b23;font-size:9px;line-height:1.3;font-weight:800;letter-spacing:.065em;text-align:center}.notice-dot{width:6px;height:6px;flex:none;border-radius:50%;background:#ad8539}.storage-warning{border-radius:9px;margin:0 0 14px;background:#f5dcda;border:1px solid #c48b83;padding:10px;font-size:12px}
.view{animation:fadein .25s ease}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.section-kicker{font-size:10px;letter-spacing:.18em;font-weight:700;color:var(--olive);margin:0 0 4px}.section-heading h2{font-family:Georgia,serif;color:var(--forest-deep);font-size:27px;font-weight:normal;margin:0;letter-spacing:-.025em}.plain-icon-button{border:1px solid #c6caaa;color:var(--olive);width:35px;height:35px;border-radius:50%;background:transparent;font-family:Georgia,serif;font-size:22px;font-weight:bold}.board-caption{margin:10px 0 17px;font-size:13px;color:#616b55;line-height:1.5}
.board-frame{background:var(--olive);border:5px solid #f4f0e2;outline:1px solid #7f8861;box-shadow:0 0 0 4px #d6d8c1,0 13px 30px rgba(33,43,15,.12);padding:12px 9px 11px;margin:0 3px 18px;color:#fff}.board-frame-head{display:grid;grid-template-columns:repeat(5,1fr);text-align:center;font-family:Georgia,serif;font-weight:bold;color:#fff8e9;letter-spacing:.08em;font-size:15px;margin:1px 0 8px}.bingo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.tile{min-width:0;min-height:73px;aspect-ratio:1/.98;background:#fdfbf4;border:1px solid #e4e0d1;border-radius:2px;color:var(--forest-deep);padding:6px 3px 5px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:2px;position:relative;text-align:center;transition:transform .12s ease,background .12s ease;overflow:hidden}.tile:active{transform:scale(.955)}.tile-mark{min-height:10px;font-family:Georgia,serif;font-size:9px;line-height:1;color:#87956d;font-weight:700}.tile-label{font-size:clamp(9px,2.4vw,12px);font-weight:650;line-height:1.12;letter-spacing:-.01em;overflow-wrap:break-word;hyphens:auto;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.tile-bottom{font-family:Georgia,serif;font-size:9px;color:#9fa58b;line-height:1;min-height:10px}.tile.chaos{background:#f0eddf;border-color:#d9d5c0}.tile.chaos .tile-mark,.tile.chaos .tile-bottom{color:#a17b42}.tile.free{background:#475332;color:#fffce9;border-color:#3d482a}.tile.free .tile-label{font-family:Georgia,serif;font-size:clamp(14px,4vw,19px);font-style:italic;font-weight:normal;line-height:1.1}.tile.free .tile-mark,.tile.free .tile-bottom{color:#e5e9d4}.tile.pending{background:var(--pending-bg);border-color:#d9ba73}.tile.pending .tile-mark,.tile.pending .tile-bottom{color:#9b6d22}.tile.approved:not(.free){background:#dce6ca;border-color:#91ac7d}.tile.approved .tile-mark{color:#3b6f3b}.tile.rejected{background:var(--rejected-bg);border-color:#deaa9d}.tile.rejected .tile-mark{color:var(--rejected)}.tile.winning{box-shadow:inset 0 0 0 2px #e0bc69,0 0 0 1px #b89649;z-index:2}.board-base{font-family:Georgia,serif;text-align:center;font-style:italic;font-size:10px;letter-spacing:.055em;display:flex;align-items:center;justify-content:center;gap:9px;margin-top:12px;color:#fff9e8}.board-base span{color:#d3ddbc}
.board-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);background:var(--white);border-radius:10px;overflow:hidden;margin-top:22px}.stat{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:11px 3px 12px;gap:0}.stat+.stat{border-left:1px solid var(--line)}.stat strong{font-family:Georgia,serif;font-size:25px;line-height:1.15;color:var(--forest);font-weight:normal}.stat small{font-family:system-ui,sans-serif;font-size:12px;color:var(--muted)}.stat span{font-size:9px;letter-spacing:.09em;font-weight:800;color:var(--muted);margin-top:3px}.instruction-bar{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 14px;margin:20px 0 0}.legend{display:flex;align-items:center;gap:6px;font-size:11px;color:#626b55}.legend i{width:10px;height:10px;border-radius:2px;display:inline-block;border:1px solid #a1a58f}.legend .legend-pending{background:#f2d89d;border-color:#e0b75b}.legend .legend-approved{background:#b4ce9c;border-color:#7d9f66}.legend .legend-chaos{background:#d7c8a5;border-color:#ae9358}.privacy-note{text-align:center;font-size:11px;color:#79806b;line-height:1.55;margin:18px 5px 8px}.bingo-banner{display:flex;align-items:center;gap:10px;margin-top:16px;background:#f5eed8;padding:12px;border:1px solid #d1b677;border-radius:9px}.bingo-banner strong{font-family:Georgia,serif;font-size:15px;color:var(--forest-deep)}.bingo-banner p{font-size:11px;margin:2px 0 0;color:#6c644b}.banner-medal{font-size:22px;color:#b38f45}.small-text-button{background:none;border:none;color:var(--forest);text-decoration:underline;font-weight:700;font-size:12px;margin-left:auto}
.page-footer{margin:34px auto 0;display:flex;align-items:center;justify-content:center;gap:12px;color:#7e8865;font-family:Georgia,serif;letter-spacing:.25em;font-size:10px}.footer-rule{height:1px;width:60px;background:#a7b08c}
.bottom-nav{position:fixed;z-index:25;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,610px);display:grid;grid-template-columns:repeat(3,1fr);padding:8px 17px max(9px,env(safe-area-inset-bottom));background:rgba(255,253,247,.97);box-shadow:0 -5px 30px rgba(42,57,25,.12);border-top:1px solid #dedbce;backdrop-filter:blur(15px)}.nav-item{background:none;border:none;color:#8d967f;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:1px 0 4px;min-height:47px;font-weight:800;font-size:10px;letter-spacing:.095em}.nav-icon{font-size:23px;font-weight:normal;line-height:1.3}.nav-item.active{color:var(--forest)}.nav-item.active:after{content:'';width:27px;height:2px;background:var(--forest);border-radius:10px;position:absolute;bottom:max(5px,env(safe-area-inset-bottom))}
.rules-intro{margin:18px 0;background:#ecefdf;border-left:3px solid var(--olive);padding:15px;display:flex;gap:13px;align-items:center}.rules-intro .rule-ornament{font-size:30px;font-family:Georgia,serif;color:var(--olive)}.rules-intro p{font-family:Georgia,serif;font-style:italic;font-size:17px;margin:0;color:var(--forest)}.rules-list{list-style:none;margin:0;padding:0}.rules-list li{display:flex;gap:14px;padding:15px 2px;border-bottom:1px solid #dedccc}.rule-number{color:#91a07c;font-family:Georgia,serif;font-size:23px;min-width:38px}.rules-list strong{font-size:14px;color:var(--forest-deep)}.rules-list p{margin:4px 0 0;color:#626a5a;font-size:13px;line-height:1.55}.rules-callout{border-radius:9px;border:1px solid #d5ddc6;padding:15px;margin-top:20px;background:#eef1e6}.rules-callout.secondary{background:#f4f0e6;border-color:#ded5c6;margin-top:10px}.rules-callout strong{font-size:10px;letter-spacing:.12em;color:var(--forest);font-weight:800}.rules-callout p{font-size:13px;color:#5b6452;line-height:1.55;margin:6px 0 0}.rules-return{margin-top:20px}
.primary-button,.outline-button{width:100%;min-height:48px;border-radius:7px;padding:12px 15px;font-size:13px;font-weight:800;letter-spacing:.035em;display:flex;justify-content:center;align-items:center;gap:8px}.primary-button{color:#fffdf6;background:var(--forest);border:1px solid var(--forest)}.primary-button:hover{background:#42502f}.outline-button{background:#fffdf8;color:var(--forest);border:1px solid #9da789}.outline-button:hover{background:#f3f6ec}.subtle-button{border:0;background:transparent;color:var(--forest);font-size:12px;text-decoration:underline;padding:13px}.compact{width:auto;min-height:37px;font-size:11px;padding:8px 11px;white-space:nowrap}
.overlay{position:fixed;z-index:50;inset:0}.overlay-shade{position:absolute;inset:0;width:100%;border:0;background:rgba(35,43,26,.65)}body.modal-open{overflow:hidden}.sheet-overlay{display:flex;justify-content:center;align-items:flex-end}.sheet{position:relative;z-index:1;width:min(100%,610px);background:#fdfbf5;border-radius:20px 20px 0 0;padding:10px 22px max(18px,env(safe-area-inset-bottom));max-height:min(89dvh,850px);overflow-y:auto;box-shadow:0 -15px 48px rgba(13,27,11,.25);animation:rise .25s ease}.sheet-handle{height:4px;width:42px;margin:0 auto 17px;background:#cccdbd;border-radius:5px}.sheet-top{display:flex;justify-content:space-between;align-items:center}.sheet-kicker{font-size:10px;font-weight:800;letter-spacing:.15em;color:var(--olive);margin:0}.close-button{background:none;border:0;color:#758069;font-size:28px;width:36px;height:36px;border-radius:50%;line-height:1}.sheet-title-line{display:flex;align-items:center;gap:13px;margin:12px 0 7px;flex-wrap:wrap}.sheet h2,.center-panel h2,.judge-bar h2{font-family:Georgia,serif;font-weight:normal;color:var(--forest-deep);line-height:1.14;margin:0;font-size:29px}.chaos-label{background:#efe3c8;color:#896c33;border:1px solid #d6bb7d;padding:6px 8px;border-radius:5px;font-size:10px;font-weight:800;letter-spacing:.06em}.challenge-state{font-size:12px;color:var(--olive);font-weight:700;margin:3px 0 18px}.challenge-state.pending{color:#9a722e}.challenge-state.approved{color:#44733e}.challenge-state.rejected{color:var(--rejected)}.sheet h3{font-size:11px;letter-spacing:.17em;color:#727d59;margin:12px 0 8px}.detail-copy{font-size:15px;line-height:1.68;margin:0 0 21px;color:#3d4933}.evidence-panel{display:flex;align-items:flex-start;gap:13px;background:#edf1e5;border:1px solid #d8dfca;border-radius:9px;padding:14px 13px}.evidence-icon{font-size:25px;color:#7c8c66}.evidence-panel strong{font-size:10px;letter-spacing:.09em;color:#526643}.evidence-panel p{font-size:13px;margin:5px 0 0;color:#465440;line-height:1.45}.detail-actions{display:grid;gap:10px;margin-top:22px}.detail-note{margin:11px 0 0}
.center-overlay{display:flex;justify-content:center;align-items:center;padding:15px}.center-panel{z-index:1;position:relative;width:min(100%,390px);max-height:92dvh;overflow:auto;padding:29px 25px 23px;border-radius:14px;background:#fffdf7;border:3px solid #e7e7d5;outline:1px solid #6f7955;box-shadow:var(--shadow);animation:pop .2s ease}.panel-close{position:absolute;right:10px;top:9px}.panel-lock{border:2px solid #d5dbbc;color:var(--forest);background:#ecf0df;border-radius:50%;height:50px;width:50px;display:grid;place-items:center;font-size:26px;margin:4px 0 17px}.center-panel h2{margin:9px 0 8px}.muted{font-size:13px;line-height:1.56;color:#636d5b}.center-panel label{font-size:12px;font-weight:800;display:block;margin:20px 0 7px;color:var(--forest)}.center-panel input{font-size:19px;letter-spacing:.28em;text-align:center;background:#fcfcf8;color:var(--ink);border:1px solid #b6bea9;border-radius:7px;min-height:48px;width:100%;margin-bottom:12px}.form-error{font-size:12px;color:#a73e37;margin:-1px 0 12px}.center-panel .privacy-note{margin:13px 0 0;font-size:10px}
.judge-overlay{background:#faf8f2;overflow:auto}.judge-screen{width:min(100%,680px);margin:0 auto;padding:25px 18px max(34px,env(safe-area-inset-bottom))}.judge-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:17px}.judge-bar h2{font-size:29px;margin-top:4px}.judge-subtitle{color:#65705e;font-size:13px;line-height:1.56;padding:4px 0 9px}.judge-status{display:flex;gap:6px;align-items:center;padding:12px;border-radius:7px;background:#ecefdf;color:#536340;font-size:12px;font-weight:700;margin-bottom:12px}.judge-items{display:grid;gap:10px}.judge-card{background:white;border:1px solid #dddccf;border-radius:10px;padding:14px}.judge-card.priority{border-color:#c1b07e;box-shadow:inset 3px 0 #b29760}.judge-card .judge-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.judge-card .judge-index{color:#80906e;font-size:10px;font-weight:800;letter-spacing:.1em}.judge-card h3{font-family:Georgia,serif;font-size:18px;font-weight:normal;margin:5px 0;color:var(--forest-deep)}.judge-card .judge-desc{margin:8px 0;color:#485340;font-size:12px;line-height:1.55}.judge-card .judge-evidence{font-size:12px;color:#78816d;margin:7px 0 11px}.judge-card .judge-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.judge-card .judge-actions button{border-radius:5px;padding:9px;border:1px solid #b1b7a5;background:#f1f2ed;color:var(--forest);min-height:37px;font-size:12px;font-weight:800}.judge-card .judge-actions .approve{background:var(--forest);color:white;border-color:var(--forest)}.judge-card .judge-actions .reject{background:#fcf1ed;color:#964a3d;border-color:#dbb8ad}.judge-card .judge-actions .revoke{grid-column:1/-1;background:#f6eee4;color:#765b39;border-color:#dac6a3}.judge-group-heading{font-family:Georgia,serif;font-size:16px;color:var(--forest);font-weight:normal;margin:15px 2px 8px}.judge-empty{background:#f0efe5;border-radius:7px;padding:14px;font-size:13px;color:#747864}.judge-footer{padding-top:25px;display:grid;gap:22px}.danger-link{background:none;border:none;color:#99554a;text-decoration:underline;font-size:12px;padding:4px}
.welcome-overlay{display:flex;align-items:center;justify-content:center;background:#6d7750;padding:16px;overflow:auto}.welcome-paper{width:min(100%,450px);max-height:96dvh;overflow:auto;background:#faf9f2;padding:9px;box-shadow:0 14px 40px rgba(30,38,20,.35)}.welcome-border{border:1px solid #718057;padding:21px 20px 22px;text-align:center}.welcome-flowers{font-family:Georgia,serif;color:#8e9b75;font-size:24px;letter-spacing:12px;margin:1px 0 11px}.welcome-paper .eyebrow{font-size:11px}.welcome-paper h2{font-family:Georgia,serif;font-size:clamp(33px,8vw,42px);line-height:1.15;letter-spacing:-.04em;font-weight:normal;color:var(--forest-deep);margin:12px 0}.welcome-date{font-family:Georgia,serif;letter-spacing:.13em;font-size:10px;color:var(--olive)}.welcome-divider{color:#a5b088;margin:17px 0;font-size:12px;letter-spacing:5px}.welcome-lead{font-family:Georgia,serif;font-size:17px;line-height:1.45;color:var(--forest);margin:0 0 14px}.welcome-point{display:flex;text-align:left;gap:12px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #e2e1d1}.welcome-point span{color:#a1a67e;padding:1px 1px 0 0}.welcome-point p{font-size:13px;line-height:1.45;margin:0;color:#546044}.welcome-start{margin-top:20px}.welcome-note{font-size:10px;letter-spacing:.02em;color:#8a917d;margin:10px 0 0}.win-panel{text-align:center;padding-top:35px}.winner-ornament{font-size:25px;letter-spacing:9px;color:var(--gold);padding-bottom:13px}.win-panel h2{font-family:Georgia,serif;font-size:57px;font-style:italic;margin:12px 0 7px;color:var(--forest)}.win-panel .primary-button{margin-top:17px}
.toast{position:fixed;z-index:100;left:50%;transform:translateX(-50%);bottom:calc(84px + env(safe-area-inset-bottom));width:min(calc(100% - 36px),400px);color:white;background:#3c4830;padding:13px 16px;border-radius:8px;box-shadow:var(--shadow);font-size:13px;text-align:center;animation:fadein .2s ease}
@keyframes fadein{from{opacity:0}to{opacity:1}}@keyframes rise{from{transform:translateY(20px);opacity:.8}to{transform:translateY(0);opacity:1}}@keyframes pop{from{transform:scale(.95);opacity:.7}to{transform:scale(1);opacity:1}}
@media(max-width:420px){.app-shell{padding-left:15px;padding-right:15px}.tile{min-height:64px;padding:4px 2px}.bingo-grid{gap:2px}.board-frame{padding:10px 7px 10px;margin-left:1px;margin-right:1px}.board-base{font-size:8px;gap:6px}.sheet{padding-left:18px;padding-right:18px}.masthead{padding-top:20px}.masthead-ornament{margin-bottom:10px}.welcome-border{padding:17px 15px}.welcome-point{padding:8px 0}.welcome-lead{font-size:16px}.welcome-flowers{margin-bottom:7px}}
@media(min-width:800px){.app-shell{border-left:1px solid #e7e6d7;border-right:1px solid #e7e6d7}.tile{min-height:96px}.board-frame{padding:17px 15px 15px}.bingo-grid{gap:4px}.section-heading h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* BUILD 0.1.1 — Final stationery-inspired bingo card.
   Palette sampled from the supplied approved printed card (#757d4e),
   and original couple monogram displayed in the FREE centre square. */
:root{--olive:#757d4e;--forest:#4f5830;--forest-deep:#3e482a;--ivory:#fbfbf1;--white:#fffefa}
html,body{background:#f8f6ef}
.ambient-leaves{display:none}
.app-shell{background:#f9f7f0}
.prototype-notice{margin:16px 0 17px}
.printed-card{background:#757d4e;color:#fbfbf1;margin:0 0 26px;padding:0 17px 12px;border:1px solid #687344;box-shadow:0 10px 24px rgba(37,48,22,.13)}
.printed-card .masthead{padding:34px 4px 24px}
.printed-card .eyebrow{font-family:Georgia,'Times New Roman',serif;font-size:12px;font-weight:600;letter-spacing:.21em;color:#fbfbf1}
.printed-card .masthead h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-style:italic;font-size:clamp(35px,9.3vw,55px);line-height:1.13;letter-spacing:.01em;white-space:nowrap;color:#fbfbf1;margin:11px 0 7px}
.printed-card .date-rule{width:min(68%,220px);gap:9px;color:#f7f7ed}
.printed-card .date-rule span{background:#f7f7ed;opacity:.8}
.printed-card .date-rule i{font-size:12px;line-height:1.1;letter-spacing:2px}
.printed-card .occasion{font-size:10px;letter-spacing:.16em;color:#f7f7ed;margin-top:12px}
.printed-card .board-frame{background:transparent;border:0;outline:0;box-shadow:none;padding:0;margin:0;color:inherit}
.printed-card .board-frame-head{display:none}
.printed-card .bingo-grid{gap:0;border:1px solid #fafaf0}
.printed-card .tile{background:transparent;border:0;border-right:1px solid #fafaf0;border-bottom:1px solid #fafaf0;border-radius:0;min-height:0;aspect-ratio:1/1.06;color:#f8f8ec;padding:5px 2px;display:flex;justify-content:center;gap:2px;box-shadow:none}
.printed-card .tile:nth-child(5n){border-right:none}
.printed-card .tile:nth-child(n+21){border-bottom:none}
.printed-card .tile-label{font-family:Georgia,'Times New Roman',serif;font-size:clamp(8.3px,2.24vw,11px);line-height:1.27;letter-spacing:.01em;font-variant:small-caps;font-weight:600;-webkit-line-clamp:4;color:inherit;max-width:100%}
.printed-card .tile-mark{position:absolute;top:3px;right:4px;font-size:9px;line-height:1;min-height:0;color:rgba(250,250,235,.75)}
.printed-card .tile-mark:empty{display:none}
.printed-card .tile-bottom{position:absolute;bottom:3px;min-height:0;font-family:Georgia,serif;font-size:8px;font-weight:700;letter-spacing:.03em;color:rgba(255,255,244,.86)}
.printed-card .tile:not(.chaos):not(.pending):not(.approved):not(.rejected) .tile-mark{display:none}
.printed-card .tile.chaos{background:rgba(55,66,29,.10);border-right-color:#fafaf0;border-bottom-color:#fafaf0}
.printed-card .tile.chaos .tile-mark,.printed-card .tile.chaos .tile-bottom{color:#fff6d9}
.printed-card .tile.free{background:#fff;border-color:#fafaf0;color:#4f5830}
.printed-card .tile.free .tile-label{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;overflow:visible;line-height:1}
.printed-card .free-monogram{display:block;width:100%;max-width:96px;height:calc(100% - 9px);object-fit:contain;mix-blend-mode:multiply}
.printed-card .tile.free .tile-mark{display:none}
.printed-card .tile.free .tile-bottom{color:#4f5830;background:rgba(255,255,255,.90);padding:0 2px;font-family:Georgia,serif;font-style:italic;font-size:clamp(7px,1.75vw,10px)}
.printed-card .tile.pending{background:#f1ddb2;color:#4b482e}
.printed-card .tile.pending .tile-mark,.printed-card .tile.pending .tile-bottom{color:#695121}
.printed-card .tile.approved:not(.free){background:#f1f3df;color:#45522f}
.printed-card .tile.approved .tile-mark,.printed-card .tile.approved .tile-bottom{color:#405a33}
.printed-card .tile.rejected{background:#f5e1d6;color:#733e32}
.printed-card .tile.rejected .tile-mark,.printed-card .tile.rejected .tile-bottom{color:#733e32}
.printed-card .tile.winning{box-shadow:inset 0 0 0 2px #dfbd6e;z-index:2}
.printed-card .card-colophon{text-align:center;padding:18px 0 6px;font-family:Georgia,'Times New Roman',serif;color:#fbfbf1}
.printed-card .board-base{display:block;font-family:Georgia,serif;font-size:clamp(12px,3.35vw,17px);font-style:italic;letter-spacing:.025em;line-height:1.25;margin:0 0 9px;color:inherit}
.printed-card .board-subtitle{font-size:8px;font-weight:600;letter-spacing:.1em;margin:0 0 17px}
.printed-card .footer-stroke{width:38%;height:1px;background:rgba(251,251,241,.65);margin:0 auto 11px}
.printed-card .card-date{font-size:8px;font-weight:600;letter-spacing:.18em;margin:0}
.card-instructions{margin:0 1px 15px}
.card-instructions .section-kicker{font-size:9px}
.card-instructions .board-caption{margin:8px 0 0}
.welcome-monogram{width:98px;height:98px;object-fit:contain;display:block;margin:4px auto 12px;border-radius:50%;background:#fff}
@media(max-width:420px){
 .app-shell{padding-left:14px;padding-right:14px}
 .printed-card{padding:0 12px 12px}
 .printed-card .masthead{padding:29px 2px 22px}
 .printed-card .eyebrow{font-size:10px}
 .printed-card .masthead h1{font-size:clamp(31px,9.3vw,40px)}
 .printed-card .tile{padding:4px 1px;aspect-ratio:1/1.07;min-height:0}
 .printed-card .tile-label{font-size:clamp(7.6px,2.3vw,9.5px)}
 .printed-card .tile-bottom{bottom:1px;font-size:7px}
 .printed-card .tile-mark{top:1px;right:2px;font-size:8px}
 .printed-card .card-colophon{padding-top:15px}
 .welcome-monogram{width:84px;height:84px;margin:0 auto 9px}
}
@media(min-width:800px){.printed-card .tile{min-height:0}.printed-card .bingo-grid{gap:0}}

/* BUILD 0.1.2 — no emoji chaos symbols; in-keeping diamond ornament. */
.printed-card .tile.free{background:var(--olive);color:#fbfaf0}
.printed-card .free-monogram{mix-blend-mode:normal;object-fit:contain;max-width:100%;height:calc(100% - 10px)}
.printed-card .tile.free .tile-bottom{background:transparent;color:#fbfaf0}
.printed-card .tile.chaos:not(.pending):not(.approved):not(.rejected) .tile-mark{color:#fff8e6}
.printed-card .tile.chaos .tile-bottom{font-family:Georgia,serif;letter-spacing:.08em;font-size:7px;color:#fff8e6}
.printed-card .tile.almost-winning{box-shadow:inset 0 0 0 2px #e4d9ac;z-index:1}
.bingo-banner.provisional{background:#f9f2df;border-color:#c8b783}
.bingo-banner:not(.provisional){background:#edf1e6;border-color:#9aaa85}
.winner-ornament{font-size:21px;letter-spacing:.12em;color:var(--olive)}
.win-panel h2{font-size:clamp(32px,8.3vw,48px);line-height:1.12;letter-spacing:-.03em}
.win-panel #win-subtitle{font-family:Georgia,serif;color:var(--forest);font-size:18px;margin:13px auto}
.win-panel #win-explanation{line-height:1.6}
.win-verified .winner-ornament{color:#ae914d}

/* Give both announcements an unmistakable modal backdrop. */
#win-overlay{background:rgba(37,46,27,.68);backdrop-filter:blur(3px)}


/* BUILD 0.1.3 — Cazelia's minimalist olive/ivory card, Garamond throughout.
   Retains the existing board structure and all operational status classes. */
:root{--olive:#757d4e;--forest:#515a33;--forest-deep:#3c452b;--ivory:#fffefa;--white:#fffefa;--linen:#f5f4ed;--line:#c8c9b7}
html,body{background:#f8f7f1}
body,button,input,textarea,select{font-family:'EB Garamond',Garamond,'Baskerville','Times New Roman',serif}
body{font-size:17px;line-height:1.43}
.app-shell{background:#fbfaf5}
.printed-card{background:#757d4e;margin:0 0 28px;border:0;box-shadow:0 12px 30px rgba(52,59,37,.11);padding:24px 20px;color:#535c39}
.stationery-inset{background:#fffefa;outline:2px solid #fffefa;outline-offset:5px;border:1px solid rgba(80,90,48,.35);padding:17px 12px 23px}
.printed-card .masthead{padding:5px 0 46px}
.printed-card .eyebrow,.printed-card .occasion,.printed-card .date-rule{display:none}
.printed-card .masthead h1{font-family:'Great Vibes','Snell Roundhand','Apple Chancery',cursive;font-weight:400;font-style:normal;white-space:normal;color:#69734a;font-size:clamp(47px,13.7vw,78px);letter-spacing:0;line-height:1.25;margin:0}
.printed-card .board-frame{padding:0;margin:0;border:0;outline:0;background:transparent;box-shadow:none}
.printed-card .bingo-grid{gap:0;border:1px solid #818967}
.printed-card .tile{color:#4a5436;background:#fffefa;border:0;border-right:1px solid #818967;border-bottom:1px solid #818967;aspect-ratio:1/1.09;min-height:0;max-height:none;overflow:hidden;padding:5px 2px 3px;gap:1px;border-radius:0}
.printed-card .tile-label{font-family:'EB Garamond',Garamond,'Baskerville',Georgia,serif;color:#4a5436;font-size:clamp(9.7px,2.66vw,13px);font-variant:normal;font-weight:600;letter-spacing:.004em;line-height:1.07;-webkit-line-clamp:4;overflow-wrap:anywhere}
.printed-card .tile.chaos{background:#fdfcf9;border-right:1px solid #818967;border-bottom:1px solid #818967}
.printed-card .tile.chaos .tile-mark,.printed-card .tile.chaos .tile-bottom{color:#747d53}
.printed-card .tile .tile-mark{color:#788563;font-size:11px;top:2px;right:3px}
.printed-card .tile .tile-bottom{font-family:'EB Garamond',Garamond,Georgia,serif;color:#838c6b;font-size:clamp(7px,1.75vw,9px);bottom:3px;font-weight:600;letter-spacing:.035em}
.printed-card .tile.free{background:#fffefa;color:#4a5436;border:0;border-right:1px solid #818967;border-bottom:1px solid #818967}
.printed-card .tile.free .tile-label{height:100%;display:flex;align-items:center;justify-content:center}
.printed-card .free-monogram{width:88%;height:78%;max-width:74px;max-height:65px;mix-blend-mode:normal;object-fit:contain}
.printed-card .tile.free .tile-bottom{color:#6f794d;font-style:italic;background:none}
.printed-card .tile.pending{background:#f5edda;color:#515638}
.printed-card .tile.pending .tile-mark,.printed-card .tile.pending .tile-bottom{color:#846c3e}
.printed-card .tile.approved:not(.free){background:#e7ebdd;color:#415332}
.printed-card .tile.approved .tile-mark,.printed-card .tile.approved .tile-bottom{color:#4e6744}
.printed-card .tile.rejected{background:#f5e8e2;color:#7c5144}
.printed-card .tile.winning{box-shadow:inset 0 0 0 2px #a5a275}
.printed-card .tile.almost-winning{box-shadow:inset 0 0 0 2px #dbcda3}
.printed-card .card-colophon{padding:18px 0 0;color:#6e7552}
.printed-card .board-base{font-family:'EB Garamond',Garamond,Georgia,serif;color:#68734a;font-style:italic;font-size:clamp(12px,3.1vw,17px);margin:0 0 4px}
.printed-card .board-subtitle{font-family:'EB Garamond',Garamond,serif;color:#66714b;font-size:clamp(7px,1.65vw,10px);letter-spacing:.08em;margin:0 0 15px}
.printed-card .footer-stroke{background:#879070}
.printed-card .card-date{color:#717d57;font-size:10px}
.eyebrow,.occasion,.board-caption,.section-kicker,.section-heading h2,.stat strong,.stat small,.stat span,.legend,.privacy-note,.nav-item,.rule-number,.rules-intro p,.welcome-point p,.welcome-date,.welcome-lead,.rules-list strong,.rules-list p,.sheet-kicker,.sheet-title-line h2,.detail-copy,.judge-desc,.judge-evidence,.judge-card h3,.judge-group-heading,.win-panel h2,.win-panel #win-subtitle,.win-panel #win-explanation,.toast,.prototype-notice{font-family:'EB Garamond',Garamond,'Baskerville',Georgia,serif}
.section-heading h2{font-size:31px}.section-kicker{font-size:12px}.board-caption{font-size:16px}.stat span,.nav-item,.prototype-notice{font-size:12px}.stat strong{font-size:29px}.stat small{font-size:14px}
.nav-icon{font-family:'EB Garamond',Georgia,serif}
.nav-item{font-weight:600}.rule-number{font-size:18px}
.welcome-paper{background:#fffefa}.welcome-monogram{width:105px;height:105px;border-radius:0;background:transparent;object-fit:contain}
.welcome-paper h2{font-family:'EB Garamond',Garamond,Georgia,serif;font-size:clamp(35px,9vw,48px)}
.welcome-lead{font-size:21px}.welcome-point p{font-size:17px}
.win-panel h2{font-family:'EB Garamond',Garamond,Georgia,serif;font-size:clamp(35px,9vw,49px)}
.win-panel #win-subtitle{font-size:22px}
.rules-intro .rule-ornament{font-family:Georgia,serif}
@media(max-width:420px){
 .app-shell{padding-left:14px;padding-right:14px}
 .printed-card{padding:20px 16px}
 .stationery-inset{padding:17px 9px 19px}
 .printed-card .masthead{padding:5px 0 42px}
 .printed-card .masthead h1{font-size:clamp(45px,13.5vw,59px)}
 .printed-card .tile{padding:4px 1px 3px;aspect-ratio:1/1.07}
 .printed-card .tile-label{font-size:clamp(9.1px,2.65vw,11px)}
 .printed-card .tile-bottom{bottom:1px;font-size:7px}
 .printed-card .tile-mark{top:1px;right:2px;font-size:9px}
 .printed-card .card-colophon{padding-top:15px}
 .printed-card .free-monogram{width:90%;height:79%}
}
@media(min-width:800px){.printed-card .tile{min-height:0}}

/* BUILD 0.1.4 — final-width stationery frame, authentic Edwardian title artwork,
   unbold challenge labels, and whole-word wrapping. No changes to game logic. */
.app-shell { --shell-gutter: 19px; }
/* Make the olive frame reach the full viewport width on phones while preserving
   side padding for the rules and stats below the card. */
.printed-card {
  margin-left: calc(-1 * var(--shell-gutter));
  margin-right: calc(-1 * var(--shell-gutter));
  width: calc(100% + 2 * var(--shell-gutter));
  padding: 27px 25px 27px;
}
.stationery-inset {
  outline-width: 1px;
  outline-offset: 5px;
  padding: 17px 12px 21px;
}
.printed-card .masthead { padding: 6px 0 39px; }
.printed-card .masthead h1 {
  margin: 0;
  font-size: inherit;
  line-height: 1;
}
.board-title-art {
  display: block;
  width: min(78%, 268px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
/* Hyphens and split words do not suit the 5x5 wedding stationery grid. */
.printed-card .tile-label {
  font-weight: 400;
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  white-space: normal;
  text-wrap: balance;
  -webkit-line-clamp: 4;
}
.printed-card .tile { hyphens: none; overflow-wrap: normal; word-break: normal; }
/* Avoid a large gap caused by the word-balanced title when a line uses three rows. */
.printed-card .tile.free .tile-label { font-weight: 400; }
@media (max-width: 420px) {
 .app-shell { --shell-gutter: 14px; }
 .printed-card { padding: 28px 25px 27px; }
 .stationery-inset { padding: 17px 10px 20px; }
 .printed-card .masthead { padding: 6px 0 36px; }
 .board-title-art { width: min(80%, 248px); }
 .printed-card .tile-label { font-size: clamp(9.2px, 2.65vw, 11px); }
}
@media (max-width: 345px) {
 .printed-card { padding: 23px 21px 22px; }
 .stationery-inset { padding: 14px 7px 15px; }
 .printed-card .tile-label { font-size: 9px; }
}

/* BUILD 0.1.4.1 — original Canva letterforms as outlined, transparent SVG.
   Intentionally smaller than the 0.1.4 screenshot crop. No gameplay changes. */
.printed-card .board-title-art {
  width: min(51vw, 194px);
  max-width: 75%;
  height: auto;
  min-height: 0;
  margin: 0 auto;
}
@media (max-width: 345px) {
  .printed-card .board-title-art { width: min(52vw, 169px); }
}


/* BUILD 0.1.4.2 — grid-line alignment, unclipped descenders, stronger chaos diamonds.
   No gameplay logic changes. */
/* Use the grid gap itself as the linework so every edge is visually uniform on iPhone Safari. */
.printed-card .bingo-grid {
  gap: 1px;
  padding: 1px;
  background: #818967;
  border: 0;
}
.printed-card .tile {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
/* Preserve status differentiation now that the grid lines are drawn by the container. */
.printed-card .tile.pending { box-shadow: inset 0 0 0 1px #d4b266; }
.printed-card .tile.approved:not(.free) { box-shadow: inset 0 0 0 1px #8ea378; }
.printed-card .tile.rejected { box-shadow: inset 0 0 0 1px #d7a094; }
.printed-card .tile.winning { box-shadow: inset 0 0 0 2px #a5a275; }
.printed-card .tile.almost-winning { box-shadow: inset 0 0 0 2px #dbcda3; }

/* Avoid clipping descenders like the lower half of “g” on Safari while still keeping titles compact. */
.printed-card .tile-label {
  width: 100%;
  display: block;
  line-height: 1.13;
  max-height: 4.7em;
  overflow: hidden;
  padding: .04em .08em .14em;
}
.printed-card .tile {
  overflow: hidden;
  padding-top: 6px;
  padding-bottom: 4px;
}
.printed-card .tile .tile-bottom {
  padding-bottom: .02em;
}

/* The subtle diamond needs a bit more contrast to actually read as a chaos marker. */
.printed-card .tile.chaos .tile-mark {
  color: #c7b07a;
  font-size: 12px;
  opacity: 1;
}
.printed-card .tile.pending .tile-mark,
.printed-card .tile.approved .tile-mark,
.printed-card .tile.rejected .tile-mark {
  opacity: 1;
}
@media (max-width: 420px) {
  .printed-card .tile-label {
    font-size: clamp(9.1px, 2.62vw, 10.9px);
    line-height: 1.14;
    padding-bottom: .16em;
  }
  .printed-card .tile { padding-top: 6px; padding-bottom: 4px; }
}


/* BUILD 0.1.4.3 — restore the stronger ivory outside frame from Cazelia's Canva design.
   Rendered as real CSS, not a screenshot or a raster border. */
.printed-card .stationery-inset {
  outline: 2.5px solid #fffefa;
  outline-offset: 5px;
}

/* Follow-up specificity fixes: old tile-type rules must not redraw grid borders;
   the chaos accent needs contrast against the pale ivory square. */
.printed-card .bingo-grid .tile,
.printed-card .bingo-grid .tile.chaos,
.printed-card .bingo-grid .tile.free {
  border: 0;
}
.printed-card .tile.chaos:not(.pending):not(.approved):not(.rejected) .tile-mark {
  color: #b7a071;
  opacity: 1;
  font-size: 12px;
}
.printed-card .stationery-inset {
  outline-width: 3px;
}
