/* Tadaa Studio – motiv pozvánky „Tančící stromečky“ (vánoční večírek).
 * Hodnoty barev, písem a animací jsou z podkladu tokens.css (jediný zdroj pravdy). */
:root {
  --tds-red: #C4422F;
  --tds-red-dark: #A8331F;
  --tds-body: #7E2717;
  --tds-cream: #FBF2E2;
  --tds-cream-dark: #F4E6CF;
  --tds-green: #2F5D3A;
  --tds-tree: #2E6B35;
  --tds-light: #F3E3C9;
  --tds-gold: #B7832F;
  --tds-input-border: #E2B8AC;
  --tds-dash: #E5C7B8;

  --tds-pal-yellow-bg: #F2B53A; --tds-pal-yellow-s1: #C4422F; --tds-pal-yellow-s2: #EE93A3;
  --tds-pal-green-bg:  #2F5D3A; --tds-pal-green-s1:  #C4422F; --tds-pal-green-s2:  #FBF2E2;
  --tds-pal-red-bg:    #B8372A; --tds-pal-red-s1:    #2E6B35; --tds-pal-red-s2:    #FBF2E2;

  --tds-font-display: 'Grandstander', sans-serif;
  --tds-font-body: 'Poppins', sans-serif;
  --tds-font-ui: 'DM Sans', system-ui, sans-serif;

  --tds-scallop-r: 14px;
  --tds-radius-pill: 999px;
  --tds-shadow-panel: 0 6px 12px rgba(0,0,0,.25);
}
@keyframes tds-fall { 0% { transform: translateY(0) } 100% { transform: translateY(calc(100vh + 40px)) } }
@keyframes tds-sway { 0%,100% { transform: rotate(-2.5deg) } 50% { transform: rotate(2.5deg) } }

