@font-face{font-family:'SGZ Ziffern';src:local('Times New Roman'),local('TimesNewRomanPSMT'),local('Liberation Serif'),local('LiberationSerif'),local('Tinos'),local('Noto Serif'),local('NotoSerif-Regular');font-weight:100 600;unicode-range:U+0030-0039}
@font-face{font-family:'SGZ Ziffern';src:local('Times New Roman Bold'),local('TimesNewRomanPS-BoldMT'),local('Liberation Serif Bold'),local('LiberationSerif-Bold'),local('Tinos Bold'),local('Noto Serif Bold'),local('NotoSerif-Bold');font-weight:700 900;unicode-range:U+0030-0039}
:root {
  --akzent: #f0b84a; --akzent2: #d9603a; --akzent3: #2a1206; --tief: #1c1620; --panel: rgba(40, 24, 22, .94); --panel2: rgba(40, 24, 22, .97);
  --text: #f6ecd8; --mute: #e0d0bc; --rand: rgba(240, 214, 170, .6); --knopf1: #7a2e1e; --knopf2: #521c12; --knopfText: #f6ecd8;
  --gruen: #8fe36a; --rot: #ff8a6a; --gold: #f0b84a;
  --kopf: 'SGZ Ziffern', Georgia, 'Times New Roman', serif;
  --mo-grund: #3a201a; --mo-grund2: #57301f; --mo-akzent: #f0b84a; --mo-text: #f6ecd8; --mo-rand: rgba(240, 184, 74, .5);
}
html[data-ansicht="morgen"] {
  --akzent: #9a3a1a; --akzent2: #b8442a; --akzent3: #f6ecd6; --tief: #d8d2c8; --panel: rgba(250, 245, 236, .95); --panel2: rgba(250, 245, 236, .97);
  --text: #221a14; --mute: #4a3c30; --rand: rgba(110, 50, 30, .5); --knopf1: #f3e2c4; --knopf2: #dcc19a; --knopfText: #221a14;
  --gruen: #2e7d3a; --rot: #a3231b; --gold: #9a6a12;
  --mo-grund: #f6eee0; --mo-grund2: #eadcc4; --mo-akzent: #9a3a1a; --mo-text: #221a14; --mo-rand: rgba(110, 50, 30, .45);
}
body { background: var(--tief); color: var(--text); }
#kulisse { position: fixed; inset: 0; z-index: 0; overflow: clip;
  background: url(img/stadt-abend.webp?v=1) center / cover no-repeat, linear-gradient(#2a2a52 0%, #7d4a68 40%, #e39a72 62%, #6e2a1c 63%, #2a1a1a 100%) #2a2a52; }
body.hoch #kulisse { background-image: url(img/stadt-abend-hoch.webp?v=1), linear-gradient(#2a2a52 0%, #7d4a68 40%, #e39a72 62%, #6e2a1c 63%, #2a1a1a 100%); }
html[data-ansicht="morgen"] #kulisse { background-image: url(img/stadt-morgen.webp?v=1), linear-gradient(#8ab4dc 0%, #d8e4ee 55%, #f2dcc0 62%, #b0583a 63%, #6a3a2a 100%); background-color: #9ab8d8; }
html[data-ansicht="morgen"] body.hoch #kulisse { background-image: url(img/stadt-morgen-hoch.webp?v=1), linear-gradient(#8ab4dc 0%, #d8e4ee 55%, #f2dcc0 62%, #b0583a 63%, #6a3a2a 100%); }
#kulisse i { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 14% 30%, rgba(255, 240, 220, .14), transparent 10%), radial-gradient(ellipse at 84% 24%, rgba(255, 240, 220, .12), transparent 9%),
  radial-gradient(circle at 30% 70%, rgba(255, 200, 120, .16), transparent 5%), radial-gradient(circle at 72% 66%, rgba(255, 200, 120, .14), transparent 5%);
  animation: rauch 9s ease-in-out infinite alternate; }
