/* Website map shell, 2026-11-19. Existing map IDs, handlers and banner management remain in use. */
body.tak-map-web-shell { background:#fff; color:#10213e; }
.tak-map-web-shell .tak-map-app { height:100vh; height:100dvh; background:#fff; overflow-x:hidden; overflow-y:auto; }
.tak-map-web-shell .tak-web-legacy { display:none!important; }
.tak-web-header { position:relative; z-index:110; display:flex; align-items:center; flex:0 0 auto; gap:4px; padding:14px 16px 10px; background:#fff; }
.tak-web-header a { text-decoration:none; color:inherit; }
.tak-web-brand { display:flex; flex:1 1 auto; align-items:center; gap:10px; min-width:0; }
.tak-web-mark { position:relative; display:grid; place-items:center; width:36px; height:40px; flex:none; border-radius:10px 10px 10px 3px; background:#083bc6; color:#fff; font-size:28px; font-weight:900; }
.tak-web-mark i { position:absolute; width:5px; height:5px; right:0; top:0; border-radius:50%; background:#ffd347; }
.tak-web-brand-copy { min-width:0; }
.tak-web-brand-line { display:flex; align-items:center; flex-wrap:wrap; column-gap:8px; row-gap:3px; }
.tak-web-brand-line strong { font-size:22px; font-weight:900; letter-spacing:-.06em; white-space:nowrap; line-height:1.2; }
.tak-web-page { padding-left:8px; border-left:1px solid #a8b4c9; color:#164bc3; font-size:14px; font-weight:800; white-space:nowrap; }
.tak-web-brand-copy small { display:block; margin-top:5px; font-size:11px; color:#657791; line-height:1.3; }
.tak-web-account,.tak-web-menu summary { width:44px; height:44px; display:grid; place-items:center; cursor:pointer; border-radius:50%; flex:none; color:#1749bd!important; }
.tak-web-account { background:#f1f5ff; }
.tak-web-account svg,.tak-web-menu svg { width:22px; height:22px; }
.tak-web-menu { flex:none; }
.tak-web-menu summary { list-style:none; }
.tak-web-menu summary::-webkit-details-marker { display:none; }
.tak-web-menu nav { position:absolute; z-index:120; right:12px; top:calc(100% - 4px); width:min(280px,calc(100vw - 24px)); max-height:60vh; overflow:auto; padding:8px; border:1px solid #dce4f1; background:#fff; border-radius:16px; box-shadow:0 12px 32px #10213e26; }
.tak-web-menu nav a { display:block; padding:12px; min-height:44px; font-size:15px; border-radius:9px; }
.tak-web-menu nav a:hover { background:#edf3ff; }
.tak-map-web-shell :focus-visible { outline:3px solid #ffbf24; outline-offset:2px; }
.tak-web-banner { flex:0 0 auto; padding:0 12px 8px; background:#fff; }
.tak-web-banner .tak-banner-section { width:100%; margin:0 auto!important; max-width:960px; padding:0!important; }
.tak-web-banner .tak-banner-item { display:block; position:relative; width:100%; overflow:hidden; text-decoration:none; margin:0!important; border-radius:12px!important; box-shadow:none!important; }
.tak-web-banner .tak-banner-label { display:none; }
.tak-web-banner .tak-banner-impression-pixel { position:absolute; left:-9999px; top:-9999px; width:1px!important; height:1px!important; opacity:0; pointer-events:none; }
.tak-web-banner .tak-banner-item.hide-on-pc { display:none; }
@media(max-width:768px) { .tak-web-banner .tak-banner-item.hide-on-pc { display:block; } .tak-web-banner .tak-banner-item.hide-on-mobile { display:none; } }
.tak-web-banner picture { display:block; }
.tak-web-banner picture img { display:block; width:100%; height:auto!important; object-fit:contain!important; }
.tak-map-web-shell .tak-map-stage { flex:1 1 0; min-height:280px; }
.tak-web-address { position:absolute; z-index:34; top:8px; left:10px; max-width:calc(100% - 80px); padding:3px 6px; border-radius:6px; background:#ffffffdf; color:#182b47; font-size:13px; font-weight:800; line-height:1.3; pointer-events:none; }
body.tak-map-web-shell #takFilterRow { position:relative!important; inset:auto!important; flex:0 0 auto; width:100%; max-width:100%; margin:0; z-index:70; display:flex; justify-content:center; align-items:center; gap:8px; padding:10px 8px; border-top:1px solid #e2e8f2; background:#fff; overflow-x:auto; }
body.tak-map-web-shell #takFilterRow .tak-filter-btn { display:flex; align-items:center; justify-content:center; flex:1 1 0; width:56px; min-width:44px; max-width:72px; height:56px; min-height:44px; padding:6px; border-radius:50%; border:1px solid #d3dceb; background:#fff; color:#20406b; font-size:14px; font-weight:800; line-height:1.2; white-space:normal; word-break:break-all; box-shadow:0 2px 4px #14294b10; }
body.tak-map-web-shell #takFilterRow .tak-filter-btn.active,body.tak-map-web-shell #takFilterRow .tak-filter-btn[aria-pressed="true"] { background:#123cba; border-color:#123cba; color:#fff; }
.tak-map-web-shell .tak-filter-submenu { top:auto; bottom:calc(var(--tak-web-status-height,32px) + 76px); }
.tak-map-web-shell .tak-return-reopen { bottom:calc(var(--tak-web-status-height,32px) + 76px); }
.tak-map-web-shell .tak-map-area-search { top:auto!important; bottom:calc(var(--tak-web-status-height,32px) + 18px)!important; left:50%!important; right:auto!important; transform:translateX(-50%)!important; z-index:36; min-height:44px; padding:10px 18px; border:1px solid #cfdaea; border-radius:15px; background:#fff; color:#1749bd; font-size:15px; font-weight:800; box-shadow:0 3px 9px #14294b20; }
.tak-map-web-shell .tak-map-utility-row { display:block; left:8px; right:68px; bottom:7px; }
.tak-map-web-shell .tak-map-status { min-height:30px; max-height:48px; padding:6px 8px; border-radius:9px; font-size:12px; font-weight:500; box-shadow:none; }
.tak-map-web-shell #takMoveCurrentButton { position:absolute; right:8px; bottom:44px; z-index:39; border-radius:50%; width:48px; height:48px; min-width:48px; min-height:48px; font-size:13px; border-color:#cbd6e5; box-shadow:0 2px 6px #14294b20; }
.tak-map-web-shell #takMapSearchToggle { bottom:100px; font-size:14px; font-weight:800; border-color:#cbd6e5; box-shadow:0 2px 6px #14294b20; }
.tak-map-web-shell #takMapMyCloneButton { bottom:156px; border-color:#cbd6e5; box-shadow:0 2px 6px #14294b20; }
.tak-map-web-shell .tak-detail-panel { top:45px!important; max-height:calc(100% - 52px); }
.tak-map-web-shell .tak-map-search-center { background:transparent; border:2px solid #b66e0b; box-shadow:0 0 0 1px #fff; width:18px; height:18px; }
.tak-map-web-shell .tak-map-search-center::before,.tak-map-web-shell .tak-map-search-center::after { content:""; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); background:#b66e0b; border-radius:1px; }
.tak-map-web-shell .tak-map-search-center::before { width:26px; height:2px; }
.tak-map-web-shell .tak-map-search-center::after { width:2px; height:26px; }
.tak-web-filter-label { display:block; flex:0 1 2.1em; min-width:0; width:2.1em; max-width:2.1em; white-space:normal; word-break:break-all; }
@media (max-width:359px) { .tak-web-header { padding:10px 9px 8px; gap:0; } .tak-web-brand { gap:7px; } .tak-web-brand-line strong { font-size:20px; } .tak-web-page { font-size:13px; padding-left:6px; } body.tak-map-web-shell #takFilterRow { gap:4px; padding:8px 5px; } body.tak-map-web-shell #takFilterRow .tak-filter-btn { height:50px; padding:3px; } }
@media (min-width:761px) { .tak-web-header { padding:12px 24px; } .tak-web-banner { padding:0 24px 10px; } .tak-web-brand-line strong { font-size:24px; } body.tak-map-web-shell #takFilterRow .tak-filter-btn { max-width:76px; } }
@media (max-height:600px) { .tak-web-header { padding-top:6px; padding-bottom:6px; } .tak-web-brand-copy small { display:none; } .tak-web-banner { padding-bottom:5px; } .tak-web-banner picture img { max-height:65px; width:auto; max-width:100%; margin:auto; } body.tak-map-web-shell #takFilterRow { padding-top:6px; padding-bottom:6px; } body.tak-map-web-shell #takFilterRow .tak-filter-btn { height:46px; } }

/* Edge-to-edge banner and circular map filters; v3 restores normal rounded artwork. */
/* v4: leave a small white gap above and below the banner. */
.tak-web-banner { padding:8px 0!important; }
.tak-web-banner .tak-banner-section { max-width:none!important; }
.tak-web-banner .tak-banner-item { border:0; border-radius:14px!important; overflow:hidden; }
.tak-web-banner .tak-banner-label { display:block; position:absolute; top:8px; left:9px; z-index:3; margin:0; padding:0; border:0; background:transparent; color:#fff; font-size:12px; line-height:1; font-weight:900; letter-spacing:-.03em; text-shadow:0 1px 2px rgba(0,0,0,.95),0 0 3px rgba(0,0,0,.9); pointer-events:none; user-select:none; }
.tak-web-banner picture img { width:100%!important; max-width:100%; max-height:none!important; margin:0; border-radius:0; }
body.tak-map-web-shell #takFilterRow { --tak-filter-diameter:clamp(44px,calc((100vw - 56px)/6),60px); }
body.tak-map-web-shell #takFilterRow .tak-filter-btn { flex:0 0 var(--tak-filter-diameter); width:var(--tak-filter-diameter); height:var(--tak-filter-diameter); min-width:var(--tak-filter-diameter); max-width:var(--tak-filter-diameter); min-height:var(--tak-filter-diameter); max-height:var(--tak-filter-diameter); aspect-ratio:1; border-radius:50%; padding:4px; }
@media(min-width:1100px) {
  body.tak-map-web-shell { background:#edf1f6; }
  .tak-map-web-shell .tak-map-app { left:50%; right:auto; width:100%; max-width:1280px; transform:translateX(-50%); box-shadow:0 0 24px #17345b12; }
  .tak-web-header { padding:12px 20px; }
  body.tak-map-web-shell #takFilterRow { gap:14px; padding:10px; }
}

/* Compact website heading requested by the user: name/page/version, then current GPS address. */
.tak-map-web-shell .tak-web-compact-header { display:flex; align-items:center; flex:0 0 auto; gap:8px; min-height:56px; padding:6px 10px; border:0; box-shadow:none; background:#fff; }
.tak-web-compact-header .tak-map-back { flex:none; width:36px; height:36px; border-radius:8px; text-decoration:none; }
.tak-compact-copy { flex:1; min-width:0; }
.tak-compact-title { display:flex; align-items:center; flex-wrap:wrap; gap:6px; line-height:1.3; }
.tak-compact-brand { color:#102d77; font-size:17px; font-weight:900; text-decoration:none; white-space:nowrap; }
.tak-compact-page { color:#1749bd; font-size:13px; font-weight:800; white-space:nowrap; }
.tak-compact-title .tak-map-version { min-height:18px; padding:2px 5px; }
.tak-compact-location { display:flex; gap:5px; align-items:baseline; margin-top:2px; font-size:12px; color:#536681; line-height:1.35; }
.tak-compact-location-label { flex:none; color:#687b92; }
.tak-compact-location #takCompactAddress { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:700; }
body.tak-map-web-shell #takFilterRow { position:sticky!important; top:auto!important; bottom:0!important; padding-bottom:max(8px,env(safe-area-inset-bottom,0px)); }

/* v5: white compact heading with GPS under the brand; retain banner gaps and markers. */
.tak-map-web-shell .tak-web-compact-header { background:#fff; min-height:50px; }
.tak-web-compact-header .tak-compact-brand { color:#102d77; }
.tak-web-compact-header .tak-compact-page { color:#1749bd; }
.tak-web-compact-header .tak-map-back { color:#102d77; background:#f1f5fb; border-color:#dce5f3; }
.tak-web-compact-header .tak-map-version { background:#eef4ff; color:#12347c; border-color:#cfddf5; }
.tak-web-compact-header .tak-compact-location { color:#536681; font-size:12px; }
.tak-web-compact-header .tak-compact-location-label { color:inherit; font-weight:700; }
@media(max-width:768px) { .tak-web-banner .tak-banner-label { top:7px; left:8px; font-size:11px; } }
@media(max-width:420px) { .tak-web-banner .tak-banner-label { top:6px; left:7px; font-size:10px; } .tak-web-banner .tak-banner-item { border-radius:13px!important; } }
/* Shape and short text work independently of color. Preserve transit BLUE/YELLOW states. */
.tak-map-web-shell .tak-basic-marker.transit .tak-basic-marker-pin { border-radius:50%; transform:none; }
.tak-map-web-shell .tak-basic-marker.transit .tak-basic-marker-pin span { transform:none; }
.tak-map-web-shell .tak-basic-marker.transit.selected .tak-basic-marker-pin { transform:scale(1.08); }
.tak-map-web-shell .tak-basic-marker.callpoint .tak-basic-marker-pin,
.tak-map-web-shell .tak-basic-marker.my_callpoint .tak-basic-marker-pin { width:33px; height:33px; margin:3px; border-radius:7px; background:#7c3aed; color:#fff; transform:rotate(-45deg); box-shadow:0 3px 8px #32116b55; }
.tak-map-web-shell .tak-basic-marker.callpoint.selected .tak-basic-marker-pin,
.tak-map-web-shell .tak-basic-marker.my_callpoint.selected .tak-basic-marker-pin { transform:rotate(-45deg) scale(1.08); }
.tak-map-web-shell .tak-basic-marker.callpoint.callpoint-recommended .tak-basic-marker-pin { outline:3px solid #d8b4fe; }
.tak-map-web-shell .tak-basic-marker.taktle .tak-basic-marker-pin { border-radius:4px; background:#c2410c; color:#fff; transform:none; }
.tak-map-web-shell .tak-basic-marker.public_toilet .tak-basic-marker-pin,
.tak-map-web-shell .tak-basic-marker.my_toilet .tak-basic-marker-pin { border-radius:12px; background:#475569; color:#fff; transform:none; }
.tak-map-web-shell .tak-basic-marker:is(.taktle,.public_toilet,.my_toilet) .tak-basic-marker-pin span { transform:none; }
.tak-map-web-shell .tak-basic-marker:is(.taktle,.public_toilet,.my_toilet).selected .tak-basic-marker-pin { transform:scale(1.08); }
.tak-map-web-shell .tak-turu-marker { border-radius:18px 18px 8px 8px; background:#0f766e; color:#fff; gap:4px; }
.tak-map-web-shell .tak-turu-marker b { color:#0f766e; }
.tak-map-web-shell .tak-turu-marker::before { content:''; width:21px; height:17px; flex:none; background:currentColor; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M5 2h14l3 8v8h-4v-3H6v3H2v-8zm1 2-2 6h16l-2-6zM5 11a2 2 0 1 0 0 4 2 2 0 0 0 0-4m14 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4'/%3E%3C/svg%3E") center/contain no-repeat; }
body.tak-map-web-shell #takFilterRow [data-filter='callpoint'] { color:#6d28d9; border-color:#c4b5fd; }
body.tak-map-web-shell #takFilterRow [data-filter='taktle'] { color:#9a3412; border-color:#fdba74; }
body.tak-map-web-shell #takFilterRow #takTurucarToggle { color:#0f766e; border-color:#5eead4; }
body.tak-map-web-shell #takFilterRow [data-filter='toilet'] { color:#475569; border-color:#94a3b8; }
body.tak-map-web-shell #takFilterRow [data-filter='callpoint'].active { color:#fff; background:#7c3aed; border-color:#7c3aed; }
body.tak-map-web-shell #takFilterRow [data-filter='taktle'].active { color:#fff; background:#c2410c; border-color:#c2410c; }
body.tak-map-web-shell #takFilterRow #takTurucarToggle.active { color:#fff!important; background:#0f766e!important; border-color:#0f766e!important; }
body.tak-map-web-shell #takFilterRow [data-filter='toilet'].active { color:#fff; background:#475569; border-color:#475569; }

/* v6: reuse the full website header; match homepage banner width and spacing.
   Map zoom, GPS acquisition and layer logic are intentionally unchanged. */
body.tak-map-web-shell { display:flex; flex-direction:column; height:100vh; height:100dvh; min-height:100vh; min-height:100dvh; overflow-x:hidden; overflow-y:auto; background:#f4f7fb; }
.tak-map-web-shell > .site-header { flex:0 0 auto; }
.tak-map-web-shell .tak-map-app { position:relative; inset:auto; transform:none; flex:1 0 auto; width:100%; max-width:1280px; height:auto; min-height:0; margin:0 auto; overflow:visible; background:transparent; box-shadow:none; }
.tak-map-web-shell .tak-web-banner { width:100%; max-width:var(--tak-container-max,1100px); margin:0 auto; padding:var(--tak-page-top-gap,12px) var(--tak-container-x,18px)!important; background:transparent; }
.tak-map-web-shell .tak-web-banner .tak-banner-item { border:1px solid rgba(226,232,240,.9); }
.tak-map-web-shell .site-header .logo { max-width:100%; gap:4px 8px; flex-wrap:wrap; justify-content:flex-start; }
.tak-map-web-shell .site-header .tak-map-version { background:#eef4ff; color:#12347c; border:1px solid #cfddf5; min-height:18px; padding:2px 5px; font-size:11px; }
.tak-map-web-shell .tak-map-stage { background:#e8eef5; }
@media(max-width:768px) {
  .tak-map-web-shell .tak-web-banner { padding-right:var(--tak-container-x-mobile,10px)!important; padding-left:var(--tak-container-x-mobile,10px)!important; }
  .tak-map-web-shell .site-header .logo { justify-content:center; }
}

/* v7: GPS address at the top left of the map; artwork and zoom unchanged. */
.tak-map-web-shell .tak-map-stage > .tak-compact-location { position:absolute; top:8px; left:10px; z-index:35; width:fit-content; max-width:calc(100% - 80px); margin:0; padding:4px 7px; border-radius:6px; background:rgba(255,255,255,.94); color:#172b49; font-size:13px; line-height:1.35; box-shadow:0 1px 4px rgba(15,43,115,.12); pointer-events:none; }
.tak-map-web-shell .tak-map-stage > .tak-compact-location .tak-compact-location-label { color:inherit; font-weight:700; }

/* Free shuttle: a van and a readable text label; shares the existing mobility filter. */
body.tak-map-web-shell #takFilterRow { --tak-filter-diameter:clamp(44px,calc((100vw - 80px)/6),60px); }
body.tak-map-web-shell #takFilterRow .tak-filter-btn[data-filter="taktle"] { flex-basis:64px;width:64px;height:64px;min-width:64px;max-width:64px;min-height:64px;max-height:64px; }
.tak-shuttle-filter-label { display:block;white-space:nowrap;line-height:1.25;font-size:13px; }
/* Compact van, with the label directly below its wheels. The touch area remains 48 x 44. */
.tak-free-shuttle-marker { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:48px;height:44px;box-sizing:border-box;padding:2px 0;border:0;border-radius:0;background:transparent;color:#126b60;box-shadow:none;white-space:nowrap;font-size:11px;font-weight:900;line-height:14px; }
.tak-free-shuttle-marker > span { display:block;padding:0 2px;border-radius:3px;background:rgba(255,255,255,.96);box-shadow:0 1px 2px #14294b20; }
.tak-free-shuttle-marker.selected { color:#093f38; }
.tak-free-shuttle-marker.selected > span { background:#e0f8f1;box-shadow:0 0 0 1px #147d70; }
.tak-free-shuttle-marker svg { display:block;flex:none;filter:drop-shadow(0 1px 1px #ffffff); }

/* v122: reserve the bottom filters within the visible viewport, including dynamic browser bars. */
body.tak-map-web-shell { height:var(--tak-web-viewport-height,100dvh); min-height:0; }
.tak-map-web-shell .tak-map-app { flex:1 1 0; min-height:0; }
/* When the header leaves too little room, scroll the page instead of clipping controls. */
.tak-map-web-shell .tak-map-stage { flex:1 0 280px; min-height:280px; }
body.tak-map-web-shell #takFilterRow { position:sticky!important; top:auto!important; bottom:0!important; padding-bottom:max(8px,env(safe-area-inset-bottom,0px)); }
