/* Begehbare Welten: Bedienfläche (Start, Knöpfe, Joystick, Blickfläche, Anleitung). Farben über --welt-akzent, damit jede Seite ihre eigene setzen kann.
   Umbau 14.11.2026: sichtbarer Joystick links und Blickfläche rechts (Maus und Finger), klare Knöpfe oben (Verlassen, Zur Karte, Zum Eingang), Anleitung mit Bildern. */
.welt-box { --stick: clamp(120px, 34vmin, 160px); position: relative; width: 100%; height: 100%; min-height: 320px; background: #07090e; overflow: hidden; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; --welt-akzent: #c9a84c; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
@media (max-height: 460px) { .welt-box { --stick: 112px; } }
.welt-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; cursor: grab; }
.welt-box--ziehen .welt-canvas { cursor: grabbing; }
.welt-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.welt-hud { position: absolute; inset: 0; pointer-events: none; z-index: 4; }

/* Obere Leiste: links Verlassen, daneben Zur Karte und Zum Eingang, rechts Siegel-Zähler, Hilfe, Ton, Vollbild. Schmal: zwei Zeilen. */
.welt-hud__oben { position: absolute; left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); top: max(10px, env(safe-area-inset-top)); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "zu navi rechts"; align-items: start; gap: 8px; pointer-events: none; }
.welt-hud__oben > * { pointer-events: auto; }
.welt-hud__zu { grid-area: zu; } .welt-hud__navi { grid-area: navi; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .welt-hud__rechts { grid-area: rechts; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; align-items: center; }
@media (max-width: 760px) { .welt-hud__oben { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "zu rechts" "navi navi"; } }
.welt-knopf { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; min-width: 44px; padding: 0 15px; background: rgba(8, 9, 13, .78); color: #efe4cc; border: 1px solid rgba(201, 168, 76, .5); border-radius: 999px; font: inherit; font-size: 14px; line-height: 1; white-space: nowrap; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.welt-knopf svg { width: 20px; height: 20px; flex: none; }
.welt-knopf--icon { padding: 0; width: 44px; }
@media (max-width: 560px) { .welt-knopf--voll { display: none; } }   /* Handy: Vollbild bringt wenig, die Leiste bleibt einzeilig */
.welt-knopf--haupt { background: linear-gradient(#caa94e, #9a7a28); color: #1a140a; border-color: #e6cc7f; font-weight: 600; }
.welt-knopf:hover, .welt-knopf:focus-visible { border-color: var(--welt-akzent); color: #fff; outline: none; }
.welt-knopf--haupt:hover, .welt-knopf--haupt:focus-visible { color: #1a140a; filter: brightness(1.1); }
.welt-knopf:active { transform: scale(.97); }
.welt-ort, .welt-zaehler { color: #e9dcc0; font-size: 13px; letter-spacing: .04em; text-shadow: 0 1px 3px #000; }
.welt-zaehler { box-sizing: border-box; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: rgba(8, 9, 13, .78); border: 1px solid rgba(201, 168, 76, .35); white-space: nowrap; font-variant-numeric: tabular-nums; }
.welt-zaehler:empty { display: none; }
@media (max-width: 1100px) { .welt-ort { display: none; } }
.welt-raum { position: absolute; left: 0; right: 0; margin: 0 auto; width: max-content; max-width: 70%; bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--stick) + 40px); color: #e9dfc8; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 1px 4px #000; opacity: 0; font-family: Georgia, 'Times New Roman', serif; pointer-events: none; padding-left: 12px; border-left: 2px solid var(--welt-akzent); text-align: left; }
.welt-raum.an { animation: weltRaum 3.6s ease forwards; }
@keyframes weltRaum { 0% { opacity: 0; transform: translateX(-6px); } 12% { opacity: .95; transform: none; } 75% { opacity: .95; } 100% { opacity: 0; } }
.welt-toast { position: absolute; left: 50%; top: 22%; transform: translate(-50%, -8px); background: rgba(8, 9, 13, .82); color: #f3dfa3; border: 1px solid var(--welt-akzent); border-radius: 10px; padding: 12px 22px; font-size: 18px; z-index: 5; opacity: 0; transition: opacity .4s, transform .4s; pointer-events: none; text-align: center; max-width: calc(100% - 28px); box-sizing: border-box; }
.welt-toast.an { opacity: 1; transform: translate(-50%, 0); }
.welt-fps { position: absolute; right: 10px; bottom: calc(var(--stick) + 60px); color: #9f9; font: 12px monospace; background: rgba(0, 0, 0, .5); padding: 3px 6px; }

/* Hinweis nach »Zum Eingang« mit Rückgängig */
.welt-rueck { position: absolute; left: 50%; transform: translateX(-50%); top: calc(max(10px, env(safe-area-inset-top)) + 100px); display: flex; align-items: center; gap: 10px; padding: 4px 4px 4px 16px; border-radius: 999px; background: rgba(8, 9, 13, .88); border: 1px solid var(--welt-akzent); color: #f3dfa3; font-size: 14px; pointer-events: auto; max-width: calc(100% - 20px); box-sizing: border-box; }
.welt-rueck[hidden] { display: none; }

/* Joystick links und Blickfläche rechts: nur sichtbar, solange man in der Welt ist */
.welt-regler { position: absolute; bottom: max(16px, calc(env(safe-area-inset-bottom) + 8px)); display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; touch-action: none; }
.welt-regler--gehen { left: max(16px, calc(env(safe-area-inset-left) + 8px)); } .welt-regler--blick { right: max(16px, calc(env(safe-area-inset-right) + 8px)); }
.welt-overlay--an .welt-regler { opacity: 1; visibility: visible; }
.welt-overlay--an.welt-overlay--foto .welt-regler { opacity: .14; }   /* Foto-Moment: das Kennzeichen unten links im Bild bleibt frei */
.welt-regler__text { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #efe4cc; text-shadow: 0 1px 3px #000, 0 0 8px #000; pointer-events: none; }
.welt-stick, .welt-blickpad { position: relative; box-sizing: border-box; width: var(--stick); height: var(--stick); border-radius: 50%; pointer-events: auto; touch-action: none; cursor: pointer; color: rgba(240, 220, 170, .8); background: radial-gradient(circle, rgba(14, 14, 20, .5) 0%, rgba(10, 10, 15, .34) 100%); border: 2px solid rgba(240, 220, 170, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 4px 18px rgba(0, 0, 0, .45); transition: border-color .15s, box-shadow .15s; }
.welt-stick.an, .welt-blickpad.an { border-color: #f1d98f; }
.welt-stick.lauf { border-color: #ffd05a; box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 0 22px 4px rgba(255, 200, 80, .55); }
.welt-stick__pfeile { position: absolute; inset: 7%; width: 86%; height: 86%; opacity: .5; pointer-events: none; }
.welt-stick__knopf { position: absolute; left: 50%; top: 50%; width: 44%; height: 44%; margin: -22% 0 0 -22%; border-radius: 50%; background: radial-gradient(circle at 38% 32%, rgba(255, 244, 214, .95), rgba(214, 186, 112, .8) 70%); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 3px 10px rgba(0, 0, 0, .5); pointer-events: none; will-change: transform; }
.welt-blickpad { border-style: dashed; }
.welt-blickpad__bild { position: absolute; inset: 14%; width: 72%; height: 72%; opacity: .75; pointer-events: none; }

/* Start und Pause */
.welt-start { position: absolute; inset: 0; z-index: 7; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; background: radial-gradient(ellipse at center, rgba(10, 12, 20, .55), rgba(4, 5, 8, .92)); transition: opacity .5s; color: #efe4cc; overflow-y: auto; touch-action: manipulation; }
.welt-start.weg { opacity: 0; pointer-events: none; }
.welt-start__inner { max-width: 520px; margin: auto; }
.welt-start h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(26px, 5vw, 44px); letter-spacing: .1em; font-weight: 600; margin: 0 0 14px; color: #f3ead8; text-shadow: 0 2px 0 #000; }
.welt-start__laedt { color: #cfc4ab; letter-spacing: .06em; }
.welt-start__knopf { min-height: 52px; background: linear-gradient(#d7b65a, #a8862f); color: #1a140a; border: 0; border-radius: 999px; padding: 14px 44px; font-size: 18px; font-weight: 600; letter-spacing: .08em; cursor: pointer; box-shadow: 0 4px 18px rgba(0, 0, 0, .5); touch-action: manipulation; }
.welt-start__knopf:hover, .welt-start__knopf:focus-visible { filter: brightness(1.12); outline: none; }
.welt-start__klein { margin: 0 0 22px; line-height: 1.55; font-size: 15px; color: #cfc4ab; }
.welt-start__reihe { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }

/* Anleitung: drei Bilder (Gehen, Umsehen, Karte), beim ersten Betreten und über das Fragezeichen */
.welt-hilfe { position: absolute; inset: 0; z-index: 8; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(4, 5, 8, .94); color: #efe4cc; overflow-y: auto; touch-action: manipulation; }
.welt-hilfe[hidden] { display: none; }
.welt-hilfe__box { max-width: 940px; width: 100%; margin: auto; text-align: center; }
.welt-hilfe h2 { margin: 0 0 16px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(20px, 4vw, 30px); letter-spacing: .08em; font-weight: 600; color: #f3ead8; }
.welt-hilfe__liste { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.welt-hilfe__liste li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px; border: 1px solid rgba(201, 168, 76, .35); border-radius: 12px; background: rgba(14, 16, 24, .8); }
.welt-hilfe__bild { width: 72px; height: 72px; color: #e6cc7f; }
.welt-hilfe__liste b { font-size: 16px; letter-spacing: .06em; color: #f3ead8; }
.welt-hilfe__liste li > div { display: flex; flex-direction: column; gap: 4px; }
.welt-hilfe__liste span { font-size: 14px; line-height: 1.45; color: #cfc4ab; }
.welt-hilfe__tasten { margin: 0 0 18px; font-size: 13px; line-height: 1.5; color: #9c9482; }
@media (max-width: 640px) {
    .welt-hilfe { align-items: flex-start; padding: 12px; }
    .welt-hilfe h2 { margin-bottom: 10px; }
    .welt-hilfe__liste { grid-template-columns: 1fr; gap: 8px; }
    .welt-hilfe__liste li { flex-direction: row; text-align: left; gap: 12px; padding: 10px 12px; }
    .welt-hilfe__bild { width: 52px; height: 52px; flex: none; }
}
@media (max-height: 460px) and (min-width: 641px) { .welt-hilfe { padding: 8px; } .welt-hilfe h2 { margin-bottom: 8px; font-size: 18px; } .welt-hilfe__liste li { padding: 8px 8px; gap: 4px; } .welt-hilfe__bild { width: 48px; height: 48px; } .welt-hilfe__liste span { font-size: 12.5px; line-height: 1.35; } .welt-hilfe__tasten { margin-bottom: 8px; } }
.welt-start__laedt, .welt-hilfe__liste li > div { min-width: 0; }

/* Foto-Moment (14.11.2026): das echte Bild der Plankamera blendet über die 3D-Ansicht (fotos.js) */
.welt-foto { position: absolute; inset: 0; z-index: 3; opacity: 0; visibility: hidden; pointer-events: none; background: #000; }
.welt-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }   /* contain: das Kennzeichen »AI generated« unten links wird nie abgeschnitten */
.welt-foto__text { position: absolute; left: 0; right: 0; bottom: max(14px, env(safe-area-inset-bottom)); text-align: center; color: #e9dfc8; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 5px #000, 0 0 12px #000; font-family: Georgia, 'Times New Roman', serif; padding: 0 16px; }

/* Aufgaben (20.11.2026): Knopf »Öffnen« an der Truhe und das Pergament, das herauskommt */
.welt-aktion { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--stick) + 78px); z-index: 4; pointer-events: auto; min-height: 52px; padding: 0 26px; font-size: 16px; letter-spacing: .06em; box-shadow: 0 0 22px rgba(255, 190, 80, .45); animation: welt-aktion-puls 2.2s ease-in-out infinite; }
.welt-aktion[hidden] { display: none; }
.welt-aktion:active { transform: translateX(-50%) scale(.97); }   /* sonst springt der Knopf beim Drücken zur Seite und der Klick geht ins Leere (27.11.2026) */
@keyframes welt-aktion-puls { 50% { box-shadow: 0 0 34px rgba(255, 190, 80, .75); } }
@media (pointer: fine) { .welt-aktion::after { content: attr(data-taste); margin-left: 4px; padding: 3px 7px; border: 1px solid rgba(26, 20, 10, .5); border-radius: 5px; font-size: 12px; } }
/* Aufgaben-Kästchen oben links unter der Leiste (Klick zeigt, solange die Truhe zu ist, das Hinweis-Pergament noch einmal) */
.welt-aufgaben { position: absolute; left: max(10px, env(safe-area-inset-left)); top: calc(max(10px, env(safe-area-inset-top)) + 56px); z-index: 4; pointer-events: auto; display: flex; flex-direction: column; gap: 3px; max-width: min(300px, calc(100% - 20px)); box-sizing: border-box; padding: 9px 13px 10px; text-align: left;
    background: linear-gradient(135deg, rgba(48, 34, 14, .9), rgba(10, 10, 14, .86)); border: 1px solid rgba(201, 168, 76, .6); border-radius: 10px; color: #efe4cc; font: inherit; cursor: pointer; box-shadow: 0 4px 16px rgba(0, 0, 0, .45); touch-action: manipulation; }
.welt-aufgaben[hidden] { display: none; }
.welt-aufgaben__kopf { font-family: Georgia, 'Times New Roman', serif; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #e6cc7f; }
.welt-aufgaben__text { font-size: 14px; line-height: 1.4; }
.welt-aufgaben__text::before { content: '✦ '; color: #e6cc7f; }
.welt-aufgaben.neu { animation: welt-aufgaben-neu 1.6s ease-out; }
@keyframes welt-aufgaben-neu { 0% { box-shadow: 0 0 0 rgba(255, 190, 80, 0); } 30% { box-shadow: 0 0 26px rgba(255, 190, 80, .8); } 100% { box-shadow: 0 4px 16px rgba(0, 0, 0, .45); } }
@media (max-width: 760px) { .welt-aufgaben { top: calc(max(10px, env(safe-area-inset-top)) + 106px); max-width: min(260px, calc(100% - 20px)); padding: 7px 11px 8px; } .welt-aufgaben__text { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .welt-aufgaben.neu { animation: none; } }
.welt-pergament { position: absolute; inset: 0; z-index: 12; display: flex; align-items: center; justify-content: center; padding: 16px; background: radial-gradient(ellipse at center, rgba(40, 26, 8, .55), rgba(4, 5, 8, .93)); overflow-y: auto; touch-action: manipulation; }
.welt-pergament[hidden] { display: none; }
.welt-pergament__blatt { position: relative; max-width: 560px; width: 100%; margin: auto; box-sizing: border-box; padding: clamp(26px, 5vw, 48px) clamp(22px, 5vw, 52px) clamp(22px, 4vw, 36px); color: #2b2118; font-family: Georgia, 'Times New Roman', serif; border-radius: 3px;
    background: radial-gradient(ellipse at center, #f1e6c9 0%, #e4d3ab 65%, #c8b080 100%); box-shadow: inset 0 0 70px rgba(120, 80, 30, .4), 0 20px 60px rgba(0, 0, 0, .7); transform-origin: 50% 0; animation: welt-pergament-auf .9s cubic-bezier(.2, .7, .2, 1) both; -webkit-user-select: text; user-select: text; }
@keyframes welt-pergament-auf { from { transform: scaleY(.04) translateY(40px); opacity: 0; } 40% { opacity: 1; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .welt-pergament__blatt, .welt-aktion { animation: none; } }
.welt-pergament__blatt::before, .welt-pergament__blatt::after { content: ''; position: absolute; left: -8px; right: -8px; height: 16px; border-radius: 8px; background: linear-gradient(#b89a66, #8a6d40 60%, #6e5530); box-shadow: 0 3px 8px rgba(0, 0, 0, .5); }
.welt-pergament__blatt::before { top: -8px; }
.welt-pergament__blatt::after { bottom: -8px; }
.welt-pergament__siegel { display: block; width: 76px; height: 76px; margin: 0 auto 10px; object-fit: contain; }
.welt-pergament h2 { margin: 0 0 16px; text-align: center; font-size: clamp(22px, 4.5vw, 30px); letter-spacing: .06em; font-weight: 600; color: #6e1226; }
.welt-pergament p { margin: 0 0 12px; font-size: clamp(16px, 2.4vw, 18px); line-height: 1.6; }
.welt-pergament p:first-of-type::first-letter { float: left; font-size: 3.1em; line-height: .85; padding: .06em .1em 0 0; color: #8a1730; }
.welt-pergament .welt-pergament__unter { margin: -8px 0 18px; text-align: center; font-style: italic; font-size: clamp(14px, 2.1vw, 16px); color: #5a4630; }
.welt-pergament .welt-pergament__gruss { margin-top: 18px; text-align: right; font-style: italic; }
.welt-pergament .welt-pergament__gruss::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; }
.welt-pergament__knopf { display: block; margin: 22px auto 0; }

/* Coins und Tipps (24.11.2026): Knopf oben rechts mit dem Kontostand, Tipp-Pergament mit Spur, Nähe, Leuchten */
.welt-coins { color: #f3d98a; font-variant-numeric: tabular-nums; }
.welt-coins.neu { animation: welt-aufgaben-neu 1.6s ease-out; }
@media (prefers-reduced-motion: reduce) { .welt-coins.neu { animation: none; } }
.welt-tipp p.welt-tipp__einl::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; }
.welt-tipp .welt-tipp__einl { font-size: clamp(15px, 2.2vw, 17px); }
.welt-tipp .welt-tipp__stand { text-align: center; font-weight: 600; color: #6e1226; }
.welt-tipp__frage { margin: 14px 0 8px; font-weight: 600; text-align: center; }
.welt-tipp__ziele { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 6px; }
.welt-tipp__ziel { min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid #a8862f; background: rgba(255, 255, 255, .35); color: #2b2118; font: inherit; font-size: 15px; cursor: pointer; touch-action: manipulation; }
.welt-tipp__ziel.an { background: #6e1226; border-color: #6e1226; color: #f3ead8; }
.welt-tipp__stufen { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; gap: 10px; }
.welt-tipp__stufe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border: 1px solid rgba(110, 80, 40, .35); border-radius: 8px; background: rgba(255, 255, 255, .28); }
.welt-tipp__kopf { flex: 1 1 200px; }
.welt-tipp__kopf b { display: block; color: #6e1226; font-size: 17px; }
.welt-tipp__kopf span { font-size: 14px; color: #5a4630; }
.welt-tipp__preis { font-size: 14px; white-space: nowrap; }
.welt-tipp .welt-tipp__knopf { min-height: 44px; padding: 8px 22px; font-size: 15px; }
.welt-tipp .welt-tipp__knopf:disabled { opacity: .6; cursor: wait; }
.welt-tipp .welt-tipp__text { flex: 1 1 100%; margin: 2px 0 0; font-style: italic; }
.welt-tipp p.welt-tipp__text::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; }
.welt-tipp__gekauft, .welt-tipp__fehlt { font-size: 14px; color: #5a4630; }
.welt-tipp__aufladen { color: #6e1226; font-weight: 600; font-size: 15px; }
.welt-tipp__knoepfe { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.welt-tipp .welt-tipp__knoepfe .welt-tipp__knopf { padding: 8px 16px; font-size: 14px; letter-spacing: .03em; }
.welt-tipp__ladenreihe { text-align: center; margin: -4px 0 10px; }
.welt-tipp .welt-tipp__laden { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 22px; font-size: 14px; letter-spacing: .04em; text-decoration: none; }

/* Fahrscheinautomat und Tagesticket (24.11.2026, ticket.js) */
.welt-automat { position: absolute; inset: 0; z-index: 12; display: flex; align-items: center; justify-content: center; padding: 14px; background: rgba(4, 6, 10, .82); overflow-y: auto; font-family: Arial, Helvetica, sans-serif; }
.welt-automat[hidden], .welt-fahrt[hidden] { display: none; }
.welt-automat__geraet { position: relative; box-sizing: border-box; width: 100%; max-width: 720px; margin: auto; padding: 0 18px 18px; border-radius: 10px; background: linear-gradient(90deg, #c8161d 0 100%); box-shadow: inset 0 0 0 3px #7d0c11, 0 24px 70px rgba(0, 0, 0, .8); }
.welt-automat__kopf { display: flex; align-items: center; justify-content: space-between; margin: 0 -18px 16px; padding: 12px 64px 12px 20px; border-radius: 10px 10px 0 0; background: linear-gradient(#d3d7d9, #b4b9bc); color: #15181b; }
.welt-automat__kopf b { padding: 4px 10px; border-radius: 4px; background: #17407c; color: #ffd21f; font-size: 16px; letter-spacing: .06em; }
.welt-automat__kopf span { font-weight: 800; font-size: clamp(20px, 5vw, 30px); letter-spacing: .16em; }
.welt-automat__zu { position: absolute; top: 8px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 6px; background: transparent; color: #15181b; font-size: 30px; line-height: 1; cursor: pointer; }
.welt-automat__schirm { padding: clamp(14px, 3vw, 24px); border: 10px solid #121417; border-radius: 6px; background: #e3e7ea; color: #101214; text-align: center; min-height: 300px; box-sizing: border-box; }
.welt-automat__schirm.aus { background: #0b0e10; color: #ffb02e; display: flex; flex-direction: column; justify-content: center; }
.welt-automat h2 { margin: 0 0 16px; font-size: clamp(18px, 4vw, 24px); font-weight: 700; }
.welt-automat p { margin: 0 0 14px; font-size: 16px; line-height: 1.5; }
.welt-automat__gross { font-size: clamp(18px, 4vw, 24px) !important; font-weight: 700; color: #17407c; }
.welt-automat__kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.welt-automat__kachel { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 78px; padding: 10px; border: 0; border-radius: 3px; box-shadow: 3px 4px 0 #9aa0a4; color: #101214; text-align: left; cursor: pointer; font: 700 clamp(12px, 2.6vw, 16px) Arial, sans-serif; overflow-wrap: anywhere; }
.welt-automat__kachel b { font-size: clamp(15px, 3.4vw, 24px); }
.welt-automat__kachel.f1 { background: #f39a1e; } .welt-automat__kachel.f2 { background: #f2cf1d; } .welt-automat__kachel.f3 { background: #6fc2e8; } .welt-automat__kachel.f4 { background: #9a86d0; } .welt-automat__kachel.f5 { background: #7fca8f; } .welt-automat__kachel.f6 { background: #e7a0b6; }
.welt-automat__kachel:hover, .welt-automat__kachel:focus-visible, .welt-automat__knopf:focus-visible { outline: 3px solid #17407c; outline-offset: 2px; }
.welt-automat__zeile { margin: 0 !important; padding: 8px 10px; background: #c8161d; color: #fff; font-weight: 600; font-size: 14px !important; }
.welt-automat__zeile.neu { background: #14181c; color: #ffd21f; }
.welt-automat__reihe { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.welt-automat__knopf { min-height: 48px; padding: 10px 24px; border: 0; border-radius: 4px; background: #17407c; color: #fff; font: 700 16px Arial, sans-serif; cursor: pointer; align-self: center; }
.welt-automat__knopf.leise { background: #9aa0a4; color: #101214; }
.welt-automat__schlitz { position: relative; width: min(320px, 90%); height: 170px; margin: 26px auto 0; border-top: 14px solid #15181b; border-radius: 4px; overflow: hidden; }
.welt-automat__streifen { width: 76%; height: 150px; margin: 0 auto; background: repeating-linear-gradient(#fffdf4 0 14px, #efe8d2 14px 16px); box-shadow: 0 6px 14px rgba(0, 0, 0, .35); animation: welt-ticket-druck 2.2s steps(14) forwards; }
@keyframes welt-ticket-druck { from { transform: translateY(-100%); } to { transform: none; } }
.welt-ticket { position: relative; box-sizing: border-box; width: 100%; max-width: 420px; margin: auto; padding: 26px 28px; background: repeating-linear-gradient(135deg, rgba(23, 64, 124, .05) 0 10px, transparent 10px 20px), #fffaec; color: #15181b; box-shadow: 0 24px 70px rgba(0, 0, 0, .8); text-align: center; animation: welt-pergament-auf .7s cubic-bezier(.2, .7, .2, 1); }
.welt-ticket__kopf { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 2px dashed #17407c; color: #17407c; }
.welt-ticket__kopf b { padding: 3px 9px; background: #17407c; color: #ffd21f; border-radius: 3px; }
.welt-ticket h2 { margin: 18px 0 2px; font-size: 34px; color: #c8161d; }
.welt-ticket__linien { font-weight: 700; letter-spacing: .08em; }
.welt-ticket dl { margin: 14px 0; }
.welt-ticket dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #d8cfb4; font-size: 15px; }
.welt-ticket dt { color: #5a5f64; } .welt-ticket dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.welt-ticket__zettel { font: italic 17px Georgia, serif !important; color: #4a4a52; }
.welt-fahrt { position: absolute; inset: 0; z-index: 11; display: flex; align-items: center; justify-content: center; padding: 20px; background: #030405; color: #ffb02e; font: 700 clamp(20px, 5vw, 34px) 'Courier New', monospace; text-align: center; opacity: 0; transition: opacity .8s; pointer-events: none; }
.welt-fahrt.an { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .welt-automat__streifen, .welt-ticket { animation: none; } .welt-fahrt { transition: none; } }

/* Klang (24.11.2026): Ton-Knopf öffnet eine kleine Tafel mit Ton an/aus und zwei Reglern */
.welt-klang { position: absolute; right: max(10px, env(safe-area-inset-right)); z-index: 6; width: min(300px, calc(100% - 20px)); box-sizing: border-box; padding: 14px 16px; border-radius: 14px; background: rgba(8, 9, 13, .92); border: 1px solid rgba(201, 168, 76, .45); pointer-events: auto; touch-action: auto; color: #efe4cc; display: grid; gap: 12px; }
.welt-klang[hidden] { display: none; }
.welt-klang__an { min-height: 44px; border-radius: 999px; border: 1px solid #e6cc7f; background: linear-gradient(#caa94e, #9a7a28); color: #1a140a; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.welt-klang__an.aus { background: rgba(20, 22, 30, .9); color: #efe4cc; }
.welt-klang__zeile { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 44px; font-size: 15px; cursor: pointer; }
.welt-klang__zeile input { width: 100%; min-height: 32px; accent-color: var(--welt-akzent); cursor: pointer; }
.welt-klang__an:focus-visible, .welt-klang__zeile input:focus-visible { outline: 2px solid var(--welt-akzent); outline-offset: 2px; }

/* Tageszeit (24.11.2026): Knopf oben rechts öffnet eine kleine Tafel */
.welt-himmel { position: absolute; right: max(10px, env(safe-area-inset-right)); z-index: 6; width: min(340px, calc(100% - 20px)); box-sizing: border-box; padding: 12px 14px 14px; border-radius: 14px; background: rgba(8, 9, 13, .9); border: 1px solid rgba(201, 168, 76, .45); pointer-events: auto; touch-action: manipulation; }
.welt-himmel[hidden] { display: none; } .welt-himmel-knopf[hidden] { display: none; }
.welt-himmel__wetter { margin: 4px 0 2px; font-size: 13px; color: #efe4cc; } .welt-himmel__quelle { margin: 0; font-size: 11px; color: #9c9482; } .welt-himmel__wetter[hidden], .welt-himmel__quelle[hidden] { display: none; }
.welt-himmel__titel { display: block; margin: 2px 0 8px; font-size: 13px; letter-spacing: .08em; color: #e6cc7f; }
.welt-himmel__reihe { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; } .welt-himmel__reihe:last-child { margin-bottom: 0; }
.welt-himmel__wahl { min-height: 40px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(201, 168, 76, .4); background: rgba(20, 22, 30, .9); color: #efe4cc; font: inherit; font-size: 14px; cursor: pointer; }
.welt-himmel__wahl:hover, .welt-himmel__wahl:focus-visible { border-color: var(--welt-akzent); outline: none; }
.welt-himmel__wahl.an { background: linear-gradient(#caa94e, #9a7a28); color: #1a140a; border-color: #e6cc7f; font-weight: 600; }

/* Radio (25.11.2026): kleine Leiste in der Ton-Tafel und große Tafel mit Sendern, Suche und eigener Playlist */
.welt-radio-mini { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(201, 168, 76, .3); }
.welt-radio-mini__titel { font-size: 14px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #cfc4ab; } .welt-radio-mini.an .welt-radio-mini__titel { color: #f3ead8; }
.welt-radio-mini__fort { display: block; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--welt-akzent) var(--w, 0%), rgba(255, 255, 255, .16) var(--w, 0%)); }
.welt-radio-mini__reihe { display: flex; justify-content: center; gap: 10px; }
.welt-radio-k { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(201, 168, 76, .4); background: rgba(20, 22, 30, .9); color: #efe4cc; cursor: pointer; padding: 0; }
.welt-radio-k svg { width: 20px; height: 20px; } .welt-radio-k:disabled { opacity: .35; cursor: default; } .welt-radio-k--gross { background: linear-gradient(#caa94e, #9a7a28); color: #1a140a; border-color: #e6cc7f; }
.welt-radio-k:hover:not(:disabled), .welt-radio-k:focus-visible, .welt-radio-waehlen:hover, .welt-radio-waehlen:focus-visible, .welt-radio__sender:focus-visible, .welt-radio__lied:focus-visible { border-color: #f3dc94; outline: 2px solid var(--welt-akzent); outline-offset: 1px; }
.welt-radio-waehlen { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(201, 168, 76, .5); background: rgba(20, 22, 30, .9); color: #efe4cc; font: inherit; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; } .welt-radio-waehlen[hidden] { display: none; } .welt-radio-waehlen svg { width: 18px; height: 18px; } .welt-radio-waehlen.an { background: linear-gradient(#caa94e, #9a7a28); color: #1a140a; border-color: #e6cc7f; font-weight: 600; }
.welt-radio { position: absolute; inset: 0; z-index: 9; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(4, 5, 8, .78); pointer-events: auto; touch-action: auto; color: #efe4cc; user-select: none; -webkit-user-select: none; } .welt-radio[hidden] { display: none; }
.welt-radio__box { width: min(920px, 100%); height: min(680px, 100%); display: grid; grid-template: auto minmax(0, 1fr) auto auto / 210px minmax(0, 1fr); background: #0b0d13; border: 1px solid rgba(201, 168, 76, .45); border-radius: 14px; overflow: hidden; }
.welt-radio__kopf { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid rgba(201, 168, 76, .25); } .welt-radio__kopf h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 22px; letter-spacing: .06em; color: #f3ead8; }
.welt-radio__suche { flex: 1; min-width: 0; min-height: 44px; box-sizing: border-box; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(201, 168, 76, .4); background: rgba(255, 255, 255, .05); color: #f3ead8; font: inherit; font-size: 16px; user-select: text; -webkit-user-select: text; } .welt-radio__suche:focus { outline: 2px solid var(--welt-akzent); outline-offset: 1px; } .welt-radio__suche::placeholder { color: #a59b84; }
.welt-radio__nav { overflow-y: auto; padding: 10px; border-right: 1px solid rgba(201, 168, 76, .2); display: flex; flex-direction: column; gap: 4px; }
.welt-radio__sender { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid transparent; border-radius: 9px; background: none; color: #dfd3b8; font: inherit; font-size: 15px; text-align: left; cursor: pointer; } .welt-radio__sender small { color: #a59b84; font-size: 13px; font-variant-numeric: tabular-nums; } .welt-radio__sender:hover { background: rgba(255, 255, 255, .05); } .welt-radio__sender.an { background: rgba(201, 168, 76, .18); color: #fff3d2; } .welt-radio__sender.meine { margin-bottom: 8px; border-color: rgba(201, 168, 76, .35); }
.welt-radio__teil { overflow-y: auto; padding: 12px 16px 20px; } .welt-radio__oben { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; } .welt-radio__oben b { font-size: 18px; color: #f3ead8; } .welt-radio__oben span { color: #a59b84; font-size: 14px; margin-right: auto; } .welt-radio__leer { color: #cfc4ab; font-size: 15px; line-height: 1.5; max-width: 44ch; }
.welt-radio__liste { list-style: none; margin: 0; padding: 0; } .welt-radio__liste li { display: flex; align-items: center; gap: 6px; border-radius: 9px; } .welt-radio__liste li + li { margin-top: 2px; } .welt-radio__liste li:hover { background: rgba(255, 255, 255, .04); } .welt-radio__liste li.an { background: rgba(201, 168, 76, .16); } .welt-radio__liste li.zieht { opacity: .45; } .welt-radio__liste li.ziel { box-shadow: inset 0 2px 0 var(--welt-akzent); } .welt-radio__liste li[draggable=true] { cursor: grab; }
.welt-radio__lied { flex: 1; min-width: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 56px; padding: 6px 8px; border: 1px solid transparent; border-radius: 9px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; } .welt-radio__bild { width: 44px; height: 44px; border-radius: 6px; overflow: hidden; background: linear-gradient(135deg, #2a2417, #14161e); } .welt-radio__bild { display: flex; align-items: center; justify-content: center; color: #8d7a45; } .welt-radio__bild svg { width: 22px; height: 22px; } .welt-radio__bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.welt-radio__text { min-width: 0; display: grid; gap: 2px; } .welt-radio__text b, .welt-radio__text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .welt-radio__text b { font-weight: 600; font-size: 15px; color: #f3ead8; } .welt-radio__text small { color: #b5aa92; font-size: 13px; } .welt-radio__zeit { color: #a59b84; font-size: 13px; font-variant-numeric: tabular-nums; }
.welt-radio-k.welt-radio-herz { border-color: transparent; background: none; color: #b5aa92; } .welt-radio-herz.an { color: #e46a6a; } .welt-radio-herz.an svg path { fill: currentColor; } .welt-radio__liste .welt-radio-k { width: 40px; height: 44px; border-radius: 9px; border-color: transparent; background: none; }
.welt-radio__meld { grid-column: 1 / -1; margin: 0; padding: 10px 16px; background: #3a1d1d; color: #ffd9d0; font-size: 15px; } .welt-radio__meld[hidden] { display: none; }
.welt-radio__fuss { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; padding: 10px 16px; border-top: 1px solid rgba(201, 168, 76, .25); background: rgba(255, 255, 255, .03); } .welt-radio__jetzt { flex: 1; min-width: 0; display: grid; gap: 2px; } .welt-radio__jetzt b, .welt-radio__jetzt small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .welt-radio__jetzt small { color: #b5aa92; } .welt-radio__jetzt a { color: #e6cc7f; font-size: 13px; }
@media (max-width: 700px) { .welt-radio { padding: 0; } .welt-radio__box { width: 100%; height: 100%; border-radius: 0; border: 0; grid-template: auto auto minmax(0, 1fr) auto auto / minmax(0, 1fr); } .welt-radio__nav { flex-direction: row; overflow-x: auto; overflow-y: hidden; border-right: 0; border-bottom: 1px solid rgba(201, 168, 76, .2); touch-action: pan-x; } .welt-radio__sender { white-space: nowrap; border-color: rgba(201, 168, 76, .25); border-radius: 999px; flex: none; } .welt-radio__sender.meine { margin: 0; } .welt-radio__teil { padding: 12px 10px 20px; touch-action: pan-y; } .welt-radio__kopf h2 { display: none; } .welt-radio__fuss { flex-wrap: wrap; justify-content: center; } .welt-radio__jetzt { flex-basis: 100%; text-align: center; } }

/* Musikticket (25.11.2026): Zustimmung, bevor ein Coin eingesetzt wird */
.welt-radio-ticket { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(4, 5, 8, .72); pointer-events: auto; touch-action: auto; }
.welt-radio-ticket__box { width: min(460px, 100%); max-height: 100%; overflow-y: auto; box-sizing: border-box; padding: 24px; border-radius: 14px; background: #12141c; border: 1px solid rgba(201, 168, 76, .6); color: #efe4cc; display: grid; gap: 10px; text-align: center; }
.welt-radio-ticket__box h3 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 22px; letter-spacing: .05em; color: #f3ead8; } .welt-radio-ticket__box p { margin: 0; font-size: 15px; line-height: 1.5; } .welt-radio-ticket__preis { font-size: 26px !important; color: #e6cc7f; font-weight: 600; } .welt-radio-ticket__meld { color: #ffb4a6; } .welt-radio-ticket__meld[hidden] { display: none; }
.welt-radio-ticket__reihe { display: grid; gap: 8px; margin-top: 8px; } .welt-radio-ticket__reihe a { text-decoration: none; } .welt-radio-waehlen:disabled { opacity: .5; cursor: default; }
.welt-radio__oben .welt-radio__marke { margin-right: 0; order: -1; flex-basis: 100%; color: #e6cc7f; }
/* Inventar (01.12.2026): Klick auf den Siegel-Zähler, Liste im Pergament; Kurzhinweis in Konzertkarten-Optik, blendet nach 4 s aus */
.welt-zaehler[role="button"]:hover { border-color: rgba(232, 196, 106, .75); }
.welt-inventar { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.welt-inventar__eintrag { display: flex; flex-direction: column; gap: 2px; width: 100%; box-sizing: border-box; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(120, 90, 50, .35); background: rgba(255, 250, 235, .45); color: #3b2c1a; font: inherit; text-align: left; }
.welt-inventar__eintrag b { font-family: Georgia, serif; font-size: 16px; color: #4a3418; }
.welt-inventar__eintrag span { font-size: 14px; color: #5a4630; }
.welt-inventar__eintrag--klick { cursor: pointer; }
.welt-inventar__eintrag--klick:hover, .welt-inventar__eintrag--klick:focus-visible { border-color: #8a6d40; background: rgba(255, 246, 220, .8); }
.welt-inventar__eintrag--aus { opacity: .6; }
.welt-inventar__leer { margin-top: 2px; text-align: center; font-style: italic; font-size: 14px; color: #6b5a44; }
.welt-kurzhinweis { position: absolute; left: 50%; bottom: 118px; transform: translateX(-50%); z-index: 30; display: flex; flex-direction: column; gap: 3px; max-width: min(420px, 88%); box-sizing: border-box; padding: 10px 16px 12px; border-radius: 14px; background: rgba(18, 14, 10, .86); border: 1px solid rgba(201, 162, 39, .55); color: #f3ead8; font: 14px/1.35 system-ui, sans-serif; text-align: center; box-shadow: 0 6px 24px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s, visibility 0s .35s; }
.welt-kurzhinweis.an { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .35s; }
.welt-kurzhinweis b { font: 700 15px Georgia, serif; color: #e8c46a; }
