/* Torii Rejsetest – fuld skærm. Alt er afgrænset til #trt-app (og siden med testen), så temaet ikke påvirkes. */

/* ---------- siden ---------- */

html.trt-html,
body.trt-body {
  background: #DE601E;
}
body.trt-body {
  margin: 0 !important;
  padding: 0 !important;
}
/* Sitets header, footer og afstande hører ikke til i testen i fuld skærm */
body.trt-body #torii-header,
body.trt-body .th-spacer,
body.trt-body #site-header,
body.trt-body .site-header,
body.trt-body .site-footer,
body.trt-body #site-footer,
body.trt-body [data-elementor-type="header"],
body.trt-body [data-elementor-type="footer"],
body.trt-body #torii-header ~ #th-drawer,
body.trt-body .th-anchor,
body.trt-body .th-legacy {
  display: none !important;
}
/* Headerens gennemsigtige tilstand trækker indholdet op med negativ margin. Den header er skjult her. */
body.trt-body .th-legacy,
body.trt-body .th-anchor {
  margin: 0 !important;
  height: 0 !important;
}
/* Indlogget: WordPress' værktøjslinje tager plads øverst, så testen fylder resten af skærmen. */
/* Under testen skjules cookie-ikonet, der ellers dækker svar og knapper nederst til venstre. Selve cookie-banneret vises stadig. */
body.trt-quiet .cky-btn-revisit-wrapper {
  display: none !important;
}
body.trt-body.admin-bar #trt-app {
  --trt-vh: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
}
body.trt-body .trt-main {
  display: block;
  margin: 0;
  padding: 0;
}

/* ---------- grundlag ---------- */

#trt-app {
  --o: #DE601E;
  --o-dark: #CA571A;
  --o-light: #FA792B;
  --dusty: #EC7F47;
  --brown: #A35917;
  --beige: #F0E6DB;
  --peach: #FCF2EC;
  --paper: #FFF8F2;
  --ink: #3A2416;
  --grey: #656565;
  --board: #1E1714;
  --tile: #2D2420;
  --amber: #FFD9A8;
  --green: #00B67A;
  --r: 30px;
  --fh: 'Fugaz One', 'Montserrat', system-ui, sans-serif;
  --fb: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fm: 'Permanent Marker', 'Montserrat', cursive;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: var(--trt-vh, 100svh);
  background: var(--o);
  color: #fff;
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  text-align: left;
}
#trt-app *,
#trt-app *::before,
#trt-app *::after {
  box-sizing: border-box;
}
#trt-app img {
  max-width: none;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
#trt-app svg {
  display: block;
}
#trt-app p,
#trt-app h1,
#trt-app h2,
#trt-app h3,
#trt-app dl,
#trt-app dd,
#trt-app figure,
#trt-app blockquote,
#trt-app ul,
#trt-app ol {
  margin: 0;
  padding: 0;
}
#trt-app a {
  color: inherit;
}

/* Nulstil temaets knap- og feltstil. Kun layout her; farver sættes af komponenterne. */
#trt-app button,
#trt-app input,
#trt-app textarea {
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  margin: 0;
}
#trt-app button {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-align: inherit;
  line-height: inherit;
  box-shadow: none;
  white-space: normal;
  transition: none;
  -webkit-tap-highlight-color: transparent;
}
/* :where() giver lav specificitet: temaets hover-farver fjernes, men komponenternes egne farver vinder. */
#trt-app :where(button:hover, button:focus) {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  border-color: transparent;
}
#trt-app button[disabled] {
  cursor: default;
}
#trt-app :focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
#trt-app .trt-sheet :focus-visible,
#trt-app .trt-gate__panel :focus-visible,
#trt-app .trt-page :focus-visible {
  outline-color: var(--o);
}
#trt-app .trt-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
#trt-app .trt-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
#trt-app .trt-loading {
  min-height: var(--trt-vh, 100svh);
}

/* ---------- baggrund: orange verden med det seneste valgte billede i duotone ---------- */

#trt-app .trt-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--o);
  isolation: isolate;
  transition: opacity .4s;
}
#trt-app .trt-bg__img {
  position: absolute;
  inset: -24px;
  background-size: cover;
  background-position: 50% 50%;
  filter: grayscale(1) contrast(1.2);
  mix-blend-mode: multiply;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .8s ease, transform 6s ease-out;
}
#trt-app .trt-bg__img.is-on {
  opacity: .38;
  transform: scale(1);
}
#trt-app .trt-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
#trt-app .trt-circle--a {
  width: 78vmax;
  height: 78vmax;
  right: -38vmax;
  top: -34vmax;
  background: var(--dusty);
  opacity: .32;
}
#trt-app .trt-circle--b {
  width: 56vmax;
  height: 56vmax;
  left: -30vmax;
  bottom: -30vmax;
  background: var(--beige);
  opacity: .12;
}
#trt-app[data-kind="start"] .trt-bg,
#trt-app[data-kind="result"] .trt-bg {
  opacity: 0;
}

/* ---------- topbjælke ---------- */

