:root{
  --bg:#071426; --map:#0A1930; --surface:#101F37; --surface2:#172946; --text:#F5F3ED; --muted:#B9C0D1; --dim:#68758C;
  --gold:#F5C76B; --gold-h:#FFD98A; --gold-d:#D49A3A; --glow:#FFE6A6; --core:#FFF8DF;
  --ok:#35C982; --bad:#FF5A5F; --warn:#F4B740; --info:#6D9FFF;
  --line:#304666; --line2:#526784; --r:16px;
  --serif:'Instrument Serif',Georgia,serif; --sans:'Figtree',system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0}
html,body{height:100%;background:var(--bg);color:var(--text);font:400 16px/24px var(--sans);-webkit-font-smoothing:antialiased}
body{overflow:hidden;overscroll-behavior:none}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}
svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.15}

#map{position:fixed;inset:0;background:var(--bg)}
.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-bottom-left{margin-bottom:0}
.maplibregl-ctrl-attrib{background:rgba(7,20,38,.7)!important;color:var(--muted)!important;font-size:10px}
.maplibregl-ctrl-attrib a{color:var(--muted)!important}

.topbar{position:fixed;top:0;left:0;right:0;z-index:20;display:flex;align-items:center;gap:12px;
  padding:calc(env(safe-area-inset-top) + 10px) 16px 10px}
.brand{display:flex;align-items:center;gap:8px;font:400 26px/1 var(--serif);margin-right:auto}
.star{width:26px;height:26px;fill:var(--gold);stroke:none;filter:drop-shadow(0 0 8px rgba(245,199,107,.7))}
.icon-btn{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:rgba(16,31,55,.85);border:1px solid var(--line)}
.icon-btn svg{width:20px;height:20px}
.desk-nav,.topbar .desk-only{display:none}

.searchwrap{position:fixed;top:calc(env(safe-area-inset-top) + 62px);left:16px;right:16px;z-index:20}
.searchwrap input{width:100%;height:44px;border-radius:14px;border:1px solid var(--line);background:rgba(16,31,55,.9);
  color:var(--text);padding:0 14px 0 42px;font:inherit;font-size:15px;backdrop-filter:blur(8px)}
.searchwrap input::placeholder{color:var(--muted)}
.si{position:absolute;left:14px;top:12px;width:20px;height:20px;color:var(--muted);pointer-events:none}
.results{list-style:none;margin-top:6px;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.results li{padding:12px 14px;font-size:14px;cursor:pointer;border-bottom:1px solid var(--line)}
.results li:last-child{border:0}.results li:hover,.results li:focus{background:var(--surface2)}
.results li small{color:var(--muted);display:block}

.counter{position:fixed;left:16px;right:16px;bottom:calc(env(safe-area-inset-bottom) + 76px);z-index:15;
  background:rgba(16,31,55,.88);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;text-align:center}
.counter b{font:400 34px/1 var(--serif);color:var(--gold)}
.counter .of{color:var(--muted);font-size:15px}
.counter p{font-size:13px;color:var(--muted);margin:2px 0 8px}
.bar{height:4px;border-radius:4px;background:var(--line);overflow:hidden;margin-bottom:12px}
.bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--gold-d),var(--gold));border-radius:4px;min-width:3px}
body.sheet-open .counter,body.sheet-open .searchwrap{display:none}

.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;height:48px;border-radius:14px;
  background:var(--gold);color:#071426;font-weight:600;font-size:16px;transition:filter .15s,transform .1s}
