:root{--tn-bg:#f7f8fc;--tn-ink:#11152b;--tn-muted:#6d7387;--tn-line:#e7e5ee;--tn-purple:#6b36ee;--tn-purple2:#8a56ff;--tn-help:#7138ef;--tn-activity:#0aa6aa;--tn-earn:#ff6a24;--tn-green:#20bf68}
*{box-sizing:border-box}.vnext-nearby-page{margin:0;background:var(--tn-bg);color:var(--tn-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.tt-vnext-nearby-main{width:min(1560px,calc(100% - 40px));margin:0 auto;padding:22px 0 96px}.tn-page{width:100%;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--tn-ink)}
.tn-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px;padding:13px 15px;border:1px solid var(--tn-line);border-radius:18px;background:linear-gradient(135deg,#fff 0%,#fbf9ff 100%)}.tn-intro-copy{display:flex;align-items:center;gap:18px;min-width:0}.tn-eyebrow{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:900;color:#666c80}.tn-eyebrow i{width:8px;height:8px;border-radius:50%;background:var(--tn-green);box-shadow:0 0 0 5px #e4f8eb}.tn-intro h1{margin:0;font-size:25px;line-height:1.08;letter-spacing:-.6px}.tn-intro p{margin:5px 0 0;color:var(--tn-muted);font-size:13px}.tn-intro-side{display:flex;align-items:center;flex:0 0 auto}.tn-head-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.tn-head-actions button,.tn-head-actions a{height:42px;border-radius:13px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font:inherit;font-size:12px;font-weight:800;text-decoration:none}.tn-request-btn{position:relative}.tn-add-btn{border:0;background:linear-gradient(145deg,var(--tn-purple2),var(--tn-purple));color:#fff}
.tn-toolbar{position:sticky;top:96px;z-index:800;display:flex;align-items:center;gap:8px;padding:7px 9px;margin-bottom:12px;border:1px solid var(--tn-line);border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 12px 34px rgba(31,26,63,.05);backdrop-filter:blur(14px)}.tn-view-switch,.tn-filters,.tn-map-layers{display:flex;align-items:center;gap:5px}.tn-view-switch{padding:4px;border-radius:13px;background:#f5f3f9}.tn-view-switch button,.tn-filters button,.tn-map-layers button{height:33px;padding:0 11px;border-radius:10px;font:inherit;font-size:11px;font-weight:700;letter-spacing:-.01em;white-space:nowrap;cursor:pointer}.tn-view-switch button{border:0;background:transparent;color:#666d80}.tn-view-switch button.active{background:#fff;color:#5f31db;box-shadow:0 4px 12px rgba(34,27,67,.06)}.tn-filters{overflow:auto;scrollbar-width:none}.tn-filters::-webkit-scrollbar,.tn-map-layers::-webkit-scrollbar{display:none}.tn-filters button,.tn-map-layers button{border:1px solid #e7e3ed;background:#fff;color:#5f6577}.tn-filters button.active{border-color:#d8c7ff;background:#f3edff;color:#5f31db}.tn-filters span{margin-left:4px;padding:2px 5px;border-radius:999px;background:#fff;color:#7b6faf;font-size:9px;font-weight:700}.tn-map-layers{margin-left:auto}.tn-map-layers button.active{border-color:transparent;background:linear-gradient(145deg,var(--tn-purple2),var(--tn-purple));color:#fff}.tn-map-layers [data-layer="radar"].active{background:linear-gradient(145deg,#3978d8,#1654b6)}.tn-map-layers [data-layer="weather"].active{background:linear-gradient(145deg,#1bb8b4,#07888f)}.tn-radius{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700;color:#60657a}.tn-radius span{display:none}.tn-radius select,.tn-list-head select{height:35px;border:1px solid #e1ddea;border-radius:10px;background:#fff;padding:0 30px 0 10px;color:#34384d;font:inherit;font-size:11px;font-weight:700}
.tn-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(350px,.72fr);gap:14px;align-items:start}.tn-map-card,.tn-list-card{overflow:hidden;border:1px solid var(--tn-line);border-radius:23px;background:#fff;box-shadow:0 15px 42px rgba(31,26,63,.06)}.tn-map-card{position:sticky;top:151px;height:720px}.tn-map{width:100%;height:100%;background:#e9edf2}.tn-list-card{min-height:720px}.tn-list-head{display:flex;align-items:center;justify-content:space-between;padding:17px 18px;border-bottom:1px solid #efedf4}.tn-list-head h2{margin:0;font-size:21px}.tn-list-head p{margin:3px 0 0;color:var(--tn-muted);font-size:11px}.tn-list{display:grid;gap:9px;padding:10px;max-height:650px;overflow:auto}.tn-item{display:grid;grid-template-columns:54px 1fr;gap:12px;padding:12px;border:1px solid #ebe8f1;border-radius:18px;background:#fff;transition:.18s}.tn-item:hover,.tn-item.is-active{transform:translateY(-2px);border-color:#d5c9f4;box-shadow:0 10px 24px rgba(34,27,67,.08)}.tn-item[hidden]{display:none}.tn-item-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;color:#fff;font-size:20px;font-weight:900}.tn-item-icon.help{background:linear-gradient(145deg,#8b5cff,#6328e8)}.tn-item-icon.activity{background:linear-gradient(145deg,#20c4bd,#008e93)}.tn-item-main{min-width:0}.tn-item-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.tn-item-top span{color:#767b8d;font-size:10px;font-weight:900;text-transform:uppercase}.tn-item-top strong{color:#ff5a18;font-size:12px}.tn-item-top strong.free{color:#10a64b}.tn-item h3{margin:6px 0 8px;font-size:17px;line-height:1.2}.tn-item p{margin:3px 0;color:#656a7e;font-size:12px}.tn-item p b{color:var(--tn-purple)}.tn-item-foot{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;margin-top:10px;padding-top:10px;border-top:1px solid #f0eef4}.tn-author-avatar{width:34px;height:34px;display:grid;place-items:center;overflow:hidden;border-radius:11px;background:#efe8ff;color:var(--tn-purple);font-weight:900}.tn-author-avatar img{width:100%;height:100%;display:block;object-fit:cover}.tn-item-foot small{display:flex;flex-direction:column;gap:2px;min-width:0;color:#5f6477;line-height:1.15}.tn-item-foot small b{overflow:hidden;color:#3d4052;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.tn-item-foot small em{color:#9a7200;font-size:10px;font-style:normal}.tn-item-foot a{padding:8px 11px;border-radius:10px;background:#f0e9ff;color:var(--tn-purple);text-decoration:none;font-size:11px;font-weight:850}.tn-empty{padding:40px;text-align:center;color:var(--tn-muted)}
.tn-layout.view-map{grid-template-columns:1fr}.tn-layout.view-map .tn-list-card{display:none}.tn-layout.view-map .tn-map-card{position:relative;top:auto;height:calc(100vh - 190px);min-height:610px}.tn-layout.view-list{grid-template-columns:1fr}.tn-layout.view-list .tn-map-card{display:none}.tn-layout.view-list .tn-list-card{min-height:0}.tn-layout.view-list .tn-list{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;padding:16px;gap:14px}.tn-layout.view-list .tn-item{min-height:188px}
.tn-map-legend{position:absolute;left:16px;bottom:16px;z-index:500;display:flex;flex-wrap:wrap;gap:12px;padding:8px 11px;border:1px solid #e8e5ee;border-radius:13px;background:rgba(255,255,255,.94);color:#60657a;font-size:10px;backdrop-filter:blur(12px)}.tn-map-legend span{display:flex;align-items:center;gap:5px}.tn-map-legend i{width:9px;height:9px;border-radius:50%}.tn-map-legend .help i{background:var(--tn-help)}.tn-map-legend .earn i{background:var(--tn-earn)}.tn-map-legend .activity i{background:var(--tn-activity)}.tn-map-legend .people i{background:var(--tn-green)}.tn-map-legend .me i{background:#1579ff;border:2px solid #fff;box-shadow:0 0 0 2px #1579ff}.tn-search-area{position:absolute;top:15px;left:50%;z-index:600;transform:translateX(-50%);padding:10px 14px;border:0;border-radius:12px;background:#fff;color:var(--tn-purple);font:inherit;font-size:12px;font-weight:850;box-shadow:0 10px 28px rgba(30,24,63,.16)}
.tn-user-marker{position:relative;width:26px;height:26px}.tn-user-marker:before,.tn-user-marker:after{content:"";position:absolute;inset:0;border-radius:50%}.tn-user-marker:before{z-index:2;border:4px solid #fff;background:#1579ff;box-shadow:0 4px 18px rgba(21,121,255,.45)}.tn-user-marker:after{inset:-10px;background:rgba(21,121,255,.2);animation:tnpulse 1.8s infinite}.tn-user-marker span{position:absolute;left:30px;top:1px;z-index:3;padding:5px 8px;border-radius:9px;background:#fff;color:#1579ff;font-size:10px;font-weight:900;white-space:nowrap;box-shadow:0 6px 18px rgba(21,121,255,.22)}@keyframes tnpulse{0%{transform:scale(.7);opacity:.9}100%{transform:scale(1.7);opacity:0}}.tn-pin{width:30px;height:30px;transform:rotate(-45deg);border:3px solid #fff;border-radius:12px 12px 12px 3px;box-shadow:0 7px 18px rgba(30,24,63,.28)}.tn-pin.help{background:var(--tn-help)}.tn-pin.activity{border-radius:50% 50% 50% 8px;background:var(--tn-activity)}
.tn-popup-shell .leaflet-popup-content-wrapper{overflow:hidden;border:0;border-radius:17px;box-shadow:0 18px 45px rgba(28,24,54,.24)}.tn-popup-shell .leaflet-popup-content{width:220px;margin:0}.tn-popup-shell .leaflet-popup-tip{box-shadow:none}.tn-popup-shell-help .leaflet-popup-content-wrapper,.tn-popup-shell-help .leaflet-popup-tip{background:#f3ecff}.tn-popup-shell-activity .leaflet-popup-content-wrapper,.tn-popup-shell-activity .leaflet-popup-tip{background:#e7fbfa}.tn-popup-shell .leaflet-popup-close-button{top:7px;right:8px;width:27px;height:27px;line-height:25px;border-radius:9px;background:rgba(255,255,255,.84);color:#5e6375;font-size:19px}.tn-popup{padding:13px}.tn-popup-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.tn-popup-head span{padding:5px 8px;border-radius:999px;color:#fff;font-size:9px;font-weight:900;text-transform:uppercase}.tn-popup-help .tn-popup-head span,.tn-popup-help .tn-popup-foot a{background:var(--tn-help)}.tn-popup-activity .tn-popup-head span,.tn-popup-activity .tn-popup-foot a{background:var(--tn-activity)}.tn-popup-title{display:block;margin:10px 0 7px;font-size:14px}.tn-popup-meta small{display:block;margin:3px 0;color:#6f7488;font-size:10px}.tn-popup-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:11px;padding-top:9px;border-top:1px solid rgba(120,120,145,.15)}.tn-popup-author{display:flex;align-items:center;gap:7px;min-width:0}.tn-popup-author img,.tn-popup-author i{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#fff;color:var(--tn-purple);font-style:normal;font-weight:900;object-fit:cover}.tn-popup-author small{overflow:hidden;max-width:88px;text-overflow:ellipsis;white-space:nowrap}.tn-popup-foot a{padding:8px 11px;border-radius:10px;color:#fff;text-decoration:none;font-size:11px;font-weight:900}
.tn-map-context{position:absolute;right:14px;top:14px;z-index:700;width:min(390px,calc(100% - 28px));max-height:calc(100% - 28px);overflow:auto;padding:15px;border:1px solid rgba(224,221,235,.95);border-radius:19px;background:rgba(255,255,255,.98);box-shadow:0 20px 50px rgba(26,22,55,.24);backdrop-filter:blur(16px);scrollbar-width:thin}.tn-map-context[hidden],.tn-context-content[hidden],.tn-context-loading[hidden],.tn-context-days[hidden],.tn-context-hours[hidden],.tn-radar-control[hidden]{display:none}.tn-context-close{position:absolute;right:9px;top:9px;width:30px;height:30px;border:0;border-radius:10px;background:#f2eff8;color:#5f6477;font-size:20px}.tn-context-loading{padding:25px 8px;color:#6f7488;font-weight:750}.tn-context-kicker{color:var(--tn-purple);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.tn-map-context h3{margin:5px 35px 10px 0;font-size:19px;line-height:1.2}.tn-context-current{display:grid;grid-template-columns:46px auto 1fr;align-items:center;gap:8px;padding:11px;border-radius:14px;background:linear-gradient(145deg,#f5f1ff,#edfafa)}.tn-context-current>span{font-size:30px}.tn-context-current>strong{font-size:27px}.tn-context-current div{display:grid;gap:2px}.tn-context-current small{color:#73798d;font-size:10px}.tn-context-forecast-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:10px 0 7px;padding:4px;border-radius:12px;background:#f2f0f7}.tn-context-forecast-switch button{min-height:31px;border:0;border-radius:9px;background:transparent;color:#6d7181;font:inherit;font-size:11px;font-weight:850;cursor:pointer}.tn-context-forecast-switch button.active{background:#fff;color:var(--tn-purple);box-shadow:0 4px 12px rgba(44,35,80,.08)}.tn-context-hours{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:10px 0}.tn-context-hours span{display:grid;place-items:center;gap:2px;padding:7px 3px;border:1px solid #ece9f2;border-radius:10px;color:#6b7083;font-size:9px}.tn-context-hours b{color:#1d2035;font-size:11px}.tn-map-context p{margin:8px 0 11px;color:#5f6579;font-size:11px;line-height:1.45}.tn-context-actions{display:grid;grid-template-columns:1.25fr .75fr;gap:8px}.tn-context-actions a,.tn-context-actions button{min-height:38px;display:flex;align-items:center;justify-content:center;border:0;border-radius:11px;text-align:center;text-decoration:none;font:inherit;font-size:11px;font-weight:850}.tn-context-actions a{background:linear-gradient(145deg,var(--tn-purple2),var(--tn-purple));color:#fff}.tn-context-actions button{background:#eef5ff;color:#2764bd}.tn-context-actions button.active{background:#2868c7;color:#fff}
.tn-context-days{display:grid;gap:5px;margin:8px 0 10px}.tn-day{overflow:hidden;border:1px solid #e8e5ef;border-radius:11px;background:#fff}.tn-day-summary{width:100%;min-height:43px;display:grid;grid-template-columns:45px 25px 54px 43px 43px 14px;align-items:center;gap:4px;padding:5px 7px;border:0;background:#fff;color:#1d2035;text-align:left;cursor:pointer}.tn-day-summary:hover{background:#faf8ff}.tn-day.is-open .tn-day-summary{background:#f7f3ff}.tn-day-date{display:grid;line-height:1.05}.tn-day-date b{font-size:10px}.tn-day-date small{margin-top:3px;color:#7a8091;font-size:8px}.tn-day-icon{font-size:17px;text-align:center}.tn-day-temp{display:flex;align-items:baseline;gap:3px}.tn-day-temp b{font-size:14px}.tn-day-temp small{color:#858a9a;font-size:9px}.tn-day-rain,.tn-day-wind{display:grid;font-size:10px;font-weight:850;line-height:1.05}.tn-day-rain small,.tn-day-wind small{margin-top:3px;color:#8a8f9f;font-size:7px;font-weight:700}.tn-day-summary>i{font-style:normal;color:#7c8190;transition:transform .2s}.tn-day.is-open .tn-day-summary>i{transform:rotate(180deg)}.tn-day-detail{display:none;padding:7px;border-top:1px solid #ebe8f1;background:#fcfbff}.tn-day.is-open .tn-day-detail{display:block}.tn-day-sun{margin:0 2px 6px;color:#73798c;font-size:8px}.tn-day-sun span{padding:0 3px;color:#c0c3ce}.tn-day-sun b{float:right;color:var(--tn-purple);font-size:8px}.tn-day-hours{display:flex;gap:5px;overflow-x:auto;padding-bottom:3px;scroll-snap-type:x proximity;scrollbar-width:thin}.tn-hour-choice{flex:0 0 62px;display:grid;place-items:center;gap:2px;padding:6px 2px;border:1px solid #ece9f2;border-radius:9px;background:#fff;text-align:center;scroll-snap-align:start;cursor:pointer}.tn-hour-choice small{color:#777d90;font-size:8px;white-space:nowrap}.tn-hour-choice b{font-size:10px;white-space:nowrap}.tn-hour-choice em{color:#8b90a0;font-size:7px;font-style:normal;white-space:nowrap}.tn-hour-choice.is-good{border-color:#bfead2;background:#f1fbf5}.tn-hour-choice.is-selected{border-color:var(--tn-purple);background:#efe8ff;box-shadow:0 0 0 2px rgba(107,54,238,.12)}.tn-days-error{padding:12px;border-radius:11px;background:#f7f5fa;color:#73778a;font-size:11px;text-align:center}
.tn-radar-control{position:absolute;left:14px;bottom:58px;z-index:520;width:min(390px,calc(100% - 28px));padding:11px 12px;border:1px solid rgba(217,223,235,.96);border-radius:17px;background:rgba(255,255,255,.96);box-shadow:0 18px 46px rgba(22,40,78,.2);backdrop-filter:blur(18px)}.tn-radar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.tn-radar-head>span{display:flex;align-items:center;gap:8px;color:#26324b;font-size:11px}.tn-radar-head i{width:8px;height:8px;border-radius:50%;background:#2c73d2;box-shadow:0 0 0 4px rgba(44,115,210,.12)}.tn-radar-head>button{width:27px;height:27px;border:0;border-radius:9px;background:#f1f4f9;color:#5a6478;font-size:18px}.tn-radar-player{display:grid;grid-template-columns:36px 1fr;align-items:center;gap:9px}.tn-radar-player>button{width:36px;height:36px;border:0;border-radius:11px;background:linear-gradient(145deg,#3a7ce0,#1e5ab8);color:#fff;font-weight:900}.tn-radar-player input{width:100%;accent-color:#2b72d1}.tn-radar-control>small{display:block;margin:6px 0 0 45px;color:#667189;font-size:10px;font-weight:750}.leaflet-pane.tn-radar-pane{z-index:350}.tt-vnext-bottom-nav{display:none}
@media(max-width:1150px){.tn-toolbar{flex-wrap:wrap}.tn-map-layers{order:4;width:100%;margin-left:0;overflow:auto;scrollbar-width:none}.tn-layout.view-list .tn-list{grid-template-columns:repeat(2,minmax(0,1fr))}.tn-status small{display:none}}
@media(max-width:900px){.tt-vnext-nearby-main{width:100%;padding:14px 8px 104px}.tn-intro{align-items:flex-start;padding:13px}.tn-intro-copy{display:block}.tn-intro h1{font-size:22px}.tn-intro p{font-size:12px}.tn-eyebrow{margin-bottom:7px}.tn-intro-side{display:grid;gap:7px}.tn-status{height:38px}.tn-head-actions button,.tn-head-actions a{height:38px;padding:0 10px}.tn-toolbar{position:relative;top:auto;overflow:hidden;flex-wrap:wrap}.tn-view-switch{width:100%}.tn-view-switch button{flex:1}.tn-filters{width:calc(100% - 76px)}.tn-radius{margin-left:auto}.tn-layout{grid-template-columns:1fr}.tn-map-card{position:relative;top:auto;height:520px}.tn-list-card{min-height:0}.tn-list{max-height:none}.tn-layout:not(.view-list) .tn-list-card{display:none}.tn-layout.view-list .tn-list{grid-template-columns:1fr}.tn-map-context{top:9px;right:9px;left:9px;width:auto;max-height:calc(100% - 18px);overscroll-behavior:contain}.tn-radar-control{left:9px;right:9px;bottom:67px;width:auto}.tt-vnext-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:1200;height:78px;display:grid;grid-template-columns:repeat(5,1fr);padding:8px 8px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #ebe9f0;background:#fff}.tt-vnext-bottom-nav a,.tt-vnext-bottom-nav button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:none;color:#4f5468;text-decoration:none;font-weight:800}.tt-vnext-bottom-nav .active{color:var(--tn-purple)}.tt-vnext-bottom-nav button{width:58px;height:58px;align-self:center;justify-self:center;transform:translateY(-14px);border-radius:50%;background:linear-gradient(145deg,var(--tn-purple2),var(--tn-purple));color:#fff;font-size:28px}.tt-vnext-bottom-nav small{font-size:10px}.tt-vnext-bottom-nav>a>span{font-size:24px}}
@media(max-width:620px){.tn-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}.tn-intro-copy{min-width:0}.tn-intro-side{display:block;margin:0}.tn-intro-side.has-location{align-self:start}.tn-status{min-width:0}.tn-head-actions{display:grid;grid-template-columns:1fr 1fr}.tn-head-actions-single{display:block}.tn-head-actions-single .tn-add-btn{width:auto;min-width:92px}.tn-intro-side .tn-head-actions{grid-column:1/-1}.tn-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"view view" "filters filters" "layers radius";gap:7px;padding:7px}.tn-view-switch{grid-area:view}.tn-view-switch button,.tn-filters button,.tn-map-layers button{height:32px;padding:0 9px;font-size:10px}.tn-filters{grid-area:filters;width:100%}.tn-map-layers{grid-area:layers;width:100%;min-width:0;overflow-x:auto;flex-wrap:nowrap}.tn-radius{grid-area:radius;align-self:center;margin:0}.tn-radius span{display:none}.tn-radius select{width:88px;height:34px;padding:0 28px 0 11px;border:1px solid #ded9e8;border-radius:11px;background-color:#fff;font-size:11px;font-weight:850}.tn-map-card{height:500px;border-radius:18px}.tn-list-card{border-radius:18px}.tn-map-legend{left:8px;right:8px;bottom:8px;justify-content:center;gap:8px;font-size:8px}.tn-map-context{padding:12px;border-radius:16px}.tn-map-context h3{font-size:17px}.tn-context-current{grid-template-columns:39px auto 1fr}.tn-context-current>span{font-size:25px}.tn-context-current>strong{font-size:23px}.tn-context-hours{grid-template-columns:repeat(4,1fr)}.tn-context-actions{grid-template-columns:1fr}.tn-day-summary{grid-template-columns:42px 23px 50px 39px 39px 12px;padding-inline:5px}.tn-hour-choice{flex-basis:58px}.tn-item{grid-template-columns:44px 1fr}.tn-item-icon{width:44px;height:44px;border-radius:13px}.tn-item h3{font-size:15px}.tn-radar-control{bottom:66px;padding:9px 10px}.tn-radar-control>small{margin-left:43px}}


/* RC14.4 · People who explicitly use Teď mám čas. */
.tn-item-person{border-color:#dcefe5;background:linear-gradient(145deg,#fff,#f7fcf9)}
.tn-item-icon.person{position:relative;overflow:visible;border:3px solid #fff;border-radius:50%;background:linear-gradient(145deg,#32d782,#109e5c);color:#fff;box-shadow:0 7px 20px rgba(15,151,85,.24)}
.tn-item-icon.person img{width:100%;height:100%;display:block;border-radius:50%;object-fit:cover}
.tn-item-icon.person i{position:absolute;right:-1px;bottom:1px;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:#20d779;box-shadow:0 0 0 3px rgba(32,215,121,.14)}
.tn-item-top strong.live{color:#118f53}.tn-person-note{padding:8px 10px;border-radius:11px;background:#f1faf5;color:#3f6050!important;line-height:1.4}
.tn-person-pin{position:relative;width:42px;height:42px;display:grid;place-items:center;border:3px solid #fff;border-radius:50%;background:linear-gradient(145deg,#31d883,#0e9f5b);color:#fff;font-size:13px;font-weight:900;box-shadow:0 9px 23px rgba(10,126,70,.32),0 0 0 5px rgba(26,191,105,.13)}
.tn-person-pin img{width:100%;height:100%;border-radius:50%;object-fit:cover}.tn-person-pin i{position:absolute;right:-1px;bottom:1px;width:11px;height:11px;border:2px solid #fff;border-radius:50%;background:#20db7b}
.tn-popup-shell-person .leaflet-popup-content-wrapper,.tn-popup-shell-person .leaflet-popup-tip{background:#effbf4}.tn-popup-shell-person .leaflet-popup-content{width:270px}
.tn-popup-person{padding:14px;color:#1b3125}.tn-person-popup-head{display:flex;align-items:center;gap:9px;padding-right:25px}.tn-person-popup-avatar{width:38px;height:38px;display:grid;place-items:center;overflow:hidden;border:2px solid #fff;border-radius:50%;background:#19b968;color:#fff;font-weight:900;box-shadow:0 5px 14px rgba(13,130,73,.2)}.tn-person-popup-avatar img{width:100%;height:100%;object-fit:cover}.tn-person-popup-avatar i{font-style:normal}.tn-person-popup-head div{display:grid;gap:1px;min-width:0}.tn-person-popup-head small{color:#168850;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.tn-person-popup-head b{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.tn-person-popup-vibe{display:block;margin:11px 0 6px;color:#0b8148;font-size:13px}.tn-popup-note{margin:0 0 10px;padding:9px 10px;border-radius:11px;background:rgba(255,255,255,.72);color:#51685b;font-size:10px;line-height:1.45}.tn-person-popup-location{display:grid;gap:2px}.tn-person-popup-location b{color:#344c3e;font-size:9px}.tn-person-popup-location small{color:#748278;font-size:9px}.tn-popup-person .tn-popup-foot span em{color:#0a8c4b;font-size:9px;font-style:normal}.tn-popup-person .tn-popup-foot a{background:linear-gradient(145deg,#27ca76,#0aa15a)}
.tn-user-marker.is-city:before{background:#6b36ee;box-shadow:0 4px 18px rgba(107,54,238,.4)}.tn-user-marker.is-city:after{background:rgba(107,54,238,.16);animation:none;inset:-7px}.tn-user-marker.is-city span{color:#6532dd;box-shadow:0 6px 18px rgba(107,54,238,.18)}
.tn-status.is-city i{background:#6b36ee!important;box-shadow:0 0 0 4px rgba(107,54,238,.12)!important}

/* RC14.6 · živí online lidé, menší avatar markery a výběr počasí. */
.tn-map-legend .online i{background:#2f7df4;box-shadow:0 0 0 2px rgba(47,125,244,.14)}
.tn-weather-pick-hint{position:absolute;top:15px;left:50%;z-index:610;transform:translateX(-50%);max-width:calc(100% - 28px);padding:10px 14px;border:1px solid rgba(25,139,145,.18);border-radius:12px;background:rgba(255,255,255,.97);color:#087f86;font-size:11px;font-weight:850;white-space:nowrap;box-shadow:0 12px 30px rgba(24,92,104,.18);backdrop-filter:blur(12px)}
.tn-person-pin{width:30px;height:30px;border-width:2px;font-size:10px;box-shadow:0 6px 16px rgba(10,126,70,.26),0 0 0 3px rgba(26,191,105,.11)}
.tn-person-pin i{right:-2px!important;bottom:-1px!important;width:9px!important;height:9px!important;border-width:2px!important}
.tn-online-pin{background:linear-gradient(145deg,#5c9cff,#2468d9);box-shadow:0 6px 16px rgba(29,92,192,.28),0 0 0 3px rgba(47,125,244,.12)}
.tn-online-pin i{background:#25d981!important}
.tn-item-online{border-color:#dbe8fb;background:linear-gradient(145deg,#fff,#f7faff)}
.tn-item-icon.online{position:relative;overflow:visible;border:3px solid #fff;border-radius:50%;background:linear-gradient(145deg,#5c9cff,#2468d9);color:#fff;box-shadow:0 7px 20px rgba(38,104,217,.22)}
.tn-item-icon.online img{width:100%;height:100%;display:block;border-radius:50%;object-fit:cover}
.tn-item-icon.online i{position:absolute;right:-1px;bottom:1px;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:#25d981;box-shadow:0 0 0 3px rgba(37,217,129,.13)}
.tn-popup-shell-online .leaflet-popup-content-wrapper,.tn-popup-shell-online .leaflet-popup-tip{background:#f2f7ff}
.tn-popup-shell-online .leaflet-popup-content{width:250px}
.tn-popup-online{padding:13px;color:#1c3153}
.tn-popup-online .tn-person-popup-avatar{width:32px;height:32px;background:linear-gradient(145deg,#5c9cff,#2468d9);box-shadow:0 5px 13px rgba(38,104,217,.2)}
.tn-popup-online .tn-person-popup-head small{color:#2767c7}
.tn-popup-online .tn-person-popup-vibe{margin:9px 0 5px;color:#225aaa;font-size:11px}
.tn-popup-online .tn-popup-foot a{background:linear-gradient(145deg,#4f91f5,#286bd8)}
.tn-popup-note{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:9px;line-height:1.4}
.tn-person-popup-avatar{width:32px;height:32px}
.tn-person-popup-head b{font-size:13px}
.tn-person-popup-vibe{font-size:11px;line-height:1.35}
@media(max-width:620px){.tn-weather-pick-hint{top:9px;padding:9px 11px;font-size:9px}.tn-map-legend{padding:7px 8px}.tn-person-pin{width:28px;height:28px}.tn-popup-shell-person .leaflet-popup-content,.tn-popup-shell-online .leaflet-popup-content{width:235px}}

/* RC14.6.1 · Leaflet avatar sizing hotfix.
   Leaflet applies a more specific width:auto rule to marker images. */
.leaflet-container .leaflet-marker-pane .tn-person-pin > img{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border-radius:50%!important;
  object-fit:cover!important;
}
.leaflet-container .tn-person-popup-avatar{
  position:relative;
  overflow:hidden;
}
.leaflet-container .tn-person-popup-avatar > img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border-radius:50%!important;
  object-fit:cover!important;
}

/* RC14.7 · activity badge, safe first contact and request center. */
.tn-person-pin{width:32px;height:32px}
.tn-person-vibe-badge,.tn-item-vibe-badge{position:absolute;z-index:4;display:grid;place-items:center;border:2px solid #fff;border-radius:999px;background:#fff;box-shadow:0 4px 12px rgba(31,28,61,.24);line-height:1}
.tn-person-vibe-badge{left:-7px;top:-8px;width:19px;height:19px;font-size:10px}
.tn-item-vibe-badge{left:-7px;top:-7px;width:21px;height:21px;font-size:11px}
.tn-popup-trust{min-height:13px;margin-top:8px;color:#0a8c4b;font-size:9px;font-weight:850}
.tn-popup-trust em{font-style:normal}
.tn-popup-actions,.tn-person-actions{display:flex;align-items:center;gap:7px}
.tn-popup-actions{margin-top:10px;padding-top:10px;border-top:1px solid rgba(48,112,76,.13)}
.tn-popup-actions a,.tn-popup-actions button,.tn-person-actions a,.tn-person-actions button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0 11px;border:1px solid #ded9e9;border-radius:10px;background:#fff;color:#4b5063;text-decoration:none;font:inherit;font-size:10px;font-weight:900;cursor:pointer}
.tn-popup-actions .is-primary,.tn-person-actions .is-primary{flex:1;border-color:transparent;background:linear-gradient(145deg,#26ca76,#0ca45c);color:#fff;box-shadow:0 7px 16px rgba(12,164,92,.19)}
.tn-popup-actions button:disabled,.tn-person-actions button:disabled{cursor:not-allowed;opacity:.58}
.tn-item-foot{align-items:flex-end}.tn-person-actions{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
.tn-person-actions a,.tn-person-actions button{min-height:31px;padding:0 9px;font-size:9px}
.tn-request-btn{position:relative}.tn-request-btn>b{position:absolute;right:-4px;top:-5px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#f04764;color:#fff;font-size:9px}
.tn-contact-modal[hidden],.tn-request-center[hidden]{display:none!important}
.tn-contact-modal,.tn-request-center{position:fixed;inset:0;z-index:2600;display:grid;place-items:center;padding:18px}
.tn-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(19,16,42,.5);backdrop-filter:blur(8px)}
.tn-contact-sheet,.tn-request-sheet{position:relative;z-index:1;width:min(560px,100%);max-height:min(760px,calc(100dvh - 36px));overflow:auto;border:1px solid rgba(224,220,235,.96);border-radius:25px;background:#fff;box-shadow:0 30px 90px rgba(27,20,66,.3)}
.tn-sheet-close{position:absolute;right:14px;top:13px;z-index:2;width:36px;height:36px;border:0;border-radius:12px;background:#f1eef7;color:#62667a;font-size:23px;cursor:pointer}
.tn-contact-sheet>header{display:grid;grid-template-columns:48px 1fr;align-items:center;gap:12px;padding:22px 58px 16px 20px;border-bottom:1px solid #ece9f2}
.tn-contact-avatar{width:48px;height:48px;display:grid;place-items:center;overflow:hidden;border:3px solid #fff;border-radius:50%;background:linear-gradient(145deg,#5d36f2,#20ba72);color:#fff;font-size:18px;font-weight:900;box-shadow:0 7px 20px rgba(67,44,152,.2)}
.tn-contact-avatar img,.tn-request-avatar img,.tn-chat-row>span img{width:100%;height:100%;display:block;object-fit:cover}
.tn-contact-sheet header small,.tn-request-sheet header small{color:#6a39ee;font-size:9px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}
.tn-contact-sheet h2,.tn-request-sheet h2{margin:3px 0;font-size:22px}.tn-contact-sheet header p,.tn-request-sheet header p{margin:0;color:#767b8d;font-size:11px;line-height:1.4}
.tn-contact-sheet form{display:grid;gap:15px;padding:18px 20px 20px}
.tn-contact-quick>span,.tn-contact-message>span,.tn-contact-custom label>span{display:block;margin-bottom:7px;color:#33384c;font-size:10px;font-weight:900}
.tn-contact-quick>div{display:flex;flex-wrap:wrap;gap:7px}.tn-contact-quick button{min-height:36px;padding:0 11px;border:1px solid #dfdbe8;border-radius:999px;background:#fff;color:#555b70;font:inherit;font-size:10px;font-weight:850;cursor:pointer}.tn-contact-quick button.is-selected{border-color:#7650ef;background:#f0eaff;color:#6031db;box-shadow:0 0 0 2px rgba(107,54,238,.08)}
.tn-contact-custom{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px;border-radius:15px;background:#f8f6fc}.tn-contact-custom.is-place-only{grid-template-columns:1fr}.tn-contact-custom.is-place-only [data-contact-time-field]{display:none}.tn-contact-custom input,.tn-contact-message textarea{width:100%;min-height:43px;padding:10px 12px;border:1px solid #ddd9e7;border-radius:11px;background:#fff;color:#21253a;font:inherit;font-size:16px;outline:none}.tn-contact-message textarea{min-height:98px;resize:vertical;line-height:1.45}.tn-contact-custom input:focus,.tn-contact-message textarea:focus{border-color:#7951f2;box-shadow:0 0 0 3px rgba(107,54,238,.1)}.tn-contact-message>span{display:flex;justify-content:space-between}.tn-contact-message em{color:#8b8f9d;font-style:normal;font-weight:700}
.tn-contact-safety{display:grid;grid-template-columns:28px 1fr;gap:9px;padding:11px;border-radius:13px;background:#eef9f3;color:#3c6250}.tn-contact-safety i{font-style:normal}.tn-contact-safety p{margin:0;font-size:10px;line-height:1.45}.tn-contact-feedback{margin:0;padding:10px;border-radius:10px;background:#edf9f2;color:#147844;font-size:11px;font-weight:800}.tn-contact-feedback.is-error{background:#fff0f2;color:#a42b42}.tn-contact-sheet form>footer{display:flex;justify-content:flex-end;gap:8px}.tn-contact-sheet form>footer a,.tn-contact-sheet form>footer button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border:0;border-radius:12px;text-decoration:none;font:inherit;font-size:11px;font-weight:900}.tn-contact-sheet form>footer a{background:#f2f0f6;color:#565b6d}.tn-contact-sheet form>footer button{background:linear-gradient(145deg,#7341f3,#5b2ed8);color:#fff;box-shadow:0 9px 22px rgba(91,46,216,.2)}
.tn-request-sheet{width:min(680px,100%)}.tn-request-sheet>header{position:relative;padding:21px 60px 16px 20px;border-bottom:1px solid #ece9f2}.tn-request-sheet>header>button{position:absolute;right:14px;top:14px;width:36px;height:36px;border:0;border-radius:12px;background:#f1eef7;color:#62667a;font-size:23px}.tn-request-sheet>nav{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:12px;padding:5px;border-radius:14px;background:#f1eff6}.tn-request-sheet>nav button{min-height:38px;border:0;border-radius:10px;background:transparent;color:#696e80;font:inherit;font-size:10px;font-weight:900}.tn-request-sheet>nav button.is-active{background:#fff;color:#6333df;box-shadow:0 4px 13px rgba(44,36,78,.09)}.tn-request-sheet>nav b{display:inline-grid;place-items:center;min-width:17px;height:17px;margin-left:4px;border-radius:999px;background:#6b36ee;color:#fff;font-size:8px}
.tn-request-panels{padding:0 16px 18px}.tn-request-panels>section{display:grid;gap:9px}.tn-request-panels>section[hidden]{display:none!important}.tn-request-card{display:grid;grid-template-columns:46px 1fr;gap:11px;padding:13px;border:1px solid #e6e3ec;border-radius:15px;background:#fff}.tn-request-avatar,.tn-chat-row>span{width:46px;height:46px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#eee8ff;color:#6333df;font-weight:900}.tn-request-card small{color:#74798c;font-size:9px}.tn-request-card h3{margin:2px 0;font-size:14px}.tn-request-card h3 i{color:#18a963;font-style:normal}.tn-request-card strong{display:block;color:#6035d4;font-size:10px}.tn-request-card p{margin:5px 0;color:#5f6577;font-size:10px;line-height:1.45}.tn-request-card footer{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.tn-request-card footer button{min-height:34px;padding:0 11px;border:1px solid #ddd9e6;border-radius:10px;background:#fff;color:#5b6072;font:inherit;font-size:9px;font-weight:900}.tn-request-card footer .is-primary{border-color:transparent;background:#6636e4;color:#fff}.tn-request-empty{display:grid;place-items:center;padding:28px;text-align:center;color:#72778a}.tn-request-empty>span{font-size:30px}.tn-request-empty b{margin-top:6px;color:#25293c}.tn-request-empty p{max-width:330px;margin:5px 0;font-size:10px;line-height:1.45}.tn-chat-row{display:grid;grid-template-columns:46px 1fr 20px;align-items:center;gap:11px;padding:12px;border:1px solid #e6e3ec;border-radius:15px;color:#272b3e;text-decoration:none}.tn-chat-row div{display:grid;gap:3px;min-width:0}.tn-chat-row small{overflow:hidden;color:#777c8e;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.tn-chat-row>i{color:#6b36ee;font-size:20px;font-style:normal}
html.tn-contact-open,html.tn-requests-open,body.tn-contact-open,body.tn-requests-open{overflow:hidden}
@media(max-width:620px){.tn-person-pin{width:30px;height:30px}.tn-person-vibe-badge{left:-6px;top:-7px;width:18px;height:18px;font-size:9px}.tn-item-foot{display:grid;grid-template-columns:30px minmax(0,1fr)}.tn-person-actions{grid-column:1/-1;width:100%;margin:7px 0 0}.tn-person-actions a,.tn-person-actions button{flex:1}.tn-contact-modal,.tn-request-center{align-items:end;padding:0}.tn-contact-sheet,.tn-request-sheet{width:100%;max-height:min(86dvh,760px);border-radius:22px 22px 0 0;padding-bottom:env(safe-area-inset-bottom)}.tn-contact-sheet:before,.tn-request-sheet:before{content:"";display:block;width:42px;height:4px;margin:8px auto -2px;border-radius:999px;background:#dad6e3}.tn-contact-sheet>header{padding-top:15px}.tn-contact-custom{grid-template-columns:1fr}.tn-contact-sheet form>footer{position:sticky;bottom:0;padding-top:8px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 22%)}.tn-contact-sheet form>footer button{flex:1}.tn-request-sheet>nav{position:sticky;top:0;z-index:2;background:#f1eff6}.tn-request-panels{padding-inline:10px}.tn-request-card{grid-template-columns:40px 1fr;padding:11px}.tn-request-avatar,.tn-chat-row>span{width:40px;height:40px}}

/* RC14.7 QA · explicit verification CTA and in-request safety controls. */
.tn-popup-actions .is-verify,.tn-person-actions .is-verify{background:linear-gradient(145deg,#7546f4,#5b2ed8);color:#fff}
.tn-contact-locked{min-height:31px;display:inline-flex;align-items:center;padding:0 9px;border-radius:10px;background:#f1eff5;color:#85899a;font-size:9px;font-weight:850;white-space:nowrap}
.tn-request-safety{position:relative;margin-left:auto}.tn-request-safety>summary{width:34px;min-height:34px;display:grid;place-items:center;border:1px solid #ddd9e6;border-radius:10px;background:#fff;color:#64697a;font-size:14px;font-weight:900;cursor:pointer;list-style:none}.tn-request-safety>summary::-webkit-details-marker{display:none}.tn-request-safety[open]>summary{border-color:#cbbdf3;background:#f2edff;color:#6031d7}.tn-request-safety>div{position:absolute;right:0;top:calc(100% + 6px);z-index:5;width:190px;display:grid;gap:4px;padding:6px;border:1px solid #e1ddea;border-radius:12px;background:#fff;box-shadow:0 14px 34px rgba(34,28,70,.18)}.tn-request-safety>div button{width:100%;justify-content:flex-start;border:0;background:#fff;text-align:left}.tn-request-safety>div button:first-child{color:#a52a40}.tn-request-report-form{grid-column:1/-1;display:grid;gap:9px;margin-top:10px;padding:11px;border:1px solid #eadfe3;border-radius:13px;background:#fff8f9}.tn-request-report-form[hidden]{display:none!important}.tn-request-report-form label{display:grid;gap:5px}.tn-request-report-form label>span{color:#5c6071;font-size:9px;font-weight:900}.tn-request-report-form label small{color:#979aa7;font-weight:700}.tn-request-report-form select,.tn-request-report-form textarea{width:100%;padding:9px 10px;border:1px solid #ddd7df;border-radius:10px;background:#fff;color:#292d3e;font:inherit;font-size:11px;outline:none}.tn-request-report-form textarea{resize:vertical;line-height:1.4}.tn-request-report-form select:focus,.tn-request-report-form textarea:focus{border-color:#d14e67;box-shadow:0 0 0 3px rgba(209,78,103,.1)}.tn-request-report-form>div{display:flex;justify-content:flex-end;gap:7px}.tn-request-report-form button{min-height:34px;padding:0 11px;border:1px solid #ddd9e2;border-radius:10px;background:#fff;color:#5f6374;font:inherit;font-size:9px;font-weight:900}.tn-request-report-form .is-danger{border-color:transparent;background:#b8324b;color:#fff}.tn-request-report-form p{margin:0;padding:8px;border-radius:9px;background:#eaf8f0;color:#167544;font-size:9px;font-weight:800}.tn-request-report-form p.is-error{background:#fff0f2;color:#a42b42}
@media(max-width:620px){.tn-request-safety{margin-left:0}.tn-request-safety>div{right:auto;left:0}.tn-contact-locked{flex:1;justify-content:center}}
.tn-contact-locked.is-declined{background:#fff0f2;color:#a42b42}
.tn-request-btn{border:1px solid #ddd8ed;background:#fff;color:#6031d7;cursor:pointer}

/* RC16.2 · Nearby uses the shared header as the single location control. */
.tn-action-icon{display:inline-grid;place-items:center;font-style:normal}
.tn-head-actions .tn-request-btn b[hidden]{display:none}
.tn-mobile-title{display:none}
@media(max-width:620px){
  .tn-intro{margin-bottom:7px;padding:0;border:0;background:transparent;box-shadow:none}
  .tn-intro-copy{display:none}
  .tn-intro-side{width:100%;display:block;margin:0}
  .tn-head-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;width:100%;margin-left:0}
  .tn-mobile-title{display:inline-flex;align-items:center;gap:7px;min-width:0;color:#171a2e;font-size:15px;font-weight:850;letter-spacing:-.2px;white-space:nowrap}
  .tn-mobile-title i{width:7px;height:7px;border-radius:50%;background:var(--tn-green);box-shadow:0 0 0 4px #e4f8eb}
  .tn-head-actions button,.tn-head-actions a{height:38px}
  .tn-head-actions .tn-request-btn{width:38px;padding:0;border-radius:12px;background:#fff}
  .tn-head-actions .tn-request-btn .tn-action-icon{font-size:15px}
  .tn-head-actions .tn-request-btn .tn-action-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .tn-head-actions .tn-add-btn{display:none}
  .tn-request-btn>b{right:-4px;top:-5px}
}
@media(max-width:390px){
  .tn-head-actions{gap:6px}
  .tn-mobile-title{font-size:14px}
  .tn-head-actions button,.tn-head-actions a{height:36px}
  .tn-head-actions .tn-request-btn{width:36px}
}
/* RC14.8 · "Teď mohu nabídnout" people layer */
.tn-person-pin.tn-worker-pin{border-color:#ff8a42;box-shadow:0 0 0 3px rgba(255,126,44,.18),0 7px 18px rgba(46,35,61,.24)}
.tn-worker-pin .tn-person-vibe-badge,.tn-item-icon.worker .tn-item-vibe-badge{background:#fff4eb;color:#c9510d;border-color:#fff}
.tn-item-worker{border-color:#f4ded0;background:linear-gradient(145deg,#fff,#fffaf6)}
.tn-item-worker .tn-item-top>span{color:#d45f18}
.tn-popup-shell-person .tn-popup-reward{margin:7px 0 0;padding:7px 9px;border-radius:10px;background:#fff1e7;color:#c55110;font-size:11px;font-weight:900}
.tn-item-worker .tn-person-actions .is-primary,.tn-popup-person .tn-popup-actions .is-primary{background:linear-gradient(145deg,#ff9347,#ff6e25);box-shadow:0 8px 18px rgba(255,110,37,.2)}

/* RC14.9 · direct actions on map offers */
.tn-item-direct-actions,.tn-popup-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.tn-item-direct-actions button,.tn-popup-actions button{border:0;border-radius:10px;padding:8px 11px;background:#6b36ee;color:#fff;font:inherit;font-size:10px;font-weight:900;cursor:pointer}
.tn-item-direct-actions a,.tn-popup-actions a{font-size:10px;font-weight:900;text-decoration:none}
.tn-popup-foot>.tn-popup-actions{margin-left:auto}

/* RC15 preview · Nearby list cards share the vNext homepage visual language. */
.tn-list-head{gap:18px;background:linear-gradient(145deg,#fff,#fcfbff)}
.tn-list-kicker{display:block;margin-bottom:5px;color:#858a9b;font-size:8px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}
.tn-list-sort{display:grid;gap:4px;justify-items:end;color:#8a8e9e;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.tn-list-sort select{min-width:112px;text-transform:none;letter-spacing:0}
.tn-list{gap:12px;padding:12px;background:#faf9fd}
.tn-item{position:relative;display:grid;grid-template-columns:118px minmax(0,1fr);gap:0;padding:0;min-height:154px;overflow:hidden;border-color:#e5e2ec;border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(31,26,63,.035)}
.tn-item:hover,.tn-item.is-active{transform:translateY(-2px);border-color:#cec1f0;box-shadow:0 15px 34px rgba(34,27,67,.09)}
.tn-item-media{position:relative;display:block;min-height:154px;overflow:hidden;background:linear-gradient(145deg,#f0ebff,#e9f8ff);border-right:1px solid #ece8f1}
.tn-item-media>img{width:100%!important;height:100%!important;max-width:none!important;display:block;object-fit:cover}
.tn-card-type,.tn-card-fresh,.tn-card-live{position:absolute;z-index:2;display:inline-flex;align-items:center;border-radius:999px;font-weight:950;white-space:nowrap;box-shadow:0 7px 18px rgba(28,22,61,.12)}
.tn-card-type{left:10px;top:10px;max-width:calc(100% - 20px);min-height:25px;padding:0 9px;background:linear-gradient(145deg,#7f4df3,#6130df);color:#fff;font-size:8px;text-transform:uppercase;letter-spacing:.035em;overflow:hidden;text-overflow:ellipsis}
.tn-item-plan .tn-card-type{background:linear-gradient(145deg,#19aaa6,#078d92)}
.tn-item-trip .tn-card-type{background:linear-gradient(145deg,#18aaa1,#07888d)}
.tn-card-fresh{right:9px;bottom:9px;min-height:24px;padding:0 9px;background:rgba(255,255,255,.95);color:#6231dd;font-size:8px}
.tn-item-main{display:flex;min-width:0;flex-direction:column;padding:14px 15px 13px}
.tn-item-top{min-height:20px}
.tn-item-top span{font-size:8px;letter-spacing:.05em}
.tn-item-top strong{font-size:11px}
.tn-item h3{margin:5px 0 8px;font-size:17px;line-height:1.15;letter-spacing:-.25px}
.tn-item h3 a{color:inherit;text-decoration:none}
.tn-facts{display:flex;flex-wrap:wrap;align-content:flex-start;gap:6px 11px;color:#666c7f}
.tn-facts>span{display:inline-flex;align-items:center;gap:5px;min-width:0;font-size:10px;line-height:1.35}
.tn-facts svg{width:14px;height:14px;flex:0 0 auto;color:#747a8e}
.tn-facts b{color:#5d31d8}
.tn-fact-price{color:#d55e18!important;font-weight:900}
.tn-item-foot{margin-top:auto;padding-top:10px;grid-template-columns:32px minmax(0,1fr) auto;gap:8px}
.tn-author-avatar{width:32px;height:32px;border-radius:10px}
.tn-item-foot small b{font-size:10px}
.tn-item-foot small em{font-size:8.5px}
.tn-item-direct-actions,.tn-person-actions{gap:6px}
.tn-item-direct-actions button,.tn-person-actions button,.tn-item-direct-actions a,.tn-person-actions a{min-height:31px;padding:0 9px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;font-size:9px}
.tn-item-media-person{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:38px 10px 12px;text-align:center;background:radial-gradient(circle at 82% 12%,rgba(255,255,255,.72) 0 34px,transparent 35px),linear-gradient(145deg,#effff6,#ddf7e9)}
.tn-item-media-person.is-worker{background:radial-gradient(circle at 82% 12%,rgba(255,255,255,.75) 0 34px,transparent 35px),linear-gradient(145deg,#fff8f0,#ffeadc)}
.tn-item-media-person .tn-card-type{background:linear-gradient(145deg,#22c978,#0b9e58)}
.tn-item-media-person.is-worker .tn-card-type{background:linear-gradient(145deg,#ff9148,#ef641e)}
.tn-card-live{right:9px;top:10px;gap:5px;min-height:24px;padding:0 8px;background:rgba(255,255,255,.94);color:#178d55;font-size:7.5px}
.tn-card-live i{width:7px;height:7px;border-radius:50%;background:#24cf76;box-shadow:0 0 0 3px rgba(36,207,118,.14)}
.tn-person-card-avatar{position:relative;width:64px;height:64px;display:grid;place-items:center;border:3px solid #fff;border-radius:50%;overflow:visible;background:linear-gradient(145deg,#31d27f,#0d9d59);color:#fff;font-size:22px;font-weight:950;box-shadow:0 10px 24px rgba(15,143,80,.2)}
.tn-person-card-avatar>img{width:100%!important;height:100%!important;max-width:none!important;border-radius:50%;object-fit:cover;overflow:hidden}
.tn-person-card-avatar>i{position:absolute;right:-1px;bottom:3px;width:13px;height:13px;border:2px solid #fff;border-radius:50%;background:#20d779}
.tn-person-card-avatar .tn-item-vibe-badge{left:-6px;top:-6px;width:23px;height:23px}
.tn-item-media-person>strong{max-width:100%;margin-top:7px;overflow:hidden;color:#173326;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.tn-item-media-person>small{margin-top:2px;color:#168653;font-size:7.5px;font-weight:850}
.tn-person-note{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:1px 0 8px!important;padding:7px 9px!important;font-size:9px!important}
.tn-empty{display:grid;place-items:center;gap:5px;min-height:280px;border:1px dashed #ddd6ed;border-radius:18px;background:#fff}
.tn-empty>span{font-size:28px;color:#6b36ee}

.tn-layout.view-list .tn-list-card{overflow:visible;background:transparent;border:0;box-shadow:none}
.tn-layout.view-list .tn-list-head{margin-bottom:12px;border:1px solid var(--tn-line);border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(31,26,63,.04)}
.tn-layout.view-list .tn-list{grid-template-columns:repeat(4,minmax(0,1fr));max-height:none;padding:0;background:transparent;gap:16px;overflow:visible}
.tn-layout.view-list .tn-item{grid-template-columns:1fr;min-height:405px;border-radius:24px}
.tn-layout.view-list .tn-item-media{height:198px;min-height:198px;border-right:0;border-bottom:1px solid #ece8f1}
.tn-layout.view-list .tn-item-main{padding:17px 18px 16px}
.tn-layout.view-list .tn-item h3{font-size:20px;margin-top:4px}
.tn-layout.view-list .tn-item-top span{display:none}
.tn-layout.view-list .tn-facts{display:grid;gap:6px}
.tn-layout.view-list .tn-facts>span{font-size:10px}
.tn-layout.view-list .tn-item-foot{margin-top:auto}
.tn-layout.view-list .tn-item-media-person{height:198px;min-height:198px;padding-top:43px}
.tn-layout.view-list .tn-person-card-avatar{width:78px;height:78px}
.tn-layout.view-list .tn-item-media-person>strong{font-size:13px}

@media(max-width:1380px){.tn-layout.view-list .tn-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1040px){.tn-layout.view-list .tn-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  .tn-list-head{padding:14px 15px}.tn-list-head h2{font-size:18px}.tn-list-sort span{display:none}.tn-list-sort select{min-width:105px}
  .tn-layout.view-list .tn-list{grid-template-columns:1fr;gap:12px}
  .tn-layout.view-list .tn-item{grid-template-columns:minmax(132px,38%) minmax(0,62%);min-height:208px;border-radius:20px}
  .tn-layout.view-list .tn-item-media,.tn-layout.view-list .tn-item-media-person{height:auto;min-height:208px;border-right:1px solid #ece8f1;border-bottom:0}
  .tn-layout.view-list .tn-item-main{padding:13px 14px 12px}
  .tn-layout.view-list .tn-item h3{font-size:17px;margin:4px 0 8px}
  .tn-layout.view-list .tn-facts{gap:5px}.tn-layout.view-list .tn-facts>span{font-size:9px}
  .tn-layout.view-list .tn-item-foot{grid-template-columns:28px minmax(0,1fr);gap:7px;padding-top:8px}
  .tn-layout.view-list .tn-author-avatar{width:28px;height:28px}
  .tn-layout.view-list .tn-item-direct-actions,.tn-layout.view-list .tn-person-actions{grid-column:1/-1;width:100%;margin:4px 0 0}
  .tn-layout.view-list .tn-item-direct-actions>* ,.tn-layout.view-list .tn-person-actions>*{flex:1}
  .tn-layout.view-list .tn-person-card-avatar{width:66px;height:66px}
  .tn-card-type{left:8px;top:8px;max-width:calc(100% - 16px);font-size:7px;padding-inline:7px}
  .tn-card-fresh{right:7px;bottom:7px;font-size:7px}
  .tn-card-live{right:7px;top:40px;max-width:calc(100% - 14px);font-size:7px}
}
@media(max-width:440px){
  .tn-layout.view-list .tn-item{grid-template-columns:39% 61%;min-height:194px}
  .tn-layout.view-list .tn-item-media,.tn-layout.view-list .tn-item-media-person{min-height:194px}
  .tn-layout.view-list .tn-item-main{padding:11px 12px 10px}
  .tn-layout.view-list .tn-item h3{font-size:15px;line-height:1.15}
  .tn-layout.view-list .tn-item-top strong{font-size:9px}
  .tn-layout.view-list .tn-facts>span{font-size:8.5px}
  .tn-layout.view-list .tn-item-foot small em{font-size:7.5px}
  .tn-layout.view-list .tn-item-direct-actions button,.tn-layout.view-list .tn-person-actions button,.tn-layout.view-list .tn-item-direct-actions a,.tn-layout.view-list .tn-person-actions a{min-height:29px;padding-inline:7px;font-size:8px}
}

/* RC14.9.2 · do not animate/repaint cached map avatars during live polling. */
.leaflet-container .leaflet-marker-pane .tn-person-pin > img,
.leaflet-container .tn-person-popup-avatar > img{
  opacity:1!important;
  transition:none!important;
  backface-visibility:hidden;
  transform:translateZ(0);
}

/* RC15.4.2 · ordered map offer popups. */
.tn-popup-shell-help .leaflet-popup-content,.tn-popup-shell-activity .leaflet-popup-content{width:min(260px,calc(100vw - 48px))}
.tn-popup-head{padding-right:28px}
.tn-popup-head span{max-width:164px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tn-popup-title{display:-webkit-box;min-height:36px;margin:11px 0 8px;overflow:hidden;font-size:15px;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.tn-popup-meta{display:grid;gap:3px}
.tn-popup-meta small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tn-popup-foot{display:block;margin-top:12px;padding-top:10px;border-top:1px solid rgba(120,120,145,.15)}
.tn-popup-author{width:100%;max-width:none}
.tn-popup-author img,.tn-popup-author i{width:31px;height:31px;flex:0 0 31px;border:1px solid rgba(91,70,155,.1);box-shadow:0 4px 12px rgba(42,31,88,.08)}
.tn-popup-author small{max-width:calc(100% - 40px);color:#4f5467;font-size:11px;font-weight:800}
.tn-popup-offer-actions{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:8px;width:100%;margin-top:9px;padding-top:0;border-top:0}
.tn-popup-offer-actions>a,.tn-popup-offer-actions>button{width:100%;min-height:40px;padding:7px 10px;border-radius:11px;line-height:1.15;text-align:center}
.tn-popup-offer-actions .is-primary{border-color:transparent;color:#fff;box-shadow:0 8px 18px rgba(65,37,156,.16)}
.tn-popup-help .tn-popup-offer-actions .is-primary{background:linear-gradient(145deg,#8652f7,#642fe3)}
.tn-popup-activity .tn-popup-offer-actions .is-primary{background:linear-gradient(145deg,#18b9b5,#078d92);box-shadow:0 8px 18px rgba(7,141,146,.17)}
.tn-popup-offer-actions .is-detail{border:1px solid rgba(80,75,104,.16);background:rgba(255,255,255,.88);color:#3e4355;box-shadow:0 5px 13px rgba(40,35,69,.06)}
.tn-popup-offer-actions .is-detail:hover{border-color:rgba(107,54,238,.28);background:#fff;color:#5d31d8}
.tn-popup-offer-actions .is-primary:only-child{grid-column:1/-1}

@media(max-width:620px){
  .tn-popup-shell-help .leaflet-popup-content,.tn-popup-shell-activity .leaflet-popup-content{width:min(252px,calc(100vw - 38px))}
  .tn-popup-title{min-height:34px;font-size:14px}
  .tn-popup-offer-actions{grid-template-columns:minmax(0,1fr) 72px}
}

/* RC15.4.3 · compact current/history switch and Nearby history. */
.tn-time-switch{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid #e3deed;border-radius:12px;background:#f7f5fb;flex:0 0 auto}
.tn-time-switch button{height:30px;padding:0 9px;border:0;border-radius:9px;background:transparent;color:#697082;font:inherit;font-size:10px;font-weight:800;white-space:nowrap;cursor:pointer}
.tn-time-switch button span{display:inline-grid;place-items:center;min-width:16px;height:16px;margin-left:3px;padding:0 4px;border-radius:999px;background:#ebe7f4;color:#717790;font-size:7.5px;font-weight:700}
.tn-time-switch button.active{background:#fff;color:#5f31db;box-shadow:0 4px 12px rgba(34,27,67,.06)}
.tn-time-switch button.active span{background:#eee7ff;color:#6332df}
.tn-time-switch button:first-child i{display:inline-block;width:7px;height:7px;margin-right:4px;border-radius:50%;background:#25bf6a;box-shadow:0 0 0 3px rgba(37,191,106,.13)}
.tn-history-period[hidden],.tn-list-sort[hidden],[data-current-only][hidden],[data-current-legend][hidden],[data-history-legend][hidden]{display:none}
.tn-page.is-history-mode .tn-eyebrow i{background:#7c66b9;box-shadow:0 0 0 5px #eeeaf7}
.tn-page.is-history-mode .tn-list-card{border-color:#ddd6ea}
.tn-page.is-history-mode .tn-list{background:#faf9fc}
.tn-map-legend .history i{width:15px;height:15px;display:grid;place-items:center;border-radius:50%;background:#716487;color:#fff;font-size:8px;font-style:normal}
.tn-pin.history{display:grid;place-items:center;transform:rotate(-45deg);border-color:#fff;background:#786a8e;box-shadow:0 7px 18px rgba(49,40,67,.22);opacity:.86}
.tn-pin.history span{transform:rotate(45deg);color:#fff;font-size:12px;font-weight:950}
.tn-popup-shell-history .leaflet-popup-content-wrapper,.tn-popup-shell-history .leaflet-popup-tip{background:#f4f1f7}
.tn-popup-history .tn-popup-head span{background:#786a8e}
.tn-popup-history .tn-popup-head strong{color:#5e526f}
.tn-popup-history-facts{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.tn-popup-history-facts span{padding:5px 7px;border-radius:8px;background:rgba(255,255,255,.75);color:#62576f;font-size:9px;font-weight:800}
.tn-popup-history .tn-popup-offer-actions{grid-template-columns:1fr}
.tn-popup-history .tn-popup-offer-actions .is-history-detail{min-height:39px;border-color:transparent;background:#716487;color:#fff;box-shadow:0 8px 18px rgba(71,58,91,.15)}
.tn-item-history{border-color:#ddd7e6;background:linear-gradient(145deg,#fff,#faf8fc)}
.tn-item-history .tn-item-media{filter:saturate(.72)}
.tn-item-history .tn-card-type{background:linear-gradient(145deg,#837493,#685a79)}
.tn-item-history .tn-history-fresh{background:rgba(255,255,255,.94);color:#63566f}
.tn-item-history .tn-item-top strong.history{color:#716487}
.tn-item-history .tn-item-foot small em{color:#716487}
.tn-item-direct-actions .is-history-detail{min-height:31px;padding:0 11px;border-radius:9px;background:#eeeaf3;color:#625471;font-size:9px;font-weight:900;text-decoration:none}
.tn-history-period select{min-width:96px}

@media(max-width:1150px){
  .tn-time-switch{order:-2}
  .tn-view-switch{order:-1}
}
@media(max-width:900px){
  .tn-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"mode view" "filters filters" "layers radius";align-items:center}
  .tn-time-switch{grid-area:mode;min-width:0}
  .tn-view-switch{grid-area:view;width:100%;min-width:0}
  .tn-view-switch button{min-width:0;padding-inline:7px}
  .tn-filters{grid-area:filters;width:100%}
  .tn-map-layers{grid-area:layers;width:100%;min-width:0;margin:0;overflow-x:auto;flex-wrap:nowrap}
  .tn-radius{grid-area:radius;margin:0}
}
@media(max-width:620px){
  .tn-toolbar{
    grid-template-columns:auto minmax(0,1fr) auto;
    grid-template-areas:
      "mode view view"
      "filters filters filters"
      "layers layers radius";
    gap:5px;
    padding:6px;
    margin-bottom:7px;
    border-radius:14px;
  }
  .tn-time-switch{grid-area:mode;justify-self:start;width:auto;max-width:100%;padding:2px;border-radius:10px}
  .tn-time-switch button{height:28px;padding:0 8px;border-radius:8px;font-size:10px;font-weight:750}
  .tn-time-switch button span{min-width:15px;height:15px;margin-left:2px;padding:0 4px;font-size:7px}
  .tn-view-switch{grid-area:view;width:100%;min-width:0;padding:2px;border-radius:10px}
  .tn-view-switch [data-view="split"]{display:none}
  .tn-view-switch button{height:28px;min-width:0;padding:0 8px;font-size:10px;font-weight:700}
  .tn-filters{grid-area:filters;width:100%;gap:5px;overflow-x:auto;overflow-y:hidden;padding:1px 0;scrollbar-width:none;overscroll-behavior-inline:contain}
  .tn-filters button{flex:0 0 auto;height:29px;min-width:0;padding:0 10px;border-radius:999px;font-size:10.5px;font-weight:650;letter-spacing:0}
  .tn-filters span{margin-left:3px;padding:1px 4px;font-size:7px}
  .tn-map-layers{grid-area:layers;width:100%;min-width:0;gap:5px;margin:0;overflow-x:auto;overflow-y:hidden;padding:1px 0;scrollbar-width:none;overscroll-behavior-inline:contain}
  .tn-map-layers button{flex:0 0 auto;height:29px;min-width:0;padding:0 10px;border-radius:999px;font-size:10.5px;font-weight:650;letter-spacing:0}
  .tn-map-layers button.active{background:#6b36ee}
  .tn-radius{grid-area:radius;align-self:center;margin:0}
  .tn-radius select{width:76px;height:29px;padding:0 22px 0 8px;border-radius:10px;font-size:10px;font-weight:750}
  .tn-history-period select{min-width:92px}
  .tn-list-head{gap:10px}
  .tn-list-head p{font-size:9px}
  .tn-map-legend .history{font-size:8px}
}
@media(max-width:380px){
  .tn-toolbar{grid-template-columns:auto minmax(0,1fr) auto;gap:4px;padding:5px}
  .tn-time-switch button{padding-inline:7px;font-size:9.5px}
  .tn-time-switch button span{display:none}
  .tn-view-switch button{padding-inline:6px;font-size:9.5px}
  .tn-filters button,.tn-map-layers button{height:28px;padding-inline:9px;font-size:10px}
  .tn-radius select{width:70px;height:28px;padding-left:7px;font-size:9.5px}
}

/* RC15.4.3.1 · history evidence states. */
.tn-pin.history.is-awaiting,.tn-pin.history.is-ended{background:#8a7e9d;opacity:.78}
.tn-pin.history.is-completed{background:#5f7890}
.tn-pin.history.is-verified{background:#66547f;opacity:.9}
.tn-history-fresh.is-awaiting,.tn-history-fresh.is-ended{background:#fff8e9;color:#8b5d10}
.tn-history-fresh.is-completed{background:#edf4f8;color:#42657c}
.tn-history-fresh.is-verified{background:#f2eef7;color:#63566f}
.tn-item-history .tn-item-top strong.history{max-width:150px;text-align:right;line-height:1.15}
@media(max-width:620px){.tn-item-history .tn-item-top strong.history{max-width:128px;font-size:9px}}

/* RC16.2 · direct Inbox link highlights the exact received/sent request. */
.tn-request-card.is-focused{animation:tnRequestFocus 1.1s ease 2;box-shadow:0 0 0 4px rgba(111,61,244,.16),0 16px 34px rgba(35,29,64,.12)}
@keyframes tnRequestFocus{0%,100%{transform:none}50%{transform:translateY(-2px)}}

/* RC17.0.1 · Otevřené plány navazují na čistý vNext Nearby jazyk. */
.tn-map-legend .opportunity i{width:14px;height:14px;display:grid;place-items:center;border:1px solid #d9cdf8;border-radius:5px;background:#f4f0ff;color:#6036d7;font-size:8px;font-style:normal;font-weight:950}
.tn-pin.opportunity{position:relative;width:32px;height:32px;display:grid;place-items:center;transform:none;border:3px solid #fff;border-radius:11px;background:linear-gradient(145deg,#8258ef,#5d32ce);box-shadow:0 8px 20px rgba(84,49,200,.27),0 0 0 3px rgba(107,54,238,.1)}
.tn-pin.opportunity:after{content:"";position:absolute;left:50%;bottom:-5px;width:9px;height:9px;transform:translateX(-50%) rotate(45deg);border-right:3px solid #fff;border-bottom:3px solid #fff;border-radius:0 0 3px 0;background:#5d32ce}
.tn-pin.opportunity span{position:relative;z-index:2;color:#fff;font-size:14px;line-height:1;transform:none}
.tn-item.is-opportunity{border-color:#e2dcf3;background:#fff}
.tn-item.is-opportunity:hover,.tn-item.is-opportunity.is-active{border-color:#c9bbef;box-shadow:0 13px 30px rgba(70,45,145,.11)}
.tn-item.is-opportunity .tn-item-top span{color:#6744c4}.tn-item.is-opportunity .tn-item-top strong.opportunity-interest{max-width:142px;color:#7551c4;font-size:9px;text-align:right;line-height:1.2}
.tn-item-media-opportunity{display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 28% 20%,rgba(255,255,255,.72),transparent 30%),linear-gradient(145deg,#f4f0ff,#e8e0fb)}
.tn-opportunity-art{min-height:100%;display:grid;align-content:center;justify-items:center;gap:7px;padding:12px;text-align:center;color:#4d2cb8}
.tn-opportunity-art i{width:54px;height:54px;display:grid;place-items:center;border:1px solid rgba(107,54,238,.12);border-radius:18px;background:rgba(255,255,255,.74);font-size:27px;font-style:normal;line-height:1;box-shadow:0 9px 22px rgba(72,40,153,.09)}
.tn-opportunity-art small{max-width:95px;color:#695b8b;font-size:8.5px;font-weight:850;line-height:1.25}
.tn-opportunity-fresh{background:rgba(255,255,255,.94);color:#6a4db0}
.tn-opportunity-avatar{display:grid;place-items:center;background:#eee8ff;color:#5b37c6;font-size:15px;font-weight:950}
.tn-item.is-opportunity .tn-item-foot small em{color:#766a92}
.tn-item.is-opportunity .tn-item-direct-actions .is-primary{background:linear-gradient(145deg,#8055ef,#6034d8);color:#fff;box-shadow:0 7px 16px rgba(84,49,200,.16)}
.tn-item.is-opportunity .tn-item-direct-actions a:not(.is-primary){border:1px solid #e4def1;background:#f8f7fb;color:#4e5264}
.tn-popup-shell-opportunity .leaflet-popup-content-wrapper{border:1px solid #e2dcf1;background:#fff;box-shadow:0 18px 45px rgba(38,29,75,.2)}
.tn-popup-shell-opportunity .leaflet-popup-tip{background:#fff}
.tn-popup-shell-opportunity .leaflet-popup-content{width:min(252px,calc(100vw - 48px))}
.tn-popup-opportunity{color:#302d3d;background:linear-gradient(160deg,#fff 0,#fbf9ff 100%)}
.tn-popup-opportunity .tn-popup-head span{background:linear-gradient(145deg,#8055ef,#6034d8)}
.tn-popup-opportunity .tn-popup-head strong{max-width:105px;color:#7659b5;font-size:8.5px;text-align:right;line-height:1.2}
.tn-popup-opportunity-facts{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;margin-top:10px;padding:9px 10px;border:1px solid #e7e1f4;border-radius:11px;background:#f8f5ff}
.tn-popup-opportunity-facts span{color:#5030b0;font-size:10.5px;font-weight:900}.tn-popup-opportunity-facts small{color:#827897;font-size:8.5px;line-height:1.3;text-align:right}
.tn-popup-opportunity .tn-popup-actions{border-color:rgba(84,49,200,.12)}.tn-popup-opportunity .tn-popup-actions .is-primary{background:linear-gradient(145deg,#8055ef,#6034d8);box-shadow:0 7px 16px rgba(84,49,200,.17)}
@media(max-width:620px){.tn-popup-shell-opportunity .leaflet-popup-content{width:min(242px,calc(100vw - 38px))}.tn-opportunity-art i{width:46px;height:46px;border-radius:15px;font-size:23px}.tn-item.is-opportunity .tn-item-top strong.opportunity-interest{max-width:116px;font-size:8px}}
/* RC17.1.1 · real opportunity photography */
.tn-item-media-opportunity.has-photo{display:block;background:#eeeaf5}
.tn-item-media-opportunity.has-photo>img{width:100%;height:100%;display:block;object-fit:cover}
.tn-popup-opportunity-cover{height:104px;display:block;overflow:hidden;margin:8px -1px 9px;border-radius:13px;background:#eeeaf5}
.tn-popup-opportunity-cover img{width:100%;height:100%;display:block;object-fit:cover}

/* RC17.1.3 · compact opportunity description inside map popup */
.tn-popup-opportunity-summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:5px 0 8px;color:#737084;font-size:9px;line-height:1.42}


/* RC17.1.3.1 · compact, consistent map-popup descriptions. */
.tn-popup-title{min-height:0;margin:10px 0 3px}
.tn-popup-summary,.tn-popup-opportunity-summary{
  display:-webkit-box;
  overflow:hidden;
  margin:0 0 7px;
  color:#737084;
  font-size:9px;
  line-height:1.36;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

/* =========================================================
   RC18.2 · NEARBY MAP-FIRST WORKSPACE
   Desktop: compact live list on the left, dominant map right.
   Mobile: map is the primary canvas; filters stay accessible.
   ========================================================= */

.vnext-nearby-page{
  --tn-purple:#078e95;
  --tn-purple2:#11a8ad;
  --tn-purple-soft:#e9f8f8;
}

.tt-vnext-nearby-main{
  width:min(1700px,calc(100% - 22px));
  max-width:none;
  padding-top:7px;
}

.tn-intro-map-first{
  min-height:60px;
  margin-bottom:7px;
  padding:10px 12px;
  border-color:#e3eaeb;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(22,48,55,.05);
}

.tn-intro-map-first .tn-intro-copy{
  gap:12px;
}

.tn-intro-map-first .tn-eyebrow{
  margin:0;
  font-size:8px;
  letter-spacing:.1em;
}

.tn-intro-map-first h1{
  margin:0;
  font-size:20px;
  line-height:1.05;
  letter-spacing:-.45px;
}

.tn-intro-map-first p{
  margin:3px 0 0;
  font-size:10px;
  line-height:1.35;
}

.tn-intro-map-first .tn-head-actions button,
.tn-intro-map-first .tn-head-actions a{
  height:34px;
  border-radius:10px;
}

.tn-toolbar{
  top:72px;
  gap:5px;
  margin-bottom:7px;
  padding:5px 6px;
  border-color:#e3eaeb;
  border-radius:14px;
  background:rgba(255,255,255,.96);
  box-shadow:0 9px 27px rgba(22,48,55,.055);
  backdrop-filter:blur(15px);
}

.tn-view-switch,
.tn-time-switch{
  background:#f0f4f4;
}

.tn-view-switch button.active,
.tn-time-switch button.active{
  color:#087f86;
}

.tn-filters button.active{
  border-color:#bde4e5;
  background:#e9f8f8;
  color:#087f86;
}

.tn-map-layers button.active{
  background:linear-gradient(145deg,#11a8ad,#078e95);
}

@media(min-width:901px){
  .tn-layout-map-first{
    grid-template-columns:338px minmax(0,1fr);
    gap:9px;
    align-items:stretch;
  }

  .tn-layout-map-first > .tn-list-card{
    grid-column:1;
    grid-row:1;
    min-height:620px;
    height:calc(100dvh - 160px);
    overflow:hidden;
    border-color:#e2e9eb;
    border-radius:18px;
    box-shadow:0 16px 42px rgba(22,48,55,.07);
  }

  .tn-layout-map-first > .tn-map-card{
    grid-column:2;
    grid-row:1;
    position:sticky;
    top:111px;
    min-height:620px;
    height:calc(100dvh - 160px);
    border-color:#e2e9eb;
    border-radius:18px;
    box-shadow:0 16px 42px rgba(22,48,55,.07);
  }

  .tn-layout-map-first .tn-list-head{
    min-height:66px;
    padding:11px 12px;
    background:#fff;
  }

  .tn-layout-map-first .tn-list-head h2{
    font-size:16px;
  }

  .tn-layout-map-first .tn-list-head p{
    font-size:9px;
  }

  .tn-layout-map-first .tn-list{
    gap:6px;
    max-height:calc(100dvh - 232px);
    padding:7px;
    overflow:auto;
    background:#f8fafb;
  }

  .tn-layout-map-first .tn-item{
    min-height:132px;
    grid-template-columns:100px minmax(0,1fr);
    border-radius:15px;
  }

  .tn-layout-map-first .tn-item-media{
    min-height:132px;
  }

  .tn-layout-map-first .tn-item-main{
    padding:11px 12px 10px;
  }

  .tn-layout-map-first .tn-item h3{
    margin:4px 0 6px;
    font-size:15px;
  }

  .tn-layout-map-first .tn-facts{
    gap:5px;
  }

  .tn-layout-map-first .tn-item-foot{
    margin-top:auto;
    padding-top:7px;
  }

  .tn-layout-map-first.view-map{
    grid-template-columns:1fr;
  }

  .tn-layout-map-first.view-map > .tn-map-card{
    grid-column:1;
    grid-row:1;
    position:relative;
    top:auto;
    height:calc(100dvh - 153px);
    min-height:650px;
  }

  .tn-layout-map-first.view-list{
    grid-template-columns:1fr;
  }

  .tn-layout-map-first.view-list > .tn-list-card{
    grid-column:1;
    grid-row:1;
    height:auto;
    min-height:0;
    overflow:visible;
    box-shadow:none;
  }

  .tn-layout-map-first.view-list .tn-list{
    max-height:none;
    overflow:visible;
  }

  .tn-map-legend{
    left:10px;
    bottom:10px;
    padding:7px 9px;
    background:rgba(255,255,255,.91);
    box-shadow:0 8px 22px rgba(22,48,55,.07);
  }
}

@media(max-width:900px){
  .tt-vnext-nearby-main{
    width:100%;
    padding:6px 6px calc(92px + env(safe-area-inset-bottom));
  }

  .tn-intro-map-first{
    margin-bottom:5px;
    padding:7px 8px;
    border-radius:13px;
  }

  .tn-intro-map-first h1{
    font-size:17px;
  }

  .tn-intro-map-first p{
    font-size:9px;
  }

  .tn-toolbar{
    margin-bottom:5px;
    padding:5px;
    border-radius:12px;
  }

  .tn-layout-map-first{
    display:block;
  }

  .tn-layout-map-first > .tn-map-card,
  .tn-layout-map-first.view-map > .tn-map-card{
    position:relative;
    top:auto;
    width:100%;
    height:calc(100dvh - 214px);
    min-height:500px;
    border-radius:15px;
    box-shadow:0 12px 32px rgba(22,48,55,.07);
  }

  .tn-layout-map-first > .tn-list-card{
    width:100%;
    height:auto;
    min-height:0;
    border-radius:15px;
  }

  .tn-search-area,
  .tn-weather-pick-hint{
    top:7px;
    max-width:calc(100% - 84px);
  }

  .tn-map-context{
    top:7px;
    right:7px;
    left:7px;
    max-height:calc(100% - 14px);
    border-radius:15px;
  }

  .tn-radar-control{
    right:7px;
    left:7px;
    width:auto;
  }
}

@media(max-width:620px){
  .tt-vnext-nearby-main{
    padding-top:4px;
  }

  .tn-intro-map-first{
    min-height:37px;
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
  }

  .tn-intro-map-first .tn-intro-copy{
    display:none;
  }

  .tn-intro-map-first .tn-head-actions{
    min-height:36px;
  }

  .tn-toolbar{
    position:sticky;
    top:3px;
    z-index:850;
    grid-template-columns:auto minmax(0,1fr) auto;
    grid-template-areas:
      "mode view radius"
      "filters filters filters"
      "layers layers layers";
    gap:4px;
    padding:5px;
    border-radius:11px;
  }

  .tn-time-switch button,
  .tn-view-switch button{
    height:27px;
    font-size:9.5px;
  }

  .tn-filters,
  .tn-map-layers{
    gap:4px;
  }

  .tn-filters button,
  .tn-map-layers button{
    height:27px;
    padding:0 9px;
    font-size:9.5px;
  }

  .tn-radius select{
    width:69px;
    height:27px;
    padding-left:7px;
    font-size:9px;
  }

  .tn-layout-map-first > .tn-map-card,
  .tn-layout-map-first.view-map > .tn-map-card{
    height:calc(100dvh - 205px);
    min-height:485px;
    border-radius:13px;
  }

  .tn-map-legend{
    display:none;
  }
}

@media(max-width:390px){
  .tn-layout-map-first > .tn-map-card,
  .tn-layout-map-first.view-map > .tn-map-card{
    height:calc(100dvh - 198px);
    min-height:470px;
  }
}
/* RC18_2_NEARBY_MAP_FIRST_END */


/* =========================================================
   RC18.3 · LIVE PULSE
   Živý čas, pulzující body, auto-refresh a mobile bottom sheet
   ========================================================= */

.tn-live-window{
  display:flex;
  align-items:center;
  gap:4px;
  flex:0 0 auto;
  padding:2px;
  border:1px solid var(--tn-line);
  border-radius:11px;
  background:#f6f8f9;
}
.tn-live-window button{
  height:30px;
  padding:0 9px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--tn-muted);
  font:800 10px/1 inherit;
  white-space:nowrap;
  cursor:pointer;
}
.tn-live-window button:hover{color:var(--tn-ink);background:#fff}
.tn-live-window button.active{
  color:#fff;
  background:linear-gradient(145deg,#10a8ae,#087d84);
  box-shadow:0 5px 14px rgba(8,125,132,.18);
}

.tn-live-pulse{
  position:absolute;
  z-index:610;
  top:10px;
  left:10px;
  display:grid;
  grid-template-columns:auto auto;
  grid-template-areas:"badge main" "badge sub";
  align-items:center;
  column-gap:9px;
  min-height:45px;
  max-width:min(390px,calc(100% - 76px));
  padding:7px 10px;
  border:1px solid rgba(214,227,230,.9);
  border-radius:14px;
  background:rgba(255,255,255,.92);
  box-shadow:0 10px 28px rgba(23,43,52,.11);
  backdrop-filter:blur(14px);
}
.tn-live-pulse-badge{
  grid-area:badge;
  display:inline-flex;
  align-items:center;
  gap:6px;
  height:28px;
  padding:0 8px;
  border-radius:9px;
  background:#ecfaf2;
  color:#087548;
  font-size:9px;
  font-weight:950;
  letter-spacing:.06em;
}
.tn-live-pulse-badge i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#18b968;
  box-shadow:0 0 0 0 rgba(24,185,104,.28);
  animation:tnLiveDotPulse 2.2s ease-out infinite;
}
.tn-live-pulse b{
  grid-area:main;
  min-width:0;
  overflow:hidden;
  color:var(--tn-ink);
  font-size:11px;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.tn-live-pulse small{
  grid-area:sub;
  min-width:0;
  overflow:hidden;
  margin-top:2px;
  color:var(--tn-muted);
  font-size:8.8px;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.tn-live-pulse [data-live-new-chip]{
  position:absolute;
  right:-7px;
  top:-8px;
  min-height:23px;
  padding:0 8px;
  border:2px solid #fff;
  border-radius:999px;
  background:#6b36ee;
  color:#fff;
  font:900 8.5px/1 inherit;
  box-shadow:0 6px 16px rgba(107,54,238,.22);
  cursor:pointer;
}

@keyframes tnLiveDotPulse{
  0%{box-shadow:0 0 0 0 rgba(24,185,104,.32)}
  70%{box-shadow:0 0 0 8px rgba(24,185,104,0)}
  100%{box-shadow:0 0 0 0 rgba(24,185,104,0)}
}
@keyframes tnMapRingPulse{
  0%{transform:scale(.72);opacity:.48}
  72%{transform:scale(1.75);opacity:0}
  100%{transform:scale(1.75);opacity:0}
}
@keyframes tnLiveMarkerEnter{
  0%{transform:scale(.62);opacity:0}
  70%{transform:scale(1.12);opacity:1}
  100%{transform:scale(1);opacity:1}
}
.tn-pin.is-live-now,
.tn-person-pin.is-live-now{position:relative}
.tn-pin.is-live-now::before,
.tn-person-pin.is-live-now::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:-5px;
  border:2px solid rgba(9,151,157,.42);
  border-radius:50%;
  animation:tnMapRingPulse 2.5s ease-out infinite;
  pointer-events:none;
}
.tn-online-pin.is-live-now::before,
.tn-person-pin.is-live-now::before{border-color:rgba(24,185,104,.45)}
.tn-pin.is-live-new{animation:tnLiveMarkerEnter .55s cubic-bezier(.2,.9,.3,1.25) both}

.tn-item.is-live-added{
  animation:tnLiveCardEnter .48s ease both;
  border-color:color-mix(in srgb,#07979d 26%,var(--tn-line));
}
@keyframes tnLiveCardEnter{
  from{transform:translateY(-8px);opacity:0}
  to{transform:translateY(0);opacity:1}
}

.tn-live-toast{
  position:absolute;
  z-index:850;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  max-width:min(420px,calc(100% - 24px));
  padding:9px 13px;
  border:1px solid rgba(206,224,226,.95);
  border-radius:999px;
  background:rgba(18,40,46,.92);
  color:#fff;
  box-shadow:0 12px 32px rgba(18,40,46,.2);
  backdrop-filter:blur(12px);
  font-size:10px;
  font-weight:850;
  text-align:center;
}
.tn-live-toast[data-tone="new"]::before{content:"●";margin-right:7px;color:#58e59a}

.tn-mobile-map-sheet{display:none}

@media (max-width:900px){
  .tn-live-window{
    gap:2px;
    padding:2px;
  }
  .tn-live-window button{
    height:28px;
    padding:0 7px;
    font-size:8.8px;
  }
  .tn-live-pulse{
    top:7px;
    left:7px;
    min-height:40px;
    max-width:calc(100% - 70px);
    padding:6px 8px;
    column-gap:7px;
    border-radius:12px;
  }
  .tn-live-pulse-badge{
    height:25px;
    padding-inline:7px;
    font-size:8px;
  }
  .tn-live-pulse b{font-size:10px}
  .tn-live-pulse small{font-size:8px}
}

@media (max-width:620px){
  .tn-live-pulse{
    max-width:calc(100% - 58px);
    box-shadow:0 8px 24px rgba(23,43,52,.12);
  }
  .tn-live-pulse-badge{
    width:27px;
    padding:0;
    justify-content:center;
    font-size:0;
  }
  .tn-live-pulse-badge i{width:8px;height:8px}
  .tn-live-pulse b{font-size:9.5px}
  .tn-live-pulse small{font-size:7.8px}
  .tn-live-toast{
    bottom:14px;
    padding:8px 11px;
    font-size:9px;
  }

  .tn-mobile-map-sheet{
    position:absolute;
    z-index:980;
    right:7px;
    bottom:7px;
    left:7px;
    display:block;
    max-height:min(58dvh,440px);
    overflow:auto;
    padding:23px 10px 10px;
    border:1px solid var(--tn-line);
    border-radius:19px;
    background:rgba(255,255,255,.97);
    box-shadow:0 20px 50px rgba(17,38,46,.22);
    backdrop-filter:blur(16px);
    overscroll-behavior:contain;
  }
  .tn-mobile-map-sheet[hidden]{display:none}
  .tn-mobile-map-sheet-handle{
    position:absolute;
    top:7px;
    left:50%;
    width:34px;
    height:4px;
    transform:translateX(-50%);
    border-radius:999px;
    background:#d4dde0;
  }
  .tn-mobile-map-sheet-close{
    position:absolute;
    z-index:2;
    top:5px;
    right:7px;
    width:28px;
    height:28px;
    border:0;
    border-radius:50%;
    background:#f1f4f5;
    color:#526169;
    font-size:18px;
    cursor:pointer;
  }
  .tn-mobile-map-sheet .tn-popup{
    width:100%;
    max-width:none;
    padding:3px 1px 1px;
    box-shadow:none;
  }
  .has-mobile-map-sheet .leaflet-popup{display:none}
}

@media (prefers-reduced-motion:reduce){
  .tn-live-pulse-badge i,
  .tn-pin.is-live-now::before,
  .tn-person-pin.is-live-now::before,
  .tn-pin.is-live-new,
  .tn-item.is-live-added{animation:none}
}
/* RC18_3_LIVE_PULSE_END */

/* =========================================================
   RC18.4 · LUXURY LIGHT NEARBY
   Compact history, map-first mobile, light-only visual shell.
   ========================================================= */

.vnext-nearby-page{
  color-scheme:light dark;
  --tn-bg:#f6f8fa;
  --tn-ink:#17202f;
  --tn-muted:#727a8b;
  --tn-line:#e4e9ee;
  background:#f6f8fa;
  color:var(--tn-ink);
}

.vnext-nearby-page .tt-topbar,
.vnext-nearby-page .tt-mobile-nav{
  border-color:#e7ebef;
  background:rgba(255,255,255,.97);
  color:#17202f;
}

.vnext-nearby-page :is(
  .tn-intro,
  .tn-toolbar,
  .tn-map-card,
  .tn-list-card,
  .tn-list-head,
  .tn-item,
  .tn-live-window,
  .tn-live-pulse,
  .tn-mobile-map-sheet,
  .tn-map-context,
  .tn-radar-control
){
  color-scheme:light;
}

.tn-intro-map-first{
  min-height:54px;
  margin-bottom:6px;
  padding:8px 10px;
  border-color:#e5e9ee;
  border-radius:15px;
  background:linear-gradient(135deg,#fff,#fbfcfd);
  box-shadow:0 6px 20px rgba(20,42,50,.035);
}

.tn-intro-map-first .tn-intro-copy{gap:10px}
.tn-intro-map-first .tn-eyebrow{font-size:7.5px}
.tn-intro-map-first h1{font-size:18px;letter-spacing:-.35px}
.tn-intro-map-first p{margin-top:2px;font-size:9.5px}
.tn-intro-map-first .tn-head-actions{gap:6px}
.tn-intro-map-first .tn-head-actions button,
.tn-intro-map-first .tn-head-actions a{
  height:32px;
  padding-inline:11px;
  border-radius:9px;
  font-size:10px;
}

.tn-toolbar{
  top:69px;
  gap:4px;
  min-height:41px;
  margin-bottom:6px;
  padding:4px 5px;
  border-color:#e4e9ee;
  border-radius:13px;
  background:rgba(255,255,255,.97);
  box-shadow:0 7px 21px rgba(20,42,50,.045);
}

.tn-time-switch,
.tn-view-switch,
.tn-live-window{
  border-color:#e5e9ee;
  background:#f4f7f8;
}

.tn-time-switch{padding:2px}
.tn-view-switch{padding:2px;border-radius:10px}
.tn-live-window{padding:2px;border-radius:10px}

.tn-time-switch button,
.tn-view-switch button,
.tn-live-window button,
.tn-filters button,
.tn-map-layers button{
  height:29px;
  padding-inline:9px;
  border-radius:8px;
  font-size:9.5px;
  font-weight:750;
}

.tn-filters,
.tn-map-layers{gap:4px}

.tn-filters button,
.tn-map-layers button{
  border-color:#e5e9ee;
  background:#fff;
  color:#687181;
}

.tn-filters button.active{
  border-color:#bfe3e4;
  background:#ecf9f9;
  color:#087e84;
}

.tn-radius select,
.tn-list-head select{
  height:30px;
  border-color:#e2e7eb;
  border-radius:9px;
  background:#fff;
  color:#293242;
  font-size:9.5px;
}

/* History uses a deliberately narrower, denser rail. */
.tn-page.is-history-mode .tn-list-kicker{display:none}
.tn-page.is-history-mode .tn-list-head{
  min-height:52px;
  padding:8px 9px;
  background:#fff;
}
.tn-page.is-history-mode .tn-list-head h2{
  font-size:13px;
  line-height:1.15;
  letter-spacing:-.1px;
}
.tn-page.is-history-mode .tn-list-head p{
  margin-top:2px;
  font-size:8px;
}
.tn-page.is-history-mode .tn-list-sort{
  gap:2px;
  font-size:7px;
}
.tn-page.is-history-mode .tn-history-period select{
  min-width:78px;
  height:30px;
  padding-left:8px;
  padding-right:22px;
  font-size:9px;
}

.tn-page.is-history-mode .tn-list{
  gap:5px;
  padding:6px;
  background:#f8fafb;
}

.tn-item.is-history{
  min-height:94px;
  grid-template-columns:74px minmax(0,1fr);
  border-color:#e5e8ec;
  border-radius:12px;
  background:#fff;
  box-shadow:none;
}

.tn-item.is-history:hover,
.tn-item.is-history.is-active{
  transform:translateY(-1px);
  border-color:#d7dde3;
  box-shadow:0 7px 18px rgba(25,43,51,.055);
}

.tn-item.is-history .tn-item-media{
  min-height:94px;
  border-right-color:#edf0f2;
  filter:saturate(.82);
}

.tn-item.is-history .tn-item-main{
  padding:7px 8px 6px;
}

.tn-item.is-history .tn-card-type{
  left:5px;
  top:5px;
  min-height:18px;
  max-width:calc(100% - 10px);
  padding-inline:5px;
  font-size:5.8px;
  letter-spacing:.02em;
}

.tn-item.is-history .tn-history-fresh{display:none}

.tn-item.is-history .tn-item-top{
  min-height:13px;
}
.tn-item.is-history .tn-item-top span{
  font-size:6.8px;
  letter-spacing:.04em;
}
.tn-item.is-history .tn-item-top strong.history{
  max-width:92px;
  font-size:7px;
  line-height:1.1;
}

.tn-item.is-history h3{
  display:-webkit-box;
  overflow:hidden;
  margin:3px 0 5px;
  font-size:12px;
  line-height:1.16;
  letter-spacing:-.12px;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

.tn-item.is-history .tn-facts{
  gap:3px 7px;
}
.tn-item.is-history .tn-facts>span{
  font-size:7.8px;
  line-height:1.18;
}
.tn-item.is-history .tn-facts svg{
  width:10px;
  height:10px;
}

.tn-item.is-history .tn-item-foot{
  min-height:20px;
  grid-template-columns:1fr;
  justify-items:end;
  margin-top:2px;
  padding-top:0;
  border-top:0;
}
.tn-item.is-history .tn-item-foot>.tn-author-avatar,
.tn-item.is-history .tn-item-foot>small{
  display:none;
}
.tn-item.is-history .tn-item-direct-actions{
  width:auto;
}
.tn-item.is-history .tn-item-direct-actions .is-history-detail{
  width:25px;
  min-width:25px;
  height:25px;
  min-height:25px;
  padding:0;
  border:1px solid #e3e7eb;
  border-radius:8px;
  background:#fff;
  color:#647080;
  font-size:0;
}
.tn-item.is-history .tn-item-direct-actions .is-history-detail::before{
  content:"↗";
  font-size:12px;
  line-height:1;
}

.tn-page.is-history-mode .tn-live-pulse{
  min-height:38px;
  max-width:255px;
  padding:5px 7px;
  border-radius:11px;
}
.tn-page.is-history-mode .tn-live-pulse-badge{
  height:23px;
  padding-inline:6px;
  border-radius:7px;
  font-size:7.5px;
}
.tn-page.is-history-mode .tn-live-pulse b{font-size:9.5px}
.tn-page.is-history-mode .tn-live-pulse small{font-size:7.5px}

@media(min-width:901px){
  .tn-layout-map-first{
    grid-template-columns:326px minmax(0,1fr);
    gap:8px;
  }

  .tn-page.is-history-mode .tn-layout-map-first{
    grid-template-columns:302px minmax(0,1fr);
  }

  .tn-layout-map-first>.tn-list-card,
  .tn-layout-map-first>.tn-map-card{
    min-height:610px;
    height:calc(100dvh - 146px);
    border-color:#e4e9ee;
    border-radius:16px;
    box-shadow:0 12px 34px rgba(20,42,50,.055);
  }

  .tn-layout-map-first>.tn-map-card{top:106px}

  .tn-layout-map-first .tn-list{
    max-height:calc(100dvh - 208px);
  }

  .tn-page.is-history-mode .tn-list{
    max-height:calc(100dvh - 202px);
  }

  .tn-layout-map-first.view-map>.tn-map-card{
    height:calc(100dvh - 139px);
  }
}

/* Mobile behaves like a map application: one slim horizontal control rail. */
@media(max-width:900px){
  .tt-vnext-nearby-main{
    padding:4px 5px calc(88px + env(safe-area-inset-bottom));
  }

  .tn-intro-map-first{
    min-height:33px;
    margin-bottom:3px;
    padding:0 2px;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }

  .tn-intro-map-first .tn-intro-copy{display:none}
  .tn-intro-map-first .tn-head-actions{min-height:32px}
  .tn-mobile-title{
    gap:7px;
    font-size:15px;
    letter-spacing:-.15px;
  }
  .tn-mobile-title i{
    width:7px;
    height:7px;
  }

  .tn-toolbar{
    position:sticky;
    top:2px;
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    gap:4px;
    min-height:36px;
    margin-bottom:4px;
    padding:3px 4px;
    overflow-x:auto;
    overflow-y:hidden;
    border-radius:10px;
    scrollbar-width:none;
    overscroll-behavior-x:contain;
  }
  .tn-toolbar::-webkit-scrollbar{display:none}

  .tn-time-switch,
  .tn-live-window,
  .tn-view-switch,
  .tn-filters,
  .tn-map-layers,
  .tn-radius{
    flex:0 0 auto;
    width:auto;
    min-width:0;
    margin:0;
    order:initial;
    grid-area:auto;
  }

  .tn-view-switch [data-view="split"]{display:none}

  .tn-time-switch button,
  .tn-live-window button,
  .tn-view-switch button,
  .tn-filters button,
  .tn-map-layers button{
    height:27px;
    min-width:0;
    padding:0 7px;
    border-radius:7px;
    font-size:8.8px;
  }

  .tn-time-switch button span,
  .tn-filters span{
    min-width:13px;
    height:13px;
    margin-left:2px;
    padding-inline:3px;
    font-size:6.5px;
  }

  .tn-radius select{
    width:62px;
    height:27px;
    padding:0 19px 0 7px;
    border-radius:7px;
    font-size:8.8px;
  }

  .tn-layout-map-first>.tn-map-card,
  .tn-layout-map-first.view-map>.tn-map-card{
    height:calc(100dvh - 174px);
    min-height:510px;
    border-radius:12px;
    box-shadow:0 9px 25px rgba(20,42,50,.055);
  }

  .tn-page.is-history-mode .tn-live-pulse{
    top:6px;
    left:6px;
    max-width:230px;
  }

  .tn-page.is-history-mode .tn-live-pulse-badge{
    width:24px;
    padding:0;
    justify-content:center;
    font-size:0;
  }

  .tn-list-card{border-radius:12px}

  .tn-layout.view-list .tn-list-head{
    margin-bottom:6px;
    border-radius:12px;
  }

  .tn-layout.view-list .tn-list{
    gap:6px;
  }

  .tn-layout.view-list .tn-item.is-history{
    grid-template-columns:78px minmax(0,1fr);
    min-height:96px;
    border-radius:12px;
  }

  .tn-layout.view-list .tn-item.is-history .tn-item-media{
    height:auto;
    min-height:96px;
  }

  .tn-layout.view-list .tn-item.is-history .tn-item-main{
    padding:7px 8px 6px;
  }

  .tn-layout.view-list .tn-item.is-history h3{
    margin:3px 0 5px;
    font-size:12px;
  }

  .tn-mobile-map-sheet{
    border-color:#e3e8ec;
    background:rgba(255,255,255,.985);
    box-shadow:0 18px 44px rgba(17,38,46,.17);
  }
}

@media(max-width:620px){
  .tn-intro-map-first{min-height:30px}

  .tn-toolbar{
    top:1px;
    gap:3px;
    min-height:34px;
    padding:3px;
  }

  .tn-time-switch button,
  .tn-live-window button,
  .tn-view-switch button,
  .tn-filters button,
  .tn-map-layers button{
    height:26px;
    padding-inline:6px;
    font-size:8.5px;
  }

  .tn-layout-map-first>.tn-map-card,
  .tn-layout-map-first.view-map>.tn-map-card{
    height:calc(100dvh - 168px);
    min-height:500px;
  }

  .tn-live-pulse{
    top:6px;
    left:6px;
    min-height:36px;
    max-width:calc(100% - 56px);
    padding:5px 7px;
    border-radius:10px;
  }

  .tn-live-pulse b{font-size:9px}
  .tn-live-pulse small{font-size:7.4px}
}

@media(max-width:390px){
  .tn-time-switch button span{display:none}
  .tn-live-window button{padding-inline:5px}
  .tn-radius select{width:58px}
  .tn-layout-map-first>.tn-map-card,
  .tn-layout-map-first.view-map>.tn-map-card{
    height:calc(100dvh - 163px);
    min-height:485px;
  }
}
/* RC18_4_LUXURY_LIGHT_NEARBY_END */

/* =========================================================
   RC18.5 · NEARBY CLEAN HEADER + PREMIUM DARK
   ========================================================= */
.tn-intro-map-first{display:none}
.tt-vnext-nearby-main{padding-top:5px}

.tn-toolbar-actions{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  margin-left:2px;
}
.tn-toolbar-request{
  position:relative;
  width:30px;
  min-width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border:1px solid #e3e8ec;
  border-radius:9px;
  background:#fff;
  color:#596474;
  cursor:pointer;
}
.tn-toolbar-request span{font-size:13px;line-height:1}
.tn-toolbar-request b{
  position:absolute;
  right:-4px;
  top:-5px;
  min-width:15px;
  height:15px;
  display:grid;
  place-items:center;
  padding:0 3px;
  border:2px solid #fff;
  border-radius:999px;
  background:#6b36ee;
  color:#fff;
  font-size:6px;
  line-height:1;
}
.tn-toolbar-request b[hidden]{display:none}

html[data-theme="dark"] body.vnext-nearby-page,
html[data-theme="dark"] .vnext-nearby-page{
  color-scheme:dark;
  --tn-bg:#0d1118;
  --tn-ink:#edf1f6;
  --tn-muted:#9da6b7;
  --tn-line:#303744;
  background:#0d1118;
  color:#edf1f6;
}
html[data-theme="dark"] .tn-toolbar{
  background:rgba(23,28,39,.96);
  border-color:#303744;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}
html[data-theme="dark"] :is(.tn-time-switch,.tn-view-switch,.tn-live-window){
  background:#202630;
  border-color:#343c49;
}
html[data-theme="dark"] :is(
  .tn-time-switch button,
  .tn-view-switch button,
  .tn-live-window button
){
  color:#aeb6c4;
}
html[data-theme="dark"] :is(
  .tn-time-switch button.active,
  .tn-view-switch button.active,
  .tn-live-window button.active
){
  background:#2a2241;
  color:#d8ccff;
  box-shadow:none;
}
html[data-theme="dark"] .tn-filters button,
html[data-theme="dark"] .tn-map-layers button,
html[data-theme="dark"] .tn-toolbar-request{
  background:#1e2430;
  border-color:#343c49;
  color:#cbd2dd;
}
html[data-theme="dark"] .tn-filters button.active{
  background:#17302f;
  border-color:#276661;
  color:#77ddd5;
}
html[data-theme="dark"] .tn-map-layers button.active{
  background:linear-gradient(145deg,#149fa3,#08767d);
  color:#fff;
}
html[data-theme="dark"] .tn-radius select,
html[data-theme="dark"] .tn-list-head select{
  background:#1e2430;
  border-color:#343c49;
  color:#eef1f6;
  color-scheme:dark;
}
html[data-theme="dark"] :is(.tn-list-card,.tn-map-card){
  background:#151a24;
  border-color:#2e3542;
  box-shadow:0 13px 35px rgba(0,0,0,.25);
}
html[data-theme="dark"] .tn-list-head{
  background:#171c27;
  border-color:#303744;
}
html[data-theme="dark"] .tn-list{
  background:#11161f;
}
html[data-theme="dark"] .tn-item{
  background:#1a202b;
  border-color:#303744;
  color:#eef1f6;
}
html[data-theme="dark"] .tn-item:hover,
html[data-theme="dark"] .tn-item.is-active{
  background:#1e2530;
  border-color:#3a4351;
  box-shadow:0 8px 22px rgba(0,0,0,.22);
}
html[data-theme="dark"] .tn-item :is(h3,strong){color:#eef1f6}
html[data-theme="dark"] .tn-item :is(p,small,.tn-facts>span){color:#9da6b7}
html[data-theme="dark"] .tn-item-foot{
  border-color:#2d3440;
}
html[data-theme="dark"] .tn-item-foot small b{color:#dfe4ec}
html[data-theme="dark"] .tn-item.is-history{
  background:#191f29;
  border-color:#303744;
}
html[data-theme="dark"] .tn-item.is-history .tn-item-media{
  border-color:#303744;
  filter:saturate(.74) brightness(.82);
}
html[data-theme="dark"] .tn-item.is-history .tn-item-direct-actions .is-history-detail{
  background:#202733;
  border-color:#353d49;
  color:#c3cad6;
}
html[data-theme="dark"] .tn-map{
  background:#0e151d;
}
html[data-theme="dark"] .tn-map .leaflet-tile-pane{
  filter:brightness(.62) contrast(1.13) saturate(.72);
}
html[data-theme="dark"] .tn-map-legend,
html[data-theme="dark"] .tn-search-area,
html[data-theme="dark"] .tn-weather-pick-hint{
  background:rgba(24,30,41,.94);
  border-color:#343c49;
  color:#dce1e9;
}
html[data-theme="dark"] .tn-live-pulse{
  background:rgba(24,30,41,.94);
  border-color:#343c49;
  color:#edf1f6;
}
html[data-theme="dark"] .tn-live-pulse small{color:#9da6b7}
html[data-theme="dark"] .tn-mobile-map-sheet,
html[data-theme="dark"] .tn-map-context,
html[data-theme="dark"] .tn-radar-control{
  background:rgba(23,29,40,.985);
  border-color:#343c49;
  color:#edf1f6;
}
html[data-theme="dark"] .tn-mobile-map-sheet :is(p,small),
html[data-theme="dark"] .tn-map-context :is(p,small),
html[data-theme="dark"] .tn-radar-control :is(p,small){color:#9da6b7}
html[data-theme="dark"] .tn-toolbar-request b{border-color:#171c27}

@media(max-width:900px){
  .tt-vnext-nearby-main{padding-top:3px}
  .tn-toolbar{top:1px}
  .tn-toolbar-actions{margin-left:0}
  .tn-toolbar-request{width:28px;min-width:28px;height:27px;border-radius:7px}
}
/* RC18_5_NEARBY_THEME_END */
