:root{--coral:#ff5a5f;--yellow:#ffd76a;--teal:#1aa6a6;--teal-light:#e4f6f6;--wine:#7a2633;--paper:#fffaf0;--accent:var(--coral);color:var(--wine);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{background:var(--paper);min-height:100vh;margin:0}body:before{content:"";z-index:-1;pointer-events:none;background:url(/communitygames/spotlandmark/assets/neighbourhood-c7_RYAyr.svg) 0 0/900px 900px;position:fixed;inset:0}button{white-space:nowrap;font:inherit;cursor:pointer;background:var(--teal-light);color:var(--wine);border:0;border-radius:14px;padding:12px 16px;font-weight:800}button.primary{background:var(--accent);color:#fff}input{font:inherit;border:2px solid var(--yellow);color:var(--wine);background:#fff;border-radius:12px;flex:1;min-width:0;padding:11px 12px}h1{margin:12px 0 6px;font-size:22px}h2{margin:16px 0 10px;font-size:18px}.card{max-width:440px;padding:calc(10px + env(safe-area-inset-top)) 16px 28px;margin:0 auto}.center{text-align:center}.muted{opacity:.75}.err{color:#7a2633;font-weight:700}.snap{background:#fff;margin:6px 8px 0;padding:8px 8px 26px;position:relative;transform:rotate(-2.5deg);box-shadow:0 4px 12px #0000002e}.snap .img{position:relative;overflow:hidden}.snap .cap{text-align:center;color:var(--wine);font-family:Marker Felt,Comic Sans MS,cursive;font-size:12px;position:absolute;bottom:6px;left:0;right:0}.tape{background:#ffd76ad9;width:56px;height:16px;margin-left:-28px;position:absolute;top:-8px;left:50%;transform:rotate(3deg)}.screen{flex-direction:column;gap:4px;display:flex}.bar{align-items:center;gap:8px;margin:12px 0;display:flex}.badge{background:var(--coral);color:#fff;border-radius:10px;padding:4px 8px;font-size:13px;font-weight:900}.bar .t{font-size:18px;font-weight:800;line-height:1.1}.bar .s{opacity:.7;font-size:12px}.snap .img img{object-fit:cover;width:100%;max-height:52vh;display:block}.snap .img{background:var(--teal-light);min-height:160px}.meta{justify-content:space-between;align-items:center;margin:18px 4px 0;font-size:13px;display:flex}.dots{gap:4px;display:flex}.dots i{background:#f3d7c9;border-radius:50%;width:10px;height:10px;display:block}.dots i.on{background:var(--coral)}.btns{gap:8px;margin-top:18px;display:flex}.btns button{text-align:center;white-space:nowrap;flex:1;padding:14px 0}.btns .zo{background:var(--teal-light);color:#137a7a}.btns .gs{background:var(--coral);color:#fff}.btns button:disabled{opacity:.5;cursor:default}.osm-credit{color:#6b5650;text-align:right;margin:4px 2px 0;font-size:11px;line-height:1.3}.osm-credit a{color:inherit}.mapview{touch-action:none;-webkit-user-select:none;user-select:none;background:#cfe9c9;border-radius:16px;width:100%;max-height:60vh;position:relative;overflow:hidden}.mapinner{transform-origin:0 0;position:absolute;inset:0}.mapinner img{pointer-events:none;width:100%;height:100%;display:block}.pin{transform-origin:50% 100%;pointer-events:none;font-size:28px;line-height:1;position:absolute}.reveal .head{text-align:center;margin-top:4px}.reveal .big{color:var(--accent);font-size:22px;font-weight:900}.reveal .big>span:first-child{white-space:nowrap}.reveal .s,.board .s{opacity:.75;font-size:12px}.snap.tilt{margin-top:10px;transform:rotate(2deg)}.reveal .score{text-align:center;margin-top:12px}.btns .lb{background:var(--yellow);color:var(--wine)}.nudge{text-align:center;color:var(--wine);opacity:.8;margin:16px 4px 0;font-size:13px;line-height:1.45}.cheer{margin-top:10px}.cheer .hl{color:var(--accent);font-size:18px;font-weight:900}.cheer.perfect .hl{color:#b8860b}.cheer .title{margin-top:4px;font-size:14px}.cheer .bow{font-size:30px;line-height:1.2}.cheer .bow span{animation:1.2s ease-in-out infinite sl-bow;display:inline-block}.cheer .bow span:nth-child(2){animation-delay:.15s}.cheer .bow span:nth-child(3){animation-delay:.3s}@keyframes sl-bow{0%,to{transform:rotate(0)}50%{transform:rotate(18deg)translateY(4px)}}.confetti{pointer-events:none;z-index:50;position:fixed;inset:0;overflow:hidden}.confetti i{border-radius:2px;width:8px;height:12px;animation:linear forwards sl-fall;position:absolute;top:-12px}@keyframes sl-fall{to{top:105%;transform:rotate(720deg)translate(30px)}}.confetti .crown{font-size:56px;animation:1.6s cubic-bezier(.2,1.4,.4,1) forwards sl-crown;position:absolute;top:-60px;left:50%;transform:translate(-50%)}@keyframes sl-crown{to{top:18%}}@media (prefers-reduced-motion:reduce){.cheer .bow span{animation:none}}.btns .wa{color:#fff;background:#25d366}.tabs{gap:6px;margin-bottom:10px;display:flex}.tabs button{background:#f3e6dc;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:700}.tabs button.on{background:var(--wine);color:#fff}.brow{background:#fff;border-radius:12px;align-items:center;gap:8px;margin-bottom:5px;padding:9px 10px;font-size:14px;display:flex}.brow b{text-align:center;width:22px}.brow .n{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.brow .p{color:var(--coral);font-weight:800}.brow .home{font-size:12px}.brow .m{opacity:.6;white-space:nowrap;font-size:12px}.brow.me{outline:2px solid var(--coral)}.fun{margin-top:14px}.fun .funh{margin-bottom:5px;font-weight:700}.fun .brow{opacity:.85;background:#fff9}.fun .brow .p{color:inherit}.nextup{margin-top:10px}.request{text-align:left;flex-direction:column;gap:12px;margin-top:12px;display:flex}.request label{color:var(--wine);flex-direction:column;gap:4px;font-weight:700;display:flex}.request input{flex:none}.request .field-hint{opacity:.85;margin:-8px 0 0;font-size:13px}.hp{width:1px;height:1px;position:absolute;left:-9999px;overflow:hidden}.welcome{margin-top:8px}.welcome .claim{background:#fff;border-radius:14px;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;padding:10px 10px 10px 14px;display:flex;box-shadow:0 1px 4px #00000014}.welcome .claim b{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:17px;overflow:hidden}.welcome .claim button{flex:none}.welcome .claim .who{flex-direction:column;min-width:0;display:flex}.welcome .claim .who small{font-size:13px}.welcome .claim.confirm{flex-direction:column;align-items:stretch}.welcome .claim.confirm p{margin:0}.welcome .claim.confirm p b{font-size:inherit;overflow-wrap:anywhere;white-space:normal}.welcome .claim .acts{gap:8px;display:flex}.welcome .claim .acts .primary{flex:1}.welcome .new{width:100%;margin-top:4px}.topbar{background:var(--paper);border-radius:18px;align-items:center;gap:9px;min-height:52px;margin-bottom:10px;padding:5px 6px 5px 8px;display:flex;box-shadow:0 1px #7a26330f,0 2px 10px #7a26330f}.topbar svg{flex:none}.topbar .w{flex-direction:column;flex:1;min-width:0;line-height:1.12;display:flex}.topbar .name{white-space:nowrap;font-size:17px;font-weight:900}.topbar .hi{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topbar .tag .nw{white-space:nowrap}.topbar .tag{opacity:.75;margin-top:1px;font-size:10.5px;font-style:italic;font-weight:700;line-height:1.2}.topbar .hi{color:var(--teal);margin-top:2px;font-size:12px;font-weight:800}.icons{flex-wrap:nowrap;flex-shrink:0;gap:6px;display:flex}.ico{width:38px;height:38px;color:var(--wine);background:#fff;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;font-size:18px;line-height:1;transition:transform .12s,background-color .12s;display:inline-flex;box-shadow:0 2px 6px #7a263329}.ico:active{transform:scale(.92)}.ico.on{background:var(--coral);box-shadow:0 2px 8px #ff5a5f73}.ico svg{fill:currentColor;display:block}.ico.on svg{fill:#fff}.games-menu{display:flex;position:relative}.games-pop{z-index:20;background:#fff;border-radius:16px;width:min(300px,100vw - 32px);padding:10px;position:absolute;top:calc(100% + 8px);right:-44px;box-shadow:0 8px 24px #7a26332e}.games-pop p{opacity:.7;margin:2px 6px 6px;font-size:13px;font-weight:700}.games-pop ul{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.games-pop a{color:var(--wine);border-radius:10px;align-items:center;gap:10px;padding:6px;text-decoration:none;display:flex}.games-pop a:hover,.games-pop a:focus-visible{background:var(--paper)}.games-pop img{border-radius:8px;flex:none}.games-pop b{font-size:15px;display:block}.games-pop .tl{opacity:.7;font-size:13px;display:block}.ico:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}.panel{background:var(--paper);border-radius:22px;padding:14px 16px 18px;box-shadow:0 2px 12px #7a263312}.panel h1:first-child,.panel>.welcome>h1:first-child{margin-top:4px}.screen>.bar>div,.board>.bar,.meta,.reveal .head,.reveal .score,.nextup,.card>.muted,.card>.err,.card>section.center,.screen>.err{background:var(--paper);box-shadow:0 0 0 6px var(--paper);border-radius:12px}.card>section.center{padding:4px 10px 10px}.sheet-back{z-index:50;padding:max(12px, env(safe-area-inset-top)) 12px 12px;background:#3a1e246b;justify-content:center;align-items:flex-start;animation:.18s ease-out sl-fade;display:flex;position:fixed;inset:0}.sheet{width:100%;max-width:440px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top));-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;background:var(--paper);border-radius:24px;padding:8px 16px 20px;animation:.26s cubic-bezier(.2,.8,.2,1) sl-rise;overflow-y:auto;box-shadow:0 -8px 28px #3a1e2438}.sheet .grab{background:#efdccf;border-radius:3px;width:40px;height:5px;margin:2px auto 4px}.sheet-hd{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.sheet-hd h2{margin:4px 0;font-size:22px;font-weight:900}.help ul{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.help li{background:#fff;border-radius:16px;grid-template-columns:36px 1fr;align-items:center;gap:10px;padding:9px 12px 9px 9px;font-size:15px;line-height:1.35;display:grid;box-shadow:0 1px 3px #7a263312}.help li .e{background:#fff3c4;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:19px;display:flex}.help li:nth-child(3n+2) .e{background:var(--teal-light)}.help li:nth-child(3n) .e{background:#ffe3e1}@keyframes sl-rise{0%{opacity:0;transform:translateY(-16px)}}@keyframes sl-fade{0%{opacity:0}}@media (prefers-reduced-motion:reduce){.sheet,.sheet-back{animation:none}}.paste{border-top:2px dashed var(--wine,#7a2633);margin-top:18px;padding-top:14px}.paste h2{margin:0;font-size:1.1rem}.fine{text-align:center;opacity:.85;margin:10px 0 0;font-size:13px}.fine a{color:var(--teal)}@media (width<=360px){.topbar>svg{display:none}.icons{gap:5px}.ico{width:34px;height:34px;font-size:16px}.games-pop{right:-39px}}