#trt-app .trt-bar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top)) 16px 8px;
  min-height: 68px;
}
#trt-app .trt-bar__back,
#trt-app .trt-bar__close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
#trt-app .trt-bar__back:hover,
#trt-app .trt-bar__close:hover {
  background-color: rgba(255, 255, 255, .16);
  border-color: #fff;
}
#trt-app .trt-bar__back svg,
#trt-app .trt-bar__close svg {
  width: 22px;
  height: 22px;
}
#trt-app .trt-bar__close {
  margin-left: auto;
}
#trt-app .trt-bar__logo {
  flex: 0 0 auto;
  display: block;
  color: #fff;
  line-height: 0;
}
#trt-app .trt-logo {
  width: auto;
  height: 38px;
}
#trt-app .trt-logo__mark { fill: #fff; }
#trt-app .trt-logo__torii { fill: var(--o); }
#trt-app .trt-logo__text { fill: currentColor; }
#trt-app[data-kind="start"] .trt-logo__mark,
#trt-app[data-kind="result"] .trt-logo__mark { fill: var(--o); }
#trt-app[data-kind="start"] .trt-logo__torii,
#trt-app[data-kind="result"] .trt-logo__torii { fill: #fff; }
#trt-app .trt-bar__progress {
  flex: 1 1 auto;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .28);
  overflow: hidden;
}
#trt-app .trt-bar__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #fff;
  transition: width .45s cubic-bezier(.2, .8, .2, 1);
}
#trt-app .trt-bar__count {
  flex: 0 0 auto;
  font-family: var(--fh);
  font-size: 18px;
  min-width: 34px;
  text-align: right;
}

/* Hvad bjælken viser på de enkelte skærme */
#trt-app[data-kind="q"] .trt-bar__logo,
#trt-app[data-kind="profile"] .trt-bar__logo { display: none; }
#trt-app[data-kind="start"] .trt-bar,
#trt-app[data-kind="result"] .trt-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
#trt-app[data-kind="start"] .trt-bar__back,
#trt-app[data-kind="start"] .trt-bar__progress,
#trt-app[data-kind="start"] .trt-bar__count,
#trt-app[data-kind="result"] .trt-bar__back,
#trt-app[data-kind="result"] .trt-bar__progress,
#trt-app[data-kind="result"] .trt-bar__count,
#trt-app[data-kind="analysis"] .trt-bar__back,
#trt-app[data-kind="analysis"] .trt-bar__count,
#trt-app[data-kind="gate"] .trt-bar__progress,
#trt-app[data-kind="gate"] .trt-bar__count {
  display: none;
}
#trt-app[data-kind="analysis"] .trt-bar__progress {
  visibility: hidden;
}

/* ---------- skærmskift ---------- */

#trt-app .trt-view {
  position: relative;
}
#trt-app .trt-screen {
  transition: opacity .3s ease, transform .36s cubic-bezier(.2, .8, .2, 1);
}
#trt-app .trt-screen.is-enter {
  opacity: 0;
  transform: translateX(28px);
}
#trt-app .trt-screen.is-enter.is-back {
  transform: translateX(-28px);
}
@keyframes trt-rise {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
}
#trt-app .trt-q .trt-card,
#trt-app .trt-tile,
#trt-app .trt-age,
#trt-app .trt-chip,
#trt-app .trt-drow {
  animation: trt-rise .5s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(var(--i, 0) * 60ms + 80ms);
}
#trt-app .trt-screen.no-anim * {
  animation: none;
}

/* ---------- typografi ---------- */

#trt-app .trt-title {
  font-family: var(--fh);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  text-shadow: 3px 3px 0 var(--brown);
  outline: none;
}
#trt-app .trt-kicker {
  font-family: var(--fm);
  font-size: 16px;
  line-height: 1.2;
  color: var(--peach);
  margin-bottom: 8px;
}
#trt-app .trt-marker {
  font-family: var(--fm);
  font-size: 20px;
  line-height: 1.2;
  color: var(--o-light);
  transform: rotate(-2deg);
  display: inline-block;
}
/* Oven på et foto er orange for svagt. */
#trt-app .trt-hero .trt-marker {
  color: var(--beige);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}
#trt-app .trt-marker--dark {
  color: var(--brown);
  font-size: 18px;
  margin: 18px 0 10px;
}
#trt-app .trt-help {
  align-self: center;
  max-width: 560px;
  margin: 16px auto 0;
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--peach);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 6px 16px rgba(90, 34, 6, .18);
}
#trt-app .trt-small {
  font-size: 14px;
  margin-top: 12px;
}
#trt-app .trt-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- knapper ---------- */

#trt-app .trt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 30px;
  font-family: var(--fb);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background-color .15s, box-shadow .15s, color .15s;
}
#trt-app .trt-btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
#trt-app .trt-btn--primary,
#trt-app button.trt-btn--primary:hover,
#trt-app button.trt-btn--primary:focus {
  background-color: var(--o);
  color: #fff;
  box-shadow: 0 4px 0 var(--brown);
}
#trt-app .trt-btn--primary:hover {
  background-color: var(--o-dark);
}
#trt-app .trt-btn--primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--brown);
}
/* I den orange verden er den primære knap hvid, så den kan ses */
#trt-app .trt-q .trt-btn--primary,
#trt-app .trt-q button.trt-btn--primary:hover,
#trt-app .trt-q button.trt-btn--primary:focus {
  background-color: #fff;
  color: var(--o);
}
/* Hvide knapper (2. nov 2026): hover giver baggrund #FDF1EA og tekst #CA571A, som i headeren */
#trt-app .trt-q .trt-btn--primary:hover,
#trt-app .trt-q button.trt-btn--primary:hover {
  background-color: #FDF1EA;
  color: var(--o-dark);
}
#trt-app .trt-btn--secondary,
#trt-app button.trt-btn--secondary:hover,
#trt-app button.trt-btn--secondary:focus {
  background-color: #fff;
  color: var(--o);
  border-color: var(--o);
}
#trt-app .trt-btn--secondary:hover,
#trt-app button.trt-btn--secondary:hover {
  background-color: #FDF1EA;
  color: var(--o-dark);
  border-color: var(--o-dark);
}
#trt-app .trt-btn--ghost,
#trt-app button.trt-btn--ghost:hover,
#trt-app button.trt-btn--ghost:focus {
  background-color: transparent;
  color: var(--brown);
  border-color: rgba(163, 89, 23, .35);
}
#trt-app .trt-btn--xl {
  min-height: 60px;
  padding: 16px 34px;
  font-size: 19px;
}
#trt-app .trt-btn--block {
  display: flex;
  width: 100%;
}
#trt-app .trt-btn--small {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 15px;
  gap: 6px;
  box-shadow: 0 3px 0 var(--brown);
}
#trt-app .trt-btn--small svg {
  width: 16px;
  height: 16px;
}
#trt-app .trt-btn--stack {
  flex-direction: column;
  gap: 3px;
}
#trt-app .trt-btn--stack > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
#trt-app .trt-btn--stack small {
  font-size: 13px;
  font-weight: 500;
  opacity: .92;
}
#trt-app .trt-btn[disabled] {
  opacity: .55;
  box-shadow: none;
  transform: none;
}

