:root{--red:#e2402e;--cream:#f8f4e8}*{box-sizing:border-box}body{background:var(--cream);color:#2a2a2a;margin:0;padding-bottom:0;font-family:Rubik,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}header{background:var(--red);color:#fff;text-align:center;padding:18px 24px}header h1{letter-spacing:1px;margin:0 0 4px;font-size:1.375rem}header p{opacity:.9;margin:0;font-size:.8125rem}.credit{margin-top:6px;font-size:.75rem;line-height:1.4}.credit a{color:#fff;text-decoration:underline}.credit a:hover{opacity:.8}.wrap{max-width:1600px;margin:0 auto;padding:0}.search-box{background:var(--red);z-index:30;border-radius:16px 16px 0 0;flex-wrap:wrap;gap:8px;max-width:1100px;margin:0 auto;padding:16px;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 16px #0000001f}.action-row{justify-content:space-between;align-items:center;gap:8px;display:flex;position:absolute;bottom:calc(100% + 10px);left:16px;right:16px}.share-pill{white-space:nowrap;color:#fff;cursor:pointer;background:#2a2a2a;border:none;border-radius:999px;align-items:center;gap:8px;padding:12px 22px;font-size:1rem;font-weight:500;display:flex;box-shadow:0 4px 14px #00000040}.share-pill:hover{background:#000}.search-field{flex:1;min-width:220px;position:relative}#q{cursor:pointer;border:none;border-radius:8px;outline:none;width:100%;padding:12px 56px 12px 14px;font-size:1rem;box-shadow:0 2px 10px #0000001f}#q:focus{box-shadow:0 0 0 3px #e2402e40,0 2px 10px #0000001f}.search-icon{color:#999;pointer-events:none;width:18px;height:18px;position:absolute;top:50%;right:14px;transform:translateY(-50%)}.search-field:has(#clearBtn.show) .search-icon{display:none}#clearBtn{color:var(--red);cursor:pointer;background:0 0;border:none;padding:6px 4px;font-size:.875rem;display:none;position:absolute;top:50%;right:12px;transform:translateY(-50%)}#clearBtn.show{display:inline-block}#clearBtn:hover{text-decoration:underline}#results{z-index:20;background:#fff;border:1px solid #ddd;border-radius:8px;max-height:280px;display:none;position:absolute;bottom:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 8px 24px #0000001f}#results.open{display:block}.result-item{cursor:pointer;text-align:left;background:#fff;border:none;border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:10px 14px;font-size:.875rem;display:flex}.result-item:last-child{border-bottom:none}.result-item:hover,.result-item:focus,.result-item.active{background:#fdf0ee}.result-item .r-name{flex:1}.result-item .r-booth{color:var(--red);flex-shrink:0;font-weight:700}.map-frame{width:100%;max-width:1600px;margin:0 auto;position:relative;overflow:hidden}.canvas-wrap{width:100%;position:relative;overflow:hidden}.canvas-frame{width:100%;position:relative}canvas{width:100%;height:auto;display:block}.canvas-wrap.fit-height{cursor:grab;touch-action:pan-x;overflow:auto hidden}.canvas-wrap.fit-height.dragging{cursor:grabbing}.canvas-frame.fit-height{width:fit-content;height:100%;margin:0 auto}.canvas-frame.fit-height canvas{width:auto;max-width:none;height:100%}.fit-toggle{background:#2a2a2a;border-radius:999px;flex-shrink:0;display:flex;overflow:hidden;box-shadow:0 4px 14px #00000040}.fit-toggle button{white-space:nowrap;color:#fff;cursor:pointer;background:0 0;border:none;padding:12px 22px;font-size:1rem;font-weight:500}.fit-toggle button.active{background:var(--red)}.fit-toggle button:hover:not(.active){background:#000}.cat-runners{pointer-events:none;z-index:15;position:absolute;inset:0;overflow:hidden}.cat-runner{transition-property:left,top;transition-timing-function:linear;position:absolute;transform:translate(-50%,-50%)}.cat-runner-sprite{width:36px;height:36px;image-rendering:pixelated;background-image:url(/run.png);background-repeat:repeat-x;background-size:216px 36px;animation:.6s steps(6,end) infinite cat-run-frames}@keyframes cat-run-frames{0%{background-position-x:0}to{background-position-x:-216px}}.legend{color:#666;text-align:center;margin-top:10px;font-size:.75rem;line-height:1.5}.no-match{color:var(--red);font-size:.875rem}.note{color:#888;margin-top:8px;font-size:.75rem}@media (width<=600px){.wrap{padding:0}.map-frame{border:none;border-radius:0}.action-row{gap:6px;left:10px;right:10px}.share-pill{gap:6px;padding:10px 14px;font-size:.875rem}.share-pill svg{flex-shrink:0;width:15px;height:15px}.fit-toggle button{padding:10px 12px;font-size:.8125rem}}
