/* Friendly, brief and optional. Existing blue-grey / lavender surfaces stay. */
.guideWelcome { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 21px; background: #efedf7; font-size: 30px; flex-shrink: 0; }
.quickGuideSteps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.quickGuideStep { padding: 25px; }
.guideEmoji { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 16px; background: #eff2fa; font-size: 23px; margin-bottom: 17px; }
.quickGuideStep:nth-child(2) .guideEmoji { background: #f0edf7; }
.quickGuideStep:nth-child(3) .guideEmoji { background: #f6f0ea; }
.quickGuideStep small { color: #606d86; letter-spacing: 1.2px; font-size: 10px; }
.quickGuideStep h2 { font-size: 19px; margin: 6px 0 10px; }
.quickGuideStep p { color: #606d86; font-size: 14px; line-height: 1.9; margin: 0 0 14px; }
.quickGuideStart { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 26px 0; }
.quickGuideStart strong { font-size: 18px; font-weight: 500; color: #435579; }
.quickGuideStart p { font-size: 13px; color: #606d86; margin: 7px 0 0; }
.quickGuideStart .addBtn { flex-shrink: 0; }
.guideTry { padding: 0; background: #f9fafe; overflow: hidden; }
.guideTry > summary, .guideEssentials > summary { display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; gap: 20px; padding: 20px 24px; color: #52638a; font-size: 14px; }
.guideTry > summary::-webkit-details-marker, .guideEssentials > summary::-webkit-details-marker { display: none; }
.guideTry > summary > span > span { font-size: 20px; margin-right: 9px; }
.guideTry > summary > small { font-size: 12px; color: #606d86; }
.guideTry > summary { position: relative; padding-right: 51px; }
.guideTry > summary::after { content: '⌄'; position: absolute; right: 23px; top: 20px; color: #697895; font-size: 19px; }
.guideTry[open] > summary::after { transform: rotate(180deg); }
.guideEssentials[open] > summary > span { transform: rotate(45deg); }
.guideTry[open] > summary { border-bottom: 1px solid #e4e9f2; }
.guideDemoBody { padding: 25px; }
.demoTabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.demoTabs button { padding: 9px 17px; min-height: 40px; font-size: 13px; color: #606d86; border: 1px solid #dce3ee; background: #fff; border-radius: 9px; }
.demoTabs button[aria-pressed=true] { background: #e8eef9; border-color: #b9c8e1; color: #435a83; }
.demoPrompt { display: flex; align-items: center; gap: 11px; }
.demoPrompt > span { font-size: 24px; }
.demoPrompt h2 { font-size: 18px; font-weight: 500; color: #435579; margin: 4px 0; }
.demoEnglish { color: #34435f; font: 27px/1.6 var(--serif); margin: 22px 0 15px; max-width: 40ch; overflow-wrap: anywhere; }
.demoMeaning, .demoRecallHint { color: #606d86; font-size: 14px; line-height: 1.9; margin: 12px 0 22px; }
.revealedMeaning { background: #edf1fa; padding: 15px 18px; border-radius: 10px; color: #52658a; }
.demoActionRow { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 17px; }
.demoResponse { color: #52658a; font-size: 14px; line-height: 1.9; margin: 18px 0; }
.demoActionRow .demoResponse { margin: 0; }
.demoActionRow .secondaryBtn { width: auto; margin: 0; padding: 10px 17px; }
.demoChoices { display: grid; gap: 11px; margin: 21px 0; }
.demoChoices button { text-align: left; padding: 15px 18px; border: 1px solid #dce3ef; background: #fff; border-radius: 11px; color: #52617e; font-size: 14px; line-height: 1.9; min-height: 53px; }
.demoChoices button.demoCorrect { background: #e9effa; border-color: #91a6ca; }
.demoChoices button.demoRetry { background: #fcf2ed; border-color: #d8b7a9; }
.demoFooter { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #e4e9f2; margin-top: 25px; padding-top: 15px; }
.demoFooter small { font-size: 12px; line-height: 1.8; color: #606d86; }
.quickBackupNote { display: flex; align-items: center; gap: 13px; margin-top: 24px; color: #606d86; }
.quickBackupNote > span { font-size: 21px; flex-shrink: 0; }
.quickBackupNote p { font-size: 13px; line-height: 1.9; margin: 0; }
.quickBackupNote button { flex-shrink: 0; margin-left: auto; }
.guideEssentials { padding: 0; background: transparent; box-shadow: none; margin-top: 22px; }
.guideEssentialsBody { padding: 0 24px 18px; }
.guideEssentialsBody > details { border-top: 1px solid #e2e7f0; padding: 14px 0; }
.guideEssentialsBody summary { font-size: 14px; color: #52638a; cursor: pointer; line-height: 1.9; }
.guideEssentialsBody p { color: #606d86; font-size: 13px; line-height: 1.95; margin: 12px 0 0; max-width: 65em; }
.buddyButton { display: flex; align-items: center; gap: 9px; max-width: 100%; border: 0; border-radius: 11px; background: #f0f2f9; padding: 8px 11px; margin: 2px 0 16px; color: #596b8b; font-size: 12px; line-height: 1.7; min-height: 42px; z-index: 1; text-align: left; }
.buddyFace { display: inline-block; font-size: 22px; line-height: 1.4; flex-shrink: 0; transform-origin: 50% 80%; }
.buddyRefresh { color: #6a7894; margin-left: 2px; font-size: 17px; flex-shrink: 0; }
.buddyButton:hover { background: #e9eef8; }
.savedMark.moodStamp { font-size: 32px; background: #eef0fa; border-color: #dfe4f1; }
.scoreMood { font-size: 35px; width: 60px; height: 60px; display: grid; place-items: center; margin: 5px auto 15px; border-radius: 20px; background: #f0edf8; }
.toastEmoji { font-size: 20px; flex-shrink: 0; line-height: 1.4; }
.moodStamp { position: relative; isolation: isolate; }
#dailyExamSection { scroll-margin-top: 30px; }
@media (prefers-reduced-motion: no-preference) {
 .guideWelcome { animation: welcomeWave .65s ease-out; }
 .buddyWave { animation: welcomeWave .55s ease-in-out; }
 .guideTry[open] .guideDemoBody { animation: softReveal .22s ease-out; }
 .revealedMeaning { animation: softReveal .2s ease-out; }
 .delightBurst { animation: moodPop .45s ease-out; }
 .delightBurst::before, .delightBurst::after { content: '✦'; position: absolute; color: #9a97b8; font-size: 15px; pointer-events: none; top: -9px; left: -15px; animation: sparkleFade .7s ease-out both; }
 .delightBurst::after { top: 1px; left: auto; right: -16px; font-size: 11px; animation-delay: .05s; }
 @keyframes welcomeWave { 0%,100% { transform: rotate(0); } 30% { transform: rotate(10deg); } 65% { transform: rotate(-8deg); } }
 @keyframes softReveal { from { opacity: .55; transform: translateY(3px); } to { opacity: 1; transform: none; } }
 @keyframes moodPop { 0% { transform: scale(.94); } 55% { transform: scale(1.06); } 100% { transform: scale(1); } }
 @keyframes sparkleFade { from { opacity: .8; transform: translateY(5px) scale(.8); } to { opacity: 0; transform: translateY(-12px) scale(1.1); } }
}
@media (max-width: 1100px) and (min-width: 781px) {
 .quickGuideSteps { grid-template-columns: 1fr; gap: 12px; }
 .quickGuideStep { display: flex; align-items: flex-start; gap: 18px; padding: 22px; }
 .guideEmoji { margin-bottom: 0; flex-shrink: 0; }
}
@media (max-width: 780px) {
 .guideWelcome { position: absolute; top: 0; right: 3px; width: 43px; height: 43px; border-radius: 14px; font-size: 23px; }
 #view-guide > .pageHeading { position: relative; padding-right: 42px; }
 .quickGuideSteps { grid-template-columns: 1fr; gap: 12px; }
 .quickGuideStep { display: flex; align-items: flex-start; gap: 17px; padding: 20px; }
 .guideEmoji { width: 43px; height: 43px; border-radius: 14px; font-size: 22px; flex-shrink: 0; margin: 3px 0 0; }
 .quickGuideStep h2 { font-size: 18px; margin: 4px 0 8px; }
 .quickGuideStep p { font-size: 14px; margin-bottom: 4px; }
 .quickGuideStep .microLink { min-height: 44px; }
 .quickGuideStart { display: block; padding: 23px 0; }
 .quickGuideStart .addBtn { margin-top: 17px; width: 100%; min-height: 48px; font-size: 14px; }
 .guideTry > summary { display: block; padding: 18px 43px 18px 20px; line-height: 1.9; }
 .guideTry > summary > small { display: block; margin: 5px 0 0 31px; }
 .guideDemoBody { padding: 21px; }
 .demoTabs { gap: 7px; margin-bottom: 22px; }
 .demoTabs button { padding-inline: 12px; min-height: 44px; }
 .demoPrompt { align-items: flex-start; gap: 9px; }
 .demoPrompt h2 { font-size: 17px; }
 .demoEnglish { font-size: 25px; line-height: 1.65; }
 .demoChoices button { font-size: 15px; min-height: 60px; padding: 15px; }
 .demoActionRow .addBtn, .demoActionRow .secondaryBtn { min-height: 46px; font-size: 14px; }
 .demoFooter { display: block; }
 .demoFooter button { padding-left: 0; min-height: 44px; }
 .quickBackupNote { flex-wrap: wrap; gap: 5px 11px; }
 .quickBackupNote p { flex: 1; min-width: 180px; }
 .quickBackupNote button { margin-left: 31px; min-height: 44px; }
 .guideEssentials > summary { font-size: 14px; padding: 18px 20px; line-height: 1.9; }
 .guideEssentialsBody { padding: 0 20px 12px; }
 .guideEssentialsBody summary { font-size: 14px; min-height: 44px; display: flex; align-items: center; }
 .guideEssentialsBody p { font-size: 14px; }
 .buddyButton { font-size: 13px; min-height: 46px; }
 #dailyExamSection { scroll-margin-top: 95px; }
 .toastEmoji { order: -1; font-size: 20px; }
 .toast .toastMessage { flex-basis: calc(100% - 80px); }
}
@media (prefers-reduced-motion: reduce) {
 .guideWelcome, .buddyFace, .guideDemoBody, .revealedMeaning, .moodStamp { animation: none !important; }
 .moodStamp::before, .moodStamp::after { display: none !important; }
}