/* ---------- startskærm ---------- */

#trt-app .trt-start {
  position: relative;
  min-height: 100vh;
  min-height: var(--trt-vh, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 96px 20px max(24px, env(safe-area-inset-bottom));
  overflow: hidden;
  background: #2A160B;
}
#trt-app .trt-start__media {
  position: absolute;
  inset: 0;
}
#trt-app .trt-start__media img,
#trt-app .trt-start__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#trt-app .trt-start__video {
  opacity: 0;
  transition: opacity .8s ease;
}
#trt-app .trt-start__video.is-on {
  opacity: 1;
}
#trt-app .trt-start__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(32, 14, 4, .86) 0%, rgba(32, 14, 4, .5) 42%, rgba(32, 14, 4, .12) 70%, rgba(32, 14, 4, .35) 100%);
}
#trt-app .trt-start__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#trt-app .trt-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
}
#trt-app .trt-board__label {
  font-family: var(--fm);
  font-size: 16px;
  color: var(--amber);
  margin-bottom: 8px;
}
#trt-app .trt-board__date {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  min-height: 1.4em;
  opacity: .92;
  transition: opacity .3s;
}
#trt-app .trt-board__date.is-out {
  opacity: 0;
}
#trt-app .trt-title--start {
  font-size: clamp(38px, 10.5vw, 84px);
  line-height: 1.02;
  margin-bottom: 12px;
}
#trt-app .trt-start__sub {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 22px;
  opacity: .96;
}
#trt-app .trt-start .trt-btn--xl {
  width: 100%;
  max-width: 420px;
}
#trt-app .trt-start__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
}
#trt-app .trt-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--green);
}
#trt-app .trt-stars svg {
  width: 16px;
  height: 16px;
}
#trt-app .trt-start__link {
  margin-top: 10px;
  font-size: 14px;
  color: #fff;
  opacity: .88;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- split-flap ---------- */

#trt-app .trt-flap {
  display: inline-flex;
  gap: 3px;
}
#trt-app .trt-flap__t {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 30px;
  border-radius: 4px;
  background: var(--tile);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  perspective: 120px;
  overflow: hidden;
}
#trt-app .trt-flap__t::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, .55);
}
#trt-app .trt-flap__t > span {
  display: block;
  white-space: pre;
  transform-origin: 50% 50%;
}
#trt-app .trt-flap__t.is-flip > span {
  animation: trt-flip .07s linear;
}
@keyframes trt-flip {
  from { transform: rotateX(-85deg); }
  to { transform: rotateX(0); }
}
#trt-app .trt-flap--board .trt-flap__t {
  width: 30px;
  height: 42px;
  font-size: 25px;
  background: var(--board);
  color: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .35);
}

/* ---------- spørgsmål ---------- */

#trt-app .trt-q {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1180px;
  min-height: calc(var(--trt-vh, 100svh) - 68px);
  margin: 0 auto;
  padding: 2px 16px max(20px, env(safe-area-inset-bottom));
}
#trt-app .trt-q__head {
  text-align: center;
  margin: 4px auto 16px;
  max-width: 820px;
}
#trt-app .trt-title--q {
  font-size: clamp(26px, 7.4vw, 50px);
  line-height: 1.1;
}
#trt-app .trt-opts {
  flex: 1 1 auto;
  display: grid;
  gap: 12px;
  width: 100%;
  min-height: 0;
}
#trt-app .trt-opts--cards {
  grid-template-rows: repeat(3, minmax(118px, 1fr));
}
#trt-app .trt-opts--grid {
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(150px, 1fr);
}
/* "Eller"-spørgsmål: kortene fylder ikke hele skærmen, så "Begge dele" står lige under dem. Gruppen centreres. */
#trt-app .trt-opts--duel {
  position: relative;
  flex: 0 0 auto;
  margin-top: auto;
  grid-template-rows: repeat(2, clamp(140px, calc(var(--trt-vh, 100svh) * .27), 240px));
}

/* Billedkort */
#trt-app .trt-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 118px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--brown);
  color: #fff;
  box-shadow: 0 12px 28px rgba(90, 34, 6, .28);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), opacity .25s, box-shadow .2s;
}
#trt-app .trt-card__img,
#trt-app .trt-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#trt-app .trt-card__img img {
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}
#trt-app .trt-card::after {
  content: '';
  position: absolute;
  inset: 40% 0 0 0;
  background: linear-gradient(to top, rgba(32, 12, 2, .78), rgba(32, 12, 2, 0));
  pointer-events: none;
}
#trt-app .trt-card__label {
  position: absolute;
  left: 18px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
#trt-app .trt-tick {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--o);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform .28s cubic-bezier(.3, 1.6, .5, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}
#trt-app .trt-tick svg {
  width: 22px;
  height: 22px;
}
#trt-app .trt-card.is-selected {
  transform: scale(1.02);
  box-shadow: 0 0 0 4px #fff, 0 16px 36px rgba(90, 34, 6, .35);
}
#trt-app .trt-card.is-selected .trt-tick,
#trt-app .trt-tile.is-selected .trt-tick {
  transform: scale(1);
}
#trt-app .has-choice .trt-card:not(.is-selected),
#trt-app .has-choice .trt-tile:not(.is-selected),
#trt-app .has-choice .trt-age:not(.is-selected),
#trt-app .has-choice .trt-drow:not(.is-selected) {
  opacity: .45;
  transform: scale(.97);
}
@media (hover: hover) {
  #trt-app .trt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(90, 34, 6, .34);
  }
  #trt-app .trt-card:hover .trt-card__img img {
    transform: scale(1.05);
  }
}

