:root{--bg-primary: #0a0a0a;--bg-secondary: #1a1a1a;--bg-tertiary: #2a2a2a;--text-primary: #ffffff;--text-secondary: #a0a0a0;--border-color: #333333;--accent-color: #dc3545;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:dark;color:var(--text-primary);background-color:var(--bg-primary);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:light){:root{--bg-primary: #ffffff;--bg-secondary: #f5f5f5;--bg-tertiary: #e8e8e8;--text-primary: #1a1a1a;--text-secondary: #666666;--border-color: #e0e0e0;color-scheme:light}}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;min-height:100dvh;background:var(--bg-primary);overscroll-behavior:none}#root{min-height:100vh;min-height:100dvh}a{color:inherit;text-decoration:none}button{font-family:inherit}img{max-width:100%;height:auto}@supports (padding: env(safe-area-inset-bottom)){body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}}.layout{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;max-width:600px;margin:0 auto;background:var(--bg-primary)}.main-content{flex:1;padding-bottom:calc(60px + env(safe-area-inset-bottom));overflow-y:auto;-webkit-overflow-scrolling:touch}.bottom-nav{position:fixed;bottom:env(safe-area-inset-bottom);left:0;right:0;display:flex;justify-content:space-around;align-items:center;height:60px;background:var(--bg-secondary);border-top:1px solid var(--border-color);max-width:600px;margin:0 auto;z-index:100}.bottom-nav:after{content:"";position:absolute;bottom:calc(-1*env(safe-area-inset-bottom));left:0;right:0;height:env(safe-area-inset-bottom);background:var(--bg-secondary)}.nav-item{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 16px;color:var(--text-secondary);text-decoration:none;transition:color .2s}.nav-item.active{color:var(--accent-color)}.nav-item-add{padding:0}.nav-item-add.active{color:inherit}.nav-icon-add{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:var(--accent-color);color:#fff;border-radius:50%;font-size:1.8rem;font-weight:300;line-height:1;margin-top:-10px;box-shadow:0 2px 8px #dc354566}.nav-icon{font-size:1.4rem}.nav-icon-svg{width:24px;height:24px;stroke-linecap:round;stroke-linejoin:round}.nav-label{font-size:.7rem;font-weight:500}@media(min-width:600px){.layout{border-left:1px solid var(--border-color);border-right:1px solid var(--border-color)}}.house-card{display:block;background:var(--bg-secondary);border-radius:12px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .2s}.house-card:active{transform:scale(.98)}.house-image-container{position:relative;aspect-ratio:4/3;overflow:hidden}.house-image{width:100%;height:100%;object-fit:cover}.house-distance{position:absolute;top:10px;right:10px;padding:4px 10px;background:#000000b3;color:#fff;font-size:.8rem;font-weight:500;border-radius:20px}.house-info{padding:12px}.house-header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.house-address{margin:0;font-size:1rem;font-weight:600;color:var(--text-primary)}.house-votes{font-size:.9rem;color:var(--text-secondary);white-space:nowrap}.house-location{margin:4px 0 0;font-size:.85rem;color:var(--text-secondary)}.home-page{padding:16px}.home-header{display:flex;justify-content:space-between;align-items:center;padding:12px 0}.home-logo{display:flex;align-items:center;gap:8px}.logo-icon{width:28px;height:28px;color:#f6c343}.logo-text{font-size:1.6rem;font-weight:700;letter-spacing:-.02em;background:linear-gradient(135deg,#f6c343,#e8a932);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.sort-toggle{display:flex;gap:4px}.sort-btn{padding:6px 12px;border:none;border-radius:16px;background:var(--bg-secondary);color:var(--text-secondary);font-size:.8rem;font-weight:500;cursor:pointer;transition:all .2s}.sort-btn.active{background:var(--accent-color);color:#fff}.house-feed{display:flex;flex-direction:column;gap:16px}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK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ktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8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o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.house-map-container{width:100%;height:400px;border-radius:12px;overflow:hidden;margin-bottom:16px}.house-map-container.house-map-full{height:100%;margin-bottom:0;border-radius:0}.house-map{width:100%;height:100%}.user-marker{background:transparent}.user-marker-dot{width:20px;height:20px;background:var(--accent-color);border:3px solid white;border-radius:50%;box-shadow:0 2px 8px #0000004d}.map-popup{display:flex;flex-direction:column;gap:8px;min-width:150px}.popup-image{width:100%;height:80px;object-fit:cover;border-radius:4px}.popup-content{display:flex;flex-direction:column;gap:4px}.popup-content strong{font-size:.9rem;color:#1a1a1a}.popup-town{font-size:.8rem;color:#666}.popup-votes{font-size:.8rem}.popup-link{display:inline-block;margin-top:4px;padding:6px 12px;background:#dc3545;color:#fff!important;text-decoration:none;border-radius:6px;font-size:.8rem;text-align:center}.leaflet-popup-content-wrapper{border-radius:8px}.leaflet-popup-content{margin:10px}.map-page{position:relative;height:calc(100vh - 60px - env(safe-area-inset-bottom));height:calc(100dvh - 60px - env(safe-area-inset-bottom))}.map-loading{position:absolute;top:16px;left:50%;transform:translate(-50%);padding:8px 16px;background:var(--bg-secondary);border-radius:20px;font-size:.85rem;color:var(--text-secondary);z-index:1000}.explore-page{padding:16px}.explore-header{display:flex;align-items:center;gap:12px;margin-bottom:20px}.back-button{padding:8px 12px;border:none;border-radius:8px;background:var(--bg-secondary);color:var(--text-primary);font-size:.9rem;cursor:pointer}.explore-title{margin:0;font-size:1.5rem;font-weight:600;color:var(--text-primary)}.region-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.region-card{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 16px;border:none;border-radius:12px;background:var(--bg-secondary);cursor:pointer;transition:transform .2s}.region-card:active{transform:scale(.97)}.region-name{font-size:1rem;font-weight:600;color:var(--text-primary);text-align:center}.region-count{margin-top:4px;font-size:.8rem;color:var(--text-secondary)}.town-list{display:flex;flex-direction:column;gap:8px;margin-bottom:24px}.town-item{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border:none;border-radius:10px;background:var(--bg-secondary);cursor:pointer;transition:background .2s}.town-item:active{background:var(--bg-tertiary)}.town-name{font-size:1rem;color:var(--text-primary)}.town-postcode{font-size:.85rem;color:var(--text-secondary)}.section-title{margin:0 0 12px;font-size:1.1rem;font-weight:600;color:var(--text-primary)}.house-list{display:flex;flex-direction:column;gap:16px}.empty-message{text-align:center;color:var(--text-secondary);padding:40px 20px}.house-detail{min-height:100vh;background:var(--bg-primary)}.detail-header{position:sticky;top:0;z-index:10;padding:12px 16px;background:var(--bg-primary)}.back-btn{padding:8px 14px;border:none;border-radius:8px;background:var(--bg-secondary);color:var(--text-primary);font-size:.9rem;cursor:pointer}.detail-image-container{width:100%;aspect-ratio:1;overflow:hidden}.detail-image{width:100%;height:100%;object-fit:cover}.detail-content{padding:20px 16px}.detail-main{margin-bottom:16px}.detail-address{margin:0;font-size:1.5rem;font-weight:700;color:var(--text-primary)}.detail-location{margin:6px 0 0;font-size:1rem;color:var(--text-secondary)}.vote-button{display:flex;align-items:center;gap:8px;padding:12px 20px;border:2px solid var(--border-color);border-radius:12px;background:var(--bg-secondary);font-size:1.1rem;cursor:pointer;transition:all .2s;margin-bottom:20px}.vote-button.voted{border-color:var(--accent-color);background:#dc35451a}.vote-icon{font-size:1.4rem}.vote-count{font-weight:600;color:var(--text-primary)}.detail-description{font-size:1rem;line-height:1.6;color:var(--text-primary);margin:0 0 20px}.detail-meta{font-size:.85rem;color:var(--text-secondary);margin-bottom:24px}.report-btn{padding:10px 16px;border:1px solid var(--border-color);border-radius:8px;background:transparent;color:var(--text-secondary);font-size:.85rem;cursor:pointer}.report-modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:flex-end;justify-content:center;z-index:1000;padding:16px}.report-modal{width:100%;max-width:400px;background:var(--bg-secondary);border-radius:16px 16px 0 0;padding:24px 20px;padding-bottom:calc(24px + env(safe-area-inset-bottom))}.report-title{margin:0 0 8px;font-size:1.2rem;font-weight:600;color:var(--text-primary);text-align:center}.report-description{margin:0 0 20px;font-size:.9rem;color:var(--text-secondary);text-align:center}.report-options{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}.report-option{padding:14px 16px;border:1px solid var(--border-color);border-radius:10px;background:var(--bg-primary);color:var(--text-primary);font-size:.95rem;text-align:left;cursor:pointer;transition:background .2s}.report-option:active{background:var(--bg-tertiary)}.report-cancel{width:100%;padding:14px;border:none;border-radius:10px;background:transparent;color:var(--text-secondary);font-size:.95rem;cursor:pointer}.report-success{text-align:center;padding:20px 0}.report-success-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;background:#28a745;color:#fff;border-radius:50%;font-size:1.5rem;margin-bottom:12px}.report-success p{margin:0;font-size:1rem;color:var(--text-primary)}.not-found{text-align:center;padding:60px 20px;color:var(--text-secondary)}.auth-page{padding:24px 16px;min-height:100vh;display:flex;flex-direction:column}.auth-header{text-align:center;margin-bottom:32px;padding-top:40px}.auth-title{margin:0;font-size:1.8rem;font-weight:700;color:var(--text-primary)}.auth-subtitle{margin:8px 0 0;font-size:.95rem;color:var(--text-secondary)}.auth-form{display:flex;flex-direction:column;gap:20px}.auth-error{padding:12px 16px;border-radius:8px;background:#dc35451a;color:#dc3545;font-size:.9rem;text-align:center}.form-group input,.form-group select,.form-group textarea{padding:14px 16px;border:1px solid var(--border-color);border-radius:10px;background:var(--bg-secondary);color:var(--text-primary);font-size:1rem}.auth-button{padding:14px 24px;border:none;border-radius:10px;background:var(--accent-color);color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:opacity .2s;margin-top:8px}.auth-button:disabled{opacity:.6;cursor:not-allowed}.auth-switch{margin-top:24px;text-align:center;font-size:.9rem;color:var(--text-secondary)}.auth-switch a{color:var(--accent-color);text-decoration:none;font-weight:500}.checkbox-group{display:flex;align-items:flex-start}.checkbox-label{display:flex;align-items:flex-start;gap:10px;font-size:.9rem;color:var(--text-primary);cursor:pointer;line-height:1.4}.checkbox-label input[type=checkbox]{width:18px;height:18px;margin-top:2px;flex-shrink:0;accent-color:var(--accent-color);cursor:pointer}.checkbox-label a{color:var(--accent-color);text-decoration:none}.checkbox-label a:hover{text-decoration:underline}.submit-page{padding:16px;min-height:100vh}.submit-header{margin-bottom:20px}.submit-title{margin:0;font-size:1.5rem;font-weight:700;color:var(--text-primary)}.submit-form{display:flex;flex-direction:column;gap:16px}.photo-picker{width:100%;aspect-ratio:4/3;border:2px dashed var(--border-color);border-radius:12px;overflow:hidden;cursor:pointer;transition:border-color .2s}.photo-picker:hover{border-color:var(--accent-color)}.photo-picker.has-image{border-style:solid}.photo-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--text-secondary)}.photo-icon{width:48px;height:48px;stroke-linecap:round;stroke-linejoin:round}.photo-preview{width:100%;height:100%;object-fit:cover}.photo-input{display:none}.location-section{display:flex;flex-direction:column;gap:10px}.location-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:14px 20px;border:2px solid var(--border-color);border-radius:10px;background:var(--bg-secondary);color:var(--text-primary);font-size:.95rem;cursor:pointer;transition:all .2s}.location-btn:hover:not(:disabled){border-color:var(--accent-color)}.location-btn:disabled{opacity:.7;cursor:not-allowed}.location-btn.location-set{border-color:#28a745;background:#28a7451a;color:#28a745}.location-icon{width:20px;height:20px;stroke-linecap:round;stroke-linejoin:round}.location-result{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:var(--bg-secondary);border-radius:8px}.location-name{font-size:.95rem;color:var(--text-primary)}.location-edit{padding:6px 12px;border:none;border-radius:6px;background:var(--bg-tertiary);color:var(--text-secondary);font-size:.85rem;cursor:pointer}.manual-location-toggle{padding:10px;border:none;background:transparent;color:var(--text-secondary);font-size:.85rem;cursor:pointer;text-decoration:underline}.manual-location{display:flex;flex-direction:column;gap:12px;padding:16px;background:var(--bg-secondary);border-radius:10px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-size:.9rem;font-weight:500;color:var(--text-primary)}.form-group input,.form-group select,.form-group textarea{padding:12px 14px;border:1px solid var(--border-color);border-radius:8px;background:var(--bg-secondary);color:var(--text-primary);font-size:1rem}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--accent-color)}.form-group input::placeholder,.form-group textarea::placeholder{color:var(--text-secondary)}.form-group textarea{resize:vertical;min-height:80px}.submit-btn{padding:14px 24px;border:none;border-radius:10px;background:var(--accent-color);color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:opacity .2s;margin-top:8px}.submit-btn:disabled{opacity:.5;cursor:not-allowed}.profile-page{padding:24px 16px;min-height:100vh}.profile-header{display:flex;flex-direction:column;align-items:center;padding:40px 0}.profile-avatar{width:80px;height:80px;border-radius:50%;background:var(--accent-color);color:#fff;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:600;margin-bottom:16px}.profile-name{margin:0;font-size:1.5rem;font-weight:600;color:var(--text-primary)}.profile-email{margin:6px 0 0;font-size:.95rem;color:var(--text-secondary)}.profile-actions{display:flex;flex-direction:column;gap:12px;margin-top:32px}.logout-button{padding:14px 24px;border:1px solid var(--border-color);border-radius:10px;background:var(--bg-secondary);color:var(--text-primary);font-size:1rem;cursor:pointer;transition:background .2s}.logout-button:active{background:var(--bg-tertiary)}.profile-section{margin-bottom:24px}.section-title{margin:0 0 8px;font-size:1.1rem;font-weight:600;color:var(--text-primary)}.section-description{margin:0 0 16px;font-size:.9rem;color:var(--text-secondary)}.claimed-addresses{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.claimed-address{background:var(--bg-secondary);border-radius:10px;overflow:hidden}.claimed-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px}.claimed-info{display:flex;flex-direction:column;gap:4px}.claimed-address-text{font-size:.95rem;font-weight:500;color:var(--text-primary)}.claimed-verified{font-size:.8rem;color:#28a745}.claimed-remove{padding:6px 12px;border:none;border-radius:6px;background:var(--bg-tertiary);color:var(--text-secondary);font-size:.85rem;cursor:pointer}.pending-houses{padding:12px 16px;border-top:1px solid var(--border-color);background:#ffc10714}.pending-houses-label{display:block;font-size:.8rem;color:#e6a700;font-weight:500;margin-bottom:12px}.pending-house{background:var(--bg-primary);border-radius:8px;overflow:hidden;margin-bottom:10px}.pending-house:last-child{margin-bottom:0}.pending-house-preview{display:flex;gap:12px;padding:12px}.pending-house-img{width:80px;height:80px;border-radius:6px;object-fit:cover;flex-shrink:0}.pending-house-info{display:flex;flex-direction:column;gap:4px;min-width:0}.pending-house-address{font-size:.95rem;font-weight:500;color:var(--text-primary)}.pending-house-desc{font-size:.85rem;color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.pending-house-actions{display:flex;border-top:1px solid var(--border-color)}.pending-approve,.pending-decline{flex:1;padding:12px;border:none;font-size:.9rem;font-weight:500;cursor:pointer;transition:opacity .2s}.pending-approve{background:#28a745;color:#fff}.pending-decline{background:var(--bg-secondary);color:var(--text-secondary)}.pending-approve:active,.pending-decline:active{opacity:.8}.claimed-houses{padding:12px 16px;border-top:1px solid var(--border-color)}.claimed-houses-label{display:block;font-size:.8rem;color:var(--text-secondary);margin-bottom:10px}.claimed-house{display:flex;align-items:center;justify-content:space-between;padding:8px 0}.claimed-house-link{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text-primary)}.claimed-house-img{width:40px;height:40px;border-radius:6px;object-fit:cover}.claimed-house-actions{display:flex;gap:8px;flex-shrink:0}.claimed-house-view{padding:6px 10px;border:1px solid var(--border-color);border-radius:6px;background:var(--bg-tertiary);color:var(--text-primary);font-size:.8rem;text-decoration:none;cursor:pointer}.claimed-house-remove{padding:6px 10px;border:none;border-radius:6px;background:#dc3545;color:#fff;font-size:.8rem;cursor:pointer}.claim-btn{display:block;width:100%;padding:14px 20px;border:2px dashed var(--border-color);border-radius:10px;background:transparent;color:var(--text-secondary);font-size:.95rem;cursor:pointer;transition:all .2s}.claim-btn:hover{border-color:var(--accent-color);color:var(--accent-color)}.claim-form{background:var(--bg-secondary);border-radius:10px;padding:16px}.claim-instructions{margin:0 0 12px;font-size:.9rem;color:var(--text-secondary)}.claim-error{margin:0 0 12px;padding:10px 12px;background:#dc35451a;border-radius:6px;color:#dc3545;font-size:.9rem}.claim-input{width:100%;padding:12px 14px;border:1px solid var(--border-color);border-radius:8px;background:var(--bg-primary);color:var(--text-primary);font-size:1rem;margin-bottom:12px;box-sizing:border-box}.claim-input:focus{outline:none;border-color:var(--accent-color)}.claim-checkbox{display:flex;align-items:flex-start;margin-bottom:8px}.claim-checkbox-label{display:flex;align-items:flex-start;gap:10px;font-size:.85rem;color:var(--text-primary);cursor:pointer;line-height:1.4}.claim-checkbox-label input[type=checkbox]{width:18px;height:18px;margin-top:1px;flex-shrink:0;accent-color:var(--accent-color);cursor:pointer}.claim-checkbox-label a{color:var(--accent-color);text-decoration:none}.claim-checkbox-label a:hover{text-decoration:underline}.claim-buttons{display:flex;gap:10px}.claim-cancel{flex:1;padding:12px;border:1px solid var(--border-color);border-radius:8px;background:transparent;color:var(--text-secondary);font-size:.95rem;cursor:pointer}.claim-submit{flex:1;padding:12px;border:none;border-radius:8px;background:var(--accent-color);color:#fff;font-size:.95rem;font-weight:500;cursor:pointer}.claim-submit:disabled{opacity:.6;cursor:not-allowed}.claim-success{display:flex;flex-direction:column;align-items:center;padding:24px;background:#28a7451a;border-radius:10px;text-align:center}.claim-success-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#28a745;color:#fff;border-radius:50%;font-size:1.5rem;margin-bottom:12px}.claim-success p{margin:0;color:#28a745;font-weight:500}.claim-success-address{margin-top:4px!important;font-weight:400!important;font-size:.9rem;opacity:.9}