.btn-primary:hover{background:var(--gold-h)}.btn-primary:active{transform:scale(.98)}
.btn-primary.small{width:auto;height:40px;padding:0 18px;font-size:14px}
.btn-primary[disabled]{opacity:1;background:#26364D;color:var(--dim);pointer-events:none;background-image:none}
.btn-2{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;height:46px;border-radius:14px;
  background:var(--surface2);border:1px solid var(--line);font-weight:500;font-size:15px}
.btn-2:hover{background:#1f3556}
.btn-ig{background:linear-gradient(45deg,#c13584,#7b3fc4);border:0}
.btn-wa{background:#1fa855;border:0}

.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;justify-content:space-around;
  padding:8px 8px calc(env(safe-area-inset-bottom) + 8px);background:rgba(7,20,38,.94);backdrop-filter:blur(12px);border-top:1px solid var(--line)}
.tabbar a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;color:var(--muted);min-width:64px;padding:2px}
.tabbar svg{width:22px;height:22px}
.tabbar a.on{color:var(--gold)}.tabbar a.on svg{fill:rgba(245,199,107,.18)}

/* přehledy a archy */
.view{position:fixed;inset:0;z-index:40;background:var(--bg);overflow-y:auto;display:flex;flex-direction:column}
.view.sheet{background:rgba(7,20,38,.55);justify-content:flex-end;align-items:center}
.sheet-card{background:rgba(7,20,38,.97);width:100%;max-width:520px;border-radius:24px 24px 0 0;padding:18px 20px calc(env(safe-area-inset-bottom) + 22px);
  max-height:88vh;overflow-y:auto;border:1px solid var(--line);border-bottom:0;animation:up .25s ease-out}
@keyframes up{from{transform:translateY(40px);opacity:0}}
.page{width:100%;max-width:560px;margin:0 auto;padding:calc(env(safe-area-inset-top) + 14px) 20px calc(env(safe-area-inset-bottom) + 100px);flex:1}
.page-head{display:flex;align-items:center;gap:10px;margin-bottom:18px;min-height:40px}
.page-head h1{font-size:26px;flex:1;text-align:center}
.page-head .icon-btn:last-child:not(:first-child){visibility:hidden}
.close{float:right;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--surface2)}
.close svg{width:18px;height:18px}

.loc{color:var(--muted);font-size:13px;display:flex;align-items:center;gap:6px;margin-bottom:8px}
.wish-text{font:400 28px/1.15 var(--serif);margin-bottom:12px}
.story{color:#cfd0f0;font-size:15px;margin-bottom:14px}
.author{display:flex;align-items:center;gap:10px;margin-bottom:16px;font-size:14px}
.avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--gold-d),#7a5ac8);display:grid;place-items:center;font-weight:600;color:#1b1400}
.author small{display:block;color:var(--muted)}
.actions{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:10px;margin-bottom:20px}
.act{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 6px;border-radius:14px;background:var(--surface2);border:1px solid var(--line);font-size:13px}
.act svg{width:20px;height:20px}.act b{font-weight:600}
.act.hearted{background:var(--gold);color:#071426}.act.hearted svg{fill:#071426}
.sub{font:400 18px var(--serif);margin:6px 0 10px;color:var(--muted)}
.near{display:flex;align-items:center;gap:12px;padding:10px;border-radius:14px;background:var(--surface2);margin-bottom:8px;cursor:pointer;font-size:14px}
.near small{display:block;color:var(--muted)}.near span:last-child{margin-left:auto;color:var(--muted);font-size:13px}

/* formuláře */
.steps{display:flex;align-items:center;margin:0 auto 22px;width:180px}
.steps i{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font:600 13px var(--sans);font-style:normal;border:1.5px solid var(--muted);color:var(--muted);flex:none}
.steps i.on{background:var(--gold);border-color:var(--gold);color:#071426}.steps i.done{border-color:var(--gold);color:var(--gold)}
.steps hr{flex:1;border:0;border-top:1.5px solid var(--line)}
.field{margin-bottom:18px}
.field h2{font-size:22px;margin-bottom:8px}.field h2 small{font:400 14px var(--sans);color:var(--muted)}
textarea,input[type=text],input[type=email]{width:100%;background:var(--surface);border:1px solid var(--line);border-radius:14px;color:var(--text);
  padding:12px 14px;font:inherit;font-size:16px;resize:none}
textarea::placeholder,input::placeholder{color:var(--muted)}
.cnt{text-align:right;font-size:12px;color:var(--muted);margin-top:4px}
.check{display:flex;gap:12px;align-items:flex-start;margin-bottom:16px;font-size:14px;cursor:pointer}
.check input{appearance:none;flex:none;width:24px;height:24px;border-radius:6px;border:1.5px solid var(--gold);display:grid;place-items:center;margin-top:1px}
.check input:checked{background:var(--gold)}
.check input:checked::after{content:"";width:6px;height:11px;border:solid #071426;border-width:0 2.5px 2.5px 0;transform:rotate(45deg) translate(-1px,-1px)}
.check a{color:var(--gold);text-decoration:underline}
.err{color:#ff8e8e;font-size:13px;margin-top:6px}
.mini{position:relative;height:340px;border-radius:var(--r);overflow:hidden;border:1px solid var(--line);margin:12px 0}
.mini #pickmap{position:absolute;inset:0}
.pin{position:absolute;left:50%;top:50%;width:34px;height:34px;transform:translate(-50%,-50%);pointer-events:none;fill:var(--gold);stroke:none;filter:drop-shadow(0 0 10px rgba(245,199,107,.9))}
.chosen{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);background:var(--surface);border:1px solid var(--line);padding:8px 18px;border-radius:12px;font-size:14px;white-space:nowrap;max-width:90%;overflow:hidden;text-overflow:ellipsis}
.pagefoot{position:fixed;left:0;right:0;bottom:0;padding:12px 20px calc(env(safe-area-inset-bottom) + 16px);background:linear-gradient(transparent,var(--bg) 35%)}
.pagefoot>*{max-width:520px;margin:0 auto;display:flex}

/* kontrola, hotovo */
.center{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 24px;gap:14px;min-height:100%}
.center h1{font-size:34px}.center p{color:var(--muted);max-width:340px}
.bigstar{width:96px;height:96px;fill:var(--gold);stroke:none;filter:drop-shadow(0 0 24px rgba(245,199,107,.9));animation:pulse 2.4s ease-in-out infinite}
@keyframes pulse{50%{transform:scale(1.1);filter:drop-shadow(0 0 36px rgba(245,199,107,1))}}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;width:100%;max-width:420px;text-align:left}
.stack{display:flex;flex-direction:column;gap:10px;width:100%;max-width:420px}
.confetti{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:60}
.confetti i{position:absolute;top:-12px;width:8px;height:14px;background:var(--gold);opacity:.9;animation:fall linear forwards}
@keyframes fall{to{transform:translateY(110vh) rotate(720deg)}}

/* seznamy */
.tabs{display:flex;background:var(--surface);border-radius:12px;padding:3px;margin-bottom:16px}
.tabs button{flex:1;height:34px;border-radius:10px;font-size:14px;color:var(--muted)}
.tabs button.on{background:var(--gold);color:#071426;font-weight:600}
.row{display:flex;align-items:center;gap:12px;padding:13px 4px;border-bottom:1px solid var(--line);font-size:15px}
.row .n{width:22px;color:var(--muted);font-size:14px}.row .v{margin-left:auto;font-variant-numeric:tabular-nums;color:var(--muted)}
.item{display:block;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px;margin-bottom:12px;cursor:pointer}
.item h3{font:400 20px/1.2 var(--serif);margin-bottom:4px}.item small{color:var(--muted)}
.badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;margin-top:8px}
.badge::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--c)}
.empty{color:var(--muted);text-align:center;padding:40px 10px}
.warn{color:var(--bad);border-color:rgba(239,68,68,.4)}
.mod-actions{display:flex;gap:8px;margin-top:10px}
.mod-actions button{flex:1;height:38px;border-radius:10px;font-weight:600;font-size:14px}
.ok{background:var(--ok);color:#04230f}.no{background:var(--bad);color:#fff}
.sep{text-align:center;color:var(--muted);font-size:13px;margin:12px 0}
.link{color:var(--gold);text-decoration:underline;cursor:pointer}

.offline{position:fixed;inset:0;z-index:70;background:var(--bg);display:grid;place-items:center;text-align:center;padding:24px}
.offline svg{width:64px;height:64px;color:var(--muted);margin-bottom:12px}
.offline h2{font-size:28px;margin-bottom:8px}.offline p{color:var(--muted);margin-bottom:20px}
.toast{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom) + 90px);transform:translateX(-50%);background:var(--surface2);border:1px solid var(--line);
  padding:10px 18px;border-radius:12px;z-index:80;font-size:14px;max-width:90%}
[hidden]{display:none!important}

/* desktop */
@media (min-width:1024px){
  .tabbar{display:none}
  .desk-nav{display:flex;gap:26px;margin-right:auto;margin-left:30px;font-size:15px}
  .desk-nav a{color:var(--muted);padding:6px 0;border-bottom:2px solid transparent}
  .desk-nav a.on{color:var(--gold);border-color:var(--gold)}
  .brand{margin-right:0}.topbar .desk-only{display:inline-flex}
  .topbar{padding:14px 28px;background:linear-gradient(rgba(7,20,38,.9),transparent)}
  .searchwrap{left:28px;right:auto;top:auto;bottom:auto;top:84px;width:340px}
  .counter{left:28px;right:auto;bottom:28px;width:340px;text-align:left}
  .counter .bar{margin-bottom:14px}
  .view.sheet{justify-content:flex-start;align-items:stretch;background:transparent;pointer-events:none}
  .view.sheet .sheet-card{pointer-events:auto;position:absolute;right:28px;top:84px;max-height:calc(100vh - 112px);border-radius:var(--r);border-bottom:1px solid var(--line);width:400px}
  .page-head h1{text-align:left}
  .page{padding-bottom:60px}
  .pagefoot{position:static;background:none;padding:20px 0 0}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.view.tabpage{z-index:25}
@media (min-width:1024px){.topbar{z-index:35}.view.tabpage .page{padding-top:84px}}
@media (max-width:1023px){.maplibregl-ctrl-top-right{margin-top:calc(env(safe-area-inset-top) + 112px)}}

/* --- vzhled podle finální grafiky --- */
.star{width:44px;height:44px}.star .ray{stroke:var(--gold);stroke-width:1.2;opacity:.45;fill:none}
.brand{font-size:30px;gap:10px}
.icon-btn{width:46px;height:46px;background:rgba(10,25,48,.8);backdrop-filter:blur(10px)}
.searchwrap input{height:52px;border-radius:26px;font-size:16px;padding:0 56px 0 48px;background:rgba(10,25,48,.82);box-shadow:0 6px 24px rgba(0,0,0,.35)}
.searchwrap{top:calc(env(safe-area-inset-top) + 72px)}
.si{top:16px;left:18px;width:22px;height:22px;color:var(--text)}
.filter-btn{position:absolute;right:7px;top:7px;width:38px;height:38px;border-radius:50%;background:var(--surface2);display:grid;place-items:center}
.filter-btn svg{width:20px;height:20px}
.fpanel{margin-top:6px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px 14px 0}
.mapbtns{position:fixed;right:14px;top:calc(env(safe-area-inset-top) + 150px);z-index:16;display:flex;flex-direction:column;gap:12px}
.mapbtns button{width:48px;height:48px;border-radius:14px;background:rgba(7,20,38,.82);backdrop-filter:blur(10px);border:1px solid var(--line);display:grid;place-items:center}
.mapbtns button.on{border-color:var(--gold);box-shadow:0 0 14px rgba(245,199,107,.35);color:var(--gold)}
.mapbtns svg{width:24px;height:24px}
body.sheet-open .mapbtns{display:none}
.counter{background:rgba(7,20,38,.88);border-radius:26px;padding:8px 16px 16px;bottom:calc(env(safe-area-inset-bottom) + 84px);box-shadow:0 -4px 30px rgba(0,0,0,.4)}
.handle{display:block;width:44px;height:5px;border-radius:3px;background:var(--muted);opacity:.6;margin:0 auto 10px}
.counter b{font-size:46px;font-family:var(--serif);color:var(--gold);font-weight:400}
.counter .of{font-size:26px;color:var(--text)}.counter p{font-size:16px;color:var(--text);opacity:.85;margin:0 0 10px}
.btn-primary.add{height:58px;border-radius:29px;font:400 24px var(--serif);gap:14px;justify-content:center;background:linear-gradient(180deg,#f7d07d,#efba58)}
.plus{width:40px;height:40px;border-radius:50%;background:#071426;display:grid;place-items:center;color:var(--gold)}.plus svg{width:22px;height:22px}
.tabbar{border-radius:26px 26px 0 0;background:rgba(7,20,38,.95);padding-top:12px}
.tabbar a{font-size:13px}.tabbar svg{width:30px;height:30px}
body.sheet-open .tabbar{display:flex}

/* detail s fotkou */
.dhead{display:flex;gap:16px;margin-bottom:6px}
.dphoto{flex:none;width:110px;height:138px;border-radius:16px;background:var(--surface2) center/cover;border:1px solid var(--line)}
.dphoto.none{display:grid;place-items:center}.dphoto.none svg{width:40px;height:40px;fill:var(--gold);stroke:none;opacity:.7}
.dbody{min-width:0;flex:1}
.dnum{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:15px;margin-bottom:6px}
.dnum svg{width:20px;height:20px;fill:var(--gold);stroke:none}
.dbody .wish-text{font-size:26px}
.hrt{color:#ff4d5e}
.near-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ncard{display:flex;gap:10px;align-items:stretch;background:var(--surface2);border:1px solid var(--line);border-radius:16px;padding:8px;cursor:pointer;min-width:0}
.ncard .nph{flex:none;width:56px;height:76px;border-radius:10px;background:var(--surface) center/cover}
.ncard div:last-child{min-width:0;font-size:14px;line-height:1.25}.ncard small{display:block;color:var(--muted);margin-top:2px}
.ncard span.h{display:flex;align-items:center;gap:4px;margin-top:4px;font-size:13px}.ncard span.h svg{width:14px;height:14px;fill:#fff;stroke:none}
.sechead{display:flex;justify-content:space-between;align-items:baseline;margin:6px 0 10px}.sechead .sub{margin:0}
.sechead a{color:var(--gold);font-size:14px}
.actions{grid-template-columns:1.5fr 1fr 1fr 1fr}
.act.hearted{background:#f9d36f}

/* obrazovka „hotovo“ */
.done{width:100%;max-width:520px;margin:0 auto;padding:calc(env(safe-area-inset-top) + 16px) 20px calc(env(safe-area-inset-bottom) + 28px);text-align:center;position:relative}
.done-x{position:absolute;right:20px;top:calc(env(safe-area-inset-top) + 16px);width:44px;height:44px;float:none}
.done h1{font-size:40px;margin-top:56px}.done h1 em{color:var(--gold);font-style:normal}
.sub2{color:var(--muted);font-size:17px;margin-top:10px}
.hero{position:relative;height:230px;margin:0 -20px 0;overflow:hidden}
.horizon{position:absolute;left:-30%;right:-30%;top:120px;height:520px;border-radius:50%;
  background:radial-gradient(circle at 30% 14%,rgba(245,199,107,.8) 0 2px,transparent 3px),radial-gradient(circle at 55% 10%,rgba(245,199,107,.8) 0 2px,transparent 3px),radial-gradient(circle at 42% 22%,rgba(245,199,107,.6) 0 1.5px,transparent 3px),radial-gradient(circle at 66% 20%,rgba(245,199,107,.7) 0 2px,transparent 3px),
  radial-gradient(ellipse at 50% 0,#10294d,#071426 60%);
  box-shadow:0 -3px 30px 4px rgba(70,140,255,.75),inset 0 6px 26px rgba(110,170,255,.55)}
.bigspark{position:absolute;left:50%;top:6px;transform:translateX(-50%);width:200px;height:200px;filter:drop-shadow(0 0 22px rgba(245,199,107,.95)) drop-shadow(0 0 60px rgba(245,199,107,.6))}
.bigspark svg{width:100%;height:100%;fill:#ffe9b0;stroke:none;animation:pulse 3s ease-in-out infinite}
.dcard{text-align:left;background:rgba(16,31,55,.92);border:1px solid var(--line);border-radius:22px;padding:16px;margin-top:-30px;position:relative;backdrop-filter:blur(8px)}
.dcard .dphoto{width:100px;height:128px}
.sharetitle{font-size:26px;margin-top:26px}
.shares{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:6px}
.shares>*{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:13px;line-height:1.2}
.shares i{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:var(--surface);border:1px solid var(--line)}
.shares i svg{width:28px;height:28px}.shares i.ig{background:linear-gradient(45deg,#f9a03f,#d6249f,#7b3fc4);border:0}.shares i.wa{background:#1fb356;border:0}
.add2{height:60px;border-radius:30px;font:400 24px var(--serif);justify-content:space-between;padding:0 26px;background:linear-gradient(180deg,#f7d07d,#efba58)}
.add3{height:56px;border-radius:28px;background:transparent;border:1px solid #526784;font:400 22px var(--serif)}

/* kategorie, památky */
.chips{position:fixed;left:0;right:0;top:calc(env(safe-area-inset-top) + 136px);z-index:16;display:flex;gap:10px;padding:0 16px;overflow-x:auto;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chips button{flex:none;display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border-radius:22px;background:rgba(7,20,38,.82);backdrop-filter:blur(8px);border:1px solid var(--line);font-size:15px;white-space:nowrap}
.chips button svg{width:20px;height:20px}.chips button.on{background:var(--gold);color:#071426;border-color:var(--gold);font-weight:600}
.mapbtns{top:calc(env(safe-area-inset-top) + 196px)}
body.sheet-open .chips{display:none}
.lm{position:relative;width:60px;height:60px;border-radius:50%;padding:0;border:2px solid var(--gold);box-shadow:0 0 18px rgba(245,199,107,.55);background:var(--surface);cursor:pointer}
.lm .lmph{position:absolute;inset:0;border-radius:50%;background:var(--surface2) center/cover;display:block}
.lm .lmt{position:absolute;left:50%;top:66px;transform:translateX(-50%);width:max-content;max-width:150px;text-align:center;font-size:14px;font-weight:500;line-height:1.2;text-shadow:0 1px 6px #000,0 0 3px #000}
.lm .lmt small{display:block;font-weight:400;opacity:.9;font-size:13px}
.lcard{position:fixed;left:0;right:0;bottom:calc(env(safe-area-inset-bottom) + 76px);z-index:15;margin:0 auto;max-width:520px;background:rgba(7,20,38,.94);backdrop-filter:blur(12px);border-radius:26px 26px 0 0;border:1px solid var(--line);padding:8px 16px 16px;box-shadow:0 -4px 30px rgba(0,0,0,.4)}
.lrow{display:flex;gap:14px;margin-bottom:12px}.lrow .dphoto{width:120px;height:104px}
.lrow h2{font-size:26px}.lrow .loc{margin:4px 0}.lrow p{color:var(--muted);font-size:14px}
.lhearts{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:20px}.lhearts svg{width:24px;height:24px;fill:#fff;stroke:none}
.lbtns{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.lbtns .btn-primary,.lbtns .btn-2{height:52px;border-radius:26px;font:400 20px var(--serif);background-clip:padding-box}
.lbtns .btn-2{background:transparent;border:1px solid #526784}
body.lm-open .counter{display:none}body:not(.lm-open) .lcard{display:none}
.catrow{display:flex;gap:8px;flex-wrap:wrap}.catrow button{height:38px;padding:0 16px;border-radius:19px;border:1px solid var(--line);background:var(--surface);font-size:14px}
.catrow button.on{background:var(--gold);color:#071426;border-color:var(--gold);font-weight:600}
/* výběr místa */
.pc{position:absolute;right:10px;top:10px;display:flex;flex-direction:column;gap:8px;z-index:3}
.pc button{width:42px;height:42px;border-radius:12px;background:rgba(7,20,38,.88);border:1px solid var(--line);display:grid;place-items:center;font-size:22px;line-height:1}
.pc svg{width:22px;height:22px}
.locrow{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;margin-bottom:10px}
.locrow>div{flex:1;min-width:0}.locrow small{display:block;color:var(--muted);font-size:12.5px}.locrow b{font-weight:600;font-size:17px}
.locrow .link{flex:none;font-size:15px}
@media (min-width:1024px){.chips{top:130px;left:28px;right:auto;max-width:560px}.mapbtns{top:190px;right:28px}.lcard{left:28px;right:auto;bottom:28px;width:420px;margin:0;border-radius:26px}}

.steps{width:100%;max-width:none;margin:0 0 22px;align-items:flex-start;gap:0}
.steps .st{display:flex;flex-direction:column;align-items:center;gap:8px;flex:none;width:96px}
.steps .st i{width:44px;height:44px;font-size:17px}.steps .st em{font-style:normal;font-size:13px;color:var(--muted);text-align:center}
.steps .st.on em{color:var(--gold)}.steps hr{margin-top:22px;border-top:2px solid var(--surface2)}
.rev-title{display:flex;gap:12px;align-items:center;margin-bottom:18px}.rev-title h2{font-size:30px;margin-bottom:8px}.rev-title p{color:var(--muted);font-size:15px}
.vis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}
.vis button{position:relative;text-align:left;padding:12px 10px;border-radius:14px;border:1px solid var(--line);background:var(--surface);display:flex;flex-direction:column;gap:4px;min-height:120px}
.vis button svg{width:24px;height:24px;margin-bottom:4px}.vis b{font-weight:600;font-size:14px}.vis small{color:var(--muted);font-size:12px;line-height:1.3}
.vis .rad{position:absolute;right:8px;top:8px;width:22px;height:22px;border-radius:50%;border:1.5px solid var(--muted)}
.vis button.on{border:2px solid var(--gold);background:rgba(245,199,107,.1)}.vis button.on svg{color:var(--gold)}
.vis button.on .rad{background:var(--gold);border-color:var(--gold)}.vis button.on .rad::after{content:"";position:absolute;left:6px;top:2px;width:6px;height:11px;border:solid #071426;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.swrow{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin-bottom:10px;cursor:pointer}
.swrow>svg{width:30px;height:30px;color:var(--gold);flex:none}.swrow span{flex:1;font-size:15px}.swrow small{display:block;color:var(--muted);font-size:13px}.swrow a{color:var(--gold);text-decoration:underline}
.sw{appearance:none;flex:none;width:52px;height:30px;border-radius:15px;background:var(--surface2);position:relative;transition:background .2s}
.sw::after{content:"";position:absolute;left:3px;top:3px;width:24px;height:24px;border-radius:50%;background:#fff;transition:transform .2s}
.sw:checked{background:var(--gold)}.sw:checked::after{transform:translateX(22px)}
.fbtns{display:grid;grid-template-columns:1fr 1.7fr;gap:12px;width:100%}
.fbtns .back{height:60px;border-radius:30px;background:transparent;border:1px solid #526784;font:400 22px var(--serif)}
.fbtns .add2{height:60px}
.steps .st.on i{background:var(--gold);border-color:var(--gold);color:#071426}.steps .st.done i{border-color:var(--gold);color:var(--gold)}

.btn-primary.add[disabled],.add2[disabled]{background:#26364D!important;color:var(--dim)}
.btn-primary{box-shadow:0 0 22px rgba(245,199,107,.16)}
.btn-primary[disabled]{box-shadow:none}

/* malé počítadlo v liště, když je velké zakryté */
.topcount{display:none;align-items:center;gap:6px;height:40px;padding:0 12px 0 8px;border-radius:20px;background:rgba(16,31,55,.9);border:1px solid var(--line);font-size:14px;color:var(--muted);white-space:nowrap}
.topcount .star{width:18px;height:18px;filter:none}.topcount b{font:400 20px var(--serif);color:var(--gold)}
body.sheet-open .topcount,body.lm-open .topcount{display:inline-flex}
@media (max-width:430px){.brand{font-size:25px;gap:6px}.brand .star{width:34px;height:34px}.topbar{gap:8px;padding-left:12px;padding-right:12px}}
@media (min-width:1024px){.topcount{margin-left:auto}.desk-nav{margin-right:0}}
.brand,.topcount{white-space:nowrap}.brand span{white-space:nowrap}
@media (max-width:430px){.topcount span{display:none}.topcount{padding:0 12px 0 8px}}

select{width:100%;background:var(--surface);border:1px solid var(--line);border-radius:14px;color:var(--text);padding:12px 14px;font:inherit;font-size:16px}
.trrow{display:flex;align-items:center;gap:12px;margin:-4px 0 14px}.trrow small{color:var(--dim);font-size:13px}
.trbtn{height:36px;padding:0 14px;border-radius:18px;border:1px solid var(--line2);background:transparent;color:var(--gold);font-size:14px}
.trbtn[disabled]{opacity:.6}

.story{white-space:pre-line}
.story.clamp{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.more{color:var(--gold);font-size:14px;margin:-6px 0 14px;padding:4px 0}

/* ===== DESKTOP ≥ 1024 px: header 80 | levý panel | mapa | pravý panel ===== */
.dsk,.hsearch:empty{display:none}.mob-only{display:inline-grid}.dtop{display:none}.rpanel{display:none}
.hbtn{width:44px;height:44px;border-radius:10px;display:grid;place-items:center;color:var(--text)}.hbtn svg{width:24px;height:24px}.hbtn.on{color:var(--gold)}
.avwrap{position:relative}.avbtn{display:flex;align-items:center;gap:4px;height:44px;padding:0 6px;border-radius:22px;color:var(--muted)}
.av{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--gold-d),#6f5bc7);display:grid;place-items:center;font:600 13px var(--sans);color:#071426}
.avbtn svg{width:18px;height:18px}
.avmenu{position:absolute;right:0;top:52px;width:230px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:6px;z-index:60;box-shadow:0 12px 40px rgba(0,0,0,.5)}
.avmenu a,.avmenu button{display:flex;width:100%;align-items:center;min-height:44px;padding:0 12px;border-radius:8px;text-align:left;font-size:15px}
.avmenu a:hover,.avmenu button:hover{background:var(--surface2)}.avmenu hr{border:0;border-top:1px solid var(--line);margin:4px 0}.avmenu small{display:block;padding:8px 12px;color:var(--dim);font-size:12.5px}
.moremenu{position:absolute;right:0;top:100%;margin-top:6px;background:var(--surface2);border:1px solid var(--line);border-radius:12px;padding:6px;z-index:6;width:200px}
.moremenu button{display:flex;width:100%;min-height:44px;align-items:center;padding:0 12px;border-radius:8px;font-size:15px;text-align:left}.moremenu button:hover{background:var(--surface)}
.comments{margin-bottom:16px}.chead{display:flex;justify-content:space-between;align-items:center;margin:8px 0 6px}.chead h3{font:400 20px var(--serif)}
.chead select{width:auto;padding:6px 10px;font-size:13px;border-radius:8px;background:transparent;border:0;color:var(--muted)}
.cmt{display:grid;grid-template-columns:36px 1fr auto;gap:10px;padding:10px 0}.cmt .avatar{width:36px;height:36px;font-size:14px}
.cmt b{font-weight:600;font-size:14.5px}.cmt small{color:var(--dim);margin-left:6px;font-size:12.5px}.cmt p{font-size:14.5px;margin-top:2px;color:var(--text);overflow-wrap:anywhere}
.clike{display:flex;align-items:center;gap:4px;min-height:44px;min-width:44px;justify-content:flex-end;color:var(--muted);font-size:13px}.clike svg{width:16px;height:16px}.clike.on{color:var(--gold)}.clike.on svg{fill:var(--gold)}
.cform{display:flex;gap:8px;position:sticky;bottom:0;background:var(--surface);padding:10px 0 4px;border-top:1px solid var(--line)}
.cform input{flex:1;height:44px;padding:0 14px;border-radius:22px;background:var(--surface2)}.cform button{width:44px;height:44px;border-radius:50%;color:var(--gold);display:grid;place-items:center}.cform svg{width:22px;height:22px}
.catchip{display:inline-flex;height:28px;align-items:center;padding:0 12px;border-radius:14px;border:1px solid var(--line);background:var(--surface2);font-size:13px;margin:0 6px 12px 0}
.rtabs{display:flex;padding:10px 10px 0;gap:6px}.rtabs button{flex:1;min-height:56px;border-radius:10px 10px 0 0;color:var(--muted);font-size:13.5px;border-bottom:2px solid transparent}
.rtabs button.on{color:var(--gold);border-color:var(--gold);background:rgba(245,199,107,.07)}
.rfilters{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px 12px 10px}.rfilters select{height:40px;padding:0 10px;border-radius:10px;background:var(--surface2);font-size:14px}
.rlist{flex:1;overflow-y:auto;padding:0 12px 12px}
.ritem{display:grid;grid-template-columns:80px 1fr;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);cursor:pointer;min-height:100px}
.ritem:hover{background:rgba(23,41,70,.5)}.ritem .rph{width:80px;height:80px;border-radius:8px;background:var(--surface2) center/cover}
.ritem .rt{display:flex;justify-content:space-between;gap:8px;font-size:14px;font-weight:500}.ritem .rt span:last-child{display:flex;align-items:center;gap:4px;color:var(--muted);font-weight:400}.ritem .rt svg{width:15px;height:15px}
.ritem p{font-size:14px;line-height:1.35;margin:4px 0;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ritem small{color:var(--dim);font-size:12.5px}
.rempty{color:var(--muted);text-align:center;padding:40px 16px;font-size:14px}
body.map-loading #map{animation:skel 2.4s ease-in-out infinite}@keyframes skel{50%{background:#172946}}
.offline{z-index:18;inset:0 0 76px 0}
@media (min-width:1024px){
  :root{--pw:360px;--mapL:16px;--mapR:392px}
  body.d-detail{--mapL:392px}
  .dsk{display:flex}.mob-only,.topcount,.tabbar,.filter-btn{display:none!important}
  .topbar{height:80px;padding:0 28px;background:var(--bg);border-bottom:1px solid var(--line);gap:12px;align-items:center;z-index:35;backdrop-filter:none}
  .brand{width:auto;margin-right:0;flex:none}.brand span{font-size:28px}.brand .star{width:40px;height:40px}
  .desk-nav{display:flex;gap:4px;margin:0 0 0 28px;flex:none}
  .desk-nav a{min-height:44px;min-width:44px;padding:0 16px;display:inline-flex;align-items:center;font-size:16px;color:var(--text);border-bottom:2px solid transparent}
  .desk-nav a.on{color:var(--gold);border-color:var(--gold)}
  .hsearch{display:block;margin-left:auto;width:clamp(240px,33vw,480px)}.hsearch .searchwrap{position:relative;inset:auto;width:100%;display:block;z-index:40}
  .searchwrap input{height:44px;border-radius:10px;background:var(--surface2);padding:0 14px 0 44px;box-shadow:none;font-size:15px}.si{top:11px;left:14px}
  .results{position:absolute;left:0;right:0;z-index:50;max-height:60vh;overflow:auto}
  .topbar .btn-primary.small{width:160px;height:44px;border-radius:10px;font-size:16px}
  #map{position:fixed;inset:auto;top:96px;left:var(--mapL);right:var(--mapR);bottom:16px;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:var(--map)}
  .rpanel{display:flex;flex-direction:column;position:fixed;top:96px;right:16px;bottom:16px;width:var(--pw);background:var(--surface);border:1px solid var(--line);border-radius:14px;z-index:14;overflow:hidden}
  body.pg-open .rpanel{display:none}
  .chips{top:112px;left:calc(var(--mapL) + 14px);right:auto;max-width:calc(100vw - var(--mapL) - var(--mapR) - 28px);padding:0}
  .mapbtns{top:auto;bottom:168px;right:calc(var(--mapR) + 14px)}
  .maplibregl-ctrl-bottom-right{margin:0 0 20px 0}
  .counter{left:calc(var(--mapL) + 14px);bottom:32px;width:340px;text-align:left;padding:12px 16px 16px}
  .counter .handle{display:none}
  .lcard{left:calc(var(--mapL) + 14px);bottom:32px;width:420px;max-width:none;margin:0;border-radius:18px}
  body.sheet-open .counter{display:block}body.sheet-open .searchwrap{display:block}body.sheet-open .mapbtns{display:flex}body.lm-open .counter{display:none}
  body.sheet-open .chips{display:flex}
  .view.sheet{inset:auto;left:16px;top:96px;bottom:16px;width:var(--pw);background:none;display:block;pointer-events:none;z-index:14}
  .view.sheet .sheet-card{pointer-events:auto;position:static;width:100%;max-width:none;height:100%;max-height:none;border-radius:14px;border:1px solid var(--line);animation:none;padding:0 0 12px;background:var(--surface);overflow-y:auto}
  .sheet-card>*{margin-left:16px;margin-right:16px}.sheet-card>.dtop{margin:0;padding:12px 16px;display:flex;justify-content:space-between;align-items:center;font-size:14.5px;color:var(--muted)}
  .dtop a{display:inline-flex;align-items:center;gap:6px;min-height:44px}.dtop svg{width:18px;height:18px}
  .sheet-card .dhead{flex-direction:column;gap:0}.sheet-card .dphoto{width:calc(100% + 32px);height:200px;margin:0 -16px 14px;border-radius:0;border:0}
  .sheet-card .dbody .close{display:none}.sheet-card .dnum{display:none}
  .sheet-card .wish-text{font-size:24px}
  .actions{grid-template-columns:repeat(4,1fr);gap:8px}.act{min-height:64px}
  .view.tabpage .page{padding-top:100px;padding-bottom:60px}.view.tabpage{z-index:25}
  .offline{inset:96px var(--mapR) 16px var(--mapL);border-radius:14px}
}
@media (min-width:1024px) and (max-width:1199px){:root{--pw:300px;--mapR:332px}body.d-detail{--mapL:332px}.hsearch{width:clamp(200px,24vw,300px)}.desk-nav a{padding:0 10px}.desk-nav{margin-left:12px}.topbar{padding:0 16px;gap:8px}.topbar .btn-primary.small{width:140px}}
@media (max-width:1023px){.dsk{display:none!important}}

/* úvodní myšlenka přímo na mapě (karta s počítadlem ve „hero“ stavu) */
.counter .chero,.counter .chero-q,.counter .chero-x,.counter .t-hero{display:none}
.counter.hero-on .chero{display:block;text-align:center;margin:2px 0 10px}
.counter.hero-on .chero-q{display:block;font:400 20px var(--serif);color:var(--text);margin:-6px 0 10px}
.counter.hero-on .chero-x{display:grid;position:absolute;right:8px;top:6px;width:36px;height:36px;place-items:center;font-size:24px;color:var(--muted);border-radius:50%}
.counter.hero-on .t-norm{display:none}.counter.hero-on .t-hero{display:inline}
.counter.hero-on .chero h1{font-size:clamp(25px,7vw,31px);line-height:1.1;padding:0 20px}
.counter.hero-on .chero-sub{font:400 17px/1.3 var(--serif);color:var(--muted);margin:8px 0 0}
.counter.hero-on .chero-txt{display:none;font-size:15px;line-height:1.5;margin-top:10px}
.counter.hero-on .cnum b{font-size:34px}.counter.hero-on .of{font-size:18px}
.counter{position:fixed}
.counter.hero-on{box-shadow:0 0 60px rgba(245,199,107,.12),0 -4px 30px rgba(0,0,0,.45);border-color:rgba(245,199,107,.35)}
@media (min-width:1024px){
  .counter.hero-on{width:460px;padding:20px 24px 22px;text-align:center}
  .counter.hero-on .chero h1{font-size:38px;padding:0 24px}
  .counter.hero-on .chero-sub{font-size:20px}
  .counter.hero-on .chero-txt{display:block}
  .counter.hero-on .cnum{margin-top:6px}
}

/* kategorie */
.chips button svg{flex:none}
.catline{position:fixed;z-index:16;left:16px;top:calc(env(safe-area-inset-top) + 190px);max-width:calc(100vw - 100px);background:rgba(7,20,38,.88);backdrop-filter:blur(8px);border:1px solid var(--line);border-radius:12px;padding:8px 14px;font-size:14px;color:var(--text)}
.catline b{color:var(--gold);font-weight:600}
body.sheet-open .catline{display:none}
.catrow button{display:inline-flex;align-items:center;gap:6px}.catrow svg,.catchip svg{width:18px;height:18px}
.catchip{gap:6px}
.rstats{padding:12px 4px 6px;border-bottom:1px solid var(--line);margin-bottom:4px}.rstats h3{font:400 18px var(--serif);margin-bottom:6px}
.rstats button{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:0 8px;border-radius:8px;font-size:14.5px;text-align:left}
.rstats button:hover,.rstats button.on{background:var(--surface2)}.rstats button.on{color:var(--gold)}
.rstats svg{width:20px;height:20px;flex:none}.rstats span{flex:1}.rstats b{font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}
.cico svg{width:24px;height:24px;color:var(--gold)}.cbar{display:block;height:4px;border-radius:2px;background:var(--surface2);margin-top:6px}.cbar i{display:block;height:100%;border-radius:2px;background:var(--gold)}
@media (min-width:1024px){.catline{left:calc(var(--mapL) + 14px);top:162px;max-width:520px}}

/* značka: Million Wishes World */
.brand em,.wm{font-style:normal;color:var(--gold);font-size:.62em;letter-spacing:.08em;text-transform:uppercase;margin-left:.25em;vertical-align:.12em}
@media (max-width:430px){.brand span{font-size:22px}.brand em{display:block;margin:-.15em 0 0;font-size:.5em;line-height:1}}