/* "eller" mellem to billeder */
#trt-app .trt-or {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: #fff;
  color: var(--o);
  border: 3px solid var(--o);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fm);
  font-size: 19px;
  transform: rotate(-10deg);
  box-shadow: 0 6px 16px rgba(90, 34, 6, .3);
  pointer-events: none;
}
/* På mobil står billederne over hinanden, og "eller" ligger i midten. Øverste billedes tekst flyttes op, så den ikke dækkes. */
@media (max-width: 759px) {
  #trt-app .trt-opts--duel .trt-card:first-of-type .trt-card__label {
    top: 16px;
    bottom: auto;
    right: 60px;
  }
  #trt-app .trt-opts--duel .trt-card:first-of-type::after {
    inset: 0 0 45% 0;
    background: linear-gradient(to bottom, rgba(32, 12, 2, .74), rgba(32, 12, 2, 0));
  }
}
#trt-app .trt-both {
  display: block;
  margin: 16px auto auto;
  min-width: 220px;
  padding: 15px 36px;
  border-radius: 30px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
  text-align: center;
  box-shadow: 0 10px 22px rgba(90, 34, 6, .22);
  transition: background-color .15s, transform .2s cubic-bezier(.2, .8, .2, 1), opacity .25s, box-shadow .2s;
}
#trt-app .trt-both:hover {
  background-color: var(--peach);
}
#trt-app .trt-both.is-selected,
#trt-app .trt-both.is-selected:hover {
  background-color: var(--peach);
  box-shadow: inset 0 0 0 3px var(--o), 0 12px 26px rgba(90, 34, 6, .28);
  transform: scale(1.04);
}
#trt-app .has-choice .trt-both:not(.is-selected) {
  opacity: .45;
}

/* Varighed: fliser med ikon */
#trt-app .trt-opts--icons {
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(150px, auto);
  align-content: center;
}
#trt-app .trt-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px 12px;
  border-radius: 26px;
  background: var(--beige);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 10px 24px rgba(90, 34, 6, .2);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), opacity .25s, background-color .15s, box-shadow .2s;
}
#trt-app .trt-tile:hover {
  background-color: #fff;
}
#trt-app .trt-tile__icon {
  color: var(--o);
  width: 60px;
  height: 60px;
}
#trt-app .trt-tile__icon svg {
  width: 100%;
  height: 100%;
}
#trt-app .trt-tile__label {
  font-family: var(--fh);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.15;
  color: var(--ink);
}
#trt-app .trt-tile__sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--brown);
}
#trt-app .trt-tile.is-selected {
  background-color: var(--peach);
  transform: scale(1.03);
  box-shadow: inset 0 0 0 3px var(--o), 0 14px 30px rgba(90, 34, 6, .3);
}
#trt-app .trt-tile .trt-tick {
  background: var(--o);
  color: #fff;
}

/* Alder */
#trt-app .trt-opts--age {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(76px, auto);
  align-content: center;
  max-width: 720px;
  margin: 0 auto;
}
#trt-app .trt-age {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  align-content: center;
  justify-content: center;
  column-gap: 7px;
  padding: 14px 10px;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 10px 22px rgba(90, 34, 6, .2);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), opacity .25s, background-color .15s, color .15s;
}
#trt-app .trt-age b {
  font-family: var(--fh);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.05;
  color: var(--o);
}
#trt-app .trt-age small {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
#trt-app .trt-age:hover {
  background-color: var(--peach);
}
#trt-app .trt-age.is-selected,
#trt-app .trt-age.is-selected:hover {
  background-color: var(--peach);
  box-shadow: inset 0 0 0 3px var(--o), 0 12px 26px rgba(90, 34, 6, .28);
  transform: scale(1.04);
}

/* Afgangstavle */
#trt-app .trt-departures {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 24px;
  background: var(--board);
  color: #fff;
  box-shadow: 0 18px 40px rgba(60, 20, 0, .38);
}
#trt-app .trt-departures__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 8px 12px;
  margin-bottom: 4px;
  border-bottom: 1px dashed rgba(255, 255, 255, .18);
  color: var(--beige);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
#trt-app .trt-departures__head svg {
  width: 20px;
  height: 20px;
  color: var(--o-light);
  transform: rotate(45deg);
}
#trt-app .trt-drow {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 10px 8px;
  border-radius: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #fff;
  text-align: left;
  transition: background-color .15s, opacity .25s, transform .2s;
}
#trt-app button.trt-drow:hover {
  background-color: rgba(222, 96, 30, .22);
}
#trt-app .trt-drow.is-selected,
#trt-app .trt-drow.is-selected:hover {
  background-color: var(--o);
}
#trt-app .trt-drow__year {
  font-family: var(--mono);
  font-size: 15px;
  color: rgba(255, 255, 255, .62);
}
#trt-app .trt-drow__dest {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#trt-app .trt-drow__status {
  font-size: 12px;
  font-weight: 700;
  color: #8EE3A6;
  white-space: nowrap;
}
#trt-app .trt-drow__status.is-few {
  color: #FFC56B;
}
#trt-app .trt-drow.is-selected .trt-drow__status,
#trt-app .trt-drow.is-selected .trt-drow__year {
  color: #fff;
}
#trt-app .trt-drow--quiet {
  grid-template-columns: 1fr auto;
  color: var(--beige);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 0;
  min-height: 50px;
}
#trt-app .trt-drow--quiet svg {
  width: 18px;
  height: 18px;
  opacity: .7;
}
#trt-app .trt-drow--ghost {
  display: block;
  height: 54px;
  margin: 6px 0;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
  background-size: 200% 100%;
  animation: trt-shimmer 1.2s linear infinite;
}
@keyframes trt-shimmer {
  to { background-position: -200% 0; }
}
#trt-app .trt-q--rows .trt-departures {
  align-self: center;
  max-width: 520px;
}
#trt-app .trt-rows .trt-drow--quiet {
  min-height: 58px;
  padding: 12px 14px;
  font-size: 16px;
  color: #fff;
}
#trt-app .trt-rows .trt-drow--quiet + .trt-drow--quiet {
  margin-top: 2px;
}

