:root{--ink:#18221f;--paper:#f4efe6;--cream:#fffaf2;--muted:#6d746f;--rust:#e76539;--border:rgba(24,34,31,.14);font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink)}button,a{font:inherit}button{color:inherit}.topbar{height:76px;padding:0 clamp(20px,5vw,72px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);position:sticky;top:0;background:rgba(244,239,230,.93);backdrop-filter:blur(16px);z-index:20}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-weight:800;letter-spacing:.02em}.brand-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--rust);color:white;font-size:15px}.header-actions{display:flex;gap:12px;align-items:center}.icon-button{width:42px;height:42px;border:1px solid var(--border);border-radius:50%;background:transparent;font-size:23px;cursor:pointer}.source-link{color:var(--ink);text-decoration:none;font-size:14px;border-bottom:1px solid}main{max-width:1440px;margin:auto;padding:0 clamp(18px,5vw,72px)}.hero{min-height:410px;padding:90px 0 60px;display:grid;grid-template-columns:1.4fr .8fr;gap:50px;align-items:end}.eyebrow{font-size:12px;letter-spacing:.18em;font-weight:800;color:var(--rust);margin:0 0 14px}.hero h1{font-family:Georgia,"Noto Serif TC",serif;font-size:clamp(50px,7vw,98px);line-height:.98;letter-spacing:-.06em;margin:0}.hero h1 em{font-style:italic;color:var(--rust)}.intro{max-width:640px;font-size:18px;line-height:1.8;color:var(--muted);margin:28px 0 0}.stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);padding:26px 0}.stats div{padding:0 18px;border-right:1px solid var(--border)}.stats div:first-child{padding-left:0}.stats div:last-child{border:0}.stats strong{display:block;font-family:Georgia,serif;font-size:40px}.stats span{font-size:12px;color:var(--muted)}.search-panel{background:var(--ink);color:white;padding:28px;border-radius:20px;margin-bottom:48px}.search-panel label{display:block;font-size:13px;margin-bottom:10px}.search-box{display:flex;align-items:center;gap:12px}.search-box input{width:100%;border:0;border-bottom:1px solid rgba(255,255,255,.5);background:transparent;color:white;font-size:22px;padding:10px 0;outline:0}.search-box input::placeholder{color:rgba(255,255,255,.45)}.map-section,.list-section{padding:55px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.section-heading h2{font-family:Georgia,"Noto Serif TC",serif;font-size:clamp(32px,4vw,52px);margin:0}.section-heading>p{font-size:13px;color:var(--muted)}.map-shell{background:var(--cream);border:1px solid var(--border);border-radius:28px;padding:20px;box-shadow:0 20px 60px rgba(57,49,36,.08)}.map-scroll{height:600px;position:relative;min-width:800px;overflow:hidden;background-image:radial-gradient(rgba(24,34,31,.1) 1px,transparent 1px);background-size:24px 24px;border-radius:20px}.map-shell{overflow-x:auto}.metro-lines{position:absolute;inset:0;width:100%;height:100%}.track{fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;opacity:.72}.blue-track{stroke:#2879d0}.red-track{stroke:#df4d59}.green-track{stroke:#168b5b}.orange-track{stroke:#ef8d30}.station{position:absolute;transform:translate(-50%,-50%);border:0;background:transparent;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:8px;z-index:2}.station-dot{width:34px;height:34px;border-radius:50%;border:4px solid var(--station-color);background:var(--cream);display:grid;place-items:center;box-shadow:0 3px 10px rgba(0,0,0,.12);transition:.2s}.station-dot b{font-size:12px}.station-name{font-weight:800;font-size:13px;white-space:nowrap;background:var(--cream);padding:2px 7px;border-radius:6px}.station:hover .station-dot,.station:focus .station-dot{transform:scale(1.2);background:var(--station-color);color:white}.map-legend{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;padding:22px 0 4px;font-size:12px;color:var(--muted)}.map-legend span{display:flex;align-items:center;gap:7px}.line{width:20px;height:4px;border-radius:4px}.blue{background:#2879d0}.red{background:#df4d59}.green{background:#168b5b}.orange{background:#ef8d30}.text-button{border:0;background:transparent;border-bottom:1px solid;cursor:pointer}.restaurant-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.restaurant-card{background:var(--cream);border:1px solid var(--border);border-radius:20px;overflow:hidden;cursor:pointer;transition:transform .25s,box-shadow .25s}.restaurant-card:hover,.restaurant-card:focus{transform:translateY(-6px);box-shadow:0 18px 45px rgba(57,49,36,.15);outline:none}.image-wrap{height:240px;position:relative;overflow:hidden}.image-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.restaurant-card:hover img{transform:scale(1.04)}.image-wrap span{position:absolute;right:10px;bottom:10px;background:rgba(0,0,0,.55);color:white;border-radius:999px;padding:5px 9px;font-size:10px}.card-body{padding:22px}.card-meta{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}.card-meta i{width:9px;height:9px;border-radius:50%}.card-body h3{font-family:Georgia,"Noto Serif TC",serif;font-size:25px;margin:13px 0 5px}.category{color:var(--rust);font-size:13px;font-weight:700}.quote{color:var(--muted);line-height:1.65;min-height:52px}.card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding-top:16px;margin-top:18px;font-size:12px}.card-footer button{border:0;background:transparent;font-weight:800;cursor:pointer}.detail-sheet{position:fixed;inset:0;z-index:50;visibility:hidden;pointer-events:none}.detail-sheet.open{visibility:visible;pointer-events:auto}.sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(24,34,31,.55);opacity:0;transition:.25s}.open .sheet-backdrop{opacity:1}.sheet-card{position:absolute;right:0;top:0;height:100%;width:min(560px,100%);background:var(--cream);transform:translateX(100%);transition:.35s cubic-bezier(.2,.8,.2,1);overflow-y:auto}.open .sheet-card{transform:none}.sheet-close{position:absolute;right:18px;top:18px;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.9);font-size:27px;cursor:pointer;z-index:2}.sheet-card>img{width:100%;height:42vh;object-fit:cover}.sheet-content{padding:34px}.sheet-content h2{font-family:Georgia,"Noto Serif TC",serif;font-size:42px;margin:15px 0}.sheet-quote{font-size:18px;line-height:1.7;color:var(--muted)}.address{padding:18px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.sheet-actions{display:grid;gap:10px;margin:24px 0}.route-button,.thread-button{text-align:center;text-decoration:none;border-radius:12px;padding:16px}.route-button{background:var(--rust);color:white;font-weight:800}.thread-button{border:1px solid var(--border);color:var(--ink)}.sheet-content small{color:var(--muted);line-height:1.5}.no-scroll{overflow:hidden}footer{max-width:1440px;margin:40px auto 0;padding:40px clamp(18px,5vw,72px);border-top:1px solid var(--border);display:flex;justify-content:space-between;color:var(--muted);font-size:12px}
@media(max-width:900px){.hero{grid-template-columns:1fr;padding-top:60px}.stats{max-width:520px}.restaurant-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.map-section{padding-top:20px}.section-heading>p{display:none}}
@media(max-width:620px){.topbar{height:64px}.source-link{display:none}.hero{min-height:auto;padding:48px 0 28px;gap:32px}.hero h1{font-size:54px}.intro{font-size:15px}.stats strong{font-size:28px}.stats div{padding:0 10px}.map-shell{margin-left:-18px;margin-right:-18px;border-radius:0;border-left:0;border-right:0;padding:12px}.map-scroll{height:460px;min-width:720px}.restaurant-grid{grid-template-columns:1fr}.image-wrap{height:230px}.section-heading{align-items:center}.sheet-card>img{height:32vh}.sheet-content{padding:24px}.sheet-content h2{font-size:34px}footer{display:block}}

/* Schematic metro map: labels and food counts are separate visual layers. */
.map-shell{position:relative;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-color:rgba(24,34,31,.26) transparent;scrollbar-width:thin}
.map-scroll{height:640px;min-width:1040px;overflow:hidden;background-color:#fffdf8;background-image:radial-gradient(rgba(24,34,31,.075) 1px,transparent 1px);background-size:28px 28px}
.map-hint{display:none;position:sticky;left:12px;width:max-content;margin:0 0 10px;padding:7px 11px;border:1px solid var(--border);border-radius:999px;background:rgba(255,250,242,.94);color:var(--muted);font-size:11px;font-weight:700;z-index:8}
.map-hint span{color:var(--rust);font-size:15px;margin-right:5px}
.track{stroke-width:7;opacity:.92}
.blue-track{stroke:#0070bd}.red-track{stroke:#e3002c}.green-track{stroke:#008659}.orange-track{stroke:#f8b61c}.brown-track{stroke:#c48c31}
.station{width:0;height:0;display:block;gap:0;z-index:3;outline:none}
.station-node{position:absolute;left:0;top:0;width:16px;height:16px;border:3px solid var(--station-color);border-radius:50%;background:#fffdf8;box-shadow:0 0 0 2px #fffdf8;transform:translate(-50%,-50%);transition:transform .18s,box-shadow .18s}
.station.is-transfer .station-node{width:22px;height:22px;border-width:4px;box-shadow:inset 0 0 0 3px #fffdf8,0 0 0 2px var(--station-color);background:var(--station-color)}
.station-label{position:absolute;display:flex;align-items:center;gap:5px;padding:4px 5px;border:1px solid rgba(24,34,31,.08);border-radius:7px;background:rgba(255,253,248,.94);box-shadow:0 2px 7px rgba(31,39,36,.08);line-height:1;transition:background .18s,box-shadow .18s,transform .18s}
.station-name{padding:0;background:none;border-radius:0;font-size:12px;letter-spacing:.01em}
.station-count{min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border-radius:999px;background:var(--rust);color:#fff;font-size:10px;font-weight:900;font-variant-numeric:tabular-nums;box-shadow:0 1px 3px rgba(120,52,29,.22)}
.label-above .station-label{left:0;bottom:15px;transform:translateX(-50%)}
.label-below .station-label{left:0;top:15px;transform:translateX(-50%)}
.label-left .station-label{right:15px;top:0;transform:translateY(-50%)}
.label-right .station-label{left:15px;top:0;transform:translateY(-50%)}
.station:hover .station-node,.station:focus-visible .station-node{transform:translate(-50%,-50%) scale(1.28);box-shadow:0 0 0 5px rgba(255,253,248,.85),0 4px 12px rgba(0,0,0,.18)}
.station:hover .station-label,.station:focus-visible .station-label{background:#fff;box-shadow:0 5px 16px rgba(31,39,36,.18)}
.map-legend{min-width:850px;gap:18px;padding-top:18px}
.map-legend span{font-weight:700}
.line-code{min-width:28px;height:22px;display:grid;place-items:center;padding:0 5px;border-radius:7px;color:#fff;font-size:10px;line-height:1}
.line-code.orange{color:#3c331c}.brown{background:#c48c31}

@media(max-width:1100px){.map-scroll{min-width:980px}}
@media(max-width:620px){
  .map-shell{padding:12px 12px 4px}.map-hint{display:block}.map-scroll{height:560px;min-width:920px;border-radius:16px}.map-legend{min-width:820px;justify-content:flex-start;padding-left:10px;padding-bottom:12px}.track{stroke-width:6}.station-name{font-size:11px}.station-label{gap:4px;padding:3px 4px}.station-count{min-width:17px;height:17px;font-size:9px}.station-node{width:15px;height:15px}.station.is-transfer .station-node{width:20px;height:20px}
}
