/* Audio guide „Slapta meilė“ (v3/audioguide.php + js/audioguide.js). Site colours, square corners. */
.ag{display:grid;grid-template-columns:1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--paper)}
.ag__map{height:46vh;min-height:280px;max-height:520px;background:#e9e6e1;z-index:1}
.ag__panel{padding:18px 16px 22px;min-height:200px}
@media (max-width:959px){.ag.is-stop .ag__map{height:30vh;min-height:190px}}
.ag-player+.ag-player__err+.ag-text,.ag-player+.ag-text{margin-top:4px}
@media (min-width:960px){
  .ag{grid-template-columns:minmax(0,1fr) 440px;height:calc(100vh - 150px);min-height:560px;max-height:860px}
  .ag__map{height:100%;max-height:none}
  .ag__panel{overflow:auto;padding:24px 28px;border-left:1px solid var(--line)}
}
.ag-tiles{filter:grayscale(.55) sepia(.18) saturate(.9) brightness(1.03)}
.leaflet-container{font-family:"Barlow",system-ui,sans-serif}
.leaflet-container a{color:var(--rose-dark)}
.leaflet-bar a,.leaflet-bar a:first-child,.leaflet-bar a:last-child{border-radius:0}
.leaflet-bar{border-radius:0}

/* pins */
.ag-pin{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#fff;border:2px solid var(--rose-dark);color:var(--rose-dark);font:800 13px/1 "Barlow",sans-serif;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.ag-pin.is-done{background:var(--blush);border-color:var(--rose);color:var(--rose-dark)}
.ag-pin.is-cur{background:var(--rose-dark);color:#fff;border-color:#fff;transform:scale(1.25);box-shadow:0 0 0 4px rgba(142,78,88,.3),0 2px 6px rgba(0,0,0,.3)}
.ag-center{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#fff;border:2px solid rgba(0,0,0,.2);color:#2f6fd6;cursor:pointer;padding:0}

/* panel blocks */
.ag-eyebrow{margin:0 0 4px;font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--rose-dark)}
.ag-head{display:flex;gap:14px;align-items:center;margin-bottom:12px}
.ag-head img{width:84px;height:84px;object-fit:cover;flex:none;border:1px solid var(--line)}
.ag-title{margin:0;font-weight:800;font-size:24px;line-height:1.1;color:var(--ink)}
.ag-title span{color:var(--rose)}
.ag-text{margin:0 0 14px;font-size:17px;line-height:1.5}
.ag-arrived{margin:0 0 12px;padding:10px 14px;background:var(--blush);border-left:4px solid var(--rose-dark);font-weight:700;color:var(--deep)}
.ag-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:54px;padding:0 20px;margin:0 0 10px;background:var(--rose-dark);color:#fff;border:1px solid var(--rose-dark);font:800 17px/1.1 "Barlow",sans-serif;cursor:pointer}
.ag-btn:hover{background:var(--deep);border-color:var(--deep)}
.ag-btn--ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.ag-btn--ghost:hover{background:var(--blush);color:var(--ink);border-color:var(--ink)}
.ag-link{display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:8px 0;color:var(--rose-dark);font:700 16px/1.2 "Barlow",sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:44px}
.ag-tip{margin:6px 0 12px;font-size:15px;color:var(--muted)}
.ag-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding-top:10px;border-top:1px solid var(--line)}
.ag-prog{font-size:14px;color:var(--muted)}

/* audio language */
.ag-alang{display:flex;align-items:center;gap:6px;margin:4px 0 14px;flex-wrap:wrap}
.ag-alang span{font-size:14px;color:var(--muted);margin-right:4px}
.ag-alang button{min-width:48px;min-height:40px;border:1px solid var(--line);background:#fff;font:700 14px "Barlow",sans-serif;cursor:pointer;color:var(--ink)}
.ag-alang button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}

/* player */
.ag-player{display:flex;gap:14px;align-items:center;padding:14px;background:var(--blush);margin-bottom:10px}
.ag-play{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:78px;height:78px;background:var(--rose-dark);color:#fff;border:0;cursor:pointer;font:700 12px "Barlow",sans-serif}
.ag-play:hover{background:var(--deep)}
.ag-player__main{flex:1;min-width:0}
.ag-player__bar{width:100%;accent-color:var(--rose-dark);height:28px;margin:0}
.ag-player__row{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.ag-player__t{font-variant-numeric:tabular-nums;font-size:14px;color:var(--deep)}
.ag-player__ctl{display:flex;gap:6px}
.ag-player__ctl button{min-width:44px;min-height:40px;border:1px solid var(--rose);background:#fff;color:var(--deep);font:700 14px "Barlow",sans-serif;cursor:pointer}
.ag-player__err{margin:0 0 10px;color:#a3282f;font-weight:600}
.ag-nav{display:flex;gap:10px;margin-top:6px}
.ag-nav .ag-btn{margin:0}
.ag-nav .ag-back{flex:0 0 34%}
.ag-next.is-ready{animation:agPulse 1.6s ease-in-out 3}
@keyframes agPulse{50%{box-shadow:0 0 0 6px rgba(183,110,121,.35)}}
.ag-done{margin:14px 0 4px;font-weight:700;color:var(--deep)}

/* walking */
.ag-guide{margin-bottom:12px}
.ag-turn{display:flex;align-items:center;gap:14px;padding:14px 16px;background:var(--rose-dark);color:#fff}
.ag-turn svg{flex:none}
.ag-turn p{margin:0}
.ag-turn__in{font-size:14px;opacity:.85}
.ag-turn__verb{font-size:22px;font-weight:800;line-height:1.15}
.ag-turn__street{font-size:16px}
.ag-left{margin:8px 0 0;font-size:16px}
.ag-note{margin:0 0 8px;padding:10px 12px;background:var(--blush);font-size:15px}
.ag-note--wait{animation:agBlink 1.4s ease-in-out infinite}
@keyframes agBlink{50%{opacity:.55}}
.ag-how{margin:4px 0 10px;font-size:15px}
.ag-how summary{cursor:pointer;font-weight:700;color:var(--rose-dark);min-height:40px;display:flex;align-items:center}
.ag-how ol{margin:4px 0 0;padding-left:22px}
.ag-mini{position:relative;display:flex;align-items:center;gap:10px;margin:-4px 0 12px;padding:6px 10px 8px 6px;background:var(--blush);font-size:15px;font-weight:600}
.ag-mini__btn{width:40px;height:40px;flex:none;display:flex;align-items:center;justify-content:center;background:var(--rose-dark);color:#fff;border:0;cursor:pointer;padding:0}
.ag-mini__btn svg{width:20px;height:20px}
.ag-mini__track{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(0,0,0,.08)}
.ag-mini__fill{display:block;height:100%;width:0;background:var(--rose-dark)}

/* list below the app */
.ag-stops{padding-top:48px;padding-bottom:24px}
.ag-stops__sum{margin:6px 0 18px;color:var(--muted)}
.ag-list{list-style:none;margin:0;padding:0;display:grid;gap:0;grid-template-columns:1fr}
@media (min-width:900px){.ag-list{grid-template-columns:1fr 1fr;column-gap:40px}}
.ag-list__item{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}
.ag-list__item img{width:64px;height:64px;object-fit:cover;flex:none}
.ag-list__body{flex:1;min-width:0}
.ag-list__body strong{display:block;font-size:18px;line-height:1.2}
.ag-list__n{color:var(--rose)}
.ag-list__body p{margin:4px 0 8px;font-size:15px;line-height:1.45;color:#333}
.ag-list__body audio{width:100%;height:36px}
.ag-list__item.is-done strong::after{content:" ✓";color:var(--rose-dark)}
.ag-list__go{background:none;border:0;padding:6px 0;min-height:40px;color:var(--rose-dark);font:700 15px "Barlow",sans-serif;text-decoration:underline;cursor:pointer}
.ag-credit{margin:18px 0 0;font-size:14px;color:var(--muted)}
.ag-about{padding-top:24px;padding-bottom:64px;max-width:860px}
.ag-about p{font-size:17px}
@media (prefers-reduced-motion:reduce){.ag-next.is-ready,.ag-note--wait{animation:none}}

/* home mode, auto next, end of route */
.ag-tip--home{margin-top:-4px}
.ag-mode{margin-top:6px}
.ag-auto{margin:10px 0 0;padding:8px 12px;background:var(--blush);font-weight:600;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ag-auto .ag-link{min-height:32px;padding:0}
.ag-liked{margin:14px 0 6px;padding:14px;border:1px solid var(--rose)}
.ag-liked p{margin:0 0 10px;font-weight:600}

/* reviews */
.ag-muted{color:var(--muted);font-size:15px}
.ag-reviews{padding-top:40px;padding-bottom:8px;max-width:860px}
.ag-avg{margin-left:12px;color:var(--rose-dark);font-size:22px;white-space:nowrap}
.ag-avg small{font-size:15px;color:var(--muted);font-weight:600}
.ag-rv-list{list-style:none;margin:16px 0;padding:0}
.ag-rv-list li{padding:14px 0;border-bottom:1px solid var(--line)}
.ag-rv-list p{margin:0 0 4px}
.ag-rv-stars{color:var(--rose-dark);letter-spacing:2px}
.ag-rv-who{font-weight:700;font-size:15px}
.ag-rv-form-wrap{margin-top:16px}
.ag-rv-form-wrap>summary{list-style:none;max-width:360px}
.ag-rv-form-wrap>summary::-webkit-details-marker{display:none}
.ag-rv-form{display:grid;gap:12px;max-width:560px;margin-top:12px}
.ag-rv-form label{display:grid;gap:4px;font-weight:600;font-size:15px}
.ag-rv-form input[type=text],.ag-rv-form input[type=email],.ag-rv-form textarea{font:inherit;font-weight:400;padding:12px;border:1px solid #bdbdb6;background:#fff;border-radius:0}
.ag-hp{position:absolute!important;left:-9999px!important}
.ag-stars{border:0;padding:0;margin:0;display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px}
.ag-stars legend{font-weight:600;font-size:15px;margin-bottom:2px;float:left;width:100%}
.ag-stars input{position:absolute;opacity:0;width:1px;height:1px}
.ag-stars label{font-size:36px;line-height:1;color:#cfc6c7;cursor:pointer;padding:2px}
.ag-stars input:checked~label,.ag-stars label:hover,.ag-stars label:hover~label{color:var(--rose-dark)}
.ag-stars input:focus-visible+label{outline:2px solid var(--rose);outline-offset:2px}
.ag-rv-msg{margin:0;padding:10px 12px;font-weight:600}
.ag-rv-msg.is-ok{background:var(--blush);color:var(--deep)}
.ag-rv-msg.is-err{background:#fbeaea;color:#a3282f}

/* thanks */
.ag-thanks{padding-top:40px;padding-bottom:16px;max-width:860px}
.ag-thanks__box{padding:24px;background:var(--blush);border-left:4px solid var(--rose-dark)}
.ag-thanks__box p{margin:10px 0 16px}
.ag-tipform__amounts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.ag-tipform__amounts label{position:relative}
.ag-tipform__amounts input[type=radio]{position:absolute;opacity:0;width:1px;height:1px}
.ag-tipform__amounts span{display:flex;align-items:center;justify-content:center;min-width:72px;min-height:50px;padding:0 14px;background:#fff;border:1px solid var(--rose);font-weight:800;font-size:18px;cursor:pointer}
.ag-tipform__amounts input:checked+span{background:var(--rose-dark);border-color:var(--rose-dark);color:#fff}
.ag-tipform__amounts input:focus-visible+span{outline:2px solid var(--ink);outline-offset:2px}
.ag-tipform__other input{width:150px;min-height:50px;padding:0 12px;border:1px solid var(--rose);font:inherit;font-size:16px;border-radius:0}
.ag-tipform .ag-btn{max-width:360px}

/* navigation bar inside the guide */
.ag-bar{display:grid;grid-template-columns:auto 1fr auto;gap:6px;margin:-6px 0 14px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.ag-bar button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 12px;background:#fff;border:1px solid var(--line);color:var(--ink);font:700 15px/1.1 "Barlow",sans-serif;cursor:pointer;white-space:nowrap}
.ag-bar button:hover{border-color:var(--rose-dark);color:var(--rose-dark)}
.ag-bar button[data-act=mode]{color:var(--rose-dark);border-color:var(--rose)}
.ag-bar svg{flex:none;width:18px;height:18px}
@media (max-width:360px){.ag-bar button[data-act=list] span{display:none}}
/* start: two choices */
.ag-q{margin:4px 0 12px;font-size:22px;font-weight:800;line-height:1.15;color:var(--ink)}
.ag-choice{padding:14px 14px 6px;border:1px solid var(--line);background:#fff;margin-bottom:12px}
.ag-choice__t{display:flex;align-items:center;gap:8px;margin:0 0 4px;font-size:19px;font-weight:800;color:var(--deep)}
.ag-choice__d{margin:0 0 12px;font-size:15px;line-height:1.4;color:#333}
.ag-choice .ag-link{margin-bottom:4px}
/* far from the route */
.ag-far{padding:14px;background:var(--blush);border-left:4px solid var(--rose-dark)}
.ag-far p{margin:0 0 8px}
.ag-far .ag-btn{margin:6px 0 4px}

/* phone: main action always reachable */
.ag-sticky{position:sticky;bottom:0;z-index:6;background:var(--paper);margin:0 -16px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -6px 14px rgba(0,0,0,.06)}
@media (min-width:960px){.ag-sticky{margin:0 -28px;padding-left:28px;padding-right:28px}}
.ag-sticky .ag-btn{margin:0}
.ag-text.is-clamped{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:0}
.ag-more{margin:0 0 6px}
body:has(#ag) #back-to-top{display:none!important}
@media (max-width:959px){
  .ag.is-stop .ag__map{height:26vh;min-height:170px}
  .ag-head img{width:64px;height:64px}
  .ag-title{font-size:22px}
  .ag-player{padding:10px;gap:10px}
  .ag-play{width:66px;height:66px}
}

.ag-eyebrow.ag-arrived{margin:0 0 4px;padding:3px 8px;background:var(--rose-dark);color:#fff;border:0;display:inline-block;letter-spacing:.06em;text-transform:none;font-size:14px}
@media (max-width:959px){
  .ag-bar{margin:-8px 0 10px;padding-bottom:8px}
  .ag-bar button{min-height:40px;padding:0 10px;font-size:14px}
}
body:has(#ag) .v3-totop{display:none!important}

/* first screen: the choices first (phone), a smaller page heading */
body:has(#ag) .v3-pagehead{padding:22px 0 16px}
body:has(#ag) .v3-pagehead .v3-h2{font-size:clamp(30px,4.4vw,60px)}
@media (max-width:959px){
  .ag.is-start{display:flex;flex-direction:column}
  .ag.is-start .ag__panel{order:-1;padding-top:14px}
  .ag.is-start .ag__map{height:34vh;min-height:220px}
  body:has(#ag) .v3-pagehead{padding:14px 0 10px}
  body:has(#ag) .v3-pagehead .v3-eyebrow{font-size:11px}
}
.ag-start .ag-q{margin-top:0}
.ag-choice__d{margin-bottom:10px}

@media (max-width:959px){
  .ag-q{font-size:20px;margin:0 0 10px}
  .ag-choice{padding:12px 12px 4px;margin-bottom:10px}
  .ag-choice__t{font-size:18px}
  .ag-choice__d{font-size:14px;margin-bottom:8px}
  .ag-choice .ag-btn{min-height:50px;font-size:16px;margin-bottom:6px}
  .ag-choice .ag-link{min-height:36px;padding:2px 0;font-size:15px}
}

/* Same look as the rest of the site (2026-10-18): warm rose-gold gradient, pill buttons, rounded cards */
.ag,.ag-stops,.ag-reviews,.ag-thanks{--ag-grad:linear-gradient(160deg,#C99282,#B47468 55%,#9C6158);--ag-main:#9C6158;--ag-deep:#7E4A43}
.ag-btn{background:var(--ag-grad);border:0;border-radius:999px;color:#fff;box-shadow:0 12px 24px -16px rgba(94,47,55,.8)}
.ag-btn:hover{background:var(--ag-grad);filter:brightness(.94);border:0}
.ag-btn--ghost{background:#fff;color:var(--ag-deep);border:1px solid #E3C3BA;box-shadow:none}
.ag-btn--ghost:hover{background:#FBF4F1;color:var(--ag-deep);border-color:#C99282;filter:none}
.ag-link,.ag-list__go,.ag-how summary{color:var(--ag-main)}
.ag-eyebrow{color:var(--ag-main)}
.ag-eyebrow.ag-arrived{background:var(--ag-grad);border-radius:999px;padding:4px 12px}
.ag-title span,.ag-list__n{color:#C99282}
.ag-head img,.ag-list__item img{border-radius:14px;border-color:#EFDCD3}
.ag-choice,.ag-liked{border:1px solid #EFDCD3;border-radius:18px;box-shadow:0 12px 26px -22px rgba(94,47,55,.5)}
.ag-choice__t{color:var(--ag-deep)}
.ag-player{border-radius:18px;background:#FBF4F1;border:1px solid #EFDCD3}
.ag-play{background:var(--ag-grad);border-radius:50%;box-shadow:0 10px 20px -12px rgba(94,47,55,.8)}
.ag-play:hover{background:var(--ag-grad);filter:brightness(.94)}
.ag-player__ctl button,.ag-alang button,.ag-bar button{border-radius:999px;border-color:#E3C3BA}
.ag-player__ctl button{color:var(--ag-deep)}
.ag-player__bar{accent-color:var(--ag-main)}
.ag-alang button[aria-pressed="true"]{background:var(--ag-grad);border-color:transparent;color:#fff}
.ag-bar button[data-act=mode]{color:var(--ag-deep);border-color:#C99282}
.ag-turn{background:var(--ag-grad);border-radius:18px}
.ag-far,.ag-note,.ag-auto,.ag-rv-msg{border-radius:14px}
.ag-far{background:#FBF4F1;border-left:0;border:1px solid #EFDCD3}
.ag-mini{border-radius:14px}
.ag-mini__btn{border-radius:50%;background:var(--ag-grad)}
.ag-mini__fill{background:var(--ag-main)}
.ag-sticky{border-radius:18px 18px 0 0}
.ag-pin{border-color:#B47468;color:var(--ag-deep)}
.ag-pin.is-done{background:#F6E7E2;border-color:#C99282}
.ag-pin.is-cur{background:var(--ag-grad);border-color:#fff;box-shadow:0 0 0 4px rgba(180,116,104,.3),0 2px 6px rgba(0,0,0,.3)}
.ag-center{border-radius:50%}
.leaflet-bar,.leaflet-bar a:first-child{border-top-left-radius:12px;border-top-right-radius:12px}
.leaflet-bar a:last-child{border-bottom-left-radius:12px;border-bottom-right-radius:12px}
.ag-rv-stars,.ag-avg,.ag-list__item.is-done strong::after{color:var(--ag-main)}
.ag-stars input:checked~label,.ag-stars label:hover,.ag-stars label:hover~label{color:#B47468}
.ag-rv-form input[type=text],.ag-rv-form input[type=email],.ag-rv-form textarea{border-radius:12px;border-color:#E3C3BA}
.ag-thanks__box{border-radius:18px;border-left:0;border:1px solid #EFDCD3;background:#FBF4F1}
.ag-tipform__amounts span{border-radius:999px;border-color:#E3C3BA}
.ag-tipform__amounts input:checked+span{background:var(--ag-grad);border-color:transparent}
.ag-tipform__other input{border-radius:999px;border-color:#E3C3BA}
.ag-rv-form-wrap>summary{border-radius:999px}

/* Main buttons move like „Rasti dovaną per minutę“: the shine slides across and the button lifts */
.ag-btn:not(.ag-btn--ghost),.ag-play,.ag-mini__btn{background:linear-gradient(120deg,#9C6158 0%,#B47468 22%,#D9A796 40%,#C99282 55%,#B47468 78%,#9C6158 100%);background-size:220% 100%;background-position:0 0;transition:background-position .8s ease,transform .25s ease}
.ag-btn:not(.ag-btn--ghost):is(:hover,:focus-visible,:active),.ag-play:is(:hover,:focus-visible,:active),.ag-mini__btn:is(:hover,:focus-visible,:active){background:linear-gradient(120deg,#9C6158 0%,#B47468 22%,#D9A796 40%,#C99282 55%,#B47468 78%,#9C6158 100%);background-size:220% 100%;background-position:100% 0;filter:none;transform:translateY(-2px)}
.ag-btn svg{transition:transform .25s ease}
.ag-btn:hover svg{transform:translateX(4px)}
.ag-btn--ghost{transition:transform .25s ease,background-color .25s,border-color .25s}
.ag-btn--ghost:is(:hover,:focus-visible,:active){transform:translateY(-2px)}
html body.v3 .v3-article .wp-block-button__link{background:linear-gradient(120deg,#9C6158 0%,#B47468 22%,#D9A796 40%,#C99282 55%,#B47468 78%,#9C6158 100%)!important;background-size:220% 100%!important;transition:background-position .8s ease,transform .25s ease}
html body.v3 .v3-article .wp-block-button__link:hover{background-position:100% 0!important;filter:none}

.ag-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* stop list: branded Listen button */
.ag-list__acts{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:6px}
.ag-list__play{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 16px 0 10px;border:0;border-radius:999px;color:#fff;font:700 15px "Barlow",sans-serif;cursor:pointer;background:linear-gradient(120deg,#9C6158 0%,#B47468 22%,#D9A796 40%,#C99282 55%,#B47468 78%,#9C6158 100%);background-size:220% 100%;transition:background-position .8s ease,transform .25s ease}
.ag-list__play svg{width:20px;height:20px}
.ag-list__play:is(:hover,:focus-visible,:active){background-position:100% 0;transform:translateY(-2px)}
/* "How to get there" looks like it opens */
.ag-how summary{list-style:none;gap:8px}
.ag-how summary::-webkit-details-marker{display:none}
.ag-how summary::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-3px);transition:transform .2s}
.ag-how[open] summary::after{transform:rotate(-135deg) translateY(-1px)}
/* walking on a phone: a smaller map so the turn hint fits above the button */
@media (max-width:959px){.ag:not(.is-stop):not(.is-start) .ag__map{height:30vh;min-height:180px}}

/* Stop and walk views: the action bar is always at the bottom of the panel (desktop) or of the screen (phone),
   so „Kita stotelė“ does not jump between short and long stop texts. */
.ag__panel:has(>.ag-sticky){display:flex;flex-direction:column}
.ag__panel:has(>.ag-sticky)>*{flex:none}
.ag__panel:has(>.ag-sticky)>.ag-link{align-self:flex-start}
.ag__panel:has(>.ag-sticky)>.ag-tools{margin-top:auto}
@media (max-width:959px){.ag__panel:has(>.ag-sticky){min-height:calc(100svh - 40px)}}

/* hidden blocks stay hidden (e.g. the empty „Kita stotelė po 5 s“ line) */
#ag [hidden]{display:none!important}
.ag-nextd{margin:14px 0 0;padding:10px 14px;border:1px solid #EAD7D1;border-radius:14px;background:#FCF8F6;font-weight:700;color:#5E2F37}.ag-nextd::before{content:"→ ";color:#B76E79}
/* the start screen is filled by script: keep its place from the first paint (page did not jump while loading on slow phones) */
@media (max-width:959px){.ag.is-start .ag__panel{min-height:560px}.ag.is-start .ag__map{height:34vh}}