/* Hjælp til (flere valg) */
#trt-app .trt-help--count {
  margin: 0 auto 16px;
  padding: 6px 14px;
  border-radius: 99px;
}
#trt-app .trt-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}
#trt-app .trt-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 18px 10px 12px;
  border-radius: 30px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(90, 34, 6, .18);
  transition: background-color .15s, color .15s, transform .15s, opacity .2s;
}
#trt-app .trt-chip__icon {
  width: 24px;
  height: 24px;
  color: var(--o);
}
#trt-app .trt-chip__icon svg {
  width: 100%;
  height: 100%;
}
#trt-app .trt-chip:hover {
  background-color: var(--peach);
}
#trt-app .trt-chip.is-selected,
#trt-app .trt-chip.is-selected:hover {
  background-color: var(--peach);
  color: var(--ink);
  box-shadow: inset 0 0 0 3px var(--o), 0 8px 18px rgba(90, 34, 6, .3);
}
#trt-app .trt-chip.is-selected .trt-chip__icon {
  color: var(--o);
}
#trt-app .trt-chip--exclusive {
  background-color: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}
#trt-app .trt-chip--exclusive .trt-chip__icon {
  color: #fff;
}
#trt-app .trt-chip--exclusive:hover {
  background-color: rgba(255, 255, 255, .16);
}
#trt-app .trt-chip[disabled] {
  opacity: .45;
}
#trt-app .trt-field--andet {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 16px auto 0;
}
#trt-app .trt-field--andet .trt-label {
  color: #fff;
}
#trt-app .trt-dock {
  position: sticky;
  bottom: 0;
  z-index: 10;
  width: 100%;
  max-width: 460px;
  margin: auto auto 0;
  padding: 18px 0 max(6px, env(safe-area-inset-bottom));
}

/* ---------- formularfelter ---------- */

#trt-app .trt-field {
  display: block;
  margin-bottom: 14px;
}
#trt-app .trt-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
#trt-app .trt-input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid #E9DCCF;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  box-shadow: none;
  transition: border-color .15s, box-shadow .15s;
}
#trt-app textarea.trt-input {
  min-height: 84px;
  resize: vertical;
}
#trt-app .trt-input:focus {
  outline: none;
  border-color: var(--o);
  box-shadow: 0 0 0 3px rgba(222, 96, 30, .2);
}
#trt-app .trt-suggest {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink);
}
#trt-app .trt-suggest .trt-link {
  color: var(--o);
}
#trt-app .trt-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--grey);
  cursor: pointer;
}
#trt-app .trt-consent input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--o);
}
#trt-app .trt-form__error {
  margin: 0 0 12px;
  font-weight: 700;
  color: #B3261E;
}
#trt-app .trt-testnote {
  margin-top: 12px;
  font-size: 12px;
  color: #8A7A6E;
  text-align: center;
}

/* ---------- rejsepas-side (halvvejs og henvisning) ---------- */

#trt-app .trt-profile,
#trt-app .trt-out {
  min-height: calc(var(--trt-vh, 100svh) - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px 32px;
}
#trt-app .trt-page {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 22px 50px rgba(80, 28, 4, .35);
  transform: rotate(-1deg);
}
#trt-app .trt-page__band,
#trt-app .trt-pass__band {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 20px;
  background: var(--brown);
  color: var(--beige);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}
#trt-app .trt-page__body {
  padding: 22px 20px 24px;
}
#trt-app .trt-title--card {
  color: var(--o);
  text-shadow: 2px 2px 0 rgba(163, 89, 23, .25);
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.1;
  margin: 6px 0 16px;
}
#trt-app .trt-page__text,
#trt-app .trt-page__lead {
  margin: 16px 0 18px;
  color: var(--grey);
  font-size: 15px;
}
#trt-app .trt-page__lead {
  font-size: 16px;
  margin-top: 0;
}
#trt-app .trt-page__head {
  padding-right: 92px;
}
#trt-app .trt-page__stamp {
  position: absolute;
  right: 4px;
  top: 50px;
  width: 104px;
  color: var(--brown);
  opacity: .8;
  transform: rotate(-14deg);
  animation: trt-slam .55s cubic-bezier(.2, 1.4, .4, 1) .45s both;
  pointer-events: none;
}
@keyframes trt-slam {
  from { opacity: 0; transform: rotate(-14deg) scale(2.3); }
  to { opacity: .8; transform: rotate(-14deg) scale(1); }
}

/* Profilbarer */
#trt-app .trt-bars {
  display: grid;
  gap: 12px;
}
#trt-app .trt-bar-row {
  display: grid;
  grid-template-columns: 82px 1fr 42px;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}
#trt-app .trt-bar-row__track {
  height: 12px;
  border-radius: 99px;
  background: var(--beige);
  overflow: hidden;
}
#trt-app .trt-bar-row__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--o);
  transition: width .9s cubic-bezier(.2, .8, .2, 1);
}
#trt-app .trt-bar-row__pct {
  text-align: right;
  font-weight: 700;
  font-size: 14px;
  color: var(--brown);
}

