
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root{
  --ink:#183247;
  --muted:#667d8a;
  --paper:#f7fcfd;
  --paper2:#eaf7fa;
  --card:#ffffff;
  --forest:#16b7c9;
  --forest2:#0796aa;
  --sage:#8edce6;
  --sand:#d9f2f5;
  --terracotta:#ff6572;
  --line:rgba(34,133,154,.15);
  --shadow:0 20px 55px rgba(24,77,96,.10);
  --shadow-sm:0 8px 25px rgba(24,77,96,.08);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;color:var(--ink);background:
  radial-gradient(circle at 90% 5%,rgba(216,196,162,.22),transparent 24rem),
  radial-gradient(circle at 5% 30%,rgba(159,181,168,.13),transparent 26rem),
  var(--paper);
  font-family:"DM Sans",system-ui,-apple-system,Segoe UI,sans-serif;
  -webkit-font-smoothing:antialiased
}
a{color:inherit}
h1,h2,h3{letter-spacing:-.025em}
button,input,select,textarea{font:inherit}
.topbar{
  position:sticky;top:0;z-index:1000;min-height:72px;
  display:flex;align-items:center;justify-content:space-between;gap:22px;
  padding:12px max(22px,5vw);
  background:rgba(255,253,248,.86);backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(38,72,59,.09)
}
.brand{
  font-family:"Playfair Display",serif;font-weight:700;font-size:27px;
  color:var(--forest2);letter-spacing:-.04em
}
.brand::after{content:"•";color:var(--terracotta);margin-left:3px}
nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
nav a{
  text-decoration:none;font-size:14px;font-weight:600;padding:9px 11px;
  border-radius:12px;transition:.2s ease
}
nav a:hover{background:rgba(37,90,72,.08);color:var(--forest)}
.button{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  border:0;border-radius:14px;background:var(--forest);color:white;
  text-decoration:none;padding:12px 18px;font-weight:700;cursor:pointer;
  box-shadow:0 8px 20px rgba(37,90,72,.18);transition:.2s ease
}
.button:hover{transform:translateY(-1px);background:var(--forest2);box-shadow:0 12px 24px rgba(37,90,72,.23)}
.button.small{padding:9px 13px;border-radius:11px;font-size:13px}
.button.secondary{background:#61776d;box-shadow:none}
.button:disabled{opacity:.5;transform:none;cursor:not-allowed}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;color:var(--terracotta);
  font-size:11px;font-weight:800;letter-spacing:.17em;text-transform:uppercase
}
.eyebrow::before{content:"";width:25px;height:1px;background:currentColor}
.hero{
  max-width:1280px;margin:0 auto;padding:72px 28px 48px;
  display:grid;grid-template-columns:.92fr 1.08fr;gap:56px;align-items:center
}
.hero h1{
  font-family:"Playfair Display",serif;font-size:clamp(47px,6.2vw,82px);
  line-height:.98;margin:15px 0 25px;color:#1c332a;font-weight:700
}
.hero p{font-size:18px;line-height:1.75;color:var(--muted);max-width:610px;margin-bottom:28px}
#previewMap{
  height:520px;border-radius:32px;overflow:hidden;border:7px solid rgba(255,253,248,.8);
  box-shadow:0 30px 80px rgba(33,63,51,.19);transform:rotate(.5deg)
}
.features{
  max-width:1240px;margin:0 auto;padding:20px 28px 85px;
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px
}
.features article,.new-album,.album-card,.auth-card,.profile-card,.upload-panel,.album-settings,
.album-layout aside,.community,.danger-zone{
  background:rgba(255,253,248,.92);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow-sm)
}
.features article{padding:28px;transition:.25s ease}
.features article:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.features b{font-size:32px;display:block;margin-bottom:16px}
.features h3{font-size:19px;margin:0 0 8px}
.features p,.muted,.album-card p{color:var(--muted);line-height:1.55}
.auth{min-height:100vh;display:grid;place-items:center;padding:28px}
.auth-card{width:min(460px,100%);padding:38px}
.auth-card h1{font-family:"Playfair Display",serif;font-size:40px;margin:15px 0 5px}
.back{color:var(--muted);text-decoration:none;font-size:14px}
form{display:grid;gap:14px}
label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#46554e}
input,select,textarea{
  width:100%;border:1px solid rgba(54,84,71,.18);border-radius:13px;
  padding:12px 14px;background:rgba(255,255,255,.75);color:var(--ink);outline:none;
  transition:border .2s,box-shadow .2s
}
input:focus,select:focus,textarea:focus{border-color:var(--sage);box-shadow:0 0 0 4px rgba(159,181,168,.16)}
textarea{resize:vertical}
.error,.success{padding:13px 15px;border-radius:13px;margin:15px 0;font-size:14px}
.error{background:#fff0ed;color:#913d2e;border:1px solid #edc6bc}
.success{background:#e9f4ed;color:#296244;border:1px solid #bfddc9}
.dashboard,.album-page,.public-album{max-width:1240px;margin:auto;padding:48px 28px 80px}
.dash-head h1,.album-title h1,.public-head h1{
  font-family:"Playfair Display",serif;font-size:clamp(38px,5vw,58px);
  margin:8px 0;color:#1c332a
}
.new-album{padding:24px;margin:28px 0}
.new-album h2{margin-top:0}
.new-album form{grid-template-columns:1fr 180px auto;align-items:end}
.album-grid,.discover-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.album-card,.discover-card{
  display:block;text-decoration:none;overflow:hidden;transition:.25s ease;
  background:var(--card);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-sm)
}
.album-card:hover,.discover-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.album-cover,.discover-placeholder{
  height:190px;display:grid;place-items:center;font-size:52px;
  background:linear-gradient(135deg,#d9e5dc,#eee6d5)
}
.album-cover-image,.discover-card img{width:100%;height:190px;object-fit:cover;display:block;transition:transform .35s}
.album-card:hover .album-cover-image,.discover-card:hover img{transform:scale(1.025)}
.album-card>div:last-child,.discover-card>div:last-child{padding:19px}
.album-card h3,.discover-card h3{margin:0 0 6px;font-size:19px}
.empty{
  grid-column:1/-1;text-align:center;padding:50px;background:rgba(255,253,248,.65);
  border:1px dashed rgba(37,90,72,.25);border-radius:20px;color:var(--muted)
}
.empty.small{padding:28px}
.album-title{display:flex;align-items:center;justify-content:space-between;gap:20px}
.album-settings,.upload-panel{padding:21px;margin:20px 0}
.album-edit-form{display:grid;grid-template-columns:1fr 1.2fr 210px auto;gap:12px;align-items:end}
.inline-settings{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.inline-settings label{min-width:220px}
.share-box{
  display:grid;grid-template-columns:auto 1fr auto auto;gap:10px;align-items:center;
  padding-top:13px;border-top:1px solid var(--line)
}
.share-box form{display:inline}
.upload-panel h2{margin-top:0}
.upload-panel form{grid-template-columns:1fr auto;align-items:center}
.album-layout{display:grid;grid-template-columns:1.65fr 1fr;gap:20px;align-items:start}
.album-layout aside{padding:20px;max-height:760px;overflow:auto}
.album-layout aside>h2{margin-top:0;position:sticky;top:-20px;background:var(--card);z-index:3;padding:8px 0}
#albumMap,#publicMap{
  height:650px;border-radius:25px;overflow:hidden;border:5px solid rgba(255,253,248,.8);
  box-shadow:var(--shadow)
}
#publicMap{height:520px;margin:22px 0}
.map-note{font-size:12px;color:var(--muted);margin:8px 4px}
.photo-editor-list{display:grid;gap:12px}
.photo-editor{
  position:relative;display:grid;grid-template-columns:110px 1fr;gap:12px;
  background:#fbfaf6;border:1px solid var(--line);border-radius:17px;padding:10px;
  transition:.2s
}
.photo-editor:hover{border-color:rgba(37,90,72,.28)}
.photo-editor>img{width:110px;height:110px;object-fit:cover;border-radius:12px}
.photo-editor.dragging{opacity:.45;outline:2px dashed var(--forest)}
.drag-handle{position:absolute;right:9px;top:6px;color:#89958f;font-size:19px;cursor:grab}
.photo-fields{display:grid;gap:8px}
.photo-fields label{font-size:11px}
.photo-fields input,.photo-fields select,.photo-fields textarea{font-size:12px;padding:9px 10px}
.coord-row{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.photo-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.photo-actions form{display:inline}
.open-photo{font-size:12px;color:var(--forest)}
.photo-meta{font-size:11px;color:var(--muted)}
.save-status{min-height:15px;font-size:11px;color:var(--forest);font-weight:700}
.popup-thumb{width:190px;max-height:135px;object-fit:cover;border-radius:9px;display:block;margin-bottom:7px}
.filterbar{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
.filter-btn{
  border:1px solid var(--line);background:rgba(255,253,248,.8);color:#4c5d55;
  border-radius:999px;padding:9px 14px;cursor:pointer;font-weight:600;font-size:13px
}
.filter-btn.active{background:var(--forest);color:white;border-color:var(--forest)}
.cover-btn{background:#8c6e37;box-shadow:none}
.danger-button{
  border:0;border-radius:10px;background:#a24c40;color:#fff;padding:8px 11px;
  font-weight:700;cursor:pointer
}
.danger-button.big{padding:12px 16px}
.danger-zone{margin-top:30px;padding:22px;background:#fff7f4;border-color:#ead1c8}
.danger-zone h2{margin-top:0;color:#873d34}
.category-list{display:grid;gap:10px}
.category-row{
  display:flex;justify-content:space-between;align-items:center;background:var(--card);
  border:1px solid var(--line);border-radius:15px;padding:15px 18px;box-shadow:var(--shadow-sm)
}
.category-row small{display:block;color:var(--muted);margin-top:3px}
.danger-link{color:#9d493d;text-decoration:none;font-size:13px}
.profile-layout{display:grid;grid-template-columns:1fr 350px;gap:20px;align-items:start}
.profile-card{padding:26px}
.avatar-preview{width:180px;height:180px;border-radius:50%;object-fit:cover;display:grid;place-items:center;margin:10px auto 24px;border:6px solid #fff;box-shadow:var(--shadow)}
.avatar-placeholder{background:#e5ebe6;color:#687970;font-size:50px}
.public-profile{
  display:flex;gap:28px;align-items:center;background:var(--card);border:1px solid var(--line);
  border-radius:28px;padding:28px;margin-bottom:32px;box-shadow:var(--shadow-sm)
}
.public-profile h1{font-family:"Playfair Display",serif;font-size:45px;margin:5px 0}
.public-profile p{max-width:720px;color:var(--muted);line-height:1.65}
.avatar-xl{width:155px;height:155px;object-fit:cover;border-radius:50%;flex:0 0 auto;border:6px solid white;box-shadow:var(--shadow-sm)}
.discover-search{display:grid;grid-template-columns:1fr auto;gap:10px;margin:22px 0 30px}
.discover-card p,.discover-card small{color:var(--muted)}
.public-description{max-width:800px;color:var(--muted);line-height:1.7;font-size:16px}
.public-photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.public-photo{
  background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden;
  box-shadow:var(--shadow-sm);transition:.2s
}
.public-photo:hover{transform:translateY(-3px)}
.public-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.public-photo>div{padding:13px}
.public-photo strong,.public-photo span{display:block}
.public-photo span{font-size:11px;color:var(--terracotta);margin-top:5px;font-weight:700}
.public-photo p{font-size:13px;line-height:1.5;color:var(--muted)}
.owner-link{color:var(--forest);text-decoration:none;font-weight:700}
.community{margin-top:34px;padding:25px}
.community h2{font-family:"Playfair Display",serif;font-size:31px;margin-top:0}
.community-top{display:flex;gap:12px;align-items:center;margin-bottom:18px}
.like-button{
  display:inline-block;border:1px solid #dbc5c1;background:#fff9f7;border-radius:999px;
  padding:10px 15px;text-decoration:none;color:#99493e;font-weight:700;cursor:pointer
}
.like-button.liked{background:#fbe9e6}
.comment-form{margin:16px 0 24px}
.comments{display:grid;gap:15px}
.comment{display:grid;grid-template-columns:48px 1fr;gap:12px;border-top:1px solid var(--line);padding-top:15px}
.comment img,.comment-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#e7ece8}
.comment strong,.comment small{display:block}
.comment strong a{text-decoration:none}
.comment small{font-size:11px;color:var(--muted);margin-top:2px}
.comment p{margin:8px 0 0;line-height:1.55}
.leaflet-control-layers,.leaflet-bar{border:0!important;box-shadow:var(--shadow-sm)!important;border-radius:12px!important;overflow:hidden}
.leaflet-popup-content-wrapper{border-radius:15px;box-shadow:var(--shadow)}
.leaflet-popup-content{font-family:"DM Sans",sans-serif}
@media(max-width:1000px){
  .hero{grid-template-columns:1fr;padding-top:48px}
  #previewMap{height:430px;transform:none}
  .album-layout{grid-template-columns:1fr}
  .album-layout aside{max-height:none}
  .album-edit-form{grid-template-columns:1fr 1fr}
  .public-photo-grid{grid-template-columns:repeat(2,1fr)}
  .discover-grid,.album-grid{grid-template-columns:repeat(2,1fr)}
  #albumMap{height:520px}
}
@media(max-width:760px){
  .topbar{position:sticky!important;top:0!important;z-index:2000!important;align-items:flex-start;padding:15px 18px}
  .brand{font-size:24px;padding-top:4px}
  nav{justify-content:flex-end;gap:3px}
  nav a{font-size:12px;padding:7px 8px}
  .hero{padding:45px 18px 30px;gap:32px}
  .hero h1{font-size:49px}
  .hero p{font-size:16px}
  #previewMap{height:340px;border-width:4px;border-radius:22px}
  .features{grid-template-columns:1fr;padding:10px 18px 55px}
  .dashboard,.album-page,.public-album{padding:34px 18px 60px}
  .new-album form,.upload-panel form,.discover-search,.album-edit-form{grid-template-columns:1fr}
  .album-grid,.discover-grid,.public-photo-grid{grid-template-columns:1fr}
  .album-title{align-items:flex-start;flex-direction:column}
  .share-box{grid-template-columns:1fr}
  .profile-layout{grid-template-columns:1fr}
  .public-profile{align-items:flex-start;padding:20px;gap:17px}
  .avatar-xl{width:90px;height:90px;border-width:4px}
  .public-profile h1{font-size:34px}
  #albumMap,#publicMap{height:410px;border-radius:19px;border-width:3px}
  .photo-editor{grid-template-columns:88px 1fr}
  .photo-editor>img{width:88px;height:88px}
  .coord-row{grid-template-columns:1fr}
}
@media(max-width:480px){
  .topbar{display:block}
  .brand{margin-bottom:9px}
  nav{justify-content:flex-start}
  .hero h1{font-size:42px}
  .dash-head h1,.album-title h1,.public-head h1{font-size:38px}
  .photo-editor{grid-template-columns:1fr}
  .photo-editor>img{width:100%;height:190px}
}

.route-panel,.public-routes{
  background:rgba(255,253,248,.92);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow-sm);padding:22px;margin:20px 0
}
.route-panel-head{display:flex;align-items:center;justify-content:space-between;gap:18px}
.route-panel-head h2,.public-routes h2{font-family:"Playfair Display",serif;font-size:30px;margin:7px 0}
.route-editor{
  margin-top:18px;padding:17px;border:1px dashed rgba(37,90,72,.32);
  background:rgba(159,181,168,.08);border-radius:18px
}
.route-form-grid{display:grid;grid-template-columns:1.4fr .8fr .9fr;gap:11px}
.route-editor-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.route-distance-live{font-size:13px;color:var(--forest);font-weight:700;margin-left:auto}
.route-list{display:grid;gap:10px;margin-top:16px}
.route-item{
  display:grid;grid-template-columns:46px 1fr auto auto;gap:12px;align-items:center;
  padding:12px 14px;background:#fbfaf6;border:1px solid var(--line);border-radius:15px
}
.public-route-list .route-item{grid-template-columns:46px 1fr}
.route-icon{
  width:40px;height:40px;display:grid;place-items:center;border-radius:12px;
  background:#eef1ec;font-size:20px
}
.route-main strong,.route-main small{display:block}
.route-main small{font-size:12px;color:var(--muted);margin-top:3px}
.route-edit-btn{
  border:1px solid var(--line);background:white;border-radius:10px;padding:8px 10px;
  cursor:pointer;color:var(--forest);font-weight:700
}
#albumMap.route-drawing{cursor:crosshair}
@media(max-width:760px){
  .route-panel-head{align-items:flex-start;flex-direction:column}
  .route-form-grid{grid-template-columns:1fr}
  .route-item{grid-template-columns:42px 1fr}
  .route-item .route-edit-btn,.route-item form{grid-column:2}
  .route-distance-live{width:100%;margin-left:0}
}

.nav-logout{display:inline}
.nav-logout button{
  border:0;background:transparent;color:inherit;font:inherit;font-size:14px;font-weight:600;
  padding:9px 11px;border-radius:12px;cursor:pointer
}
.nav-logout button:hover{background:rgba(37,90,72,.08);color:var(--forest)}
@media(max-width:760px){.nav-logout button{font-size:12px;padding:7px 8px}}

.upload-panel-title{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:15px}
.upload-panel-title h2{font-family:"Playfair Display",serif;font-size:30px;margin:6px 0 0}
.upload-help{font-size:12px;color:var(--muted)}
#photoUploadForm{display:block}
.drop-zone{
  min-height:190px;border:2px dashed rgba(37,90,72,.28);border-radius:22px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  padding:28px;background:linear-gradient(145deg,rgba(159,181,168,.07),rgba(216,196,162,.08));
  cursor:pointer;transition:.2s ease;outline:none
}
.drop-zone:hover,.drop-zone:focus,.drop-zone.drag-over{
  border-color:var(--forest);background:rgba(159,181,168,.15);transform:translateY(-1px)
}
.drop-icon{
  width:55px;height:55px;border-radius:18px;background:var(--forest);color:white;
  display:grid;place-items:center;font-size:31px;margin-bottom:14px;box-shadow:0 10px 24px rgba(37,90,72,.2)
}
.drop-zone strong{font-size:18px;margin-bottom:5px}
.drop-zone span{color:var(--forest);font-weight:600}
.drop-zone small{color:var(--muted);margin-top:8px}
.selected-files{margin:13px 0;padding:13px 15px;background:#f8f7f1;border:1px solid var(--line);border-radius:14px}
.selected-files>strong,.selected-files>span{display:inline-block;margin-right:10px}
.selected-files>span{color:var(--muted);font-size:13px}
.file-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.file-chips span{font-size:11px;padding:5px 8px;background:white;border:1px solid var(--line);border-radius:999px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.upload-submit{margin-top:13px}
.plan-status{
  display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;
  padding:20px 22px;background:linear-gradient(135deg,#1d4d3c,#2c6651);color:white;
  border-radius:22px;box-shadow:var(--shadow);margin:24px 0
}
.plan-status h2{margin:4px 0}.plan-status p{margin:0;color:rgba(255,255,255,.75);font-size:13px}
.storage-meter-top{display:flex;justify-content:space-between;gap:20px;font-size:12px;margin-bottom:7px}
.storage-track{height:9px;background:rgba(255,255,255,.18);border-radius:999px;overflow:hidden}
.storage-track span{display:block;height:100%;background:#f4dfb6;border-radius:999px}
.pricing-page{max-width:1180px;margin:auto;padding:65px 28px 85px}
.pricing-hero{text-align:center;max-width:760px;margin:0 auto 42px}
.pricing-hero h1{font-family:"Playfair Display",serif;font-size:clamp(43px,6vw,68px);margin:10px 0}
.pricing-hero p{font-size:17px;line-height:1.7;color:var(--muted)}
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;align-items:stretch}
.price-card{
  position:relative;background:var(--card);border:1px solid var(--line);border-radius:26px;
  padding:28px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column
}
.price-card.featured{border:2px solid var(--forest);transform:translateY(-8px);box-shadow:var(--shadow)}
.best-badge{position:absolute;right:18px;top:18px;background:#e9dcc2;color:#624e2e;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:800}
.price-card h2{font-family:"Playfair Display",serif;font-size:30px;margin:5px 0 16px}
.price{font-size:34px;font-weight:800;color:var(--forest2)}
.price small{font-size:13px;color:var(--muted);font-weight:600;margin-left:3px}
.annual{color:var(--muted);margin:4px 0 20px}
.price-card ul{list-style:none;padding:0;margin:0 0 25px;display:grid;gap:10px;flex:1;color:#526158}
.price-card .button{width:100%}
.plan-current{box-shadow:none}
.pricing-note{text-align:center;color:var(--muted);font-size:12px;margin-top:25px}
.subscription-wrap{min-height:70vh;display:grid;place-items:center;padding:40px 20px}
.subscription-card{max-width:580px;background:var(--card);padding:35px;border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow)}
.subscription-card h1{font-family:"Playfair Display",serif;font-size:42px;margin:9px 0}
.subscription-card p{line-height:1.65;color:var(--muted)}
@media(max-width:850px){
 .pricing-grid{grid-template-columns:1fr}.price-card.featured{transform:none}
 .plan-status{grid-template-columns:1fr}
}
@media(max-width:600px){
 .upload-panel-title{align-items:flex-start;flex-direction:column}
 .drop-zone{min-height:165px;padding:22px}
}

.payment-actions{display:grid;gap:8px}
.payment-actions form{display:block}
.payment-actions .button{width:100%}
.notifications-list{display:grid;gap:12px;max-width:850px}
.notification-card{
  display:grid;grid-template-columns:10px 1fr;gap:13px;background:var(--card);
  border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:var(--shadow-sm)
}
.notification-dot{width:10px;height:10px;border-radius:50%;background:var(--terracotta);margin-top:5px}
.notification-card strong{font-size:16px}
.notification-card p{color:var(--muted);line-height:1.55;margin:6px 0}
.notification-card small{color:var(--muted);font-size:11px;margin-right:12px}
.notification-card a{color:var(--forest);font-weight:700;text-decoration:none;font-size:13px}

.admin-page{max-width:1280px;margin:auto;padding:48px 28px 80px}
.admin-head{margin-bottom:28px}
.admin-head h1{font-family:"Playfair Display",serif;font-size:clamp(40px,5vw,58px);margin:8px 0}
.admin-head p{color:var(--muted);max-width:760px;line-height:1.65}
.admin-plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;align-items:start}
.admin-plan-card{
  background:var(--card);border:1px solid var(--line);border-radius:24px;
  padding:22px;box-shadow:var(--shadow-sm)
}
.admin-plan-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}
.admin-plan-card h2{font-family:"Playfair Display",serif;font-size:30px;margin:4px 0}
.plan-code{font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--terracotta)}
.user-count{font-size:11px;color:var(--muted);background:#f2f0e9;border-radius:999px;padding:6px 8px}
.admin-two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.admin-three-col{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}
.admin-check{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:8px}
.admin-check input{width:auto}
.admin-summary{display:grid;gap:4px;padding:12px 13px;background:#f6f4ee;border-radius:13px;color:var(--muted);font-size:12px}
.admin-summary strong{color:var(--ink)}
.admin-note{margin-top:26px;background:#fff8ee;border:1px solid #ead9bb;border-radius:20px;padding:20px}
.admin-note h2{margin-top:0}
.admin-note p{color:var(--muted);line-height:1.6}
@media(max-width:1000px){.admin-plan-grid{grid-template-columns:1fr}.admin-three-col{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.admin-page{padding:34px 18px 60px}.admin-two-col,.admin-three-col{grid-template-columns:1fr}}

.smart-trip-panel,.video-panel,.public-videos{
  background:rgba(255,253,248,.94);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow-sm);padding:22px;margin:20px 0
}
.smart-trip-panel{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}
.smart-trip-panel h2,.video-panel h2,.public-videos h2{font-family:"Playfair Display",serif;font-size:30px;margin:7px 0}
.smart-trip-panel p{color:var(--muted);margin:0;line-height:1.6}
.replay-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 0}
.replay-controls select{width:auto;min-width:120px}
#replayStatus{font-size:12px;color:var(--muted)}
.video-panel-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:15px}
.book-actions{display:flex;gap:8px;flex-wrap:wrap}
.video-upload{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:10px;align-items:end}
.video-upload .coord-row{grid-column:3}
.video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}
.video-card{background:#fbfaf6;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.video-card video{width:100%;aspect-ratio:16/9;background:#111;display:block}
.video-card>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px}
.public-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.book-body{background:#e9e4da;min-height:100vh}
.book-topbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:12px 20px;background:rgba(255,253,248,.95);border-bottom:1px solid var(--line)}
.book-topbar a{text-decoration:none;font-weight:700;color:var(--forest)}
.book-topbar button{border:0;background:var(--forest);color:#fff;width:36px;height:36px;border-radius:10px;font-size:22px;cursor:pointer}
.book-topbar span{display:inline-block;min-width:80px;text-align:center}
.flipbook{max-width:1100px;margin:28px auto;padding:0 18px}
.book-page{display:none;background:#fffdf8;min-height:720px;border-radius:22px;box-shadow:0 28px 70px rgba(40,50,44,.18);padding:34px}
.book-page.active{display:block;animation:bookin .25s ease}
@keyframes bookin{from{opacity:.2;transform:translateX(10px)}to{opacity:1;transform:none}}
.book-cover{display:none;place-items:center;text-align:center;background:linear-gradient(145deg,#214f3f,#8aa595);color:white}
.book-cover.active{display:grid}
.cover-inner h1{font-family:"Playfair Display",serif;font-size:64px;margin:12px 0}
.cover-inner span{font-size:12px;letter-spacing:.2em}
.cover-inner small{display:block;max-width:600px;margin:18px auto 0;line-height:1.6;color:rgba(255,255,255,.78)}
.book-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;height:100%}
.book-grid.count-1{grid-template-columns:1fr}.book-grid.count-3 figure:first-child{grid-row:span 2}
.book-grid figure{margin:0;display:flex;flex-direction:column;min-height:260px}
.book-grid img{width:100%;height:100%;min-height:220px;object-fit:cover;border-radius:14px}
.book-grid figcaption{padding:9px 2px;font-weight:700}.book-grid figcaption small{display:block;color:var(--muted);font-weight:500;margin-top:2px}
.book-video-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.book-video-grid video{width:100%;border-radius:14px;background:#111}.book-video-grid strong{display:block;margin-top:8px}
.print-toolbar{position:sticky;top:0;background:#fff;padding:10px;text-align:center;z-index:10}.print-toolbar button{padding:10px 18px;border:0;border-radius:10px;background:#255a48;color:white;font-weight:700}
.print-cover,.print-page{width:210mm;min-height:297mm;margin:0 auto 15px;background:#fff;padding:16mm;page-break-after:always}
.print-cover{display:grid;place-items:center;text-align:center}.print-cover h1{font-family:"Playfair Display",serif;font-size:42pt}
.print-grid{display:grid;grid-template-columns:1fr 1fr;gap:8mm}.print-grid.count-1{grid-template-columns:1fr}.print-grid figure{margin:0}.print-grid img{width:100%;height:115mm;object-fit:cover}.print-grid figcaption{padding-top:3mm;font-weight:700}
@media print{body{background:white}.print-toolbar{display:none}.print-cover,.print-page{margin:0;box-shadow:none}}
@media(max-width:850px){
 .smart-trip-panel{grid-template-columns:1fr}
 .video-upload{grid-template-columns:1fr}
 .video-upload .coord-row{grid-column:auto}
 .video-grid{grid-template-columns:1fr}
 .book-page{min-height:620px;padding:20px}.cover-inner h1{font-size:44px}
 .book-grid{grid-template-columns:1fr}.book-grid figure{min-height:auto}
 .book-grid img{min-height:0;max-height:430px}
}

.geo-tools{
  background:rgba(255,253,248,.94);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow-sm);padding:22px;margin:20px 0
}
.geo-tools-head{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}
.geo-tools-head h2{font-family:"Playfair Display",serif;font-size:30px;margin:7px 0}
.geo-tools-head p{margin:0;color:var(--muted);line-height:1.6}
.geo-tools-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}
#selectedPhotoCount{font-size:12px;color:var(--muted);margin-left:auto}
.photo-select{position:absolute;left:8px;top:8px;z-index:4;display:block}
.photo-select input{position:absolute;opacity:0;pointer-events:none}
.photo-select span{
  width:25px;height:25px;display:block;border-radius:8px;background:rgba(255,255,255,.93);
  border:2px solid rgba(37,90,72,.4);box-shadow:0 3px 10px rgba(0,0,0,.12);cursor:pointer
}
.photo-select input:checked + span{background:var(--forest);border-color:var(--forest)}
.photo-select input:checked + span::after{
  content:"✓";display:grid;place-items:center;color:white;font-weight:900;font-size:16px;height:100%
}
#albumMap.bulk-geotagging{cursor:crosshair;outline:4px solid rgba(185,111,81,.35)}
@media(max-width:760px){
  .geo-tools-head{grid-template-columns:1fr}
  #selectedPhotoCount{width:100%;margin-left:0}
}

.forgot-link{
  display:block;text-align:center;color:var(--forest);font-size:13px;font-weight:700;
  text-decoration:none;margin-top:-2px
}
.forgot-link:hover{text-decoration:underline}

/* v2.2.1 – Leaflet marker megjelenítés */
.leaflet-marker-icon{filter:drop-shadow(0 4px 5px rgba(20,45,36,.22))}
.marker-cluster-small,.marker-cluster-medium,.marker-cluster-large{
  background:rgba(37,90,72,.18)!important
}
.marker-cluster-small div,.marker-cluster-medium div,.marker-cluster-large div{
  background:#255a48!important;color:#fff!important;font-weight:800
}


/* v2.3 – új albumélmény és biztos fotómarkerek */
.photo-div-marker-wrap{background:transparent!important;border:0!important}
.photo-div-marker{
  width:44px;height:44px;border-radius:50%;overflow:hidden;background:#255a48;
  border:3px solid #fff;box-shadow:0 6px 18px rgba(20,45,36,.35);
  display:grid;place-items:center
}
.photo-div-marker img{width:100%;height:100%;object-fit:cover;display:block}
.photo-div-marker span{font-size:19px}
.album-view-tabs{
  position:sticky;top:78px;z-index:700;display:flex;gap:8px;align-items:center;
  margin:18px 0;padding:8px;background:rgba(255,253,248,.92);backdrop-filter:blur(14px);
  border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-sm)
}
.album-tab{
  border:0;background:transparent;color:#53655c;border-radius:11px;padding:10px 14px;
  font-weight:800;font-size:13px;cursor:pointer;text-decoration:none
}
.album-tab:hover{background:rgba(37,90,72,.08)}
.album-tab.active{background:var(--forest);color:#fff}
.album-tab-link{display:inline-flex;align-items:center}
.album-view{display:none}
.album-view.active{display:block}
.gallery-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:20px 0}
.gallery-toolbar h2{font-family:"Playfair Display",serif;font-size:36px;margin:6px 0 0}
.gallery-count{font-size:13px;color:var(--muted)}
.clean-photo-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px
}
.clean-photo-card{
  position:relative;border:0;padding:0;border-radius:18px;overflow:hidden;background:#ddd;
  cursor:pointer;aspect-ratio:4/3;box-shadow:var(--shadow-sm);transition:.2s ease;text-align:left
}
.clean-photo-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.clean-photo-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.clean-photo-card:hover img{transform:scale(1.025)}
.clean-photo-caption{
  position:absolute;left:0;right:0;bottom:0;padding:26px 12px 10px;color:#fff;font-size:12px;
  font-weight:800;background:linear-gradient(transparent,rgba(0,0,0,.62))
}
.edit-view-note{
  background:rgba(255,253,248,.94);border:1px solid var(--line);border-radius:20px;
  padding:20px;margin:20px 0
}
.edit-view-note h2{font-family:"Playfair Display",serif;font-size:30px;margin:7px 0}
.edit-view-note p{margin:0;color:var(--muted)}
.photo-lightbox{
  position:fixed;inset:0;z-index:5000;background:rgba(13,20,17,.94);
  display:grid;grid-template-columns:70px 1fr 70px;align-items:center
}
.photo-lightbox[hidden]{display:none}
.lightbox-stage{max-width:min(1200px,88vw);max-height:90vh;margin:auto;display:grid;gap:12px}
.lightbox-stage img{max-width:100%;max-height:78vh;object-fit:contain;margin:auto;border-radius:12px}
.lightbox-info{display:flex;align-items:center;gap:12px;justify-content:center;flex-wrap:wrap;color:#fff}
.lightbox-info span{color:rgba(255,255,255,.65);font-size:13px}
.lightbox-map-btn{
  border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1);color:#fff;
  border-radius:999px;padding:8px 12px;font-weight:700;cursor:pointer
}
.lightbox-close{
  position:absolute;right:18px;top:14px;border:0;background:transparent;color:#fff;
  font-size:42px;cursor:pointer;line-height:1
}
.lightbox-nav{
  border:0;background:transparent;color:#fff;font-size:62px;cursor:pointer;opacity:.85
}
body.lightbox-open{overflow:hidden}
.public-clean-grid .public-photo>div{display:none!important}
@media(max-width:1000px){
  .clean-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .album-view-tabs{position:sticky!important;top:var(--mobile-header-height,54px)!important;z-index:1900!important;overflow-x:auto;white-space:nowrap;border-radius:14px}
  .album-tab{flex:0 0 auto}
  .clean-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .clean-photo-card{border-radius:12px}
  .photo-lightbox{grid-template-columns:42px 1fr 42px}
  .lightbox-nav{font-size:42px}
  .lightbox-stage{max-width:92vw}
  .lightbox-stage img{max-height:70vh}
}
@media(max-width:430px){
  .clean-photo-grid{grid-template-columns:1fr 1fr}
  .clean-photo-caption{font-size:11px;padding:22px 9px 8px}
}

/* v2.3.1 – frontend/cache/marker fix */
.ui-point-icon-wrap{
  background:transparent!important;
  border:0!important;
}
.ui-map-point,.ui-route-point{
  width:22px;height:22px;border-radius:50%;
  border:3px solid #fff;
  box-shadow:0 4px 12px rgba(20,45,36,.38);
}
.ui-map-point{background:var(--terracotta)}
.ui-route-point{background:#255a48}

.album-view-tabs button.album-tab,
.album-view-tabs a.album-tab{
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  background:transparent!important;
  font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif!important;
  color:#53655c!important;
  border-radius:11px!important;
  padding:10px 15px!important;
  line-height:1.2!important;
  font-weight:800!important;
  font-size:13px!important;
  cursor:pointer!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.album-view-tabs button.album-tab.active{
  background:#255a48!important;
  color:#fff!important;
}
.album-view-tabs a.album-tab:hover,
.album-view-tabs button.album-tab:hover{
  background:rgba(37,90,72,.10)!important;
}
.album-view-tabs button.album-tab.active:hover{
  background:#174638!important;
}


/* v2.3.2 – orientáció / sorrend / marker finomítás */
.photo-div-marker{
  width:30px!important;height:30px!important;
  border:3px solid #fff!important;
  outline:3px solid var(--terracotta)!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.82),0 5px 14px rgba(20,35,29,.46)!important;
  background:#255a48!important;
}
.photo-div-marker::after{
  content:"";position:absolute;left:50%;bottom:-7px;transform:translateX(-50%);
  width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;
  border-top:7px solid var(--terracotta);
}
.photo-div-marker-wrap{overflow:visible!important}

.photo-order-panel{
  background:rgba(255,253,248,.96);border:1px solid var(--line);border-radius:20px;
  padding:18px;margin:16px 0 24px;box-shadow:var(--shadow-sm)
}
.photo-order-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:13px}
.photo-order-head h3{margin:0 0 4px;font-size:20px}
.photo-order-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
#photoOrderStatus{font-size:12px;color:var(--forest);font-weight:800;white-space:nowrap}
.photo-order-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:9px}
.photo-order-item{
  position:relative;aspect-ratio:1/1;border-radius:13px;overflow:hidden;cursor:grab;
  border:2px solid transparent;background:#ece9e0;box-shadow:0 4px 12px rgba(25,45,37,.09);
  transition:transform .12s,border-color .12s,opacity .12s
}
.photo-order-item:hover{transform:translateY(-2px);border-color:rgba(37,90,72,.38)}
.photo-order-item.dragging{opacity:.42;border-color:var(--forest);transform:scale(.96)}
.photo-order-item img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.photo-order-number{
  position:absolute;left:6px;top:6px;min-width:24px;height:24px;padding:0 6px;border-radius:999px;
  display:grid;place-items:center;background:rgba(23,70,56,.92);color:#fff;font-size:11px;font-weight:900
}
.photo-order-grip{
  position:absolute;right:6px;bottom:6px;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;
  background:rgba(255,255,255,.93);color:#255a48;font-size:16px;font-weight:900
}
@media(max-width:650px){
  .photo-order-grid{grid-template-columns:repeat(3,1fr)}
  .photo-order-head{display:block}
  #photoOrderStatus{display:block;margin-top:7px}
}

/* v2.3.5 – stabil mobilos többképes feltöltés */
.mobile-upload-progress{
  margin-top:14px;padding:14px;background:#f7f5ef;border:1px solid var(--line);border-radius:16px
}
.mobile-upload-summary{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px}
.mobile-upload-summary span{color:var(--muted);font-weight:800}
.mobile-upload-track{height:9px;background:#e1e4df;border-radius:999px;overflow:hidden;margin:10px 0 12px}
.mobile-upload-track>span{display:block;width:0;height:100%;background:var(--forest);border-radius:999px;transition:width .2s ease}
.mobile-upload-items{display:grid;gap:7px;max-height:260px;overflow:auto}
.mobile-upload-item{
  display:grid;grid-template-columns:28px minmax(0,1fr) auto auto;gap:8px;align-items:center;
  padding:8px 10px;background:#fff;border:1px solid var(--line);border-radius:11px;font-size:11px
}
.mobile-upload-index{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#edf0ec;color:var(--forest);font-weight:800}
.mobile-upload-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}
.mobile-upload-name small{display:block;color:#a24c40;white-space:normal;font-weight:500;margin-top:2px}
.mobile-upload-size{color:var(--muted)}
.mobile-upload-state{min-width:72px;text-align:right}
.mobile-upload-item.reading,.mobile-upload-item.uploading{border-color:rgba(37,90,72,.32)}
.mobile-upload-item.success{background:#edf7f0;border-color:#bbd9c5}.mobile-upload-item.success .mobile-upload-state{color:#276442}
.mobile-upload-item.failed{background:#fff0ed;border-color:#e5c2ba}.mobile-upload-item.failed .mobile-upload-state{color:#9a4337}
.drop-zone.upload-active{pointer-events:none;opacity:.7}
@media(max-width:600px){
  .mobile-upload-item{grid-template-columns:26px minmax(0,1fr) auto}
  .mobile-upload-size{display:none}
  .mobile-upload-state{min-width:62px}
}

/* v2.4.1 – routing + lightbox */
.editor-lightbox-image{cursor:zoom-in}
.clean-photo-card{cursor:zoom-in}
.lightbox-stage img{cursor:default}
.route-editor .muted::after{
  content:"  Útvonaladatok: OpenStreetMap / OSRM.";
  font-weight:600;
}
@media(max-width:760px){
  .photo-lightbox{touch-action:pan-y}
}

/* v2.4.3 – TV / Vetítés mód */
.tv-body{margin:0;background:#000;color:#fff;overflow:hidden;font-family:"DM Sans",system-ui,sans-serif}
.tv-shell{position:fixed;inset:0;background:#000}
.tv-toolbar{
  position:absolute;left:0;right:0;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;
  gap:20px;padding:14px 18px;background:linear-gradient(rgba(0,0,0,.86),rgba(0,0,0,.15),transparent);
  transition:opacity .25s,transform .25s
}
.tv-toolbar-hidden{opacity:0;transform:translateY(-100%);pointer-events:none}
.tv-title{display:grid;gap:2px}.tv-title strong{font-size:16px}.tv-title span{font-size:11px;color:rgba(255,255,255,.65)}
.tv-controls{display:flex;align-items:center;gap:7px}
.tv-controls button,.tv-controls select,.tv-exit{
  border:1px solid rgba(255,255,255,.22);background:rgba(0,0,0,.42);color:#fff;border-radius:10px;
  min-height:38px;padding:8px 11px;font-weight:800;text-decoration:none;cursor:pointer
}
.tv-controls button.active{background:#255a48}
.tv-controls select{width:auto}
.tv-exit{font-size:24px;line-height:20px;display:grid;place-items:center}
.tv-stage{position:absolute;inset:0;display:grid;place-items:center;background:#000}
.tv-stage>img{width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.tv-caption{
  position:absolute;left:0;right:0;bottom:0;padding:80px 6vw 32px;
  background:linear-gradient(transparent,rgba(0,0,0,.78));display:grid;gap:5px;transition:opacity .2s
}
.tv-caption.hidden{opacity:0;pointer-events:none}
.tv-caption strong{font-size:clamp(22px,3vw,18px);font-family:"Playfair Display",serif}
.tv-caption span{font-size:14px;color:rgba(255,255,255,.72)}
.tv-caption p{max-width:900px;margin:4px 0 0;font-size:16px;color:rgba(255,255,255,.85)}
.tv-counter{
  position:absolute;right:24px;bottom:24px;background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.18);
  border-radius:999px;padding:7px 11px;font-size:12px
}
.tv-empty{color:rgba(255,255,255,.65);font-size:18px}
.tv-help-panel{position:absolute;inset:0;z-index:100;background:rgba(0,0,0,.78);display:grid;place-items:center;padding:20px}
.tv-help-panel[hidden]{display:none}
.tv-help-card{position:relative;max-width:620px;background:#141816;border:1px solid rgba(255,255,255,.15);border-radius:20px;padding:26px;box-shadow:0 28px 80px rgba(0,0,0,.5)}
.tv-help-card h2{margin-top:0;font-family:"Playfair Display",serif;font-size:30px}
.tv-help-card p{line-height:1.6;color:rgba(255,255,255,.8)}
.tv-help-close{position:absolute;right:13px;top:9px;border:0;background:transparent;color:#fff;font-size:30px;cursor:pointer}
@media(max-width:760px){
  .tv-toolbar{align-items:flex-start;padding:10px}
  .tv-title{display:none}
  .tv-controls{width:100%;overflow-x:auto}
  .tv-controls button,.tv-controls select,.tv-exit{flex:0 0 auto}
  .tv-caption{padding:60px 18px 20px}
  .tv-caption strong{font-size:26px}
  .tv-counter{right:12px;bottom:12px}
}

/* v2.4.6 – stabil mobilos tömeges feltöltés */
.mobile-upload-status{
  margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#f8f7f2
}
.mobile-upload-progress{
  height:10px;background:#e2e5e1;border-radius:999px;overflow:hidden;margin-bottom:10px
}
.mobile-upload-progress span{
  display:block;width:0;height:100%;background:#255a48;border-radius:999px;transition:width .2s ease
}
.mobile-upload-status-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap
}
.mobile-upload-status-row strong{font-size:13px}
.mobile-upload-actions{display:flex;gap:8px;flex-wrap:wrap}
.mobile-upload-status small{display:block;margin-top:8px;color:var(--muted);line-height:1.45}
@media(max-width:760px){
  .mobile-upload-status-row{align-items:flex-start;flex-direction:column}
  .mobile-upload-actions{width:100%}
  .mobile-upload-actions .button{flex:1}
}

/* v2.4.8 – stabil képszerkesztő + helykereső */
.photo-editor{
  align-items:start;
  contain:layout paint;
  overflow:visible;
}
.photo-editor .drag-handle{
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
  z-index:8;
}
.photo-editor .photo-fields{
  min-width:0;
  width:100%;
  overflow:visible;
}
.photo-editor .photo-fields input,
.photo-editor .photo-fields textarea,
.photo-editor .photo-fields select{
  width:100%;
  box-sizing:border-box;
  transform:none!important;
  translate:none!important;
}
.photo-editor .fld-title,
.photo-editor .fld-description,
.photo-editor .fld-place-search{
  cursor:text;
}
.photo-editor:focus-within{
  border-color:rgba(37,90,72,.38);
  box-shadow:0 0 0 3px rgba(37,90,72,.07);
}
.photo-editor:focus-within .drag-handle{
  opacity:.45;
}

.photo-place-search{position:relative;z-index:20}
.place-search-wrap{position:relative}
.place-search-wrap .fld-place-search{padding-right:34px!important}
.place-search-clear{
  position:absolute;right:7px;top:50%;transform:translateY(-50%);
  width:25px;height:25px;border:0;border-radius:50%;
  background:transparent;color:#7e8b85;font-size:18px;line-height:1;cursor:pointer
}
.place-search-clear:hover{background:rgba(37,90,72,.08)}
.place-search-results{
  position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:1000;
  max-height:260px;overflow:auto;background:#fffdf8;border:1px solid var(--line);
  border-radius:13px;box-shadow:0 16px 36px rgba(30,47,40,.18);padding:5px
}
.place-result{
  width:100%;display:grid;gap:2px;text-align:left;border:0;background:transparent;
  border-radius:9px;padding:9px 10px;cursor:pointer;color:var(--ink)
}
.place-result:hover,.place-result:focus{background:rgba(37,90,72,.08);outline:none}
.place-result strong{font-size:12px}
.place-result span{
  font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.place-search-loading,.place-search-empty{
  padding:11px;color:var(--muted);font-size:11px
}

@media(max-width:480px){
  .photo-editor{
    contain:none;
    overflow:visible;
  }
  .photo-editor .drag-handle{
    top:8px;right:8px;
    width:34px;height:34px;display:grid;place-items:center;
    background:rgba(255,255,255,.92);border-radius:10px;
    box-shadow:0 2px 8px rgba(0,0,0,.08)
  }
  .photo-fields{
    padding-top:2px;
  }
  .photo-fields input,
  .photo-fields textarea,
  .photo-fields select{
    font-size:16px!important; /* iPhone/Android zoom és ugrálás elkerülése */
    padding:11px 12px!important;
  }
  .place-search-results{
    position:relative;
    top:auto;
    margin-top:5px;
    max-height:220px;
  }
}

/* v2.5.4 – fotókönyv-kijelölés */
.book-select-toolbar{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  margin:-4px 0 16px;
}
.book-selected-count{
  margin-left:auto;font-size:12px;font-weight:800;color:var(--forest);
}
.book-photo-check{
  display:none;
  position:absolute;right:9px;top:9px;z-index:8;
  width:28px;height:28px;border-radius:50%;
  place-items:center;
  background:rgba(255,255,255,.94);
  border:2px solid rgba(255,255,255,.95);
  color:transparent;
  box-shadow:0 3px 12px rgba(0,0,0,.22);
  font-weight:900;
}
.book-select-mode .book-photo-check{display:grid}
.book-select-mode .clean-photo-card{
  cursor:pointer;
}
.book-select-mode .clean-photo-card.book-selected{
  outline:4px solid #255a48;
  outline-offset:-4px;
}
.book-select-mode .clean-photo-card.book-selected .book-photo-check{
  background:#255a48;color:#fff;
}
.book-select-mode .clean-photo-card:not(.book-selected) img{
  filter:saturate(.72) brightness(.9);
}
@media(max-width:760px){
  .book-select-toolbar .button{flex:1 1 auto}
  .book-selected-count{width:100%;margin-left:0}
}

/* v2.5.5 – feltöltés előtti fájltörlés */
.upload-selected-panel{
  margin:12px 0 18px;
  padding:14px 16px;
  border:1px solid rgba(35,78,64,.15);
  border-radius:14px;
  background:#fbfaf6;
  box-sizing:border-box;
  max-width:100%;
}
.upload-selected-head{
  display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:10px;
}
.upload-selected-head span{font-size:12px;color:#758078}
.upload-file-chips{display:flex;gap:7px;flex-wrap:wrap}
.upload-file-chip{
  display:inline-flex;align-items:center;gap:5px;
  max-width:100%;
  padding:4px 5px 4px 10px;
  border:1px solid #d9dfdb;border-radius:999px;background:#fff;
  font-size:12px;
}
.upload-file-name{
  max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.upload-file-remove{
  width:22px;height:22px;min-width:22px;border:0;border-radius:50%;
  display:grid;place-items:center;padding:0;margin:0;
  background:#e9eeeb;color:#234e40;font-size:17px;font-weight:800;
  line-height:1;cursor:pointer;
}
.upload-file-remove:hover{background:#234e40;color:#fff}
.upload-limit-warning{
  margin-top:11px;padding:9px 11px;border-radius:9px;
  background:#fff0e8;color:#8a351f;font-size:12px;font-weight:800;
}
button:disabled,input[type="submit"]:disabled{
  opacity:.48!important;cursor:not-allowed!important;
}
@media(max-width:600px){
  .upload-file-name{max-width:145px}
  .upload-selected-panel{padding:12px}
}


/* v2.6.2 – egyszerű GPS nélküli kép-elhelyezés */
.geo-tools-head.simple{display:block}
.geo-simple-actions{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  margin-top:18px;padding-top:16px;border-top:1px solid var(--line)
}
.geo-simple-actions #selectedPhotoCount{
  margin-left:0;font-weight:700;color:var(--forest)
}
.geo-auto{margin-top:15px;color:var(--muted);font-size:13px}
.geo-auto summary{cursor:pointer;font-weight:700;color:var(--forest)}
.geo-auto form{margin-top:10px;padding:12px;background:rgba(37,90,72,.045);border-radius:12px}
.geo-auto p{margin:0;color:var(--muted)}

.geo-pick-bar{
  position:sticky;bottom:12px;z-index:1200;
  width:min(760px,calc(100% - 24px));margin:12px auto;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 14px;border-radius:16px;
  background:rgba(255,253,248,.97);border:1px solid var(--line);
  box-shadow:0 12px 35px rgba(25,50,40,.2)
}
.geo-pick-bar[hidden],.geo-map-prompt[hidden]{display:none!important}
.geo-pick-bar>div{display:flex;gap:8px}
.geo-pick-bar strong{font-size:13px}

.geo-map-prompt{
  position:fixed;left:50%;bottom:18px;transform:translateX(-50%);
  z-index:1500;display:flex;align-items:center;gap:14px;
  max-width:calc(100% - 24px);padding:12px 15px;border-radius:16px;
  background:#173f33;color:#fff;box-shadow:0 12px 35px rgba(0,0,0,.28)
}
.geo-map-prompt button{
  border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;
  border-radius:10px;padding:7px 10px;font-weight:700;cursor:pointer
}

/* Kijelöléskor a hosszú szerkesztőmezők eltűnnek, csak a képek maradnak. */
body.geo-pick-mode .album-layout aside>h2{
  position:static;background:transparent;padding:0
}
body.geo-pick-mode .photo-editor-list{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px
}
body.geo-pick-mode .photo-editor{
  display:block!important;min-height:0;padding:6px;cursor:pointer;
  border:2px solid transparent
}
body.geo-pick-mode .photo-editor[data-cat]{}
body.geo-pick-mode .photo-editor .photo-fields,
body.geo-pick-mode .photo-editor .drag-handle{
  display:none!important
}
body.geo-pick-mode .photo-editor>img,
body.geo-pick-mode .photo-editor .editor-lightbox-image{
  width:100%!important;height:auto!important;aspect-ratio:1/1;
  object-fit:cover;border-radius:11px
}
body.geo-pick-mode .photo-editor:has(.photo-select-box:not([data-missing-gps="1"])){
  display:none!important
}
body.geo-pick-mode .photo-select{
  left:10px;top:10px
}
body.geo-pick-mode .photo-editor:has(.photo-select-box:checked){
  border-color:var(--forest);box-shadow:0 0 0 2px rgba(37,90,72,.18)
}

@media(max-width:760px){
  .geo-simple-actions{display:grid;grid-template-columns:1fr}
  .geo-simple-actions .button{width:100%}
  .geo-pick-bar{
    width:calc(100% - 20px);bottom:8px;align-items:stretch;flex-direction:column
  }
  .geo-pick-bar>div{display:grid;grid-template-columns:1fr 1.4fr}
  .geo-pick-bar .button{width:100%}
  body.geo-pick-mode .photo-editor-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .geo-map-prompt{width:calc(100% - 20px);justify-content:space-between}
}

/* v2.6.3 – jelszó szem ikon; csak kiegészítés, más stílust nem ír felül */
.password-field{position:relative;width:100%}
.password-field input{width:100%;padding-right:48px!important}
.password-toggle{
  position:absolute;right:6px;top:50%;transform:translateY(-50%);
  width:38px;height:38px;border:0;background:transparent;color:#66736d;
  display:grid;place-items:center;cursor:pointer;border-radius:9px;line-height:1
}
.password-toggle:hover{background:rgba(37,90,72,.08)}
.password-toggle svg{
  width:21px;height:21px;display:block;fill:none;stroke:currentColor;
  stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round
}
.password-toggle .eye-visible{display:none}
.password-toggle.is-visible .eye-hidden{display:none}
.password-toggle.is-visible .eye-visible{display:block}


/* v2.6.4 – térképes fotó-popup galéria */
.photo-div-marker{position:relative}
.photo-marker-count{
  position:absolute;right:-8px;top:-8px;
  min-width:21px;height:21px;padding:0 5px;
  border-radius:999px;display:grid;place-items:center;
  background:#255a48;color:#fff;border:2px solid #fff;
  font-size:11px;line-height:1;font-weight:800;
  box-shadow:0 2px 7px rgba(0,0,0,.25)
}
.photo-gallery-popup .leaflet-popup-content{margin:10px}
.map-photo-gallery{
  position:relative;width:220px;max-width:70vw
}
.map-popup-image-btn{
  position:relative;display:block;width:100%;padding:0;border:0;
  border-radius:12px;overflow:hidden;background:#e8ece8;cursor:zoom-in
}
.map-popup-photo{
  display:block;width:100%;height:155px;object-fit:cover
}
.map-popup-zoom{
  position:absolute;right:7px;bottom:7px;
  width:29px;height:29px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(20,34,28,.78);color:#fff;
  font-size:17px;font-weight:800
}
.map-popup-nav{
  position:absolute;top:67px;z-index:5;
  width:34px;height:40px;border:0;border-radius:10px;
  background:rgba(255,255,255,.92);color:#173f33;
  font-size:29px;line-height:1;cursor:pointer;
  box-shadow:0 3px 10px rgba(0,0,0,.18)
}
.map-popup-prev{left:6px}
.map-popup-next{right:6px}
.map-popup-counter{
  position:absolute;left:50%;top:126px;transform:translateX(-50%);
  padding:3px 8px;border-radius:999px;
  background:rgba(20,34,28,.72);color:#fff;
  font-size:10px;font-weight:800
}
.map-popup-title{
  display:block;margin-top:8px;font-size:13px;line-height:1.3
}
.map-popup-hint{
  display:block;margin-top:3px;color:#718078;font-size:10px
}
@media(max-width:600px){
  .map-photo-gallery{width:205px}
  .map-popup-photo{height:145px}
  .map-popup-nav{top:62px}
  .map-popup-counter{top:117px}
}


/* v2.6.6 – csak számozott pont a térképen */
.photo-div-marker-wrap{
  background:transparent!important;
  border:0!important;
  overflow:visible!important;
}
.photo-count-marker{
  width:34px;
  height:34px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#255a48;
  color:#fff;
  border:3px solid #fff;
  box-shadow:0 2px 8px rgba(0,0,0,.32);
  font-size:12px;
  line-height:1;
  font-weight:800;
  box-sizing:border-box;
}


/* UI ICON SYSTEM v270 – egységes, mintához igazított ikonok */
.ui-svg{width:1.15em;height:1.15em;display:inline-block;vertical-align:-.18em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.ui-icon-badge{width:38px;height:38px;display:inline-grid;place-items:center;border-radius:11px;background:#fff;color:#b4233f;box-shadow:0 2px 10px rgba(0,0,0,.12);flex:0 0 38px}
.ui-icon-badge .ui-svg{width:22px;height:22px}
.feature-icon{width:48px;height:48px;border-radius:14px;margin-bottom:10px}
.feature-icon .ui-svg{width:27px;height:27px}
.inline-icon{display:inline-flex;align-items:center;gap:7px}
.album-tab .ui-svg,.button .ui-svg,.lightbox-map-btn .ui-svg{margin-right:5px}
.album-cover.icon-placeholder,.discover-placeholder.icon-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,#f9f7f1,#ebe9e2)}
.album-cover.icon-placeholder .ui-icon-badge,.discover-placeholder.icon-placeholder .ui-icon-badge{width:54px;height:54px;border-radius:16px}
.avatar-placeholder .ui-svg{width:48%;height:48%;color:#b4233f}
.security-link{display:inline-flex;align-items:center;gap:8px;margin-top:12px}

/* UI ICON SYSTEM v272 – teljes, egységes ikonkészlet */
.ui-svg{width:1.18em;height:1.18em;display:inline-block;vertical-align:-.19em;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.ui-icon-badge{width:40px;height:40px;display:inline-grid;place-items:center;border-radius:12px;background:#fff;color:#b4233f;border:1px solid rgba(180,35,63,.08);box-shadow:0 3px 12px rgba(25,35,31,.10);flex:0 0 40px}
.ui-icon-badge .ui-svg{width:22px;height:22px}.ui-icon-badge.route-badge{background:#f7f9f7;box-shadow:none;border-color:#e1e8e3;color:#b4233f}
.inline-icon{display:inline-flex!important;align-items:center;gap:7px}.icon-only{display:inline-grid!important;place-items:center!important}.icon-only .ui-svg{margin:0!important}
.button .ui-svg,.album-tab .ui-svg,.like-button .ui-svg,.lightbox-map-btn .ui-svg,.back .ui-svg{margin-right:4px}.route-icon{background:transparent!important;font-size:inherit!important}
.route-icon .ui-icon-badge{width:40px;height:40px;border-radius:12px}.route-icon .ui-svg{width:22px;height:22px}
.drop-icon{background:#fff!important;color:#b4233f!important;border:1px solid rgba(180,35,63,.10);box-shadow:0 7px 20px rgba(25,35,31,.12)!important}.drop-icon .ui-svg{width:28px;height:28px}
.drag-handle .ui-svg,.photo-order-grip .ui-svg{width:20px;height:20px;color:#75847d}.comment-avatar.icon-placeholder{color:#b4233f}.comment-avatar.icon-placeholder .ui-svg{width:24px;height:24px}
.empty-icon{display:inline-block;margin-bottom:8px}.book-photo-check .ui-svg{width:14px;height:14px;stroke-width:2.4}.photo-meta .ui-svg{width:14px;height:14px;margin-right:2px;color:#b4233f}
.lightbox-close .ui-svg{width:28px;height:28px}.lightbox-nav .ui-svg{width:42px;height:42px}.book-close .ui-svg{width:22px;height:22px}#prevPage .ui-svg,#nextPage .ui-svg{width:20px;height:20px}
.tv-controls .ui-svg,.tv-help-close .ui-svg{width:20px;height:20px}.map-popup-nav .ui-svg{width:20px;height:20px}.map-popup-zoom .ui-svg{width:17px;height:17px}.upload-file-remove .ui-svg{width:14px;height:14px}
.pricing-page li .ui-svg{color:#b4233f;margin-right:5px}.password-toggle svg{stroke:#66766f!important;fill:none!important}


/* v2.7.3 – útvonal szerkesztés és lejátszás közvetlenül a térképnél */
.map-route-tools{
  margin:0 0 10px;
  padding:12px;
  border:1px solid #d9dfdc;
  border-radius:16px;
  background:#fffdf8;
  box-shadow:0 5px 18px rgba(25,45,37,.06);
}
.map-route-tools-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.map-route-tools-head > div{min-width:0}
.map-route-tools-head .eyebrow{display:block;margin-bottom:2px}
.map-route-tools-head strong{display:block;font-size:15px;color:#1d332a}
.map-route-editor{
  margin-top:10px;
  padding:12px;
  border-radius:13px;
  background:#f5f7f5;
  border:1px solid #dfe6e2;
}
.map-route-editor .route-form-grid{margin-top:0}
.map-replay-controls{
  margin-top:10px;
  padding:9px 0 0;
  border-top:1px solid #e2e7e4;
}
.map-replay-controls select{max-width:260px}
.replay-status{min-width:70px;font-size:12px;color:#66756e}
@media(max-width:700px){
  .map-route-tools{padding:10px}
  .map-route-tools-head{align-items:stretch}
  .map-route-tools-head > div{flex:1}
  .map-route-tools-head .button{white-space:nowrap}
  .map-replay-controls{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 78px;
    gap:7px!important;
  }
  .map-replay-controls #routeReplayBtn{
    grid-column:1 / -1;
    width:100%;
    justify-content:center;
  }
  .map-replay-controls .replay-status{grid-column:1 / -1}
  .map-route-editor .route-form-grid{grid-template-columns:1fr!important}
}


/* v2.7.4 – egységes láthatóságválasztó */
.visibility-field{width:100%}
.visibility-label{display:block;font-weight:800;font-size:13px;margin-bottom:8px;color:#44544d}
.visibility-picker{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  width:100%;
}
.visibility-choice{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:11px 12px;
  border:1px solid #d8dfdb;
  border-radius:13px;
  background:#fff;
  cursor:pointer;
  transition:.16s ease;
  box-sizing:border-box;
}
.visibility-choice:hover{border-color:#b9c8c0;background:#fbfdfc}
.visibility-choice input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.visibility-choice:has(input:checked){
  border-color:#b4233f;
  background:#fff7f8;
  box-shadow:0 0 0 2px rgba(180,35,63,.08);
}
.visibility-choice-icon{
  width:36px;height:36px;
  border-radius:10px;
  display:grid;place-items:center;
  flex:0 0 36px;
  background:#fff;
  color:#b4233f;
  box-shadow:0 2px 9px rgba(0,0,0,.10);
}
.visibility-choice-icon .ui-svg{width:21px;height:21px}
.visibility-choice strong{display:block;font-size:13px;color:#24362f}
.visibility-choice small{display:block;margin-top:2px;font-size:10px;line-height:1.25;color:#75817b}
.album-visibility-summary,.public-visibility-line{
  display:flex;align-items:center;gap:6px;
}
.album-visibility-summary .ui-svg,.public-visibility-line .ui-svg{
  color:#b4233f;width:17px;height:17px;
}
.public-visibility-line{margin:4px 0 8px;color:#64736c;font-size:13px}

/* v2.7.4 – fix Fel gomb */
.back-to-top{
  position:fixed;
  right:20px;
  bottom:22px;
  z-index:3000;
  display:flex;
  align-items:center;
  gap:6px;
  border:1px solid rgba(180,35,63,.22);
  border-radius:999px;
  padding:10px 13px;
  background:#fff;
  color:#b4233f;
  font-weight:800;
  font-size:12px;
  box-shadow:0 7px 24px rgba(0,0,0,.16);
  cursor:pointer;
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:.18s ease;
}
.back-to-top.show{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.back-to-top:hover{background:#fff7f8}
.back-to-top .ui-svg{width:18px;height:18px}

@media(max-width:700px){
  .visibility-picker{grid-template-columns:1fr}
  .visibility-choice{padding:9px 10px}
  .back-to-top{right:12px;bottom:14px;padding:10px}
  .back-to-top span{display:none}
}


/* v2.7.5 – Új album láthatóságválasztó elrendezés javítása */
.new-album form{
  display:grid;
  grid-template-columns:1fr!important;
  gap:14px;
  align-items:stretch!important;
}
.new-album form > input[name="title"]{
  grid-column:1 / -1;
  width:100%;
}
.new-album .visibility-picker{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  width:100%;
}
.new-album .visibility-choice{
  min-height:74px;
  width:100%;
  padding:12px 14px;
}
.new-album .visibility-choice > span:last-child{
  min-width:0;
}
.new-album .visibility-choice strong{
  font-size:14px;
}
.new-album .visibility-choice small{
  font-size:11px;
}
.new-album form > .button{
  grid-column:1 / -1;
  justify-self:start;
  min-width:190px;
  margin-top:2px;
}

/* Albumbeállításnál se szoruljon össze a 3 választás */
.inline-settings .visibility-field{
  flex:1 1 680px;
  min-width:min(100%,680px);
}
.inline-settings .visibility-picker{
  width:100%;
}

@media(max-width:760px){
  .new-album .visibility-picker,
  .inline-settings .visibility-picker{
    grid-template-columns:1fr;
  }
  .new-album .visibility-choice{
    min-height:0;
  }
  .new-album form > .button{
    width:100%;
    justify-self:stretch;
  }
}


/* v2.7.6 – kompakt Leaflet térképválasztó */
.leaflet-control-layers{
  border:1px solid rgba(30,55,45,.16)!important;
  border-radius:10px!important;
  box-shadow:0 3px 12px rgba(0,0,0,.12)!important;
  background:rgba(255,255,255,.96)!important;
  overflow:hidden;
}
.leaflet-control-layers-toggle{
  width:34px!important;
  height:34px!important;
  background-size:18px 18px!important;
  background-position:center!important;
}
.leaflet-retina .leaflet-control-layers-toggle{
  background-size:18px 18px!important;
}
.leaflet-control-layers-expanded{
  padding:7px 9px!important;
  min-width:0!important;
  max-width:190px!important;
  font-size:12px!important;
  line-height:1.25!important;
}
.leaflet-control-layers-expanded .leaflet-control-layers-toggle{
  display:none!important;
}
.leaflet-control-layers-list{
  margin:0!important;
}
.leaflet-control-layers label{
  margin:0!important;
  padding:3px 1px!important;
  white-space:nowrap;
  font-size:12px!important;
}
.leaflet-control-layers-selector{
  margin-top:1px!important;
  margin-right:5px!important;
  transform:scale(.88);
}
.leaflet-control-layers-separator{
  margin:5px 0!important;
}
.leaflet-top.leaflet-right{
  top:8px!important;
  right:8px!important;
}
.leaflet-top.leaflet-right .leaflet-control{
  margin-top:0!important;
  margin-right:0!important;
}

/* Leaflet attribution legyen visszafogott, zászló nélkül */
.leaflet-control-attribution{
  padding:1px 5px!important;
  font-size:9px!important;
  line-height:14px!important;
  background:rgba(255,255,255,.78)!important;
  color:#68746e!important;
}
.leaflet-control-attribution a{
  color:#586a62!important;
}

@media(max-width:700px){
  .leaflet-control-layers-toggle{
    width:32px!important;
    height:32px!important;
  }
  .leaflet-control-layers-expanded{
    max-width:165px!important;
    padding:6px 8px!important;
    font-size:11px!important;
  }
  .leaflet-control-layers label{font-size:11px!important}
}


/* v2.7.7 – térképréteg-választó: mindig látható, de kompakt */
.leaflet-control-layers,
.leaflet-control-layers.leaflet-control-layers-expanded{
  min-width:132px!important;
  max-width:155px!important;
  padding:5px 7px!important;
  border:1px solid rgba(30,55,45,.18)!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 3px 10px rgba(0,0,0,.12)!important;
}
.leaflet-control-layers-toggle{
  display:none!important;
}
.leaflet-control-layers-list{
  display:block!important;
  margin:0!important;
}
.leaflet-control-layers-base label{
  display:block!important;
  margin:0!important;
  padding:2px 0!important;
  min-height:0!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.leaflet-control-layers-base label span{
  font-size:11px!important;
  color:#263a31!important;
}
.leaflet-control-layers-selector{
  width:13px!important;
  height:13px!important;
  margin:0 5px 0 0!important;
  vertical-align:-2px!important;
  transform:none!important;
}
.leaflet-control-layers-separator{
  display:none!important;
}

/* Attribution: csak forrásmegjelölés, visszafogottan */
.leaflet-control-attribution{
  max-width:70%!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  padding:1px 4px!important;
  font-size:9px!important;
  line-height:13px!important;
}
.leaflet-control-attribution img,
.leaflet-control-attribution [class*="flag"],
.leaflet-control-attribution [title*="Ukraine" i],
.leaflet-control-attribution [alt*="Ukraine" i]{
  display:none!important;
}

@media(max-width:700px){
  .leaflet-control-layers,
  .leaflet-control-layers.leaflet-control-layers-expanded{
    min-width:118px!important;
    max-width:135px!important;
    padding:4px 6px!important;
  }
  .leaflet-control-layers-base label span{
    font-size:10px!important;
  }
}


/* v2.7.8 – OpenStreetMap forrásmegjelölés ne legyen levágva */
.leaflet-control-attribution{
  max-width:none!important;
  width:auto!important;
  overflow:visible!important;
  white-space:normal!important;
  text-overflow:clip!important;
  padding:2px 5px!important;
  font-size:9px!important;
  line-height:12px!important;
  background:rgba(255,255,255,.86)!important;
  color:#68746e!important;
  border-radius:5px 0 0 0!important;
}
.leaflet-control-attribution a{
  white-space:nowrap!important;
}
@media(max-width:700px){
  .leaflet-control-attribution{
    max-width:82vw!important;
    font-size:8px!important;
    line-height:11px!important;
    padding:2px 4px!important;
  }
}


/* v2.7.9 – egységes lábléc */
.site-footer{
  margin-top:42px;
  border-top:1px solid #dde3df;
  background:#f7f5ef;
  color:#6b7771;
}
.site-footer-inner{
  max-width:1180px;
  margin:0 auto;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  font-size:12px;
}
.site-footer nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.site-footer a{color:#53665d;text-decoration:none}
.site-footer a:hover{color:#b4233f;text-decoration:underline}

/* v2.7.9 – mobil kamera -> közvetlen albumfeltöltés */
.mobile-camera-upload{display:none}
@media(max-width:760px){
  .mobile-camera-upload{
    display:block;
    margin-top:14px;
    padding:14px;
    border:1px solid #d8dfdb;
    border-radius:15px;
    background:#fffdf8;
  }
  .mobile-camera-upload-copy{margin-bottom:11px}
  .mobile-camera-upload-copy strong{display:block;color:#22382e;font-size:14px}
  .mobile-camera-upload-copy small{
    display:block;margin-top:3px;color:#6d7a74;line-height:1.4
  }
  .mobile-camera-button{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
  }
  .mobile-camera-button .ui-svg{width:19px;height:19px}
  .mobile-camera-progress{margin-top:11px}
  .mobile-camera-progress-row{
    display:flex;justify-content:space-between;gap:10px;align-items:center;
    font-size:12px;color:#586a61
  }
  .mobile-camera-track{
    height:7px;margin-top:6px;background:#e3e8e5;
    border-radius:999px;overflow:hidden
  }
  .mobile-camera-track span{
    display:block;width:0;height:100%;background:#255a48;
    border-radius:inherit;transition:width .15s ease
  }
  .site-footer-inner{
    padding:16px 14px;
    flex-direction:column;
    align-items:flex-start;
  }
}


/* v2.7.10 – mobil feltöltőikon biztos megjelenítése */
.drop-icon{
  display:grid!important;
  place-items:center!important;
  visibility:visible!important;
  opacity:1!important;
  overflow:visible!important;
}
.drop-upload-svg{
  display:block!important;
  width:29px!important;
  height:29px!important;
  fill:none!important;
  stroke:#b4233f!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.drop-text-mobile{display:none}
@media(max-width:760px){
  .drop-icon{
    width:52px!important;
    height:52px!important;
    margin-bottom:12px!important;
  }
  .drop-upload-svg{
    width:27px!important;
    height:27px!important;
  }
  .drop-text-desktop{display:none!important}
  .drop-text-mobile{display:inline!important}
}


/* v2.7.11 – mobil térképes lapozó + Mutasd a térképen */
.map-popup-nav,
.map-popup-image-btn,
.lightbox-map-btn{
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent;
}
@media(max-width:760px){
  .map-photo-gallery{
    width:min(235px,72vw)!important;
  }
  .map-popup-nav{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    min-height:46px!important;
    display:grid!important;
    place-items:center!important;
    z-index:30!important;
    border-radius:50%!important;
  }
  .map-popup-prev{left:-8px!important}
  .map-popup-next{right:-8px!important}
  .map-popup-nav .ui-svg{
    width:24px!important;
    height:24px!important;
  }
  .lightbox-map-btn{
    min-height:44px!important;
    padding:10px 13px!important;
    position:relative!important;
    z-index:50!important;
  }
  .lightbox-info{
    position:relative!important;
    z-index:40!important;
  }
}


/* v2.7.12 – mobil popup lapozó: swipe + biztos touch gombok */
.map-photo-gallery{
  touch-action:pan-y!important;
  overscroll-behavior:contain;
}
.map-popup-photo{
  user-select:none!important;
  -webkit-user-select:none!important;
  -webkit-user-drag:none!important;
  pointer-events:none!important;
}
.map-popup-nav{
  touch-action:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
}
@media(max-width:760px){
  .map-popup-nav{
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 3px 14px rgba(0,0,0,.28)!important;
  }
  .map-popup-hint::after{
    content:" · Ujjal is lapozható";
  }
}


/* v2.7.13 – GPS útvonalrögzítés */
.gps-track-panel{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid #e2e7e4;
}
.gps-track-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.gps-track-head strong{display:block;color:#20362d;font-size:14px}
.gps-track-status,.gps-track-finish{
  margin-top:10px;padding:12px;border:1px solid #e0e6e2;
  border-radius:13px;background:#f7f9f8;
}
.gps-recording-line{display:flex;align-items:center;gap:8px;color:#8d1d34}
.gps-recording-dot{
  width:10px;height:10px;border-radius:50%;background:#b4233f;
  box-shadow:0 0 0 4px rgba(180,35,63,.12);
  animation:gpsPulse 1.4s ease-in-out infinite;
}
@keyframes gpsPulse{
  0%,100%{transform:scale(1);box-shadow:0 0 0 4px rgba(180,35,63,.12)}
  50%{transform:scale(1.12);box-shadow:0 0 0 7px rgba(180,35,63,.06)}
}
.gps-track-stats{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;margin-top:11px;
}
.gps-track-stats span{
  padding:8px 9px;border-radius:10px;background:#fff;border:1px solid #e4e9e6;
}
.gps-track-stats small{display:block;color:#7a8781;font-size:10px}
.gps-track-stats strong{display:block;margin-top:2px;color:#253b32;font-size:13px}
.gps-track-actions,.gps-track-finish-actions{
  display:flex;gap:8px;flex-wrap:wrap;margin-top:11px;
}
.gps-track-note{margin:9px 0 0;color:#738079;font-size:11px;line-height:1.4}
.gps-track-finish-title{
  display:flex;justify-content:space-between;gap:10px;align-items:center;
}
.gps-track-finish-title span{color:#697770;font-size:12px}
.gps-track-save-grid{
  display:grid;grid-template-columns:2fr 1fr 1fr;gap:9px;margin-top:11px;
}
.gps-track-save-grid label{font-size:11px;color:#65736d}
.gps-track-save-grid input,.gps-track-save-grid select{
  width:100%;box-sizing:border-box;margin-top:4px;
}
@media(max-width:760px){
  .gps-track-head{align-items:stretch;flex-direction:column}
  .gps-track-head .button{width:100%;justify-content:center}
  .gps-track-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gps-track-save-grid{grid-template-columns:1fr}
  .gps-track-finish-actions{display:grid;grid-template-columns:1fr 1fr}
  .gps-track-finish-actions #gpsTrackSave{grid-column:1 / -1}
}


/* v2.7.14 – útvonal módválasztó */
.route-mode-choice{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:12px 0 0;
}
.route-mode-choice-btn{
  appearance:none;
  border:1px solid #dce4df;
  background:#fff;
  border-radius:14px;
  padding:12px 13px;
  display:flex;
  align-items:center;
  gap:10px;
  text-align:left;
  color:#294239;
  cursor:pointer;
  min-height:64px;
}
.route-mode-choice-btn .ui-svg{
  width:24px;height:24px;flex:0 0 24px;
}
.route-mode-choice-btn span{display:flex;flex-direction:column;gap:2px}
.route-mode-choice-btn strong{font-size:13px}
.route-mode-choice-btn small{font-size:10px;color:#7a8781;line-height:1.25}
.route-mode-choice-btn.active{
  border-color:#27684f;
  box-shadow:0 0 0 2px rgba(39,104,79,.10);
  background:#f5f9f7;
}
.gps-track-panel[hidden]{display:none!important}
.gps-track-startbox{
  padding:14px;
  border:1px solid #e0e6e2;
  border-radius:13px;
  background:#f7f9f8;
}
.gps-track-startbox strong{display:block;color:#20362d}
.gps-track-startbox p{margin:5px 0 12px;color:#718078;font-size:12px;line-height:1.4}

@media(max-width:760px){
  .route-choice-head{display:block!important}
  .route-mode-choice{grid-template-columns:1fr 1fr;gap:8px}
  .route-mode-choice-btn{
    min-width:0;
    padding:11px 10px;
    align-items:flex-start;
  }
  .route-mode-choice-btn .ui-svg{width:21px;height:21px;flex-basis:21px}
  .route-mode-choice-btn strong{font-size:12px}
  .route-mode-choice-btn small{font-size:9px}
  .gps-track-startbox .button{width:100%;justify-content:center}
}


/* v2.7.15 – mobil Hely megadása */
.single-place-prompt{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 9px;
  padding:10px 12px;
  border:1px solid #d9e2dd;
  border-radius:12px;
  background:#f7faf8;
  color:#294139;
}
.single-place-prompt[hidden]{display:none!important}
.single-place-prompt strong{font-size:13px;white-space:nowrap}
.single-place-prompt span{font-size:11px;color:#6a7972;flex:1}
.single-place-prompt button{
  border:0;
  border-radius:9px;
  padding:7px 10px;
  background:#e7ece9;
  color:#40564c;
  font-weight:700;
}
#albumMap.placing{
  cursor:crosshair;
  outline:3px solid rgba(180,35,63,.18);
  outline-offset:2px;
}
@media(max-width:760px){
  .single-place-prompt{
    align-items:flex-start;
    flex-wrap:wrap;
  }
  .single-place-prompt strong{width:100%}
  .single-place-prompt span{font-size:12px;line-height:1.35}
}


/* v2.7.17 – Hely megadása: kiválasztott fotó + külön mentés */
.single-place-photo-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 10px;
  padding:10px 12px;
  background:#fffdf8;
  border:1px solid #d8dfdb;
  box-shadow:0 5px 18px rgba(0,0,0,.07);
}
.single-place-photo-preview{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
  flex:1;
}
.single-place-photo-preview img{
  width:68px;
  height:54px;
  flex:0 0 68px;
  object-fit:cover;
  border-radius:9px;
  background:#e9eeeb;
}
.single-place-photo-preview > div{
  min-width:0;
}
.single-place-photo-preview small{
  display:block;
  margin-bottom:2px;
  font-size:9px;
  letter-spacing:.08em;
  font-weight:800;
  color:#8b3c4e;
}
.single-place-photo-preview strong{
  display:block;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:#243a31;
  font-size:13px;
}
.single-place-photo-preview span{
  display:block;
  margin-top:3px;
  color:#697871;
  font-size:11px;
  line-height:1.3;
}
.single-place-photo-preview .single-place-coords{
  color:#8b3c4e;
  font-weight:700;
}
.single-place-actions{
  display:flex;
  gap:7px;
  flex:0 0 auto;
}
@media(max-width:760px){
  .single-place-photo-card{
    position:sticky;
    top:6px;
    z-index:900;
    flex-direction:column;
    align-items:stretch;
    padding:9px;
  }
  .single-place-photo-preview img{
    width:76px;
    height:60px;
    flex-basis:76px;
  }
  .single-place-photo-preview strong{
    white-space:normal;
    max-height:2.6em;
    overflow:hidden;
  }
  .single-place-actions{
    display:grid;
    grid-template-columns:1fr 2fr;
  }
  .single-place-actions .button{
    width:100%;
    justify-content:center;
  }
}


/* v2.7.18 – a fotók sarkán lévő kijelölőnégyzet csak kijelölési módban látszik */
.photo-editor .photo-select{
  display:none!important;
}
body.geo-pick-mode .photo-editor .photo-select{
  display:block!important;
  left:10px!important;
  top:10px!important;
}


/* v2.7.19 – helykereső a térképhez */
.map-place-search{
  position:relative;
  z-index:1100;
  margin:0 0 8px;
}
.map-place-search-row{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 38px;
  align-items:center;
  gap:4px;
  padding:4px;
  border:1px solid #d5ddd8;
  border-radius:12px;
  background:#fff;
  box-shadow:0 3px 12px rgba(0,0,0,.07);
}
.map-place-search-icon{
  display:grid;
  place-items:center;
  color:#b4233f;
}
.map-place-search-icon .ui-svg{
  width:19px;
  height:19px;
}
#mapPlaceSearchInput{
  width:100%;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:9px 4px!important;
  font:inherit;
}
.map-place-search-clear{
  width:32px;
  height:32px;
  border:0;
  border-radius:9px;
  background:#f0f3f1;
  color:#66756e;
  font-size:20px;
  cursor:pointer;
}
.map-place-search-results{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  z-index:1500;
  margin-top:5px;
  max-height:280px;
  overflow:auto;
  border:1px solid #d7dfda;
  border-radius:12px;
  background:#fff;
  box-shadow:0 12px 28px rgba(0,0,0,.16);
}
.map-place-search-result{
  width:100%;
  display:block;
  border:0;
  border-bottom:1px solid #edf0ee;
  padding:10px 12px;
  text-align:left;
  background:#fff;
  cursor:pointer;
}
.map-place-search-result:last-child{
  border-bottom:0;
}
.map-place-search-result:hover,
.map-place-search-result:focus{
  background:#f5f8f6;
}
.map-place-search-result strong{
  display:block;
  color:#263b32;
  font-size:13px;
}
.map-place-search-result span{
  display:block;
  margin-top:2px;
  color:#6b7972;
  font-size:11px;
  line-height:1.3;
}
.map-place-search-loading,
.map-place-search-empty{
  padding:12px;
  color:#6e7b75;
  font-size:12px;
}
@media(max-width:760px){
  .map-place-search{
    position:sticky;
    top:5px;
    z-index:1200;
  }
  .map-place-search-row{
    grid-template-columns:32px minmax(0,1fr) 36px;
  }
  #mapPlaceSearchInput{
    font-size:16px!important;
  }
  .map-place-search-results{
    max-height:42vh;
  }
}


/* v2.7.20 – modern, becsukható rétegválasztó */
.leaflet-top.leaflet-right{
  top:9px!important;
  right:9px!important;
}
.leaflet-top.leaflet-right .leaflet-control{
  margin:0!important;
}
.leaflet-control-layers{
  min-width:0!important;
  max-width:none!important;
  padding:0!important;
  border:1px solid rgba(35,56,48,.14)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.95)!important;
  box-shadow:0 5px 16px rgba(0,0,0,.12)!important;
  overflow:hidden!important;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.leaflet-control-layers-toggle{
  display:block!important;
  width:38px!important;
  height:38px!important;
  margin:0!important;
  background-size:18px 18px!important;
  background-position:center!important;
  opacity:.78;
}
.leaflet-control-layers-expanded{
  min-width:142px!important;
  max-width:175px!important;
  padding:7px 9px!important;
  border-radius:12px!important;
}
.leaflet-control-layers-expanded .leaflet-control-layers-toggle{
  display:none!important;
}
.leaflet-control-layers-list{
  display:block!important;
  margin:0!important;
  font-size:11px!important;
}
.leaflet-control-layers-base label{
  display:block!important;
  margin:0!important;
  padding:4px 2px!important;
  white-space:nowrap!important;
  line-height:1.25!important;
}
.leaflet-control-layers-base label span{
  font-size:11px!important;
  color:#31463d!important;
}
.leaflet-control-layers-selector{
  width:13px!important;
  height:13px!important;
  margin:0 6px 0 0!important;
  vertical-align:-2px!important;
}
.leaflet-control-layers-separator{
  margin:5px 0!important;
}

/* Mobil Fel gomb – mindig jól látható nyíl */
@media(max-width:760px){
  .leaflet-top.leaflet-right{
    top:7px!important;
    right:7px!important;
  }
  .leaflet-control-layers-toggle{
    width:36px!important;
    height:36px!important;
    background-size:17px 17px!important;
  }
  .leaflet-control-layers-expanded{
    min-width:128px!important;
    max-width:150px!important;
    padding:6px 8px!important;
  }
  .leaflet-control-layers-base label span{
    font-size:10px!important;
  }

  .back-to-top{
    display:grid!important;
    place-items:center!important;
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    min-height:46px!important;
    padding:0!important;
    right:14px!important;
    bottom:18px!important;
    border-radius:50%!important;
    background:#fff!important;
    color:#b4233f!important;
    border:1px solid rgba(180,35,63,.25)!important;
    box-shadow:0 7px 22px rgba(0,0,0,.18)!important;
    z-index:5000!important;
  }
  .back-to-top .ui-svg{
    display:block!important;
    width:23px!important;
    height:23px!important;
  }
  .back-to-top span{
    display:none!important;
  }
}


/* v2.7.25 – célzott korrekciók */

/* Bal kijelölőnégyzet marad. */
.photo-editor .photo-select{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}

/* Jobb oldali rendezőfogantyú marad, fehér doboz nélkül. */
.photo-editor .drag-handle{
  background:transparent!important;
  background-color:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
}

/* Mobil Fel gomb. */
@media(max-width:760px){
  .back-to-top{
    display:grid!important;
    place-items:center!important;
    width:46px!important;
    height:46px!important;
    right:14px!important;
    bottom:16px!important;
    padding:0!important;
    border-radius:50%!important;
    z-index:99999!important;
  }
  .back-to-top .ui-svg{width:22px!important;height:22px!important;margin:0!important}
  .back-to-top span{display:none!important}
}

/* Rétegválasztó: diszkrét, jobb felső, becsukható. */
.leaflet-top.leaflet-right{top:8px!important;right:8px!important}
.leaflet-control-layers{
  border-radius:11px!important;
  border:1px solid rgba(35,56,48,.15)!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 4px 15px rgba(0,0,0,.13)!important;
  overflow:hidden!important;
}
.leaflet-control-layers-toggle{
  width:38px!important;height:38px!important;
  background-size:18px 18px!important;
}
.leaflet-control-layers-expanded{
  min-width:138px!important;max-width:168px!important;
  padding:7px 9px!important;
}
@media(max-width:760px){
  .leaflet-control-layers-toggle{width:36px!important;height:36px!important}
  .leaflet-control-layers-expanded{min-width:126px!important;max-width:150px!important}
}


/* =========================================================
   v2.7.26 – mobil Fel gomb + kompakt rétegválasztó
   ========================================================= */

/* ---------- FEL GOMB ---------- */
.back-to-top{
  position:fixed!important;
}
@media(max-width:760px){
  .back-to-top{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    right:12px!important;
    bottom:14px!important;
    padding:0!important;
    margin:0!important;
    border-radius:50%!important;
    background:#ffffff!important;
    border:1px solid rgba(37,90,72,.22)!important;
    box-shadow:0 5px 18px rgba(0,0,0,.18)!important;
    color:#255a48!important;
    z-index:2147483000!important;
    align-items:center!important;
    justify-content:center!important;
  }

  /* Mobilon biztos saját nyíl, nem függ az SVG sprite-tól. */
  .back-to-top .ui-svg,
  .back-to-top span{
    display:none!important;
  }
  .back-to-top::before{
    content:"↑";
    display:block!important;
    font-family:Arial,sans-serif!important;
    font-size:27px!important;
    font-weight:700!important;
    line-height:1!important;
    color:#255a48!important;
    transform:translateY(-1px);
  }

  .back-to-top.show{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  .back-to-top:not(.show){
    display:none!important;
  }
}

/* ---------- LEAFLET RÉTEGVÁLASZTÓ ---------- */
.leaflet-top.leaflet-right{
  top:8px!important;
  right:8px!important;
}

.leaflet-control-layers{
  margin:0!important;
  padding:0!important;
  min-width:0!important;
  max-width:none!important;
  border:1px solid rgba(35,56,48,.15)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 3px 12px rgba(0,0,0,.12)!important;
  overflow:hidden!important;
}

/* Becsukott állapot: tényleg csak egy kis gomb. */
.leaflet-control-layers:not(.leaflet-control-layers-expanded){
  width:34px!important;
  height:34px!important;
}

.leaflet-control-layers-toggle{
  display:block!important;
  width:34px!important;
  height:34px!important;
  margin:0!important;
  padding:0!important;
  background-size:16px 16px!important;
  background-position:center!important;
  opacity:.78!important;
}

/* Kinyitott állapot: nincs üres felső sáv. */
.leaflet-control-layers-expanded{
  width:auto!important;
  height:auto!important;
  min-width:126px!important;
  max-width:150px!important;
  padding:5px 7px!important;
  border-radius:10px!important;
}

.leaflet-control-layers-expanded .leaflet-control-layers-toggle{
  display:none!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
}

.leaflet-control-layers-list{
  margin:0!important;
  padding:0!important;
}

.leaflet-control-layers-base,
.leaflet-control-layers-overlays{
  margin:0!important;
  padding:0!important;
}

.leaflet-control-layers-base label,
.leaflet-control-layers-overlays label{
  display:block!important;
  margin:0!important;
  padding:3px 1px!important;
  min-height:0!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}

.leaflet-control-layers-base label span,
.leaflet-control-layers-overlays label span{
  font-size:10px!important;
  line-height:1.15!important;
  color:#31463d!important;
}

.leaflet-control-layers-selector{
  width:12px!important;
  height:12px!important;
  margin:0 5px 0 0!important;
  vertical-align:-2px!important;
  transform:none!important;
}

.leaflet-control-layers-separator{
  margin:4px 0!important;
}

@media(max-width:760px){
  .leaflet-top.leaflet-right{
    top:6px!important;
    right:6px!important;
  }

  .leaflet-control-layers:not(.leaflet-control-layers-expanded){
    width:32px!important;
    height:32px!important;
  }

  .leaflet-control-layers-toggle{
    width:32px!important;
    height:32px!important;
    background-size:15px 15px!important;
  }

  .leaflet-control-layers-expanded{
    min-width:118px!important;
    max-width:138px!important;
    padding:5px 6px!important;
  }

  .leaflet-control-layers-base label span,
  .leaflet-control-layers-overlays label span{
    font-size:9.5px!important;
  }
}


/* v2.7.29 – minden fotóhely azonos számozott zöld marker */
.photo-div-marker-wrap{
  background:transparent!important;
  border:0!important;
}
.photo-count-marker{
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:#255a48!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 4px 12px rgba(0,0,0,.24)!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
}


/* v2.7.30 – egyedi fotómarker pontosan ugyanolyan zöld számozott stílusban */
.photo-single-marker-wrap{
  background:transparent!important;
  border:0!important;
}
.photo-single-marker{
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:#255a48!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 3px 10px rgba(0,0,0,.25)!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
}

/* Leaflet markercluster számozott körökkel vizuálisan egységesebb */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large{
  background:rgba(37,90,72,.20)!important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div{
  background:#255a48!important;
  color:#fff!important;
  font-weight:800!important;
}
.brand img {
    width: auto;
    height: 38px;
    display: block;
}

@media (max-width: 600px) {
    .brand img {
        height: 32px;
    }
}
/* ÚtiKépek fejléc logó */
.topbar .brand {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    height: 64px !important;
}

.topbar .brand img {
    display: block !important;
    width: auto !important;
    height: 54px !important;
    max-width: 260px !important;
    max-height: 54px !important;
    object-fit: contain !important;
}

@media (max-width: 600px) {
    .topbar .brand {
        height: 52px !important;
    }

    .topbar .brand img {
        height: 44px !important;
        max-width: 210px !important;
        max-height: 44px !important;
    }
}

/* =========================================================
   ÚtiKépek – KÖZÖS HEADER MINDEN OLDALON
   ========================================================= */
.site-header{
    min-height:76px !important;
    padding:10px max(24px,calc((100vw - 1220px)/2)) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:22px !important;
    box-sizing:border-box !important;
    background:#fffdf8 !important;
    border-bottom:1px solid #e5e6e1 !important;
    position:sticky !important;
    top:0 !important;
    z-index:1000 !important;
}
.site-brand{
    display:flex !important;
    align-items:center !important;
    gap:9px !important;
    height:56px !important;
    flex:0 0 auto !important;
    text-decoration:none !important;
    color:#063b58 !important;
}
.site-brand::before,.site-brand::after{display:none!important;content:none!important}
.site-brand-icon{
    width:43px !important;
    height:43px !important;
    flex:0 0 43px !important;
    display:block !important;
}
.site-brand-sun{fill:#f4a622 !important}
.site-brand-water{stroke:#119dc4 !important}
.site-brand-word{
    display:flex !important;
    align-items:baseline !important;
    white-space:nowrap !important;
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:24px !important;
    line-height:1 !important;
    letter-spacing:-.6px !important;
}
.site-brand-word b{color:#063b58!important;font-weight:800!important}
.site-brand-word strong{color:#119dc4!important;font-weight:800!important}
.site-nav{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:28px;
    margin-left:auto;
}
.site-nav a,
.site-nav-logout button{
    border:0;
    background:none;
    padding:8px 0;
    color:#24342e;
    text-decoration:none;
    font:inherit;
    font-weight:700;
    cursor:pointer;
    white-space:nowrap;
}
.site-nav a:hover,.site-nav-logout button:hover{color:#06705b}
.site-nav-logout{margin:0!important}
.site-nav-toggle{display:none}

@media(max-width:760px){
    .site-header{
        min-height:64px !important;
        padding:7px 16px !important;
        flex-wrap:wrap !important;
        gap:8px !important;
    }
    .site-brand{height:48px!important;gap:7px!important}
    .site-brand-icon{width:36px!important;height:36px!important;flex-basis:36px!important}
    .site-brand-word{font-size:20px!important}
    .site-nav-toggle{
        display:flex;
        width:42px;
        height:42px;
        padding:9px;
        border:1px solid #d8dedb;
        border-radius:12px;
        background:#fff;
        flex-direction:column;
        justify-content:center;
        gap:5px;
        cursor:pointer;
    }
    .site-nav-toggle span{
        display:block;
        width:100%;
        height:2px;
        border-radius:99px;
        background:#214b3d;
    }
    .site-nav{
        display:none;
        width:100%;
        margin:0;
        padding:8px 2px 10px;
        flex-direction:column;
        align-items:stretch;
        gap:2px;
    }
    .site-nav.is-open{display:flex}
    .site-nav a,
    .site-nav-logout button{
        display:block;
        width:100%;
        box-sizing:border-box;
        padding:11px 12px;
        border-radius:10px;
        text-align:left;
    }
    .site-nav a:hover,
    .site-nav-logout button:hover{background:#f1f5f2}
}


/* Közös fejléc – kompakt ÚtiKépek logó véglegesítése */
.site-header .site-brand{
    display:inline-flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    width:auto!important;
    min-width:0!important;
    height:48px!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
}
.site-header .site-brand::before,
.site-header .site-brand::after,
.site-header .site-brand-word::before,
.site-header .site-brand-word::after{
    content:none!important;
    display:none!important;
}
.site-header .site-brand-icon{
    display:block!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    flex:0 0 38px!important;
    margin:0!important;
}
.site-header .site-brand-word{
    display:block!important;
    margin:0!important;
    padding:0!important;
    color:#063b58!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:22px!important;
    line-height:1!important;
    font-weight:800!important;
    letter-spacing:-.4px!important;
    text-decoration:none!important;
    white-space:nowrap!important;
}
.site-header .site-nav-toggle:empty{display:none!important}

@media(max-width:760px){
    .site-header .site-brand{
        height:42px!important;
        gap:7px!important;
    }
    .site-header .site-brand-icon{
        width:34px!important;
        height:34px!important;
        min-width:34px!important;
        flex-basis:34px!important;
    }
    .site-header .site-brand-word{
        font-size:20px!important;
    }
}


/* Közös fejléc – alacsonyabb, kompakt méret */
.site-header{
    min-height:58px !important;
    height:58px !important;
    padding-top:4px !important;
    padding-bottom:4px !important;
}
.site-header .site-brand{
    height:46px !important;
}
.site-header .site-brand-icon{
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    flex-basis:34px !important;
}
.site-header .site-brand-word{
    font-size:20px !important;
}
@media(max-width:760px){
    .site-header{
        min-height:54px !important;
        height:auto !important;
        padding-top:5px !important;
        padding-bottom:5px !important;
    }
    .site-header .site-brand{height:42px!important}
    .site-header .site-brand-icon{
        width:32px!important;
        height:32px!important;
        min-width:32px!important;
        flex-basis:32px!important;
    }
    .site-header .site-brand-word{font-size:19px!important}
}

/* Javítás: ne maradjon semmilyen középső menüjel / toggle-maradvány */
.site-nav-toggle{display:none!important}
.site-header{
    min-height:58px!important;
    height:58px!important;
    padding-top:4px!important;
    padding-bottom:4px!important;
}
@media(max-width:760px){
    .site-header{
        min-height:54px!important;
        height:auto!important;
    }
}


/* =========================================================
   KÖZÖS HEADER – végleges PNG logó
   Minden oldal ugyanazt használja: /assets/images/logo.png
   ========================================================= */
.site-header .site-brand{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:auto !important;
    height:46px !important;
    min-width:0 !important;
    flex:0 0 auto !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    text-decoration:none !important;
    font-size:0 !important;
}
.site-header .site-brand::before,
.site-header .site-brand::after{
    content:none !important;
    display:none !important;
}
.site-header .site-brand img{
    display:block !important;
    width:auto !important;
    height:40px !important;
    max-height:40px !important;
    max-width:230px !important;
    object-fit:contain !important;
    margin:0 !important;
    padding:0 !important;
}

/* A régi SVG / szöveges logóelemek soha ne jelenjenek meg */
.site-header .site-brand-icon,
.site-header .site-brand-word{
    display:none !important;
}

@media(max-width:760px){
    .site-header .site-brand{
        height:42px !important;
    }
    .site-header .site-brand img{
        height:36px !important;
        max-height:36px !important;
        max-width:205px !important;
    }
}


/* =========================================================
   KÖZÖS HEADER – végleges, kompakt PNG logó
   ========================================================= */
.site-header{
    width:100%!important;
    min-height:58px!important;
    height:58px!important;
    padding-top:4px!important;
    padding-bottom:4px!important;
    overflow:visible!important;
}
.site-header .site-brand{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:190px!important;
    min-width:190px!important;
    max-width:190px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    flex:0 0 190px!important;
    text-decoration:none!important;
}
.site-header .site-brand::before,
.site-header .site-brand::after{
    content:none!important;
    display:none!important;
}
.site-header .site-brand > img{
    display:block!important;
    width:190px!important;
    min-width:190px!important;
    max-width:190px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    object-fit:contain!important;
    object-position:left center!important;
    margin:0!important;
    padding:0!important;
    position:static!important;
    transform:none!important;
}
@media(max-width:760px){
    .site-header{
        min-height:54px!important;
        height:54px!important;
    }
    .site-header .site-brand{
        width:160px!important;
        min-width:160px!important;
        max-width:160px!important;
        height:40px!important;
        min-height:40px!important;
        max-height:40px!important;
        flex-basis:160px!important;
    }
    .site-header .site-brand > img{
        width:160px!important;
        min-width:160px!important;
        max-width:160px!important;
        height:40px!important;
        min-height:40px!important;
        max-height:40px!important;
    }
}


/* ===== MOBIL FŐMENÜ – végleges felülírás ===== */
@media (max-width:760px){
  .site-header{
    position:sticky!important;
    top:0!important;
    z-index:1200!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    flex-wrap:wrap!important;
    min-height:54px!important;
    height:auto!important;
    padding:5px 14px!important;
  }
  .site-header .site-brand{
    height:44px!important;
    flex:0 0 auto!important;
  }
  .site-header .site-nav-toggle{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    margin-left:auto!important;
    padding:9px!important;
    border:1px solid #d7ddd9!important;
    border-radius:11px!important;
    background:#fff!important;
    flex:0 0 40px!important;
    flex-direction:column!important;
    justify-content:center!important;
    gap:4px!important;
    cursor:pointer!important;
  }
  .site-header .site-nav-toggle span{
    display:block!important;
    width:100%!important;
    height:2px!important;
    background:#214b3d!important;
    border-radius:20px!important;
  }
  .site-header .site-nav{
    display:none!important;
    order:10!important;
    width:100%!important;
    margin:0!important;
    padding:6px 0 8px!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:2px!important;
  }
  .site-header .site-nav.is-open{
    display:flex!important;
  }
  .site-header .site-nav a,
  .site-header .site-nav-logout button{
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    padding:11px 12px!important;
    text-align:left!important;
    border-radius:10px!important;
  }
  .site-header .site-nav-logout{
    width:100%!important;
  }
}
@media (min-width:761px){
  .site-header .site-nav-toggle{display:none!important}
}


/* VÉGLEGES MOBIL FŐMENÜ */
@media(max-width:760px){
  .site-header .site-nav-toggle{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .site-header .site-nav{
    display:none!important;
  }
  .site-header .site-nav.is-open{
    display:flex!important;
  }
}


/* =========================================================
   v2.7.17 – VÁLASZTHATÓ TÉRKÉPES FOTÓLIGHTBOX
   ========================================================= */
.photo-lightbox{
  position:fixed!important;inset:0!important;z-index:5000!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:24px!important;box-sizing:border-box!important;
  background:rgba(12,20,17,.94)!important;
  grid-template-columns:none!important;
}
.photo-lightbox[hidden]{display:none!important}
.lightbox-shell{
  width:min(1280px,calc(100vw - 48px))!important;
  max-width:min(1280px,calc(100vw - 48px))!important;
  max-height:calc(100dvh - 48px)!important;
  display:flex!important;flex-direction:column!important;gap:12px!important;
  margin:auto!important;min-width:0!important;
}
.lightbox-main{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:14px!important;align-items:stretch!important;min-width:0!important;min-height:0!important;
}
.photo-lightbox.with-map .lightbox-main{
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr)!important;
}
.lightbox-photo-pane{
  height:min(74dvh,760px)!important;min-width:0!important;min-height:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
}
.lightbox-image-frame{
  position:relative!important;width:100%!important;height:100%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;
}
.lightbox-image-frame #lightboxImage{
  display:block!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;object-fit:contain!important;
  margin:0!important;border-radius:12px!important;
}
.lightbox-image-frame #lightboxPrev,.lightbox-image-frame #lightboxNext{
  position:absolute!important;top:50%!important;transform:translateY(-50%)!important;z-index:30!important;
  width:50px!important;height:70px!important;display:grid!important;place-items:center!important;
  margin:0!important;border:0!important;border-radius:14px!important;
  background:rgba(0,0,0,.20)!important;color:#fff!important;cursor:pointer!important;
}
.lightbox-image-frame #lightboxPrev{left:14px!important;right:auto!important}
.lightbox-image-frame #lightboxNext{right:14px!important;left:auto!important}
.lightbox-image-frame #lightboxPrev .ui-svg,.lightbox-image-frame #lightboxNext .ui-svg{width:32px!important;height:32px!important}
.lightbox-map-pane{
  position:relative!important;height:min(74dvh,760px)!important;min-width:0!important;
  overflow:hidden!important;border-radius:14px!important;background:#e7ece8!important;
}
.lightbox-map-pane[hidden]{display:none!important}
.photo-lightbox.with-map .lightbox-map-pane{display:block!important}
.lightbox-mini-map{width:100%!important;height:100%!important;min-height:100%!important}
.lightbox-info{
  min-height:50px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  flex-wrap:wrap!important;gap:14px!important;color:#fff!important;
}
.lightbox-caption{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important}
.lightbox-caption strong{font-size:18px!important}
.lightbox-caption span{color:rgba(255,255,255,.72)!important}
.lightbox-map-toggle{
  min-height:44px!important;padding:9px 15px!important;display:inline-flex!important;align-items:center!important;gap:8px!important;
  border:1px solid rgba(255,255,255,.28)!important;border-radius:999px!important;
  background:rgba(255,255,255,.11)!important;color:#fff!important;font:inherit!important;font-weight:800!important;cursor:pointer!important;
}
.lightbox-map-toggle[aria-pressed="true"]{background:#fff!important;color:#174a3a!important}
.photo-lightbox #lightboxClose{
  position:fixed!important;top:18px!important;right:18px!important;left:auto!important;z-index:5010!important;
  width:46px!important;height:46px!important;display:grid!important;place-items:center!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;
  background:rgba(0,0,0,.30)!important;color:#fff!important;cursor:pointer!important;
}
.photo-lightbox #lightboxClose .ui-svg{width:28px!important;height:28px!important}
body.lightbox-open{overflow:hidden!important}

@media(max-width:900px){
  .photo-lightbox{align-items:flex-start!important;padding:58px 14px 18px!important;overflow:auto!important}
  .lightbox-shell{width:calc(100vw - 28px)!important;max-width:calc(100vw - 28px)!important;max-height:none!important}
  .lightbox-main,.photo-lightbox.with-map .lightbox-main{grid-template-columns:1fr!important}
  .lightbox-photo-pane{height:calc(100dvh - 205px)!important;min-height:300px!important}
  .photo-lightbox.with-map .lightbox-photo-pane{height:42dvh!important;min-height:240px!important}
  .lightbox-map-pane{height:36dvh!important;min-height:260px!important}
  .photo-lightbox #lightboxClose{top:52px!important;right:14px!important}
  .lightbox-image-frame #lightboxPrev,.lightbox-image-frame #lightboxNext{width:44px!important;height:64px!important}
  .lightbox-image-frame #lightboxPrev{left:10px!important}
  .lightbox-image-frame #lightboxNext{right:10px!important}
}


/* Lightbox térkép – saját marker, külső PNG nélkül */
.lightbox-photo-marker-wrap{
  background:transparent!important;
  border:0!important;
}
.lightbox-photo-marker{
  position:relative;
  width:30px;
  height:30px;
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
  background:#0b6f57;
  border:3px solid #fff;
  box-shadow:0 3px 10px rgba(0,0,0,.28);
}
.lightbox-photo-marker span{
  position:absolute;
  width:9px;
  height:9px;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:#fff;
}


/* Lightbox térkép saját bezárógomb */
.lightbox-map-close{
  position:absolute!important;
  top:12px!important;
  right:12px!important;
  z-index:1000!important;
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  background:rgba(20,30,27,.86)!important;
  color:#fff!important;
  cursor:pointer!important;
  box-shadow:0 2px 10px rgba(0,0,0,.22)!important;
}
.lightbox-map-close .ui-svg{
  width:23px!important;
  height:23px!important;
}
.lightbox-map-close:hover{
  background:rgba(20,30,27,.98)!important;
}


/* v2.7.18 – alsó térképgomb felirata mindig látható */
.photo-lightbox .lightbox-map-toggle{
  width:auto!important;
  min-width:190px!important;
  padding:10px 18px!important;
  justify-content:center!important;
  white-space:nowrap!important;
}
.photo-lightbox .lightbox-map-toggle span{
  display:inline!important;
  visibility:visible!important;
  opacity:1!important;
  width:auto!important;
  max-width:none!important;
  overflow:visible!important;
  font-size:16px!important;
  line-height:1.2!important;
  color:inherit!important;
}
@media(max-width:900px){
  .photo-lightbox .lightbox-map-toggle{
    min-width:180px!important;
    max-width:calc(100vw - 40px)!important;
  }
}


/* Lightbox térkép – mértékléc + dinamikus méretarány */
.lightbox-map-pane .leaflet-control-scale{
  margin-left:10px!important;
  margin-bottom:10px!important;
}
.lightbox-map-pane .leaflet-control-scale-line{
  background:rgba(255,255,255,.92)!important;
  color:#183d31!important;
  border-color:#183d31!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.25!important;
}
.lightbox-scale-ratio{
  margin-left:10px!important;
  margin-bottom:6px!important;
  padding:4px 8px!important;
  border:1px solid rgba(24,61,49,.35)!important;
  border-radius:6px!important;
  background:rgba(255,255,255,.94)!important;
  color:#183d31!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.2!important;
  box-shadow:0 1px 4px rgba(0,0,0,.12)!important;
}
.lightbox-photo-marker {
    background: #e53935 !important;
}
/* v2.7.76 – Lightbox: térkép nélkül a fotó valóban középen */
@media (min-width:901px){
  .photo-lightbox:not(.with-map) .lightbox-shell{
    width:min(1280px,calc(100vw - 48px))!important;
    max-width:min(1280px,calc(100vw - 48px))!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .photo-lightbox:not(.with-map) .lightbox-main{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    width:100%!important;
  }
  .photo-lightbox:not(.with-map) .lightbox-photo-pane{
    width:min(100%,1100px)!important;
    max-width:1100px!important;
    margin:0 auto!important;
  }
  .photo-lightbox:not(.with-map) .lightbox-image-frame{
    width:100%!important;
    margin:0 auto!important;
  }

  /* Térképpel továbbra is 2/3 : 1/3 keretarány, kis hézaggal. */
  .photo-lightbox.with-map .lightbox-main{
    display:grid!important;
    grid-template-columns:minmax(0,2fr) minmax(300px,1fr)!important;
    gap:14px!important;
  }
}

/* v2.7.77 – azonos lekerekítés a fotón és a térképen */
.lightbox-image-frame #lightboxImage{
  border-radius:14px!important;
}

/* TV / vetítés: a Leaflet logó kék-sárga (ukrán zászló) SVG-részének elrejtése.
   Az OpenStreetMap / Leaflet forrásfelirat szövege megmarad. */
.tv-body .leaflet-control-attribution a[href*="leafletjs.com"] svg{
  display:none!important;
}


/* =========================================================
   v2.7.78 – FOTÓ ÉS TÉRKÉP AZONOS SAROKLEKEREKÍTÉSSEL
   ========================================================= */
:root{
  --viewer-radius:16px;
}

/* Normál / Fotók / térképről nyitott lightbox */
.photo-lightbox .lightbox-photo-pane,
.photo-lightbox .lightbox-image-frame,
.photo-lightbox .lightbox-image-frame #lightboxImage,
.photo-lightbox .lightbox-map-pane,
.photo-lightbox .lightbox-mini-map,
.photo-lightbox .lightbox-map-pane .leaflet-container{
  border-radius:var(--viewer-radius)!important;
}

/* A szülők is vágják le a tartalmat, így a lekerekítés valóban látszik */
.photo-lightbox .lightbox-photo-pane,
.photo-lightbox .lightbox-image-frame,
.photo-lightbox .lightbox-map-pane,
.photo-lightbox .lightbox-mini-map{
  overflow:hidden!important;
}

/* Térképes módban SE legyen eltérő bal/jobb sarok */
.photo-lightbox.with-map .lightbox-photo-pane,
.photo-lightbox.with-map .lightbox-image-frame,
.photo-lightbox.with-map #lightboxImage,
.photo-lightbox.with-map .lightbox-map-pane,
.photo-lightbox.with-map .lightbox-mini-map,
.photo-lightbox.with-map .lightbox-map-pane .leaflet-container{
  border-radius:var(--viewer-radius)!important;
}

/* A Leaflet belső rétege se lógjon ki a lekerekített térképből */
.photo-lightbox .leaflet-map-pane,
.photo-lightbox .leaflet-tile-pane{
  border-radius:inherit!important;
}


/* =========================================================
   v2.7.79 – ALBUM LIGHTBOX VÉGLEGES SAROKLEKEREKÍTÉS
   Fotók + Térkép nézet: fotó és térkép pontosan azonos.
   ========================================================= */
.photo-lightbox{
  --album-viewer-radius:16px;
}

/* FOTÓ – maga a kép és minden befoglalója */
.photo-lightbox .lightbox-photo-pane,
.photo-lightbox .lightbox-image-frame,
.photo-lightbox #lightboxImage{
  border-radius:var(--album-viewer-radius)!important;
  overflow:hidden!important;
}

.photo-lightbox #lightboxImage{
  clip-path:inset(0 round var(--album-viewer-radius))!important;
}

/* TÉRKÉP – maga a Leaflet konténer és minden befoglalója */
.photo-lightbox .lightbox-map-pane,
.photo-lightbox #lightboxMiniMap,
.photo-lightbox #lightboxMiniMap.leaflet-container{
  border-radius:var(--album-viewer-radius)!important;
  overflow:hidden!important;
  clip-path:inset(0 round var(--album-viewer-radius))!important;
}

/* Leaflet belső rétegek nem lóghatnak ki a lekerekített sarokból */
.photo-lightbox #lightboxMiniMap .leaflet-map-pane,
.photo-lightbox #lightboxMiniMap .leaflet-tile-pane,
.photo-lightbox #lightboxMiniMap .leaflet-overlay-pane{
  border-radius:inherit!important;
}

/* Térképes módban is MIND A NÉGY sarok maradjon azonos,
   ne legyen bal/jobb oldali külön szabály. */
.photo-lightbox.with-map .lightbox-photo-pane,
.photo-lightbox.with-map .lightbox-image-frame,
.photo-lightbox.with-map #lightboxImage,
.photo-lightbox.with-map .lightbox-map-pane,
.photo-lightbox.with-map #lightboxMiniMap{
  border-radius:var(--album-viewer-radius)!important;
}



/* v2.7.80 – tényleges fotó és térkép azonos sarkokkal */
.photo-lightbox #lightboxImage,
.photo-lightbox .lightbox-image-frame,
.photo-lightbox .lightbox-photo-pane,
.photo-lightbox #lightboxMapPane,
.photo-lightbox #lightboxMiniMap{
  border-radius:16px!important;
  overflow:hidden!important;
}
.photo-lightbox #lightboxImage,
.photo-lightbox #lightboxMiniMap{
  clip-path:inset(0 round 16px)!important;
}


/* =========================================================
   v2.7.83 – ALBUM LIGHTBOX VÉGLEGES GEOMETRIA
   A desktop méreteket JS számolja a fotó valódi képarányából.
   ========================================================= */
.photo-lightbox{
  --viewer-final-radius:20px;
}

.photo-lightbox .lightbox-photo-pane,
.photo-lightbox .lightbox-image-frame,
.photo-lightbox #lightboxImage,
.photo-lightbox .lightbox-map-pane,
.photo-lightbox #lightboxMiniMap,
.photo-lightbox #lightboxMiniMap.leaflet-container{
  border-radius:var(--viewer-final-radius)!important;
  overflow:hidden!important;
}

.photo-lightbox #lightboxImage,
.photo-lightbox #lightboxMiniMap{
  clip-path:inset(0 round var(--viewer-final-radius))!important;
  -webkit-clip-path:inset(0 round var(--viewer-final-radius))!important;
}

@media(min-width:901px){
  .photo-lightbox .lightbox-main{
    align-items:stretch!important;
    overflow:visible!important;
  }

  .photo-lightbox.with-map .lightbox-main{
    gap:16px!important;
  }

  .photo-lightbox .lightbox-photo-pane,
  .photo-lightbox .lightbox-image-frame{
    background:#07100d!important;
  }

  .photo-lightbox #lightboxImage{
    object-fit:cover!important;
  }
}

/* Leaflet belső csempék a kerekített konténeren belül maradjanak. */
.photo-lightbox #lightboxMiniMap .leaflet-map-pane,
.photo-lightbox #lightboxMiniMap .leaflet-tile-pane,
.photo-lightbox #lightboxMiniMap .leaflet-overlay-pane{
  border-radius:inherit!important;
}

/* v2.7.90 – Hely megadása: felugró keresőablak */
.place-picker-modal[hidden]{display:none!important}
.place-picker-modal{
  position:fixed;
  inset:0;
  z-index:10050;
  display:grid;
  place-items:center;
  padding:18px;
}
.place-picker-backdrop{
  position:absolute;
  inset:0;
  background:rgba(18,31,26,.48);
  backdrop-filter:blur(2px);
}
.place-picker-dialog{
  position:relative;
  z-index:1;
  width:min(620px,100%);
  max-height:min(720px,88vh);
  overflow:visible;
  padding:20px;
  border:1px solid #d8e0db;
  border-radius:18px;
  background:#fff;
  box-shadow:0 24px 70px rgba(0,0,0,.24);
}
.place-picker-close{
  position:absolute;
  top:10px;
  right:10px;
  width:36px;
  height:36px;
  border:0;
  border-radius:10px;
  background:#eef2ef;
  color:#4e6158;
  font-size:23px;
  line-height:1;
  cursor:pointer;
}
.place-picker-heading{padding:1px 44px 14px 2px}
.place-picker-heading strong{
  display:block;
  color:#20372d;
  font-size:21px;
}
.place-picker-heading span{
  display:block;
  margin-top:5px;
  color:#6a7972;
  font-size:13px;
  line-height:1.4;
}
.place-picker-search-row{
  display:grid;
  grid-template-columns:36px minmax(0,1fr) 38px;
  align-items:center;
  gap:3px;
  border:2px solid #2f725e;
  border-radius:13px;
  background:#fff;
  box-shadow:0 0 0 4px rgba(47,114,94,.08);
}
.place-picker-search-icon{
  display:grid;
  place-items:center;
  color:#2f725e;
  font-size:22px;
  font-weight:700;
}
#placePickerInput{
  width:100%;
  min-width:0;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:12px 4px!important;
  font:inherit;
  font-size:16px!important;
}
.place-picker-clear{
  width:32px;
  height:32px;
  border:0;
  border-radius:9px;
  background:#eef2ef;
  color:#617068;
  font-size:20px;
  cursor:pointer;
}
.place-picker-results{
  margin-top:8px;
  max-height:340px;
  overflow:auto;
  border:1px solid #dbe2de;
  border-radius:12px;
  background:#fff;
  box-shadow:0 10px 28px rgba(0,0,0,.12);
}
.place-picker-result{
  width:100%;
  display:block;
  border:0;
  border-bottom:1px solid #edf0ee;
  padding:11px 13px;
  text-align:left;
  background:#fff;
  cursor:pointer;
}
.place-picker-result:last-child{border-bottom:0}
.place-picker-result:hover,
.place-picker-result:focus{background:#f4f8f6}
.place-picker-result strong{
  display:block;
  color:#223a30;
  font-size:14px;
}
.place-picker-result span{
  display:block;
  margin-top:3px;
  color:#697870;
  font-size:12px;
  line-height:1.35;
}
.place-picker-status{
  padding:14px;
  color:#697870;
  font-size:13px;
}
.place-picker-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
  margin-top:14px;
}
@media(max-width:760px){
  .place-picker-modal{
    align-items:end;
    padding:0;
  }
  .place-picker-dialog{
    width:100%;
    max-height:86vh;
    border-radius:18px 18px 0 0;
    padding:17px 14px 14px;
  }
  .place-picker-heading strong{font-size:19px}
  .place-picker-results{max-height:38vh}
  .place-picker-actions .button{flex:1;justify-content:center}
}

/* v2.7.32 – nagy szám mindig látszik, kis EXIF-sorrendszám csak EXIF esetén */
.photo-single-marker-wrap{
  background:transparent!important;
  border:0!important;
  overflow:visible!important;
}
.photo-single-marker{
  position:relative!important;
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:#255a48!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 3px 10px rgba(0,0,0,.25)!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
  overflow:visible!important;
}
.photo-main-count{
  display:block!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
  pointer-events:none!important;
}
.photo-capture-order{
  position:absolute!important;
  top:-6px!important;
  right:-7px!important;
  min-width:18px!important;
  height:18px!important;
  padding:0 4px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#255a48!important;
  border:2px solid #255a48!important;
  box-shadow:0 1px 4px rgba(0,0,0,.25)!important;
  font-size:10px!important;
  font-weight:900!important;
  line-height:1!important;
  z-index:2!important;
  pointer-events:none!important;
}

/* =========================================================
   ÚtiKépek – albumoldali fő szekciócímek egységesítése
   Laptopon és mobilon azonos betűméret + piros függőleges vonal
   ========================================================= */
.album-page{
  --album-section-title-size:24px;
  --album-section-title-accent:var(--terracotta);
}

.album-page .upload-panel-title h2,
.album-page .smart-trip-panel h2,
.album-page .route-panel-head h2,
.album-page .gallery-toolbar h2,
.album-page .geo-tools-head h2,
.album-page .video-panel h2,
.album-page .edit-view-note h2{
  position:relative!important;
  padding-left:14px!important;
  font-family:"Playfair Display",serif!important;
  font-size:var(--album-section-title-size)!important;
  line-height:1.12!important;
  margin-top:6px;
}

.album-page .upload-panel-title h2::before,
.album-page .smart-trip-panel h2::before,
.album-page .route-panel-head h2::before,
.album-page .gallery-toolbar h2::before,
.album-page .geo-tools-head h2::before,
.album-page .video-panel h2::before,
.album-page .edit-view-note h2::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:8%!important;
  width:4px!important;
  height:84%!important;
  border-radius:999px!important;
  background:var(--album-section-title-accent)!important;
}

@media(max-width:760px){
  .album-page .upload-panel-title h2,
  .album-page .smart-trip-panel h2,
  .album-page .route-panel-head h2,
  .album-page .gallery-toolbar h2,
  .album-page .geo-tools-head h2,
  .album-page .video-panel h2,
  .album-page .edit-view-note h2{
    font-size:var(--album-section-title-size)!important;
    padding-left:14px!important;
  }
}

/* =========================================================
   v2.7.89 – végleges albumcím + piktogram egységesítés
   ========================================================= */
.album-page{
  --album-section-title-size:24px;
  --album-accent-red:#b4233f;
}

/* Minden fő H2 cím azonos méretű, laptopon és mobilon is. */
.album-page section h2,
.album-page aside h2,
.album-page .gallery-toolbar h2,
.album-page .video-panel-head h2,
.album-page .route-panel-head h2,
.album-page .upload-panel-title h2{
  position:relative!important;
  padding-left:14px!important;
  font-family:"Playfair Display",serif!important;
  font-size:var(--album-section-title-size)!important;
  line-height:1.15!important;
}

/* Piros függőleges vonal minden ilyen cím előtt. */
.album-page section h2::before,
.album-page aside h2::before,
.album-page .gallery-toolbar h2::before,
.album-page .video-panel-head h2::before,
.album-page .route-panel-head h2::before,
.album-page .upload-panel-title h2::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:0!important;
  top:8%!important;
  width:4px!important;
  height:84%!important;
  border-radius:999px!important;
  background:var(--album-accent-red)!important;
}

/* A mintában és az album felületén használt UI-piktogramok egységes piros színe. */
.album-page .ui-svg,
.album-page .visibility-choice-icon,
.album-page .album-visibility-summary .ui-svg,
.album-page .public-visibility-line .ui-svg,
.album-page .route-icon{
  color:var(--album-accent-red)!important;
}

/* Vonalas SVG-k is örököljék a piros színt. */
.album-page .ui-svg path,
.album-page .ui-svg line,
.album-page .ui-svg polyline,
.album-page .ui-svg circle,
.album-page .ui-svg rect,
.album-page .route-icon svg path,
.album-page .route-icon svg line,
.album-page .route-icon svg polyline,
.album-page .route-icon svg circle{
  stroke:currentColor!important;
}

/* Feltöltés és közvetlen fotózás cím előtti SVG-je ugyanazt a pirosat kapja. */
.album-page .upload-panel-unified .upload-method-card:first-child .upload-method-head strong::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4233f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V5'/%3E%3Cpath d='M8 9l4-4 4 4'/%3E%3Cpath d='M5 15v4h14v-4'/%3E%3C/svg%3E")!important;
}
.album-page .upload-panel-unified .upload-method-card:nth-child(2) .upload-method-head strong::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4233f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8l1.5-2h7L17 8h2a2 2 0 0 1 2 2v8H3v-8a2 2 0 0 1 2-2h2z'/%3E%3Ccircle cx='12' cy='13' r='3.2'/%3E%3C/svg%3E")!important;
}

/* Mobilon NEM csökken tovább a cím betűmérete. */
@media(max-width:760px){
  .album-page section h2,
  .album-page aside h2,
  .album-page .gallery-toolbar h2,
  .album-page .video-panel-head h2,
  .album-page .route-panel-head h2,
  .album-page .upload-panel-title h2{
    font-size:var(--album-section-title-size)!important;
  }
}

/* =========================================================
   v2.7.90 – egységes függőleges címvonal + gombikonok + GPS ikon
   ========================================================= */

/* A régi vízszintes eyebrow-vonal megszűnik az albumoldalon. */
.album-page .eyebrow::before{
  content:none!important;
  display:none!important;
}

/* A korábban közvetlenül a H2 elé tett vonalat kikapcsoljuk,
   mert most a teljes címblokk kap egyetlen függőleges vonalat. */
.album-page section h2::before,
.album-page aside h2::before,
.album-page .gallery-toolbar h2::before,
.album-page .video-panel-head h2::before,
.album-page .route-panel-head h2::before,
.album-page .upload-panel-title h2::before{
  content:none!important;
  display:none!important;
}

/* Ne legyen dupla bal oldali behúzás a H2-kön. */
.album-page section h2,
.album-page aside h2,
.album-page .gallery-toolbar h2,
.album-page .video-panel-head h2,
.album-page .route-panel-head h2,
.album-page .upload-panel-title h2{
  padding-left:0!important;
}

/* Egyetlen függőleges piros vonal a teljes TÉMA + CÍM blokk előtt. */
.album-page .upload-panel-title > div:first-child,
.album-page .smart-trip-panel > div:first-child,
.album-page .route-panel-head > div:first-child,
.album-page .gallery-toolbar > div:first-child,
.album-page .geo-tools-head > div:first-child,
.album-page .video-panel-head > div:first-child,
.album-page .map-route-tools-head > div:first-child,
.album-page .edit-view-note{
  position:relative!important;
  padding-left:16px!important;
}

.album-page .upload-panel-title > div:first-child::before,
.album-page .smart-trip-panel > div:first-child::before,
.album-page .route-panel-head > div:first-child::before,
.album-page .gallery-toolbar > div:first-child::before,
.album-page .geo-tools-head > div:first-child::before,
.album-page .video-panel-head > div:first-child::before,
.album-page .map-route-tools-head > div:first-child::before,
.album-page .edit-view-note::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:0!important;
  top:2px!important;
  bottom:2px!important;
  width:4px!important;
  border-radius:999px!important;
  background:var(--album-accent-red,#b4233f)!important;
}

/* A zöld hátterű gombokon a piktogram mindig fehér legyen. */
.album-page .button:not(.secondary) .ui-svg,
.album-page .button:not(.secondary) .camera-button-icon-fixed,
.album-page .album-tab.active .ui-svg{
  color:#fff!important;
  stroke:#fff!important;
}

.album-page .button:not(.secondary) .ui-svg path,
.album-page .button:not(.secondary) .ui-svg line,
.album-page .button:not(.secondary) .ui-svg polyline,
.album-page .button:not(.secondary) .ui-svg circle,
.album-page .button:not(.secondary) .ui-svg rect,
.album-page .button:not(.secondary) .camera-button-icon-fixed path,
.album-page .button:not(.secondary) .camera-button-icon-fixed circle,
.album-page .album-tab.active .ui-svg path,
.album-page .album-tab.active .ui-svg line,
.album-page .album-tab.active .ui-svg polyline,
.album-page .album-tab.active .ui-svg circle,
.album-page .album-tab.active .ui-svg rect{
  stroke:#fff!important;
}

/* Ha egy ikon kitöltést használ, aktív/zöld gombban az is fehér. */
.album-page .button:not(.secondary) .ui-svg [fill]:not([fill="none"]),
.album-page .album-tab.active .ui-svg [fill]:not([fill="none"]){
  fill:#fff!important;
}

/* GPS-rögzítés kártyán a piktogram jól látható legyen. */
.album-page .gps-choice-btn > .ui-svg{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  flex:0 0 22px!important;
  width:22px!important;
  height:22px!important;
  color:var(--album-accent-red,#b4233f)!important;
}

@media(max-width:760px){
  .album-page .upload-panel-title > div:first-child,
  .album-page .smart-trip-panel > div:first-child,
  .album-page .route-panel-head > div:first-child,
  .album-page .gallery-toolbar > div:first-child,
  .album-page .geo-tools-head > div:first-child,
  .album-page .video-panel-head > div:first-child,
  .album-page .map-route-tools-head > div:first-child,
  .album-page .edit-view-note{
    padding-left:14px!important;
  }
}

/* =========================================================
   v2.7.91 – MINTA SZERINTI SZEKCIÓFEJLÉC
   Függőleges piros vonal + nagybetűs témacím.
   ========================================================= */

/* Korábbi H2/fejléc-vonalak teljes kikapcsolása, hogy ne legyen dupla jelölés. */
.album-page section h2::before,
.album-page aside h2::before,
.album-page .gallery-toolbar h2::before,
.album-page .video-panel-head h2::before,
.album-page .route-panel-head h2::before,
.album-page .upload-panel-title h2::before,
.album-page .upload-panel-title > div:first-child::before,
.album-page .smart-trip-panel > div:first-child::before,
.album-page .route-panel-head > div:first-child::before,
.album-page .gallery-toolbar > div:first-child::before,
.album-page .geo-tools-head > div:first-child::before,
.album-page .video-panel-head > div:first-child::before,
.album-page .map-route-tools-head > div:first-child::before,
.album-page .edit-view-note::before{
  content:none!important;
  display:none!important;
}

/* A minta szerinti fejléc: csak az eyebrow mellett legyen a függőleges vonal. */
.album-page .eyebrow{
  position:relative!important;
  padding-left:18px!important;
  min-height:26px!important;
  display:inline-flex!important;
  align-items:center!important;
  color:#b4233f!important;
  font-size:13px!important;
  font-weight:800!important;
  letter-spacing:.14em!important;
  line-height:1.15!important;
}

/* Nincs több vízszintes vonal. */
.album-page .eyebrow::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:0!important;
  top:1px!important;
  bottom:1px!important;
  width:4px!important;
  height:auto!important;
  border-radius:999px!important;
  background:#b4233f!important;
}

/* A mintában a témacím az egyetlen látható szekciófejléc. */
.album-page .section-heading-detail{
  display:none!important;
}

/* A témacím körül ne maradjon a korábbi H2-nek fenntartott hely. */
.album-page .sample-section-heading,
.album-page .map-route-tools-head > div:first-child{
  padding-left:0!important;
  min-height:0!important;
}

/* A kártyák közelebb kerüljenek a fejléc alá, mint a mintában. */
.album-page .map-route-tools-head{
  margin-bottom:10px!important;
}
.album-page .route-mode-choice{
  margin-top:8px!important;
}

/* Zöld hátterű gombok/aktív fülek piktogramjai fehérek maradnak. */
.album-page .button:not(.secondary) .ui-svg,
.album-page .button:not(.secondary) .camera-button-icon-fixed,
.album-page .album-tab.active .ui-svg{
  color:#fff!important;
  stroke:#fff!important;
}
.album-page .button:not(.secondary) .ui-svg path,
.album-page .button:not(.secondary) .ui-svg line,
.album-page .button:not(.secondary) .ui-svg polyline,
.album-page .button:not(.secondary) .ui-svg circle,
.album-page .button:not(.secondary) .ui-svg rect,
.album-page .button:not(.secondary) .camera-button-icon-fixed path,
.album-page .button:not(.secondary) .camera-button-icon-fixed circle,
.album-page .album-tab.active .ui-svg path,
.album-page .album-tab.active .ui-svg line,
.album-page .album-tab.active .ui-svg polyline,
.album-page .album-tab.active .ui-svg circle,
.album-page .album-tab.active .ui-svg rect{
  stroke:#fff!important;
}
.album-page .button:not(.secondary) .ui-svg [fill]:not([fill="none"]),
.album-page .album-tab.active .ui-svg [fill]:not([fill="none"]){
  fill:#fff!important;
}

/* GPS-kártya piktogramja látható, piros. */
.album-page .gps-choice-btn > .ui-svg{
  display:block!important;
  width:22px!important;
  height:22px!important;
  flex:0 0 22px!important;
  color:#b4233f!important;
  stroke:#b4233f!important;
}

@media(max-width:760px){
  .album-page .eyebrow{
    font-size:13px!important;
    padding-left:16px!important;
    min-height:24px!important;
  }
}



/* v2.7.92 – Hely megadása gomb: zöld háttéren fehér felirat és ikon */
.album-page .geo-pick-button,
.album-page .photo-geo-button,
.album-page button[data-action="geo"],
.album-page .button.geo-button{
  color:#fff!important;
}
.album-page .geo-pick-button .ui-svg,
.album-page .photo-geo-button .ui-svg,
.album-page button[data-action="geo"] .ui-svg,
.album-page .button.geo-button .ui-svg{
  color:#fff!important;
  stroke:#fff!important;
}

/* v2.7.93 – Hely megadása: a TÉNYLEGES ikonréteg is fehér */
.album-page .photo-location-btn,
.album-page .set-location-btn,
.album-page .geo-set-btn,
.album-page .geo-pick-button,
.album-page .photo-geo-button{
  color:#fff!important;
}

.album-page .photo-location-btn svg,
.album-page .set-location-btn svg,
.album-page .geo-set-btn svg,
.album-page .geo-pick-button svg,
.album-page .photo-geo-button svg,
.album-page .photo-location-btn .ui-svg,
.album-page .set-location-btn .ui-svg,
.album-page .geo-set-btn .ui-svg,
.album-page .geo-pick-button .ui-svg,
.album-page .photo-geo-button .ui-svg{
  color:#fff!important;
  stroke:#fff!important;
  fill:none!important;
}

.album-page .photo-location-btn svg *,
.album-page .set-location-btn svg *,
.album-page .geo-set-btn svg *,
.album-page .geo-pick-button svg *,
.album-page .photo-geo-button svg *{
  stroke:#fff!important;
}

/* Ha az ikon currentColor-t használ, a gomb minden belső eleme fehéret örököl. */
.album-page .photo-location-btn *,
.album-page .set-location-btn *,
.album-page .geo-set-btn *,
.album-page .geo-pick-button *,
.album-page .photo-geo-button *{
  color:#fff!important;
}

/* Az inline style / korábbi globális piros UI-ikon szabály fölé kerül. */
.album-page button.photo-location-btn .ui-svg,
.album-page button.set-location-btn .ui-svg,
.album-page button.geo-set-btn .ui-svg,
.album-page button.geo-pick-button .ui-svg,
.album-page button.photo-geo-button .ui-svg{
  color:#fff!important;
  stroke:#fff!important;
}



/* A konkrét album.php gomb osztálya: .place-photo */
.album-page .place-photo.secondary.inline-icon,
.album-page button.place-photo.secondary.inline-icon{
  color:#fff!important;
}
.album-page .place-photo.secondary.inline-icon .ui-svg,
.album-page .place-photo.secondary.inline-icon svg{
  color:#fff!important;
  stroke:#fff!important;
}
.album-page .place-photo.secondary.inline-icon svg path,
.album-page .place-photo.secondary.inline-icon svg line,
.album-page .place-photo.secondary.inline-icon svg polyline,
.album-page .place-photo.secondary.inline-icon svg circle,
.album-page .place-photo.secondary.inline-icon svg rect{
  stroke:#fff!important;
}

/* =========================================================
   v2.7.94 – JÓVÁHAGYOTT MINTA SZERINTI EGYSÉGES CÍMEK
   ========================================================= */
.album-page{
  --album-topic-title-size:14px;
  --album-topic-red:var(--terracotta);
}

/* A témacímek egységesen ugyanakkorák. */
.album-page .eyebrow,
.album-page .smart-trip-panel .eyebrow,
.album-page .route-panel .eyebrow,
.album-page .gallery-toolbar .eyebrow,
.album-page .upload-panel .eyebrow,
.album-page .video-panel .eyebrow,
.album-page .geo-tools .eyebrow{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:28px!important;
  padding-left:17px!important;
  color:var(--album-topic-red)!important;
  font-size:var(--album-topic-title-size)!important;
  font-weight:800!important;
  line-height:1.15!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  white-space:normal!important;
}

/* Ugyanaz a függőleges piros vonal minden témacím előtt. */
.album-page .eyebrow::before,
.album-page .smart-trip-panel .eyebrow::before,
.album-page .route-panel .eyebrow::before,
.album-page .gallery-toolbar .eyebrow::before,
.album-page .upload-panel .eyebrow::before,
.album-page .video-panel .eyebrow::before,
.album-page .geo-tools .eyebrow::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:0!important;
  top:1px!important;
  bottom:1px!important;
  width:4px!important;
  height:auto!important;
  border-radius:999px!important;
  background:var(--album-topic-red)!important;
}

/* A jóváhagyott mintában a nagybetűs témacím az elsődleges cím.
   Az alatta lévő régi H2 nem kap eltérő címméretet. */
.album-page .smart-trip-panel h2,
.album-page .route-panel-head h2,
.album-page .gallery-toolbar h2{
  font-size:var(--album-topic-title-size)!important;
}

/* Mobilon pontosan ugyanaz a címméret marad. */
@media(max-width:760px){
  .album-page .eyebrow,
  .album-page .smart-trip-panel .eyebrow,
  .album-page .route-panel .eyebrow,
  .album-page .gallery-toolbar .eyebrow,
  .album-page .upload-panel .eyebrow,
  .album-page .video-panel .eyebrow,
  .album-page .geo-tools .eyebrow,
  .album-page .smart-trip-panel h2,
  .album-page .route-panel-head h2,
  .album-page .gallery-toolbar h2{
    font-size:var(--album-topic-title-size)!important;
  }
}

/* =========================================================
   v2.7.95 – TÉNYLEGESEN EGYSÉGES TÉMACÍMEK
   AUTOMATIKUS ÚTVONAL LÉTREHOZÁSA / MENTETT ÚTVONALAK / FOTÓK
   ========================================================= */
.album-page{
  --topic-title-size:14px;
  --topic-title-red:var(--terracotta);
}

.album-page .sample-section-heading{
  margin:0!important;
  padding:0!important;
  min-height:0!important;
}

.album-page .sample-section-heading .eyebrow,
.album-page .editor-photos-heading .eyebrow,
.album-page .smart-trip-panel .eyebrow,
.album-page .route-panel .eyebrow,
.album-page .gallery-toolbar .eyebrow{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:28px!important;
  padding-left:17px!important;
  margin:0!important;
  color:var(--topic-title-red)!important;
  font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:var(--topic-title-size)!important;
  font-weight:800!important;
  line-height:1.15!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}

.album-page .sample-section-heading .eyebrow::before,
.album-page .editor-photos-heading .eyebrow::before,
.album-page .smart-trip-panel .eyebrow::before,
.album-page .route-panel .eyebrow::before,
.album-page .gallery-toolbar .eyebrow::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:0!important;
  top:1px!important;
  bottom:1px!important;
  width:4px!important;
  height:auto!important;
  border-radius:999px!important;
  background:var(--topic-title-red)!important;
}

/* A jobb oldali szerkesztő Fotók címe ne kapjon a régi aside>h2 stílusból semmit. */
.album-page .editor-photos-heading{
  position:sticky;
  top:-20px;
  z-index:3;
  background:var(--card);
  padding:8px 0!important;
  margin:0 0 8px!important;
}

/* Régi másodlagos nagy címek biztosan ne jelenjenek meg. */
.album-page .section-heading-detail{
  display:none!important;
}

/* Laptopon és mobilon pontosan ugyanaz a méret. */
@media(max-width:760px){
  .album-page .sample-section-heading .eyebrow,
  .album-page .editor-photos-heading .eyebrow,
  .album-page .smart-trip-panel .eyebrow,
  .album-page .route-panel .eyebrow,
  .album-page .gallery-toolbar .eyebrow{
    font-size:var(--topic-title-size)!important;
  }
}

/* =========================================================
   v2.7.96 – Fotókijelölés + témacím bal oldali igazítás
   ========================================================= */

/* 1) Fotók kijelölése:
      alapállapotban NINCS piros pipa, csak üres fehér mező zöld kerettel. */
.album-page .photo-select span,
.album-page .book-photo-select span,
.album-page .clean-photo-card .photo-select span{
  background:#fff!important;
  border:2px solid #255a48!important;
  color:transparent!important;
}

.album-page .photo-select span::after,
.album-page .book-photo-select span::after,
.album-page .clean-photo-card .photo-select span::after{
  content:""!important;
  display:none!important;
}

/* Kijelölve: zöld háttér + fehér pipa. */
.album-page .photo-select input:checked + span,
.album-page .book-photo-select input:checked + span,
.album-page .clean-photo-card .photo-select input:checked + span{
  background:#255a48!important;
  border-color:#255a48!important;
}

.album-page .photo-select input:checked + span::after,
.album-page .book-photo-select input:checked + span::after,
.album-page .clean-photo-card .photo-select input:checked + span::after{
  content:"✓"!important;
  display:grid!important;
  place-items:center!important;
  height:100%!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1!important;
}

/* Ha valamelyik nézet külön pseudo-elemmel rajzol piros pipát, azt alapból tiltjuk. */
.album-page .clean-photo-card:not(.selected) .photo-select span::before,
.album-page .book-pick-card:not(.selected) .photo-select span::before{
  content:none!important;
  display:none!important;
}

/* Kijelölt kártya kerete maradjon zöld, ne piros. */
.album-page .clean-photo-card.selected,
.album-page .book-pick-card.selected,
.album-page .photo-pick-selected{
  outline-color:#255a48!important;
  border-color:#255a48!important;
}

/* 2) Minden piros témacím pontosan ugyanarról a bal oldali x-pozícióról induljon. */
.album-page{
  --album-topic-left:16px;
  --album-topic-line-width:4px;
  --album-topic-gap:12px;
}

/* A szekciók saját eltérő paddingje ne tolja el a cím kezdetét. */
.album-page .sample-section-heading,
.album-page .editor-photos-heading,
.album-page .upload-panel-title > div:first-child,
.album-page .smart-trip-panel > div:first-child,
.album-page .route-panel-head > div:first-child,
.album-page .gallery-toolbar > div:first-child,
.album-page .geo-tools-head > div:first-child,
.album-page .video-panel-head > div:first-child,
.album-page .map-route-tools-head > div:first-child{
  padding-left:0!important;
  margin-left:0!important;
}

/* Az eyebrow ugyanazzal a belső geometriával indul minden kártyában. */
.album-page .eyebrow,
.album-page .sample-section-heading .eyebrow,
.album-page .editor-photos-heading .eyebrow{
  position:relative!important;
  margin-left:0!important;
  padding-left:calc(var(--album-topic-line-width) + var(--album-topic-gap))!important;
}

/* Függőleges vonal azonos helyen és méretben. */
.album-page .eyebrow::before,
.album-page .sample-section-heading .eyebrow::before,
.album-page .editor-photos-heading .eyebrow::before{
  left:0!important;
  width:var(--album-topic-line-width)!important;
}

/* A kártyákon belüli fejléc bal oldali kiindulópontja legyen azonos. */
.album-page .smart-trip-panel,
.album-page .route-panel,
.album-page .upload-panel,
.album-page .album-layout aside,
.album-page .geo-tools,
.album-page .video-panel,
.album-page .edit-view-note{
  --section-inner-left:16px;
}

.album-page .smart-trip-panel > div:first-child,
.album-page .route-panel-head,
.album-page .upload-panel-title,
.album-page .album-layout aside > .sample-section-heading,
.album-page .album-layout aside > .editor-photos-heading,
.album-page .geo-tools-head,
.album-page .video-panel-head{
  padding-left:var(--section-inner-left)!important;
  padding-right:var(--section-inner-left)!important;
}

/* Mobilon ugyanaz a logika, csak kisebb belső kártyapadding. */
@media(max-width:760px){
  .album-page .smart-trip-panel,
  .album-page .route-panel,
  .album-page .upload-panel,
  .album-page .album-layout aside,
  .album-page .geo-tools,
  .album-page .video-panel,
  .album-page .edit-view-note{
    --section-inner-left:12px;
  }
}

/* =========================================================
   v2.7.97 – Fotókönyv-kijelölés a minta szerint
   + piros témacímek azonos bal oldali pozícióban
   ========================================================= */

/* --- FOTÓKÖNYV KIJELÖLÉS --- */

/* Kijelölési módban az alap jelölő:
   fehér kör, zöld keret, SEMMILYEN pipa nincs benne. */
.album-page .book-select-mode .book-photo-check{
  display:grid!important;
  place-items:center!important;
  background:#fff!important;
  border:2px solid #255a48!important;
  color:transparent!important;
}

/* A beágyazott check SVG-t alapállapotban teljesen elrejtjük.
   Ez írja felül a korábbi globális piros ui-svg szabályt. */
.album-page .book-select-mode .clean-photo-card:not(.book-selected) .book-photo-check .ui-svg,
.album-page .book-select-mode .clean-photo-card:not(.book-selected) .book-photo-check svg,
.album-page .book-select-mode .clean-photo-card:not(.book-selected) .book-photo-check svg *{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  color:transparent!important;
  stroke:transparent!important;
  fill:transparent!important;
}

/* Kijelölve: zöld kör + FEHÉR pipa. */
.album-page .book-select-mode .clean-photo-card.book-selected .book-photo-check{
  background:#006b54!important;
  border-color:#fff!important;
  color:#fff!important;
}

.album-page .book-select-mode .clean-photo-card.book-selected .book-photo-check .ui-svg,
.album-page .book-select-mode .clean-photo-card.book-selected .book-photo-check svg{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  color:#fff!important;
  stroke:#fff!important;
  fill:none!important;
}

.album-page .book-select-mode .clean-photo-card.book-selected .book-photo-check svg path,
.album-page .book-select-mode .clean-photo-card.book-selected .book-photo-check svg line,
.album-page .book-select-mode .clean-photo-card.book-selected .book-photo-check svg polyline,
.album-page .book-select-mode .clean-photo-card.book-selected .book-photo-check svg circle,
.album-page .book-select-mode .clean-photo-card.book-selected .book-photo-check svg rect{
  stroke:#fff!important;
}

/* A kijelölt fotók kártyakerete zöld. */
.album-page .book-select-mode .clean-photo-card.book-selected{
  outline:4px solid #006b54!important;
  outline-offset:-4px!important;
}

/* A nem kijelölt fotók ne kapjanak piros jelölést vagy piros keretet. */
.album-page .book-select-mode .clean-photo-card:not(.book-selected){
  outline:none!important;
}
.album-page .book-select-mode .clean-photo-card:not(.book-selected) .book-photo-check::before,
.album-page .book-select-mode .clean-photo-card:not(.book-selected) .book-photo-check::after{
  content:none!important;
  display:none!important;
}

/* --- PIROS TÉMACÍMEK BAL OLDALI IGAZÍTÁSA --- */

/* Azonos belső bal oldali padding minden olyan kártyán/panelen,
   amelyben piros témacím van. */
.album-page .upload-panel,
.album-page .smart-trip-panel,
.album-page .route-panel,
.album-page .geo-tools,
.album-page .video-panel,
.album-page .edit-view-note,
.album-page .album-layout aside,
.album-page .map-route-tools{
  padding-left:20px!important;
  padding-right:20px!important;
}

/* A címblokkok saját plusz bal margója/paddingje megszűnik. */
.album-page .upload-panel-title,
.album-page .upload-panel-title > div:first-child,
.album-page .smart-trip-panel > div:first-child,
.album-page .route-panel-head,
.album-page .route-panel-head > div:first-child,
.album-page .gallery-toolbar,
.album-page .gallery-toolbar > div:first-child,
.album-page .geo-tools-head,
.album-page .geo-tools-head > div:first-child,
.album-page .video-panel-head,
.album-page .video-panel-head > div:first-child,
.album-page .map-route-tools-head,
.album-page .map-route-tools-head > div:first-child,
.album-page .editor-photos-heading,
.album-page .sample-section-heading{
  margin-left:0!important;
  padding-left:0!important;
}

/* A vonal + cím belső geometriája mindenhol azonos. */
.album-page .eyebrow,
.album-page .sample-section-heading .eyebrow,
.album-page .editor-photos-heading .eyebrow{
  margin-left:0!important;
  padding-left:16px!important;
}

.album-page .eyebrow::before,
.album-page .sample-section-heading .eyebrow::before,
.album-page .editor-photos-heading .eyebrow::before{
  left:0!important;
  width:4px!important;
}

/* Fotók nézet címe is pontosan a panel többi címével egyező helyről induljon. */
.album-page #albumView-photos .gallery-toolbar{
  padding-left:20px!important;
  padding-right:20px!important;
}

/* Mobilon minden kártyán ugyanaz a 12 px-es belső bal távolság. */
@media(max-width:760px){
  .album-page .upload-panel,
  .album-page .smart-trip-panel,
  .album-page .route-panel,
  .album-page .geo-tools,
  .album-page .video-panel,
  .album-page .edit-view-note,
  .album-page .album-layout aside,
  .album-page .map-route-tools{
    padding-left:12px!important;
    padding-right:12px!important;
  }

  .album-page #albumView-photos .gallery-toolbar{
    padding-left:12px!important;
    padding-right:12px!important;
  }

  .album-page .eyebrow,
  .album-page .sample-section-heading .eyebrow,
  .album-page .editor-photos-heading .eyebrow{
    padding-left:16px!important;
  }
}

/* =========================================================
   v2.8.05 – Dashboard csomagkártya mobil végleges
   ========================================================= */
.dashboard .plan-status .eyebrow{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  margin:0!important;
  color:#d98a68!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.15!important;
  letter-spacing:.17em!important;
  text-transform:uppercase!important;
}
.dashboard .plan-status .eyebrow::before{
  content:""!important;
  display:block!important;
  width:4px!important;
  height:24px!important;
  flex:0 0 4px!important;
  border-radius:999px!important;
  background:var(--terracotta)!important;
}

@media(max-width:850px){
  .dashboard .plan-status{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:10px!important;
    padding:14px 16px!important;
    margin:16px 0!important;
    min-height:0!important;
    height:auto!important;
    border-radius:20px!important;
  }
  .dashboard .plan-status > div:first-child{
    display:block!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
  }
  .dashboard .plan-status h2{
    margin:5px 0 2px!important;
    line-height:1.05!important;
  }
  .dashboard .plan-status p{
    margin:0!important;
    line-height:1.25!important;
  }
  .dashboard .plan-status .storage-meter{
    margin:0!important;
    padding:0!important;
  }
  .dashboard .plan-status .storage-meter-top{
    margin:0 0 5px!important;
    line-height:1.2!important;
  }
  .dashboard .plan-status .storage-track{
    height:8px!important;
    margin:0!important;
  }
  .dashboard .plan-status > .button{
    width:100%!important;
    min-height:42px!important;
    height:42px!important;
    margin:0!important;
    padding:8px 14px!important;
  }
}

@media(max-width:480px){
  .dashboard .plan-status{
    gap:8px!important;
    padding:12px 14px!important;
    margin:14px 0!important;
  }
  .dashboard .plan-status .eyebrow::before{
    height:22px!important;
  }
}

/* =========================================================
   v2.8.06 – Globális eyebrow/szekciócím egységesítés
   SAJÁT FIÓK, TÉRKÉPES FOTÓALBUM stb.
   ========================================================= */
.eyebrow{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:0!important;
  padding-left:16px!important;
  color:var(--terracotta)!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.15!important;
  letter-spacing:.17em!important;
  text-transform:uppercase!important;
}

.eyebrow::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:4px!important;
  height:24px!important;
  border-radius:999px!important;
  background:var(--terracotta)!important;
}

/* A zöld csomagkártyán marad a hozzá illő világosabb feliratszín,
   de ugyanazzal a függőleges piros jellel. */
.dashboard .plan-status .eyebrow{
  color:#d98a68!important;
}
.dashboard .plan-status .eyebrow::before{
  background:var(--terracotta)!important;
}

/* =========================================================
   v2.8.07 – Eyebrow/szekciócím egységesítés MOBILON is
   ========================================================= */
@media(max-width:760px){
  .eyebrow{
    position:relative!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:0!important;
    padding-left:16px!important;
    color:var(--terracotta)!important;
    font-size:11px!important;
    font-weight:800!important;
    line-height:1.15!important;
    letter-spacing:.17em!important;
    text-transform:uppercase!important;
  }

  .eyebrow::before{
    content:""!important;
    position:absolute!important;
    left:0!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:4px!important;
    height:24px!important;
    border-radius:999px!important;
    background:var(--terracotta)!important;
  }

  .dashboard .plan-status .eyebrow{
    color:#d98a68!important;
  }

  .dashboard .plan-status .eyebrow::before{
    width:4px!important;
    height:24px!important;
    background:var(--terracotta)!important;
  }
}

@media(max-width:480px){
  .eyebrow{
    font-size:11px!important;
    padding-left:16px!important;
  }

  .eyebrow::before,
  .dashboard .plan-status .eyebrow::before{
    width:4px!important;
    height:22px!important;
  }
}
/* Szekciócímek egységes bordó színe */
.eyebrow,
.album-page .eyebrow,
.sample-section-heading .eyebrow,
.editor-photos-heading .eyebrow {
    color: var(--terracotta) !important;
}

.eyebrow::before,
.album-page .eyebrow::before,
.sample-section-heading .eyebrow::before,
.editor-photos-heading .eyebrow::before {
    background: var(--terracotta) !important;
}

/* =========================================================
   MOBIL – FOTÓ/VIDEÓ ÉS TÉRKÉP KÖZÖTTI RÉS JAVÍTÁSA
   Végső felülírás: ezt a fájl LEGALJA tartalmazza, ezért a
   korábbi gap/margin szabályokat biztosan felülírja.
   ========================================================= */
@media (max-width:900px){

  #photoLightbox.with-map .lightbox-main,
  #photoLightbox.photo-lightbox.with-map .lightbox-main,
  #photoLightbox.video-active.with-map .lightbox-main{
    gap:2px!important;
    row-gap:2px!important;
    column-gap:2px!important;
  }

  #photoLightbox.with-map .lightbox-photo-pane,
  #photoLightbox.with-map .lightbox-image-frame{
    margin-bottom:0!important;
    padding-bottom:0!important;
  }

  #photoLightbox.with-map .lightbox-map-pane,
  #photoLightbox.with-map #lightboxMapPane,
  #photoLightbox.with-map #lightboxMiniMap{
    margin-top:0!important;
    padding-top:0!important;
  }

  /* Videónál a korábbi gap:10px szabály felülírása. */
  #photoLightbox.video-active.with-map .lightbox-main{
    display:flex!important;
    flex-direction:column!important;
    gap:2px!important;
  }
}
/* Megosztott album – képen lévő felirat fehér */
.public-photo span.clean-photo-caption,
.public-photo .clean-photo-caption,
.public-clean-grid .public-photo span,
.public-clean-grid .clean-photo-caption {
    color: #ffffff !important;
}


/* =========================================================
   ÚtiKépek – A arculat
   Modern világos · türkiz + korall
   ========================================================= */
:root{
  --a-navy:#17324d;
  --a-ink:#183247;
  --a-muted:#667d8a;
  --a-turquoise:#16b7c9;
  --a-turquoise-dark:#0796aa;
  --a-coral:#ff6572;
  --a-coral-dark:#ed4f5e;
  --a-sky:#eaf9fc;
  --a-sky-2:#f5fcfd;
  --a-card:#ffffff;
  --a-line:#d9edf1;
  --a-shadow:0 12px 34px rgba(24,77,96,.10);
}

/* Csak az albumoldal új arculata */
body:has(.album-page){
  color:var(--a-ink);
  background:
    radial-gradient(circle at 12% 0%,rgba(22,183,201,.12),transparent 25rem),
    radial-gradient(circle at 92% 4%,rgba(255,101,114,.10),transparent 23rem),
    #f7fcfd;
}

.album-page{
  max-width:1320px!important;
  padding-top:30px!important;
}

.album-page .album-title{
  margin:6px 0 22px!important;
  padding:4px 2px!important;
}
.album-page .album-title h1{
  font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif!important;
  color:var(--a-navy)!important;
  font-size:clamp(34px,4vw,52px)!important;
  font-weight:800!important;
  letter-spacing:-.045em!important;
}
.album-page .album-title .eyebrow{
  color:var(--a-coral)!important;
  letter-spacing:.13em!important;
}
.album-page .album-title .eyebrow::before{
  background:var(--a-coral)!important;
}
.album-page .album-visibility-summary{
  color:var(--a-muted)!important;
  font-weight:600!important;
}

/* Kártyák */
.album-page .upload-panel,
.album-page .album-settings,
.album-page .story-place,
.album-page .video-card,
.album-page .photo-editor,
.album-page .routes-accordion,
.album-page .album-download-settings{
  border-color:var(--a-line)!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:var(--a-shadow)!important;
}

/* Feltöltés */
.album-page .upload-panel-unified{
  border:1px solid var(--a-line)!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,#fff 0%,#f7fdfe 100%)!important;
  box-shadow:var(--a-shadow)!important;
}
.album-page .upload-method-card{
  border:1px solid #dceff2!important;
  background:#fff!important;
  border-radius:18px!important;
  box-shadow:0 7px 22px rgba(24,77,96,.07)!important;
}
.album-page .upload-method-card:hover{
  border-color:rgba(22,183,201,.45)!important;
  box-shadow:0 11px 28px rgba(22,183,201,.12)!important;
}
.album-page .upload-method-head strong{
  color:var(--a-navy)!important;
}
.album-page .upload-method-head small,
.album-page .upload-help{
  color:var(--a-muted)!important;
}
.album-page .method-icon-box{
  background:var(--a-sky)!important;
  border-color:#ccecf1!important;
}
.album-page .method-icon-svg path,
.album-page .method-icon-svg circle{
  stroke:var(--a-turquoise)!important;
}
.album-page .camera-button-icon-fixed{
  stroke:currentColor!important;
}

/* Gombok */
.album-page .button{
  background:linear-gradient(135deg,var(--a-turquoise),#12a9c4)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 8px 20px rgba(22,183,201,.22)!important;
}
.album-page .button:hover{
  background:linear-gradient(135deg,var(--a-turquoise-dark),#078ca5)!important;
  box-shadow:0 11px 25px rgba(22,183,201,.28)!important;
}
.album-page .button.secondary{
  background:#eef7f9!important;
  color:#456574!important;
  border:1px solid #d7eaee!important;
  box-shadow:none!important;
}

/* Fő albumnavigáció */
.album-page .album-view-tabs{
  padding:7px!important;
  gap:5px!important;
  border:1px solid #d8edf1!important;
  border-radius:20px!important;
  background:rgba(255,255,255,.93)!important;
  box-shadow:0 8px 26px rgba(24,77,96,.08)!important;
  backdrop-filter:blur(12px);
}
.album-page .album-view-tabs .album-tab{
  min-height:58px!important;
  border:0!important;
  border-radius:14px!important;
  color:#58717d!important;
  background:transparent!important;
  font-weight:750!important;
  transition:transform .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease!important;
}
.album-page .album-view-tabs .album-tab svg,
.album-page .album-view-tabs .album-tab .album-tab-inline-icon{
  color:var(--a-turquoise)!important;
  stroke:currentColor!important;
}
.album-page .album-view-tabs .album-tab:not(.active):hover{
  color:var(--a-navy)!important;
  background:#edfafd!important;
  transform:translateY(-1px);
}
.album-page .album-view-tabs .album-tab.active{
  color:#fff!important;
  background:linear-gradient(135deg,var(--a-coral),#ff7a77)!important;
  box-shadow:0 8px 20px rgba(255,101,114,.27)!important;
}
.album-page .album-view-tabs .album-tab.active svg,
.album-page .album-view-tabs .album-tab.active .album-tab-inline-icon{
  color:#fff!important;
  stroke:#fff!important;
}

/* Űrlapok */
.album-page input,
.album-page select,
.album-page textarea{
  border-color:#d6e8ec!important;
  background:#fff!important;
  color:var(--a-ink)!important;
}
.album-page input:focus,
.album-page select:focus,
.album-page textarea:focus{
  border-color:var(--a-turquoise)!important;
  box-shadow:0 0 0 4px rgba(22,183,201,.13)!important;
}

/* Térkép */
.album-page #albumMap{
  border:5px solid #fff!important;
  box-shadow:0 14px 38px rgba(24,77,96,.13)!important;
}
.album-page .map-place-search-row{
  border-color:#d8ebef!important;
  background:#fff!important;
}
.album-page .map-place-search-icon{
  color:var(--a-turquoise)!important;
}

/* Idővonal és videók */
.album-page .story-day-dot,
.album-page .story-place-dot{
  background:var(--a-coral)!important;
}
.album-page .story-day-line{
  background:#ccecf1!important;
}
.album-page .video-card{
  border-radius:18px!important;
  overflow:hidden!important;
}
.album-page .album-video-preview{
  background:#e8f7fa!important;
}

/* Megosztás / veszélyes művelet */
.album-page .album-bottom-share .button{
  background:linear-gradient(135deg,var(--a-turquoise),#12a9c4)!important;
}
.album-page .danger-button,
.album-page .danger-zone .danger-button{
  background:var(--a-coral)!important;
  color:#fff!important;
}
.album-page .danger-button:hover,
.album-page .danger-zone .danger-button:hover{
  background:var(--a-coral-dark)!important;
}

/* Mobil */
@media(max-width:760px){
  body:has(.album-page){
    background:#f7fcfd!important;
  }
  .album-page{
    padding-left:12px!important;
    padding-right:12px!important;
    padding-top:16px!important;
  }
  .album-page .album-title h1{
    font-size:31px!important;
  }
  .album-page .album-view-tabs{
    border-radius:16px!important;
    padding:5px!important;
    gap:3px!important;
  }
  .album-page .album-view-tabs .album-tab{
    min-height:52px!important;
    border-radius:12px!important;
  }
  .album-page .upload-panel-unified{
    border-radius:18px!important;
  }
}


/* =========================================================
   ÚtiKépek A – GLOBÁLIS arculat
   türkiz + korall + világos égkék
   ========================================================= */

body{
  color:#183247!important;
  background:
    radial-gradient(circle at 92% 3%,rgba(255,101,114,.10),transparent 25rem),
    radial-gradient(circle at 6% 22%,rgba(22,183,201,.12),transparent 28rem),
    #f7fcfd!important;
}

/* Minden alap gomb */
.button,
button.button,
input[type="submit"].button,
a.button{
  background:linear-gradient(135deg,#16b7c9,#12a9c4)!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 8px 20px rgba(22,183,201,.22)!important;
}
.button:hover,
button.button:hover,
a.button:hover{
  background:linear-gradient(135deg,#0796aa,#078ca5)!important;
  color:#fff!important;
  box-shadow:0 11px 25px rgba(22,183,201,.28)!important;
}
.button.secondary,
button.button.secondary,
a.button.secondary{
  background:#eef9fb!important;
  color:#456574!important;
  border:1px solid #d3eaee!important;
  box-shadow:none!important;
}
.button.secondary:hover,
button.button.secondary:hover,
a.button.secondary:hover{
  background:#e0f5f8!important;
  color:#17324d!important;
}

/* Korall kiemelő / CTA gombok */
.cover-btn,
.mobile-camera-button,
.upload-submit{
  background:linear-gradient(135deg,#ff6572,#ff7a77)!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(255,101,114,.22)!important;
}
.cover-btn:hover,
.mobile-camera-button:hover,
.upload-submit:hover{
  background:linear-gradient(135deg,#ed4f5e,#fa6868)!important;
}

/* Veszélyes művelet marad piros-korall */
.danger-button{
  background:#ee5362!important;
  color:#fff!important;
}
.danger-button:hover{background:#d94353!important}

/* Filterek, választók */
.filter-btn{
  background:#fff!important;
  border-color:#d5e9ed!important;
  color:#52707c!important;
}
.filter-btn:hover{
  background:#edfafd!important;
  border-color:#a8dfe6!important;
}
.filter-btn.active{
  background:#16b7c9!important;
  border-color:#16b7c9!important;
  color:#fff!important;
}

/* Általános kártyák */
.features article,
.new-album,
.album-card,
.auth-card,
.profile-card,
.upload-panel,
.album-settings,
.album-layout aside,
.community,
.discover-card{
  background:rgba(255,255,255,.95)!important;
  border-color:#dbecef!important;
  box-shadow:0 9px 28px rgba(24,77,96,.08)!important;
}

/* Kezdőoldal */
.hero{
  position:relative;
}
.hero h1{
  color:#17324d!important;
}
.hero p{color:#667d8a!important}
.hero .eyebrow,
.features .eyebrow{
  color:#ff6572!important;
}
.features article{
  border-radius:22px!important;
}
.features article:hover{
  border-color:rgba(22,183,201,.35)!important;
  box-shadow:0 16px 36px rgba(22,183,201,.12)!important;
}
.features b{
  color:#16b7c9!important;
}

/* Albumkártyák a kezdőoldalon / albumlistában */
.album-card,
.discover-card{
  border:1px solid #d9ebef!important;
  background:#fff!important;
}
.album-card:hover,
.discover-card:hover{
  border-color:#a8dfe6!important;
  box-shadow:0 15px 34px rgba(22,183,201,.13)!important;
}
.album-cover,
.discover-placeholder{
  background:linear-gradient(135deg,#dff7fa,#fff1f2)!important;
}
.album-card h3,
.discover-card h3{
  color:#17324d!important;
}

/* Új album */
.new-album{
  background:linear-gradient(145deg,#fff,#f4fcfd)!important;
}
.new-album h2{color:#17324d!important}

/* Inputok */
input,select,textarea{
  border-color:#d6e8ec!important;
  background:#fff!important;
  color:#183247!important;
}
input:focus,select:focus,textarea:focus{
  border-color:#16b7c9!important;
  box-shadow:0 0 0 4px rgba(22,183,201,.13)!important;
}

/* Album fülek – A stílus */
.album-view-tabs{
  border-color:#d8edf1!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 8px 26px rgba(24,77,96,.08)!important;
}
.album-tab{
  color:#58717d!important;
  background:transparent!important;
}
.album-tab:hover{
  background:#edfafd!important;
  color:#17324d!important;
}
.album-tab.active{
  background:linear-gradient(135deg,#ff6572,#ff7a77)!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(255,101,114,.25)!important;
}

/* Feltöltési progress */
.mobile-upload-track,
.mobile-camera-track{
  background:#e2f1f4!important;
}
.mobile-upload-track>span,
.mobile-camera-track span{
  background:linear-gradient(90deg,#16b7c9,#48cfdb)!important;
}

/* TV / vetítés vezérlők */
.tv-controls button.active{
  background:#16b7c9!important;
  color:#fff!important;
}

/* Footer */
.site-footer{
  border-color:#d7e9ed!important;
  background:rgba(244,251,252,.92)!important;
}
.site-footer a{color:#58717d!important}
.site-footer a:hover{color:#ff6572!important}

/* Mobil */
@media(max-width:760px){
  body{background:#f7fcfd!important}
}


/* A arculat – megmaradt régi zöld navigációs/CTA gombok javítása */
a.new-album-button,
.new-album-button,
a[href*="album_create"],
a[href*="uj-album"],
a[href*="new_album"],
.login-button,
a[href*="login.php"].button,
.site-nav a[href*="login.php"],
.site-nav-back,
a.site-nav-back,
.back-to-albums,
a[href="/albumjaim"].button,
a[href="/albumjaim"].back,
.album-page .back{
  background:linear-gradient(135deg,#16b7c9,#12a9c4)!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(22,183,201,.22)!important;
}
a.new-album-button:hover,
.new-album-button:hover,
a[href*="album_create"]:hover,
a[href*="uj-album"]:hover,
a[href*="new_album"]:hover,
.login-button:hover,
a[href*="login.php"].button:hover,
.site-nav a[href*="login.php"]:hover,
.site-nav-back:hover,
a.site-nav-back:hover,
.back-to-albums:hover,
a[href="/albumjaim"].button:hover,
a[href="/albumjaim"].back:hover,
.album-page .back:hover{
  background:linear-gradient(135deg,#0796aa,#078ca5)!important;
  color:#fff!important;
}

/* Ha a kezdőoldali Új utazási album CTA más osztályt használ */
.dashboard a.button,
.dashboard .new-album .button,
.dashboard-head .button,
.album-page > .back,
.public-album > .back{
  background:linear-gradient(135deg,#16b7c9,#12a9c4)!important;
  color:#fff!important;
}


/* A arculat – Idővonal függőleges vonala */
.album-page .story-timeline::before{
  background:#16b7c9!important;
  width:4px!important;
}


/* A arculat – idővonal vonal és nap-pontok pontos összekötése
   A PHP-ben a vonal left:10px, a nap pontja pedig left:-30px volt;
   a pont középpontja így 10px helyett eltért a vonaltól. */
#albumView-story .story-timeline::before,
#albumView-story .story-timeline:before{
  left:10px!important;
  top:7px!important;
  bottom:7px!important;
  width:4px!important;
  border-radius:999px!important;
  background:#16b7c9!important;
  transform:translateX(-1px)!important;
}
#albumView-story .story-day::before,
#albumView-story .story-day:before{
  left:-30px!important;
  top:7px!important;
  width:12px!important;
  height:12px!important;
  box-sizing:border-box!important;
  background:#16b7c9!important;
  border:3px solid #fff!important;
  box-shadow:0 0 0 3px #16b7c9!important;
  z-index:2!important;
}

/* Mobilon a timeline padding 23px; ehhez külön középre igazítás kell. */
@media(max-width:760px){
  #albumView-story .story-timeline::before,
  #albumView-story .story-timeline:before{
    left:7px!important;
  }
  #albumView-story .story-day::before,
  #albumView-story .story-day:before{
    left:-22px!important;
    width:10px!important;
    height:10px!important;
    border-width:2px!important;
    box-shadow:0 0 0 3px #16b7c9!important;
  }
}


/* A arculat – vízszintes bekötés a dátumokhoz */
#albumView-story .story-day-head{
  position:relative!important;
}
#albumView-story .story-day-head::before{
  content:""!important;
  position:absolute!important;
  left:-24px!important;
  top:13px!important;
  width:24px!important;
  height:4px!important;
  border-radius:999px 0 0 999px!important;
  background:#16b7c9!important;
  z-index:1!important;
}
#albumView-story .story-day-head h3{
  position:relative!important;
  z-index:2!important;
}

/* Mobilon a kisebb bal oldali behúzáshoz igazítva */
@media(max-width:760px){
  #albumView-story .story-day-head::before{
    left:-17px!important;
    top:11px!important;
    width:17px!important;
    height:3px!important;
  }
}


/* A arculat – Videók fül ikonja is türkiz */
.album-page .album-view-tabs .album-tab[data-view="videos"] svg,
.album-page .album-view-tabs .album-tab[data-view="videos"] svg *,
.album-page .album-view-tabs .video-tab svg,
.album-page .album-view-tabs .video-tab svg *,
.album-page .album-view-tabs .video-tab-icon{
  color:#16b7c9!important;
  stroke:#16b7c9!important;
  fill:none!important;
}
.album-page .album-view-tabs .album-tab[data-view="videos"].active svg,
.album-page .album-view-tabs .album-tab[data-view="videos"].active svg *,
.album-page .album-view-tabs .video-tab.active svg,
.album-page .album-view-tabs .video-tab.active svg *{
  color:#fff!important;
  stroke:#fff!important;
}


/* A arculat – idővonal: a függőleges fővonalból ténylegesen a dátumig futó bekötővonal */

/* A korábbi, fejléc-pseudoelemes megoldást kikapcsoljuk. */
#albumView-story .story-day-head::before,
#albumView-story .story-day-head:before{
  content:none!important;
}

/* A bekötővonal magára a nap-blokkra kerül.
   A story-day bal széle a dátum kezdete, a fővonal közepe pedig 24 px-re van balra. */
#albumView-story .story-day::after,
#albumView-story .story-day:after{
  content:""!important;
  position:absolute!important;
  left:-24px!important;
  top:13px!important;
  width:24px!important;
  height:4px!important;
  background:#16b7c9!important;
  border-radius:999px 0 0 999px!important;
  z-index:1!important;
  pointer-events:none!important;
}

/* A dátum legyen a vonal fölött, hogy a vonal valóban odáig fusson. */
#albumView-story .story-day-head{
  position:relative!important;
  z-index:2!important;
}
#albumView-story .story-day-head h3{
  position:relative!important;
  display:inline-block!important;
  background:#fff!important;
  padding-left:0!important;
  z-index:3!important;
}

/* Mobilon a fővonal és a dátum közti kisebb távolság */
@media(max-width:760px){
  #albumView-story .story-day::after,
  #albumView-story .story-day:after{
    left:-16px!important;
    top:11px!important;
    width:16px!important;
    height:3px!important;
  }
}


/* =========================================================
   IDŐVONAL – dátum bekötővonal, végleges geometriai igazítás
   A fővonal a timeline bal szélétől 10px-re fut.
   A story-day a 34px-es belső behúzás után kezdődik,
   ezért a dátumig 24px-es vízszintes szakasz kell.
   ========================================================= */
#albumView-story .story-day{
  overflow:visible!important;
}

/* A nap pontját most a dátum sor magasságának közepére igazítjuk */
#albumView-story .story-day::before,
#albumView-story .story-day:before{
  left:-30px!important;
  top:10px!important;
  width:12px!important;
  height:12px!important;
  background:#16b7c9!important;
  border:3px solid #f7fcfd!important;
  box-shadow:0 0 0 2px #16b7c9!important;
  z-index:4!important;
}

/* Vízszintes ág: a fővonal közepétől egészen a dátumig */
#albumView-story .story-day::after,
#albumView-story .story-day:after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:-24px!important;
  top:14px!important;
  width:25px!important;
  height:4px!important;
  margin:0!important;
  padding:0!important;
  background:#16b7c9!important;
  border:0!important;
  border-radius:0!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  z-index:3!important;
  pointer-events:none!important;
}

/* Ne takarja el semmilyen belső elem a bekötővonalat */
#albumView-story .story-day-head{
  position:relative!important;
  overflow:visible!important;
  z-index:2!important;
}
#albumView-story .story-day-head h3{
  position:relative!important;
  background:transparent!important;
  z-index:4!important;
}

/* Mobil geometria: timeline padding-left 23px, fővonal left 7px */
@media(max-width:760px){
  #albumView-story .story-day{
    overflow:visible!important;
  }
  #albumView-story .story-day::before,
  #albumView-story .story-day:before{
    left:-21px!important;
    top:9px!important;
    width:10px!important;
    height:10px!important;
  }
  #albumView-story .story-day::after,
  #albumView-story .story-day:after{
    left:-16px!important;
    top:12px!important;
    width:17px!important;
    height:3px!important;
  }
}


/* =========================================================
   IDŐVONAL – eredeti pont vissza + vízszintes ág a dátumhoz
   FONTOS: az album.php későbbi inline CSS-e overflow:hidden-t ad
   a .story-day elemnek, ezért erősebb szelektorral felülírjuk.
   ========================================================= */

/* Ne vágja le a balra kilógó pontot és összekötő vonalat */
html body #albumView-story .story-timeline .story-day{
  overflow:visible!important;
}

/* EREDETI nap-pont: a függőleges vonal közepén */
html body #albumView-story .story-timeline .story-day::before,
html body #albumView-story .story-timeline .story-day:before{
  content:""!important;
  position:absolute!important;
  left:-30px!important;
  top:7px!important;
  width:12px!important;
  height:12px!important;
  border-radius:50%!important;
  background:#16b7c9!important;
  border:0!important;
  box-shadow:0 0 0 5px #e8f7f9!important;
  z-index:5!important;
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
}

/* A pont közepétől a dátumig futó vízszintes ág */
html body #albumView-story .story-timeline .story-day::after,
html body #albumView-story .story-timeline .story-day:after{
  content:""!important;
  position:absolute!important;
  left:-24px!important;
  top:11px!important;
  width:24px!important;
  height:3px!important;
  background:#16b7c9!important;
  border:0!important;
  border-radius:0!important;
  z-index:4!important;
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:none!important;
}

/* A függőleges fővonal marad türkiz és vastagabb */
html body #albumView-story .story-timeline::before,
html body #albumView-story .story-timeline:before{
  left:10px!important;
  width:4px!important;
  background:#16b7c9!important;
  border-radius:999px!important;
}

/* Mobil: az eredeti mobil-geometriához igazítva */
@media(max-width:760px){
  html body #albumView-story .story-timeline .story-day{
    overflow:visible!important;
  }
  html body #albumView-story .story-timeline .story-day::before,
  html body #albumView-story .story-timeline .story-day:before{
    left:-21px!important;
    top:7px!important;
    width:10px!important;
    height:10px!important;
    box-shadow:0 0 0 4px #e8f7f9!important;
  }
  html body #albumView-story .story-timeline .story-day::after,
  html body #albumView-story .story-timeline .story-day:after{
    left:-16px!important;
    top:10px!important;
    width:16px!important;
    height:3px!important;
  }
  html body #albumView-story .story-timeline::before,
  html body #albumView-story .story-timeline:before{
    left:7px!important;
  }
}


/* =========================================================
   A arculat – BELÉPÉSI OLDAL
   A belépés gomb régi zöld színének teljes felülírása
   ========================================================= */
.auth-card button[type="submit"],
.auth-card input[type="submit"],
.login-card button[type="submit"],
.login-card input[type="submit"],
.login-form button[type="submit"],
.login-form input[type="submit"],
form[action*="login"] button[type="submit"],
form[action*="login"] input[type="submit"],
button.login-button,
input.login-button,
#loginForm button[type="submit"]{
  background:linear-gradient(135deg,#16b7c9,#12a9c4)!important;
  background-color:#16b7c9!important;
  border-color:#16b7c9!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(22,183,201,.22)!important;
}
.auth-card button[type="submit"]:hover,
.login-card button[type="submit"]:hover,
.login-form button[type="submit"]:hover,
form[action*="login"] button[type="submit"]:hover,
button.login-button:hover,
#loginForm button[type="submit"]:hover{
  background:linear-gradient(135deg,#0796aa,#078ca5)!important;
  background-color:#0796aa!important;
  border-color:#0796aa!important;
  color:#fff!important;
}



/* =========================================================
   A ARCULAT – TÉRKÉP JELÖLŐK
   ========================================================= */

.photo-single-marker{
  background:#16b7c9!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(22,183,201,.32)!important;
}

.photo-single-marker.is-current-photo{
  background:#ff6572!important;
  box-shadow:0 0 0 4px rgba(255,101,114,.18),0 5px 14px rgba(255,101,114,.30)!important;
}

.photo-single-marker .photo-capture-order{
  background:#ff6572!important;
  color:#fff!important;
  border-color:#fff!important;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large{
  background:rgba(22,183,201,.20)!important;
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div{
  background:#16b7c9!important;
  color:#fff!important;
  border:2px solid #fff!important;
  box-shadow:0 4px 12px rgba(22,183,201,.28)!important;
}

.photo-div-marker{
  background:#16b7c9!important;
}

.video-map-marker{
  background:#ff6572!important;
  border-color:#fff!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(255,101,114,.28)!important;
}

.video-map-marker svg,
.video-map-marker svg *{
  stroke:#fff!important;
  color:#fff!important;
}

#mapPhotoViewer .map-photo-viewer-location-number{
  color:#ff6572!important;
  border-color:#ff6572!important;
}


/* A-TÉMA – VÉGLEGES SZÍNFORRÁS / APP-WEBVIEW FIX – 2026-09-10 */
:root{--ink:#183247;--muted:#667d8a;--paper:#f7fcfd;--paper2:#eaf7fa;--card:#fff;--forest:#16b7c9;--forest2:#0796aa;--sage:#8edce6;--sand:#d9f2f5;--terracotta:#ff6572;--line:rgba(34,133,154,.15)}
html body .button:not(.secondary):not(.danger-button),html body button.button:not(.secondary):not(.danger-button),html body a.button:not(.secondary){background:#16b7c9!important;border-color:#16b7c9!important;color:#fff!important;box-shadow:0 8px 20px rgba(22,183,201,.20)!important}
html body .button:not(.secondary):not(.danger-button):hover,html body button.button:not(.secondary):not(.danger-button):hover,html body a.button:not(.secondary):hover{background:#0796aa!important;border-color:#0796aa!important;color:#fff!important}
html body .button.secondary{background:#eaf9fc!important;border:1px solid #9bdde6!important;color:#126f7d!important;box-shadow:none!important}
html body .button.secondary:hover{background:#d8f3f7!important;border-color:#16b7c9!important;color:#075e6b!important}
html body .album-page .album-view-tabs .album-tab,html body .album-page .album-view-tabs a.album-tab,html body .album-page .album-view-tabs button.album-tab{background:#fff!important;border-color:rgba(22,183,201,.20)!important;color:#315264!important}
html body .album-page .album-view-tabs .album-tab:hover{background:#eaf9fc!important;color:#0796aa!important}
html body .album-page .album-view-tabs .album-tab.active,html body .album-page .album-view-tabs button.album-tab.active{background:#ff6572!important;border-color:#ff6572!important;color:#fff!important;box-shadow:0 7px 18px rgba(255,101,114,.22)!important}
html body .album-page .album-view-tabs .album-tab.active svg,html body .album-page .album-view-tabs .album-tab.active svg *{color:#fff!important;stroke:#fff!important}
html body .album-page .travel-photobook-cta-icon,html body .album-page .travel-photobook-primary,html body .album-page .travel-photobook-secondary{background:#16b7c9!important;border-color:#16b7c9!important;color:#fff!important}
html body .album-page .travel-photobook-primary:hover,html body .album-page .travel-photobook-secondary:hover{background:#0796aa!important;border-color:#0796aa!important;color:#fff!important}
html body .print-toolbar button,html body button[id*="pdf" i],html body a[id*="pdf" i],html body .pdf-button,html body .print-pdf-button{background:#16b7c9!important;border-color:#16b7c9!important;color:#fff!important}
html body .print-toolbar button:hover,html body button[id*="pdf" i]:hover,html body a[id*="pdf" i]:hover,html body .pdf-button:hover,html body .print-pdf-button:hover{background:#0796aa!important;border-color:#0796aa!important;color:#fff!important}
html body .filter-btn.active{background:#16b7c9!important;border-color:#16b7c9!important;color:#fff!important}
html body .plan-status{background:linear-gradient(135deg,#16b7c9,#0796aa)!important}


/* 2026-09-11 – főtérképes fotó-tüskék: a „Fotók” fül korall színe */
.photo-count-marker{
  background:#ff6572!important;
  color:#fff!important;
}

/* =========================================================
   v2.7.91 – LAPTOP: LIGHTBOX TÉRKÉP FIX SZÉLESSÉG
   Csak a térkép oszlopát rögzíti; a fotó méretezését nem módosítja.
   ========================================================= */
@media (min-width:901px){
  #photoLightbox.with-map .lightbox-main{
    grid-template-columns:minmax(0,1fr) 320px!important;
  }

  #photoLightbox.with-map .lightbox-map-pane,
  #photoLightbox.with-map #lightboxMapPane,
  #photoLightbox.with-map #lightboxMiniMap,
  #photoLightbox.with-map #lightboxMiniMap.leaflet-container{
    width:320px!important;
    min-width:320px!important;
    max-width:320px!important;
  }
}

/* =========================================================
   ALBUMJAIM – KOMPAKT, RESZPONZÍV ALBUMRÁCS – 2026-09-23
   Csak a dashboard Albumjaim rácsára vonatkozik.
   ========================================================= */
.dashboard #albumok.album-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:14px!important;
}

.dashboard #albumok .album-card{
  min-width:0!important;
  border-radius:16px!important;
}

.dashboard #albumok .album-cover-image,
.dashboard #albumok .album-cover{
  width:100%!important;
  height:auto!important;
  aspect-ratio:4/3!important;
  object-fit:cover!important;
  display:block!important;
}

.dashboard #albumok .album-card>div:last-child{
  padding:11px 12px 12px!important;
}

.dashboard #albumok .album-card h3{
  margin:0 0 4px!important;
  font-size:15px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

.dashboard #albumok .album-card p{
  margin:0!important;
  font-size:11px!important;
  line-height:1.3!important;
}

@media (max-width:1100px){
  .dashboard #albumok.album-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

@media (max-width:820px){
  .dashboard #albumok.album-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:11px!important;
  }
}

@media (max-width:600px){
  .dashboard #albumok.album-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  .dashboard #albumok .album-card{
    border-radius:12px!important;
  }

  .dashboard #albumok .album-card>div:last-child{
    padding:8px!important;
  }

  .dashboard #albumok .album-card h3{
    font-size:13px!important;
    margin-bottom:3px!important;
  }

  .dashboard #albumok .album-card p{
    font-size:10px!important;
    line-height:1.25!important;
  }
}

/* Albumjaim – MOBIL kompakt nézet, erős felülírás */
@media screen and (max-width:760px){
  body .dashboard #albumok.album-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }

  body .dashboard #albumok > .album-card{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    border-radius:11px!important;
    overflow:hidden!important;
  }

  body .dashboard #albumok > .album-card .album-cover-image,
  body .dashboard #albumok > .album-card .album-cover{
    width:100%!important;
    height:88px!important;
    min-height:88px!important;
    max-height:88px!important;
    aspect-ratio:auto!important;
    object-fit:cover!important;
  }

  body .dashboard #albumok > .album-card > div:last-child{
    padding:7px 7px 8px!important;
  }

  body .dashboard #albumok > .album-card h3{
    margin:0 0 3px!important;
    font-size:12px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  body .dashboard #albumok > .album-card p{
    margin:0!important;
    font-size:9px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

@media screen and (max-width:380px){
  body .dashboard #albumok.album-grid{
    gap:6px!important;
  }
  body .dashboard #albumok > .album-card .album-cover-image,
  body .dashboard #albumok > .album-card .album-cover{
    height:76px!important;
    min-height:76px!important;
    max-height:76px!important;
  }
}

/* =========================================================
   Albumjaim – VÉGLEGES rácsméretek
   laptop: 5 oszlop, közepes: 4, tablet: 3, mobil: 2
   ========================================================= */
body .dashboard #albumok.album-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:12px!important;
}
body .dashboard #albumok > .album-card .album-cover-image,
body .dashboard #albumok > .album-card .album-cover{
  width:100%!important;
  height:125px!important;
  min-height:125px!important;
  max-height:125px!important;
  aspect-ratio:auto!important;
  object-fit:cover!important;
}
body .dashboard #albumok > .album-card > div:last-child{padding:9px 10px!important}
body .dashboard #albumok > .album-card h3{font-size:14px!important;margin:0 0 3px!important}
body .dashboard #albumok > .album-card p{font-size:10.5px!important;margin:0!important}

@media screen and (max-width:1050px) and (min-width:821px){
  body .dashboard #albumok.album-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

@media screen and (max-width:820px) and (min-width:761px){
  body .dashboard #albumok.album-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

@media screen and (max-width:760px){
  body .dashboard #albumok.album-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  body .dashboard #albumok > .album-card .album-cover-image,
  body .dashboard #albumok > .album-card .album-cover{
    height:88px!important;
    min-height:88px!important;
    max-height:88px!important;
  }
  body .dashboard #albumok > .album-card > div:last-child{padding:7px!important}
  body .dashboard #albumok > .album-card h3{font-size:12px!important}
  body .dashboard #albumok > .album-card p{font-size:9px!important}
}

