/* Lückenbüßer (tv-luecke.js und handy-luecke.js): Lounge-Welt mit eigener Aufmachung. Satzkarten weinrot mit Goldrand
   und Serifenschrift, Antwortkarten wie warmes Büttenpapier mit Tintenschrift, Rückseiten mit Goldmonogramm.
   Bewegung nur über transform und opacity, keine Weichzeichner. Fernseher unter .lb, Handy unter .lbh. */

/* ═══ Fernseher ═══ */
#andere[data-art="lueckenbuesser"] { padding: 0; }
.lb { --lb-gold: #d9b98c; --lb-papier: #f4ecdf; --lb-papier2: #e3d4bc; --lb-tinte: #2a1d21; --lb-wein: #3a1a22; --lb-wein2: #20111a;
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: 40px 100px 34px; }
.lb-kopf { flex: none; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.lb-marke { display: flex; align-items: center; gap: 16px; min-width: 360px; }
.lb-marke i { font-style: normal; font-size: 32px; filter: saturate(.8); }
.lb-marke b { font-family: var(--edel); font-weight: 500; font-size: 38px; letter-spacing: -.3px; }
.lb-info { font-size: 22px; font-weight: 300; color: var(--text2); letter-spacing: .5px; }
.lb-richter { min-width: 360px; display: flex; justify-content: flex-end; align-items: baseline; gap: 14px; }
.lb-richter small { font-size: 15px; letter-spacing: 5px; text-transform: uppercase; color: var(--text3); }
.lb-name { font-weight: 500; color: color-mix(in oklab, var(--f) 65%, #fff4e6); }
.lb-richter .lb-name { font-family: var(--edel); font-size: 32px; }

.lb-oben { flex: none; display: flex; flex-direction: column; align-items: center; margin-top: 14px; }
.lb-kicker { margin: 0 0 16px; font-size: 17px; font-weight: 500; letter-spacing: 6px; text-transform: uppercase; color: var(--lb-gold); animation: lb-auf .7s var(--weich) both; }
.lb-tisch { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lb-tafel { flex: none; min-height: 52px; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Satzkarte */
.lb-satz { position: relative; border-radius: 30px; color: #f6eadb; animation: lb-satz-ein .8s var(--weich) both;
  background: radial-gradient(120% 140% at 12% 0%, #4b232d, var(--lb-wein) 45%, var(--lb-wein2));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(217, 185, 140, .38); }
.lb-satz::before { content: ""; position: absolute; inset: 14px; border-radius: 20px; border: 1px solid rgba(217, 185, 140, .16); pointer-events: none; }
.lb-satz.gross { width: 1240px; min-height: 460px; padding: 70px 100px 96px; display: flex; flex-direction: column; justify-content: center; }
.lb-satz.klein { width: 1640px; padding: 36px 90px 62px; text-align: center; }
.lb-satz-text { margin: 0; font-family: var(--edel); font-weight: 500; font-size: var(--schrift); line-height: 1.2; letter-spacing: -.4px; text-wrap: balance; font-optical-sizing: auto; }
.lb-satz-fuss { position: absolute; left: 48px; right: 48px; bottom: 26px; display: flex; align-items: center; gap: 24px; font-size: 15px; letter-spacing: 4px; text-transform: uppercase; color: rgba(217, 185, 140, .62); }
.lb-satz.klein .lb-satz-fuss { bottom: 22px; }
.lb-mono { font-family: var(--edel); font-style: italic; text-transform: none; letter-spacing: .5px; font-size: 20px; }
.lb-haus { margin-left: auto; color: var(--lb-gold); }
.lb-luecke { display: inline-block; width: 4em; height: .85em; margin: 0 .12em; border-bottom: 3px solid var(--lb-gold); vertical-align: baseline; }
.lb-fuell { color: var(--lb-gold); font-style: italic; background: linear-gradient(transparent 86%, rgba(217, 185, 140, .32) 86%); animation: lb-fuell-ein .8s var(--weich) both; }
.lb-fuell.sieg { color: #f3d9a8; }
.lb-sieger { margin: 22px 0 0; font-family: var(--edel); font-size: 40px; font-weight: 400; animation: lb-auf .8s var(--weich) .35s both; }
.lb-sieger .lb-name { font-size: 46px; }

/* Rückseiten (Stapel und verdeckte Karten) */
.lb-ruecken, .lb-hinten { display: grid; place-items: center; border-radius: 20px;
  background: repeating-linear-gradient(45deg, rgba(217, 185, 140, .07) 0 2px, transparent 2px 14px), radial-gradient(circle at 50% 45%, #4b232d, var(--lb-wein2) 78%);
  box-shadow: inset 0 0 0 1px rgba(217, 185, 140, .45), inset 0 0 0 10px var(--lb-wein2), inset 0 0 0 11px rgba(217, 185, 140, .22), 0 24px 40px -22px rgba(0, 0, 0, .8); }
.lb-ruecken b, .lb-hinten b { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(217, 185, 140, .5);
  font-family: var(--edel); font-weight: 500; font-style: italic; font-size: 58px; color: var(--lb-gold); background: rgba(32, 17, 26, .6); }

/* Legen: verdeckter Stapel, fächert sich auf */
.lb-stapel { display: flex; justify-content: center; align-items: center; height: 250px; padding-left: 0; }
.lb-ruecken { flex: none; width: 168px; height: 224px; margin-left: -100px; transform: translateY(var(--x)) rotate(var(--r)); animation: lb-landen .7s var(--weich) backwards; }
.lb-ruecken:first-child { margin-left: 0; }
.lb-stand { margin: 24px 0 0; font-family: var(--edel); font-size: 34px; font-weight: 400; color: var(--text2); }

/* Auslage: Karten drehen sich einzeln um */
.lb-auslage { display: grid; grid-template-columns: repeat(var(--sp), var(--b)); gap: 14px 28px; justify-content: center; perspective: 1800px; }
.lb-karte { width: var(--b); animation: lb-austeilen .7s var(--weich) backwards; animation-delay: calc(var(--i) * 80ms); }
.lb-heben { transition: transform .6s var(--weich), opacity .6s ease; }
.lb-innen { position: relative; height: var(--hh); transform-style: preserve-3d; transition: transform 1s var(--weich); }
.lb-karte.offen .lb-innen { transform: rotateY(180deg); }
.lb-karte.sofort .lb-innen { transition: none; }
.lb-hinten, .lb-vorne { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.lb-vorne { transform: rotateY(180deg); display: flex; flex-direction: column; padding: 22px 22px 16px; border-radius: 20px; color: var(--lb-tinte);
  background: linear-gradient(172deg, var(--lb-papier), var(--lb-papier2)); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(120, 90, 60, .22); }
.lb-texte { display: flex; flex-direction: column; gap: 10px; }
.lb-text { margin: 0; overflow-wrap: break-word; hyphens: auto; font-family: var(--edel); font-weight: 500; font-size: var(--schrift); line-height: 1.17; letter-spacing: -.2px; }
.lb-text small { display: block; margin-bottom: 2px; font-family: "Outfit", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 3px; color: #9a7b55; }
.zwei .lb-text + .lb-text { padding-top: 10px; border-top: 1px solid rgba(120, 90, 60, .25); }
.lb-ecke { margin-top: auto; align-self: flex-end; font-size: 19px; color: rgba(150, 110, 70, .5); }
.lb-ecke.eigen { color: #b0802c; }
.lb-karte.markiert .lb-heben { transform: translateY(-14px) scale(1.04); }
.lb-karte.markiert .lb-vorne { box-shadow: 0 0 0 3px var(--lb-gold), 0 30px 50px -22px rgba(0, 0, 0, .85); }
.lb-karte.fokus .lb-vorne { outline: 3px solid rgba(255, 244, 230, .9); outline-offset: 6px; }
.lb-karte.gewinner .lb-heben { transform: translateY(-16px) scale(1.07); }
.lb-karte.gewinner .lb-vorne { box-shadow: 0 0 0 3px var(--lb-gold), 0 30px 60px -24px rgba(217, 185, 140, .5); }
.lb-karte.leise .lb-heben { opacity: .5; transform: scale(.96); }
.lb-von { height: 30px; margin: 10px 0 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 21px; font-weight: 400; color: var(--text2);
  white-space: nowrap; overflow: hidden; }
.lb-von:not(:empty) { animation: lb-auf .6s var(--weich) both; }
.lb-von i { width: 13px; height: 13px; border-radius: 50%; flex: none; }
.lb-karte.gewinner .lb-von { color: var(--text); font-weight: 500; }

/* Punkte unten */
.lb-tafel .chip { font-size: 21px; padding: 5px 18px 5px 6px; gap: 10px; animation: none; }
.lb-tafel .chip i { width: 32px; height: 32px; font-size: 15px; }
.lb-tafel .chip small { margin-left: 2px; font-weight: 600; color: var(--lb-gold); }
.lb-tafel .chip.lb-ist-richter { border-color: rgba(217, 185, 140, .55); background: rgba(217, 185, 140, .08); }
.lb-tafel .chip.lb-ist-richter::after { content: "Richter"; margin-left: 4px; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--lb-gold); }
.lb-tafel .chip.lb-fertig::after { content: "✓"; margin-left: 2px; color: var(--lb-gold); font-weight: 600; }
.lb-tafel .chip.lb-wartet { opacity: .55; }
.lb-tafel .chip.lb-spaeter { opacity: .38; }
.lb-tafel .chip.lb-punkt { background: rgba(217, 185, 140, .2); border-color: var(--lb-gold); animation: lb-puls 1.2s var(--weich) .4s both; }

/* Ende: Rangliste und Sternstunden */
.lb-schluss { width: 1720px; margin-top: 34px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 90px; align-items: start; }
.lb-schluss .lb-kicker { text-align: left; }
.lb-schluss h1 { margin: 0 0 34px; font-family: var(--edel); font-weight: 500; font-size: 84px; line-height: 1.04; letter-spacing: -1.5px; animation: lb-satz-ein .9s var(--weich) both; }
.lb-schluss h1 .lb-name { font-weight: 500; }
.lb-rang { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lb-rang.eng { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.lb-rang li { display: flex; align-items: center; gap: 18px; padding: 12px 24px; border-radius: 18px; background: rgba(255, 244, 230, .04); border: 1px solid var(--linie);
  font-size: 28px; animation: lb-auf .7s var(--weich) backwards; animation-delay: calc(var(--i) * 80ms + .2s); }
.lb-rang.eng li { font-size: 23px; padding: 9px 18px; }
.lb-rang em { width: 30px; font-style: normal; font-family: var(--edel); color: var(--text3); }
.lb-rang i { width: 16px; height: 16px; border-radius: 50%; background: var(--f); flex: none; }
.lb-rang span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-rang b { margin-left: auto; font-family: var(--edel); font-weight: 500; font-size: 36px; color: var(--lb-gold); }
.lb-rang.eng b { font-size: 28px; }
.lb-rang li.sieger { background: rgba(217, 185, 140, .1); border-color: rgba(217, 185, 140, .45); }
.lb-glanz { margin-bottom: 18px; padding: 26px 32px 22px; border-radius: 24px; color: #f6eadb; animation: lb-auf .8s var(--weich) backwards .5s;
  background: radial-gradient(120% 140% at 12% 0%, #4b232d, var(--lb-wein) 45%, var(--lb-wein2)); box-shadow: inset 0 0 0 1px rgba(217, 185, 140, .32); }
.lb-glanz:nth-child(3) { animation-delay: .65s; } .lb-glanz:nth-child(4) { animation-delay: .8s; }
.lb-glanz p { margin: 0 0 10px; font-family: var(--edel); font-weight: 500; font-size: 31px; line-height: 1.25; text-wrap: balance; }
.lb-glanz > span { font-size: 20px; }

@keyframes lb-satz-ein { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes lb-auf { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes lb-fuell-ein { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-landen { from { opacity: 0; transform: translateY(-140px) rotate(0deg) scale(1.08); } }
@keyframes lb-austeilen { from { opacity: 0; transform: translateY(60px) scale(.94); } }
@keyframes lb-puls { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* ═══ Handy ═══ */
.lbh-kopf { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 6px 0 12px; font-size: 14px; color: var(--text2); }
.lbh-rolle { padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(217, 185, 140, .5); color: var(--bernstein); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.lbh-satz { position: relative; padding: 22px 20px 28px; border-radius: 22px; color: #f6eadb;
  background: radial-gradient(120% 140% at 12% 0%, #4b232d, #3a1a22 45%, #20111a); box-shadow: inset 0 0 0 1px rgba(217, 185, 140, .36), 0 16px 30px -18px rgba(0, 0, 0, .8); }
.lbh-satz p { margin: 0; font-family: var(--edel); font-size: 23px; font-weight: 500; line-height: 1.3; text-wrap: balance; }
.lbh-satz small { position: absolute; right: 18px; bottom: 9px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(217, 185, 140, .75); }
.lbh .lb-luecke { width: 3.2em; border-bottom: 2px solid #d9b98c; }
.lbh .lb-fuell { color: #e3c497; font-style: italic; background: none; animation: none; }
.lbh .lb-fuell.wahl, .lbh .lb-fuell.sieg { color: #f3d9a8; }
.lbh-tipp { margin: 14px 2px 6px; font-size: 14px; color: var(--text3); }
.lbh-hand { display: flex; gap: 10px; margin: 0 -16px; padding: 10px 16px 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lbh-hand::-webkit-scrollbar { display: none; }
.lbh-karte { position: relative; flex: none; width: 148px; height: 178px; padding: 14px 13px 32px; display: flex; scroll-snap-align: start; text-align: left; border-radius: 18px;
  background: linear-gradient(172deg, #f4ecdf, #e3d4bc); color: #2a1d21; font-family: var(--edel); font-size: 18px; font-weight: 500; line-height: 1.2;
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(120, 90, 60, .2); transition: transform .25s var(--weich, ease); }
.lbh-karte span { display: block; overflow: hidden; overflow-wrap: break-word; hyphens: auto; }
.lbh-karte.an { transform: translateY(-8px); box-shadow: 0 0 0 3px #d9b98c, 0 18px 30px -14px rgba(0, 0, 0, .85); }
.lbh-karte b { position: absolute; right: 10px; bottom: 9px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: #3a1a22; color: #f3d9a8; font-family: "Outfit", sans-serif; font-size: 14px; font-weight: 700; }
.lbh-karte em { position: absolute; left: 12px; bottom: 9px; font-style: normal; font-size: 14px; color: #b0802c; }
.lbh-karte:disabled { opacity: .6; }
.lbh .gross { margin-top: 14px; }
.lbh .gross small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; opacity: .7; }
.lbh-tausch { display: block; width: 100%; margin-top: 12px; padding: 12px 16px; border-radius: 16px; border: 1px dashed rgba(217, 185, 140, .45); background: transparent;
  color: var(--text2); font-size: 15px; font-weight: 600; text-align: left; }
.lbh-tausch small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--text3); }
.lbh-tausch:disabled { opacity: .45; }
.lbh-frage { margin-top: 12px; padding: 14px; border-radius: 18px; border: 1px solid rgba(217, 185, 140, .4); background: rgba(217, 185, 140, .06); }
.lbh-frage p { margin: 0; font-size: 15px; line-height: 1.35; }
.lbh-frage .zwei { margin-top: 10px; }
.lbh-frage .gross { margin-top: 0; padding: 14px 10px; font-size: 17px; }
.lbh .mitte.klein { padding: 16px 0 10px; }
.lbh .mitte.klein .gross-text { font-size: 25px; }
.lbh-jubel { color: #f3d9a8; }
.lbh-zaehler { margin: 14px 0 0; text-align: center; color: var(--text2); }
.lbh-mitte { margin: 12px 0 0; text-align: center; }
.lbh-liste { display: grid; gap: 8px; margin-top: 14px; }
.lbh-option { position: relative; display: block; width: 100%; padding: 13px 16px; border-radius: 16px; border: 1px solid var(--linie); background: rgba(255, 244, 230, .045);
  color: var(--text); font: inherit; text-align: left; }
.lbh-option p { margin: 0; font-family: var(--edel); font-size: 17px; font-weight: 400; line-height: 1.32; }
button.lbh-option:active { transform: scale(.985); }
.lbh-option.an { border-color: #d9b98c; background: rgba(217, 185, 140, .12); box-shadow: inset 0 0 0 1px #d9b98c; }
.lbh-option.sieg { border-color: rgba(217, 185, 140, .7); background: rgba(217, 185, 140, .08); }
.lbh-option.mein { padding-right: 64px; }
.lbh-option em { position: absolute; right: 12px; top: 10px; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--bernstein); }
.lbh-von { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--text2); }
.lbh-von i { width: 9px; height: 9px; border-radius: 50%; background: var(--f); }
.lbh-stand { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--linie); }
.lbh-stand span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 244, 230, .05); font-size: 13px; color: var(--text2); }
.lbh-stand i { width: 9px; height: 9px; border-radius: 50%; background: var(--f); }
.lbh-stand b { color: var(--bernstein); font-weight: 600; }
.lbh-stand .richter { box-shadow: inset 0 0 0 1px rgba(217, 185, 140, .5); }
.lbh-stand .ich { color: var(--text); }
.lbh-meine { margin-top: 16px; }
.lbh-meine summary { color: var(--text2); font-size: 14px; }
html.standbild .lbh *, html.standbild .lb * { animation: none !important; transition: none !important; }