/* ---------- analyse ---------- */

#trt-app .trt-analysis {
  min-height: calc(var(--trt-vh, 100svh) - 68px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 20px 40px;
  text-align: center;
}
#trt-app .trt-ring {
  position: relative;
  width: 210px;
  height: 210px;
}
#trt-app .trt-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
#trt-app .trt-ring__bg,
#trt-app .trt-ring__fg {
  fill: none;
  stroke-width: 9;
}
#trt-app .trt-ring__bg {
  stroke: rgba(255, 255, 255, .25);
}
#trt-app .trt-ring__fg {
  stroke: #fff;
  stroke-linecap: round;
}
#trt-app .trt-ring__val {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .3s;
}
#trt-app .trt-ring__val small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  opacity: .9;
}
#trt-app .trt-ring__val b {
  font-family: var(--fh);
  font-weight: 400;
  font-size: 54px;
  line-height: 1;
  text-shadow: 3px 3px 0 var(--brown);
}
#trt-app .trt-ring.is-nopct .trt-ring__val {
  opacity: 0;
}
#trt-app .trt-steps {
  list-style: none;
  width: 100%;
  max-width: 380px;
  text-align: left;
}
#trt-app .trt-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-weight: 600;
  color: rgba(255, 255, 255, .6);
  transition: color .3s;
}
#trt-app .trt-steps__dot {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .25s, border-color .25s;
}
#trt-app .trt-steps__dot svg {
  width: 16px;
  height: 16px;
  color: var(--o);
  transform: scale(0);
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
#trt-app .trt-steps li.is-done {
  color: #fff;
}
#trt-app .trt-steps li.is-done .trt-steps__dot {
  background: #fff;
  border-color: #fff;
}
#trt-app .trt-steps li.is-done svg {
  transform: scale(1);
}
#trt-app .trt-error {
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--brown);
  font-weight: 600;
}

/* ---------- rejsepas (gate) ---------- */

#trt-app .trt-gate {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 6px 16px 40px;
}
#trt-app .trt-pass {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 22px 46px rgba(80, 28, 4, .36);
  transform: rotate(-1.2deg);
}
#trt-app .trt-pass__body {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 16px 16px 10px;
}
#trt-app .trt-pass__photo {
  position: relative;
  width: 96px;
  height: 122px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--beige);
}
#trt-app .trt-pass__ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: rgba(163, 89, 23, .26);
}
#trt-app .trt-pass__photo img {
  position: absolute;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  object-fit: cover;
  filter: blur(7px) saturate(1.1);
  transition: filter .8s ease;
}
#trt-app .trt-pass.is-stamped .trt-pass__photo img {
  filter: none;
}
#trt-app .trt-pass__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  align-content: start;
}
#trt-app .trt-pass__fields dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: .85;
}
#trt-app .trt-pass__fields dd {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
#trt-app .trt-pass__dest {
  grid-column: 1 / -1;
}
#trt-app .trt-flap--pass .trt-flap__t {
  width: 21px;
  height: 30px;
  font-size: 17px;
}
#trt-app .trt-pass__mrz {
  padding: 4px 16px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(58, 36, 22, .5);
  white-space: nowrap;
  overflow: hidden;
}
#trt-app .trt-pass__stamp {
  position: absolute;
  right: 8px;
  bottom: 10px;
  width: 116px;
  color: var(--o);
  opacity: 0;
  pointer-events: none;
}
#trt-app .trt-pass.is-stamped .trt-pass__stamp {
  animation: trt-slam2 .5s cubic-bezier(.2, 1.5, .35, 1) forwards;
}
#trt-app .trt-pass.is-stamped {
  animation: trt-shake .4s ease .1s;
}
@keyframes trt-slam2 {
  from { opacity: 0; transform: rotate(-16deg) scale(2.6); }
  to { opacity: .92; transform: rotate(-16deg) scale(1); }
}
@keyframes trt-shake {
  0%, 100% { transform: rotate(-1.2deg); }
  30% { transform: rotate(-1.2deg) translateY(4px); }
  60% { transform: rotate(-1.2deg) translateY(-2px); }
}
#trt-app .trt-gate__panel {
  margin-top: 20px;
  padding: 22px 18px 18px;
  border-radius: var(--r);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(80, 28, 4, .22);
}
#trt-app .trt-gate__panel .trt-title--card {
  margin-top: 0;
  margin-bottom: 8px;
}
#trt-app .trt-gate__text {
  margin-bottom: 18px;
  color: var(--grey);
  font-size: 15px;
}
#trt-app .trt-gate__back {
  display: flex;
  justify-content: center;
  margin: 18px auto 0;
  color: #fff;
}
#trt-app .trt-gate__back svg {
  width: 18px;
  height: 18px;
}

/* ---------- resultat ---------- */

#trt-app[data-kind="result"] {
  background: var(--beige);
}
#trt-app .trt-hero {
  position: relative;
  min-height: 94vh;
  min-height: 94svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #2A160B;
}
#trt-app .trt-hero__media,
#trt-app .trt-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#trt-app .trt-hero__media img {
  object-fit: cover;
  animation: trt-zoom 9s ease-out both;
}
@keyframes trt-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
#trt-app .trt-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 12, 3, .9) 0%, rgba(30, 12, 3, .55) 38%, rgba(30, 12, 3, .1) 68%, rgba(30, 12, 3, .4) 100%);
}
#trt-app .trt-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px 56px;
}
#trt-app .trt-title--hero {
  font-size: clamp(38px, 10.5vw, 80px);
  line-height: 1.02;
  margin: 6px 0 14px;
}
#trt-app .trt-badge {
  position: absolute;
  right: 18px;
  top: -112px;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--o);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-10deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
  animation: trt-pop .6s cubic-bezier(.2, 1.5, .4, 1) .3s both;
}
@keyframes trt-pop {
  from { transform: rotate(-10deg) scale(0); }
  to { transform: rotate(-10deg) scale(1); }
}
#trt-app .trt-badge b {
  font-family: var(--fh);
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
}
#trt-app .trt-badge small {
  font-size: 12px;
  font-weight: 700;
}
#trt-app .trt-hero__facts {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 18px;
}
#trt-app .trt-hero__facts b {
  font-weight: 700;
}
#trt-app .trt-hero__cta {
  max-width: 440px;
}
#trt-app .trt-hero__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  opacity: .92;
}
#trt-app .trt-hero__more svg {
  width: 18px;
  height: 18px;
  animation: trt-bob 1.6s ease-in-out infinite;
}
@keyframes trt-bob {
  50% { transform: translateY(4px); }
}

