:root {
  color-scheme: dark;
  --night: #081625;
  --deep: #050e19;
  --cream: #fff1d7;
  --gold: #efc783;
  --serif: Georgia, "Times New Roman", serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--deep); color: var(--cream); font: 1rem/1.55 system-ui, sans-serif; }
button, a { color: inherit; }
button { font: inherit; cursor: pointer; }
a { text-underline-offset: .28em; }
:focus-visible { outline: 2px solid white; outline-offset: 5px; }
.city {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0b1b34;
  --sky: 0px;
  --trail-tail: 0px;
  padding-bottom: var(--trail-tail);
}
.city-art { display: block; width: 100%; height: auto; margin-top: var(--sky); }
.city-shade, #snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.city-shade { background: linear-gradient(to bottom, #050e1966, transparent 18%, transparent 95%, var(--deep)); }
#snow { position: fixed; height: 100vh; z-index: 1; }
.top, .hero, .trail { position: absolute; z-index: 2; }
.top { inset: 0 0 auto; }
.hero { inset: clamp(5.2rem, 10vw, 10rem) 0 auto; }
.trail { inset: var(--sky) 0 var(--trail-tail); pointer-events: none; }
.stop[data-stop="malkalns"] { top: calc(100% + 35px); }
.top {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .65rem 2rem;
  padding: 1.4rem 0; margin: 0 clamp(1.15rem, 5vw, 5rem); border-bottom: 1px solid #efc78357;
}
.wordmark { text-transform: uppercase; font: 1.1rem var(--serif); letter-spacing: .24em; }
.top nav { display: flex; gap: .8rem 1.5rem; flex-wrap: wrap; align-items: center; font-size: .87rem; }
.top a { text-decoration: none; }
.top a:hover { text-decoration: underline; }
.top button { border: 1px solid #efc78370; border-radius: 99px; padding: .35rem .7rem; background: #081625b8; }
.hero { margin: 0 clamp(1.15rem, 8vw, 9rem);  }
.eyebrow { font-size: .78rem; letter-spacing: .17em; text-transform: uppercase; color: var(--gold); }
.eyebrow span { margin-right: .45rem; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: .98; margin: .18em 0; }
h1 { font-size: clamp(3.45rem, 8.6vw, 8rem); letter-spacing: -.065em; text-shadow: 0 3px 22px #050e19c0; }
h2 { font-size: clamp(2.35rem, 5vw, 4.15rem); letter-spacing: -.045em; }
.intro { font: italic clamp(1.2rem, 2.8vw, 1.8rem)/1.3 var(--serif); margin: .75rem 0 1.75rem; }
.primary {
  display: inline-flex; align-items: center; gap: 1.2rem; padding: .8rem 1rem; border-radius: .25rem;
  background: var(--gold); color: var(--deep); font-weight: 650; text-decoration: none;
}
.primary:hover { background: #ffe1a8; }
.lighting { position: absolute; inset: 0; width: 100%; height: 100%; }
[data-light] { --lit: 0; }
.constellation, .individual-lamp, .lamp-lit { opacity: var(--lit); }
.lamp-lit { transition: opacity .7s ease-out; }
.window-dark { fill: #172330; opacity: calc(1 - var(--lit)); transition: opacity .7s ease-out; }
.window-light { pointer-events: none; }
.constellation {
  fill: #ffefca;
  stroke: #ffe6b0;
  stroke-width: 1.7;
  filter: drop-shadow(0 0 5px #ffbc61);
}
.constellation path { fill: none; }
.stop {
  position: absolute; top: var(--stop-y, 40.5%); left: var(--stop-x, 72%); transform: translateX(-50%);
  pointer-events: auto; scroll-margin-top: 52vh;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  color: var(--cream); border: 1px solid #efc78399; border-radius: 50%;
  background: #342715ef; border: 2px solid var(--gold); box-shadow: 0 0 18px #ffc56677;
  transition: box-shadow .25s, background .25s, color .25s;
}
.stop::before { content: ""; position: absolute; inset: -7px; border: 1px solid #ffd68c; border-radius: 50%; pointer-events: none; animation: stop-beacon 2.8s ease-out infinite; }
.stop:hover, .stop:focus-visible, .stop:active { background: #ffda80; color: #081625; box-shadow: 0 0 32px #ffbd65; }
.stop:hover .spark, .stop:focus-visible .spark, .stop:active .spark { color: #081625; }
.stop-label { position: absolute; left: 50%; bottom: calc(100% + 13px); transform: translateX(-50%) translateY(4px); width: max-content; max-width: 200px; padding: .4rem .65rem; border: 1px solid var(--gold); border-radius: 6px; background: #081625f5; color: var(--cream); font-size: .8rem; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; pointer-events: none; }
.stop .stop-label { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
@media (max-width: 640px) { .stop .stop-label { max-width: 120px; padding: .25rem .45rem; font-size: .72rem; line-height: 1.2; text-align: center; } }
@keyframes stop-beacon { 0% { opacity: .8; transform: scale(.8); } 85%, 100% { opacity: 0; transform: scale(1.65); } }
@media (prefers-reduced-motion: reduce) { .stop::before { animation: none; opacity: .5; } }
.text-only .dialog-layout { grid-template-columns: 1fr; }
#stop-image[data-scene]:not([data-scene="foto"]) { height: 460px; object-fit: cover; }
#stop-image[data-scene="piena"] { object-position: 35% 54%; }
#stop-image[data-scene="baznica"] { object-position: 60% 74%; }
#stop-image[data-scene="stacija"] { object-position: 70% 100%; }
.spark { color: var(--gold); font-size: 1.35rem; text-shadow: 0 0 14px #ffbf55; }
.station-audio { position: absolute; right: 5%; bottom: 1%; pointer-events: auto; }
.station-audio button {
  border: 1px solid #efc78370; border-radius: 99px; padding: .35rem .7rem;
  background: #081625ed; font-size: .8rem;
}
.about { max-width: 54rem; padding: 3rem clamp(1.15rem, 5vw, 4rem) 5rem; margin: auto; }
.about p:not(.eyebrow) { max-width: 60ch; color: #e0dfdc; }
.about a { color: var(--gold); }
dialog { padding: 0; width: min(890px, calc(100vw - 2rem)); max-height: 90dvh; overflow-y: auto; border: 1px solid #efc783a0; background: var(--night); color: var(--cream); }
dialog::backdrop { background: #030913d9; }
.dialog-layout { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
#close-stop { position: absolute; right: .65rem; top: .65rem; border: 1px solid #efc783a0; border-radius: 50%; height: 42px; width: 42px; background: var(--deep); font-size: 1.5rem; z-index: 1; }
figure { margin: 0; background: var(--deep); }
figure img { display: block; width: 100%; height: auto; }
figcaption { padding: .6rem .8rem; font-size: .8rem; }
.stop-copy { padding: 3.4rem 1.5rem 1.25rem; align-self: center; }
#stop-date { color: var(--gold); }
[data-paused="true"] { scroll-behavior: auto; }
[data-paused="true"] *, [data-paused="true"] *::before { animation: none !important; transition: none !important; }
@media (max-width: 640px) {
  .city { --sky: 195px; }
  .city-art { mask-image: linear-gradient(transparent, black 17%); }
  .top { padding: .8rem 0; }
  .top nav { gap: .65rem; font-size: .75rem; }
  .hero { top: 6.6rem; }
  h1 { font-size: clamp(2.65rem, 12.5vw, 4.4rem); }
  .dialog-layout { grid-template-columns: 1fr; }
  figure img { max-height: 44dvh; object-fit: cover; }
  .stop-copy { order: -1; padding: 3.4rem 1.15rem 1.25rem; }
  #stop-image[data-scene]:not([data-scene="foto"]) { height: 230px; }
}

.lamp-halo { fill: url(#lamp-glow); opacity: .85; transform-box: fill-box; transform-origin: center; }
.lamp-core { fill: #fff4d6; filter: drop-shadow(0 0 4px #ffb84c); }
.individual-lamp { transition: opacity .65s ease-out; }
.lamp-flare { fill: #fff4d6; opacity: 0; filter: drop-shadow(0 0 5px #ffc36b); transform-box: fill-box; transform-origin: center; }
.is-ignited .lamp-halo { animation: lamp-bloom 2s ease-out both; }
.is-ignited .lamp-flare { animation: lamp-flare 2s ease-out both; }
.is-ignited .lamp-core { animation: bulb-ignite 2s ease-out both; }
@keyframes lamp-bloom {
  0% { opacity: 0; transform: scale(.3); }
  22% { opacity: 1; transform: scale(3); }
  48% { opacity: 1; transform: scale(2); }
  100% { opacity: .85; transform: scale(1.3); }
}
@keyframes lamp-flare {
  0% { opacity: 0; transform: scale(.2) rotate(-15deg); }
  25% { opacity: 1; transform: scale(1.8) rotate(0); }
  65% { opacity: .65; }
  100% { opacity: 0; transform: scale(.65) rotate(15deg); }
}
@keyframes bulb-ignite {
  0% { opacity: 0; }
  25% { opacity: 1; filter: drop-shadow(0 0 12px #fff1ba); }
  100% { opacity: 1; filter: drop-shadow(0 0 5px #ffb84c); }
}
.hero-sound {
  display: block; margin: 0 0 1rem; padding: .5rem .85rem;
  border: 1px solid #efc78380; border-radius: 99px;
  background: #081625c9; color: var(--cream);
}
@media (max-width: 640px) { .city { --sky: 245px; } }

.music-control {
  position: fixed; z-index: 5; right: 1rem; bottom: 1rem; width: 330px;
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem 1rem; border: 1px solid #efc78366; border-radius: 12px;
  background: #081625f2; box-shadow: 0 4px 24px #0005;
  font-size: .8rem;
}
.music-control label { display: flex; justify-content: space-between; gap: 1rem; }
.music-settings { flex: 1; min-width: 0; }
.music-control label { font-size: .75rem; gap: .4rem; }
.record-button { position: relative; flex: 0 0 76px; width: 76px; height: 76px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.record { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #efc78399; background: repeating-radial-gradient(circle, #111820 0 2px, #34404b 3px, #111820 4px 5px); box-shadow: 0 0 20px #efc78345; animation: record-spin 7s linear infinite; animation-play-state: paused; }
.record::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: conic-gradient(transparent 0deg, #ffffff30 45deg, transparent 90deg 180deg, #ffffff25 225deg, transparent 270deg); }
.record-label { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--deep); font-size: 1rem; }
.record-symbol { position: absolute; right: -2px; bottom: -1px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--gold); color: var(--deep); font-size: .75rem; }
[data-playing="true"] .record { animation-play-state: running; }
.record-button:hover .record { box-shadow: 0 0 28px #efc78399; }
@keyframes record-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .record { animation: none; } }
.music-control output { color: var(--gold); font-variant-numeric: tabular-nums; }
.music-control input { display: block; width: 100%; height: 28px; margin: .15rem 0; accent-color: var(--gold); cursor: pointer; }
#music-status { display: block; font-size: .68rem; color: #d3dbe5; }
.about { padding-bottom: 10rem; }
.places-page { background: linear-gradient(#081625c9, #081625ed), url("atteli/tukums-lidzenums.jpg") center top / cover fixed; }
.places-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 0; margin: 0 5%; border-bottom: 1px solid #efc78357; }
.places-top a { text-decoration: none; }
.places-main { max-width: 940px; margin: auto; padding: 4rem 1.5rem 11rem; }
.places-main h1 { font-size: clamp(3rem, 7vw, 5.7rem); max-width: 12ch; }
.places-note { color: #d3dbe5; max-width: 60ch; }
.places-route { margin: 1.6rem 0 2.2rem; padding: 1.1rem 1.3rem; border: 1px solid #efc78366; border-radius: 14px; background: #efc7830f; max-width: 60ch; }
.places-route h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.2; margin: 0 0 .8rem; color: #efc783; }
.places-route ul { list-style: none; margin: 0; padding: 0; color: #f6e7c8; font-size: 1.1rem; }
.places-route li { padding: .35rem 0; }
.places-route li b { display: inline-block; min-width: 3.6rem; color: #efc783; }
.places-list { list-style: none; padding: 0; margin: 3rem 0; }
.place-row { display: grid; grid-template-columns: 3rem 1fr; gap: 1.2rem; padding: 2rem 0; border-top: 1px solid #efc78355; }
.place-number { font: 1.6rem var(--serif); color: var(--gold); padding-top: .6rem; }
.place-row .eyebrow { margin-top: 0; }
.place-row h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.12; }
.place-row p { max-width: 58ch; }
.place-address, .map-link { color: var(--gold); }
.scene-instructions { color: var(--gold); font-size: .9rem; }
.mini-scene { position: relative; min-height: 155px; display: flex; align-items: center; justify-content: center; gap: .7rem; padding: 1rem; border: 1px solid #efc78355; border-radius: 12px; background: radial-gradient(ellipse at bottom, #33475c, #071321 75%); }
.mini-scene button { min-width: 44px; min-height: 44px; border: 1px solid #efc78377; background: #101e2b; color: #c5cbd0; border-radius: 8px; transition: color .3s, box-shadow .3s, background .3s; }
.mini-scene button:focus-visible, .mini-scene button.revealed { color: #fff3ce; border-color: #ffda80; background: #71562b; box-shadow: 0 0 18px #ffd08388; }
@media (hover: hover) { .mini-scene:not(.scene-kungsTukums) button:hover { color: #fff3ce; border-color: #ffda80; background: #71562b; box-shadow: 0 0 18px #ffd08388; } .scene-kungsTukums button:hover { color: #fff3ce; border-color: #ffda80; } }
.scene-status { min-height: 3em; color: #f5ddb1; font-size: .85rem; }
.scene-kungsTukums { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.scene-kungsTukums button { width: 100%; min-width: 0; padding: .7rem .2rem; font-family: var(--serif); font-size: clamp(1rem, 3.85vw, 1.28rem); }
#stop-story a { color: #efc783; text-decoration: underline; text-underline-offset: 3px; }
.share-words { margin-top: .4rem; cursor: pointer; font: inherit; font-weight: 400; background: transparent; color: var(--gold); }
.share-main { background: var(--gold); color: #081625; font-size: 1.22rem; padding: .85rem 1.4rem; }
.share-main:hover { background: #ffdca0; }
.photo-share { margin-top: .6rem; }
.photo-share [hidden] { display: none !important; }
.photo-preview { display: block; width: auto; max-width: 100%; max-height: 70vh; margin: .8rem auto .2rem; border-radius: .4rem; }
.photo-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.scene-status strong { color: #efc783; font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.scene-pienaIela { height: 220px; overflow: hidden; background: radial-gradient(ellipse at 50% 120%, #1d3048, #050d18 70%); }
.scene-pienaIela .milky { position: absolute; inset: -20% -10%; background: linear-gradient(115deg, transparent 30%, #f6efe02a 45%, #fff8e844 50%, #f6efe02a 55%, transparent 70%); filter: blur(14px); pointer-events: none; }
.scene-pienaIela svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.scene-pienaIela polyline { fill: none; stroke: #ffe0a1; stroke-width: .5; opacity: 0; transition: opacity 1.2s ease; vector-effect: non-scaling-stroke; }
.scene-pienaIela.connected polyline { opacity: .85; stroke-width: 1.4; }
.faint-star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff6dd; opacity: .35; animation: blink 3s ease-in-out infinite; pointer-events: none; }
@keyframes blink { 50% { opacity: .85; } }
.wish-star { position: absolute; transform: translate(-50%, -50%); text-align: center; pointer-events: none; animation: starIn .7s ease; }
.wish-star b { display: block; color: #fff3ce; font-size: 1.6rem; text-shadow: 0 0 14px #ffd083, 0 0 28px #ffd08399; }
.wish-star em { display: block; white-space: nowrap; font-style: italic; font-family: var(--serif); color: #f6e7c8; font-size: .78rem; }
@keyframes starIn { from { transform: translate(-50%, -50%) scale(.2); opacity: 0; } }
.wish-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .7rem; }
.wish-chips button { padding: .4rem .7rem; border: 1px solid #efc78377; border-radius: 999px; background: #101e2b; color: #d8dde2; font: .98rem var(--serif); cursor: pointer; }
.wish-chips button[aria-pressed="true"] { background: #71562b; color: #fff3ce; border-color: #ffda80; box-shadow: 0 0 12px #ffd08366; }
.scene-baznica { height: 170px; align-items: flex-end; gap: .2rem; padding: .8rem .6rem .4rem; background: radial-gradient(ellipse at 50% 100%, #3a3324, #0b1420 70%); }
.mini-scene.scene-baznica button { flex: 1; min-width: 0; padding: 0; background: transparent; border: 0; box-shadow: none; cursor: pointer; }
.scene-baznica svg { width: 100%; height: 100%; display: block; }
.fir-body { fill: #5f7f7c; transition: fill .6s; }
.fir-trunk { fill: #3b3127; }
.fir-lights circle { fill: #fff9e6; opacity: 0; transition: opacity .8s; }
.scene-baznica .revealed .fir-body { fill: #a9c4bb; }
.scene-baznica .revealed svg { filter: drop-shadow(0 0 10px #ffe1a2aa); }
.scene-baznica .revealed .fir-lights circle { opacity: 1; animation: blink 2.4s ease-in-out infinite; }
.scene-baznica .revealed .fir-lights circle:nth-child(2n) { animation-delay: .8s; }
.scene-stacija { gap: 3px; padding: 4.5rem .5rem 1rem; align-items: flex-end; overflow: hidden; background: radial-gradient(ellipse at 50% 85%, rgba(255, 208, 131, calc(var(--glow, 0) * .45)), transparent 65%), radial-gradient(ellipse at bottom, #33475c, #071321 75%); transition: background .6s; }
.piano-spark { position: absolute; bottom: 120px; transform: translateX(-50%); color: #ffe6a6; font-size: 1.1rem; text-shadow: 0 0 10px #ffd083; pointer-events: none; animation: spark-up 2.4s ease-out forwards; }
.piano-spark.big { font-size: 1.7rem; }
@keyframes spark-up { from { opacity: 1; transform: translate(-50%, 0) scale(.6); } to { opacity: 0; transform: translate(-50%, -70px) scale(1.2); } }
.piano-hint { margin: .5rem 0 0; color: #c9d0d8; font-size: .95rem; font-style: italic; }
.scene-status em { color: #c9d0d8; }
.scene-stacija button { min-width: 0; flex: 1; height: 110px; border-radius: 0 0 6px 6px; background: #f1e5cc; color: #15202d; display: flex; align-items: end; justify-content: center; padding: .4rem 0; font-size: .7rem; }
.scene-stacija button.played { animation: piano-key .7s ease-out; }
@keyframes piano-key { 0%, 25% { background: #ffd075; transform: translateY(4px); box-shadow: 0 0 20px #ffd075; } 100% { background: #f1e5cc; transform: translateY(0); } }
.scene-malkalns { color: var(--gold); font-size: 3rem; }
.stop.discovered { background: #e7bd6b; }
.stop.discovered .spark { color: #081625; }
.map-link { display: inline-block; margin-top: .6rem; padding: .7rem 1.2rem; border: 1px solid var(--gold); border-radius: .25rem; font-weight: 700; text-decoration: none; }
.map-link:hover { background: var(--gold); color: #081625; }
@media (max-width: 640px) {
  .places-top { font-size: .8rem; }
  .place-row { grid-template-columns: 1.8rem 1fr; gap: .7rem; }
  .music-control { width: auto; right: .65rem; bottom: .65rem; padding: 0; gap: 0; background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .music-settings { display: none; }
  .record-label { width: 20px; height: 20px; font-size: .7rem; }
  .record-symbol { width: 19px; height: 19px; font-size: .6rem; }
  .record-button { flex-basis: 52px; width: 52px; height: 52px; }
}

/* Paziņojums, ka lapa tiek papildināta */
.about p.aug-zina { margin: 1.6rem 0; padding: 1rem 1.2rem; border: 1px solid #efc783a0; border-left: 4px solid var(--gold); border-radius: 6px; background: #ffffff0d; color: var(--cream); }
.aug-zina span { color: var(--gold); }

/* Telefonā garais pilsētas attēls (1:3), datorā platais; gaismas un pieturas katram savas. */
@media (min-width: 641px) {
  .lighting-tall { display: none; }
  [data-stop="kungsTukums"] { --stop-x: 71.5%; --stop-y: calc(36.4% - 22px); }
  [data-stop="pienaIela"] { --stop-x: 28.7%; --stop-y: calc(49.5% - 22px); }
  [data-stop="baznica"] { --stop-x: 77%; --stop-y: 73%; }
  [data-stop="stacija"] { --stop-x: 66%; --stop-y: 92%; }
}
@media (max-width: 640px) {
  .lighting-wide { display: none; }
  .city-art { -webkit-mask-image: linear-gradient(transparent, black 8%); mask-image: linear-gradient(transparent, black 8%); }
  [data-stop="kungsTukums"] { --stop-x: 71.3%; --stop-y: calc(17.9% - 22px); }
  [data-stop="pienaIela"] { --stop-x: 50%; --stop-y: calc(33.6% - 22px); }
  [data-stop="baznica"] { --stop-x: 60%; --stop-y: calc(56% - 22px); }
  [data-stop="stacija"] { --stop-x: 60.3%; --stop-y: calc(90.2% - 50px); }
}
.lighting-wide .lamp-halo { fill: url(#lamp-glow-wide); }
.map-link.share-words { font-weight: 400; }
.map-link.share-main { background: var(--gold); color: #081625; }
.map-link.share-main:hover { background: #ffdca0; color: #081625; }
#stop-dialog.text-only { max-width: min(680px, 94vw); }
.stop-cta-top { display: block; color: var(--gold); font-size: .68em; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .1rem; }
.stop:not(.garden-stop) .stop-label { pointer-events: auto; cursor: pointer; width: max-content; max-width: none; min-height: 0; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: .45rem .8rem; font-size: 1rem; line-height: 1.2; }
.stop:not(.garden-stop) .stop-label:hover { background: #142a40f5; box-shadow: 0 0 16px #ffd08366; }
.stop:not(.garden-stop) .stop-cta-top { font-size: .8rem; margin-bottom: 0; white-space: nowrap; }
@media (max-width: 640px) { .stop:not(.garden-stop) .stop-label { width: max-content; max-width: none; min-height: 0; padding: .4rem .7rem; } }
.photo-ask { margin-top: .4rem; padding: .9rem 1rem; border: 1px solid #efc78366; border-radius: 12px; background: #efc7830d; }
.photo-ask p { margin: 0 0 .6rem; color: #e6e9ee; font-size: 1.03rem; }
.photo-ask .photo-ask-q { color: var(--gold); font-family: var(--serif); font-size: 1.28rem; line-height: 1.3; }
.photo-ask b { color: #fff3ce; }
.photo-ask [hidden] { display: none !important; }
.share-note { margin: .5rem 0 0; color: #c9d0d8; font-size: .95rem; font-style: italic; }
.photo-share .share-note[hidden] { display: none; }
.stop-more { margin: 1rem 0 0; font-size: 1.03rem; }
.stop-more a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
#stop-dialog .scene-instructions { font-size: 1.05rem; font-family: var(--serif); }
.place-row { scroll-margin-top: 1.5rem; }
.place-row p a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.place-buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.map-link.photo-go { background: var(--gold); color: #081625; }
@media (pointer: fine) { .map-link.photo-go { display: none; } }
.photo-hint { margin: .2rem 0 0; padding: .6rem .8rem; border: 1px dashed #efc78366; border-radius: 10px; color: #e6dcc6; font-size: .98rem; }
.credits { display: grid; gap: 1.4rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid #efc78344; }
.credit-block h3 { margin: 0 0 .35rem; color: var(--gold); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-family: inherit; font-weight: 400; }
.credit-block p { margin: 0 0 .25rem; }
.credits a, .credits-foot a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.sponsors { line-height: 1.6; }
.sponsors-1 { font-family: var(--serif); font-size: 1.35rem; }
.sponsors-2 { font-family: var(--serif); font-size: 1.12rem; }
.sponsors-3 { font-size: .9rem; color: #cfd6de; }
.credits-foot { margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid #efc78333; font-size: .82rem; color: #aeb7c2; }
.pdf-link a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.disclaimer { margin: 1rem 0 0; font-size: .68rem; line-height: 1.4; color: #7f8a97; }
.show-card { max-width: 760px; margin: 3rem auto 0; padding: 1.6rem 1.5rem; border: 1px solid var(--gold); border-radius: 16px; background: linear-gradient(160deg, #0d2036, #081625); box-shadow: 0 0 30px #ffd08322; }
.show-card h2 { margin: .2rem 0 .4rem; font-size: clamp(1.9rem, 5vw, 2.6rem); }
.show-card .show-dates { color: var(--gold); font-family: var(--serif); font-size: 1.25rem; margin: 0 0 .8rem; }
.show-card p { color: #e6e9ee; }
.show-card .show-price { font-size: .9rem; color: #c9d0d8; }
@media (max-width: 640px) { .show-card { margin: 2rem 16px 0; padding: 1.2rem 1.1rem; } }

/* Daces ikonas kā CSS maska — krāsa no teksta. */
.ik { display: inline-block; flex: none; width: 1.25em; height: 1.25em; margin-right: .5em; vertical-align: -.25em; background: currentColor; -webkit-mask: var(--ik) center / contain no-repeat; mask: var(--ik) center / contain no-repeat; }
/* Spēka uzlādes stacija telefonā: trīs soļi uzreiz zem nosaukuma. */
.photo-steps { display: flex; align-items: flex-start; gap: .7rem; margin: .3rem 0 1rem; padding: .8rem .9rem; border-style: solid; background: #efc7830d; font-size: 1.05rem; line-height: 1.35; }
.photo-steps .ik { width: 1.7rem; height: 1.7rem; margin: .1rem 0 0; color: var(--gold); }
.photo-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: solis; display: grid; gap: .45rem; }
.photo-steps li { counter-increment: solis; display: grid; grid-template-columns: 1.6rem 1fr; gap: .5rem; align-items: start; }
.photo-steps li::before { content: counter(solis); display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: var(--serif); font-size: .95rem; }
.photo-steps li.done::before { content: "✓"; background: var(--gold); color: #081625; }
.photo-steps li.done { color: #aeb7c2; }
#stop-interaction [hidden] { display: none !important; }
.photo-ask .photo-actions { flex-direction: column; gap: .2rem; }
.photo-ask .map-link { display: flex; align-items: center; justify-content: center; width: 100%; font-size: 1.1rem; }
.photo-ask .map-link.share-main { font-size: 1.22rem; }
.photo-share > .photo-actions .map-link { display: inline-flex; align-items: center; font-size: 1.1rem; }

/* Tieši trīs: pārējie pieklusināti, kamēr kāds nav noņemts. */
.scene-kungsTukums.full button:not(.revealed), .wish-chips.full button[aria-pressed="false"] { opacity: .4; }
.step-count { color: var(--gold); font-weight: 400; white-space: nowrap; }
.photo-steps li.done .step-count { display: none; }
/* Pēc foto: pogas vienā kolonnā, „Dalies” pirmā. */
.photo-share > .photo-actions { flex-direction: column; gap: .2rem; }
.photo-share > .photo-actions .map-link { display: flex; justify-content: center; width: 100%; }
.photo-ask .photo-ask-q { margin-bottom: .3rem; }

/* Zelta zvaigznīte rindkopas sākumā (emocijzīmes vietā). */
.zv { color: var(--gold); margin-right: .25em; }

/* ---- Pēc foto: pietura pabeigta, progress, „Atpakaļ uz karti” ---- */
.photo-done { margin: 1.2rem 0 .4rem; padding: 1rem 1.1rem; border: 1px solid var(--gold); border-radius: .5rem; background: #efc7831a; }
.photo-done .pd-virs { margin: 0 0 .5rem; font: 1.25rem var(--serif); color: var(--gold); }
.photo-done .pd-teksts { margin: 0 0 .6rem; }
.pd-saraksts { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; gap: .25rem; }
.pd-saraksts li { color: #aeb7c2; }
.pd-saraksts li.ir { color: var(--cream); }
.pd-saraksts li span { display: inline-block; width: 1.3em; color: var(--gold); font-weight: 700; }
.pd-saraksts em { color: #aeb7c2; font-style: normal; font-size: .9em; }
.pd-pogas { display: flex; flex-direction: column; gap: .2rem; }
.pd-pogas .map-link { display: flex; justify-content: center; width: 100%; box-sizing: border-box; font: inherit; font-size: 1.05rem; cursor: pointer; background: none; color: var(--gold); }
.pd-pogas .map-link.share-main { background: var(--gold); color: #081625; font-weight: 700; }
.stop-bottom { position: sticky; bottom: 0; z-index: 2; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: linear-gradient(to bottom, #0b162600, var(--night) 35%); }
#stop-back { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .75rem 1rem; border: 1px solid var(--gold); border-radius: .25rem; background: var(--night); color: var(--gold); font: inherit; font-size: 1.05rem; cursor: pointer; }
#stop-back .ik-atp { transform: rotate(180deg); }
.mz-progress { position: fixed; left: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 5; margin: 0; padding: .45rem .9rem; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); font-size: .88rem; background: #050e19e6; box-shadow: 0 0 14px #ffc56633; pointer-events: none; }
.mz-progress span { margin-right: .25rem; }