@keyframes rauch { from { transform: translateX(-8px); opacity: .55; } to { transform: translateX(10px); opacity: .95; } }
@media (prefers-reduced-motion: reduce) { #kulisse i { animation: none; } }

#buehne { z-index: 1; }
#hud { background: linear-gradient(180deg, rgba(122, 46, 30, .95), rgba(70, 26, 18, .95)); border: 3px solid #efe3c6; box-shadow: 0 10px 26px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(0, 0, 0, .35); }
html[data-ansicht="morgen"] #hud { background: linear-gradient(180deg, rgba(252, 248, 238, .96), rgba(240, 230, 212, .96)); border-color: #7a2e1e; }
#hud::before, #hud::after { content: ''; position: absolute; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #efe3c6; box-shadow: 0 1px 1px rgba(0, 0, 0, .5); }
#hud::before { left: 7px; } #hud::after { right: 7px; }
#logo span { color: var(--text); } #logo b { color: var(--akzent); }
#logo { letter-spacing: 1px; font-size: 30px; }
.wert { background: rgba(0, 0, 0, .3); }
html[data-ansicht="morgen"] .wert { background: rgba(110, 50, 30, .08); }
.wert b { font-family: var(--kopf); font-variant-numeric: lining-nums tabular-nums; font-kerning: none; }
html[data-ansicht="morgen"] .wert b { color: #221a14; }
#eigen { grid-template-columns: 1fr 1fr; }

#brettbox { overflow: clip; touch-action: none; display: block !important; position: relative; }
#feld { position: absolute; z-index: 0; padding: 10px; border-radius: 10px; box-sizing: border-box;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .2) 0 2px, transparent 2px 46px), linear-gradient(#6a4a32, #3c2818);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(255, 230, 190, .2), inset 0 -5px 8px rgba(0, 0, 0, .35); }
#feld::before, #feld::after { content: ''; position: absolute; top: -3px; width: 16px; height: 16px; border-radius: 4px; background: radial-gradient(circle at 35% 30%, #ffe7a6, #b8862e 60%, #6e4c14); box-shadow: 0 2px 3px rgba(0, 0, 0, .5); }
#feld::before { left: -3px; } #feld::after { right: -3px; }
html[data-ansicht="morgen"] #feld { background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .12) 0 2px, transparent 2px 46px), linear-gradient(#a8805a, #74522e); }
#brett { position: static; display: block; border-radius: 4px; pointer-events: none; }

#meld { position: absolute; left: 50%; transform: translateX(-50%); z-index: 6; width: min(72%, 560px); display: flex; flex-direction: column; gap: 5px; pointer-events: none; }
.meldung { padding: 6px 12px; border-radius: 9px; background: var(--panel2); color: var(--text); border: 1px solid var(--akzent); font-size: 14px; line-height: 1.3; text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .45); transition: opacity .35s; animation: meldEin .25s ease-out; }
.meldung.weg { opacity: 0; }
.meldung.warn { border-color: #ff8a6a; }
@keyframes meldEin { from { transform: translateY(-6px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .meldung { animation: none; } }

#steuer { display: none; position: absolute; left: 0; right: 0; bottom: 10px; z-index: 4; pointer-events: none; padding: 0 10px; transition: opacity .25s; }
#steuer.an { display: flex; justify-content: space-between; align-items: flex-end; }
#steuer.hoch { align-items: center; }
#steuer.ruhe { opacity: 0; } #steuer.ruhe button { pointer-events: none; }
#steuer .kreuz { display: grid; grid-template-columns: repeat(3, 58px); grid-template-rows: repeat(2, 54px); gap: 6px; pointer-events: none; }
#steuer button { pointer-events: auto; touch-action: none; user-select: none; -webkit-user-select: none; color: #2a1a06; position: relative;
  background: radial-gradient(circle at 35% 30%, #ffe7a6, #d8a84a 55%, #8a5a14); border: 3px solid #f6dc8a; border-radius: 14px; box-shadow: 0 6px 14px rgba(0, 0, 0, .5), inset 0 -3px 6px rgba(0, 0, 0, .3); }
#steuer .kreuz button::after { content: ''; position: absolute; left: 50%; top: 50%; width: 0; height: 0; border: 11px solid transparent; }
#tLinks { grid-column: 1; grid-row: 2; } #tRunter { grid-column: 2; grid-row: 2; } #tRechts { grid-column: 3; grid-row: 2; } #tHoch { grid-column: 2; grid-row: 1; }
#tLinks::after { border-right: 16px solid #2a1a06 !important; border-left-width: 0 !important; transform: translate(-70%, -50%); }
#tRechts::after { border-left: 16px solid #2a1a06 !important; border-right-width: 0 !important; transform: translate(-30%, -50%); }
#tHoch::after { border-bottom: 16px solid #2a1a06 !important; border-top-width: 0 !important; transform: translate(-50%, -70%); }
#tRunter::after { border-top: 16px solid #2a1a06 !important; border-bottom-width: 0 !important; transform: translate(-50%, -30%); }
#tSprung { width: 104px; height: 104px; border-radius: 50% !important; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: radial-gradient(circle at 35% 30%, #ff9a7a, #b83a24 55%, #6a160c) !important; color: #fff6e6 !important; border-color: #ffd0b8 !important; }
#tSprung span, #tSprung small { pointer-events: none; }
#tSprung span { font: 800 17px system-ui, sans-serif; } #tSprung small { font: 600 11px system-ui, sans-serif; opacity: .95; }
#steuer button.an { transform: translateY(2px) scale(.97); filter: brightness(1.15); }
#steuer.an.quer { padding: 0 6px; bottom: 6px !important; }
#steuer.an.quer .kreuz { grid-template-columns: repeat(2, 58px); grid-template-rows: 54px; gap: 8px; }
#steuer.an.quer #tLinks { grid-column: 1; grid-row: 1; } #steuer.an.quer #tRechts { grid-column: 2; grid-row: 1; }
#steuer.an.quer #tHoch, #steuer.an.quer #tRunter { position: absolute; right: 100px; width: 52px; height: 42px; }
#steuer.an.quer #tHoch { bottom: 46px; } #steuer.an.quer #tRunter { bottom: 0; }
#steuer.an.quer #tSprung { width: 88px; height: 88px; }
#steuer.an.quer button { opacity: .58; box-shadow: 0 3px 8px rgba(0, 0, 0, .35), inset 0 -3px 6px rgba(0, 0, 0, .3); }
#steuer.an.quer button.an { opacity: .92; }
@media (max-height: 560px) {
  body:not(.hoch) #buehne { grid-template-columns: 204px 1fr; }
  body:not(.hoch) #knoepfe button { height: 44px; }
  body:not(.hoch) #logo { font-size: 22px; }
  body:not(.hoch) #modus { min-height: 15px; line-height: 15px; flex: none; }
  body:not(.hoch) #info { display: none; }
}
body.hoch #modus { padding-right: 12px; }

#wahl { position: absolute; inset: 0; z-index: 7; display: flex; align-items: center; justify-content: center; background: rgba(20, 12, 12, .72); padding: 12px; }
#wahl[hidden] { display: none; }
#wahl .fenster { position: relative; width: min(820px, 100%); max-height: 100%; overflow: auto; padding: 14px 16px; border-radius: 14px; background: var(--panel2); border: 2px solid var(--rand); scrollbar-width: thin; scrollbar-color: var(--akzent) transparent; }
#wahl h2 { margin: 0 0 2px; color: var(--akzent); font: 800 22px var(--kopf); }
#wahl .leise { margin: 0 0 8px; color: var(--mute); font-size: 13.5px; }
#wahl .karte { margin: 0 0 4px; font-size: 13px; color: var(--mute); } #wahl .karte b { color: var(--akzent); }
#wahl .viertel { display: grid; grid-template-columns: 110px repeat(5, 1fr); gap: 5px; margin-bottom: 5px; align-items: stretch; }
#wahl .viertel > em { font: italic 600 12.5px var(--kopf); color: var(--mute); display: flex; align-items: center; }
#wahl .feldwahl { position: relative; display: flex; flex-direction: column; gap: 1px; align-items: flex-start; padding: 5px 7px; border-radius: 9px; border: 2px solid var(--rand); background: rgba(0, 0, 0, .25); color: var(--text); text-align: left; min-height: 44px; cursor: pointer; }
html[data-ansicht="morgen"] #wahl .feldwahl { background: rgba(110, 50, 30, .07); }
#wahl .feldwahl b { font: 800 15px var(--kopf); color: var(--akzent); } #wahl .feldwahl span { font-size: 12px; line-height: 1.15; } #wahl .feldwahl small { font-size: 11px; color: var(--mute); }
#wahl .feldwahl.zu { opacity: .5; border-style: dashed; cursor: not-allowed; }
#wahl .feldwahl:not(.zu):hover { filter: brightness(1.15); }
#wahl .fz { position: absolute; top: 5px; right: 6px; }
#wahl .zu:not(.feldwahl) { position: sticky; float: right; top: 0; width: 42px; height: 42px; border-radius: 10px; border: 2px solid var(--rand); background: var(--panel); color: var(--text); font: 700 22px system-ui; cursor: pointer; }
.stz { display: inline-flex; gap: 2px; } .stz i { width: 10px; height: 10px; background: rgba(120, 110, 90, .55); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stz i.an { background: #ffd27a; }
html[data-ansicht="morgen"] .stz i.an { background: #c88a12; }
@media (max-width: 760px), (max-height: 680px) {
  #wahl { padding: 6px; } #wahl .fenster { padding: 8px 9px 10px; }
  #wahl h2 { font-size: 18px; } #wahl .leise { display: none; }
  #wahl .viertel { gap: 4px; margin-bottom: 4px; grid-template-columns: 96px repeat(5, 1fr); }
  #wahl .viertel > em { font-size: 11.5px; }
  #wahl .karte { margin-bottom: 2px; }
  #wahl .feldwahl { min-height: 40px; padding: 3px 5px; } #wahl .feldwahl small, #wahl .feldwahl span { display: none; }
  #wahl .stz i { width: 8px; height: 8px; }
}
@media (max-width: 560px) {
  #wahl .viertel { grid-template-columns: repeat(5, 1fr); }
  #wahl .viertel > em { grid-column: 1 / -1; }
}
@media (max-height: 430px) and (min-aspect-ratio: 1/1) {
  .dlg.menue { padding: 10px 14px; }
  .dlg.menue .schildkopf { font-size: 30px; line-height: 1.05; margin: 0; }
  .dlg.menue > .unter { display: none; }
  .dlg.menue .modi { gap: 8px; margin-top: 6px; }
  .dlg.menue .modus { padding: 6px 8px; }
  .dlg.menue h3 { font-size: 15px; margin: 4px 0 0; }
  .dlg.menue .reihe { margin-top: 6px; }
}
.dlg.mo-tafel .mo-leiter { margin-top: 30px; }
#eigen .wert { position: relative; overflow: clip; }
#eigen .wert.neu b { animation: daPop .38s cubic-bezier(.3, 1.7, .5, 1); }
@keyframes daPop { 0% { transform: scale(1); } 40% { transform: scale(1.28); color: #ffe7a0; } 100% { transform: scale(1); } }
#eigen .wert.knapp { border-color: #ff6a4a; animation: daKnapp .5s ease-in-out infinite alternate; }
@keyframes daKnapp { from { box-shadow: 0 0 0 rgba(255, 90, 60, 0); } to { box-shadow: 0 0 12px rgba(255, 90, 60, .8); } }
#eigen .wert.letzt { animation: daHerz 1.1s ease-in-out infinite; border-color: #ff6a4a; }
@keyframes daHerz { 0%, 30%, 60%, 100% { box-shadow: 0 0 0 rgba(255, 90, 60, 0); } 12% { box-shadow: 0 0 14px rgba(255, 90, 60, .85); } 42% { box-shadow: 0 0 9px rgba(255, 90, 60, .6); } }
#eigen .wert.voll { border-color: #ffd27a; box-shadow: 0 0 10px rgba(255, 210, 120, .5); }
@media (prefers-reduced-motion: reduce) { #eigen .wert.neu b, #eigen .wert.knapp, #eigen .wert.letzt { animation: none; } }
@media (max-height: 640px) {
  .dlg.menue .modus > svg, .dlg.menue .modus > .ic, .dlg.menue .modus > i { display: none; }
  .dlg.menue .modus { padding: 8px 10px; }
  .dlg.menue h3 { font-size: 15px; margin: 4px 0 0; }
  .dlg.menue h3 + div { padding-top: 0; padding-bottom: 0; min-height: 0; }
}
@media (max-height: 430px) and (min-aspect-ratio: 1/1) { .dlg.menue .modus > span { display: none; } }
@media (max-height: 430px) and (min-aspect-ratio: 1/1) {
  #ov .dlg.mo-tafel .mo-tipp { display: none; }
  #ov .dlg.mo-tafel .mo-leiter { margin-top: 22px; }
  #ov .dlg.mo-tafel .mo-kachel { padding-top: 2px; padding-bottom: 2px; }
}
#ov .dlg.mo-tafel details.mo-rechen summary { min-height: 42px; display: flex; align-items: center; justify-content: center; }
@media (max-height: 430px) and (min-aspect-ratio: 1/1) { #ov .dlg.mo-tafel #eMenue, #ov .dlg.mo-tafel #eNoch { min-height: 50px; } #ov .dlg.mo-tafel details.mo-rechen summary { min-height: 50px; } }
.dlg.mo-tafel .mo-leiter-bahn em b { display: none; }
.dlg.mo-tafel .mo-leiter-bahn em.mo-erreicht:has(+ em:not(.mo-erreicht)) b, .dlg.mo-tafel .mo-leiter-bahn em.mo-erreicht:last-of-type b { display: block; }
.dlg.mo-tafel .mo-leiter-bahn em.mo-erreicht + em:not(.mo-erreicht) b, .dlg.mo-tafel .mo-leiter-bahn em:first-of-type:not(.mo-erreicht) b { display: block; bottom: auto; top: 20px; }
.dlg.mo-tafel .mo-leiter p { margin-top: 26px; }
@media (max-height: 430px) and (min-aspect-ratio: 1/1) {
  #ov .dlg.mo-tafel .mo-zahl { font-size: 34px; line-height: 1.05; }
  #ov .dlg.mo-tafel .mo-leiter { margin-top: 8px; }
  #ov .dlg.mo-tafel .mo-leiter p { margin-top: 22px; }
}
.dach-flug { position: fixed; z-index: 60; pointer-events: none; display: flex; align-items: center; gap: 6px; white-space: nowrap; padding: 3px 10px 3px 4px;
  font: 700 13px system-ui, sans-serif; color: #3a2006; border-radius: 999px; border: 2px solid #fff3c4;
  background: radial-gradient(circle at 30% 25%, #fff3c4, #f0c050 60%, #b07a18); box-shadow: 0 4px 14px rgba(0, 0, 0, .45), 0 0 18px rgba(255, 210, 110, .55); }
.dach-flug b { font-weight: 800; }
.dach-flug.rot { background: radial-gradient(circle at 30% 25%, #ffd0c0, #e0604a 60%, #8a2014); color: #fff6ee; border-color: #ffd8c8; padding-left: 8px; }
.dach-flug .fz { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffbe8, #e8c050 60%, #9a6a10); box-shadow: inset 0 0 0 2px rgba(90, 50, 0, .35); }
.dach-flug .fz5000 { border-radius: 3px; background: linear-gradient(160deg, #fffaf0, #e8dcc0); box-shadow: inset 0 0 0 2px #a89070; }
.dach-flug .herz { width: 14px; height: 14px; background: #fff; clip-path: polygon(50% 100%, 0 38%, 12% 8%, 32% 2%, 50% 18%, 68% 2%, 88% 8%, 100% 38%); }
#wPunkte.ankunft, #eigen .wert.ankunft { animation: daAnkunft .55s cubic-bezier(.3, 1.7, .5, 1); }
@keyframes daAnkunft { 0% { transform: scale(1); } 35% { transform: scale(1.12); box-shadow: 0 0 22px rgba(255, 210, 110, .9); border-color: #ffd27a; } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { #wPunkte.ankunft, #eigen .wert.ankunft { animation: none; } }
.dach-aufg { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin-top: 6px; font: 600 12px system-ui, sans-serif; color: #f0e2c4; }
.dach-aufg > em { flex-basis: 100%; text-align: center; font-style: normal; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #d8b870; }
.dach-aufg span { display: inline-flex; align-items: center; gap: 4px; }
.dach-aufg span.nein { opacity: .6; }
.dach-aufg span.neu { color: #ffe08a; animation: daAufg .6s cubic-bezier(.3, 1.7, .5, 1) both; }
.dach-aufg span b { font-size: 11px; padding: 0 5px; border-radius: 6px; background: #c8302a; color: #fff; text-transform: uppercase; }
.dach-aufg span i { font-style: normal; opacity: .8; }
@keyframes daAufg { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
#wahl .az { display: flex; gap: 1px; }
.mo-start .abz { display: block; margin: 0 auto 1px; width: 16px; height: 19px; }
#brettbox .mo-start { top: var(--dach-start-top, 0); bottom: auto; margin: 0; padding-top: 8px; padding-bottom: 8px; }
#brettbox .mo-start h3 { font-size: 26px; }
#brettbox .mo-start .mo-start-neu figcaption { font-size: 11px; line-height: 1.15; max-width: 120px; }
@media (prefers-reduced-motion: reduce) { .dach-aufg span.neu { animation: none; } }
.dlg.menue .modi.n7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dlg.menue .modi.n8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.menue:has(.modi.n7) { width: min(700px, 100%); }
.menue:has(.modi.n8) { width: min(700px, 100%); }
@media (max-width: 520px) { .dlg.menue .modi.n7 .modus > span { font-size: 11px; line-height: 1.25; } .dlg.menue .modi.n7 .modus { padding: 8px 6px; } .dlg.menue .modi.n7 .modus > svg { width: 20px; height: 20px; } }
@media (max-width: 520px) { .dlg.menue .modi.n8 .modus > span { font-size: 11px; line-height: 1.25; } .dlg.menue .modi.n8 .modus { padding: 8px 6px; } .dlg.menue .modi.n8 .modus > svg { width: 20px; height: 20px; } }
@media (max-height: 640px) { .dlg.menue .modi.n7 { gap: 6px; } .dlg.menue .modi.n7 .modus > span { display: none; } }
@media (max-height: 640px) { .dlg.menue .modi.n8 { gap: 6px; } .dlg.menue .modi.n8 .modus > span { display: none; } }
@media (max-height: 430px) and (min-aspect-ratio: 1/1) { .dlg.menue .modi.n7 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .menue:has(.modi.n7) { width: min(780px, 100%); } }
@media (max-height: 430px) and (min-aspect-ratio: 1/1) { .dlg.menue .modi.n8 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .menue:has(.modi.n8) { width: min(780px, 100%); } }
@media (max-height: 430px) and (min-aspect-ratio: 1/1) { #ov .dlg.mo-tafel .mo-leiter { display: none; } }
@media (max-height: 820px) { .dlg.menue .modi.n7 .modus > svg { display: none; } .dlg.menue .modi.n7 .modus { padding: 7px 10px; } .dlg.menue .modi.n7 { gap: 8px; margin-top: 8px; } }
@media (max-height: 820px) { .dlg.menue .modi.n8 .modus > svg { display: none; } .dlg.menue .modi.n8 .modus { padding: 7px 10px; } .dlg.menue .modi.n8 { gap: 8px; margin-top: 8px; } }
.dlg.regeln h2 { padding: 0 52px; }
.dlg.regeln details.rg { border: 1px solid rgba(216, 184, 112, .35); border-radius: 10px; margin: 6px 0; background: rgba(20, 12, 8, .35); }
.dlg.regeln details.rg > summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; padding: 0 12px; font: 700 15px Georgia, serif; color: #f0c860; list-style: none; }
.dlg.regeln details.rg > summary::-webkit-details-marker { display: none; }
.dlg.regeln details.rg > summary::after { content: ''; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.dlg.regeln details.rg[open] > summary::after { transform: rotate(-135deg); }
.dlg.regeln details.rg > :not(summary) { margin: 0 12px 10px; }
.dlg.regeln .rg-liste { list-style: none; padding: 0; display: grid; gap: 6px; }
.dlg.regeln .rg-el { display: flex; align-items: center; gap: 10px; }
.dlg.regeln .rg-el svg { flex: none; border-radius: 6px; background: linear-gradient(#3a5a8a, #8ab0d8 70%); }
.dlg.regeln .rg-ansicht { margin-top: 10px; }
#dachKopf { position: absolute; z-index: 3; display: flex; justify-content: center; gap: 10px; pointer-events: none; }
#dachKopf[hidden] { display: none; }
#dachKopf span { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(48, 18, 10, .88); border: 1px solid rgba(240, 200, 120, .6); color: #f6e6c8; font: 600 12px system-ui, sans-serif; }
#dachKopf em { font-style: normal; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; color: #e8c880; }
#dachKopf b { font: 700 15px 'SGZ Ziffern', Georgia, serif; }
#kammer { position: fixed; inset: 0; z-index: 3100; display: grid; place-items: center; background: rgba(10, 6, 4, .55); padding: 10px; }
#kammer[hidden] { display: none; }
#kammer .fenster.kammer { width: min(720px, 100%); max-height: calc(100% - 8px); overflow: auto; scrollbar-width: thin; scrollbar-color: #b07a3a transparent; position: relative; padding: 14px 16px; border-radius: 14px; background: linear-gradient(#2a1a12, #1a100a); border: 2px solid #c8a060; color: #f0e2c4; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
#kammer h2 { margin: 0 52px 8px; text-align: center; font: 700 24px Georgia, serif; color: #f0c860; }
#kammer .zu { position: sticky; top: 0; float: right; width: 40px; height: 40px; border-radius: 10px; border: 1px solid #c8a060; background: #3a2216; color: #f0e2c4; font: 700 22px system-ui; cursor: pointer; z-index: 2; }
#kammer .kr-reiter { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 10px; }
#kammer .kr-reiter button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #c8a060; background: #3a2216; color: #f0e2c4; font: 600 13px system-ui, sans-serif; cursor: pointer; }
#kammer .kr-reiter button[aria-selected="true"] { background: linear-gradient(#f0c860, #c8902a); color: #2a1406; }
#kammer .leise { color: #d8c8a8; font-size: 13px; }
#kammer .kr-tag { list-style: none; padding: 0; display: grid; gap: 8px; }
#kammer .kr-tag li { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(60, 30, 16, .8); overflow: clip; }
#kammer .kr-tag li span { flex: 1; font-weight: 600; } #kammer .kr-tag li em { font-style: normal; font-family: 'SGZ Ziffern', Georgia, serif; color: #f0c860; }
#kammer .kr-tag li i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: #f0c860; transition: width .6s; }
#kammer .kr-tag li.ok { box-shadow: inset 0 0 0 1px #f0c860; }
#kammer .kr-buch { display: grid; gap: 6px; }
#kammer .kr-lv { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
#kammer .kr-lv em { flex-basis: 100%; font-style: normal; font-size: 12px; color: #d8b870; }
#kammer .kr-fund { min-width: 40px; min-height: 30px; display: inline-grid; place-items: center; padding: 0 8px; border-radius: 8px; background: rgba(30, 20, 14, .8); border: 1px dashed rgba(200, 160, 96, .5); font-size: 12px; color: #8a7a68; cursor: default; }
#kammer .kr-fund.da { border-style: solid; border-color: #f0c860; color: #f6e6c8; background: rgba(90, 54, 24, .85); cursor: pointer; }
#kammer .kr-tipp { min-height: 2.6em; padding: 6px 10px; border-radius: 8px; background: rgba(240, 200, 96, .12); font-size: 13px; }
#kammer .kr-kost { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0; }
#kammer .kr-kost em { flex-basis: 100%; font-style: normal; color: #d8b870; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
#kammer .kr-kost button { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 10px; border: 1px solid #8a6a40; background: #3a2216; color: #f0e2c4; font: 600 13px system-ui, sans-serif; cursor: pointer; }
#kammer .kr-kost button.an { border-color: #f0c860; box-shadow: 0 0 0 2px rgba(240, 200, 96, .45); }
#kammer .kr-kost button[disabled] { opacity: .55; cursor: not-allowed; }
#kammer .kr-kost button i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); }
#kammer .kr-kost button small { display: block; font-size: 11px; color: #e8a080; margin-left: 4px; }
#kammer .kr-code, #kammer .kr-laden { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0; }
#kammer .kr-code em { flex-basis: 100%; font-style: normal; font-size: 12px; color: #d8b870; }
#kammer input { flex: 1; min-width: 120px; min-height: 40px; padding: 0 10px; border-radius: 8px; border: 1px solid #8a6a40; background: #1a100a; color: #f6e6c8; font: 13px system-ui, sans-serif; }
#kammer .knopf { min-height: 40px; }
.dlg.menue .modi.n7 > .modus:last-child { grid-column: 1 / -1; }
@media (max-height: 820px) { .dlg.menue .modi.n7 .modus > span { font-size: 11px; line-height: 1.2; } }
@media (max-height: 820px) { .dlg.menue .modi.n8 .modus > span { font-size: 11px; line-height: 1.2; } }
.dach-riv { margin-top: 6px; text-align: center; font: 600 12px system-ui, sans-serif; color: #c8f0b0; }
@media (max-width: 520px) { .dlg.menue .modi.n7 .modus > span { display: none; } .dlg.menue .modi.n7 .modus { padding: 8px 6px; } .dlg.menue .modi.n7 { gap: 7px; } }
@media (max-width: 520px) { .dlg.menue .modi.n8 .modus > span { display: none; } .dlg.menue .modi.n8 .modus { padding: 8px 6px; } .dlg.menue .modi.n8 { gap: 7px; } }
@media (max-height: 430px) and (min-aspect-ratio: 1/1) { .dlg.menue .modi.n7 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .dlg.menue .modi.n7 > .modus:last-child { grid-column: auto / span 2; } .menue:has(.modi.n7) { width: min(820px, 100%); } }
@media (max-height: 430px) and (min-aspect-ratio: 1/1) { .dlg.menue .modi.n7 .modus { padding: 4px 6px; } .dlg.menue .modi.n7 .modus > b { font-size: 15px; line-height: 1.15; } .dlg.menue .modi.n7 .modus > em { font-size: 12px; } .dlg.menue .modi.n7 { gap: 6px; margin-top: 4px; } }
@media (max-height: 430px) and (min-aspect-ratio: 1/1) { .dlg.menue .modi.n8 .modus { padding: 4px 6px; } .dlg.menue .modi.n8 .modus > b { font-size: 15px; line-height: 1.15; } .dlg.menue .modi.n8 .modus > em { font-size: 12px; } .dlg.menue .modi.n8 { gap: 6px; margin-top: 4px; } }
.dach-auftrag, .dach-fest { margin-top: 6px; text-align: center; font: 600 12px/1.35 system-ui, sans-serif; color: #f0e2c4; }
.dach-auftrag > em, .dach-fest > em { display: block; font-style: normal; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #d8b870; }
.dach-auftrag b { color: #ffe08a; }
.dach-auftrag.ja b, .dach-fest b { color: #c8f0b0; }
.dach-auftrag.nein b { color: #ff9a7a; }
.dach-fest { padding: 4px 8px; border-radius: 8px; background: rgba(200, 120, 40, .18); }
.dach-fest > em { color: #ffcf6a; }
.bw-reihe { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; }
.bw-bild { flex: 1 1 74px; min-width: 70px; max-width: 110px; padding: 4px 5px; border-radius: 6px; border: 1px solid rgba(216, 184, 112, .35); background: rgba(40, 28, 20, .6); color: #f0e2c4; font: 600 11px/1.2 system-ui, sans-serif; text-align: left; cursor: pointer; }
.bw-bild small { display: block; font-size: 11px; color: #d8b870; font-weight: 500; }
.bw-bild.an { border-color: #ffd27a; box-shadow: 0 0 0 2px rgba(255, 210, 122, .45); background: rgba(90, 60, 30, .8); }
.bw-bild.fest { opacity: .7; cursor: default; }
.bw-werk { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-radius: 8px; background: rgba(0, 0, 0, .22); }
.bw-werk > em { flex-basis: 100%; font-style: normal; font: 700 11px system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #d8b870; }
.bw-teil { padding: 4px 8px; border-radius: 6px; border: 1px solid rgba(216, 184, 112, .3); background: rgba(60, 42, 28, .85); color: #f0e2c4; font: 600 12px system-ui, sans-serif; cursor: pointer; }
.bw-teil.an { background: #c8902a; color: #1e140a; border-color: #ffd27a; }
.bw-knoepfe { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.dlg.menue .modi.n8 > .modus.rennen, .dlg.menue .modi.n8 > .modus.kammer { border-style: dashed; }
@media (max-height: 820px) { .dlg.menue .modi.n8 .modus { padding: 5px 10px; } .dlg.menue .modi.n8 { gap: 6px; } }
@media (max-height: 430px) and (min-aspect-ratio: 1/1) { .dlg.menue .modi.n8 .modus { min-height: 46px; } }