#trt-app .trt-sheet {
  position: relative;
  z-index: 3;
  margin-top: -26px;
  padding: 30px 16px 0;
  border-radius: 30px 30px 0 0;
  background: var(--beige);
  color: var(--ink);
}
#trt-app .trt-sheet > * {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
#trt-app .trt-block {
  margin-bottom: 34px;
}
#trt-app .trt-h3 {
  font-family: var(--fh);
  font-weight: 400;
  font-size: clamp(23px, 6vw, 30px);
  line-height: 1.15;
  color: var(--o);
  text-shadow: 2px 2px 0 rgba(163, 89, 23, .22);
  margin-bottom: 14px;
}
#trt-app .trt-sheet .trt-small a {
  color: var(--brown);
  font-weight: 700;
  text-underline-offset: 3px;
}
#trt-app .trt-note {
  margin-bottom: 26px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #fff;
  border-left: 6px solid var(--o);
  font-weight: 600;
}
#trt-app .trt-reasons {
  list-style: none;
  display: grid;
  gap: 10px;
}
#trt-app .trt-reasons li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}
#trt-app .trt-reasons__dot {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--o);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
#trt-app .trt-reasons__dot svg {
  width: 17px;
  height: 17px;
}
#trt-app .trt-pitch {
  margin-bottom: 34px;
  padding: 22px 20px;
  border-radius: 24px;
  background: var(--o);
  color: #fff;
}
#trt-app .trt-pitch .trt-h3 {
  color: #fff;
  text-shadow: 2px 2px 0 var(--brown);
}
#trt-app .trt-pitch ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
#trt-app .trt-pitch li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}
#trt-app .trt-pitch li svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}
#trt-app .trt-pitch p {
  margin-top: 14px;
  font-size: 15px;
  opacity: .95;
}

/* Afgange på resultatet: samme tavle som spørgsmålet */
#trt-app .trt-departures--result {
  max-width: none;
}
#trt-app .trt-drow--dep {
  grid-template-columns: auto auto auto 1fr auto;
  grid-template-areas: "d m y . b" "meta meta meta meta meta";
  row-gap: 8px;
  padding: 12px 8px;
}
#trt-app .trt-drow--dep > .trt-flap:nth-child(1) { grid-area: d; }
#trt-app .trt-drow--dep > .trt-flap:nth-child(2) { grid-area: m; }
#trt-app .trt-drow--dep > .trt-drow__year { grid-area: y; }
#trt-app .trt-drow--dep > .trt-btn { grid-area: b; }
#trt-app .trt-drow__meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}
#trt-app .trt-drow__price {
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
}

/* Bekymringer */
#trt-app .trt-concerns {
  display: grid;
  gap: 10px;
}
#trt-app .trt-concerns details {
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
#trt-app .trt-concerns summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
#trt-app .trt-concerns summary::-webkit-details-marker {
  display: none;
}
#trt-app .trt-concerns summary::after {
  content: '+';
  margin-left: auto;
  font-size: 22px;
  font-weight: 600;
  color: var(--o);
  line-height: 1;
}
#trt-app .trt-concerns details[open] summary::after {
  content: '–';
}
#trt-app .trt-concerns__icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: var(--o);
}
#trt-app .trt-concerns__icon svg {
  width: 100%;
  height: 100%;
}
#trt-app .trt-concerns details > div {
  padding: 0 16px 16px 54px;
  color: var(--grey);
  font-size: 15px;
  line-height: 1.55;
}
#trt-app .trt-quote {
  margin-bottom: 8px;
  font-style: italic;
  color: var(--ink);
}

/* Anmeldelser */
#trt-app .trt-reviews {
  display: grid;
  gap: 12px;
}
#trt-app .trt-review {
  padding: 18px;
  border-radius: 20px;
  background: #fff;
}
#trt-app .trt-review blockquote {
  margin: 10px 0 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}
#trt-app .trt-review figcaption {
  font-size: 14px;
  color: var(--grey);
}

/* Andetvalg */
#trt-app .trt-alts {
  display: grid;
  gap: 12px;
}
#trt-app .trt-alt {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding-right: 16px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
#trt-app .trt-alt:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(80, 28, 4, .12);
}
#trt-app .trt-alt__media {
  position: relative;
  align-self: stretch;
  min-height: 104px;
}
#trt-app .trt-alt__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#trt-app .trt-alt__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
#trt-app .trt-alt__text b {
  font-size: 16px;
  line-height: 1.25;
}
#trt-app .trt-alt__text small {
  font-size: 14px;
  font-weight: 700;
  color: var(--o);
}
#trt-app .trt-alt__go svg {
  width: 22px;
  height: 22px;
  color: var(--o);
}

#trt-app .trt-cta {
  display: grid;
  gap: 12px;
}
#trt-app .trt-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-bottom: 40px;
}
#trt-app .trt-end .trt-btn svg {
  width: 18px;
  height: 18px;
}
#trt-app .trt-end .trt-link {
  color: var(--brown);
}
#trt-app .trt-out .trt-end {
  padding: 22px 0 0;
}

