html,body{height:100%;height:100dvh;overflow:hidden}body{display:grid;grid-template-rows:68px minmax(0,1fr)58px;background:#f1f6f0}header{max-width:none;width:100%;padding:10px 24px;gap:16px;height:68px;background:#fbfcf6}.brand{font-size:22px;gap:9px}.brand-icon{width:39px;height:42px;font-size:26px}.brand small{font-size:9px}.header-tools{display:flex;gap:15px;align-items:center}.difficulty{display:flex;align-items:center;gap:9px;font-size:12px;white-space:nowrap}.difficulty select{font:inherit;font-size:14px;font-weight:700;color:#235e70;background:#e4f0e7;border:1px solid #bdd2c6;border-radius:11px;padding:9px 28px 9px 12px;cursor:pointer}.header-tools .adult{border:1px solid #ccdace;width:32px;height:32px;padding:0;border-radius:50%;font-size:17px}.header-tools .food-wallet{padding:6px 13px}main{max-width:1440px;min-height:0;height:100%;width:100%;padding:16px 24px;margin:0 auto;overflow:hidden}.screen{height:100%;min-height:0;width:100%;margin:0;padding:0;overflow:hidden}.bottom-nav{display:flex;justify-content:center;align-items:center;gap:12px;height:58px;background:#fbfcf6;border-top:1px solid #d5dfd1}.bottom-nav .nav{border-radius:13px;font-size:13px;min-width:120px;padding:9px 20px}.bottom-nav .nav span{margin-right:8px}.view-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;margin-bottom:12px}.view-heading h1{font-size:24px;line-height:1.5;margin:2px 0 0}.eyebrow{font-size:9px;letter-spacing:1.8px}.eyebrow:before{width:13px}.view-heading>span,.reward-rule{font-size:12px;color:var(--muted);white-space:nowrap}.reward-rule b{color:#986128}.home-view,.aquarium-view,.book-view,.record-view{display:flex;flex-direction:column}.home-board{flex:1;min-height:0;display:grid;grid-template-columns:1.12fr 1fr;gap:16px}.tank-panel{display:flex;flex-direction:column;min-width:0;min-height:0;margin:0;padding:15px;border-radius:20px;border:1px solid #ceddcd;background:#fcfdf6;overflow:hidden}.tank-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;min-height:25px}.tank-title h2{font-size:18px;margin:0}.tank-title>span{font-size:11px;color:var(--muted)}.tank-inner{display:flex;flex-direction:column;flex:1;min-height:0;gap:8px}.tank-panel .aquarium{flex:1;min-height:0;height:auto!important;margin:0;border-radius:15px;border-width:4px}.tank-panel .feeding-controls{margin:0;min-height:36px;gap:10px}.tank-panel .feeding-controls .primary{padding:9px 16px;font-size:12px;box-shadow:0 3px 0 #142f27;gap:9px}.tank-panel .feeding-controls>span{font-size:10px}.tank-panel .study-food{height:31px;width:auto;min-height:31px;margin:0;padding:5px 12px;font-size:11px;align-self:flex-start}.tank-panel .tank-status{margin:0;min-height:19px;font-size:11px!important;line-height:1.5!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-tank .study-food{display:none}.fish-inspector{display:flex;align-items:center;gap:10px;flex-shrink:0;height:80px;margin-top:10px}.fish-inspector #fish-detail{flex:1;min-width:0}.fish-inspector .growth-card{padding:6px 12px;gap:12px;min-height:72px}.fish-inspector .growth-fish{width:70px}.fish-inspector .growth-card strong{font-size:12px}.fish-inspector .growth-card [data-growth-name]{font-size:10px;margin:0}.fish-inspector .growth-card small{font-size:10px;margin-top:3px}.icon-button{border:1px solid #cfddce;background:#edf4e8;border-radius:10px;width:32px;height:38px;font-size:25px;flex-shrink:0}.learn-panel{display:flex;flex-direction:column;min-height:0;min-width:0}.learn-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;min-height:27px}.learn-heading h2{margin:0;font-size:19px}.learn-heading>span{font-size:11px;background:#e0ecdc;padding:5px 10px;border-radius:20px}.mode-grid{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(4,minmax(0,1fr));gap:10px}.mode-card{display:flex;align-items:center;gap:11px;min-height:0;text-align:left;position:relative;padding:13px;border:1px solid #d1ddca;background:#fffef6;border-radius:15px;box-shadow:0 3px 0 #e0e6d7;overflow:hidden}.mode-card:hover{background:#e9f1df;border-color:#80a080}.mode-icon{font-size:25px;flex-shrink:0}.mode-card strong{display:block;font-size:15px;line-height:1.6}.mode-card small{display:block;font-size:10px;color:var(--muted);line-height:1.6}.new-tag{position:absolute;top:5px;right:9px;font-size:7px;letter-spacing:1px;color:#b47739}.gentle-note{font-size:11px;margin:10px 0 0;color:var(--muted);text-align:center}.aquarium-view>.tank-panel{flex:1}.game{display:flex;flex-direction:column;max-width:none}.game:has(.auto-flow:not([hidden])){padding-bottom:0!important}.game-header{height:36px;min-height:36px;gap:12px;margin:0 0 8px}.game-header h1{font-size:20px;margin:0;flex:1;text-align:center;line-height:1.5}.back{font-size:12px;white-space:nowrap}.question-number{font-size:13px;white-space:nowrap}.progress{height:5px;flex-shrink:0}.game-content{flex:1;min-height:0;display:grid;grid-template-columns:1.12fr .88fr;gap:16px;margin:12px 0}.question{display:flex;flex-direction:column;align-items:stretch;min-height:0;min-width:0;margin:0;padding:18px 23px;border-radius:19px;border:1px solid #d5decf;background:#fffef8;box-shadow:none}.question-level{font-size:10px;line-height:1.6;color:#6d8b7b}.question h2{font-size:22px;line-height:1.6;margin:6px 0;min-height:36px}.question-visual{min-height:55px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.question-visual small{font-size:12px;color:var(--muted)}.glyph{font-size:clamp(65px,8vh,108px);font-family:'Yu Mincho',serif;line-height:1.5;color:#264c43}.glyph rt{font-family:'Zen Maru Gothic','Yu Gothic',sans-serif;font-size:12px;letter-spacing:1px;font-weight:500}.group-glyph{font-size:clamp(45px,6vh,78px);word-spacing:18px}.puzzle-symbol{font-size:42px}.missing-parts{display:flex;align-items:center;gap:13px;font-family:serif;font-size:50px;line-height:1.7}.missing-parts b{font-size:20px;color:#88a08c;font-family:sans-serif}.missing-parts rt{font-size:12px}.options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 0}.option{min-height:49px;padding:10px 12px;font-size:17px;line-height:1.5;border-radius:12px}.option.symbol-option{font-family:serif;font-size:29px;line-height:1.25}.long-options .option{font-size:14px}.hint-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 0;min-height:29px}.text-button{font-size:11px;padding:5px}.question-side{display:flex;flex-direction:column;gap:12px;min-height:0;min-width:0}.question-side .fishing-pond{flex:1;min-height:110px;max-height:250px;height:auto!important;margin:0;border-radius:18px}.question-side .swimming-fish{width:120px}.feedback-box{display:flex;flex-direction:column;justify-content:center;flex:1;min-height:0;padding:18px;border:1px solid #ccded0;border-radius:18px;background:#e5eee0;text-align:left;overflow:hidden}.feedback-box strong{font-size:18px;line-height:1.7}.feedback-box p{font-size:14px;line-height:1.9;margin:7px 0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical}.feedback-box .text-button{align-self:flex-start;margin-top:auto}.feedback-bottom{font-size:12px;margin-top:7px}.coach-avatar{font-size:35px}.earned-line{color:#8d6227}.game-flow-slot{min-height:74px;display:grid;grid-template-columns:minmax(0,1fr)auto;align-items:center;gap:12px;flex-shrink:0}.game-flow-slot #flow-placeholder{font-size:12px;color:#78917d}.game-flow-slot .next{width:auto;max-width:240px;min-width:170px;padding:13px 18px;font-size:13px;margin:0}.game-flow-slot .auto-flow{position:relative;inset:auto;left:auto;bottom:auto;width:100%;transform:none;box-shadow:none;backdrop-filter:none;padding:11px 13px;border-radius:14px;gap:10px}.game-flow-slot .flow-message{font-size:12px;line-height:1.6}.game-flow-slot .auto-flow small{font-size:10px}.game-flow-slot .auto-flow .secondary{font-size:11px;padding:9px 11px}.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));flex:1;min-height:0;gap:13px}.book-card{display:flex;align-items:center;position:relative;gap:15px;min-height:0;min-width:0;padding:20px 18px;background:#fffef7;text-align:left;overflow:hidden}.book-glyph{font-family:serif;font-size:54px;flex-shrink:0}.book-card h2{font-size:16px;line-height:1.6;margin:0 0 7px}.book-card p{font-size:12px;line-height:1.8;margin:0}.book-examples{font-family:serif;font-size:27px;line-height:1.9;word-spacing:9px;margin-top:10px}.book-examples rt{font-size:9px;font-family:'Yu Gothic',sans-serif}.listen{position:absolute;right:8px;top:8px;font-size:14px;border:0;border-radius:8px;background:#e4edde;width:27px;height:27px}.page-controls{display:flex;justify-content:center;align-items:center;gap:25px;height:44px;min-height:44px;margin-top:12px}.page-controls .secondary{font-size:12px;padding:8px 15px}.page-controls span{font-size:12px}.result{max-width:none;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:13px}.result .eyebrow{margin-top:4px}.result h1{font-size:30px;line-height:1.7;margin:0}.result p{font-size:14px;line-height:1.8;margin:0}.result-art{display:flex;align-items:center;gap:20px;background:#fff0c8;border:1px solid #e6cf94;border-radius:20px;padding:13px 30px}.result-art>span{font-size:35px;font-weight:900;color:#956b30}.result-art .food-bag-art{margin:0}.result-stats{display:flex;gap:35px;margin:3px 0;font-size:12px}.result-stats b{font-size:24px;margin-right:6px}.result-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:5px 0 0}.result-actions .primary{font-size:14px;padding:13px 23px}.result-actions .secondary{font-size:12px;padding:12px 20px}.level-records{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:12px}.level-records>span{background:#e3eddd;border-radius:12px;padding:12px 15px;font-size:11px;text-align:center}.level-records b{font-size:20px;margin:0 10px}.record-list{display:grid;grid-template-rows:repeat(8,minmax(0,1fr));flex:1;min-height:0;gap:6px}.record-row{padding:5px 14px;border-radius:10px;gap:13px;display:flex;min-height:0}.record-row>span{font-size:21px}.record-row strong{font-size:14px;flex:1}.record-row small{font-size:11px;color:var(--muted)}.record-row button{font-size:11px}.record-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:30px;margin-top:8px}.record-foot small{font-size:10px;color:var(--muted)}dialog{max-height:85dvh;overflow-y:auto}.hint-glyph{font-family:serif;font-size:70px;text-align:center}dialog p{font-size:14px;line-height:1.9}dialog a{color:#376b7a}.food-reward-pond .food-prize{left:18%;top:10%}.question-side .food-bag-art{width:52px;height:52px;font-size:30px}.food-reward-pond .food-prize strong{font-size:12px}.food-reward-pond p{font-size:11px}.question-side .food-reward-pond .swimming-fish{left:70%;top:57%}
@media(max-width:1000px){.mode-card{padding:10px;gap:8px}.mode-card strong{font-size:13px}.mode-card small{font-size:9px}.mode-icon{font-size:22px}.view-heading h1{font-size:21px}.reward-rule{font-size:10px}.book-card{padding:14px;gap:10px}.book-glyph{font-size:43px}.book-card h2{font-size:14px}.book-card p{font-size:11px}.feedback-box{padding:15px}.feedback-box p{font-size:13px}.question h2{font-size:20px}}
@media(max-width:650px){body{grid-template-rows:58px minmax(0,1fr)54px}header{height:58px;padding:8px 13px;gap:9px;flex-wrap:nowrap}.brand{font-size:18px;gap:7px}.brand-icon{width:32px;height:36px;font-size:23px;border-radius:10px}.brand small{display:none}.header-tools{gap:8px}.difficulty>span{display:none}.difficulty select{width:88px;font-size:12px;padding:8px 18px 8px 9px}.header-tools .adult{width:25px;height:25px;font-size:13px;max-width:none}.header-tools .food-wallet{font-size:0;padding:4px 8px;gap:3px}.header-tools .food-wallet>span{display:none}.header-tools .food-wallet strong{font-size:16px}.header-tools .food-wallet:after{content:'つぶ';font-size:9px}.bottom-nav{height:54px;gap:3px;padding:0 8px}.bottom-nav .nav{font-size:11px;min-width:0;flex:1;padding:7px 8px;border-radius:10px}.bottom-nav .nav span{display:block;font-size:16px;margin:0;line-height:1.2}main{padding:10px 12px}.view-heading{min-height:32px;margin:0 0 8px}.view-heading .eyebrow{display:none}.view-heading h1{font-size:17px}.view-heading>span{font-size:10px}.home-view .reward-rule{display:none}.home-board{grid-template-columns:1fr;grid-template-rows:minmax(0,.46fr)minmax(0,.54fr);gap:10px}.tank-panel{padding:10px;border-radius:15px}.tank-title{margin-bottom:7px;min-height:19px}.tank-title h2{font-size:14px}.tank-title>span{font-size:10px}.tank-inner{gap:6px}.tank-panel .feeding-controls{min-height:30px;gap:6px}.tank-panel .feeding-controls .primary{padding:7px 10px;font-size:10px;gap:5px}.tank-panel .feeding-controls>span{font-size:9px}.tank-panel .tank-status{font-size:9px!important;min-height:14px;line-height:1.5!important}.compact-tank .aquarium{border-width:3px}.compact-tank .water-plant{height:45px!important}.compact-tank .tank-floor{height:30px;bottom:-15px}.learn-heading{min-height:22px;margin-bottom:6px}.learn-heading h2{font-size:15px}.learn-heading>span{font-size:10px;padding:3px 8px}.mode-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:7px}.mode-card{flex-direction:column;justify-content:center;text-align:center;gap:4px;padding:8px 4px;border-radius:12px}.mode-icon{font-size:22px;line-height:1.1}.mode-card strong{font-size:11px;line-height:1.5}.mode-card small{display:none}.new-tag{top:3px;right:5px;font-size:6px;letter-spacing:0}.gentle-note{font-size:9px;margin-top:6px}.aquarium-view .reward-rule{display:none}.fish-inspector{height:74px;gap:6px;margin-top:8px}.fish-inspector .growth-card{padding:5px 8px;gap:7px;min-height:66px}.fish-inspector .growth-fish{width:54px}.fish-inspector .growth-card strong{font-size:11px}.fish-inspector .growth-card [data-growth-name],.fish-inspector .growth-card small{font-size:9px}.fish-inspector .icon-button{height:33px;width:27px;font-size:21px}.tank-panel .study-food{min-height:27px;height:27px;font-size:10px;padding:4px 10px}.game-header{height:29px;min-height:29px;margin-bottom:6px;gap:7px}.game-header h1{font-size:15px}.back{font-size:10px}.question-number{font-size:10px}.game-content{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr)minmax(105px,.34fr);margin:8px 0;gap:8px}.question{padding:10px 13px;border-radius:15px}.question-level{font-size:9px}.question h2{font-size:18px;line-height:1.55;min-height:28px;margin:4px 0}.glyph{font-size:74px;line-height:1.45}.glyph rt{font-size:10px}.question-visual{min-height:48px;gap:0}.question-visual small{font-size:10px}.group-glyph{font-size:52px;word-spacing:8px}.puzzle-symbol{font-size:28px}.missing-parts{font-size:36px;gap:8px}.missing-parts b{font-size:17px}.missing-parts rt{font-size:10px}.options{margin-top:7px;gap:7px}.option{padding:8px 7px;min-height:44px;font-size:15px;line-height:1.4;border-radius:10px}.option.symbol-option{font-size:28px}.long-options .option{font-size:12px}.hint-row{margin-top:4px;min-height:23px}.hint-row .text-button{font-size:10px;padding:4px}.question-side{display:grid;grid-template-columns:105px minmax(0,1fr);gap:8px}.question-side .fishing-pond{min-height:0;max-height:none;border-radius:13px}.question-side .food-reward-pond .swimming-fish{width:65px;left:57%;top:52%}.question-side .food-prize{left:20%;top:7%}.question-side .food-bag-art{width:35px;height:35px;font-size:22px;border-width:2px;margin:5px auto}.question-side .food-prize strong{font-size:10px;padding:2px 7px}.question-side .fishing-pond p{font-size:8px;line-height:1.4;padding:4px;left:5px;right:5px;bottom:5px}.feedback-box{padding:10px 12px;border-radius:13px;gap:0;justify-content:center}.feedback-box strong{font-size:13px;line-height:1.5}.feedback-box p{font-size:11px;line-height:1.6;margin:4px 0;-webkit-line-clamp:3}.feedback-box .text-button{font-size:9px;padding:2px}.feedback-bottom{font-size:10px;margin-top:3px}.coach-avatar{font-size:23px;line-height:1.2}.game-flow-slot{min-height:68px;gap:7px}.game-flow-slot #flow-placeholder{font-size:10px}.game-flow-slot .next{min-width:99px;max-width:105px;font-size:11px;padding:10px 9px;line-height:1.6;border-radius:10px;gap:0}.game-flow-slot .auto-flow{padding:8px 10px;gap:4px;grid-template-columns:1fr}.game-flow-slot .flow-message{font-size:10px;line-height:1.45}.game-flow-slot .auto-flow small{font-size:8px}.game-flow-slot .auto-flow .secondary{position:absolute;right:6px;bottom:5px;font-size:9px;padding:3px 5px;border-radius:6px}.game-flow-slot .auto-flow>div:first-child{padding-bottom:13px}.book-grid{grid-template-columns:1fr 1fr;grid-template-rows:repeat(3,minmax(0,1fr));gap:8px}.book-card{padding:12px 9px;display:block;border-radius:13px}.book-glyph{font-size:34px;line-height:1.1;float:left;margin-right:8px}.book-card h2{font-size:12px;line-height:1.6;padding-top:3px;margin-bottom:4px}.book-card p{clear:both;font-size:10px;line-height:1.6;margin-top:7px}.book-examples{font-size:21px;word-spacing:4px;margin-top:6px;line-height:1.5}.book-examples rt{font-size:8px}.listen{top:5px;right:5px;width:20px;height:20px;font-size:10px}.page-controls{min-height:36px;height:36px;margin-top:8px;gap:20px}.page-controls .secondary{padding:7px 13px;font-size:11px}.page-controls span{font-size:10px}.result{gap:13px}.result-art{padding:12px 20px;gap:18px}.result-art>span{font-size:30px}.result h1{font-size:25px}.result p{font-size:12px}.result-stats{font-size:10px;gap:20px}.result-stats b{font-size:20px}.result-actions{gap:10px;flex-direction:column}.result-actions .primary{font-size:13px}.result-actions .secondary{font-size:11px}.record-view>.view-heading{flex-wrap:wrap;gap:3px}.record-view>.view-heading>span{font-size:9px}.record-view h1{font-size:18px}.level-records{gap:7px;margin-bottom:8px}.level-records>span{padding:8px 5px;font-size:9px}.level-records b{font-size:15px;margin:0 5px}.record-list{gap:5px}.record-row{padding:4px 8px;gap:7px}.record-row>span{font-size:17px}.record-row strong{font-size:11px}.record-row small{font-size:8px;white-space:nowrap}.record-row .text-button{font-size:9px;padding:3px;white-space:nowrap}.record-foot{gap:7px;align-items:center;min-height:32px;margin-top:6px}.record-foot small{font-size:8px;max-width:190px}.record-foot .text-button{font-size:9px;white-space:nowrap}}
@media(max-height:690px){.view-heading{min-height:30px;margin-bottom:8px}.view-heading .eyebrow{display:none}.view-heading h1{font-size:20px}.game-header h1{font-size:17px}.question{padding:12px 18px}.question h2{font-size:20px;margin:3px 0}.glyph{font-size:70px}.group-glyph{font-size:50px}.option{min-height:43px;padding:7px 10px}.question-side .fishing-pond{max-height:180px}.game-flow-slot{min-height:63px}.mode-card small{display:none}.book-card h2{margin-bottom:3px}.book-examples{margin-top:4px}.result{gap:9px}.result-art{padding:10px 22px}.result .food-bag-art{width:48px;height:48px;font-size:27px}.result h1{font-size:26px}.result p{font-size:12px}}
@media(max-width:650px) and (max-height:700px){.view-heading h1{font-size:16px}.home-board{grid-template-rows:minmax(0,.44fr)minmax(0,.56fr);gap:8px}.tank-panel{padding:8px}.tank-title{margin-bottom:5px}.tank-title h2{font-size:12px}.tank-inner{gap:4px}.tank-panel .tank-status{font-size:8px!important;min-height:12px}.mode-icon{font-size:18px}.mode-card strong{font-size:10px}.mode-card{gap:3px;padding:7px 3px}.learn-heading{min-height:19px}.learn-heading h2{font-size:13px}.gentle-note{font-size:8px;margin-top:5px}.game-content{grid-template-rows:minmax(0,1fr)96px;gap:6px;margin:7px 0}.game-header h1{font-size:14px}.question{padding:7px 11px}.question h2{font-size:16px;line-height:1.4;min-height:24px}.glyph{font-size:59px}.group-glyph{font-size:43px}.question-visual{min-height:40px}.question-level{font-size:8px}.options{margin-top:5px;gap:6px}.option{min-height:40px;padding:6px;font-size:14px}.option.symbol-option{font-size:26px}.long-options .option{font-size:11px}.hint-row{min-height:20px;margin-top:3px}.game-flow-slot{min-height:65px}.feedback-box{padding:8px 10px}.feedback-box p{-webkit-line-clamp:2;font-size:10px}.feedback-box strong{font-size:11px}.question-side{grid-template-columns:95px 1fr}.question-side .fishing-pond{max-height:none}.question-side .fishing-pond p{font-size:7px}.coach-avatar{display:none}.book-glyph{font-size:29px}.book-card{padding:9px}.book-card p{font-size:9px;line-height:1.5;margin-top:4px}.book-card h2{font-size:11px}.book-examples{font-size:18px}.book-examples rt{font-size:7px}.level-records>span{padding:6px 3px}.record-row strong{font-size:10px}.record-row small{font-size:8px}.result h1{font-size:23px}.result-art{padding:9px 20px}.result-art>span{font-size:26px}}
.option rt{font-family:"Yu Gothic",sans-serif;font-size:9px;line-height:1.4}.option ruby{ruby-align:center}@media(max-width:650px){.option rt{font-size:8px}}
