/* Gemeinsames Design (Fredoka, Creme-Panels, rosa Knöpfe) */
/* Schriften: Fredoka (Latein + erweitertes Latein für pl/cs/tr/ro/da...). Kyrillisch (ru/uk/bg) hat Fredoka nicht -> gleicher Familienname, die kyrillischen Zeichen kommen aus Nunito (OFL), so greift jede Stelle, die "Fredoka" nennt, automatisch. */
@font-face { font-family: "Fredoka"; font-weight: 500; src: url("fonts/fredoka-latin-500-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fredoka"; font-weight: 500; src: url("fonts/fredoka-latin-ext-500-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Fredoka"; font-weight: 600; src: url("fonts/fredoka-latin-600-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fredoka"; font-weight: 600; src: url("fonts/fredoka-latin-ext-600-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Fredoka"; font-weight: 700; src: url("fonts/fredoka-latin-700-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fredoka"; font-weight: 700; src: url("fonts/fredoka-latin-ext-700-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Fredoka"; font-weight: 500; src: url("fonts/nunito-cyrillic-600-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Fredoka"; font-weight: 600; src: url("fonts/nunito-cyrillic-700-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Fredoka"; font-weight: 700; src: url("fonts/nunito-cyrillic-800-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Lilita One"; font-weight: 400; src: url("fonts/lilita-one-latin-ext-400-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Lilita One"; font-weight: 400; src: url("fonts/nunito-cyrillic-800-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
:root { --txt: #5a2f14; --brown: #6a3a1e; --dark: #4a2610; --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px); --safe-l: env(safe-area-inset-left, 0px); --safe-r: env(safe-area-inset-right, 0px); }
html, body { margin: 0; height: 100%; font-family: 'Fredoka', system-ui, -apple-system, sans-serif; color: var(--txt); -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; overflow: hidden; touch-action: manipulation; }
/* Hintergrund als eigene, festgesetzte Ebene über den ganzen Bildschirm (auch unter Notch/Home-Balken), nicht nur in der Höhe der Seite */
body::before { content: ""; position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: -1; background: inherit; pointer-events: none; }
button { font-family: inherit; color: inherit; cursor: pointer; }
.panel { box-sizing: border-box; border: 4px solid var(--brown); border-radius: 24px; background: linear-gradient(#fff6e8, #f6dfc0); box-shadow: 0 4px 0 var(--dark), 0 8px 14px rgba(70,30,10,.25), inset 0 3px 0 rgba(255,255,255,.8); }
.btnPink { box-sizing: border-box; border: 4px solid #8d1d52; border-radius: 36px; background: linear-gradient(#ff9ec6, #ee3f86); box-shadow: 0 5px 0 #a02662, 0 10px 14px rgba(80,20,40,.3), inset 0 4px 0 rgba(255,255,255,.45); color: #fff; font-weight: 700; text-shadow: 0 2px 0 #a02662; padding: 10px 18px; font-size: 20px; }
.btnPink:active { transform: translateY(3px); box-shadow: 0 2px 0 #a02662; }
.btnCream { box-sizing: border-box; border: 4px solid var(--brown); border-radius: 30px; background: linear-gradient(#fff6e8, #f6dfc0); box-shadow: 0 4px 0 var(--dark), inset 0 3px 0 rgba(255,255,255,.8); color: var(--txt); font-weight: 700; padding: 8px 16px; font-size: 18px; }
.btnCream:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--dark); }
.btnPink[disabled], .btnCream[disabled] { filter: grayscale(.8) opacity(.65); }
.bar { border: 0; background-color: transparent; background-repeat: no-repeat; position: absolute; height: 38px; color: #fff; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; text-shadow: 0 2px 0 #3a1a0b; background-size: 100% 100%; background-repeat: no-repeat; padding-right: 22px; box-sizing: border-box; border: 0; }
.bar small { position: absolute; left: 0; right: 0; bottom: -15px; text-align: center; font-size: 12px; color: #fff; text-shadow: 0 1px 2px #3a1a0b, 0 0 4px #3a1a0b; padding-right: 0; }
.iconBtn { position: absolute; border: 0; padding: 0; background-size: 100% 100%; background-color: transparent; background-repeat: no-repeat; filter: drop-shadow(0 3px 2px rgba(60,30,10,.35)); }
.ad { box-sizing: border-box; display: block; text-decoration: none; color: var(--txt); position: relative; padding: 10px 12px 10px 84px; border: 4px solid var(--brown); border-radius: 26px; background: linear-gradient(#fff6e8, #f6dfc0); box-shadow: 0 5px 0 var(--dark), 0 10px 16px rgba(70,30,10,.28), inset 0 3px 0 rgba(255,255,255,.8); min-height: 80px; }
.ad img { position: absolute; width: 50px; height: 50px; }
.adT { display: block; font-weight: 700; font-size: 17px; line-height: 1.15; color: var(--brown); }
.adX { display: block; font-weight: 500; font-size: 14px; line-height: 1.15; margin-top: 2px; }
.adB { margin-top: 6px; min-height: 34px; box-sizing: border-box; padding: 2px 8px; line-height: 1.1; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; border: 3px solid #fff; border-radius: 20px; background: linear-gradient(#ff8fbd, #ee3f86); box-shadow: 0 3px 0 #a02662; color: #fff; font-weight: 700; font-size: 15px; text-shadow: 0 1px 0 rgba(0,0,0,.25); }
.ad.slim { min-height: 0; padding: 6px 10px 6px 64px; border-radius: 20px; }
.ad.slim .adT { font-size: 15px; } .ad.slim .adX { display: none; } .ad.slim .adB { margin-top: 4px; min-height: 28px; font-size: 14px; }
.adB svg { flex: none; }
@media (max-width: 380px) { .ad.slim .adB { font-size: 12.5px; gap: 5px; padding: 2px 6px; } .ad.slim .adT { font-size: 14px; } .adT { font-size: 15px; } }
.ad.slim img { width: 40px; height: 40px; }
#ov { position: fixed; inset: 0; background: rgba(40,20,10,.6); display: none; align-items: center; justify-content: center; z-index: 50; padding: calc(16px + var(--safe-t)) calc(16px + var(--safe-r)) calc(16px + var(--safe-b)) calc(16px + var(--safe-l)); box-sizing: border-box; }
#ov .box { max-width: 350px; width: 100%; max-height: 100%; overflow: auto; -webkit-overflow-scrolling: touch; padding: 18px 16px 16px; text-align: center; }
#ov h2 { margin: 0 0 8px; font-size: 28px; font-weight: 700; color: #fff; -webkit-text-stroke: 6px #6a2a4a; paint-order: stroke fill; }
#ov p { margin: 6px 0; font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
#ov .row { display: flex; gap: 10px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
#ov .row > button { flex: 1 1 120px; min-width: 0; line-height: 1.15; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
#ov .nw { white-space: nowrap; }
#ov .kontoFeld { display: block; text-align: left; margin: 8px 0; font-weight: 600; font-size: 16px; }
#ov .kontoFeld span { display: block; margin-bottom: 3px; }
#ov .kontoFeld small { display: block; margin-top: 3px; font-weight: 500; font-size: 14px; opacity: .8; }
#ov .kontoFeld input { box-sizing: border-box; width: 100%; padding: 8px 10px; font-size: 17px; border: 3px solid var(--brown); border-radius: 14px; background: #fff; color: var(--txt); }
#ov .kontoGrau span { color: #8a8480; }
#ov .kontoGrau input { background: #e6e2de; color: #8a8480; border-color: #b8b2ac; }
#ov .kontoHinweisGrau { color: #8a8480; font-size: 14px; font-weight: 500; text-align: left; margin: 10px 0 0; }
#ov .kontoCheck { display: flex; gap: 8px; align-items: flex-start; text-align: left; margin: 12px 0 6px; font-size: 15px; font-weight: 600; }
#ov .kontoCheck input { flex: none; width: 22px; height: 22px; margin-top: 2px; }
#ov .kontoLink { font-size: 15px; padding: 6px 12px; margin-top: 4px; }
#ov .item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 6px 0; border: 3px solid var(--brown); border-radius: 16px; background: #fff9ef; text-align: left; font-weight: 600; }
#ov .item span { flex: 1; min-width: 0; overflow-wrap: anywhere; } #ov .item button { flex: none; padding: 6px 12px; font-size: 16px; white-space: nowrap; }
#ov .days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
#ov .d { border: 3px solid var(--brown); border-radius: 12px; padding: 5px 2px; background: #fff; font-size: 12px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; } #ov .d b { display: block; font-size: 13px; line-height: 1.15; font-weight: 600; }
#ov .d .rw { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; white-space: nowrap; margin: 1px 2px; } #ov .d .rw img { width: 22px; height: 22px; object-fit: contain; }
#ov .d.now { border-color: #ee3f86; box-shadow: 0 0 0 2px #fff, 0 0 0 5px #ee3f86; }
#ov .d.done { background: #bfe8a8; } #ov .d.now { background: #ffe34d; transform: scale(1.07); } #ov .d.big { grid-column: span 2; background: #ffc4de; }
#ov .shopimgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 8px 0; } #ov .shopimgs a { display: block; } #ov .shopimgs img { width: 100%; border-radius: 12px; border: 3px solid var(--brown); }

.audioBox { margin: 6px 0 4px; text-align: left; }
.audioBox .arow { padding: 8px 10px; margin: 6px 0; border: 3px solid var(--brown); border-radius: 16px; background: #fff9ef; }
.audioBox .atop { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 18px; }
.audioBox .atop button { padding: 4px 16px; font-size: 16px; min-width: 64px; }
.audioBox .arow.off { opacity: .6; }
.audioBox .aown { margin: 8px 2px 2px; font-size: 15px; line-height: 1.35; }
.audioBox .aown p { margin: 4px 0; }
.audioBox .aown .arec { font-weight: 600; }
.audioBox .alinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.audioBox .alinks button { padding: 6px 14px; font-size: 15px; }
.audioBox input[type=range] { width: 100%; margin: 8px 0 2px; accent-color: #ee3f86; height: 28px; touch-action: pan-x; }

#ov .ic { vertical-align: -3px; margin-left: 2px; }
#ov .item .pi { width: 30px; height: 30px; object-fit: contain; vertical-align: middle; margin-right: 8px; }
#ov .item .lb { display: flex; align-items: center; gap: 8px; } #ov .item .lb .pi, #ov .item .lb .ic { flex: none; margin: 0; } #ov .item .lb .tx { min-width: 0; line-height: 1.15; } #ov .item .lb small { display: block; font-weight: 500; font-size: 13px; opacity: .85; }
#ov .ck { vertical-align: -2px; }
#ov .lnk { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }

/* Schmale Werbeleiste in einer Zeile (Hauptmenues der Minispiele) */
.ad.mini { display: flex; align-items: center; gap: 6px; min-height: 0; padding: 4px 6px 4px 46px; border-width: 3px; border-radius: 18px; box-shadow: 0 3px 0 rgba(70,30,10,.5); }
.ad.mini img { width: 30px; height: 30px; }
.ad.mini .adT { flex: 1 1 auto; min-width: 0; font-size: 12px; line-height: 1.05; white-space: normal; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }   /* lange Sprachen: zwei Zeilen statt abgeschnitten */
.ad.mini .adX { display: none; }
.ad.mini .adB { margin: 0; min-height: 28px; padding: 2px 8px; font-size: 11.5px; gap: 4px; white-space: nowrap; flex: none; }
.ad.mini .adB svg { width: 14px; height: 14px; }
.ad.mini { padding-left: 62px; }
.ad.mini img { top: 50% !important; width: 30px !important; height: 30px !important; margin-top: -15px; }
.ad.mini img:nth-of-type(1) { left: 6px !important; transform: rotate(-14deg) !important; }
.ad.mini img:nth-of-type(2) { left: 28px !important; transform: rotate(10deg) !important; }
.ad.mini .adB svg { display: none; }
.ad.mini .adB { padding: 2px 7px; font-size: 11px; }
.ad.mini .adT { font-size: 11.5px; }
.ad.mini { padding-left: 58px; padding-right: 5px; }
.ad.mini img:nth-of-type(2) { left: 25px !important; }

/* Sichtbarer Fokus fuer Tastatur und Schalter-Bedienung */
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #8d1d52; outline-offset: 2px; }
