/* ==========================================================================
   Hotel Hubertus – promo sekce dárkových poukazů na HP
   Zapečetěná obálka se při doscrollování otevře a vyjedou z ní poukazy.
   Vše je pod prefixem .hvp / .hvp-v, bez knihoven. Fonty a rozměry si bere
   z proměnných webu (--font-display, --font-body, --max-width, --gutter).
   Výchozí stav bez JS = otevřená obálka s poukazy (finální podoba).
   ========================================================================== */

.hvp {
  --hvp-night: #14231a;
  --hvp-forest: #1f3328;
  --hvp-ink: #f3ead8;
  --hvp-muted: #bdb39b;
  --hvp-gold: #e0b468;
  --hvp-gold-hi: #f0cf8e;
  --hvp-paper: #efe5cf;
  --hvp-liner: #2f5a3c;
  --hvp-display: var(--font-display, 'Zodiak', Georgia, 'Times New Roman', serif);
  --hvp-body: var(--font-body, 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  --hvp-mono: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.25rem, 2rem + 4.5vw, 5.75rem) 0 clamp(5rem, 3rem + 7vw, 8.5rem);
  background:
    radial-gradient(90% 70% at 80% 0%, rgba(58, 96, 71, .55) 0%, rgba(58, 96, 71, 0) 65%),
    linear-gradient(180deg, var(--hvp-night) 0%, var(--hvp-forest) 100%);
  color: var(--hvp-ink);
  font-family: var(--hvp-body);
}
.hvp *, .hvp *::before, .hvp *::after { box-sizing: border-box; }
.hvp__defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Pozadí: měsíc, krajina, sníh ---------- */
.hvp__moon {
  position: absolute; z-index: -3;
  top: clamp(1.25rem, 3.5vw, 3rem); right: clamp(1.25rem, 6vw, 6.5rem);
  width: clamp(40px, 5vw, 76px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 234, 216, .16) 0%, rgba(243, 234, 216, 0) 70%);
  pointer-events: none;
}
.hvp__moon::before {
  content: ""; position: absolute; inset: 22%; border-radius: 50%; background: var(--hvp-ink);
  -webkit-mask: radial-gradient(circle at 70% 32%, transparent 0 52%, #000 54%);
          mask: radial-gradient(circle at 70% 32%, transparent 0 52%, #000 54%);
}
.hvp__land {
  position: absolute; z-index: -2; left: 0; right: 0; bottom: -1px;
  width: 100%; max-width: none; height: max(110px, 16.7vw); pointer-events: none;
}
.hvp__land .l1 { fill: #27432f; }
.hvp__land .l2 { fill: #2b4a35; }
.hvp__land .lt { fill: #1c3224; }
.hvp__land .l3 { fill: #172a1e; }
.hvp__land .lr { fill: none; stroke: #6f93a0; stroke-width: 5; stroke-linecap: round; opacity: .5; }
.hvp .hvp__sky { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }

/* ---------- Rozvržení ---------- */
.hvp .hvp__inner {
  max-width: var(--max-width, 1200px); margin: 0 auto;
  padding: 0 var(--gutter, clamp(1rem, .5rem + 2vw, 2rem));
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "visual" "foot";
  gap: clamp(1.75rem, 1rem + 3vw, 2.75rem) clamp(2rem, 4vw, 4.5rem);
}
.hvp__head { grid-area: head; }
.hvp__visual { grid-area: visual; display: grid; justify-items: center; gap: clamp(.75rem, 2vw, 1.25rem); min-width: 0; }
.hvp__foot { grid-area: foot; }
@media (min-width: 900px) {
  .hvp .hvp__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "head visual" "foot visual";
    align-items: center;
  }
  .hvp__head { align-self: end; }
  .hvp__foot { align-self: start; }
}

/* ---------- Texty ---------- */
.hvp .hvp__label {
  display: block; margin: 0 0 .6rem;
  font: 600 var(--text-xs, .75rem)/1.4 var(--hvp-body);
  text-transform: uppercase; letter-spacing: .1em; color: var(--hvp-gold);
}
.hvp .hvp__title {
  margin: 0 0 1rem; color: var(--hvp-ink);
  font-family: var(--hvp-display); font-weight: 500;
  font-size: clamp(2rem, 1.25rem + 2.9vw, 3.25rem); line-height: 1.08; letter-spacing: -.02em;
  text-wrap: balance;
}
.hvp .hvp__lead {
  margin: 0; max-width: 34em;
  font-size: var(--text-lg, 1.0625rem); line-height: 1.6; color: var(--hvp-muted);
}
.hvp .hvp__facts {
  list-style: none; margin: 0 0 1.75rem; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.25rem;
  border-top: 1px solid rgba(243, 234, 216, .16);
}
.hvp .hvp__facts li { margin: 0; padding: 1rem 0 0; display: grid; gap: .3rem; align-content: start; }
.hvp .hvp__facts li::before { content: none; }
.hvp__facts b { font: 500 clamp(1.15rem, 1rem + .6vw, 1.5rem)/1.1 var(--hvp-display); color: var(--hvp-ink); }
.hvp__facts span { font-size: var(--text-sm, .875rem); line-height: 1.4; color: var(--hvp-muted); }
@media (max-width: 420px) {
  .hvp .hvp__facts { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .hvp .hvp__facts li { grid-template-columns: 6.25rem minmax(0, 1fr); align-items: baseline; gap: .75rem; padding: .7rem 0; border-top: 1px solid rgba(243, 234, 216, .16); }
}
.hvp__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hvp .hvp__btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.5rem; border: 2px solid transparent; border-radius: var(--radius-md, 8px);
  font: 600 var(--text-base, 1rem)/1.3 var(--hvp-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.hvp .hvp__btn--gold { background: var(--hvp-gold); border-color: var(--hvp-gold); color: #1c2a21; }
.hvp .hvp__btn--gold:hover { background: var(--hvp-gold-hi); border-color: var(--hvp-gold-hi); color: #1c2a21; }
.hvp .hvp__btn--ghost { background: transparent; border-color: rgba(243, 234, 216, .4); color: var(--hvp-ink); }
.hvp .hvp__btn--ghost:hover { border-color: var(--hvp-ink); color: var(--hvp-ink); }
.hvp a:focus-visible, .hvp button:focus-visible { outline: 3px solid var(--hvp-gold-hi); outline-offset: 3px; }

/* ---------- Scéna: obálka a poukazy ----------
   Všechny míry jsou v cqi (procenta šířky .hvp__stage), takže se scéna škáluje jako celek.
   Vrstvy (z-index): zadní strana obálky 1 · otevřená chlopeň 2 · zasunuté poukazy 10+ ·
   přední kapsa 5000 · zavřená chlopeň 5001 · pečeť 5002 · vytažený poukaz 6000. */
.hvp__stage { container-type: inline-size; container-name: hvpstage; width: 100%; max-width: 620px; }
.hvp__scene {
  --cw: 78cqi; --ch: calc(var(--cw) * 99 / 210);            /* poukaz DL */
  --ew: 60cqi; --eh: 30cqi; --ex: 40cqi; --ey: 40cqi; --er: -4deg;  /* obálka */
  --tuck: .73;                                              /* měřítko poukazu v obálce */
  --t0x: 33.4cqi; --t0y: 16.9cqi; --t0r: -11deg;          /* zasunuté poukazy: zadní, prostřední, přední */
  --t1x: 39.2cqi; --t1y: 21.5cqi; --t1r: -3deg;
  --t2x: 45cqi; --t2y: 25.6cqi; --t2r: 4deg;
  --lx: 37.95cqi; --ly: 10.8cqi; --ls: .73;                 /* vytažený nad obálku */
  --fx: 56cqi; --fy: 63.5cqi; --fr: 3deg;                   /* položený vpředu */
  position: relative; height: 86cqi;
  transform: perspective(1400px) rotateX(calc(var(--hvp-ty, 0) * -4deg)) rotateY(calc(var(--hvp-tx, 0) * 5deg));
  transform-origin: 50% 55%;
  translate: 0 0; transition: translate 1s cubic-bezier(.65, 0, .35, 1);
}
.hvp--closed .hvp__scene { translate: 9cqi 7cqi; transition: none; }

.hvp__envpart {
  position: absolute; left: calc(var(--ex) - var(--ew) / 2); top: calc(var(--ey) - var(--eh) / 2);
  width: var(--ew); height: var(--eh); transform: rotate(var(--er)); pointer-events: none;
}
.hvp__env-back {
  z-index: 1; border-radius: .6cqi;
  background-color: var(--hvp-liner);
  background-image:
    radial-gradient(circle, rgba(224, 180, 104, .6) 0 .16cqi, transparent .2cqi),
    radial-gradient(circle, rgba(224, 180, 104, .35) 0 .12cqi, transparent .16cqi);
  background-size: 2cqi 2cqi; background-position: 0 0, 1cqi 1cqi;
  box-shadow: 0 2.4cqi 5cqi rgba(0, 0, 0, .38), 0 .4cqi 1cqi rgba(0, 0, 0, .3);
}
.hvp__env-front { z-index: 5000; border-radius: .6cqi; overflow: hidden; }
.hvp__env-front svg { display: block; width: 100%; height: 100%; }

.hvp__flapwrap { z-index: 2; transition: z-index 0s linear .45s; }
.hvp--closed .hvp__flapwrap { z-index: 5001; transition: none; }
.hvp__flap {
  position: absolute; left: 0; top: 0; width: 100%; height: 58%;
  transform-origin: 50% 0; transform-style: preserve-3d;
  transform: perspective(90cqi) rotateX(180deg);
  transition: transform .9s cubic-bezier(.65, 0, .35, 1);
}
.hvp--closed .hvp__flap { transform: perspective(90cqi) rotateX(0deg); transition: none; }
.hvp__flap-face {
  position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%); clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.hvp__flap-face--out { background: linear-gradient(180deg, #f4ebd7 0%, #e7dbbf 100%); }
.hvp__flap-face--in {
  transform: rotateX(180deg);
  -webkit-clip-path: polygon(0 100%, 100% 100%, 50% 0); clip-path: polygon(0 100%, 100% 100%, 50% 0);
  background-color: var(--hvp-liner);
  background-image:
    radial-gradient(circle, rgba(224, 180, 104, .6) 0 .16cqi, transparent .2cqi),
    radial-gradient(circle, rgba(224, 180, 104, .35) 0 .12cqi, transparent .16cqi);
  background-size: 2cqi 2cqi; background-position: 0 0, 1cqi 1cqi;
}

/* Pečeť: viditelná jen před otevřením (.hvp--seal) a při lámání (.hvp--crack) */
.hvp__seal-layer { z-index: 5002; }
.hvp__seal {
  position: absolute; left: 50%; top: 58%; width: 10.5cqi; aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(9deg); opacity: 0; visibility: hidden;
}
.hvp--seal .hvp__seal, .hvp--crack .hvp__seal { opacity: 1; visibility: visible; }
.hvp__seal-half { position: absolute; inset: 0; filter: drop-shadow(0 .3cqi .5cqi rgba(40, 8, 6, .45)); }
.hvp__seal-half svg { display: block; width: 100%; height: 100%; }
.hvp__seal-half svg text { font-family: var(--hvp-display); font-weight: 500; }
.hvp__seal-half--l svg { -webkit-clip-path: polygon(0 0, 55% 0, 46% 22%, 57% 41%, 45% 62%, 55% 81%, 48% 100%, 0 100%); clip-path: polygon(0 0, 55% 0, 46% 22%, 57% 41%, 45% 62%, 55% 81%, 48% 100%, 0 100%); }
.hvp__seal-half--r svg { -webkit-clip-path: polygon(55% 0, 100% 0, 100% 100%, 48% 100%, 55% 81%, 45% 62%, 57% 41%, 46% 22%); clip-path: polygon(55% 0, 100% 0, 100% 100%, 48% 100%, 55% 81%, 45% 62%, 57% 41%, 46% 22%); }
.hvp--crack .hvp__seal-half--l { animation: hvp-seal-l .78s cubic-bezier(.5, 0, .75, .4) both; }
.hvp--crack .hvp__seal-half--r { animation: hvp-seal-r .78s cubic-bezier(.5, 0, .75, .4) both; }
@keyframes hvp-seal-l {
  0% { transform: none; opacity: 1; }
  22% { transform: scale(1.1); opacity: 1; }
  34% { transform: translate(-6%, 0) rotate(-5deg); opacity: 1; }
  100% { transform: translate(-70%, 210%) rotate(-52deg); opacity: 0; }
}
@keyframes hvp-seal-r {
  0% { transform: none; opacity: 1; }
  22% { transform: scale(1.1); opacity: 1; }
  34% { transform: translate(6%, 0) rotate(5deg); opacity: 1; }
  100% { transform: translate(80%, 190%) rotate(48deg); opacity: 0; }
}
.hvp__spark {
  position: absolute; left: 50%; top: 50%; width: .9cqi; height: .9cqi; margin: -.45cqi 0 0 -.45cqi;
  border-radius: 50%; background: var(--hvp-gold-hi); box-shadow: 0 0 1.2cqi .2cqi rgba(224, 180, 104, .8); opacity: 0;
}
.hvp--crack .hvp__spark { animation: hvp-spark .8s cubic-bezier(.15, .7, .3, 1) .16s both; }
@keyframes hvp-spark {
  0% { transform: rotate(var(--a)) translateX(2cqi) scale(1); opacity: 1; }
  100% { transform: rotate(var(--a)) translateX(var(--d)) scale(.15); opacity: 0; }
}

/* ---------- Poukaz jako karta ve scéně ---------- */
.hvp .hvp__card {
  --x: var(--fx); --y: var(--fy); --r: var(--fr); --s: 1;
  position: absolute; left: 0; top: 0; z-index: 10;
  width: var(--cw); height: var(--ch); margin: calc(var(--ch) / -2) 0 0 calc(var(--cw) / -2);
  container-type: inline-size; container-name: hvpcard;
  display: block; overflow: hidden; border-radius: .9cqi;
  color: inherit; text-decoration: none; cursor: pointer;
  transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(var(--s));
  transition: transform .5s cubic-bezier(.45, 0, .2, 1), box-shadow .5s ease;
  box-shadow: 0 .2cqi .5cqi rgba(0, 0, 0, .28), 0 1.2cqi 2.6cqi rgba(0, 0, 0, .3);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
}
.hvp .hvp__card.is-in { --x: var(--ex); --y: calc(var(--ey) + .2cqi); --r: var(--er); --s: var(--tuck); transition-duration: .34s; }
.hvp .hvp__card.is-tucked { --s: var(--tuck); }
.hvp .hvp__card.is-tucked[data-slot="0"] { --x: var(--t0x); --y: var(--t0y); --r: var(--t0r); z-index: 10; }
.hvp .hvp__card.is-tucked[data-slot="1"] { --x: var(--t1x); --y: var(--t1y); --r: var(--t1r); z-index: 11; }
.hvp .hvp__card.is-tucked[data-slot="2"] { --x: var(--t2x); --y: var(--t2y); --r: var(--t2r); z-index: 12; }
.hvp .hvp__card.is-lifted { --x: var(--lx); --y: var(--ly); --r: var(--er); --s: var(--ls); transition-duration: .44s; }
.hvp .hvp__card.is-front {
  --x: var(--fx); --y: var(--fy); --r: var(--fr); --s: 1; z-index: 6000;
  transition-duration: .62s; transition-timing-function: cubic-bezier(.2, 1.12, .36, 1);
  box-shadow: 0 .3cqi .8cqi rgba(0, 0, 0, .3), 0 2.6cqi 6cqi rgba(0, 0, 0, .45);
}
.hvp--notrans .hvp__card, .hvp--notrans .hvp__flap, .hvp--notrans .hvp__flapwrap, .hvp--notrans .hvp__scene { transition: none !important; }

/* zlatý odlesk přes vytažený poukaz */
.hvp__card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, rgba(255, 240, 205, 0) 43%, rgba(255, 240, 205, .5) 50%, rgba(255, 240, 205, 0) 57%) no-repeat;
  background-size: 300% 100%; background-position: var(--hvp-shine, 100%) 0;
  mix-blend-mode: screen; transition: opacity .3s ease;
}
.hvp__card.is-front::after { opacity: 1; }
.hvp__card.is-sweep::after { animation: hvp-sweep 1.15s cubic-bezier(.3, 0, .2, 1); }
@keyframes hvp-sweep { from { background-position: 100% 0; } to { background-position: 0% 0; } }

/* ---------- Vzhled poukazu (stejný jako v e-shopu) ---------- */
.hvp-v {
  --v-bg: #fbf8f2; --v-ink: #2d2a26; --v-muted: #6d665d; --v-accent: #4a7b57; --v-on-art: #fffaf0;
  --va-sky: #e7eee4; --va-sun: #e2c27e; --va-h1: #aec5b1; --va-h2: #749c7b; --va-tree: #557f5f; --va-h3: #4a7b57;
  --va-river: #8db2c3; --va-deco: #fff; --va-c1: #4a7b57; --va-c2: #8e7750; --va-c3: #c9776b;
  display: grid; grid-template-columns: 34% minmax(0, 1fr); width: 100%; height: 100%;
  background: var(--v-bg); color: var(--v-ink); font-family: var(--hvp-body); text-align: left;
}
.hvp-v--vanoce { --v-bg: #1f3328; --v-ink: #f3ead8; --v-muted: #bdb39b; --v-accent: #e0b468; --va-sky: #152519; --va-sun: #f3ead8; --va-h1: #2a4535; --va-h2: #33553f; --va-tree: #1d3426; --va-h3: #203a2b; --va-river: #6f93a0; --va-deco: #f3ead8; }
.hvp-v--vecer { --v-bg: #2a1c15; --v-ink: #f4e8d6; --v-muted: #c4ae92; --v-accent: #e6b86b; --va-sky: #43291c; --va-sun: #e6b86b; --va-h1: #5d3b26; --va-h2: #704a30; --va-tree: #4a2f1e; --va-h3: #3d2718; --va-river: #d39a55; --va-deco: #f4e8d6; }
.hvp-v--oslava { --v-bg: #f7f1e6; --v-ink: #2d2a26; --v-muted: #6d665d; --v-accent: #8e7750; --va-sky: #f1e5cc; --va-sun: #e0b468; --va-h1: #dcc79f; --va-h2: #bba06d; --va-tree: #9f8556; --va-h3: #8e7750; --va-river: #9ebfc9; --va-deco: #4a7b57; }
.hvp-v span, .hvp-v b { display: block; }
.hvp-v .hvp-v__msg span { display: inline; }
.hvp-v__art { position: relative; overflow: hidden; }
.hvp-v__artsvg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hvp-v .a-sky { fill: var(--va-sky); } .hvp-v .a-sun { fill: var(--va-sun); } .hvp-v .a-h1 { fill: var(--va-h1); }
.hvp-v .a-h2 { fill: var(--va-h2); } .hvp-v .a-tree { fill: var(--va-tree); } .hvp-v .a-h3 { fill: var(--va-h3); }
.hvp-v .a-river { fill: none; stroke: var(--va-river); stroke-width: 5; stroke-linecap: round; }
.hvp-v .a-deco { fill: var(--va-deco); } .hvp-v .a-c1 { fill: var(--va-c1); } .hvp-v .a-c2 { fill: var(--va-c2); } .hvp-v .a-c3 { fill: var(--va-c3); }
.hvp-v__mono { position: absolute; left: 9%; top: 8%; width: 27%; color: var(--v-ink); }
.hvp-v--vanoce .hvp-v__mono, .hvp-v--vecer .hvp-v__mono { color: var(--v-accent); }
.hvp-v__mono text { font-family: var(--hvp-display); font-weight: 500; fill: currentColor; }
.hvp-v__mono circle { fill: none; stroke: currentColor; }
.hvp-v__brand { position: absolute; left: 9%; bottom: 6.5%; white-space: nowrap; font: 600 1.3cqi/1.2 var(--hvp-body); letter-spacing: .24em; text-transform: uppercase; color: var(--v-on-art); }
.hvp-v .hvp-v__body { display: flex; flex-direction: column; gap: .75cqi; padding: 3.5cqi 4cqi 3cqi; min-width: 0; overflow: hidden; border-left: .3cqi dashed rgba(127, 127, 127, .35); }
.hvp-v__eyebrow { font: 600 1.55cqi/1 var(--hvp-body); letter-spacing: .3em; text-transform: uppercase; color: var(--v-accent); }
.hvp-v__title { font: 500 4.5cqi/1.06 var(--hvp-display); text-wrap: balance; }
.hvp-v__sub { font-size: 1.95cqi; line-height: 1.3; color: var(--v-muted); }
.hvp-v__for { margin-top: .9cqi; font: 500 2.55cqi/1.25 var(--hvp-display); }
.hvp-v .hvp-v__k { display: inline-block; font: 600 1.3cqi/1 var(--hvp-body); letter-spacing: .2em; text-transform: uppercase; color: var(--v-muted); margin-right: .8cqi; vertical-align: .25em; }
.hvp-v__msg { font: italic 400 2.35cqi/1.3 var(--hvp-display); overflow-wrap: anywhere; }
.hvp-v .hvp-v__from { display: inline; font: 600 1.6cqi/1 var(--hvp-body); font-style: normal; letter-spacing: .06em; color: var(--v-muted); margin-left: .9cqi; white-space: nowrap; }
.hvp-v .hvp-v__foot { margin-top: auto; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: end; gap: 2.6cqi; border-top: .2cqi solid rgba(127, 127, 127, .35); padding-top: 1.4cqi; }
.hvp-v .hvp-v__kv { display: grid; gap: .6cqi; }
.hvp-v .hvp-v__kv .hvp-v__k { vertical-align: baseline; margin-right: 0; }
.hvp-v__kv b { font: 600 1.95cqi/1 var(--hvp-mono); letter-spacing: .04em; white-space: nowrap; }
.hvp-v__price { justify-self: end; font: 500 3.3cqi/1 var(--hvp-display); color: var(--v-accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hvp-v__qr { width: 7.6cqi; aspect-ratio: 1; background: #fff; padding: .5cqi; border-radius: .5cqi; }
.hvp-v__qr svg { display: block; width: 100%; height: 100%; }

/* ---------- Popisek a přepínání pod scénou ---------- */
.hvp__nav { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; }
.hvp .hvp__now {
  display: grid; justify-items: center; gap: .15rem; min-width: min(15rem, 56vw); padding: .25rem .5rem;
  color: var(--hvp-ink); text-decoration: none; text-align: center; border-radius: 6px;
}
.hvp__now-name { font: 500 clamp(1.05rem, .95rem + .5vw, 1.3rem)/1.2 var(--hvp-display); }
.hvp__now-price { font-size: var(--text-sm, .875rem); line-height: 1.3; color: var(--hvp-gold); font-variant-numeric: tabular-nums; }
.hvp .hvp__now:hover .hvp__now-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.hvp__now.is-swap { animation: hvp-swap .5s ease; }
.hvp--paused .hvp__now.is-swap { animation: none; }
@keyframes hvp-swap { 0% { opacity: 0; transform: translateY(.35rem); } 100% { opacity: 1; transform: none; } }
.hvp .hvp__arrow {
  display: none; flex: none; width: 2.75rem; height: 2.75rem; padding: 0; border-radius: 50%;
  border: 1px solid rgba(243, 234, 216, .32); background: transparent; color: var(--hvp-ink); cursor: pointer;
  align-items: center; justify-content: center; transition: border-color .15s ease, background-color .15s ease;
}
.hvp--js .hvp__arrow { display: inline-flex; }
.hvp .hvp__arrow:hover { border-color: var(--hvp-ink); background: rgba(243, 234, 216, .08); }
.hvp__arrow svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Úzká scéna (mobil): poukaz i obálka na výšku ---------- */
@container hvpstage (max-width: 479px) {
  .hvp__scene {
    --cw: 84cqi; --ch: calc(var(--cw) * 142 / 210);
    --ew: 72cqi; --eh: 50.7cqi; --ex: 42cqi; --ey: 57cqi; --er: -3deg;
    --tuck: .8;
    --t0x: 36.4cqi; --t0y: 26.25cqi; --t0r: -9deg;
    --t1x: 41.2cqi; --t1y: 31.5cqi; --t1r: -1.5deg;
    --t2x: 45.9cqi; --t2y: 36.3cqi; --t2r: 4deg;
    --lx: 39.7cqi; --ly: 12.7cqi; --ls: .64;
    --fx: 54cqi; --fy: 97cqi; --fr: 2.5deg;
    height: 129cqi;
  }
  .hvp__seal { width: 13cqi; }
  .hvp-v { grid-template-columns: 30% minmax(0, 1fr); }
  .hvp-v__mono { width: 36%; }
  .hvp-v__brand { font-size: 1.8cqi; letter-spacing: .16em; }
  .hvp-v .hvp-v__body { padding: 4.4cqi 4.6cqi 4cqi; gap: 1.1cqi; }
  .hvp-v__eyebrow { font-size: 2.1cqi; }
  .hvp-v__title { font-size: 5.6cqi; }
  .hvp-v__sub { font-size: 2.6cqi; }
  .hvp-v__for { font-size: 3.1cqi; }
  .hvp-v .hvp-v__k { font-size: 1.75cqi; }
  .hvp-v__msg { font-size: 2.9cqi; }
  .hvp-v .hvp-v__from { font-size: 2.1cqi; }
  .hvp-v__kv b { font-size: 2.5cqi; }
  .hvp-v__price { font-size: 4cqi; }
  .hvp-v__qr { width: 11cqi; }
  .hvp-v .hvp-v__kv--code { display: none; }
  .hvp-v .hvp-v__foot { grid-template-columns: auto minmax(0, 1fr) auto; }
}

/* ---------- Omezený pohyb ---------- */
@media (prefers-reduced-motion: reduce) {
  .hvp .hvp__card, .hvp__flap, .hvp__flapwrap, .hvp__scene { transition: none !important; }
  .hvp__card.is-sweep::after, .hvp__now.is-swap { animation: none !important; }
  .hvp__scene { transform: none; }
}

.hvp__pause{display:inline-block;color:var(--hvp-muted);background:transparent;border:1px solid currentColor;border-radius:4px;padding:7px 12px;font:inherit;font-size:12px;cursor:pointer;margin-bottom:18px}.hvp__pause:focus-visible{outline:3px solid var(--hvp-gold);outline-offset:3px}.hvp--paused *{animation-play-state:paused!important}