/* Fast knap i bunden af resultatet (mobil) */
#trt-app .trt-dock--result {
  position: sticky;
  bottom: 0;
  width: auto;
  max-width: none;
  margin: 0 -16px;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  background: var(--beige);
  box-shadow: 0 -10px 24px rgba(80, 28, 4, .12);
  transform: translateY(110%);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
#trt-app .trt-dock--result.is-on {
  transform: translateY(0);
}

/* Besked */
#trt-app .trt-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 99999;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translate(-50%, 20px);
  transition: opacity .25s, transform .25s;
}
#trt-app .trt-toast.is-in {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Debug */
#trt-app .trt-debug {
  max-width: 760px;
  margin: 24px auto;
  padding: 12px;
  border-radius: 12px;
  background: #111;
  color: #9fe;
  font-size: 12px;
}
#trt-app .trt-debug pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* ---------- små skærme (lave telefoner) ---------- */

@media (max-height: 700px) {
  #trt-app .trt-opts--cards { grid-template-rows: repeat(3, minmax(104px, 1fr)); }
  #trt-app .trt-opts--grid { grid-auto-rows: minmax(132px, 1fr); }
  #trt-app .trt-opts--duel { grid-template-rows: repeat(2, clamp(116px, calc(var(--trt-vh, 100svh) * .24), 170px)); }
  #trt-app .trt-title--q { font-size: clamp(24px, 6.6vw, 40px); }
}

/* ---------- tablet og computer ---------- */

@media (min-width: 760px) {
  #trt-app .trt-bar {
    padding-left: 28px;
    padding-right: 28px;
    min-height: 84px;
  }
  #trt-app[data-kind="q"] .trt-bar__logo,
  #trt-app[data-kind="profile"] .trt-bar__logo {
    display: block;
  }
  #trt-app .trt-logo {
    height: 44px;
  }
  #trt-app .trt-bar__progress {
    max-width: 560px;
    margin: 0 auto;
  }
  #trt-app .trt-q {
    min-height: calc(var(--trt-vh, 100svh) - 84px);
    padding: 8px 28px 32px;
  }
  #trt-app .trt-q__head {
    margin-bottom: 26px;
  }
  #trt-app .trt-opts {
    gap: 18px;
    max-height: 640px;
  }
  #trt-app .trt-opts--cards {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: minmax(340px, 1fr);
  }
  #trt-app .trt-opts--grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(340px, 1fr);
  }
  #trt-app .trt-opts--duel {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: clamp(280px, calc(var(--trt-vh, 100svh) * .5), 460px);
    max-width: 980px;
    margin: 0 auto;
  }
  #trt-app .trt-card__label {
    font-size: 21px;
    left: 22px;
    bottom: 20px;
  }
  #trt-app .trt-or {
    width: 84px;
    height: 84px;
    margin: -42px 0 0 -42px;
    font-size: 23px;
  }
  #trt-app .trt-opts--icons {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(220px, auto);
    max-width: 980px;
    margin: 0 auto;
  }
  #trt-app .trt-tile__icon {
    width: 76px;
    height: 76px;
  }
  #trt-app .trt-tile__label {
    font-size: 22px;
  }
  #trt-app .trt-age b {
    font-size: 34px;
  }
  #trt-app .trt-opts--age {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(96px, auto);
    gap: 16px;
  }
  #trt-app .trt-age small {
    font-size: 18px;
  }
  #trt-app .trt-drow {
    gap: 16px;
    padding: 12px 14px;
  }
  #trt-app .trt-flap__t {
    width: 26px;
    height: 36px;
    font-size: 21px;
  }
  #trt-app .trt-flap--board .trt-flap__t {
    width: 40px;
    height: 56px;
    font-size: 34px;
  }
  #trt-app .trt-drow__dest,
  #trt-app .trt-drow__year {
    font-size: 17px;
  }
  #trt-app .trt-drow__status {
    font-size: 13px;
  }
  #trt-app .trt-start {
    padding: 120px 40px 48px;
  }
  #trt-app .trt-start__sub {
    font-size: 18px;
  }
  #trt-app .trt-chip {
    font-size: 16px;
    min-height: 52px;
  }
  #trt-app .trt-gate {
    max-width: 980px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    padding-top: 24px;
    min-height: calc(var(--trt-vh, 100svh) - 84px);
  }
  #trt-app .trt-gate__panel {
    margin-top: 0;
    padding: 30px 28px 24px;
  }
  #trt-app .trt-gate__back {
    grid-column: 2;
  }
  #trt-app .trt-hero__content {
    padding: 0 40px 72px;
  }
  #trt-app .trt-badge {
    width: 124px;
    height: 124px;
    top: -150px;
    right: 40px;
  }
  #trt-app .trt-badge b {
    font-size: 36px;
  }
  #trt-app .trt-sheet {
    padding: 48px 28px 0;
  }
  #trt-app .trt-reviews {
    grid-template-columns: 1fr 1fr;
  }
  #trt-app .trt-cta {
    grid-template-columns: 1fr 1fr;
  }
  #trt-app .trt-dock--result {
    display: none;
  }
  #trt-app .trt-analysis .trt-ring {
    width: 240px;
    height: 240px;
  }
}

@media (min-width: 760px) and (max-height: 820px) {
  #trt-app .trt-opts--cards { grid-template-rows: minmax(280px, 1fr); }
  #trt-app .trt-opts--grid { grid-auto-rows: minmax(280px, 1fr); }
  #trt-app .trt-opts--duel { grid-template-rows: clamp(240px, calc(var(--trt-vh, 100svh) * .44), 360px); }
}

/* ---------- mindre bevægelse ---------- */

@media (prefers-reduced-motion: reduce) {
  #trt-app *,
  #trt-app *::before,
  #trt-app *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
