
*{box-sizing:border-box}body{margin:0;background:#f4f7fb;color:#14213d;font-family:Arial,sans-serif}.app{max-width:760px;margin:auto;padding:12px}.top{height:62px;display:grid;grid-template-columns:52px 1fr 52px 52px;gap:8px;align-items:center}.round{width:46px;height:46px;border-radius:50%;border:1px solid #d8e0eb;background:#fff;font-size:24px;box-shadow:0 2px 8px #0001}.brand{border:0;background:transparent;display:flex;align-items:center;justify-content:center;gap:9px;text-align:center;font-weight:900;font-size:21px;color:#111;letter-spacing:.5px;cursor:pointer;padding:0;min-width:0}.brandIcon{width:31px;height:31px;border-radius:7px;flex:0 0 31px}.brand span{white-space:nowrap;color:#111}.topIcon{width:25px;height:25px;display:block;fill:#111;margin:auto}.iconRound{color:#111}.card{background:#fff;border:1px solid #dfe6ef;border-radius:18px;padding:18px;box-shadow:0 5px 18px #17324d12}.direction{width:100%;height:62px;border:1px solid #cfe0f5;border-radius:14px;background:#eef6ff;display:flex;justify-content:center;align-items:center;gap:30px;cursor:pointer}.direction .flag{font-size:42px;transition:.18s}.direction .arrow{font-size:34px;font-weight:900;color:#0878f9}.direction.swap .flag:first-child{transform:translateX(70px) scale(.85)}.direction.swap .flag:last-child{transform:translateX(-70px) scale(.85)}label{display:block;font-weight:800;margin:18px 0 8px}.topicRow{display:grid;grid-template-columns:1fr 54px;gap:8px}.topicRow input{width:100%;height:52px;border:1px solid #cfd8e5;border-radius:12px;padding:0 14px;font-size:16px}.mic{border:0;border-radius:12px;background:#ffd200;color:#111;display:flex;align-items:center;justify-content:center}.mic.listening{background:#dc2626}.micline{display:flex;align-items:center;gap:10px;min-height:30px;font-weight:700}.stop{background:#dc2626;color:#fff;border:0;border-radius:9px;padding:7px 12px;font-weight:800}.start{width:100%;height:62px;border:0;border-radius:14px;background:#08a83d;color:#fff;font-weight:900;font-size:18px;margin-top:8px}.start:disabled{opacity:.65}.free{text-align:center;font-size:13px;color:#52647a;margin:10px}.error{color:#b42318;text-align:center;font-weight:700;min-height:22px}.stats{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;color:#111;font-size:14px}.game{text-align:center}.progress{font-weight:800;color:#667}.question{font-size:32px;font-weight:900;margin:28px 0}.answers{display:grid;gap:10px}.answer{min-height:54px;border:1px solid #ccd7e5;border-radius:13px;background:#fff;font-size:18px;font-weight:700}.answer.ok{background:#dff7e7;border-color:#19a44b}.answer.bad{background:#ffe4e4;border-color:#dc3b3b}.feedback{min-height:34px;padding:12px;font-weight:800}.modal{position:fixed;inset:0;background:#0b183055;display:none;align-items:center;justify-content:center;padding:14px;z-index:50}.modal.open{display:flex}.sheet{width:min(520px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:20px;padding:18px;box-shadow:0 20px 60px #0003}.sheetHead{display:flex;justify-content:space-between;align-items:center}.close{border:3px solid #111;background:#ffd200;color:#111;border-radius:50%;width:52px;height:52px;min-width:52px;min-height:52px;font-size:32px;line-height:1;font-weight:950;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;box-shadow:0 3px 10px rgba(0,0,0,.18)}.menuActions,.addList{display:grid;gap:9px}.menuActions button,.addList button,.addLanguage{min-height:48px;text-align:left;border:1px solid #d9e2ee;background:#fff;border-radius:12px;padding:10px 14px;font-weight:750}.sectionLabel{font-size:12px;font-weight:900;color:#75869a;margin:16px 0 7px}.nativeSelect{width:100%;height:48px;border:1px solid #d9e2ee;border-radius:12px;padding:0 10px;font-size:16px}.langCard{display:flex;align-items:center;justify-content:space-between;border:1px solid #d9e2ee;border-radius:14px;padding:10px;margin:8px 0}.langCard.selected{border:2px solid #0878f9;background:#f1f7ff}.langLeft{display:flex;align-items:center;gap:12px}.bigFlag{font-size:34px}.langLeft small{display:block;color:#66788e;margin-top:3px}.remove{border:0;background:transparent;font-size:26px;color:#8090a3}.addLanguage{width:100%;margin-top:10px;color:#0878f9;text-align:center}.finish{text-align:center}.finish button{margin:6px;padding:12px 18px;border:0;border-radius:12px;font-weight:800} [hidden]{display:none!important}@media(max-width:520px){.app{padding:8px}.card{padding:14px}.brand{font-size:18px}.top{grid-template-columns:48px 1fr 48px 48px}.direction{height:60px}.direction .flag{font-size:38px}}

.setupTools{display:flex;justify-content:flex-end;gap:8px;margin-top:9px}.levelBtn,.miniBtn{height:38px;min-width:54px;border:1px solid #cfe0f5;background:#fff;border-radius:10px;font-weight:900;color:#0878f9}.levelList{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.levelList button{height:58px;border:1px solid #d8e2ee;background:#fff;border-radius:12px;font-size:18px;font-weight:900}.levelList .chosen{background:#e8f3ff;border:2px solid #0878f9;color:#0878f9}.ownText{width:100%;resize:vertical;border:1px solid #cfd8e5;border-radius:12px;padding:12px;font-size:17px}.pasteBtns{display:flex;gap:10px;margin-top:10px}.miniAction,.primarySmall{height:46px;border:0;border-radius:11px;font-weight:900}.miniAction{width:58px;background:#ffd200;color:#111;display:flex;align-items:center;justify-content:center}.primarySmall{flex:1;background:#08a83d;color:#fff}.selectTools{display:flex;gap:8px;margin-bottom:12px}.selectTools button{flex:1;border:1px solid #d8e2ee;background:#fff;border-radius:10px;padding:10px}.wordChips{display:flex;flex-wrap:wrap;gap:8px;max-height:45vh;overflow:auto}.chip{border:1px solid #cfd8e5;background:#fff;border-radius:999px;padding:9px 13px}.chip.selected{background:#dcf7e5;border-color:#26a75a}.score{font-size:30px;font-weight:900;margin:18px}.finishBtns{display:flex;justify-content:center;gap:10px}

/* V4 header: language | level | brand | settings | home */
.top{grid-template-columns:52px 52px minmax(0,1fr) 52px 52px}
.levelRound{font-size:15px;font-weight:950;color:#111;letter-spacing:-.2px}
@media(max-width:520px){.top{grid-template-columns:46px 46px minmax(0,1fr) 46px 46px;gap:5px}.round{width:43px;height:43px}.brand{font-size:16px;gap:6px}.brandIcon{width:25px;height:25px;flex-basis:25px}.topIcon{width:23px;height:23px}}

/* ===== V5 appearance ===== */
.themeBox{padding:12px 0 15px;border-bottom:1px solid #e4ebf3;margin-bottom:10px}
.themeLabel{font-weight:900;margin-bottom:9px}
.themeChoices{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.themeChoice{min-height:48px;border:1px solid #d7e0ea;background:#fff;border-radius:11px;font-weight:800;padding:7px 5px}
.themeChoice.chosen{border:2px solid #0878f9;background:#eaf4ff;color:#0878f9}

html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] body{background:#101318;color:#f1f5f9}
html[data-theme="dark"] .card,
html[data-theme="dark"] .sheet{background:#191e25;color:#f1f5f9;box-shadow:0 10px 30px rgba(0,0,0,.30)}
html[data-theme="dark"] .top{color:#f1f5f9}
html[data-theme="dark"] .round,
html[data-theme="dark"] .direction,
html[data-theme="dark"] .menuActions button,
html[data-theme="dark"] .addList button,
html[data-theme="dark"] .addLanguage,
html[data-theme="dark"] .levelList button,
html[data-theme="dark"] .themeChoice,
html[data-theme="dark"] .selectTools button,
html[data-theme="dark"] .chip,
html[data-theme="dark"] .answer{background:#232a33;color:#f1f5f9;border-color:#3a4552}
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select{background:#11161c;color:#f8fafc;border-color:#3a4552}
html[data-theme="dark"] .muted,
html[data-theme="dark"] .freeText,
html[data-theme="dark"] .counterLabel{color:#aeb8c5}
html[data-theme="dark"] .themeBox{border-color:#303844}
html[data-theme="dark"] .themeChoice.chosen,
html[data-theme="dark"] .levelList .chosen{background:#102d4b;border-color:#3c9cff;color:#8fc7ff}
html[data-theme="dark"] .chip.selected{background:#153c28;border-color:#39b86b;color:#dff8e8}
html[data-theme="dark"] .answer.ok{
  background:#148a3c!important;
  border-color:#55d97c!important;
  color:#ffffff!important;
}
html[data-theme="dark"] .answer.bad,
html[data-theme="dark"] .answer.bad:disabled{
  background:#b52f39!important;
  border-color:#ff727c!important;
  color:#ffffff!important;
  opacity:1!important;
}
html[data-theme="dark"] .brand,html[data-theme="dark"] .brand span{color:#f3f6fb}
html[data-theme="dark"] .levelRound{color:#8fc7ff}
@media(prefers-color-scheme:dark){
 html[data-theme-mode="system"]{color-scheme:dark}
}

/* ===== V9 sound ===== */
.questionRow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
.soundControls{display:flex;gap:6px}
.soundBtn{width:54px;height:54px;border:1px solid #e0b900;border-radius:50%;background:#ffd200;color:#111;display:flex;align-items:center;justify-content:center;cursor:pointer}
.soundSetting{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0;border-top:1px solid #dbe4ee;border-bottom:1px solid #dbe4ee;font-weight:800}
.soundToggle{width:50px;height:42px;border:1px solid #d4dfeb;background:#fff;border-radius:11px;font-size:20px}
.soundToggle.off{opacity:.65}
html[data-theme="dark"] .soundBtn,
html[data-theme="dark"] .soundToggle{background:#232a33;color:#fff;border-color:#3a4552}
html[data-theme="dark"] .soundSetting{border-color:#303844}

.soundBtn.muted{opacity:.68}

/* V14 real SVG flags */
.flagImg{display:block;width:36px;height:25px;min-width:36px;min-height:25px;max-width:36px;max-height:25px;flex:0 0 36px;object-fit:cover;object-position:center;aspect-ratio:36/25;border-radius:5px;vertical-align:middle;box-sizing:border-box;box-shadow:0 0 0 1px rgba(0,0,0,.14)}
#topFlag .flagImg{display:block;margin:auto;width:36px;height:25px}
.direction .flagImg{width:48px;height:32px;border-radius:6px}

/* V15: native-language flag in My Languages */
.nativeSelectWrap{position:relative;width:100%}
.nativeSelectWrap #nativeSelect{width:100%;padding-left:68px;color:transparent}
.nativeSelectWrap #nativeSelect option{color:#14213d}
.nativeFlag{position:absolute;left:14px;top:50%;width:40px;height:28px;display:flex;align-items:center;justify-content:center;transform:translateY(-50%);z-index:3;pointer-events:none;overflow:visible}
.nativeFlag .flagImg{display:block;width:40px;height:28px;border-radius:5px}
.nativeName{position:absolute;left:68px;right:42px;top:50%;transform:translateY(-50%);z-index:3;pointer-events:none;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#14213d}
html[data-theme="dark"] .nativeName{color:#f3f6fb}
html[data-theme="dark"] .nativeSelectWrap #nativeSelect option{color:#f3f6fb;background:#111820}

/* V17 active dictation */
#ownMic.listening{background:#e52323!important;color:#fff!important;box-shadow:0 0 0 5px rgba(229,35,35,.16)}

/* V18: three clear actions in dictation/text modal */
#pasteModal .modalActions{display:grid;grid-template-columns:78px 1fr 150px;gap:12px}
#prepareOwn{font-weight:800}
.clearOwnText{background:#e52323!important;color:#fff!important;border:0!important;border-radius:14px!important;font-weight:800!important}
@media(max-width:560px){
 #pasteModal .modalActions{grid-template-columns:68px 1fr 112px;gap:8px}
 .clearOwnText{font-size:12px!important;padding-left:7px!important;padding-right:7px!important}
}

.photoLoading{position:fixed;inset:0;z-index:3000;background:rgba(20,35,60,.28);display:flex;align-items:center;justify-content:center;padding:20px}
.photoLoading[hidden]{display:none}
.photoLoadingBox{background:var(--card,#fff);border-radius:22px;padding:28px 34px;box-shadow:0 18px 60px rgba(0,0,0,.18);display:flex;align-items:center;gap:16px;font-size:18px;text-align:center}
.photoSpinner{width:32px;height:32px;border:4px solid rgba(30,110,230,.18);border-top-color:#1672e8;border-radius:50%;animation:photoSpin .8s linear infinite;flex:0 0 auto}
@keyframes photoSpin{to{transform:rotate(360deg)}}
@media(max-width:560px){.photoLoadingBox{width:min(88vw,360px);padding:24px 20px;justify-content:center;font-size:16px}}


/* V34 — vyhodnocení kola a motivace */
.resultCard{position:relative;overflow:hidden;text-align:center}
.resultTrophy{font-size:58px;line-height:1;margin:4px 0 10px;animation:v34Pop .55s cubic-bezier(.2,.9,.3,1.3)}
.motivation{max-width:620px;margin:0 auto 22px;font-size:clamp(20px,4vw,30px);line-height:1.2}
.resultStats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0 22px}
.resultStat{border:1px solid #dce5ef;border-radius:16px;padding:15px 8px;display:flex;flex-direction:column;gap:5px}
.resultStat strong{font-size:25px}
.resultStat span{font-size:13px;font-weight:700;opacity:.72}
.resultBtns{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.resultBtns button{min-height:48px;border-radius:14px;font-weight:800;padding:10px 14px}
.resultBtns #back{grid-column:1/-1}
.retryMistakes{background:#1672e8!important;color:#fff!important;border-color:#1672e8!important}
.celebration{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.confetti{position:absolute;left:var(--x);top:-28px;font-style:normal;font-size:18px;animation:v34Fall var(--d) ease-in forwards;transform:rotate(var(--r))}
@keyframes v34Fall{0%{transform:translateY(-20px) rotate(var(--r));opacity:0}15%{opacity:1}100%{transform:translateY(430px) rotate(720deg);opacity:0}}
@keyframes v34Pop{0%{transform:scale(.25);opacity:0}75%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}
html[data-theme="dark"] .resultStat{border-color:#3a4552;background:#232a33}
@media(max-width:560px){
 .resultStats{grid-template-columns:1fr;gap:8px}
 .resultStat{padding:10px}
 .resultBtns{grid-template-columns:1fr}
 .resultBtns #back{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){
 .resultTrophy,.confetti{animation:none}
}

/* V36 — celoobrazovková 100% oslava */
.celebration.megaCelebration{position:fixed!important;inset:0!important;z-index:99999!important;width:100vw!important;height:100vh!important;pointer-events:none!important;overflow:hidden!important}
.megaConfetti{position:absolute;left:var(--x);top:-50px;font-size:clamp(18px,5vw,34px);animation:v36MegaFall var(--d) cubic-bezier(.18,.65,.35,1) var(--delay) forwards!important}
.firework{position:absolute;left:var(--fx);top:var(--fy);font-size:16px;opacity:0;animation:v36Firework 1.15s ease-out var(--fd) 2!important;text-shadow:0 -42px 0 currentColor,30px -30px 0 currentColor,42px 0 0 currentColor,30px 30px 0 currentColor,0 42px 0 currentColor,-30px 30px 0 currentColor,-42px 0 0 currentColor,-30px -30px 0 currentColor}
@keyframes v36MegaFall{0%{transform:translate3d(0,-60px,0) rotate(0);opacity:0}10%{opacity:1}100%{transform:translate3d(var(--drift),110vh,0) rotate(1080deg);opacity:.9}}
@keyframes v36Firework{0%{transform:scale(.05);opacity:0}20%{opacity:1}75%{transform:scale(2.5);opacity:1}100%{transform:scale(3.2);opacity:0}}

/* V38 CLEAN — velikost kola */
.roundSizeSetting{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0;padding:12px 0;border-top:1px solid #e2e8f0}
.roundSizeSetting>span{font-weight:700}
.roundSizeChoices{display:flex;gap:7px}
.roundSizeChoices button{min-width:48px;padding:9px 11px;border-radius:12px;font-weight:800}
.roundSizeChoices button.active{background:#1672e8;color:#fff;border-color:#1672e8}
html[data-theme="dark"] .roundSizeSetting{border-color:#3a4552}
@media(max-width:480px){.roundSizeSetting{align-items:flex-start;flex-direction:column}.roundSizeChoices{width:100%}.roundSizeChoices button{flex:1}}

.installAppWrap{display:flex;justify-content:center;margin:18px auto 6px}
.installAppBtn{display:flex;align-items:center;gap:10px;border:1px solid #d9e1ea;background:#fff;color:#17202b;border-radius:16px;padding:9px 16px;font-size:15px;font-weight:800;box-shadow:0 3px 12px rgba(20,33,61,.08);cursor:pointer}
.installAppBtn img{width:38px;height:38px;border-radius:10px}
html[data-theme="dark"] .installAppBtn{background:#232a33;color:#f1f5f9;border-color:#3a4552}

.micSvg{width:27px;height:27px;fill:#111;display:block}
.menuActions button{display:flex;align-items:center;gap:11px}
.menuYellowIcon{width:34px;height:34px;flex:0 0 34px;border-radius:9px;background:#ffd200;color:#111;display:inline-flex;align-items:center;justify-content:center;font-size:21px;font-weight:950}

.stats .statItem{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.stats b{font-weight:900}
.statIcon,.statCalendar{color:#111;display:inline-flex;align-items:center;justify-content:center}
.statSep{opacity:.35}
html[data-theme="dark"] .stats{color:#f1f5f9}
html[data-theme="dark"] .statIcon,html[data-theme="dark"] .statCalendar{color:#f1f5f9}
@media(max-width:520px){.stats{gap:7px;font-size:13px}}

.volumeControl{display:flex;align-items:center;gap:10px;min-width:290px}
.volumeSpeaker{width:36px;height:36px;border-radius:10px;background:#ffd200;display:flex;align-items:center;justify-content:center;flex:0 0 36px}
.volumeSpeakerSvg{width:23px;height:23px;fill:#111}
.volumeSpeaker.muted{opacity:.55}
.soundVolume{width:180px;accent-color:#ffd200;cursor:pointer}
.soundVolumeValue{width:48px;text-align:right;font-weight:900;color:#111}
html[data-theme="dark"] .soundVolumeValue{color:#f1f5f9}
@media(max-width:520px){.soundSetting{align-items:flex-start;flex-direction:column}.volumeControl{min-width:0;width:100%}.soundVolume{flex:1;width:auto}}

.statSvg{width:17px;height:17px;display:block;fill:#111}
html[data-theme="dark"] .statSvg{fill:#f1f5f9}

.gameSoundSvg{width:27px;height:27px;display:block;fill:#111}
.soundBtn.muted{background:#ffd200;opacity:.65}
html[data-theme="dark"] .soundBtn{background:#ffd200;border-color:#e0b900}

html[data-theme="dark"] .close{background:#ffd200;color:#111;border-color:#111}

/* ===== V71: responsive setup height ===== */
/* Desktop/tablet: reserve room for header + install button so no page scrollbar appears. */
#setup.card{
  min-height:0;
  display:flex;
  flex-direction:column;
}
#setup .stats{margin-top:auto}

@media (min-width:521px){
  #setup.card{
    height:calc(100vh - 245px);
    height:calc(100dvh - 245px);
    min-height:500px;
    max-height:660px;
  }
  body:has(#setup:not(.hidden)) .installAppWrap{
    margin-top:14px;
    margin-bottom:8px;
  }
}

/* Phone: use substantially more of the screen, but keep the install button visible. */
@media (max-width:520px){
  #setup.card{
    height:calc(100vh - 205px);
    height:calc(100dvh - 205px);
    min-height:560px;
    max-height:none;
  }
  #setup .direction{margin-bottom:18px}
  #setup .stats{padding-top:18px;padding-bottom:4px}
  body:has(#setup:not(.hidden)) .installAppWrap{
    margin-top:14px;
    margin-bottom:6px;
  }
}

/* Short screens: content wins over forced height; avoid clipping. */
@media (max-height:720px){
  #setup.card{
    height:auto;
    min-height:0;
  }
  #setup .stats{
    margin-top:18px;
    padding-top:0;
  }
}

.langsLogo{
  width:32px;
  height:32px;
  min-width:32px;
  max-width:32px;
  min-height:32px;
  max-height:32px;
  object-fit:contain;
  display:inline-block;
  vertical-align:middle;
  margin-right:8px;
  border-radius:7px;
}


/* V74 — O aplikaci ve spodním řádku; původní počítadla V73 zůstávají beze změny */
.aboutAppLink{border:0;background:transparent;color:inherit;font:inherit;padding:0;display:inline-flex;align-items:center;gap:5px;cursor:pointer;white-space:nowrap}
.aboutAppLink:hover span:last-child{text-decoration:underline;text-underline-offset:2px}
.aboutInfoIcon{width:17px;height:17px;border:1.7px solid currentColor;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;line-height:1}
.aboutSheet .sheetHead{align-items:flex-start;gap:14px}
.aboutSheet .sheetHead h2{margin:5px 0 8px;font-size:24px;line-height:1.2}
.aboutText{font-size:16px;line-height:1.55;color:#25364d}
.aboutText p{margin:0 0 14px}
.aboutActions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:8px}
.aboutActions button{border:1px solid #d9e2ee;background:#fff;border-radius:10px;padding:9px 12px;font-weight:750;color:#14213d;cursor:pointer}
.aboutActions button:hover{background:#f4f7fb}
html[data-theme="dark"] .aboutText{color:#d7dee8}
html[data-theme="dark"] .aboutActions button{background:#232a33;color:#f1f5f9;border-color:#3a4552}
@media(max-width:520px){.aboutSheet .sheetHead h2{font-size:21px}.aboutText{font-size:15px}.stats{gap:6px}}

/* V75 — interní zpětná vazba */
.feedbackSheet .sheetHead{align-items:flex-start;gap:14px}
.feedbackSheet .sheetHead h2{margin:5px 0 8px;font-size:24px}
.feedbackIntro{margin:2px 0 16px;color:#52647a;line-height:1.45}
.feedbackFieldLabel{margin:0 0 8px;font-size:14px}
.feedbackMessage{width:100%;min-height:180px;resize:vertical;border:1px solid #cfd8e5;border-radius:12px;padding:12px 14px;font:inherit;font-size:16px;line-height:1.45;color:#14213d;background:#fff;outline:none}
.feedbackMessage:focus{border-color:#0878f9;box-shadow:0 0 0 3px #0878f91a}
.feedbackMeta{display:flex;justify-content:flex-end;margin-top:6px;color:#75869a;font-size:12px}
.feedbackStatus{min-height:24px;margin:8px 0 4px;font-size:14px;font-weight:800;text-align:center}
.feedbackStatus.successState{color:#078536}
.feedbackStatus.errorState{color:#b42318}
.sendFeedback{width:100%;height:50px;border:0;border-radius:12px;background:#08a83d;color:#fff;font-size:16px;font-weight:900;cursor:pointer}
.sendFeedback:disabled{opacity:.65;cursor:default}
html[data-theme="dark"] .feedbackIntro,html[data-theme="dark"] .feedbackMeta{color:#aeb9c7}
html[data-theme="dark"] .feedbackMessage{background:#232a33;color:#f1f5f9;border-color:#3a4552}
@media(max-width:520px){.feedbackSheet .sheetHead h2{font-size:21px}.feedbackMessage{min-height:200px}}

/* ===== V90 clean isolated fun UI ===== */
.pointsBar{display:flex;justify-content:flex-end;align-items:center;min-height:36px;padding:0 4px 6px}
.pointsBadge{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:70px;padding:6px 12px;border:1px solid #d9b400;border-radius:999px;background:#fff7c7;color:#111;font-size:18px;font-weight:900}
.pointsStar{color:#e0b700;font-size:21px;line-height:1}
.pointsBadge.pointsPulse{animation:v90Pulse .25s ease-out}
@keyframes v90Pulse{50%{transform:scale(1.12)}}
.funSetting{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,2fr);align-items:center;gap:10px 16px;padding:18px 0;border-top:1px solid #dfe6ef}
#funSettingLabel{font-weight:900;font-size:18px;color:#14213d}
.funControl{display:flex;align-items:center;gap:8px;min-width:0;width:100%}
.funLevel{flex:1 1 auto;min-width:70px;width:auto;accent-color:#ffd200}
.funLevelValue{flex:0 0 56px;font-weight:900;font-size:16px;text-align:right;white-space:nowrap;color:#14213d}
.funFace{position:relative;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#ffd200;border:2px solid #111;box-sizing:border-box}
.funFace i{position:absolute;top:7px;width:4px;height:5px;border-radius:50%;background:#111}
.funFace i:first-child{left:6px}.funFace i:nth-child(2){right:6px}
.funFace b{position:absolute;left:7px;right:7px;bottom:6px;height:6px;border-bottom:3px solid #111;border-radius:0 0 50% 50%}
.funFaceCalm b{height:1px;bottom:8px;border-radius:0;border-bottom-width:2px}
.wordBonus{position:fixed;z-index:90;left:0;top:0;display:flex;align-items:center;justify-content:center;width:clamp(105px,18vmin,180px);height:clamp(105px,18vmin,180px);padding:0;border:0;background:transparent;font-size:clamp(82px,14vmin,145px);line-height:1;cursor:pointer;touch-action:manipulation;will-change:transform;animation:v90Flight 7.5s linear forwards}
@keyframes v90Flight{0%{transform:translate3d(var(--sx),var(--sy),0) rotate(-7deg)}25%{transform:translate3d(var(--x25),var(--y25),0) rotate(8deg)}50%{transform:translate3d(var(--x50),var(--y50),0) rotate(-5deg)}75%{transform:translate3d(var(--x75),var(--y75),0) rotate(6deg)}100%{transform:translate3d(var(--ex),var(--ey),0)}}
.wordBonus.caught{animation:none!important}
.bonusPlus{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;min-width:62px;height:44px;padding:0 10px;border:3px solid #111;border-radius:999px;background:#ffd200;color:#111;font-size:26px;font-weight:950}
@media(max-width:620px){.funSetting{grid-template-columns:1fr;gap:9px}.funControl{gap:6px}.funFace{flex-basis:28px;width:28px;height:28px}.funLevelValue{flex-basis:50px;font-size:15px}.wordBonus{width:clamp(110px,25vw,150px);height:clamp(110px,25vw,150px);font-size:clamp(88px,20vw,122px);animation-duration:8s}}
@media(max-width:360px){.funControl{gap:4px}.funFace{flex-basis:25px;width:25px;height:25px}.funFace i{top:6px}.funFace i:first-child{left:5px}.funFace i:nth-child(2){right:5px}.funLevelValue{flex-basis:46px;font-size:14px}}
html[data-theme="dark"] #funSettingLabel,html[data-theme="dark"] .funLevelValue{color:#f1f5f9}
@media(prefers-reduced-motion:reduce){.pointsBadge.pointsPulse{animation:none}.wordBonus{animation-duration:10s}}

/* V92 — jen aktivní volba je žlutá; ostatní zůstávají neutrální */
.themeChoice,
html[data-theme="dark"] .themeChoice{
  background:#fff;
  color:#111;
  border:2px solid #111;
  box-shadow:none;
}
.themeChoice.chosen,
html[data-theme="dark"] .themeChoice.chosen{
  background:#ffd200;
  color:#111;
  border:3px solid #111;
  box-shadow:none;
}
.roundSizeChoices button,
html[data-theme="dark"] .roundSizeChoices button{
  background:#fff;
  color:#111;
  border:2px solid #111;
  box-shadow:none;
}
.roundSizeChoices button.active,
html[data-theme="dark"] .roundSizeChoices button.active{
  background:#ffd200;
  color:#111;
  border:3px solid #111;
  box-shadow:none;
}
html[data-theme="dark"] .themeChoice:not(.chosen),
html[data-theme="dark"] .roundSizeChoices button:not(.active){
  background:#232a33;
  color:#f1f5f9;
  border-color:#f1f5f9;
}

/* V95: result Home uses the same house icon as the app header */
.resultBtns #back{display:flex;align-items:center;justify-content:center;gap:8px}
.resultHomeIcon{width:22px;height:22px;display:block;fill:currentColor;flex:0 0 22px}
