*{box-sizing:border-box}html,body{color:#1d2a25;background:#f4f1e8;min-height:100%;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}button{cursor:pointer}.shell{width:min(1240px,100%);margin:0 auto;padding:26px 22px 60px}.hero{border-bottom:1px solid #1d2a2524;justify-content:space-between;align-items:flex-end;gap:28px;padding:22px 0 26px;display:flex}.eyebrow{letter-spacing:.16em;color:#8a5a3b;font-size:12px;font-weight:800}.hero h1{letter-spacing:-.045em;margin:10px 0 12px;font-family:Georgia,serif;font-size:clamp(42px,7vw,74px);line-height:.94}.hero p{color:#53625c;max-width:720px;margin:0;font-size:17px;line-height:1.55}.cameraButton{color:#fff;white-space:nowrap;background:#1f4f40;border-radius:18px;align-items:center;gap:10px;padding:15px 18px;font-weight:800;display:flex;box-shadow:0 8px 30px #1f4f4029}.cameraButton input{display:none}.notice{background:#fff2c9;border:1px solid #ead38a;border-radius:14px;margin:18px 0;padding:13px 16px;font-weight:700}.notice.error{color:#7d2f20;background:#fee6df;border-color:#e9b2a3}.emptyState{text-align:center;background:#fbf8f0;border:1px solid #1d2a251a;border-radius:30px;max-width:760px;margin:44px auto 0;padding:42px 28px;box-shadow:0 12px 50px #463f3014}.bookGlyph{color:#1f4f40;background:#d9e7d6;border-radius:32px;place-items:center;width:92px;height:92px;margin:0 auto 18px;font-family:Georgia,serif;font-size:35px;font-weight:800;display:grid;transform:rotate(-3deg)}.emptyState h2{margin:8px 0;font-family:Georgia,serif;font-size:32px}.emptyState p{color:#64706b}.featureStrip{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:22px;display:flex}.featureStrip span{background:#eee8dc;border-radius:999px;padding:9px 12px;font-size:13px;font-weight:750}.controlBar{flex-wrap:wrap;gap:8px;padding:16px 0;display:flex}.controlBar button,.softButton,.languagePills button,.findBanner button{color:#233a31;background:#fffdf7;border:1px solid #1d2a2526;border-radius:12px;padding:10px 12px;font-weight:750}.controlBar button.active,.languagePills button.active{color:#fff;background:#1f4f40;border-color:#1f4f40}.findBanner{background:#fff2c9;border:1px solid #ead38a;border-radius:14px;align-items:center;gap:14px;margin-bottom:12px;padding:12px 14px;display:flex}.findBanner strong{flex:1}.readerGrid{grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr);gap:18px;display:grid}.pageCard,.sidePanel{background:#fbf8f0;border:1px solid #1d2a251f;border-radius:24px;overflow:hidden;box-shadow:0 8px 28px #3c342812}.pageTopline{border-bottom:1px solid #1d2a251a;justify-content:space-between;align-items:center;padding:12px 14px;font-size:13px;font-weight:800;display:flex}.languagePills{gap:5px;display:flex}.languagePills button{border-radius:999px;padding:6px 9px;font-size:11px}.photoStage{background:#ded8ca;min-height:320px;position:relative}.photoStage img{object-fit:contain}.wordLayer{position:absolute;inset:0}.wordBox{background:#ffe65c1f;border:2px solid #0000;border-radius:5px;min-width:4px;min-height:4px;padding:0;position:absolute;overflow:visible}.wordBox:hover{background:#ffdc4040;border-color:#ffa31ab3}.wordBox.reading{background:#ffcd2899;border-color:#e89f19;box-shadow:0 0 0 3px #ffee8f80}.wordBox.selected{background:#88d2a940;border-color:#1f4f40}.arLabel{z-index:4;color:#fff;white-space:nowrap;pointer-events:none;background:#173f35;border-radius:5px;padding:2px 5px;font-size:clamp(8px,1.2vw,12px);line-height:1.1;position:absolute;bottom:100%;left:50%;transform:translate(-50%,-3px);box-shadow:0 2px 8px #0003}.sidePanel{flex-direction:column;gap:14px;padding:16px;display:flex}.panelTabs,.sectionHeading,.wordHeadline,.translationRow,.askRow{align-items:center;gap:8px;display:flex}.panelTabs,.sectionHeading,.wordHeadline{justify-content:space-between}.panelTitle,.wordHeadline strong{font-family:Georgia,serif;font-size:24px}.counter,.sectionHeading span{background:#e4ecdf;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:800}.wordInspector,.wholeTranslation,.askBook,.hintCard{background:#fffdf8;border:1px solid #1d2a2517;border-radius:16px;padding:14px}.wordHeadline button,.translationRow button,.askRow button,.answerCard button{background:#e4ecdf;border:0;border-radius:10px;padding:8px 10px}.translationRows{gap:8px;margin-top:12px;display:grid}.translationRow{border-top:1px dashed #1d2a2521;grid-template-columns:34px 1fr auto;padding:8px 0;display:grid}.translationRow span{color:#8a5a3b;font-size:11px;font-weight:900}.translationRows small{color:#66716d}.wholeTranslation p,.answerCard p{white-space:pre-wrap;color:#405149;line-height:1.55}.softButton{margin-top:8px;padding:8px 10px;font-size:13px}.askRow{margin-top:10px}.askRow input{background:#fff;border:1px solid #d8d3c8;border-radius:12px;flex:1;min-width:0;padding:11px}.askRow button:last-child{color:#fff;background:#1f4f40}.answerCard{background:#edf2e8;border-radius:12px;margin-top:10px;padding:12px}.answerCard p{margin:0 0 8px}.hintCard p{color:#66716d;margin-bottom:0}.sectionHeading strong{font-family:Georgia,serif;font-size:18px}@media (max-width:860px){.shell{padding:14px 12px 42px}.hero{flex-direction:column;align-items:stretch}.hero h1{font-size:49px}.cameraButton{justify-content:center}.readerGrid{grid-template-columns:1fr}.photoStage img{max-height:62vh}.sidePanel{border-radius:20px}.controlBar{z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f4f1e8f0;padding:10px 0;position:sticky;top:0}.controlBar button{flex:auto}.arLabel{text-overflow:ellipsis;max-width:76px;font-size:8px;overflow:hidden}.findBanner{z-index:18;position:sticky;top:64px}.pageTopline{position:relative}}@media (max-width:520px){.hero p{font-size:15px}.featureStrip{grid-template-columns:1fr 1fr;display:grid}.photoStage{min-height:260px}.askRow{grid-template-columns:1fr auto;display:grid}.askRow input{grid-column:1/-1}.languagePills button{padding:5px 7px}.sidePanel{padding:12px}.wordHeadline strong{font-size:28px}}.appNav{gap:8px;padding:14px 0 2px;display:flex}.appNav button{color:#31433b;background:#ebe5d8;border:1px solid #1d2a251f;border-radius:999px;padding:9px 12px;font-weight:800}.appNav button.active{color:#fff;background:#1f4f40;border-color:#1f4f40}.appNav span{color:#1f4f40;background:#ffffffb3;border-radius:999px;place-items:center;min-width:20px;height:20px;margin-left:4px;padding:0 5px;font-size:11px;display:inline-grid}.collectionView{margin-top:26px}.collectionHeader{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:16px;display:flex}.collectionHeader h2{margin:5px 0 0;font-family:Georgia,serif;font-size:34px}.collectionHeader>span{color:#6d756f;font-size:13px;font-weight:800}.emptyCollection{color:#69736e;background:#fbf8f0;border:1px dashed #1d2a2538;border-radius:20px;padding:28px}.pageList{gap:10px;display:grid}.savedPage{background:#fbf8f0;border:1px solid #1d2a251c;border-radius:18px;align-items:center;gap:10px;padding:10px;display:flex}.savedPageMain{text-align:left;color:#21352d;background:0 0;border:0;flex:1;gap:4px;padding:8px;display:grid}.savedPageMain strong{font-family:Georgia,serif;font-size:20px}.savedPageMain small{color:#737b76}.savedPageMain span{color:#1f4f40;font-size:13px;font-weight:850}.deleteMini{color:#8a3b2e!important;background:#fff5f2!important;border:1px solid #8235262e!important;border-radius:9px!important;padding:7px 9px!important;font-size:12px!important}.flashGrid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;display:grid}.flashCard{cursor:pointer;background:#fffaf0;border:1px solid #1d2a251f;border-radius:22px;min-height:180px;padding:18px;box-shadow:0 8px 25px #3c34280d}.flashCard.revealed{background:#edf3e9}.flashFront{gap:8px;display:grid}.flashFront>span,.flashBack span{letter-spacing:.12em;color:#8a5a3b;font-size:10px;font-weight:900}.flashFront>strong{font-family:Georgia,serif;font-size:29px}.flashFront small{color:#767d79}.flashBack{border-top:1px dashed #1d2a2526;gap:9px;margin-top:14px;padding-top:14px;display:grid}.flashBack>div:not(.flashActions){grid-template-columns:28px 1fr;align-items:center;gap:6px;display:grid}.flashBack small{color:#65706a}.flashActions{flex-wrap:wrap;gap:5px;display:flex}.flashActions button{background:#dbe8d7;border:0;border-radius:9px;padding:7px 9px;font-size:12px}.paceControl{background:#fffdf7;border:1px solid #1d2a2526;border-radius:12px;align-items:center;gap:7px;padding:7px 9px;font-size:12px;font-weight:850;display:flex}.paceControl select{color:#233a31;background:0 0;border:0;outline:none;font-weight:800}.pageTopline>span{color:#456657}@media (max-width:860px){.appNav{z-index:22;background:#f4f1e8f5;padding:8px 0;position:sticky;top:0}.collectionHeader{flex-direction:column;align-items:flex-start}.collectionHeader h2{font-size:29px}.paceControl{flex:auto;justify-content:center}.flashGrid{grid-template-columns:1fr 1fr}}@media (max-width:560px){.appNav button{flex:1;padding:8px 7px;font-size:12px}.flashGrid{grid-template-columns:1fr}.savedPage{align-items:stretch}.savedPage .deleteMini{align-self:center}.collectionHeader{margin-top:6px}}.touchModeBar{background:#e9e3d7;border:1px solid #1d2a251a;border-radius:14px;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;padding:10px 12px;display:flex}.touchModeBar strong{font-size:12px}.touchModeBar span{color:#69736e;font-size:12px}.touchModeBar button{background:#fffaf2;border:1px solid #1d2a251f;border-radius:999px;padding:7px 10px;font-weight:800}.touchModeBar button.active{color:#fff;background:#1f4f40;border-color:#1f4f40}.wordBox.properName{outline-offset:1px;outline:2px dashed #70509773}.selectedTranslationBubble{z-index:8;color:#fff;pointer-events:none;background:#173f35;border-radius:10px;min-width:max-content;max-width:130px;padding:7px 9px;font-size:13px;font-weight:900;position:absolute;bottom:100%;left:50%;transform:translate(-50%,-7px);box-shadow:0 5px 16px #00000040}.selectedTranslationBubble small{letter-spacing:.14em;opacity:.7;font-size:8px;display:block}.properNameBadge{color:#5c3d73;background:#eee5f6;border-radius:999px;margin-top:8px;padding:6px 8px;font-size:11px;font-weight:850;display:inline-flex}.sentenceInspector,.miniDictionary,.explanationCard{background:#fffdf8;border:1px solid #1d2a2517;border-radius:16px;padding:14px}.sourceSentence{color:#2b3c35;font-family:Georgia,serif;font-size:18px;line-height:1.5}.explanationCard{background:#eef4e9}.explanationCard p{color:#405149;line-height:1.55}.explanationCard button{background:#dbe8d7;border:0;border-radius:10px;padding:8px 10px}.dictionaryList{grid-template-columns:1fr 1fr;gap:7px;margin-top:10px;display:grid}.dictionaryList button{text-align:left;background:#f6f2e8;border:1px solid #1d2a2514;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:8px 9px;display:flex}.dictionaryList strong{font-size:13px}.dictionaryList span{color:#6f5a43;text-align:right;font-size:12px}.bilingualSection,.discoverSection{margin-top:28px;padding-top:6px}.sentencePairs{gap:10px;display:grid}.sentencePair{background:#fbf8f0;border:1px solid #1d2a251c;border-radius:18px;grid-template-columns:1fr 1fr;gap:10px;padding:12px;display:grid}.sentencePair>div{background:#fffdf8;border-radius:12px;padding:10px 42px 10px 10px;position:relative}.sentencePair span{letter-spacing:.12em;color:#8a5a3b;font-size:10px;font-weight:900}.sentencePair p{margin:6px 0 0;line-height:1.5}.sentencePair button{background:#e4ecdf;border:0;border-radius:9px;padding:7px;position:absolute;top:8px;right:8px}.discoverGrid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.discoverCard{background:#fff8e7;border:1px solid #8a5a3b2e;border-radius:22px;flex-direction:column;gap:9px;min-height:190px;padding:18px;display:flex;position:relative}.discoverCard>span{color:#fff;background:#1f4f40;border-radius:999px;place-items:center;width:30px;height:30px;font-weight:900;display:grid}.discoverCard>strong{font-family:Georgia,serif;font-size:21px}.discoverCard p{color:#56645e;flex:1;margin:0;line-height:1.5}.discoverCard button{text-align:left;background:#efe6d6;border:0;border-radius:10px;padding:8px 10px;font-weight:750}.sentenceInspector .sectionHeading button{background:#e4ecdf;border:0;border-radius:9px;padding:7px 9px}.sentenceInspector small{color:#7b817e;margin-top:8px;display:block}.softButton:disabled{opacity:.45;cursor:not-allowed}@media (max-width:860px){.touchModeBar{z-index:19;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#e9e3d7f5;position:sticky;top:52px}.sentencePair{grid-template-columns:1fr}.selectedTranslationBubble{font-size:12px}.dictionaryList{grid-template-columns:1fr 1fr}}@media (max-width:520px){.dictionaryList{grid-template-columns:1fr}.touchModeBar strong{width:100%}.discoverGrid{grid-template-columns:1fr}}.heroActions{flex-direction:column;align-items:stretch;gap:8px;min-width:190px;display:flex}.demoButton{color:#1f4f40;background:#fffaf0;border:1px solid #1f4f403d;border-radius:14px;padding:11px 14px;font-weight:850}.demoButton:hover{background:#e8f0e3}.notice.warning{color:#355341;background:#eaf2e5;border-color:#b9d0ae}@media (max-width:860px){.heroActions{width:100%;min-width:0}.demoButton{width:100%}}.focusActive{padding-top:10px}.focusActive>.hero,.focusActive>.appNav{display:none}.focusUtilityBar{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;padding:8px 4px;display:flex}.focusUtilityBar strong{font-family:Georgia,serif;font-size:18px}.focusUtilityBar button,.focusCameraButton{color:#233a31;background:#fffdf7;border:1px solid #1d2a2524;border-radius:12px;padding:9px 11px;font-weight:800}.focusCameraButton{cursor:pointer;justify-content:center;align-items:center;display:inline-flex}.focusCameraButton input{display:none}.focusPreparing{gap:10px;display:grid}.focusPhotoStage{aspect-ratio:3/4;min-height:min(74svh,760px)}.readerStageBadge{z-index:12;color:#fff;letter-spacing:.01em;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);white-space:nowrap;background:#122620e0;border-radius:999px;align-items:center;gap:8px;max-width:calc(100% - 24px);padding:8px 12px;font-size:12px;font-weight:850;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%);box-shadow:0 7px 24px #00000038}.stagePulse{opacity:.88;background:currentColor;border-radius:50%;width:8px;height:8px}.readerStageBadge.preparing .stagePulse,.readerStageBadge.ocr .stagePulse,.readerStageBadge.overlay .stagePulse{animation:1s ease-in-out infinite stagePulse}.scanSweep{z-index:6;pointer-events:none;background:linear-gradient(90deg,#0000,#fff5a0f2,#0000);height:3px;animation:1.65s ease-in-out infinite scanSweep;position:absolute;top:0;left:0;right:0;box-shadow:0 0 18px #ffed75e6}.wordBox.revealed{animation:.24s cubic-bezier(.2,.8,.2,1) both wordReveal}.readerFlow{display:block}.focusNotice{margin:0}@keyframes stagePulse{0%,to{opacity:.45;transform:scale(.72)}50%{opacity:1;transform:scale(1.2)}}@keyframes scanSweep{0%{opacity:.15;top:2%}15%{opacity:1}85%{opacity:1}to{opacity:.15;top:96%}}@keyframes wordReveal{0%{opacity:0;transform:scale(.78)}to{opacity:1;transform:scale(1)}}@media (max-width:860px){.focusActive{padding:8px 8px 34px}.focusUtilityBar{z-index:30;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f4f1e8eb;margin:0 -2px 8px;padding:7px 2px;position:sticky;top:0}.focusUtilityBar strong{font-size:15px}.focusUtilityBar button{padding:8px 9px;font-size:12px}.readerFlow{flex-direction:column;gap:10px;display:flex}.readerFlow>.readerGrid{display:contents}.readerFlow>.readerGrid>.pageCard{order:1}.readerFlow>.controlBar{z-index:10;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;order:2;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0;display:grid;position:relative;top:auto}.readerFlow>.controlBar button,.readerFlow>.controlBar .paceControl,.readerFlow>.controlBar .focusCameraButton{width:100%;min-height:44px;margin:0}.readerFlow>.touchModeBar{z-index:9;order:3;margin:0;position:relative;top:auto}.readerFlow>.findBanner{order:4;margin:0;position:relative;top:auto}.readerFlow>.focusNotice{order:5}.readerFlow>.readerGrid>.sidePanel{order:6}.photoStage{min-height:0;max-height:none}.focusActive .pageCard{border-radius:20px}.focusActive .photoStage img{max-height:none}.readerStageBadge{font-size:11px;top:9px}}@media (max-width:520px){.focusUtilityBar strong{display:none}.focusUtilityBar{justify-content:space-between}.readerFlow>.controlBar{grid-template-columns:1fr 1fr}.readerFlow>.controlBar .paceControl{grid-column:span 2}.focusPhotoStage{min-height:68svh}}.liveArLaunchButton{color:#fff;background:#173f35;border:1px solid #1f4f404d;border-radius:14px;padding:11px 14px;font-weight:850}.liveArView{gap:10px;display:grid}.liveArCard{overflow:hidden}.liveCameraStage{background:#101613;min-height:0;overflow:hidden}.liveCameraVideo{object-fit:contain;background:#101613;width:100%;height:100%;position:absolute;inset:0}.liveCameraActions{background:#f4efe4;border-top:1px solid #1d2a251a;gap:8px;padding:12px;display:flex}.liveCameraActions button{color:#233a31;background:#fffdf7;border:1px solid #1d2a2526;border-radius:12px;flex:1;padding:12px;font-weight:850}.liveCameraActions .scanButton{color:#fff;background:#1f4f40;border-color:#1f4f40}.liveCameraActions button:disabled,.controlBar button:disabled{opacity:.5;cursor:not-allowed}.liveArHint{color:#65706a;margin:0;padding:0 14px 14px;font-size:12px;line-height:1.45}.liveDot{background:#c83e34;border-radius:50%;width:8px;height:8px;margin-right:6px;animation:1.4s ease-in-out infinite livePulse;display:inline-block;box-shadow:0 0 0 4px #c83e341f}.cameraGuide{z-index:7;pointer-events:none;position:absolute;inset:10%}.cameraGuide i{border-style:solid;border-color:#ffffffd1;width:28px;height:28px;position:absolute}.cameraGuide i:first-child{border-width:2px 0 0 2px;border-radius:8px 0 0;top:0;left:0}.cameraGuide i:nth-child(2){border-width:2px 2px 0 0;border-radius:0 8px 0 0;top:0;right:0}.cameraGuide i:nth-child(3){border-width:0 2px 2px 0;border-radius:0 0 8px;bottom:0;right:0}.cameraGuide i:nth-child(4){border-width:0 0 2px 2px;border-radius:0 0 0 8px;bottom:0;left:0}.cameraGuide.subtle{opacity:.42}.liveCameraStage .wordLayer{z-index:9}.liveCameraStage .readerStageBadge{z-index:13}@keyframes livePulse{0%,to{opacity:.55}50%{opacity:1}}@media (max-width:860px){.liveArLaunchButton{width:100%}.liveArView .pageCard{border-radius:20px}.liveCameraActions{z-index:20;position:sticky;bottom:0}.liveCameraActions button{min-height:46px}.cameraGuide{inset:8%}}@media (max-width:520px){.liveCameraActions{grid-template-columns:1.35fr .65fr;display:grid}.liveArHint{font-size:11px}}.pageToplineActions{align-items:center;gap:8px;display:flex}.trackingChip{color:#56645e;letter-spacing:.06em;white-space:nowrap;background:#e7e3d8;border-radius:999px;align-items:center;gap:6px;padding:5px 8px;font-size:9px;font-weight:900;display:inline-flex}.trackingDot{background:#7a817d;border-radius:50%;width:7px;height:7px}.trackingChip.locking .trackingDot{background:#c08a2d;animation:1s ease-in-out infinite stagePulse}.trackingChip.tracking{color:#23513c;background:#dfeee4}.trackingChip.tracking .trackingDot{background:#2e7d58}.trackingChip.weak{color:#72521e;background:#fff0c7}.trackingChip.weak .trackingDot{background:#d2952d}.trackingChip.lost{color:#7d2f20;background:#fee6df}.trackingChip.lost .trackingDot{background:#c64c38}.liveTrackedLayer{transform-origin:0 0;will-change:transform;transition:transform 75ms linear}.readerStageBadge.tracking-tracking{background:#184e37e6}.readerStageBadge.tracking-weak{background:#72521eeb}.readerStageBadge.tracking-lost{background:#7d2f20eb}.liveCameraStage .wordLayer{backface-visibility:hidden}@media (max-width:520px){.pageToplineActions{gap:5px}.trackingChip{padding:4px 6px;font-size:8px}}.liveCameraActionsOverlay{z-index:32;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#121f1ac7;border:1px solid #ffffff38;border-radius:18px;margin:0;position:absolute;box-shadow:0 10px 30px #00000040}.liveCameraActionsOverlay button{background:#fffffff0}.liveCameraActionsOverlay .scanButton{background:#1f4f40}.liveScanAgainFloating{z-index:31;left:50%;bottom:max(12px,env(safe-area-inset-bottom));color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#173f35e6;border:1px solid #ffffff61;border-radius:999px;padding:10px 14px;font-weight:850;position:absolute;transform:translate(-50%);box-shadow:0 8px 24px #0000003d}.liveScanAgainFloating:disabled{opacity:.5}.wordBox.pastel-0:not(.reading):not(.selected){background:#ffcdd247;border-color:#de78846b}.wordBox.pastel-1:not(.reading):not(.selected){background:#ffe2b84d;border-color:#daa1536b}.wordBox.pastel-2:not(.reading):not(.selected){background:#fff4ae4d;border-color:#ccb8476b}.wordBox.pastel-3:not(.reading):not(.selected){background:#cbeccd4d;border-color:#6aaa716b}.wordBox.pastel-4:not(.reading):not(.selected){background:#bce6e14d;border-color:#5ba59e6b}.wordBox.pastel-5:not(.reading):not(.selected){background:#c0dcf84d;border-color:#5c92c46b}.wordBox.pastel-6:not(.reading):not(.selected){background:#daccf44d;border-color:#8b6cbe6b}.wordBox.pastel-7:not(.reading):not(.selected){background:#f4cbe84d;border-color:#be6c9f6b}@media (max-width:860px){.liveArCard{position:relative}.liveArHint{padding-bottom:8px}.liveCameraActionsOverlay{grid-template-columns:minmax(0,1.65fr) minmax(84px,.65fr);padding:8px;display:grid}.liveCameraActionsOverlay button{min-height:48px}}.wordBox.selfReading-correct{background:#5bc07d80!important;border-color:#2f8a4c!important;box-shadow:0 0 0 3px #76d69747!important}.wordBox.selfReading-near{background:#ffd75880!important;border-color:#d79a16!important;box-shadow:0 0 0 3px #ffde754d!important}.wordBox.selfReading-error{animation:.22s ease-out selfReadingErrorPulse;background:#ef665e80!important;border-color:#bd3f38!important;box-shadow:0 0 0 3px #ef665e3d!important}@keyframes selfReadingErrorPulse{0%{transform:scale(1)}45%{transform:scale(1.035)}to{transform:scale(1)}}.compactReaderToolbar{z-index:10;isolation:isolate;pointer-events:auto;background:#fbf8f0f5;border:1px solid #1d2a251f;border-radius:14px;flex-wrap:nowrap;align-items:center;gap:5px;height:52px;min-height:52px;margin:8px 0 9px;padding:4px;display:flex;position:relative;overflow:visible;box-shadow:0 5px 18px #3c34280f}.compactReaderToolbar .readerToolbarButton{z-index:1;color:#233a31;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#fffdf7;border:1px solid #1d2a251f;border-radius:10px;flex:1 1 0;place-items:center;width:auto;min-width:34px;max-width:52px;height:42px;min-height:42px;margin:0;padding:0;font-size:18px;line-height:1;display:grid;position:relative}.compactReaderToolbar .readerToolbarButton:hover{background:#f1ecdf}.compactReaderToolbar .readerToolbarButton.active{color:#fff;background:#1f4f40;border-color:#1f4f40}.compactReaderToolbar .readerToolbarButton:disabled{opacity:.38}.compactReaderToolbar .readerToolbarButton:focus-visible,.touchModeSwitch button:focus-visible{outline-offset:2px;outline:3px solid #34705847}.readerToolbarMore{flex:1 1 0;min-width:34px;max-width:52px;display:flex;position:relative}.readerToolbarMore>.readerToolbarButton{width:100%;max-width:none}.readerToolbarMenu{z-index:70;background:#fffdf7;border:1px solid #1d2a2529;border-radius:14px;gap:8px;width:min(252px,100vw - 28px);padding:10px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 42px #1f2a2533}.toolbarPaceControl{background:#f3eee3;border-radius:10px;grid-template-columns:1fr auto;align-items:center;gap:8px;padding:8px 9px;font-size:12px;font-weight:850;display:grid}.toolbarPaceControl select{color:#233a31;background:#fffdf8;border:1px solid #1d2a2524;border-radius:8px;max-width:132px;padding:6px 7px;font-weight:800}.readerToolbarMenu .toolbarMenuAction{color:#233a31;text-align:left;background:#fff;border:1px solid #1d2a251c;border-radius:10px;justify-content:flex-start;align-items:center;width:100%;min-height:38px;padding:8px 10px;font-size:13px;font-weight:800;display:flex}.readerToolbarMenu .toolbarMenuAction:disabled{opacity:.45}.toolbarFileAction{cursor:pointer}.toolbarFileAction input{display:none}.compactTouchModeBar{background:0 0;border:0;margin:0 0 8px;padding:0;display:block}.touchModeSwitch{background:#e9e3d7;border:1px solid #1d2a251f;border-radius:11px;grid-template-columns:repeat(3,minmax(0,1fr));height:34px;padding:2px;display:grid}.touchModeSwitch button{color:#405149;background:0 0;border:0;border-radius:8px;min-width:0;padding:4px 8px;font-size:12px;font-weight:850}.touchModeSwitch button.active{color:#fff;background:#1f4f40;box-shadow:0 2px 7px #1f4f4029}.touchModeHint{color:#69736e;margin:5px 4px 0;display:block;font-size:11px!important}@media (max-width:860px){.readerFlow>.compactReaderToolbar{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fbf8f0f5;grid-template-columns:none;gap:5px;height:52px;min-height:52px;margin:0;padding:4px;display:flex}.readerFlow>.compactReaderToolbar>.readerToolbarButton,.readerFlow>.compactReaderToolbar>.readerToolbarMore{width:auto;min-width:34px;max-width:52px}.readerFlow>.compactReaderToolbar .readerToolbarButton{height:42px;min-height:42px}.readerFlow>.compactReaderToolbar .readerToolbarMenu{width:min(252px,100vw - 24px)}.readerFlow>.compactTouchModeBar{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;padding:0}}@media (max-width:380px){.compactReaderToolbar{gap:4px;padding:4px 3px}.compactReaderToolbar .readerToolbarButton,.readerToolbarMore{min-width:32px}.compactReaderToolbar .readerToolbarButton{font-size:17px}}.panelMeta{justify-content:flex-end;align-items:center;gap:6px;min-width:0;display:flex}.translationSourceBadge{color:#52635c;letter-spacing:.02em;white-space:nowrap;background:#e8ece7;border-radius:999px;align-items:center;min-height:22px;padding:4px 7px;font-size:9px;font-weight:850;display:inline-flex}.translationSourceBadge.google{color:#2f684d;background:#e5f0e8}.translationSourceBadge.openai{color:#554b72;background:#ebe8f3}.translationSourceBadge.demo{color:#755a36;background:#f1e8d9}@media (max-width:420px){.translationSourceBadge{padding:4px 6px;font-size:8px}.panelMeta{gap:4px}}.brandedHero{align-items:center;gap:20px;padding:14px 0 18px}.heroCopy{flex:1;min-width:0}.brandLockup{align-items:center;gap:13px;display:flex}.brandLogo{border-radius:16px;flex:none;width:60px;height:auto}.brandText{min-width:0}.brandText .eyebrow{margin-bottom:3px}.brandedHero .brandText h1{margin:0;font-size:clamp(38px,5vw,56px);line-height:.98}.brandedHero p{max-width:680px;margin:8px 0 0;font-size:15px;line-height:1.45}.brandedHero .heroActions{min-width:218px}.compactEmptyState{text-align:left;border-radius:18px;max-width:none;margin:14px 0 0;padding:15px 17px}.compactEmptyState>div:first-child{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.compactEmptyState strong{font-family:Georgia,serif;font-size:19px}.compactEmptyState p{color:#64706b;margin:0;line-height:1.4}.compactEmptyState .featureStrip{justify-content:flex-start;margin-top:11px}@media (max-width:860px){.brandedHero{gap:10px;padding:7px 0 10px}.brandLogo{border-radius:13px;width:48px}.brandText .eyebrow{letter-spacing:.1em;font-size:9px}.brandedHero .brandText h1{font-size:32px}.brandedHero p{margin-top:6px;font-size:13px;line-height:1.35}.brandedHero .heroActions{grid-template-columns:1fr 1fr;gap:7px;width:100%;min-width:0;display:grid}.brandedHero .cameraButton,.brandedHero .liveArLaunchButton{text-align:center;border-radius:13px;justify-content:center;min-height:44px;padding:10px 9px}.collectionView{margin-top:12px}.collectionView .collectionHeader{flex-direction:row;align-items:center;margin-bottom:10px}.collectionView .collectionHeader .eyebrow{display:none}.collectionView .collectionHeader h2{margin:0;font-size:26px}.flashCard{min-height:145px;padding:14px}}@media (max-width:520px){.compactEmptyState{margin-top:8px;padding:10px 12px}.compactEmptyState strong{font-size:17px}.compactEmptyState p{font-size:12px}.compactEmptyState .featureStrip{display:none}.collectionView .collectionHeader h2{font-size:24px}.collectionView .collectionHeader>span{font-size:11px}.flashCard{min-height:122px;padding:13px}}.homeShell{width:min(540px,100%);height:100dvh;min-height:100dvh;padding:max(12px,env(safe-area-inset-top)) 14px calc(76px + env(safe-area-inset-bottom));flex-direction:column;margin:0 auto;display:flex;overflow:hidden}.homeV2{flex:1;grid-template-rows:auto minmax(0,1fr);align-items:stretch;min-height:0;display:grid}.homeTitleButton{color:#f2b23b;text-align:center;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:0 0;border:0;justify-self:center;width:100%;max-width:510px;margin:0;padding:4px 8px 8px;display:block}.homeTitleButton span{letter-spacing:.015em;-webkit-text-stroke:2px #173f35;text-shadow:0 2px #f8f4eb,0 4px #31594d,0 7px #173f35,0 12px 20px #1f4f402e;transform-origin:bottom;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:clamp(30px,8.6vw,46px);font-weight:1000;line-height:.96;display:block;transform:perspective(420px)rotateX(3deg)}.homeTitleButton:active span{text-shadow:0 1px #f8f4eb,0 3px #31594d,0 5px #173f35,0 8px 14px #1f4f4026;transform:perspective(420px)rotateX(3deg)translateY(2px)}.homeTitleButton:focus-visible{outline-offset:3px;border-radius:14px;outline:3px solid #f2b23b73}.homeCore{flex-direction:column;justify-content:center;align-items:center;min-height:0;padding:2px 0 6px;display:flex}.homeLogoWrap{z-index:2;justify-content:center;align-items:flex-end;width:min(68vw,292px);max-width:292px;max-height:39dvh;display:flex;position:relative}.homeCharacterLogo{object-fit:contain;filter:drop-shadow(0 10px 18px #4c311b1f);width:100%;height:auto;max-height:39dvh;display:block}.homeActionOrb{z-index:1;aspect-ratio:1;background:#fffaf0;border:4px solid #fff9ee;border-radius:50%;grid-template-columns:1fr 1fr;width:min(70vw,302px);max-width:302px;margin-top:clamp(-54px,-6.2dvh,-30px);display:grid;position:relative;overflow:hidden;box-shadow:0 18px 45px #2c483d2b,0 0 0 1px #1f4f4024}.homeActionOrb:after{content:"";pointer-events:none;background:#ffffffad;width:1px;position:absolute;top:13%;bottom:13%;left:50%;box-shadow:1px 0 #173f3524}.homeActionHalf{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;border:0;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-width:0;height:100%;font-weight:900;display:flex}.homeActionPhoto{color:#5d451b;background:linear-gradient(145deg,#fff2c8,#f6c968);padding-left:12%}.homeActionLive{color:#fff;background:linear-gradient(145deg,#2e6b58,#173f35);padding-right:12%}.homeActionHalf:hover{filter:brightness(1.025)}.homeActionHalf:active{filter:brightness(.94)}.homeActionHalf:focus-visible{outline-offset:-8px;outline:4px solid #ffffffd1}.homeActionPhoto input{display:none}.homeActionIcon{background:#ffffffad;border-radius:21px;place-items:center;width:58px;height:58px;font-size:36px;line-height:1;display:grid;box-shadow:inset 0 0 0 1px #1f4f4014}.homeActionLive .homeActionIcon{background:#ffffff24;box-shadow:inset 0 0 0 1px #ffffff2e}.homeActionHalf small{letter-spacing:.02em;font-size:13px}.bottomAppNav{z-index:80;top:auto;left:50%;bottom:max(8px,env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fbf8f0f0;border:1px solid #1d2a251f;border-radius:18px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:min(516px,100% - 24px);height:54px;margin:0;padding:4px;display:grid;position:fixed;transform:translate(-50%);box-shadow:0 12px 34px #2a373129}.bottomAppNav button{min-width:0;height:44px;font-size:12px;font-weight:850;color:#53625c!important;background:0 0!important;border:0!important;border-radius:14px!important;padding:6px 8px!important}.bottomAppNav button.active{box-shadow:0 4px 12px #1f4f402e;color:#fff!important;background:#1f4f40!important}.bottomAppNav span{min-width:18px;height:18px;margin-left:3px;font-size:10px}.bottomAppNav button.active span{color:#fff;background:#ffffff2e}.shell:not(.homeShell):not(.focusActive){padding-bottom:92px}.homeShell>.notice{z-index:70;width:min(492px,100% - 32px);margin:0;font-size:12px;position:fixed;bottom:74px;left:50%;transform:translate(-50%);box-shadow:0 9px 28px #3c34281f}@media (max-width:860px){.homeShell{padding-top:max(10px,env(safe-area-inset-top));padding-left:12px;padding-right:12px}.bottomAppNav{width:calc(100% - 20px)}}@media (max-width:420px){.homeTitleButton span{-webkit-text-stroke:1.6px #173f35;text-shadow:0 2px #f8f4eb,0 4px #31594d,0 6px #173f35,0 10px 16px #1f4f4029;font-size:clamp(29px,9vw,38px)}.homeLogoWrap{width:min(72vw,280px)}.homeActionOrb{width:min(74vw,286px)}.homeActionIcon{border-radius:18px;width:52px;height:52px;font-size:32px}}@media (max-height:760px){.homeTitleButton{padding-top:0;padding-bottom:2px}.homeTitleButton span{font-size:clamp(28px,7.8vw,38px)}.homeLogoWrap{width:min(58vw,238px);max-height:33dvh}.homeCharacterLogo{max-height:33dvh}.homeActionOrb{width:min(58vw,244px);margin-top:-34px}.homeActionIcon{width:48px;height:48px;font-size:29px}.homeActionHalf small{font-size:12px}}@media (min-width:861px){.homeShell{padding-top:22px}.homeTitleButton span{font-size:44px}.homeLogoWrap{width:280px}.homeActionOrb{width:294px}}.wordBox.photoMarker:not(.reading):not(.selected){--mark-fill:calc(var(--mark-strength,.65) * .42);--mark-stroke:calc(.2 + var(--mark-strength,.65) * .7);background:rgb(var(--mark-rgb) / var(--mark-fill));border-color:rgb(var(--mark-rgb) / var(--mark-stroke));border-radius:4px;animation:.24s cubic-bezier(.2,.8,.2,1) both wordReveal}.wordBox.photoMarker.photoStyle-frame:not(.reading):not(.selected),.wordBox.photoMarker.photoStyle-pill:not(.reading):not(.selected){background:0 0;border-width:2px}.wordBox.photoMarker.photoStyle-frame:not(.reading):not(.selected){border-radius:2px}.wordBox.photoMarker.photoStyle-pill:not(.reading):not(.selected){border-radius:999px}.wordBox.photoMarker.photoStyle-underline:not(.reading):not(.selected){border-color:#0000;border-bottom-color:rgb(var(--mark-rgb) / var(--mark-stroke));background:0 0;border-bottom-width:3px;border-radius:0}.wordBox.photoMarker.properName:not(.selected){outline-color:#0000}.wordBox.photoMarker:hover:not(.reading):not(.selected){filter:saturate(1.2)brightness(.96)}.wordBox.liveArWord:not(.reading):not(.selected){background:0 0;border-color:#0000;outline-color:#0000}.wordBox.liveArWord:hover:not(.reading):not(.selected){background:0 0;border-color:#0000}.photoHighlightSettings{background:#f3eee3;border:1px solid #1d2a2526;border-radius:10px;gap:6px;min-width:0;margin:0;padding:9px;display:grid}.photoHighlightSettings legend{padding:0 4px;font-size:11px;font-weight:850}.photoHighlightSettings label{grid-template-columns:1fr 1.4fr;align-items:center;gap:5px;font-size:11px;font-weight:750;display:grid}.photoHighlightSettings select{color:#21352d;background:#fff;border:1px solid #1d2a252b;border-radius:7px;width:100%;min-width:0;padding:5px;font-size:11px}.photoHighlightSettings label:last-child{grid-template-columns:1fr auto}.photoHighlightSettings output{font-variant-numeric:tabular-nums}.photoHighlightSettings input[type=range]{accent-color:#1f4f40;grid-column:1/-1;width:100%;min-width:0}.readerToolbarMenu:has(.photoHighlightSettings){max-height:min(70dvh,440px);overflow-y:auto}@media (prefers-reduced-motion:reduce){.wordBox.photoMarker:not(.reading):not(.selected){animation:none}}.imageEditorBackdrop{z-index:200;overscroll-behavior:contain;padding:max(12px,env(safe-area-inset-top)) 12px max(14px,env(safe-area-inset-bottom));background:#091a14e0;justify-content:center;align-items:flex-start;display:flex;position:fixed;inset:0;overflow-y:auto}.imageEditorPanel{color:#21352d;background:#fbf8f0;border-radius:22px;width:min(680px,100%);margin:auto;padding:18px;box-shadow:0 16px 60px #0000004d}.imageEditorHeader{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.imageEditorHeader h2{margin:0;font:800 25px Georgia,serif}.imageEditorHeader p{color:#586961;margin:6px 0 13px;font-size:13px;line-height:1.4}.imageEditorClose{background:#eee8dc;border:0;border-radius:12px;padding:9px 12px;font-weight:900}.imageEditorStage{background:#202a25;border-radius:14px;justify-content:center;align-items:center;min-height:0;padding:6px;display:flex;overflow:hidden}.imageEditorFrame{cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none;background:#19231d;flex:0 auto;max-width:100%;position:relative;overflow:hidden}.imageEditorCanvas{pointer-events:none;width:100%;height:100%;display:block}.imageEditorCrop{cursor:move;touch-action:none;border:2px solid #fff6bf;position:absolute;box-shadow:0 0 0 2000px #00000080,inset 0 0 0 1px #10241c73}.imageEditorCrop:before,.imageEditorCrop:after{content:"";pointer-events:none;position:absolute}.imageEditorCrop:before{border-left:1px solid #ffffff73;border-right:1px solid #ffffff73;width:33.333%;top:0;bottom:0;left:33.333%}.imageEditorCrop:after{border-top:1px solid #ffffff73;border-bottom:1px solid #ffffff73;height:33.333%;top:33.333%;left:0;right:0}.imageEditorHandle{z-index:2;touch-action:none;background:#1f4f40;border:3px solid #fff8d1;border-radius:7px;width:25px;height:25px;position:absolute}.imageEditorHandle.nw{cursor:nwse-resize;top:-12px;left:-12px}.imageEditorHandle.ne{cursor:nesw-resize;top:-12px;right:-12px}.imageEditorHandle.sw{cursor:nesw-resize;bottom:-12px;left:-12px}.imageEditorHandle.se{cursor:nwse-resize;bottom:-12px;right:-12px}.imageEditorHint{color:#5e6c64;margin:10px 0;font-size:12px;line-height:1.4}.imageEditorLoading{text-align:center;padding:70px 20px}.imageEditorTools,.imageEditorActions{flex-wrap:wrap;gap:7px;margin-top:12px;display:flex}.imageEditorTools button,.imageEditorActions button{color:#1f4f40;touch-action:manipulation;background:#fffdf8;border:1px solid #d5d0c4;border-radius:11px;flex:auto;padding:11px 10px;font-size:13px;font-weight:800}.imageEditorTools button:disabled,.imageEditorActions button:disabled{opacity:.45;cursor:wait}.imageEditorActions{border-top:1px solid #e2dbcc;padding-top:12px}.imageEditorActions .imageEditorConfirm{color:#fff;background:#1f4f40;border-color:#1f4f40;flex:2}@media (max-width:430px){.imageEditorPanel{border-radius:16px;padding:12px}.imageEditorHeader h2{font-size:21px}.imageEditorHeader p{font-size:12px}.imageEditorTools button{padding:10px 5px;font-size:11px}}