/* ---------- celá stránka ---------- */
html[data-design="stromecky"], html[data-design="stromecky"] body { background: var(--tds-green); }
html[data-design="stromecky"] body { margin: 0; }
.tds { font-family: var(--tds-font-body); font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--tds-cream); -webkit-font-smoothing: antialiased; }
.tds *, .tds *::before, .tds *::after { box-sizing: border-box; }
.tds a { color: var(--tds-red-dark); }
.tds a:hover { color: #7A2416; }
:where(.tds) button { font: inherit; cursor: pointer; }
.tds :focus-visible { outline: 3px solid var(--tds-gold); outline-offset: 2px; }
.tds-display { font-family: var(--tds-font-display); font-weight: 900; }
.tds-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tds-page { position: relative; min-height: 100vh; overflow: hidden; background: var(--tds-green); }
.tds-deco { position: absolute; inset: 0; pointer-events: none; }
.tds-deco .tds-star { position: absolute; color: var(--tds-cream); opacity: .35; }
.tds-snow { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.tds-flake { position: absolute; top: -20px; border-radius: 50%; background: var(--tds-cream); opacity: .55; animation: tds-fall linear infinite; }
.tds-col { position: relative; z-index: 1; width: 100%; max-width: 440px; margin: 0 auto; padding: 26px 20px 28px; display: flex; flex-direction: column; align-items: center; gap: 16px; }

.tds-kicker { font-weight: 600; font-size: 13px; letter-spacing: .08em; color: var(--tds-light); text-transform: uppercase; text-align: center; }
.tds-footer { margin-top: 18px; font-weight: 500; font-size: 11px; color: var(--tds-light); opacity: .8; text-align: center; }
.tds-footer a { color: inherit; text-decoration: none; }

/* stromečky (SVG, barva = currentColor) */
.tds-trees { display: block; color: var(--tds-tree); }
.tds-trees svg { display: block; width: 100%; height: auto; }
.tds-sway { transform-origin: 50% 92%; animation: tds-sway 2.4s ease-in-out infinite; }
.tds-sway.fast { animation-duration: 1.2s; }

/* ---------- nadpis sekce ---------- */
.tds-h { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 34px; color: var(--tds-cream); }
.tds-h h2 { margin: 0; font-family: var(--tds-font-display); font-weight: 900; font-size: 28px; line-height: 1.05; text-align: center; }
.tds-h .tds-star { width: 16px; height: 16px; flex-shrink: 0; }
.tds-star { display: inline-block; }
.tds-star svg { display: block; width: 100%; height: 100%; }

/* ---------- vlnitý panel (proměnná výška) ---------- */
.tds-panel { position: relative; align-self: stretch; margin: 14px; background: var(--tds-cream); filter: drop-shadow(var(--tds-shadow-panel)); }
.tds-panel > i { position: absolute; display: block; }
.tds-panel > .e-t { left: 0; right: 0; top: -13px; height: 14px; background: radial-gradient(circle at 14px 14px, var(--tds-cream) 13.5px, transparent 14px) center top / 28px 14px repeat-x; }
.tds-panel > .e-b { left: 0; right: 0; bottom: -13px; height: 14px; background: radial-gradient(circle at 14px 0, var(--tds-cream) 13.5px, transparent 14px) center bottom / 28px 14px repeat-x; }
.tds-panel > .e-l { left: -13px; top: 0; bottom: 0; width: 14px; background: radial-gradient(circle at 14px 14px, var(--tds-cream) 13.5px, transparent 14px) left center / 14px 28px repeat-y; }
.tds-panel > .e-r { right: -13px; top: 0; bottom: 0; width: 14px; background: radial-gradient(circle at 0 14px, var(--tds-cream) 13.5px, transparent 14px) right center / 14px 28px repeat-y; }
.tds-panel > .c { width: 27px; height: 27px; border-radius: 50%; background: var(--tds-cream); }
.tds-panel > .c-tl { top: -13px; left: -13px; } .tds-panel > .c-tr { top: -13px; right: -13px; }
.tds-panel > .c-bl { bottom: -13px; left: -13px; } .tds-panel > .c-br { bottom: -13px; right: -13px; }
.tds-panel-in { position: relative; padding: 20px 16px; display: flex; flex-direction: column; gap: 14px; color: var(--tds-body); }
.tds-dash { height: 0; border-top: 2px dashed var(--tds-dash); }
.tds-label { font-weight: 500; font-size: 13px; color: var(--tds-green); }
.tds-text { margin: 0; font-size: 15px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }

/* ---------- karta pozvánky (pevná velikost 392 × 560) ---------- */
.tds-card { position: relative; width: 392px; height: 560px; filter: drop-shadow(0 6px 14px rgba(60,40,0,.25)); color: var(--tds-red); font-family: var(--tds-font-body); }
.tds-card > svg.tds-scallop { position: absolute; inset: 0; width: 392px; height: 560px; }
.tds-card .k-above, .tds-card .k-below { position: absolute; left: 24px; right: 24px; text-align: center; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tds-card .k-above { top: 54px; font-size: 14px; }
.tds-card .k-title { position: absolute; left: 20px; right: 20px; top: 84px; height: 108px; display: flex; flex-direction: column; justify-content: center; text-align: center; font-family: var(--tds-font-display); font-weight: 900; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.tds-card .k-below { top: 200px; font-size: 13px; }
.tds-card .k-trees { position: absolute; left: 30px; top: 232px; width: 332px; }
.tds-card .k-when { position: absolute; left: 20px; right: 20px; top: 478px; text-align: center; font-family: var(--tds-font-display); font-weight: 900; line-height: 1.15; text-transform: uppercase; }
.tds-card .k-when span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tds-card .tds-star { position: absolute; width: 14px; height: 14px; color: var(--tds-red); }
/* karta zmenšená na šířku sloupce (scale nastavuje JS podle šířky) */
.tds-cardfit { position: relative; width: 100%; }
.tds-cardfit { overflow: hidden; }
.tds-cardfit > .tds-card, .tds-cardfit > .tds-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.tds-hero .tds-cardfit { overflow: visible; }
.tds-hero { align-self: stretch; margin: 6px 0 0; }
.tds-hero .tds-cardfit > .tds-card { transform-origin: 50% 50%; }

/* barevné varianty (náhled v editoru, export) */
.tds-stage { position: relative; width: 640px; height: 700px; overflow: hidden; border-radius: 22px; background: var(--pal-bg); }
.tds-stage .s-stripes { position: absolute; left: 262px; top: 96px; width: 330px; height: 548px; background: repeating-linear-gradient(90deg, var(--pal-s1) 0 20px, var(--pal-s2) 20px 40px); box-shadow: 0 6px 14px rgba(60,40,0,.2); }
.tds-stage > .tds-card { position: absolute; left: 44px; top: 56px; }
.tds-pal-yellow { --pal-bg: var(--tds-pal-yellow-bg); --pal-s1: var(--tds-pal-yellow-s1); --pal-s2: var(--tds-pal-yellow-s2); }
.tds-pal-green  { --pal-bg: var(--tds-pal-green-bg);  --pal-s1: var(--tds-pal-green-s1);  --pal-s2: var(--tds-pal-green-s2); }
.tds-pal-red    { --pal-bg: var(--tds-pal-red-bg);    --pal-s1: var(--tds-pal-red-s1);    --pal-s2: var(--tds-pal-red-s2); }

/* ---------- detaily ---------- */
.tds-row { display: flex; gap: 14px; align-items: flex-start; }
.tds-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--tds-red); color: var(--tds-cream); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--tds-font-display); font-weight: 900; line-height: .95; }
.tds-ico.green { background: var(--tds-green); }
.tds-ico .d { font-size: 18px; } .tds-ico .m { font-size: 10px; text-transform: uppercase; }
.tds-ico svg { width: 24px; height: 24px; }
.tds-row-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tds-row-title { font-family: var(--tds-font-display); font-weight: 900; font-size: 20px; color: var(--tds-red); line-height: 1.1; overflow-wrap: anywhere; }
.tds-row-sub { font-size: 15px; overflow-wrap: anywhere; }
.tds-row-body a { font-weight: 600; font-size: 14px; color: var(--tds-red-dark); }
.tds-cal { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.tds-pills { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tds-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: var(--tds-radius-pill); border: 2px solid var(--tds-red); background: transparent; color: var(--tds-red); text-decoration: none; font-weight: 600; font-size: 14px; }
.tds a.tds-pill { color: var(--tds-red); }
.tds-pill:hover { background: rgba(196,66,47,.08); }
.tds-pill.light { border-color: var(--tds-cream); color: var(--tds-cream); }
.tds-pill.soft { border-color: var(--tds-input-border); background: #fff; color: var(--tds-red-dark); }

/* ---------- odpočet ---------- */
.tds-count { align-self: stretch; display: flex; gap: 10px; margin: 0 4px; }
.tds-count > div { flex: 1; min-width: 0; background: var(--tds-cream); border-radius: 16px; padding: 12px 4px 10px; text-align: center; box-shadow: 0 5px 10px rgba(0,0,0,.2); }
.tds-count b { display: block; font-family: var(--tds-font-display); font-weight: 900; font-size: 34px; line-height: 1; color: var(--tds-red); }
.tds-count small { display: block; margin-top: 4px; font-weight: 600; font-size: 11px; letter-spacing: .08em; color: var(--tds-red-dark); text-transform: uppercase; }
.tds-now { align-self: stretch; margin: 0 4px; background: var(--tds-cream); border-radius: 16px; padding: 16px; text-align: center; font-family: var(--tds-font-display); font-weight: 900; font-size: 26px; color: var(--tds-red); box-shadow: 0 5px 10px rgba(0,0,0,.2); }

/* ---------- úvodem ---------- */
.tds-polaroid { position: relative; align-self: center; width: min(300px, 100%); margin: 10px 0 26px; background: #FFFDF8; padding: 12px 12px 14px; transform: rotate(-2deg); box-shadow: 0 8px 18px rgba(0,0,0,.28); }
.tds-polaroid::before { content: ''; position: absolute; left: 50%; top: -12px; width: 76px; height: 24px; margin-left: -38px; background: rgba(238,147,163,.75); transform: rotate(3deg); }
.tds-polaroid img { display: block; width: 100%; aspect-ratio: 276 / 220; height: auto; object-fit: cover; background: #E9DCC6; }
.tds-polaroid-ph { aspect-ratio: 276 / 220; background: #E9DCC6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; color: #8A6E58; text-align: center; }
.tds-polaroid-ph svg { width: 34px; height: 34px; }
.tds-polaroid-ph span { font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.tds-polaroid-ph small { font-size: 11px; opacity: .85; }
.tds-polaroid figcaption.ph { opacity: .55; }
.tds-polaroid figcaption { margin-top: 10px; text-align: center; font-family: var(--tds-font-display); font-weight: 900; font-size: 18px; color: var(--tds-red); }
.tds-hello { font-family: var(--tds-font-display); font-weight: 900; font-size: 22px; color: var(--tds-red); }
.tds-note { align-self: center; margin: 6px 0; padding: 14px 18px; max-width: 250px; background: var(--tds-red); color: var(--tds-cream); transform: rotate(2deg); box-shadow: 0 5px 10px rgba(0,0,0,.2); text-align: center; }
.tds-note b { display: block; font-family: var(--tds-font-display); font-weight: 900; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.tds-note div { margin-top: 4px; font-weight: 500; font-size: 14px; line-height: 1.45; white-space: pre-line; }
.tds-prog { display: flex; flex-direction: column; gap: 10px; }
.tds-prog > div { display: flex; gap: 14px; align-items: baseline; }
.tds-prog b { width: 60px; flex-shrink: 0; font-family: var(--tds-font-display); font-weight: 900; font-size: 20px; color: var(--tds-red); }
.tds-prog span { font-size: 15px; }

/* ---------- formuláře ---------- */
.tds-field { display: flex; flex-direction: column; gap: 6px; }
.tds-field > span, .tds-flabel { font-weight: 600; font-size: 14px; color: var(--tds-red-dark); }
.tds-input { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--tds-input-border); border-radius: 12px; font: inherit; font-size: 16px; background: #fff; color: #3A1A12; }
.tds-input::placeholder { color: #A08A80; }
.tds-input:focus { outline: none; border-color: var(--tds-red); }
.tds-center { text-align: center; font-size: 14px; }
.tds-stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tds-stepper > div { display: flex; align-items: center; gap: 10px; }
.tds-stepper > .tds-flabel { white-space: nowrap; }
.tds-round { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--tds-red); background: #fff; color: var(--tds-red); font-family: var(--tds-font-display); font-weight: 900; font-size: 22px; line-height: 1; }
.tds-round:disabled { opacity: .35; cursor: default; }
.tds-stepper output { min-width: 28px; text-align: center; font-family: var(--tds-font-display); font-weight: 900; font-size: 26px; color: var(--tds-red); }
.tds-answers { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 8px; }
.tds-ans { min-height: 52px; padding: 0 6px; border-radius: var(--tds-radius-pill); border: 2px solid var(--tds-red); background: #fff; color: var(--tds-red); font-family: var(--tds-font-display) !important; font-weight: 900; font-size: 16px; line-height: 1.1; }
.tds-ans.yes { border: none; background: var(--tds-red); color: #fff; box-shadow: 0 4px 0 var(--tds-red-dark); }
.tds-ans:disabled { opacity: .6; cursor: default; }
.tds-more { font-size: 14px; }
.tds-more summary { cursor: pointer; font-weight: 600; color: var(--tds-red-dark); min-height: 44px; display: flex; align-items: center; }
.tds-more summary::-webkit-details-marker { display: none; }
.tds-more summary::before { content: '+'; display: inline-block; width: 18px; font-family: var(--tds-font-display); font-weight: 900; font-size: 18px; }
.tds-more[open] summary::before { content: '−'; }
.tds-more[open] summary { margin-bottom: 8px; }
.tds-more .tds-field + .tds-field { margin-top: 10px; }
.tds-small { font-size: 12px; opacity: .85; }
.tds-done { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.tds-done .tds-trees { width: 180px; }
.tds-done .big { font-family: var(--tds-font-display); font-weight: 900; font-size: 32px; color: var(--tds-red); line-height: 1.05; }
.tds-done p { margin: 0; font-size: 15px; }

/* ---------- kdo přijde ---------- */
.tds-sums { display: flex; justify-content: space-around; text-align: center; }
.tds-sums b { display: block; font-family: var(--tds-font-display); font-weight: 900; font-size: 28px; }
.tds-sums small { font-weight: 600; font-size: 12px; letter-spacing: .06em; color: var(--tds-red-dark); text-transform: uppercase; }
.tds-guest { display: flex; align-items: center; gap: 12px; }
.tds-av { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--tds-red); color: var(--tds-cream); display: flex; align-items: center; justify-content: center; font-family: var(--tds-font-display); font-weight: 900; font-size: 15px; }
.tds-av.c1 { background: var(--tds-green); } .tds-av.c2 { background: var(--tds-gold); }
.tds-guest .n { flex: 1; min-width: 0; font-weight: 500; font-size: 15px; overflow-wrap: anywhere; }
.tds-guest .s { font-weight: 600; font-size: 12px; color: var(--tds-red-dark); }

/* ---------- novinky ---------- */
.tds-news { display: flex; flex-direction: column; gap: 4px; }
.tds-news .t { font-size: 15px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.tds-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--tds-red); color: var(--tds-cream); font-size: 11px; font-weight: 600; vertical-align: 1px; }

/* ---------- fotogalerie ---------- */
.tds-gal { align-self: stretch; margin: 0 6px; display: flex; flex-direction: column; gap: 10px; }
.tds-gal p { margin: 0; text-align: center; font-size: 14px; color: var(--tds-light); }
.tds-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tds-grid button { padding: 0; border: none; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: rgba(251,242,226,.14); }
.tds-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tds-grid .ph { border: 2px dashed rgba(251,242,226,.45); display: flex; align-items: center; justify-content: center; border-radius: 10px; aspect-ratio: 1; background: rgba(251,242,226,.14); }
.tds-grid .ph svg { width: 24px; height: 24px; opacity: .7; }
.tds-lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(20,30,22,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; font-family: var(--tds-font-body); color: var(--tds-cream); }
.tds-lightbox img { max-width: 100%; max-height: calc(100% - 80px); border-radius: 6px; cursor: zoom-out; }
.tds-lightbox .lb-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; font-size: 14px; }
.tds-lightbox .tds-pill { font: 600 14px var(--tds-font-body); background: transparent; cursor: pointer; }
.tds-gal [hidden] { display: none !important; }

/* ---------- diskuze ---------- */
.tds-msg { display: flex; gap: 10px; align-items: flex-start; }
.tds-msg .tds-av { width: 34px; height: 34px; font-size: 13px; }
.tds-bubble { flex: 1; min-width: 0; background: var(--tds-cream-dark); border-radius: 4px 14px 14px 14px; padding: 9px 12px; }
.tds-msg.host .tds-bubble { background: #F7DCD2; }
.tds-bubble .who { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-weight: 600; font-size: 13px; color: var(--tds-red-dark); }
.tds-bubble .who small { font-weight: 500; font-size: 11px; opacity: .75; }
.tds-bubble .txt { margin-top: 2px; font-size: 14px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.tds-bubble .del { margin-left: auto; border: none; background: none; padding: 0 2px; color: var(--tds-red-dark); font-size: 12px; text-decoration: underline; min-height: 24px; }
.tds-send { display: flex; gap: 8px; align-items: center; }
.tds-send .tds-input { flex: 1; }
.tds-send button { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; border: none; background: var(--tds-red); display: flex; align-items: center; justify-content: center; }
.tds-send button svg { width: 22px; height: 22px; }
.tds-empty { margin: 0; font-size: 14px; opacity: .8; text-align: center; }

/* ---------- podpis ---------- */
.tds-sign { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 26px; color: var(--tds-cream); text-align: center; }
.tds-sign .tds-trees { width: 150px; color: var(--tds-cream); }
.tds-sign .big { font-family: var(--tds-font-display); font-weight: 900; font-size: 30px; line-height: 1.05; }
.tds-sign .who { font-weight: 500; font-size: 16px; color: var(--tds-light); }

/* přehled pro pořadatele (#admin) */
.tds-admin .admin-row { padding: 8px 0; border-top: 2px dashed var(--tds-dash); font-size: 14px; }
.tds-admin h2 { margin: 0; font-family: var(--tds-font-display); font-weight: 900; font-size: 22px; color: var(--tds-red); }

/* ---------- obálka ---------- */
.tds-env { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; padding: 72px 24px 40px; text-align: center; }
.tds-env .tds-kicker { font-size: 14px; }
.tds-env h1 { margin: 10px 0 0; font-family: var(--tds-font-display); font-weight: 900; font-size: 40px; line-height: 1.02; text-transform: uppercase; color: var(--tds-cream); max-width: 340px; overflow-wrap: anywhere; }
.tds-envart { position: relative; width: 320px; height: 330px; margin-top: 40px; flex-shrink: 0; }
.tds-envcard { position: absolute; left: 20px; top: 0; width: 280px; height: 196px; transform: rotate(-4deg); transition: transform .45s cubic-bezier(.3,.7,.3,1); }
.tds-envcard svg.tds-scallop { position: absolute; inset: 0; width: 280px; height: 196px; }
.tds-envcard .tds-trees { position: absolute; left: 34px; top: 20px; width: 212px; }
.tds-envbody { position: absolute; left: 0; top: 120px; width: 320px; height: 210px; transition: transform .45s ease-in, opacity .45s ease-in; }
.tds-envbody .stripes { position: absolute; inset: 0; border-radius: 8px; background: repeating-linear-gradient(90deg, var(--tds-red) 0 18px, var(--tds-cream) 18px 36px); box-shadow: 0 10px 24px rgba(90,50,0,.25); }
.tds-envbody svg { position: absolute; inset: 0; width: 320px; height: 210px; }
.tds-seal { position: absolute; left: 124px; top: 72px; width: 72px; height: 72px; border-radius: 50%; background: var(--tds-cream); display: flex; align-items: center; justify-content: center; font-family: var(--tds-font-display); font-weight: 900; font-size: 30px; color: var(--tds-red); box-shadow: 0 3px 8px rgba(90,50,0,.2); }
.tds-open { margin-top: 44px; display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 34px; border: none; border-radius: var(--tds-radius-pill); background: var(--tds-red); color: #fff; font-family: var(--tds-font-display) !important; font-weight: 900; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; box-shadow: 0 4px 0 #8E2A1B; }
.tds-env .grow { flex-grow: 1; min-height: 40px; }
.tds-env .from { font-weight: 600; font-size: 13px; letter-spacing: .06em; color: var(--tds-light); text-transform: uppercase; }
.tds-env.opening .tds-envcard { transform: translateY(-90px) rotate(0deg); }
.tds-env.opening .tds-envbody { transform: translateY(80px); opacity: 0; }
@media (max-width: 360px) { .tds-envart { transform: scale(.88); margin-top: 20px; } .tds-env h1 { font-size: 34px; } }

.tds-test { position: sticky; top: 0; z-index: 5; background: var(--tds-gold); color: #fff; text-align: center; font-size: 12px; font-weight: 600; padding: 4px 8px; }

@media (prefers-reduced-motion: reduce) {
  .tds *, .tds-snow * { animation: none !important; transition: none !important; }
  .tds-snow { display: none; }
}

/* velmi úzké telefony: odpovědi pod sebe, počítadlo se může zalomit */
@media (max-width: 360px) {
  .tds-answers { grid-template-columns: minmax(0, 1fr); }
  .tds-stepper { flex-wrap: wrap; }
}
