/* Gruppe „Geheimnisse“ (Imposter, Wer bin ich, Geschmackssache, Touchdown): Fernseher (.gh…) und Handy (.ghh…).
   Akzentfarben je Spiel setzt tv.js auf <body> (--akzent, --akzent2). Bewegung nur über transform und opacity. */

/* ════ Fernseher ════ */
.gh { position: absolute; inset: 0; padding: 50px 90px 40px; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; font-family: "Outfit", "Segoe UI", sans-serif; }
.gh-kopf { display: flex; justify-content: space-between; align-items: center; }
.gh-marke { display: flex; align-items: center; gap: 18px; }
.gh-marke i { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-style: normal; font-size: 38px;
  background: linear-gradient(135deg, var(--akzent), var(--akzent2)); box-shadow: 0 10px 30px -8px var(--akzent); }
.gh-marke b { font-size: 34px; font-weight: 800; letter-spacing: 4px; text-transform: uppercase; color: var(--text2); }
.gh-info { font-size: 26px; font-weight: 600; color: var(--text3); }
.gh-buehne { position: relative; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.gh-tafel { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; min-height: 58px; }
.gh-tafel .chip { font-size: 24px; padding: 6px 20px 6px 6px; }
.gh-tafel .chip small { font-size: 24px; font-weight: 800; color: var(--text); opacity: .9; margin-left: 4px; }
.gh-tafel .chip.gh-dran { background: var(--f); color: #0d1016; border-color: transparent; }
.gh-tafel .chip.gh-dran i { background: #0d1016; color: var(--f); box-shadow: none; }
.gh-tafel .chip.gh-dran small { color: #0d1016; }

.gh-mitte { text-align: center; }
.gh-mitte h1 { margin: 14px 0 0; font-size: 84px; font-weight: 900; letter-spacing: -2px; line-height: 1.02; text-wrap: balance; }
.gh-mitte h2 { margin: 24px 0 0; font-size: 54px; font-weight: 800; }
.gh-kicker { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--akzent); }
.gh-unter { margin: 18px auto 0; max-width: 1400px; font-size: 32px; color: var(--text2); }
.gh-name { color: var(--f); font-weight: 800; }
.gh-riesig { font-size: 160px !important; letter-spacing: -4px !important; animation: gh-auf .6s cubic-bezier(.2, .8, .2, 1.3) both; }
.gh-gross { font-size: 72px !important; }
.gh-mitte, .gh-aufloesung > *, .gh-ende > * { animation: gh-ein .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes gh-ein { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes gh-auf { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes gh-drehen { from { opacity: 0; transform: perspective(900px) rotateX(80deg); } to { opacity: 1; transform: none; } }

/* Verdeckte Spielerkarten (Rolle gesehen, abgestimmt, Rolle vergeben) */
.gh-karten, .gh-kette { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; }
.gh-karte { position: relative; width: 150px; height: 200px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 12px, transparent 12px 24px), linear-gradient(160deg, #1d2333, #11151f);
  border: 2px solid var(--linie); box-shadow: 0 14px 30px rgba(0, 0, 0, .45); transition: transform .35s cubic-bezier(.2, .8, .2, 1.3), border-color .3s;
  animation: gh-ein .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 50ms); }
.gh-karte i { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 30px; font-weight: 900; color: #0d1016; background: var(--f); }
.gh-karte span { font-size: 22px; font-weight: 700; color: var(--text2); max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gh-karte b { position: absolute; top: -14px; right: -14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 26px;
  background: #2fbf71; color: #08200f; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .35s cubic-bezier(.2, .8, .2, 1.5); }
.gh-karte.fertig { border-color: var(--f); transform: translateY(-10px); }
.gh-karte.fertig b { opacity: 1; transform: none; }
.gh-kette em { font-style: normal; font-size: 40px; color: var(--text3); }

/* Reihenfolge (Stichworte, Begriffe nennen) */
.gh-reihe { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.gh-reihe li { display: flex; align-items: center; gap: 14px; padding: 12px 30px 12px 12px; border-radius: 999px; font-size: 32px; font-weight: 700;
  background: rgba(255, 255, 255, .06); border: 2px solid var(--linie); animation: gh-ein .4s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 70ms); }
.gh-reihe em { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; color: #0d1016; background: var(--f); }

/* Imposter: Auflösung */
.gh-aufloesung { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.gh-aufloesung .gh-links > * + * { margin-top: 22px; }
.gh-aufloesung .gh-links > .gh-urteil, .gh-aufloesung .gh-links > .gh-wortkarte { display: block; width: fit-content; }
.gh-aufloesung h1 { margin: 10px 0 0; font-weight: 900; letter-spacing: -2px; line-height: 1.02; }
.gh-urteil { display: inline-block; margin: 0; padding: 8px 26px; border-radius: 999px; font-size: 30px; font-weight: 800; }
.gh-urteil.gut { background: #2fbf71; color: #08200f; } .gh-urteil.schlecht { background: #e5484d; color: #fff; }
.gh-urteil.gross + .gh-kicker { margin-top: 34px; }
.gh-urteil.gross { font-size: 64px; padding: 10px 40px; animation: gh-auf .5s cubic-bezier(.2, .8, .2, 1.4) both; }
.gh-wortkarte { display: inline-block; min-width: 520px; padding: 26px 44px; border-radius: 28px; background: linear-gradient(135deg, var(--akzent), var(--akzent) 55%, var(--akzent2) 170%); color: #10131a;
  box-shadow: 0 24px 60px -18px var(--akzent); animation: gh-drehen .7s .25s cubic-bezier(.2, .8, .2, 1) both; }
.gh-wortkarte small { display: block; font-size: 22px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; opacity: .7; }
.gh-wortkarte b { display: block; margin: 4px 0; font-size: 80px; font-weight: 900; letter-spacing: -1px; line-height: 1.05; }
.gh-wortkarte span { font-size: 24px; font-weight: 600; opacity: .7; }
.gh-vergabe { font-size: 28px; font-weight: 700; color: var(--akzent); }
.gh-stimmen { display: grid; gap: 14px; }
.gh-balken { display: grid; grid-template-columns: 230px 1fr 56px; align-items: center; gap: 4px 18px; animation: gh-ein .4s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.3s + var(--i) * 80ms); }
.gh-balken span { font-size: 30px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gh-balken.imp span::after { content: " 🕵️"; }
.gh-balken > b { font-size: 34px; font-weight: 900; text-align: right; }
.gh-spur { height: 26px; border-radius: 13px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.gh-spur i { display: block; height: 100%; background: var(--f); transform-origin: left; animation: gh-wachsen .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.5s + var(--i) * 80ms); }
@keyframes gh-wachsen { from { transform: scaleX(0); } }
.gh-balken.imp .gh-spur { box-shadow: 0 0 0 3px var(--akzent); }
.gh-punkte { grid-column: 2; display: flex; gap: 6px; min-height: 0; }
.gh-punkte u { width: 18px; height: 18px; border-radius: 50%; }

/* Wer bin ich */
.gh-zweispaltig { display: grid; grid-template-columns: 1fr 480px; gap: 60px; align-items: center; }
.gh-zweispaltig.allein { grid-template-columns: 1fr; }
.gh-seite { display: flex; flex-direction: column; gap: 12px; max-height: 760px; overflow: hidden; }
.gh-rolle-klein { padding: 14px 22px; border-radius: 16px; background: var(--karte); border-left: 8px solid var(--f); animation: gh-ein .4s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 60ms); }
.gh-rolle-klein span { display: block; font-size: 20px; font-weight: 600; color: var(--text3); }
.gh-rolle-klein b { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; }
.gh-fragekarte { width: 300px; height: 300px; margin: 30px auto 0; border-radius: 40px; display: grid; place-items: center; font-size: 200px; font-weight: 900; color: #0d1016;
  background: linear-gradient(145deg, var(--f), #ffffff22); box-shadow: 0 30px 70px -20px var(--f); animation: gh-wippen 2.4s ease-in-out infinite; }
@keyframes gh-wippen { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-8px); } }
.gh-uhr { width: 640px; margin: 36px auto 0; }
.gh-uhr b { display: block; font-size: 110px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.gh-uhr b.knapp { color: #ff5d5d; }
.gh-uhr-spur { margin-top: 14px; height: 16px; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.gh-uhr-spur i { display: block; height: 100%; background: linear-gradient(90deg, var(--akzent2), var(--akzent)); transform-origin: left; transition: transform .25s linear; }
.gh-rollenkarte { display: inline-block; margin-top: 18px; max-width: 1100px; padding: 30px 60px; border-radius: 30px; background: var(--f); color: #0d1016;
  font-size: 88px; font-weight: 900; letter-spacing: -1px; line-height: 1.05; box-shadow: 0 30px 70px -24px var(--f); animation: gh-drehen .7s .15s cubic-bezier(.2, .8, .2, 1) both; }
.gh-alle-rollen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 1500px; margin: 30px auto 0; text-align: left; }

/* Geschmackssache */
.gh-kategorie { display: inline-block; padding: 22px 60px 26px; border-radius: 30px; background: var(--karte); border: 2px solid var(--akzent);
  box-shadow: 0 24px 60px -30px var(--akzent); animation: gh-auf .5s cubic-bezier(.2, .8, .2, 1.2) both; }
.gh-kategorie small { display: block; font-size: 22px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--akzent); }
.gh-kategorie b { display: block; margin-top: 4px; font-size: 92px; font-weight: 900; letter-spacing: -2px; line-height: 1.05; }
.gh-mitte .gh-kategorie { margin-top: 26px; }
.gh-kategorie { text-align: center; }
.gh-mitte .gh-urteil { margin-top: 24px; }
.gh-geschmack .gh-feld.ziel::before { content: "Zahl"; }
.gh-blase { width: 190px; height: 190px; margin: 34px auto 0; border-radius: 50%; display: grid; place-items: center; font-size: 130px; font-weight: 900; color: #10131a;
  background: linear-gradient(135deg, var(--akzent), var(--akzent) 50%, var(--akzent2) 180%); animation: gh-wippen 2.4s ease-in-out infinite; }
.gh-raten { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.gh-raten .gh-kategorie b { font-size: 60px; }
.gh-mittelteil { display: flex; justify-content: center; align-items: center; gap: 90px; }
.gh-mittelteil .gh-kicker { text-align: center; margin-bottom: 18px; }
.gh-frage p { margin: 0; font-size: 30px; color: var(--text2); }
.gh-frage h2 { margin: 6px 0 0; font-size: 54px; font-weight: 900; }
.gh-mitte.eng h1 { margin-top: 8px; }
.gh-zahl { display: inline-block; min-width: 1.2em; padding: 0 20px; border-radius: 22px; background: var(--akzent); color: #10131a; animation: gh-auf .5s .2s cubic-bezier(.2, .8, .2, 1.5) both; }

/* Skala 0 bis 10 (Touchdown, Geschmackssache) */
.gh-skala { width: 1640px; max-width: 100%; margin: 0 auto; }
.gh-pole { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 72px; }
.gh-pole span { max-width: 48%; font-size: 46px; font-weight: 900; letter-spacing: -.5px; line-height: 1.05; }
.gh-pole span:last-child { text-align: right; }
.gh-pole span:first-child::before { content: "◀ "; color: var(--text3); font-size: .7em; }
.gh-pole span:last-child::after { content: " ▶"; color: var(--text3); font-size: .7em; }
.gh-leiste { position: relative; display: grid; grid-template-columns: repeat(11, 1fr); gap: 10px; height: 150px; }
.gh-feld { position: relative; border-radius: 18px; display: grid; place-items: center; background: hsl(calc(265 - var(--a) * 95) 42% 30%); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .25);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1.3); }
.gh-geschmack .gh-feld { background: hsl(calc(var(--a) * 125) 52% 32%); }
.gh-feld b { font-size: 48px; font-weight: 900; color: rgba(255, 255, 255, .85); }
.gh-feld.ziel { transform: translateY(-14px) scale(1.06); box-shadow: 0 0 0 6px #fff, 0 20px 40px rgba(0, 0, 0, .5); z-index: 2; animation: gh-auf .5s .3s cubic-bezier(.2, .8, .2, 1.5) both; }
.gh-feld.ziel::before { content: "Ziel"; position: absolute; top: -58px; font-size: 24px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #fff; }
.gh-feld.tipp::after { content: "Tipp"; position: absolute; bottom: -50px; padding: 4px 16px; border-radius: 999px; font-size: 22px; font-weight: 800; background: var(--akzent); color: #10131a; }
.gh-feld.tipp:not(.ziel) { box-shadow: 0 0 0 5px var(--akzent); }
.gh-zeiger-spur { position: absolute; inset: 0; pointer-events: none; }
.gh-zeiger { position: absolute; left: 0; top: -54px; bottom: 0; width: calc((100% - 100px) / 11); transition: transform .3s cubic-bezier(.2, .8, .2, 1.2); will-change: transform; }
.gh-zeiger::before { content: ""; position: absolute; left: 50%; top: 0; margin-left: -28px; border: 28px solid transparent; border-top: 40px solid var(--f, #fff); border-bottom: 0; }
.gh-zeiger i { position: absolute; left: -6px; right: -6px; top: 48px; bottom: -6px; border: 7px solid var(--f, #fff); border-radius: 22px; box-shadow: 0 0 26px var(--f, #fff), inset 0 0 18px rgba(0, 0, 0, .35); }
.gh-td { display: flex; flex-direction: column; gap: 70px; }

/* Endergebnis */
.gh-ende { text-align: center; }
.gh-ende h1 { margin: 10px 0 0; font-size: 92px; font-weight: 900; letter-spacing: -2px; line-height: 1.02; }
.gh-rang { list-style: none; width: 900px; margin: 36px auto 0; padding: 0; display: grid; gap: 10px; }
.gh-rang li { display: grid; grid-template-columns: 56px 34px 1fr auto; align-items: center; gap: 18px; padding: 12px 28px; border-radius: 18px; background: var(--karte); text-align: left;
  animation: gh-ein .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.2s + var(--i) * 70ms); }
.gh-rang li.sieger { background: var(--akzent); color: #10131a; }
.gh-rang em { font-style: normal; font-size: 30px; font-weight: 900; opacity: .7; }
.gh-rang i { width: 30px; height: 30px; border-radius: 50%; background: var(--f); }
.gh-rang span { font-size: 34px; font-weight: 700; }
.gh-rang b { font-size: 40px; font-weight: 900; }

/* ════ Handy ════ */
.ghh-mitte { text-align: center; }
.ghh-geheim { display: block; width: 100%; margin: 14px 0; padding: 26px 18px; border-radius: 22px; border: 2px dashed var(--linie); background: var(--karte); color: var(--text2);
  font-size: 18px; text-align: center; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none; }
.ghh-geheim.offen { border-style: solid; border-color: transparent; color: #10131a; background: linear-gradient(135deg, #ffd36e, #ff8a4c); }
.ghh-geheim.offen.imp { background: linear-gradient(135deg, #ff6b6b, #b3263c); color: #fff; }
.ghh-geheim b { display: block; font-size: 36px; font-weight: 900; line-height: 1.1; margin: 4px 0; }
.ghh-geheim small { display: block; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.ghh-reihe { margin: 12px 0; padding: 0 0 0 28px; display: grid; gap: 6px; }
.ghh-reihe li { padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border-left: 5px solid var(--f); font-size: 18px; font-weight: 600; }
.ghh-reihe li.ich { background: rgba(255, 179, 71, .14); font-weight: 800; }
.ghh-urteil { font-size: 22px; font-weight: 800; margin: 6px 0 10px; }
.ghh-wort { color: var(--bernstein); font-size: 22px; }
.ghh-vergabe .gross { font-size: 17px; padding: 14px 10px; }
.ghh-vergabe .gross small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; opacity: .7; }
#inhalt .gross.zweit.an { background: var(--bernstein); color: #1d1206; border-color: transparent; }
.ghh-weiter { display: block; margin-top: 14px; }
.ghh-punkte .zeile, .ghh-rollen .zeile { border: 1px solid var(--linie); }
.ghh-punkte .zeile.ghh-ich { font-weight: 800; }
.zeile.ghh-dran { border-color: var(--f); background: rgba(255, 255, 255, .09); }
.ghh-rollen .zeile b { max-width: 62%; text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.ghh-vorschlag { margin: 14px 0; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--linie); }
.ghh-vorschlag span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text3); }
.ghh-vorschlag b { display: block; margin: 4px 0 2px; font-size: 24px; font-weight: 800; }
.ghh-vorschlag .zwei { margin-top: 10px; }
.ghh-vorschlag .gross { font-size: 16px; padding: 12px 8px; }
#ghh-rolle { width: 100%; margin: 4px 0 0; }
.ghh-rolle-gross { display: inline-block; margin: 8px 0 4px; padding: 16px 22px; border-radius: 20px; background: var(--f); color: #0d1016; font-size: 34px; font-weight: 900; line-height: 1.1; text-wrap: balance; }
.ghh-uhr { margin-top: 10px; font-size: 54px; }
.ghh-kategorie { margin: 10px 0 4px; padding: 14px; border-radius: 18px; text-align: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--linie); }
.ghh-kategorie small { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text3); }
.ghh-kategorie b { display: block; margin-top: 2px; font-size: 28px; font-weight: 900; line-height: 1.1; }
.ghh-zahl { display: grid; place-items: center; width: 100%; height: 210px; margin: 14px 0 8px; border-radius: 26px; border: 2px dashed var(--linie); background: var(--karte); color: var(--text3);
  user-select: none; -webkit-user-select: none; }
.ghh-zahl b { font-size: 130px; font-weight: 900; line-height: 1; }
.ghh-zahl.an { border: 0; background: linear-gradient(135deg, #ffd36e, #ff8a4c); color: #1d1206; }
.ghh-skala { margin: 14px 0; }
.ghh-pole { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 800; color: var(--text2); }
.ghh-pole span:last-child { text-align: right; }
.ghh-pole.ghh-pole-gross { margin-top: 14px; font-size: 18px; color: var(--text); }
.ghh-leiste { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 3px; margin-top: 8px; }
.ghh-feld { height: 56px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; font-weight: 800; color: rgba(255, 255, 255, .9); padding: 0;
  background: hsl(calc(265 - var(--a) * 95) 42% 32%); transition: transform .15s; }
.ghh-skala.geschmack .ghh-feld { background: hsl(calc(var(--a) * 125) 52% 34%); }
.ghh-feld.ziel { box-shadow: 0 0 0 3px #fff; transform: translateY(-4px); }
.ghh-feld.tipp { box-shadow: 0 0 0 3px var(--bernstein); }
.ghh-feld.ziel.tipp { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--bernstein); }
.ghh-feld.zeiger { background: #ffe25c; color: #1a1033; }
.ghh-feld.wahl { background: var(--bernstein); color: #1d1206; transform: scale(1.12); }
.ghh-regler { height: 52px; }
.ghh-regeln { margin-top: 22px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--linie); }
.ghh-regeln summary { font-size: 15px; font-weight: 700; color: var(--text2); cursor: pointer; }
.ghh-regeln p { margin: 10px 0 2px; font-size: 15px; line-height: 1.45; color: var(--text2); }
.ghh-ende-knoepfe { margin-top: 18px; }
#inhalt .ghh-schritte { grid-template-columns: 1fr 1fr; }
