@keyframes floatHeart{0%{transform:translate(-50%,-50%) scale(.7) rotate(var(--rot, 0deg));opacity:.72}50%{transform:translate(-50%,calc(-50% - 18px)) scale(1) rotate(var(--rot, 0deg));opacity:.6}to{transform:translate(-50%,calc(-50% - 36px)) scale(1.05) rotate(var(--rot, 0deg));opacity:0}}.home-footer-space{min-height:calc(100vh - 10.1875rem)}@supports (height: 100svh){.home-footer-space{min-height:calc(100svh - 10.1875rem)}}@media(max-width:359px){.home-footer-space{min-height:calc(100vh - 11.625rem)}@supports (height: 100svh){.home-footer-space{min-height:calc(100svh - 11.625rem)}}}@media(min-width:360px)and (max-width:767px)and (max-height:700px){.home-footer-space{margin-bottom:-1.8125rem}}.animate-float-heart{animation:floatHeart .75s cubic-bezier(.22,1,.36,1) forwards;pointer-events:none;-webkit-user-select:none;user-select:none}@keyframes cuteBounce{0%,to{transform:translateY(0) scaleY(.98)}50%{transform:translateY(-16px) scale(.97,1.03)}}@keyframes cuteShadow{0%,to{transform:scale(1);opacity:.25}50%{transform:scale(.68);opacity:.1}}@keyframes cuteWingLeft{0%,to{transform:rotate(0)}50%{transform:rotate(-14deg)}}@keyframes cuteWingRight{0%,to{transform:rotate(0)}50%{transform:rotate(14deg)}}@keyframes gentleSparkle{0%,to{transform:translateY(0) scale(.85);opacity:.3}50%{transform:translateY(-8px) scale(1.15);opacity:.85}}.ai-models{max-width:900px;margin:0 auto;text-align:center;text-wrap:balance;line-height:1.6}@media(min-width:768px){.ai-models{max-width:760px}}.animate-cute-bounce{animation:cuteBounce 1.4s ease-in-out infinite}.animate-cute-shadow{animation:cuteShadow 1.4s ease-in-out infinite}.animate-cute-wing-left{animation:cuteWingLeft 1.4s ease-in-out infinite}.animate-cute-wing-right{animation:cuteWingRight 1.4s ease-in-out infinite}.animate-gentle-sparkle{animation:gentleSparkle 2s ease-in-out infinite}.animate-gentle-sparkle-delayed{animation:gentleSparkle 2s ease-in-out 1s infinite}.notero-footer{position:relative}.locale-toggle{position:absolute;right:clamp(12px,5vw,72px);top:50%;transform:translateY(-50%);border:1px solid rgba(146,64,14,.2);border-radius:9999px;background:#ffffff94;color:#92400e;padding:7px 12px;font-weight:600;cursor:pointer}.locale-toggle:hover{background:#fff}@media(max-width:640px){.notero-footer{display:flex;flex-direction:column;align-items:center;gap:10px}.locale-toggle{position:static;transform:none;margin-top:2px}}@media(max-width:640px){.notero-footer{display:block}.locale-toggle{position:static;transform:none;display:block;margin:8px auto 0}}@media(min-width:641px){.notero-footer .locale-toggle-upper{top:calc(50% - 20px)}.notero-footer .contact-toggle{top:calc(50% + 20px)}}.locale-toggle-upper,.contact-toggle{width:88px}.column-article{color:#292524;font-size:17px;line-height:2}.column-article p{margin:0 0 1.1em}.column-article h2{font-size:1.35em;font-weight:700;color:#451a03;line-height:1.5;margin:1.6em 0 .6em}.column-article h3{font-size:1.12em;font-weight:700;color:#451a03;line-height:1.5;margin:1.4em 0 .5em}.column-article blockquote{border-left:4px solid #fcd34d;padding-left:1em;margin:0 0 1.1em;color:#44403c}.column-article ul{list-style:disc;padding-left:1.4em;margin:0 0 1.1em}.column-article ol{list-style:decimal;padding-left:1.4em;margin:0 0 1.1em}.column-article li{margin-bottom:.3em}.column-article hr{border:none;border-top:1px solid #fde68a;margin:1.8em 0}.column-article a{color:#b45309;text-decoration:underline}.column-article .src-note{font-size:inherit;color:inherit;font-weight:600;margin:-.5em 0 1.5em;letter-spacing:.02em}.learning-panel{background:#fffdf5;border:1px solid #f3dda0;border-radius:20px;padding:18px;margin:0 0 20px;color:#514333;max-width:100%;min-width:0}.learning-panel h3,.kanji-trap h3{font-weight:700;color:#986216;margin-bottom:10px;font-size:15px}.scene-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.scene-tabs button,.learning-button,.ocr-tokens button{border:1px solid #eddbab;border-radius:14px;background:#fffbeb;padding:10px 14px;min-height:44px;color:#725416;font-size:14px;transition:background .15s}.scene-tabs button[aria-pressed=true],.scene-tabs button[aria-expanded=true]{background:#fcd66c;border-color:#d6a21a}.scene-tabs button:hover,.learning-button:hover,.ocr-tokens button:hover{background:#ffedb2}button:focus-visible,a:focus-visible{outline:3px solid #c48719;outline-offset:3px}.scene-photo{width:100%;aspect-ratio:16/10;border-radius:20px;overflow:hidden;position:relative;background:#f5f3ef;display:flex;align-items:center;justify-content:center;min-width:0}.scene-photo img,.scene-photo video{width:100%;height:100%;object-fit:cover}.scene-photo p{padding:24px;text-align:center;font-size:14px;color:#81705c}.scene-photo-abstract{max-width:420px;aspect-ratio:16/9;margin:auto}.scene-photo-action{aspect-ratio:16/10;max-width:620px;margin:auto}.photo-refresh{position:absolute;right:7px;bottom:7px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:1px solid #ead7a3;border-radius:50%;background:#fffdf2ed;color:#664d1c;font-size:20px;line-height:1;box-shadow:0 1px 8px #0002;z-index:1}.photo-refresh:before{content:"";position:absolute;top:-7px;right:-7px;bottom:-7px;left:-7px}.photo-refresh:disabled{opacity:.5}.example-speak{position:relative;width:44px;height:44px;padding:0;flex:0 0 44px}.scene-caption{background:#fff9e9;padding:14px;border-radius:14px;margin:12px 0;line-height:1.8;font-size:14px;overflow-wrap:anywhere}.scene-caption p:first-of-type{font-size:17px;color:#473c30}.scene-caption p:last-child{color:#806e53;font-size:14px}.speak-inline{float:right;min-width:44px;min-height:44px}.related-words{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.related-words>p{width:100%}.related-words button{border:1px solid #e9e3d4;background:#fffcf4;border-radius:12px;padding:8px 12px;text-align:left;min-height:44px;max-width:100%}.related-words small,.learning-button small{display:block;font-size:11px;color:#817159;margin-top:2px}.kanji-trap{border-left:4px solid #e3a440;background:#fff6e5;padding:16px;border-radius:12px;margin-top:20px;line-height:1.8;font-size:14px}.kanji-trap span{display:inline-block;font-size:11px;color:#997634;background:#ffedc6;padding:1px 6px;border-radius:8px;margin-right:6px}.learning-note{font-size:12px;line-height:1.7;color:#87775e}.learning-word{font-size:21px;font-weight:700;color:#9c6318;padding:6px 0;min-height:44px}.memory-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.memory-heading>button{font-size:12px;min-height:44px;flex-shrink:0}.review-toggle{font-size:11px;color:#957c50;display:block;margin:0 0 16px auto;min-height:32px}.ocr-panel textarea{width:100%;padding:12px;border:1px solid #e7dcbf;border-radius:12px;margin-top:10px;background:#fff;color:#3b352e;resize:vertical;font-size:16px}.ocr-tokens{white-space:pre-wrap;display:flex;flex-wrap:wrap;gap:6px;line-height:2;margin:12px 0}.visual-learning{min-width:0}.visual-learning .learning-button{margin-top:10px}.scene-caption button:not(.learning-word),.memory-review button[aria-label]{min-width:44px;min-height:44px}@media(min-width:768px){.scene-photo{max-height:400px;aspect-ratio:2/1}.scene-photo-abstract{max-height:220px}.scene-photo-action{max-height:310px}.scene-caption{padding:16px 20px}}@media(max-width:374px){.learning-panel{padding:14px}.scene-tabs{gap:6px}.scene-tabs button{padding:9px 11px;font-size:12px}.scene-photo{aspect-ratio:4/3}}.result-layout{display:flex;flex-direction:column;gap:18px;min-width:0}.result-main>:not(.result-card){max-width:56rem;margin-left:auto;margin-right:auto}.result-copy{display:contents}.result-header{order:0;min-width:0}.result-definition{order:1;min-width:0}.result-visual{order:2;min-width:0}.result-detail{order:3;min-width:0}.result-detail:empty{display:none}.result-example{order:4;min-width:0}.result-card .scene-tabs:empty{display:none}.result-card .scene-photo{display:inline-block;width:auto;max-width:100%;height:auto;max-height:none;aspect-ratio:auto;vertical-align:top;margin:0;overflow:visible}.result-card .scene-photo img,.result-card .scene-photo video{display:block;width:auto;height:auto;max-width:100%;max-height:min(55vh,460px);max-height:min(55svh,460px);object-fit:contain}@media(min-width:1024px){.result-layout{flex-direction:row;align-items:flex-start;gap:24px}.result-copy{display:flex;flex:53 1 0;flex-direction:column;gap:18px;min-width:0}.result-visual{flex:47 1 0;min-width:0}.result-card .visual-learning{display:flex;flex-direction:column;align-items:flex-start}.result-card .visual-learning>.scene-photo{order:0}.result-card .visual-learning>.scene-tabs{order:1}.result-card .visual-learning>:not(.scene-photo):not(.scene-tabs){order:2}}
