:root{--paper:#f6f4ec;--ink:#17231f;--muted:#787d72;--line:#d3d5c9;--lime:#d8f47a;--scene:#eeeee6;font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans CJK JP",Meiryo,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;padding:28px 24px;min-width:280px}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:3px solid #739b35;outline-offset:5px}button:disabled{cursor:default}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.game-shell{max-width:1180px;margin:0 auto;border:1.5px solid var(--ink);border-radius:14px;background:var(--paper);position:relative;overflow:hidden}.header{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid var(--ink);gap:12px}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-icon{width:34px;height:30px;stroke-width:2.3}h1{font-size:19px;letter-spacing:-.05em;margin:0;line-height:1.4;font-weight:900}.sound-toggle{display:flex;align-items:center;justify-content:center;gap:8px;height:34px;min-width:86px;padding:0 12px;background:transparent;border:1.5px solid var(--ink);border-radius:30px;font:600 12px/1 ui-monospace,monospace;transition:background .2s}.sound-toggle[aria-pressed=true]{background:var(--lime)}.sound-toggle .icon{width:18px;height:18px}.sound-toggle[aria-pressed=false] .sound-waves{display:none}.sound-toggle[aria-pressed=true] .sound-cross{display:none}.game-content{padding:26px 30px 22px}.intro{display:grid;grid-template-columns:1.5fr .72fr .85fr;align-items:center;gap:24px;margin-bottom:24px}.headline h2{margin:0;font-size:clamp(28px,3.2vw,42px);line-height:1.32;letter-spacing:-.055em;font-weight:900}.headline h2>span{position:relative;z-index:0;white-space:nowrap}.headline h2>span:after{content:"";position:absolute;left:-2px;right:-20px;bottom:-2px;height:7px;background:var(--lime);z-index:-1;transform:rotate(-3deg);border-radius:70% 40%}.score{padding-left:12px;align-self:end}.score-label{font-size:12px;letter-spacing:.08em;margin-bottom:1px}.score-number{display:flex;align-items:baseline;white-space:nowrap;gap:7px}.score-number strong{font-family:"Arial Narrow",Impact,ui-sans-serif,sans-serif;font-weight:800;font-size:68px;line-height:1.1;letter-spacing:-.07em;font-variant-numeric:tabular-nums}.score-number>span{font-family:ui-sans-serif,sans-serif;font-size:24px;font-weight:750;letter-spacing:-.06em}.score-number .unit{font-size:15px;margin-left:3px}.prayer-panel{padding-left:22px;border-left:1px solid var(--line)}.gauge-label{display:flex;justify-content:space-between;font-size:11px;gap:10px;margin-bottom:11px}.gauge-label b{font-weight:600}.prayer-meter{height:10px;border:1px solid var(--ink);background:#e1e2d8;border-radius:20px;overflow:hidden}.prayer-meter>div{width:0;height:100%;background:var(--lime);transition:width .65s cubic-bezier(.2,.75,.25,1)}.next-evolution{font-size:11px;color:var(--muted);margin-top:10px}.playfield{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(280px,1fr);border:1px solid var(--ink);border-radius:9px;overflow:hidden;min-height:390px;height:clamp(350px,44vh,450px)}.scene-wrap{position:relative;overflow:hidden;background:var(--scene);min-width:0}#scene{width:100%;height:100%;display:block}.scene-topline{position:absolute;top:20px;left:22px;right:22px;display:flex;justify-content:space-between;align-items:center;pointer-events:none;font-size:10px;letter-spacing:.12em;color:#596158}.scene-topline>span:first-child{font:500 10px/1 ui-monospace,monospace;letter-spacing:.15em}#scene-status{display:flex;align-items:center;gap:6px;font-size:10px;letter-spacing:.06em}#scene-status i{width:5px;height:5px;border-radius:50%;background:#97b451}.scene-caption{position:absolute;bottom:18px;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:14px;pointer-events:none}.scene-caption strong{font-size:14px;letter-spacing:.12em;font-weight:650}.scene-caption>span{width:28px;height:1px;background:currentColor}.quote{position:absolute;top:51px;left:50%;transform:translateX(-50%);font-size:12px;white-space:nowrap;background:rgba(246,244,236,.91);padding:8px 13px;border:1px solid #c7cbbe;border-radius:3px;box-shadow:0 3px 0 #17231f08;max-width:94%;letter-spacing:.02em;pointer-events:none}.quote:after{content:"";position:absolute;bottom:-4px;left:50%;width:6px;height:6px;transform:rotate(45deg);background:var(--paper);border-right:1px solid #c7cbbe;border-bottom:1px solid #c7cbbe}.inbox{padding:0 22px;background:var(--paper);border-left:1px solid var(--ink);display:flex;flex-direction:column;min-width:0}.inbox-heading{display:flex;align-items:center;gap:10px;border-bottom:1px solid #a9aea1;height:55px;flex-shrink:0}.inbox-heading .icon{width:26px;height:24px}h3{font-size:15px;letter-spacing:.03em;margin:0;font-weight:750}.inbox-heading>span{margin-left:auto;border:1px solid #c1c8b9;background:#e6e9df;min-width:23px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:50%;font:11px/1 ui-monospace,monospace}.mail{padding-top:20px;flex:1;min-width:0}.mail-sender{display:flex;align-items:center;gap:8px;min-width:0}.sender-avatar{width:30px;height:30px;background:#e4e5db;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.sender-avatar .icon{width:17px;height:17px;color:#7c8479}.mail-sender>div{min-width:0;display:flex;flex-direction:column;gap:3px}.mail-sender strong{font-size:11px;font-weight:650;overflow-wrap:anywhere;line-height:1.4}.mail-sender>div>span{font-size:10px;color:var(--muted)}#mail-time{font-size:9px;margin-left:auto;white-space:nowrap;color:var(--muted)}h4{margin:20px 0 14px;padding-bottom:13px;border-bottom:1px solid var(--line);font-size:17px;line-height:1.45;letter-spacing:.01em;font-weight:750}.mail-body,.mail-prayer{font-size:13px;line-height:1.9;overflow-wrap:anywhere;letter-spacing:.025em;margin:0}.mail-prayer{margin-top:14px}.mail-prayer mark{background:var(--lime);color:var(--ink);padding:2px 3px;font-weight:750;border-radius:3px;display:inline-block;white-space:nowrap}.mail-status{display:flex;gap:4px;margin-top:18px}.mail-status>span{width:3px;height:3px;border-radius:50%;background:#77806e}.mail-batch{font-size:10px;color:var(--muted);border-top:1px dashed var(--line);padding:10px 0 12px;line-height:1.5;min-height:36px}.mail.is-empty .mail-body{color:#727a6e}.mail.is-empty .mail-prayer{margin-top:24px}.action-area{padding-top:20px}.apply-button{display:flex;align-items:center;justify-content:center;gap:20px;position:relative;isolation:isolate;overflow:hidden;background:var(--ink);color:var(--paper);border:1px solid var(--ink);border-radius:45px;width:100%;height:76px;box-shadow:0 3px 0 #0a120e;transition:transform .12s,background .2s,box-shadow .12s;font-size:31px;font-weight:800;letter-spacing:.13em}.apply-button:hover:enabled{background:#293c2e}.apply-button:active:enabled{transform:translateY(2px);box-shadow:0 1px 0 #0a120e}.apply-icon{width:37px;height:37px;stroke-width:1.7}.apply-batch{font-size:26px;letter-spacing:-.03em;color:var(--lime);font-weight:650}.apply-batch>span{font-size:14px;margin-left:3px}.button-progress{position:absolute;inset:0;z-index:-1;transform-origin:left;transform:scaleX(0);background:#d8f47a15}.apply-button:disabled{color:#e2e7db}.apply-button:disabled .apply-icon{animation:paper-drift 1.5s ease-in-out infinite}.apply-button.is-busy .button-progress{animation:button-wait 3s linear forwards}.action-hint{display:flex;align-items:center;justify-content:center;gap:12px;font-size:11px;letter-spacing:.08em;margin:15px 0 17px;color:#5d6758}.action-hint>span{width:28px;height:1px;background:#838a7b}.evolution-track{max-width:650px;margin:0 auto}.evolution-track ol{display:flex;list-style:none;padding:0;margin:0;justify-content:space-between;position:relative}.evolution-track ol:before{content:"";height:1px;background:#9ba393;position:absolute;left:28px;right:28px;top:12px}.evolution-track li{position:relative;width:64px;display:flex;align-items:center;flex-direction:column;gap:8px;font-size:11px;letter-spacing:.07em}.stage-dot{width:25px;height:25px;background:#e1e3d9;border:1.5px solid #6b7764;border-radius:50%;z-index:1;position:relative;transition:background .5s}.current .stage-dot{background:var(--lime);border:2px solid var(--ink)}.current .stage-dot:after{position:absolute;content:"";inset:-5px;border-radius:50%;border:1px solid var(--ink)}.current>span:last-child{font-weight:750}.complete .stage-dot{background:var(--lime)}.particles{position:fixed;inset:0;pointer-events:none;z-index:50;overflow:hidden}.prayer-flight{position:absolute;left:0;top:0;padding:3px 7px;background:var(--lime);color:var(--ink);border-radius:4px;font-weight:800;font-size:17px;box-shadow:0 0 18px #d8f48999;will-change:transform,opacity}.light-mote{position:absolute;left:0;top:0;width:5px;height:5px;border-radius:50%;background:#e7ff8e;box-shadow:0 0 8px #cfe982;will-change:transform,opacity}.mail.arrived{animation:mail-arrive .4s ease-out}.mail-prayer.is-glowing mark{box-shadow:0 0 14px #b9d77899;animation:prayer-glow 1.1s ease-in-out infinite}.absorb-number{position:absolute;left:50%;top:42%;font:800 30px/1 ui-sans-serif,sans-serif;color:#5a791b;opacity:0;pointer-events:none}.absorb-number.show{animation:float-number 1.1s ease-out forwards}.evolution{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#17231f00;pointer-events:none;opacity:0;transition:opacity .3s;z-index:5}.evolution.show{opacity:1;background:#17231fbc;backdrop-filter:blur(3px)}.evolution-inner{display:flex;flex-direction:column;align-items:center;color:var(--paper);gap:14px;text-align:center;padding:20px;transform:translateY(12px);transition:transform .5s}.evolution.show .evolution-inner{transform:translateY(0)}.evolution-inner>span:first-child{font-size:12px;letter-spacing:.2em;color:var(--lime)}.evolution-inner>strong{font-size:clamp(30px,4vw,52px);font-weight:800;letter-spacing:.12em}.evolution-inner>span:last-child{font-size:12px;letter-spacing:.04em}.ending{position:absolute;inset:0;background:#111b17;color:var(--paper);z-index:20;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:55px;animation:ending-in 1.6s ease both;overflow:hidden}.ending[hidden]{display:none}.ending>p{font-family:"Hiragino Mincho ProN","Noto Serif CJK JP",serif;font-size:clamp(28px,5vw,56px);letter-spacing:.16em;margin:0;z-index:1}.ending button{display:flex;align-items:center;justify-content:center;gap:24px;min-height:50px;background:transparent;border:1px solid #69765e;border-radius:30px;color:#dbe4d0;padding:12px 28px;font-size:13px;letter-spacing:.08em;animation:ending-in 1s 2s both;z-index:1}.ending button:hover{background:#ffffff0b}.ending button .icon{width:18px;height:18px}.ending-orbit{position:absolute;width:410px;height:410px;border:1px solid #76835a1b;border-radius:50%;transform:rotate(-28deg) scaleY(.6);box-shadow:0 0 140px #bddb6b05}.ending-orbit:after{content:"";position:absolute;inset:-30px;border:1px solid #76835a12;border-radius:50%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[data-stage="4"] .scene-topline,[data-stage="5"] .scene-topline,[data-stage="4"] .scene-caption,[data-stage="5"] .scene-caption{color:#e2e9ce}[data-stage="4"] .absorb-number,[data-stage="5"] .absorb-number{color:var(--lime)}[data-stage="5"] .quote{opacity:0}.is-offer .inbox-heading{color:#526e21}.is-offer #inbox-badge{background:var(--lime)}.is-offer h4{color:#526e21}.is-offer .mail-body{font-size:17px;line-height:1.9}.is-reply .mail-body{font-size:13px}
@keyframes mail-arrive{from{opacity:.3;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes prayer-glow{50%{box-shadow:0 0 24px #a8c954b0}}@keyframes float-number{0%{opacity:0;transform:translate(-50%,0) scale(.8)}20%{opacity:1}100%{opacity:0;transform:translate(-50%,-60px) scale(1)}}@keyframes button-wait{to{transform:scaleX(1)}}@keyframes paper-drift{50%{transform:translate(3px,-3px)}}@keyframes ending-in{from{opacity:0}to{opacity:1}}
@media(min-width:1500px){body{padding-top:40px}.playfield{height:450px}}
@media(max-width:900px) and (min-width:701px){body{padding:18px}.game-content{padding:22px}.header{padding:0 22px}.intro{gap:12px;grid-template-columns:1.3fr .65fr .7fr}.headline h2{font-size:30px}.score-number strong{font-size:54px}.score-number>span{font-size:20px}.prayer-panel{padding-left:12px}.inbox{padding:0 16px}.playfield{grid-template-columns:minmax(0,1.5fr) minmax(265px,1fr)}.quote{font-size:10px}}
@media(max-width:700px){body{padding:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.game-shell{width:100%;border:0;border-radius:0;min-height:100svh}.header{height:55px;padding:0 17px;gap:8px}.brand{gap:8px}.brand-icon{width:25px;height:23px;stroke-width:2.2}h1{font-size:13px;letter-spacing:-.065em}.sound-toggle{min-width:59px;height:30px;padding:0 8px;gap:4px;font-size:10px}.sound-toggle .icon{width:15px;height:15px}.game-content{padding:16px 15px 18px}.intro{grid-template-columns:1fr auto;gap:13px 12px;margin-bottom:15px}.headline h2{font-size:25px;line-height:1.32}.headline h2>span:after{height:5px;right:-8px;bottom:-2px}.score{padding-left:0;align-self:center}.score-label{font-size:10px;letter-spacing:.02em;text-align:right;margin-bottom:2px}.score-number{gap:5px}.score-number strong{font-size:44px}.score-number>span{font-size:17px;letter-spacing:-.05em}.score-number .unit{font-size:11px;margin-left:1px}.prayer-panel{grid-column:1/-1;padding:0;border:0;display:grid;grid-template-columns:1fr auto;gap:5px 12px}.gauge-label{font-size:9px;margin:0;grid-column:1}.gauge-label>span:last-child{display:none}.prayer-meter{height:6px;grid-column:1;grid-row:2}.next-evolution{grid-column:2;grid-row:1/3;font-size:10px;align-self:center;margin:0}.playfield{display:flex;flex-direction:column;height:auto;min-height:0;border-radius:7px}.scene-wrap{height:clamp(205px,29svh,285px);flex-shrink:0}.scene-topline{top:13px;left:14px;right:14px;font-size:9px}.scene-topline>span:first-child,#scene-status{font-size:9px}.quote{top:34px;font-size:10px;padding:6px 9px}.scene-caption{bottom:12px;gap:10px}.scene-caption strong{font-size:12px}.scene-caption>span{width:22px}.inbox{padding:0 16px;border-left:0;border-top:1px solid var(--ink);min-height:198px}.inbox-heading{height:38px;gap:8px}.inbox-heading .icon{width:22px;height:21px}h3{font-size:13px}.inbox-heading>span{height:18px;min-width:19px;font-size:9px}.mail{padding-top:10px}.sender-avatar{width:24px;height:24px}.sender-avatar .icon{width:14px;height:14px}.mail-sender{gap:7px}.mail-sender strong{font-size:10px}.mail-sender>div>span{font-size:9px}.mail-sender>div{gap:1px}#mail-time{font-size:9px}h4{font-size:14px;margin:10px 0 8px;padding-bottom:8px}.mail-body,.mail-prayer{font-size:11px;line-height:1.75;letter-spacing:.015em}.mail-prayer{margin-top:7px}.mail.is-empty .mail-prayer{margin-top:8px}.mail-status{display:none}.mail-batch{font-size:9px;margin-top:9px;min-height:27px;padding:6px 0 8px;border-top:1px dashed var(--line)}.mail-prayer mark{padding:0 3px}.action-area{padding-top:14px}.apply-button{height:62px;font-size:25px;gap:14px;letter-spacing:.12em}.apply-icon{width:30px;height:30px}.apply-batch{font-size:23px}.apply-batch>span{font-size:12px}.action-hint{font-size:9px;letter-spacing:.035em;margin:12px 0 17px;gap:9px}.action-hint>span{width:18px}.evolution-track{max-width:350px;padding:0 8px}.evolution-track ol:before{top:8px;left:25px;right:25px}.evolution-track li{font-size:9px;gap:6px;width:45px}.stage-dot{width:18px;height:18px}.current .stage-dot:after{inset:-4px}.evolution-inner{gap:10px}.evolution-inner>strong{font-size:31px}.evolution-inner>span:first-child{font-size:10px}.evolution-inner>span:last-child{font-size:10px}.ending{position:fixed;min-height:100svh;padding:20px;gap:45px}.ending>p{font-size:29px;letter-spacing:.12em;white-space:nowrap}.ending button{font-size:12px}.is-offer .mail-body{font-size:15px}.is-reply .mail-body{font-size:11px}.absorb-number{font-size:25px}}
@media(max-width:370px){.header{padding:0 12px}.brand{gap:6px}h1{font-size:11px}.brand-icon{width:22px}.game-content{padding:13px 12px}.headline h2{font-size:21px}.score-number strong{font-size:38px}.score-number>span{font-size:15px}.intro{gap:10px}.inbox{padding:0 13px}.mail-body,.mail-prayer{font-size:11px}.quote{font-size:9px}.apply-button{font-size:23px}.ending>p{font-size:25px}}
@media(max-width:700px) and (max-height:700px){.header{height:48px}.game-content{padding-top:10px;padding-bottom:12px}.intro{margin-bottom:10px;gap:8px 12px}.headline h2{font-size:21px}.score-number strong{font-size:37px}.score-label{font-size:9px}.scene-wrap{height:180px}.scene-topline{top:10px}.quote{top:29px;padding:5px 8px}.scene-caption{bottom:9px}.inbox{min-height:180px}.inbox-heading{height:33px}.mail{padding-top:8px}h4{margin-top:7px;padding-bottom:5px;margin-bottom:6px}.mail-prayer{margin-top:5px}.mail-batch{margin-top:6px;padding:5px 0;min-height:23px}.mail-sender>div>span{display:none}.sender-avatar{width:21px;height:21px}.action-area{padding-top:10px}.apply-button{height:53px}.action-hint{margin:9px 0 13px;font-size:9px}.evolution-track li{font-size:9px}.stage-dot{width:16px;height:16px}.evolution-track ol:before{top:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.ending button{animation:none}.apply-button:active:enabled{transform:none}.evolution.show{backdrop-filter:none}}
/* Reading the joke matters more than fitting more decorative scenery. */
@media(max-width:700px){.scene-wrap{height:clamp(190px,25svh,250px)}.mail-body,.mail-prayer,.is-reply .mail-body{font-size:13px;line-height:1.8}.mail-sender strong{font-size:11px}.mail-batch{font-size:10px}.inbox{min-height:208px}.sound-toggle{position:relative}.sound-toggle:after{content:"";position:absolute;inset:-7px 0}.evolution-inner>span:last-child{max-width:280px;line-height:1.8}}
@media(max-width:700px) and (max-height:700px){.scene-wrap{height:128px}.scene-topline{top:8px}.quote{top:24px;font-size:9px}.scene-caption{bottom:6px}.scene-caption strong{font-size:10px}.inbox{min-height:190px}.mail-body,.mail-prayer,.is-reply .mail-body{font-size:12px;line-height:1.7}.mail-prayer{margin-top:5px}.mail-batch{font-size:9px}.headline h2{font-size:19px}.intro{margin-bottom:8px}.score-number strong{font-size:34px}.action-hint{margin:9px 0 12px}}
.evolution{background:#17231fbc}[data-stage="5"] .evolution{position:fixed;inset:0;z-index:60;background:#17231fe6;backdrop-filter:blur(2px)}
[data-stage="2"] .quote,[data-stage="3"] .quote,[data-stage="4"] .quote{top:auto;bottom:44px}
@media(max-width:700px) and (max-height:700px){[data-stage="2"] .quote,[data-stage="3"] .quote,[data-stage="4"] .quote{bottom:28px}}
[data-stage="5"] .evolution.show{position:fixed;inset:0;z-index:60;background:#17231fe6;backdrop-filter:blur(2px)}[data-stage="5"] .evolution.show:before,[data-stage="5"] .evolution.show:after{content:"";position:absolute;left:50%;top:50%;width:min(70vw,570px);aspect-ratio:1;border:1px solid #d8f47a4d;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 100px #d8f47a12,inset 0 0 100px #d8f47a09;animation:awakening-orbit 2.65s ease-out both}[data-stage="5"] .evolution.show:after{width:min(85vw,690px);border-color:#d8f47a1f;animation-delay:.12s}[data-stage="5"] .evolution-inner{z-index:1}[data-stage="5"] .evolution-inner>strong{font-size:96px;color:var(--lime);letter-spacing:.12em;text-indent:.12em;font-family:"Hiragino Mincho ProN","Noto Serif CJK JP",serif}@keyframes awakening-orbit{from{opacity:0;transform:translate(-50%,-50%) scale(.65)}45%{opacity:1}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
