@charset "UTF-8";
:root{--ink:#16394d;--muted:#536b77;--blue:#12638a;--deep:#0e5275;--green:#477130;--line:#d9e5e7;--cream:#fff7df;--mint:#edf5e6;--sky:#ecf7fd;--paper:#fff;--radius:24px;font-size:18px;color:var(--ink);font-family:"BIZ UDPGothic","Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;font-weight:500;background:#fbfcf9;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,select,summary{cursor:pointer}button{color:inherit}a{color:var(--blue);text-decoration:none}p{line-height:1.85;margin:0 0 1.1rem}h1,h2,h3{font-weight:800;line-height:1.55;letter-spacing:.015em;margin:0 0 .6rem;overflow-wrap:anywhere}h1{font-size:2rem}h2{font-size:1.45rem}h3{font-size:1.12rem}img{display:block;max-width:100%;height:auto}svg{width:24px;height:24px;flex:none;vertical-align:middle}button:disabled{cursor:default}button:disabled:not(.board-cell):not(.playing-card){opacity:.52}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a7490e;outline-offset:4px}main:focus{outline:none}.skip{position:fixed;top:-80px;left:12px;z-index:50;background:white;padding:12px}.skip:focus{top:8px}
.preview-bar{padding:7px 24px;text-align:center;font-size:.78rem;color:#445c67;background:#edf4f5;line-height:1.7}.preview-bar span{margin-left:1.2rem}.header{max-width:1360px;margin:auto;min-height:108px;padding:20px 36px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;color:var(--ink)}.brand img{height:62px;width:52px;object-fit:contain}.brand small{display:block;font-size:.68rem;font-weight:700;color:var(--blue);letter-spacing:.16em}.brand strong{font-size:1.25rem;white-space:nowrap}.preferences{display:flex;gap:10px;align-items:center}.preferences button{min-height:48px;border:1px solid var(--line);border-radius:12px;background:white;padding:8px 14px;font-size:.82rem;font-weight:700}.preferences button:first-child{display:flex;gap:8px;align-items:center}.preferences button[aria-pressed=true]{border-color:var(--blue);background:var(--sky)}
.main-nav{border-block:1px solid var(--line);background:#fff;display:flex;gap:4px;justify-content:center;padding:0 24px}.main-nav a{display:flex;align-items:center;gap:12px;justify-content:center;min-width:160px;padding:15px 22px;color:var(--muted);border-bottom:3px solid transparent;font-weight:700}.main-nav a span{font-size:1.5rem;line-height:1}.main-nav a[aria-current=page]{color:var(--blue);border-bottom-color:var(--blue);background:linear-gradient(0deg,#f1f9fb,white)}
main{max-width:1320px;margin:auto;padding:40px 40px 80px;min-height:65vh}.loading{padding:80px 0;text-align:center}.eyebrow{font-size:.8rem;letter-spacing:.06em;color:var(--green);font-weight:800;margin-bottom:.55rem}.small{font-size:.88rem;color:var(--muted);line-height:1.8}.pill{display:inline-flex;align-items:center;border-radius:100px;padding:8px 16px;background:#edf4f2;color:#385d55;font-size:.82rem;font-weight:700;line-height:1.6}.primary,.secondary,.text-link,.choice-button,.answer{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:56px;border:1px solid transparent;border-radius:14px;font-weight:700;line-height:1.7;padding:12px 22px;transition:background-color .2s,box-shadow .2s}.primary{background:var(--blue);color:white;box-shadow:0 5px 0 #0c486513}.primary:hover:not(:disabled){background:var(--deep);box-shadow:0 6px 18px #0c486526}.secondary{border-color:#b6ced5;background:white;color:var(--blue)}.secondary:hover:not(:disabled){background:var(--sky)}.text-link{border:0;background:none;color:var(--blue);padding:6px 0;min-height:48px;text-align:left;justify-content:flex-start;font-size:.95rem}.text-button{border:0;background:transparent;color:#6b4f36;text-decoration:underline;padding:12px;min-height:48px}.button-row{display:flex;flex-wrap:wrap;gap:12px}.back-link{margin-top:24px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px}.soft-note{margin-top:32px;padding:24px 28px;background:#eef6f5;border-radius:16px;display:flex;gap:16px;align-items:flex-start;line-height:1.9;color:#335853}.soft-note svg{margin-top:5px}.page-heading{margin:0 0 30px;max-width:900px}.page-heading h1{font-size:1.9rem;margin-bottom:12px}.page-heading>p:last-child{margin-bottom:0;color:var(--muted)}.section{margin-top:50px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.section-heading h2{margin:0}.section-heading .eyebrow{margin-bottom:3px}
.home-hero{display:grid;grid-template-columns:.94fr 1.06fr;align-items:center;gap:32px;padding:14px 0 36px}.hero-copy{padding:14px 0}.hero-copy .eyebrow{letter-spacing:.16em}.hero-copy h1{font-size:clamp(1.9rem,3.4vw,2.75rem);line-height:1.65;margin:14px 0 18px;letter-spacing:.04em}.hero-copy h1 span{color:var(--blue)}.hero-copy>p:not(.eyebrow):not(.hero-note){color:var(--muted);line-height:2}.hero-copy .primary{margin:6px 0 22px;padding:15px 27px}.hero-note{font-size:.78rem;color:var(--muted);display:flex;align-items:center;gap:7px;margin:0}.hero-note svg{width:18px;height:18px}.hero-picture{position:relative;border-radius:36px;overflow:hidden;box-shadow:0 18px 48px #417d8e12}.hero-picture>img{width:100%;height:410px;object-fit:cover;object-position:59% center}.era-speech{position:absolute;bottom:20px;left:20px;right:20px;padding:14px 18px;background:#fffffff2;border:1px solid #ffffff;border-radius:16px;text-align:center;color:#365b55;font-size:.91rem;font-weight:700;box-shadow:0 5px 24px #36614115}
.home-summary{display:grid;grid-template-columns:1.15fr 1fr auto;align-items:center;gap:30px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px 28px;box-shadow:0 8px 30px #34526b05}.summary-character{display:flex;align-items:center;gap:18px}.summary-character img{height:78px;width:64px;object-fit:contain}.summary-character h2{font-size:1.06rem;margin:0}.summary-character .eyebrow{font-size:.73rem}.growth-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:.85rem}.growth-label>span{display:flex;gap:5px;align-items:center;color:var(--green);font-weight:700}.growth-label svg{width:20px;height:20px}.growth-label strong{font-size:1.2rem}.growth-label strong small{font-size:.7rem;font-weight:500}.summary-growth .small{font-size:.72rem;margin:6px 0 0}progress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;background:#edf1e9}progress::-webkit-progress-bar{background:#edf1e9;border-radius:20px}progress::-webkit-progress-value{background:linear-gradient(90deg,#8cab56,#558a42);border-radius:20px}progress::-moz-progress-bar{background:#558a42}
.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.quick-card{display:flex;align-items:center;gap:15px;border-radius:20px;padding:24px 20px;color:var(--ink);border:1px solid #e1e8e1;transition:transform .2s,box-shadow .2s}.quick-card:hover{transform:translateY(-3px);box-shadow:0 8px 20px #173c5010}.quick-card h3{margin:0 0 4px;font-size:1.04rem}.quick-card p{font-size:.77rem;color:var(--muted);margin:0}.quick-card>svg{margin-left:auto;width:20px;height:20px}.quick-icon{height:50px;width:50px;border-radius:16px;display:grid;place-items:center;background:#fff9;flex:none}.quick-icon svg{width:27px;height:27px}.cream{background:#fff7e1}.mint{background:#eef5e8}.blue{background:#eaf6fc}.game-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.game-card{border:1px solid var(--line);border-radius:22px;background:white;overflow:hidden;color:var(--ink);transition:transform .2s,box-shadow .2s}.game-card:hover{transform:translateY(-4px);box-shadow:0 10px 26px #20485d13}.game-art{height:170px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#edf6f3}.fortune .game-art{background:#fff4d8}.othello .game-art,.game-art.othello{background:#eaf3e7}.cards .game-art,.game-art.cards{background:#eaf4fb}.shogi .game-art{background:#fff0db}.mahjong .game-art{background:#eef1fc}.game-copy{padding:20px 17px}.game-copy>.small{font-size:.72rem}.game-copy h3{display:flex;justify-content:space-between;align-items:center;margin:6px 0 8px;font-size:1.18rem}.game-copy h3 svg{width:18px;height:18px}.game-copy>p{font-size:.86rem;margin-bottom:14px;line-height:1.8}.game-tag{display:block;padding-top:12px;border-top:1px solid #e6ecee;font-size:.72rem;color:var(--muted);line-height:1.7}.time{position:absolute;bottom:10px;right:10px;padding:4px 8px;font-size:.68rem;color:#506874;background:#ffffffe6;border-radius:8px}.fortune-paper{width:72px;height:110px;border:1px solid #dfbb70;border-top:6px solid #c77a30;background:#fffefa;text-align:center;padding-top:10px;font-size:.7rem;color:#976027;transform:rotate(-8deg);box-shadow:8px 8px 0 #dfbb702a}.fortune-paper b{font-size:2rem;line-height:1.5;display:block}.mini-board{display:grid;grid-template-columns:repeat(3,30px);gap:2px;border:6px solid #557950;background:#557950;box-shadow:5px 6px 0 #3b673018;transform:rotate(-8deg)}.mini-board i{background:#88aa75;height:30px;position:relative}.mini-board i.black:after,.mini-board i.white:after{content:'';position:absolute;inset:4px;border-radius:50%;background:#203a36;box-shadow:0 2px 0 #0002}.mini-board i.white:after{background:#fffff4}.card-fan{display:flex;transform:rotate(-8deg)}.card-fan i{width:65px;height:96px;display:block;background:#fffefc;border:1px solid #b8ccd8;border-radius:10px;font-style:normal;font-weight:700;padding:5px 12px;font-size:1.3rem;box-shadow:2px 5px 6px #456d8115}.card-fan i:first-child{transform:rotate(-10deg)}.card-fan i:last-child{margin-left:-14px;transform:rotate(15deg);color:#b94442}.card-fan i span{display:block;font-size:1.7rem;text-align:center}.shogi-piece,.small-piece{display:grid;place-items:center;clip-path:polygon(50% 0,90% 18%,100% 100%,0 100%,10% 18%);width:79px;height:96px;background:#d8a968;border-bottom:4px solid #aa733a;color:#5b3821;font-size:2.2rem;font-family:serif;transform:rotate(-10deg);box-shadow:4px 6px 2px #aa733a}.small-piece{height:68px;width:56px;margin:32px 0 0 6px;font-size:1.7rem;transform:rotate(12deg);background:#e8c68f}.mahjong-art{display:flex;gap:3px;transform:rotate(-7deg)}.mahjong-art i{display:flex;flex-direction:column;justify-content:center;align-items:center;width:44px;height:74px;border:1px solid #c6d9cf;border-bottom:7px solid #619781;background:#fffffa;border-radius:7px;font-style:normal;font-size:1.4rem;color:#ae423c}.mahjong-art small{font-size:.84rem;color:#203c45}.invitation{margin-top:56px;border-radius:26px;background:#edf6ee;padding:30px;display:grid;grid-template-columns:270px 1fr;gap:32px;align-items:center}.invitation img{border-radius:18px;aspect-ratio:1.3;object-fit:cover}.invitation h2{font-size:1.35rem}.invitation p{font-size:.92rem}.invitation .eyebrow{font-size:.75rem}.invitation .text-link{padding:0}
.play-grid{grid-template-columns:repeat(3,1fr)}.play-grid .game-art{height:185px}.play-grid .game-copy{padding:24px}.play-grid .game-copy .small{font-size:.83rem}.play-grid .game-copy p{font-size:.95rem}.resume{margin-bottom:30px}.resume h2{display:flex;gap:12px;align-items:center}.resume-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:16px}.resume-list a{display:flex;align-items:center;gap:16px;padding:18px;background:#f3f8f6;border-radius:14px;color:var(--ink)}.resume-list a span{font-size:.85rem;color:var(--muted)}.resume-list a svg{margin-left:auto}.setup-layout,.record-layout{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}.setup-options{display:flex;flex-direction:column;gap:16px}.choice-button{background:white;border-color:#cadcdf;color:var(--blue);justify-content:flex-start;text-align:left;width:100%;padding:17px 22px;min-height:66px}.choice-button:after{content:'→';margin-left:auto}.choice-button:hover{background:var(--sky);border-color:var(--blue)}.rules .game-art{border-radius:16px;margin-bottom:24px}.rules ol{padding-left:1.5rem;line-height:1.9}.rules li{margin:0 0 18px;padding-left:6px}.rules>p{margin-bottom:14px}.field{display:flex;flex-direction:column;gap:9px;margin:16px 0 22px;font-size:.94rem;font-weight:700;line-height:1.7}.field input,.field select{width:100%;min-width:0;min-height:56px;border:1px solid #a7bdc6;border-radius:12px;background:#fff;color:var(--ink);padding:12px 14px;font-size:1rem}.field select{padding-right:26px}.mode-label{display:inline-block;font-size:.94rem}.turn-banner{display:flex;align-items:center;gap:14px;font-size:1.18rem;font-weight:700;background:#eaf5f7;color:#145e7b;border-radius:18px;padding:19px 24px;margin-bottom:28px;border:1px solid #c9e3e7;line-height:1.7}.turn-banner.complete{background:#f0f6e5;color:#456922;border-color:#d6e2bd}.waiting{text-align:center;padding:40px 24px}.waiting img{margin:0 auto 24px}.room-code{letter-spacing:.14em;font-weight:800;font-size:3rem;margin:20px 0;color:var(--blue)}
.board-layout{display:grid;grid-template-columns:minmax(0,620px) minmax(220px,1fr);gap:30px;align-items:start}.score-row{display:flex;gap:12px;margin-bottom:18px;flex-wrap:wrap}.score-row>span{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);padding:12px 14px;border-radius:14px;flex:1;min-width:0;overflow-wrap:anywhere;font-size:.89rem}.score-row b{font-size:1.3rem;margin-left:auto;white-space:nowrap}.score-row .you{border-color:#759c72;background:#f4f9f0}.stone{display:block;width:75%;aspect-ratio:1;border-radius:50%;box-shadow:0 2px 4px #18332636;flex:none}.stone.black{background:radial-gradient(circle at 35% 26%,#546768,#182d32 70%);border:1px solid #192e32}.stone.white{background:radial-gradient(circle at 32% 25%,white,#e3e9df 80%);border:1px solid #c8d3c6}.score-row .stone{width:25px;height:25px}.othello-board{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:2px;background:#466b45;border:10px solid #466b45;border-radius:14px;box-shadow:0 8px 0 #34533515;overflow:hidden}.board-cell{border:0;border-radius:0;background:#8eae7a;aspect-ratio:1;width:100%;min-width:0;padding:3px;display:flex;align-items:center;justify-content:center;position:relative}.board-cell:nth-child(2n){background:#89a976}.board-cell.selected{background:#f3d87e;box-shadow:inset 0 0 0 4px #925824}.board-cell:focus-visible{outline-offset:-4px;outline-color:#713301;z-index:1}.possible{color:#244e35;font-size:1.5rem;line-height:1}.last-mark{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#d88528;font-size:1.5rem}.move-panel{display:flex;flex-direction:column;gap:14px}.move-panel p{margin:0}.move-panel h2{font-size:1.12rem}.pass-note{border-left:4px solid #a87827;padding-left:12px;font-size:.9rem}.game-foot{margin:32px 0;display:flex;flex-wrap:wrap;gap:14px;align-items:center}.game-foot .small{flex-basis:100%;margin-top:8px;max-width:840px}.result-panel{margin-top:28px;padding:30px;border-radius:24px;background:#f1f6e7;border:1px solid #d6e2c6}.result-panel>.primary,.result-panel>.secondary{margin:8px 16px 8px 0}.message-bubble{background:white;border:1px solid #caddc9;border-radius:12px;padding:12px 18px;margin:18px 0 0;max-width:600px}.card-game{max-width:780px;margin:auto}.memory-board{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;max-width:600px;margin:24px auto}.playing-card{aspect-ratio:.8;position:relative;border:2px solid #5c879c;background:#4e7e91;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:white;box-shadow:0 4px 0 #2b536d17;min-height:90px}.playing-card small{position:absolute;bottom:4px;font-size:.78rem;color:white}.playing-card.face{background:#fffdf5;border-color:#b5c4c3;color:#25455a}.playing-card.face b{font-size:2.4rem;line-height:1.1}.playing-card.face span{font-size:1.6rem}.playing-card.face.suit-red{color:#a33a35}.playing-card.matched{background:#edf4e2;border-color:#79a256;box-shadow:inset 0 0 0 3px #edf4e2}.playing-card.matched:after{content:'✓';position:absolute;right:6px;top:3px;color:#477130;font-size:.83rem}.card-back{border:1px solid #ffffff60;border-radius:50%;padding:13px}.card-back svg{width:30px;height:30px}.pair-feedback{background:#f1f7f2;padding:22px;border-radius:16px;text-align:center}.pair-feedback>p{font-weight:700}.card-game>p{text-align:center;margin-top:18px}.card-game>.primary{display:flex;margin:22px auto 0}
.practice-top{display:flex;align-items:center;gap:16px;margin-bottom:24px;flex-wrap:wrap}.practice-top .secondary{margin-left:auto}.practice-panel>h2{margin-bottom:26px}.practice-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:start}.practice-visual>p{margin-top:14px}.shogi-diagram{display:grid;grid-template-columns:1fr 18px;grid-template-rows:24px 1fr;max-width:430px;margin:0 auto;color:#714a26}.shogi-files{display:grid;grid-template-columns:repeat(9,1fr);grid-area:1/1;text-align:center;font-size:.72rem}.shogi-ranks{display:grid;grid-template-rows:repeat(9,1fr);grid-area:2/2;text-align:center;font-size:.72rem;align-items:center}.shogi-board{display:grid;grid-template-columns:repeat(9,1fr);grid-area:2/1;border:2px solid #a98753;background:#a98753;gap:1px}.shogi-cell{aspect-ratio:1;background:#f2dbaa;display:flex;align-items:center;justify-content:center;min-width:0}.shogi-cell>b{font-family:serif;font-size:1.35rem;line-height:1;display:inline-block}.shogi-cell .enemy{transform:rotate(180deg)}.shogi-cell>i{font-style:normal;background:white;border:1px solid #5b825b;color:#396637;width:72%;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;font-size:.95rem;font-weight:700}.answers>p{font-weight:700}.answer{width:100%;justify-content:flex-start;border-color:#aac5cf;background:#fff;margin-bottom:14px;font-size:1.1rem;padding:16px}.answer:hover{background:#eef8fb;border-color:var(--blue)}.answer-letter{display:grid;place-items:center;border-radius:10px;background:#eaf3f7;color:var(--blue);font-size:1.1rem;height:40px;width:40px;flex:none}.hint{margin-top:10px}details{border-top:1px solid var(--line);padding-top:12px}summary{padding:12px 0;font-size:.96rem;font-weight:700;min-height:48px;color:var(--blue);line-height:1.7}details p{margin:14px 0 6px}.explanation{margin-top:32px;background:#edf5e9;border:1px solid #c4d8b7;border-radius:18px;padding:26px}.explanation h3{font-size:1.15rem}.explanation:focus{outline:2px solid #60843e;outline-offset:4px}.explanation .primary{margin-top:12px}.mahjong-hand{background:#e6f0ea;border-radius:20px;padding:24px;display:flex;gap:9px;flex-wrap:wrap;justify-content:center}.tile{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-width:50px;height:78px;padding:6px 10px;border:1px solid #bacfc0;border-bottom:7px solid #548c76;background:#fffff8;border-radius:8px;color:#9a3b32;line-height:1.3;font-weight:700;box-shadow:0 3px 4px #173c500a}.tile b{font-size:1.45rem}.tile>span{font-size:.85rem;color:#355443}.tile.honor{color:#2b624b}.answer .tile{margin-left:12px}.question-menu{display:grid;grid-template-columns:1fr 1fr;gap:12px}.question-menu button{justify-content:flex-start;text-align:left}.zoom-board{overflow-x:auto;padding:8px}.zoom-board .shogi-diagram{width:650px;max-width:none}.zoom-board .shogi-cell>b{font-size:2rem}
.garden-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:28px;align-items:start}.garden-scene{position:relative;overflow:hidden;border-radius:26px;background:#dcedec}.garden-scene>img{width:100%;height:440px;object-fit:cover}.garden-caption{background:#fffffff5;position:absolute;bottom:18px;left:18px;right:18px;border-radius:14px;padding:16px 20px}.garden-caption span{font-size:.77rem;color:var(--green);font-weight:700}.garden-caption h2{font-size:1.13rem;margin:5px 0 0}.garden-scene.stars:after{content:'✧　✦　✧';position:absolute;top:25px;right:25px;color:#fff6bc;font-size:2.5rem;filter:drop-shadow(0 1px 3px #486739);pointer-events:none}.garden-scene.clover:after{content:'♧　♧';position:absolute;top:25px;left:25px;color:#3f6b37;background:#ffffffe0;border-radius:40px;padding:4px 20px;font-size:2.1rem;pointer-events:none}.care-panel .choice-button{margin-top:12px}.care-panel .small{margin:16px 0 6px}.care-panel .field{margin-top:18px;margin-bottom:12px}.story-panel{display:grid;grid-template-columns:1fr 1.2fr;gap:40px;margin-top:28px;align-items:center}.story-panel .small{margin:10px 0 0}.story{font-size:1.02rem;line-height:2;margin:0}.album-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.album-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff}.album-card>img{width:100%;aspect-ratio:1.5;object-fit:cover}.album-card>div:not(.album-placeholder){padding:22px}.album-card h3{font-size:1.03rem}.album-placeholder{background:#edf2ec;aspect-ratio:1.5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:#657966;font-size:.85rem}.album-placeholder svg{width:50px;height:50px;stroke-width:1.3}.album-card .eyebrow{font-size:.72rem}.points-info{margin-top:32px}.care-message{display:flex;align-items:center;gap:24px}.care-message img{width:130px;flex:none}.care-message p{margin:0}.story-image{width:100%;border-radius:16px;margin-bottom:24px}
.friend-duel{display:grid;grid-template-columns:1.1fr 1fr;gap:42px;align-items:start}.friend-duel form{border-left:1px solid var(--line);padding-left:36px}.friend-duel form p{margin:18px 0 0}.community-section{margin-top:50px}.community-layout{display:grid;grid-template-columns:1fr 1.15fr;gap:24px}.community-garden{background:#f3f8ed;border-color:#d9e7cc;text-align:center}.garden-emblem{height:70px;width:70px;display:grid;place-items:center;background:#fff;border-radius:50%;margin:0 auto 16px;color:var(--green)}.garden-emblem svg{width:36px;height:36px}.community-garden h3{font-size:1.12rem}.community-garden p{font-size:.91rem}.community-garden progress{margin-bottom:14px;background:#dbe6d0}.greeting-panel{margin-top:24px}.greeting-panel>p{margin-bottom:18px}.greeting-panel .small{margin:16px 0}.greeting-counts{display:flex;gap:14px;flex-wrap:wrap;background:#f4f8f6;padding:18px;border-radius:12px;font-size:.9rem}.greeting-counts>span{background:#fff;padding:8px 12px;border-radius:10px}.integration-note{border-top:1px solid var(--line);margin-top:30px;padding-top:24px}.integration-note h3{font-size:1rem}.integration-note p{font-size:.92rem}.record-layout h3{margin-top:28px}.record-layout .small{font-size:.86rem}.history{margin-top:28px;max-width:900px}.history .growth-label{margin-top:20px}.history ul{padding:0;list-style:none}.history li{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0;border-bottom:1px solid var(--line)}.history li strong{font-size:.94rem}.history li span{display:block;color:var(--muted);font-size:.78rem;margin-top:4px}.history li>b{color:var(--green)}.practice-records{display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:.89rem}.fortune-stage{display:grid;grid-template-columns:240px 1fr;gap:50px;align-items:center;max-width:900px;margin:auto;background:#fffaf0;border-color:#ecdbb3;padding:50px}.fortune-stage>img{width:100%;animation:welcome 1s ease 1}.fortune-result{font-size:2.5rem;color:#926025;margin:14px 0}.fortune-activity{line-height:1.9;border:1px solid #e8d6ae;padding:20px;border-radius:16px;margin:20px 0;background:#fffefa}.fortune-box>svg{width:54px;height:54px;color:#b18032;margin-bottom:20px}.fortune-box h2{font-size:1.4rem}.fortune-box .primary{margin-top:14px}
footer{padding:34px 30px 40px;background:#f0f5f3;border-top:1px solid #e1e9e5;text-align:center;color:#5a726d}footer p{font-size:.75rem;margin:0 0 7px}footer p:first-child{font-size:.88rem;color:#41634b;font-weight:700;margin-bottom:16px}.notice{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:min(90vw,760px);width:max-content;background:#173e51;color:#fff;padding:17px 26px;border-radius:16px;box-shadow:0 8px 30px #173c5040;z-index:100;font-size:.94rem;line-height:1.7}.notice[hidden]{display:none}dialog{width:min(850px,94vw);max-height:90dvh;border:1px solid var(--line);border-radius:24px;padding:28px;color:var(--ink);background:#fff;box-shadow:0 24px 80px #173c5030}dialog::backdrop{background:#173c5080;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:start;gap:20px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:24px}.dialog-head h2{font-size:1.3rem;margin:0}.dialog-head button{min-height:48px;flex:none;padding:8px 12px;border:1px solid #b6cad2;background:white;border-radius:10px;font-size:.85rem}.error-panel{max-width:850px}.error-panel a{margin:8px 12px 0 0}.large-text{font-size:22px}.large-text .game-grid{grid-template-columns:repeat(3,1fr)}.large-text .home-summary{grid-template-columns:1fr 1fr}.large-text .home-summary>.text-link{grid-column:1/-1}.large-text .preferences{flex-wrap:wrap;justify-content:flex-end}.large-text .header{gap:30px}.large-text .quick-grid{grid-template-columns:1fr}.large-text .hero-copy h1{font-size:2.1rem}.large-text .hero-note{align-items:flex-start}.large-text .growth-label{flex-wrap:wrap}
@keyframes welcome{0%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}100%{transform:rotate(0)}}
.connection-warning{padding:22px;background:#fff3db;border:2px solid #bd8539;border-radius:18px;margin-bottom:24px}.connection-warning p{margin-bottom:12px}
.achievement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.achievement{display:flex;gap:16px;align-items:center;border:1px solid var(--line);border-radius:18px;padding:22px;background:white}.achievement.earned{background:#edf5e5;border-color:#bfd5a7}.achievement>svg{color:var(--green);width:30px;height:30px}.achievement h3{font-size:1rem;margin:0 0 6px}.achievement p{font-size:.85rem;color:var(--muted);margin:0}@media(max-width:780px){.achievement-grid{grid-template-columns:1fr}.achievement{padding:20px}.achievement h3{font-size:1rem}}
.mobile-confirm{display:none}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.still *,.still *:before,.still *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:1100px){main{padding:30px 26px 70px}.header{padding:20px 26px}.home-summary{grid-template-columns:1fr 1fr;gap:20px}.home-summary>.text-link{grid-column:1/-1;justify-content:flex-end;min-height:32px;padding:0}.quick-grid{grid-template-columns:1fr}.quick-card{padding:18px 24px}.quick-card h3{font-size:1.1rem}.quick-card p{font-size:.86rem}.game-grid{grid-template-columns:repeat(3,1fr)}.hero-picture>img{height:410px}.hero-note{font-size:.75rem}.hero-copy h1{font-size:2.25rem}.header{flex-wrap:wrap}.preferences{margin-left:auto}.board-layout{grid-template-columns:minmax(0,1fr) 280px}.friend-duel{gap:26px}.friend-duel form{padding-left:24px}.album-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-growth{min-width:0}.large-text .home-hero{grid-template-columns:1fr 1fr}.large-text .board-layout{grid-template-columns:1fr}.large-text .practice-layout{grid-template-columns:1fr}}
@media(max-width:780px){:root{font-size:18px}.large-text{font-size:22px}.preview-bar{padding:6px 14px;font-size:.68rem}.preview-bar span{display:block;margin:0}.header{padding:16px 20px;min-height:0;gap:15px;align-items:center}.brand img{width:38px;height:48px}.brand strong{font-size:1.03rem}.brand small{font-size:.6rem}.preferences{width:100%;margin:0;gap:8px;justify-content:flex-end}.preferences button{font-size:.74rem;min-height:44px;padding:8px 11px}.preferences button:first-child{margin-right:auto}.main-nav{position:sticky;top:0;z-index:10;padding:0 8px;gap:0;box-shadow:0 2px 8px #173c5005}.main-nav a{min-width:0;flex:1;padding:12px 4px;gap:7px;font-size:.81rem}.main-nav a span{font-size:1.2rem}main{padding:24px 20px 60px}.home-hero,.large-text .home-hero{grid-template-columns:1fr;gap:20px;padding:8px 0 24px}.hero-copy{padding:0}.hero-copy h1{font-size:2rem;line-height:1.6;margin:12px 0}.hero-copy p{font-size:.91rem}.hero-copy .eyebrow{font-size:.78rem}.hero-copy .primary{width:100%;margin:6px 0 16px;min-height:60px}.hero-copy .hero-note{font-size:.72rem;justify-content:center;line-height:1.6}.hero-picture{border-radius:25px}.hero-picture>img{height:auto;aspect-ratio:1.37;object-fit:cover}.era-speech{bottom:14px;left:14px;right:14px;padding:11px;font-size:.82rem}.home-summary,.large-text .home-summary{grid-template-columns:1fr;padding:22px;gap:18px}.summary-character img{height:64px;width:52px}.summary-character h2{font-size:1.06rem}.home-summary>.text-link{justify-content:flex-start;font-size:.86rem}.summary-growth .small{font-size:.78rem}.summary-character .eyebrow{font-size:.75rem}.growth-label{font-size:.85rem}.growth-label strong small{font-size:.68rem}.section{margin-top:36px}.section-heading{align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:18px}.section-heading h2{font-size:1.35rem}.section-heading .eyebrow{font-size:.73rem}.section-heading .text-link{min-height:36px}.quick-grid{gap:14px}.quick-card{gap:14px;padding:18px}.quick-card p{font-size:.8rem}.quick-card h3{font-size:1.04rem}.quick-icon{width:44px;height:44px;border-radius:12px}.game-grid,.play-grid,.large-text .game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.game-art,.play-grid .game-art{height:155px}.game-copy,.play-grid .game-copy{padding:17px 14px}.game-copy h3{font-size:1.04rem}.game-copy h3 svg{display:none}.game-copy p,.play-grid .game-copy p{font-size:.85rem}.game-copy>.small,.play-grid .game-copy>.small{font-size:.7rem}.game-tag{font-size:.7rem}.time{font-size:.64rem}.mini-board{grid-template-columns:repeat(3,26px)}.mini-board i{height:26px}.mahjong-art i{width:37px;height:68px}.game-card:last-child{grid-column:auto}.invitation{grid-template-columns:1fr;padding:22px;gap:24px;margin-top:36px}.invitation>img{width:100%;aspect-ratio:1.75;object-position:center 43%}.invitation h2{font-size:1.28rem}.invitation p{font-size:.9rem}.page-heading h1{font-size:1.65rem}.page-heading>p:last-child{font-size:.96rem}.panel{padding:24px 20px;border-radius:20px}.setup-layout,.record-layout,.board-layout,.practice-layout,.garden-layout,.story-panel,.friend-duel,.community-layout{grid-template-columns:1fr;gap:24px}.resume-list{grid-template-columns:1fr}.resume-list a{flex-wrap:wrap;gap:8px 14px}.resume-list a span{font-size:.8rem}.turn-banner{font-size:1.03rem;padding:17px 18px;gap:10px}.score-row{gap:8px}.score-row>span{padding:10px;font-size:.74rem;gap:7px;flex-wrap:wrap}.score-row b{font-size:1.2rem}.score-row .stone{width:22px;height:22px}.othello-board{border-width:7px;gap:1px;border-radius:10px;max-width:620px;margin:auto}.possible{font-size:1.2rem}.move-panel{gap:12px}.move-panel p{font-size:.96rem}.move-panel>.primary{min-height:60px}.move-panel>.secondary{min-height:52px}.game-foot{gap:12px}.game-foot>.secondary{width:100%}.card-game{padding:18px 14px}.memory-board{gap:10px;margin:20px auto}.playing-card{min-height:0;border-radius:10px}.playing-card.face b{font-size:1.9rem}.playing-card.face span{font-size:1.2rem}.playing-card small{font-size:.7rem}.card-back{padding:8px}.card-back svg{width:24px;height:24px}.practice-top .secondary{margin-left:0}.practice-panel h2{font-size:1.23rem}.shogi-cell>b{font-size:1.15rem}.shogi-cell>i{font-size:.83rem}.shogi-ranks,.shogi-files{font-size:.7rem}.mahjong-hand{padding:18px 12px;gap:8px}.tile{min-width:45px;height:72px;padding:6px 9px}.practice-layout{gap:28px}.answers>p{margin-bottom:15px}.explanation{padding:22px 18px}.explanation h3{font-size:1.08rem}.explanation p{font-size:.96rem}.garden-scene>img{height:auto;aspect-ratio:1.15;object-fit:cover}.garden-caption{bottom:14px;left:14px;right:14px;padding:13px 15px}.garden-caption h2{font-size:1.04rem}.story-panel{gap:24px}.story{font-size:.95rem}.album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.album-card>div:not(.album-placeholder){padding:16px}.album-card h3{font-size:.95rem}.album-placeholder span{font-size:.7rem}.album-placeholder svg{width:32px;height:32px}.album-card .eyebrow{font-size:.65rem}.album-card .small{font-size:.73rem}.album-card .text-link{font-size:.8rem}.friend-duel form{border-left:0;border-top:1px solid var(--line);padding:24px 0 0}.friend-duel h2{font-size:1.45rem}.friend-duel p{font-size:.94rem}.friend-duel .button-row>*{width:100%}.community-section{margin-top:36px}.community-garden h3{font-size:1.04rem}.greeting-panel .button-row{flex-direction:column}.greeting-panel .button-row button{width:100%}.greeting-panel h3{font-size:1.07rem}.history li strong{font-size:.87rem}.fortune-stage{grid-template-columns:1fr;padding:30px 24px;gap:26px}.fortune-stage>img{width:130px;margin:auto}.fortune-result{font-size:2.2rem}.fortune-stage>div{text-align:center}.fortune-stage .primary{width:100%}.fortune-box h2{font-size:1.25rem}.soft-note{font-size:.88rem;padding:21px 18px;gap:12px}.soft-note svg{width:22px;height:22px}.question-menu{grid-template-columns:1fr}.notice{bottom:18px;max-width:calc(100vw - 28px);padding:14px 18px;font-size:.86rem}.care-message{flex-direction:column;gap:20px}.care-message img{width:110px}.care-message p{font-size:.97rem}.dialog-head{gap:14px;align-items:flex-start}.dialog-head h2{font-size:1.14rem}.dialog-head button{padding:8px;font-size:.74rem}dialog{padding:22px 18px;max-height:92dvh}.large-text .game-grid,.large-text .album-grid{grid-template-columns:1fr}.large-text .header .brand strong{font-size:1rem}.large-text .preferences{justify-content:flex-start}.large-text .preferences button:first-child{margin-right:0}.large-text .main-nav a{flex-direction:column;font-size:.7rem;gap:4px}.large-text .growth-label{flex-wrap:wrap}.large-text .hero-copy h1{font-size:1.75rem}.large-text .summary-character{align-items:flex-start}.large-text .hero-picture>img{aspect-ratio:1.1}.large-text .era-speech{font-size:.78rem}.large-text .quick-card>svg{display:none}.large-text .section-heading{gap:14px}.large-text .main-nav{position:static}.large-text .shogi-cell>b{font-size:1rem}.large-text .score-row>span{font-size:.7rem}.large-text .turn-banner{font-size:.95rem}.large-text .fortune-stage{padding:24px 18px}footer{padding:30px 20px}footer p{font-size:.72rem}}
@media(max-width:370px){main{padding-inline:14px}.header{padding-inline:14px}.preferences{gap:6px}.preferences button{padding:8px;font-size:.7rem}.brand strong{font-size:.98rem}.main-nav a{font-size:.73rem;gap:5px}.main-nav a span{font-size:1.1rem}.hero-copy h1{font-size:1.8rem}.game-grid,.play-grid{grid-template-columns:1fr}.game-card{display:grid;grid-template-columns:120px 1fr}.game-art,.play-grid .game-art{height:100%;min-height:190px}.game-copy,.play-grid .game-copy{padding:18px 14px}.game-tag{font-size:.73rem}.game-copy h3{font-size:1.1rem}.game-copy p{font-size:.86rem}.time{left:6px;right:auto;font-size:.6rem;bottom:9px}.card-fan i{width:46px;height:78px;padding:5px 8px;font-size:1.15rem}.card-fan i span{font-size:1.5rem}.mahjong-art i{width:29px;height:62px;font-size:1.1rem}.shogi-piece{width:57px;height:75px;font-size:1.8rem}.small-piece{width:38px;height:52px;font-size:1.3rem}.mini-board{grid-template-columns:repeat(3,23px);border-width:5px}.mini-board i{height:23px}.home-summary{padding:20px}.summary-character{gap:12px}.summary-character h2{font-size:1rem}.summary-character .eyebrow{font-size:.7rem}.growth-label{flex-wrap:wrap;gap:7px}.quick-card{padding:17px 14px;gap:12px}.quick-card>svg{display:none}.quick-card p{font-size:.77rem}.quick-card h3{font-size:.97rem}.quick-icon{width:40px;height:40px}.album-grid{grid-template-columns:1fr}.panel{padding:22px 16px}.score-row>span{font-size:.69rem}.othello-board{border-width:5px}.board-cell{padding:2px}.possible{font-size:1.1rem}.shogi-cell>b{font-size:1rem}.shogi-cell>i{font-size:.7rem}.shogi-diagram{grid-template-columns:1fr 15px}.room-code{font-size:2.4rem}.memory-board{gap:8px}.card-back{padding:6px}.playing-card.face b{font-size:1.7rem}.playing-card.face span{font-size:1.1rem}.large-text .game-card{display:block}.large-text .game-art{height:150px;min-height:150px}.dialog-head{flex-wrap:wrap}}

/* Mobile game controls stay within reach after a square is selected. */
@media(max-width:780px){
  .main-nav a{flex-direction:column;gap:4px;padding:9px 3px;font-size:.78rem;line-height:1.4;white-space:nowrap}
  .main-nav a span{font-size:1.25rem}
  .mobile-confirm{display:block;position:fixed;z-index:30;bottom:0;left:0;right:0;padding:12px 18px calc(14px + env(safe-area-inset-bottom));background:#fffffff7;border-top:2px solid #8ebac9;box-shadow:0 -6px 24px #173c501a}
  .mobile-confirm p{font-size:.88rem;margin:0 0 8px;text-align:center;font-weight:700;line-height:1.5}
  .mobile-confirm>div{display:flex;gap:12px;max-width:600px;margin:auto}
  .mobile-confirm button{flex:1;min-height:56px;padding:10px 12px;font-size:.98rem}
  main.selected-move{padding-bottom:180px}
  .selected-move .move-panel>[data-action="place"],.selected-move .move-panel>[data-action="clear-cell"]{display:none}
  .preferences button{font-size:.8rem;padding:8px 6px}
  .notice{z-index:40}
  body:has(.mobile-confirm) .notice{bottom:150px}
}
.question-group{margin-top:26px}.question-group>h3{padding-bottom:12px;border-bottom:1px solid var(--line);color:var(--green);font-size:1.07rem}
