@font-face{font-family:DosaHand;src:url('assets/handwriting.ttf') format('truetype');font-display:swap}:root{font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR',sans-serif;color:#38271d;background:#e9dfcf;font-synthesis:none;--red:#bd3423;--line:#e7d8bf;--cream:#fff9ed;--muted:#8b7866}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #c58042;outline-offset:3px}button{border:0}a{color:inherit}button:disabled{opacity:.55;cursor:wait}.app{width:100%;max-width:460px;min-height:100dvh;margin:auto;background:var(--cream);box-shadow:0 0 80px #39231318;padding-bottom:88px}header{height:76px;padding:8px 15px 8px 9px;display:flex;align-items:center;justify-content:space-between;gap:6px;position:sticky;top:0;background:#fff9edf5;backdrop-filter:blur(16px);z-index:10;border-bottom:1px solid #eee2cf}.brand{padding:0;background:none;display:flex;align-items:center;text-align:left;flex-shrink:1;min-width:0}.brand img{width:52px;height:54px;object-fit:contain}.brand>span{font-family:DosaHand,cursive;font-size:26px;white-space:nowrap;letter-spacing:-1.1px}.brand b,.hand b{font-weight:400;color:var(--red)}.header-right{display:flex;align-items:center;gap:6px;flex-shrink:0}.balance-pill{border:1px solid var(--line);background:#fff1d1;display:flex;align-items:center;gap:5px;font-size:12px;padding:8px;border-radius:20px;font-weight:800}.coin-dot{background:#d8a349;color:white;border-radius:100%;font-size:9px;width:17px;height:17px;display:grid;place-items:center}.more{font-size:23px;background:none;padding:8px;line-height:1}.preview-strip{text-align:center;font-size:10px;color:#937959;padding:7px 12px;letter-spacing:.2px;background:#f5e9d1}.preview-strip span{margin:0 7px;color:#c6ac86}main{padding:16px 18px 0}.hero{position:relative;border-radius:22px;overflow:hidden;aspect-ratio:1/1;background:#ddbd8c}.hero>img{display:block;width:100%;height:100%;object-fit:cover}.hero-tag{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);background:#fff6e4ee;padding:8px 14px;border-radius:20px;font-family:DosaHand,cursive;font-size:20px;white-space:nowrap}.hero-copy{text-align:center;padding:20px 0 12px}.eyebrow{font-size:11px;letter-spacing:.5px;color:#a27350;margin:0 0 9px}.hero-copy h1{font-family:DosaHand,cursive;font-size:37px;font-weight:400;line-height:1.05;margin:0}.section-heading{margin:28px 0 14px}.section-heading h2{font-size:20px;letter-spacing:-.7px;margin:0 0 7px}.section-heading p,.page-heading>p:not(.eyebrow){font-size:12px;color:var(--muted);line-height:1.7;margin:0}.inline{display:flex;align-items:center;justify-content:space-between;gap:8px}.inline h2{font-size:17px;margin:0}.hooks{display:grid;gap:11px}.hook{background:#fffcf5;border:1px solid #e4ca9e;box-shadow:0 4px 0 #ead9be;padding:15px;display:flex;align-items:center;gap:13px;border-radius:18px;text-align:left}.hook-icon{font-size:25px;width:46px;height:52px;border-radius:14px;background:#f9edd9;display:grid;place-items:center;flex-shrink:0}.hook-text{display:grid;gap:5px;flex:1}.hook-text small{font-size:10px;color:#9a7354}.hook-text strong{font-size:18px;line-height:1.4;letter-spacing:-.6px}.hook-text em{font-family:DosaHand,cursive;font-size:23px;color:var(--red);font-style:normal;line-height:1}.hook-arrow{font-size:23px;color:var(--red)}.free-question{display:grid;gap:6px;text-align:center;width:100%;background:none;padding:22px 10px 10px;color:#907a66;font-size:12px}.free-question strong{font-size:15px;color:#473224}.brand-banner{display:flex;align-items:center;justify-content:center;gap:6px;margin:28px 0 32px;padding:15px 0;border-top:1px dashed #dec6a0;border-bottom:1px dashed #dec6a0}.brand-banner>img{height:100px;width:98px;object-fit:contain}.brand-banner>div>span{font-size:11px;color:#96764c}.hand{display:block;font-family:DosaHand,cursive;font-size:39px;font-weight:400;letter-spacing:-1px;white-space:nowrap}.faq-list details{border-bottom:1px solid var(--line);padding:0 2px}.faq-list summary{cursor:pointer;font-size:13px;font-weight:700;list-style:none;padding:19px 20px 19px 0;position:relative;line-height:1.6}.faq-list summary:after{content:'+';position:absolute;right:0;color:#af7f50;font-size:20px;top:16px}.faq-list details[open] summary:after{content:'−'}.faq-list details p{font-size:13px;color:#7d6755;line-height:1.85;margin:0 0 20px}.text-button{font-size:12px;color:#9e6240;background:none;padding:8px}.page-heading{padding:12px 0 22px}.page-heading h1{font-size:29px;letter-spacing:-1.3px;margin:0 0 10px}.hidden{display:none!important}.bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(460px,100%);z-index:20;background:#fff9edf7;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);padding:10px 8px max(10px,env(safe-area-inset-bottom));backdrop-filter:blur(12px)}.nav{background:none;display:grid;justify-items:center;gap:5px;color:#9f8b76;font-size:10px}.nav span{font-size:23px;line-height:1}.nav.active{color:var(--red);font-weight:800}.nav.active span{transform:translateY(-1px)}footer{text-align:center;padding:30px 12px 14px;color:#a49482;font-size:10px}footer button{color:#998574;font-size:10px;background:none;padding:5px}footer p{margin:7px 0}.primary{display:block;width:100%;border-radius:14px;padding:16px;background:#3c2a20;color:#fff9ed;text-align:center;font-size:14px;font-weight:700;text-decoration:none}.secondary{background:#efe0c6;border-radius:10px;padding:10px 13px;font-size:12px;font-weight:700}.fineprint{font-size:11px;color:#998675;line-height:1.7;text-align:center;margin:14px 0 20px}.wallet-summary{padding:24px;background:#f6e7c9;border:1px solid #e6d0aa;border-radius:22px;margin:5px 0 20px}.wallet-summary>span{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:13px}.wallet-summary small{font-size:10px;color:#a18763;font-weight:400;margin-left:6px}.wallet-summary>strong{display:block;font-size:39px;letter-spacing:-1px;margin:13px 0 18px}.wallet-summary>strong small{font-size:17px;color:#66503a}.wallet-summary p{font-size:11px;color:#8c7353;margin:0}.packages{display:grid;gap:10px;margin:16px 0}.pack{display:flex;justify-content:space-between;align-items:center;text-align:left;background:#fffcf6;border:1px solid var(--line);padding:17px;border-radius:15px}.pack.active{border:2px solid var(--red);padding:16px;background:#fff1d9}.pack span{display:grid;gap:6px}.pack b{font-size:18px}.pack small{font-size:11px;color:var(--muted)}.pack>strong{font-size:13px}.section-title{font-size:17px;margin:30px 0 12px}.card{background:#fffdf7;border:1px solid var(--line);border-radius:17px;padding:17px;margin:11px 0}.card strong{font-size:14px;line-height:1.5}.card p{font-size:12px;color:#8d7863;line-height:1.7;margin:8px 0 12px}.ledger-line{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:15px 0;font-size:12px}.ledger-line small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.ledger-line strong{white-space:nowrap}.profile-feature{background:#f7ecd7;border:1px solid #e6d3b3;border-radius:20px;padding:23px;display:flex;gap:15px;align-items:center;margin-bottom:10px}.profile-initial{height:58px;width:58px;flex-shrink:0;display:grid;place-items:center;background:#e8c78b;color:#795623;font-family:DosaHand;font-size:34px;border-radius:50%}.profile-feature h2{font-size:20px;margin:0 0 7px}.profile-feature p{font-size:11px;color:var(--muted);margin:0;line-height:1.7}.tag{font-size:9px;background:#eed398;color:#8d5e24;border-radius:6px;padding:3px 6px;display:inline-block;margin-bottom:7px}.row-button{display:flex;width:100%;align-items:center;justify-content:space-between;background:none;padding:13px 4px 22px;font-size:13px}.row-button b{font-size:11px;color:#9a7354}.menu-list>button,.menu-list>a{display:flex;justify-content:space-between;align-items:center;width:100%;padding:19px 4px;background:none;border-bottom:1px solid var(--line);text-decoration:none;font-size:14px}.menu-list b{font-size:21px;color:#bda58a}.reset-button{width:100%;padding:24px 0 4px;background:none;font-size:12px;color:#a08d7c}.profile-card{border:1px solid var(--line);background:#fffdf7;border-radius:18px;padding:17px;margin:0 0 12px}.profile-card.selected{border:2px solid #be7e40;padding:16px;background:#fff1d9}.profile-top{display:flex;gap:12px;align-items:center}.profile-top>div:nth-child(2){flex:1}.profile-top h3{font-size:16px;margin:0 0 5px}.profile-top p{font-size:11px;color:var(--muted);margin:0;line-height:1.7}.profile-actions{display:flex;gap:8px;align-items:center;margin-top:14px}.profile-actions .text-button:last-child{margin-left:auto}.filter-row{display:flex;gap:7px;margin-bottom:18px;flex-wrap:wrap}.chip{font-size:12px;background:#f0e4d0;padding:9px 13px;border-radius:20px}.chip.active{background:#493022;color:#fff}.filter-row select{margin-left:auto;width:auto;max-width:160px;padding:8px;border:1px solid var(--line);border-radius:12px;font-size:11px;background:#fffdf6}.record-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.record-head small{color:#a28160;font-size:10px}.star-button{background:none;font-size:23px;padding:0 0 0 10px;color:#b67a27}.record-card>strong{display:block;margin-top:8px}.record-actions{display:flex;gap:10px}.empty-state{text-align:center;padding:40px 18px;color:#96795d;font-size:13px;line-height:1.8}.empty-state img{display:block;width:95px;height:95px;object-fit:contain;margin:0 auto 15px;opacity:.85}.chat-heading{display:flex;align-items:center;gap:10px;padding:0 0 14px}.avatar{width:43px;height:43px;flex-shrink:0;overflow:hidden;border-radius:50%;background:#eed9b0}.avatar img{height:100%;width:100%;object-fit:contain}.chat-heading h1{font-size:17px;margin:0 0 5px}.chat-heading p{font-size:10px;color:#9a8369;margin:0}.chat-heading i{display:inline-block;height:5px;width:5px;background:#b58a47;border-radius:50%;margin-right:4px}.chat-heading .text-button{margin-left:auto}.chat-profile{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;background:#f1e5ce;border-radius:11px;padding:12px;font-size:10px}.chat-profile strong{font-size:11px}.chat-log{padding:25px 0 12px;min-height:240px}.message{display:flex;gap:8px;align-items:flex-start;margin:0 0 20px}.message .avatar{width:31px;height:31px;margin-top:18px}.message-content{max-width:85%;min-width:0}.message-name{font-size:10px;color:#967c63;margin:0 0 6px 2px}.bubble{background:#fffdf9;border:1px solid #e7d8bf;border-radius:0 17px 17px 17px;padding:15px;font-size:13px;line-height:1.85;white-space:pre-line;overflow-wrap:anywhere}.message.mine{justify-content:flex-end}.message.mine .bubble{background:#ead2a2;border:0;border-radius:17px 0 17px 17px}.message-meta{font-size:9px;color:#aa9580;margin-top:6px;text-align:right}.message-note{font-size:10px;color:#a08665;text-align:center;margin:15px 0 25px}.bubble .secondary{margin-top:12px}.typing span{display:inline-block;width:5px;height:5px;background:#a88a61;border-radius:50%;margin:0 2px;animation:pulse 1s infinite}.typing span:nth-child(2){animation-delay:.15s}.typing span:nth-child(3){animation-delay:.3s}@keyframes pulse{50%{opacity:.25;transform:translateY(-3px)}}.chat-compose{position:sticky;bottom:69px;background:#fff9edf7;border-top:1px solid var(--line);padding:12px 0 3px;backdrop-filter:blur(12px);z-index:5}.chat-options{display:flex;align-items:center;gap:8px;font-size:10px;color:#8d755a;margin-bottom:9px}.chat-options label{position:absolute;width:1px;height:1px;overflow:hidden}.chat-options select{border:1px solid #e2cda9;background:#fff5df;border-radius:20px;font-size:11px;padding:6px 10px;color:#714d30;width:auto}.chat-options>span{margin-left:auto}.chat-compose form{display:flex;align-items:flex-end;gap:8px;background:#fff;border:1px solid #ddc6a4;border-radius:16px;padding:7px 7px 7px 11px}.chat-compose textarea{border:0;resize:none;flex:1;min-width:0;max-height:130px;padding:6px 0;background:none;outline:none;font-size:14px;line-height:1.6}.chat-compose form:focus-within{outline:2px solid #bd8d57}.chat-compose form button{height:40px;width:40px;flex-shrink:0;border-radius:12px;background:#493122;color:#fff;font-size:25px}.chat-compose>p{font-size:9px;line-height:1.5;color:#aa927a;margin:8px 0}.help-box{background:#f3e3c5;border-radius:20px;padding:23px;margin:28px 0}.help-box h2{font-size:18px}.help-box p{font-size:12px;color:#8e7151;margin-bottom:20px}.policy{font-size:13px;line-height:1.9;color:#80694f}.policy h2{color:#493324;font-size:16px;margin-top:25px}.toast{position:fixed;z-index:100;left:50%;transform:translateX(-50%);bottom:93px;width:min(400px,90%);background:#38271df5;color:#fff5e6;padding:15px 18px;border-radius:14px;font-size:13px;line-height:1.6;box-shadow:0 6px 24px #0002}dialog{border:1px solid #e6cfaa;border-radius:22px;background:#fff9ed;color:#38271d;padding:22px;width:calc(100% - 28px);max-width:424px;max-height:90dvh}dialog::backdrop{background:#2e2017a8;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.dialog-heading h2{font-size:23px;margin:0 0 15px}.close-button{font-size:29px;background:none;padding:0 4px 13px}#profileForm label{display:block;font-size:12px;font-weight:700;margin:14px 0 7px}#profileForm input:not([type=checkbox]),#profileForm select{width:100%;border:1px solid #ddcbae;border-radius:10px;background:#fffdf7;min-height:45px;padding:11px;color:#493727;font-size:14px}#profileForm .checkbox{display:flex;gap:8px;font-weight:400;font-size:11px;line-height:1.7;margin-top:20px}.checkbox input{width:17px;height:17px;flex-shrink:0;margin:2px 0 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body[data-page=chat] #footer{display:none}body[data-page=chat] main{padding-top:12px}body[data-page=chat] .app{padding-bottom:72px}@media(max-width:370px){header{padding-right:7px}.brand img{width:43px;height:47px}.brand>span{font-size:23px}.balance-pill{padding:7px 6px;font-size:11px}.header-right{gap:1px}.more{padding:7px}.hand{font-size:33px}.brand-banner>img{width:80px}.hook{padding:12px;gap:10px}.hook-text strong{font-size:16px}.hero-copy h1{font-size:33px}main{padding-left:14px;padding-right:14px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
/* Home poster and complimentary daily message */
.hero-poster{aspect-ratio:auto;padding-top:112px;background:#ecd5aa;isolation:isolate}.hero-poster>img{height:auto;aspect-ratio:1;object-fit:cover}.poster-title{position:absolute;inset:19px 10px auto;margin:0;text-align:center;font-family:inherit;font-size:24px;line-height:1.2;font-weight:900;letter-spacing:-1.6px;color:#4c2e1d;z-index:2}.poster-title strong{display:block;font-size:36px;margin-top:5px}.poster-title em{font-style:normal;color:#b82e1f}.poster-copy{position:absolute;bottom:15px;left:12px;z-index:2;padding:10px 12px;border-radius:12px;background:#fff6e6ed;max-width:62%;font-family:inherit}.poster-copy small{font-size:9px;letter-spacing:-.4px}.poster-copy p{font-size:17px;font-weight:850;line-height:1.4;margin:5px 0 0;letter-spacing:-.7px}.alms-button{position:absolute;right:12%;bottom:24%;display:grid;justify-items:center;gap:3px;z-index:3;background:#fff6df;border:2px solid #a94026;border-radius:16px;padding:7px 13px 10px;box-shadow:0 4px 0 #713619,0 7px 20px #49210f40;transform:rotate(-5deg)}.alms-button strong{font-family:DosaHand,cursive;font-size:30px;line-height:1;color:#a92c1a}.alms-button small{font-size:9px}.alms-arrow{color:#b42d1b;font-size:36px;font-weight:900;line-height:1;animation:almsBlink 1.3s ease-in-out infinite}@keyframes almsBlink{50%{opacity:.3;transform:translateY(5px)}}.daily-card{margin:20px 0 24px;padding:18px;border:1px dashed #c4a26d;border-radius:18px;background:#f3e8cf}.daily-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.daily-heading>span{font-size:13px;font-weight:800}.daily-heading>b{background:#665032;color:#fff8e8;font-size:10px;padding:5px 8px;border-radius:20px}.daily-body{display:flex;align-items:center;gap:12px;margin:12px 0}.daily-body img{width:68px;height:80px;object-fit:contain;flex-shrink:0}.daily-body time{font-size:10px;color:#927754}.daily-body p{font-size:14px;line-height:1.7;margin:5px 0;word-break:keep-all}.daily-card>small{display:block;text-align:right;font-size:9px;color:#957b56}.share-button{display:grid;gap:5px;width:100%;margin:24px 0 0;padding:21px 16px;background:#ead4a9;border:1px dashed #a88245;border-radius:7px 19px 8px 18px;transform:rotate(-1deg);box-shadow:3px 4px 0 #dec599}.share-button>span{font-size:11px;color:#88683d}.share-button strong{font-family:DosaHand,cursive;font-size:29px;font-weight:400}.share-button small{font-size:10px;color:#8a6d46}@media(max-width:370px){.hero-poster{padding-top:102px}.poster-title{font-size:22px}.poster-title strong{font-size:31px}.poster-copy{left:8px;bottom:9px;padding:8px}.poster-copy p{font-size:14px}.poster-copy small{font-size:8px}.alms-button{right:10%;padding:6px 10px}.alms-button strong{font-size:27px}}
/* Poster refinement: lettering on artwork, glowing tin-can target. */
.hero-poster{padding-top:0;aspect-ratio:1;overflow:hidden}.poster-title{top:12px;font-family:DosaHand,cursive;font-size:32px;font-weight:400;line-height:.95;letter-spacing:-1px;color:#402313;text-shadow:0 2px 0 #fff2d6,0 0 8px #fff4df,0 0 18px #fff4df}.poster-title strong{font-size:44px;font-weight:400;margin-top:3px}.alms-button{left:53%;top:70%;right:auto;bottom:auto;transform:translateX(-50%);background:none;border:0;box-shadow:none;padding:0;gap:0;min-width:100px}.alms-arrow{font-size:47px;color:#ffe331;line-height:1;filter:drop-shadow(0 0 5px #ffbe00);text-shadow:0 0 12px #ffd000,1px 2px 0 #8f5215;animation:goldPulse 1.4s ease-in-out infinite}.alms-button strong{font-size:28px;color:#fff04d;text-shadow:1px 2px 2px #4a2817,0 0 8px #a5660a}.alms-button small{color:#fff8d2;font-size:9px;text-shadow:0 1px 3px #32180b}@keyframes goldPulse{50%{filter:drop-shadow(0 0 13px #ffdb00);transform:translateY(4px);opacity:.65}}.poster-copy{position:relative;left:auto;bottom:auto;max-width:none;margin:17px 0 23px;padding:15px 18px;background:#fffdf7;border:1px solid #e0cba8;border-radius:16px;text-align:center}.poster-copy:before{content:'';position:absolute;top:-8px;left:25%;height:14px;width:14px;transform:rotate(45deg);background:#fffdf7;border-left:1px solid #e0cba8;border-top:1px solid #e0cba8}.poster-copy small{font-size:11px}.poster-copy p{font-size:19px;line-height:1.45}.daily-card{display:block;width:100%;text-align:left;color:inherit}.daily-card:active{background:#eadabb}.share-button{display:flex;align-items:center;justify-content:center;gap:9px;width:auto;margin:22px auto 0;padding:10px 17px;border-radius:20px;transform:none;box-shadow:none;background:#f1e3c8}.share-button strong{font-size:22px}.share-button .share-icon{font-size:17px;color:#745431}.hook-label{display:flex;align-items:center;gap:6px}.hook-label .hook-icon{font-size:19px;width:28px;height:27px;border-radius:8px;background:#f3e1c3}.hook-end{display:flex;gap:7px;align-items:center}.price-coin{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;border:2px solid #cb9b43;background:#f5d779;box-shadow:inset 0 0 0 2px #ffe8a3;color:#855419;font-size:10px;font-weight:900;white-space:nowrap}.hook-text strong{font-size:17px}.hook-arrow{font-size:20px}.empty-state img{width:125px;height:125px;border-radius:50%;object-fit:cover;opacity:1}.chat-profile-actions{display:flex;justify-content:flex-end;gap:8px;margin:8px 0}.chat-profile-actions button{font-size:11px;background:#f1e4cc;border-radius:15px;padding:8px 10px}.profile-intro{font-size:12px;line-height:1.7;color:#8a6d4a;margin:0 0 16px}@media(max-width:370px){.hero-poster{padding-top:0}.poster-title{font-size:27px}.poster-title strong{font-size:37px}.alms-button{right:auto;padding:0}.alms-arrow{font-size:37px}.alms-button strong{font-size:24px}.poster-copy{left:auto;bottom:auto;padding:14px}.poster-copy p{font-size:18px}.poster-copy small{font-size:10px}.hook-end{gap:3px}.price-coin{width:31px;height:31px;font-size:9px}.hook-text strong{font-size:15px}}

.hook-large-icon{display:grid;place-items:center;flex-shrink:0;font-size:34px;width:52px;height:60px;border-radius:16px;background:#f5e8d2}.hook{gap:10px}.hook-text{min-width:0}.hook-label{font-weight:700;font-size:11px!important}.price-coin{background:radial-gradient(circle at 30% 25%,#fff 0%,#e6e8ea 30%,#bec3c7 65%,#f0f1f2 100%);border:2px solid #999fa5;box-shadow:inset 0 0 0 2px #f5f6f7,0 2px 3px #0002;color:#5c636b;text-shadow:0 1px #fff}.hook-end{gap:5px}.hook-text strong{font-size:16px}@media(max-width:370px){.hook-large-icon{width:39px;height:49px;font-size:28px}.hook{gap:8px;padding:11px}.hook-text strong{font-size:14px}.hook-end{gap:3px}.hook-text em{font-size:21px}}
.profile-invite{display:grid;gap:5px;width:100%;margin-top:14px;padding:13px;background:#ead2a2;border:1px dashed #a27842;border-radius:12px}.profile-invite>span{font-family:DosaHand,cursive;font-size:25px}.profile-invite>strong{font-size:13px;color:#9b3c20}.profile-callout{margin:15px 0 24px;padding:20px;background:#f1dfb8;border:1px dashed #b58c52;border-radius:18px;text-align:center}.profile-callout p{font-family:DosaHand,cursive;font-size:27px;line-height:1.15;margin:0 0 17px}.profile-callout p strong{font-weight:400}.profile-callout .primary{background:#784629;font-size:13px}.profile-callout .text-button{margin-top:8px}.profile-choices{padding:0;border:0;margin:19px 0}.profile-choices legend{font-size:12px;font-weight:700;margin-bottom:10px}.relation-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.calendar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.profile-choices button{display:grid;justify-items:center;gap:6px;border:1px solid #deccac;border-radius:12px;padding:12px 5px;background:#fffdf6;font-size:12px}.profile-choices button span{font-size:25px}.profile-choices button[aria-pressed=true]{background:#f2d5a2;border:2px solid #a4562b;padding:11px 4px;color:#743617;font-weight:800}.unknown-time{background:#f2e6d0;border-radius:10px;padding:12px}#profileForm .unknown-time{margin:9px 0}.unknown-time small{display:block;font-size:10px;color:#8f775a}.time-hint{font-size:10px;color:#9c8669;margin:7px 0 14px}#profileTime:disabled{opacity:.45}#profileForm input[type=hidden]{display:none}
.identity-bar{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:11px 18px;border-bottom:1px solid var(--line);background:#fff6e3}.identity-bar button{display:grid;gap:4px;background:none;text-align:left;padding:0;min-width:0}.identity-bar button:last-child{text-align:right}.identity-bar small{font-size:10px;color:#9a7b54}.identity-bar strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.login-info{padding:15px 17px;background:#f0e6d5;border-radius:14px;margin-bottom:15px;font-size:13px}.login-info p{font-size:11px;line-height:1.7;color:#8c775e;margin-bottom:0}.representative-actions{display:flex;gap:8px;margin:10px 0 19px}.representative-actions button{flex:1;padding:11px 6px;background:#ead7b6;border-radius:10px;font-size:13px;font-weight:700}.relation-grid{grid-template-columns:repeat(3,1fr)}.relation-grid button{font-size:17px;min-height:51px;padding:13px 5px}.relation-grid button[aria-pressed=true]{padding:12px 4px}.gift-form{display:grid;gap:10px}.gift-form label{font-size:13px;font-weight:700;margin-top:10px}.gift-form input,.gift-form select,.gift-form textarea{width:100%;padding:13px;border:1px solid #d9c29d;background:#fffdf6;border-radius:12px;font:inherit;font-size:14px}.gift-form textarea{resize:vertical}.gift-form .primary{margin-top:7px}.gift-card{background:#f3e0b9;border:1px dashed #ac8450;border-radius:18px;padding:23px;margin:17px 0;overflow-wrap:anywhere}.gift-card .hand{font-size:28px;white-space:normal}.gift-card h2{font-size:25px}.gift-card p{font-size:13px;line-height:1.8;white-space:pre-line}.gift-card small,#receivedGiftStatus{font-size:11px;color:#8e7050;line-height:1.7}
.profile-entry{width:100%;text-align:left;cursor:pointer}.profile-entry>div:nth-child(2){flex:1;min-width:0}.profile-entry-arrow{font-size:11px;color:#9f7044;white-space:nowrap}.hero-poster>.alms-reaction{position:absolute;inset:0;width:100%;height:100%;opacity:0;transform:scale(1.05);transition:opacity .45s ease,transform .85s ease;pointer-events:none;z-index:1}.falling-coin{position:absolute;left:53%;top:35%;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 30% 20%,#fff,#c2c6ca 65%,#eceeef);border:3px double #858c92;box-shadow:0 2px 5px #0004;font-weight:900;font-size:15px;color:#62676b;opacity:0;z-index:4;pointer-events:none}.alms-cheer{position:absolute;left:50%;top:9%;transform:translateX(-50%);width:max-content;max-width:92%;text-align:center;background:#fff3d8ed;color:#60391e;padding:10px 13px;border-radius:16px;font-family:DosaHand,cursive;font-size:27px;opacity:0;z-index:5;pointer-events:none}.alms-playing .alms-button{visibility:hidden}.alms-playing .falling-coin{animation:coinIntoTin .7s ease-in forwards}.alms-delighted>.alms-reaction{opacity:1;transform:scale(1)}.alms-delighted .alms-cheer{opacity:1;transition:opacity .3s .2s}.alms-delighted .falling-coin{visibility:hidden}@keyframes coinIntoTin{0%{opacity:0;transform:translate(-50%,-25px) scale(1.2)}20%{opacity:1}80%{opacity:1}100%{top:80%;opacity:0;transform:translate(-50%,0) scale(.45) rotateY(360deg)}}@media(prefers-reduced-motion:reduce){.hero-poster>.alms-reaction,.alms-cheer{transition:none!important}.falling-coin{display:none}}
.pillar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:17px 0}.pillar{display:flex;flex-direction:column;align-items:center;gap:8px;background:#fff9ed;border:1px solid #d9bd8c;border-radius:13px;padding:15px 3px}.pillar>small{font-size:11px;color:#977448}.pillar>strong{font-size:27px;writing-mode:vertical-rl;letter-spacing:8px;line-height:1.4}.pillar>span{font-size:14px}.pillar .ten-god{font-size:11px;color:#9d4e2b}.chart-name{font-size:19px;margin:18px 0 9px}.chart-date{white-space:pre-line;font-size:11px;color:#917756;line-height:1.8}.chart-day{font-size:14px;font-weight:700}.element-counts{display:flex;gap:8px;justify-content:space-between}.element-counts span{font-size:12px;padding:8px;background:#f0dfbc;border-radius:8px}.chart-basis{background:#f2e7d4;padding:15px;border-radius:12px;margin:15px 0}.chart-basis summary{font-size:12px;font-weight:700;cursor:pointer}.chart-basis p{font-size:11px;line-height:1.8}.chart-basis small{font-size:9px;overflow-wrap:anywhere}.chat-chart{margin-top:15px}.chat-chart>summary{font-size:12px;color:#9a602f;cursor:pointer}.chart-error{color:#a42e22;font-size:13px;line-height:1.7}.profile-actions{flex-wrap:wrap}#profileTimezone{font-size:12px!important}

/* One mobile layout on every screen; keep document panning inside its width. */
html{width:100%;max-width:100%;overflow-x:clip;overscroll-behavior-x:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{width:100%;min-width:0;max-width:100%;overflow-x:clip;overscroll-behavior-x:none}
@supports not (overflow:clip){html,body{overflow-x:hidden}}
.app{min-width:0;padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}
main,main>section{min-width:0;max-width:100%}
main>section{overflow-wrap:anywhere}
header{padding-left:max(9px,env(safe-area-inset-left,0px));padding-right:max(7px,env(safe-area-inset-right,0px))}
.brand{flex:1;overflow:hidden}.brand img{flex-shrink:0}.brand>span{font-size:clamp(20px,5.65vw,26px);min-width:0}
.header-right{flex-shrink:0}.more{padding:7px}
.hooks,.hook,.hook-text,.daily-body>div,.profile-top>div:nth-child(2),.profile-feature>div:nth-child(2),.chat-heading>div:nth-child(2),.record-head>div,.pack>span,.ledger-line>div{min-width:0}
.hook{width:100%;max-width:100%}.hook-end{flex-shrink:0}.daily-heading,.profile-top,.profile-feature,.chat-profile{overflow-wrap:anywhere}
.brand-banner>div{min-width:0}.brand-banner .hand{font-size:clamp(25px,8.4vw,39px)}
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pillar-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.element-counts{flex-wrap:wrap}.element-counts span{flex:1;text-align:center;white-space:nowrap}
.chat-profile-actions{flex-wrap:wrap}.profile-entry-arrow{flex-shrink:0}.chat-profile strong{min-width:0;text-align:right}
.profile-choices,.gift-form{min-width:0}.relation-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.calendar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#profileForm input:not([type=checkbox]),#profileForm select,#profileTimezone,.gift-form input,.gift-form select,.gift-form textarea,.chat-compose textarea,.chat-options select{min-width:0;max-width:100%;font-size:16px!important}
dialog{overflow-x:hidden;overscroll-behavior:contain}dialog form{min-width:0}
body[data-page=chat] .app{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
.chat-compose{bottom:calc(69px + env(safe-area-inset-bottom,0px))}
.alms-arrow{display:block;width:32px;height:44px;flex-shrink:0;text-shadow:none}
@media(max-width:370px){.brand img{width:40px;height:44px}.brand>span{letter-spacing:-1px}.balance-pill{gap:3px;padding:7px 5px}.header-right{gap:0}.more{padding:6px}.brand-banner{gap:4px}.brand-banner>img{width:72px;height:84px}.alms-arrow{width:27px;height:37px}.profile-feature{padding:16px;gap:10px}.profile-entry-arrow{font-size:10px}.chat-options{flex-wrap:wrap}}
.detailed-reading{padding:17px 15px!important;white-space:normal}.reading-part{margin:0;padding:17px 0;border-top:1px solid #eadcc4;scroll-margin-top:90px}.reading-part h3{font-size:15px;line-height:1.5;color:#80502c;margin:0 0 11px}.reading-part p{font-size:14px;line-height:1.95;white-space:pre-line;overflow-wrap:anywhere;margin:0 0 13px}.reading-part p:last-child{margin-bottom:0}.reading-disclosure{font-size:10px;line-height:1.7;color:#967655;margin:0 0 14px;white-space:pre-line}.message:has(.detailed-reading) .message-content{max-width:calc(100% - 39px)}
.consult-target{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;font-size:13px;flex-wrap:wrap}.quote-summary{font-size:14px!important;font-weight:800;color:#573c22!important;background:#fff4d9;padding:12px;border-radius:10px}.extra-question{margin:10px 0;padding:12px;border:1px solid #dfd2be;border-radius:12px}.extra-question label{font-size:13px;font-weight:700}.extra-question textarea{display:block;box-sizing:border-box;width:100%;margin-top:8px;resize:vertical;font:inherit;font-size:16px;padding:10px;border:1px solid #d7cbb8;border-radius:8px;background:#fffdf8}.target-option{display:block;width:100%;text-align:left;margin:10px 0;padding:14px;border:1px solid #d7cbb8;border-radius:10px;background:#fff8ea;font-size:15px}#targetDialog{max-width:420px;box-sizing:border-box;width:calc(100% - 32px)}
/* Full-height, conversation-first mobile chat. */
body[data-page=chat]{overflow:hidden;height:100dvh;overscroll-behavior:none}
body[data-page=chat] .app{position:fixed;top:var(--chat-top,0px);left:50%;transform:translateX(-50%);width:100%;height:var(--chat-height,100dvh);min-height:0;padding:0;overflow:hidden;display:flex;flex-direction:column}
body[data-page=chat] header,body[data-page=chat] .identity-bar,body[data-page=chat] .preview-strip,body[data-page=chat] .bottom{display:none}
body[data-page=chat] main{padding:0;flex:1;min-height:0;height:100%;display:flex;flex-direction:column}
body[data-page=chat] #chat{display:flex;flex:1;min-height:0;flex-direction:column;background:#eee6d8}
#chat .chat-heading{flex-shrink:0;min-height:62px;padding:7px 12px 7px 4px;gap:8px;background:#fff9ed;border-bottom:1px solid #e4d9c6}
.chat-back{width:38px;height:44px;background:none;font-size:36px;line-height:1;flex-shrink:0}
#chat .chat-heading .avatar{width:37px;height:37px}#chat .chat-heading h1{font-size:17px;margin-bottom:4px}#chat .chat-heading p{font-size:10px}#chat .chat-heading .text-button{white-space:nowrap;font-size:12px;padding:10px 3px}
.chat-settings{flex-shrink:0;background:#f8f0e2;max-height:38%;overflow:auto;border-bottom:1px solid #e1d6c4}
.chat-settings>summary{cursor:pointer;padding:9px 15px;font-size:12px;list-style:none;color:#7a644c;display:flex;justify-content:space-between;align-items:center}
.chat-settings>summary span{font-size:11px;border:1px solid #d9c7a9;border-radius:12px;padding:3px 9px}.chat-settings[open]>summary span{background:#e9d7b4}
.chat-settings-body{padding:0 14px 12px}.chat-settings .chat-profile{padding:9px 10px}.chat-settings .chat-chart{margin:10px 0}.chat-settings .chat-options{margin:12px 0 0}.chat-settings .consult-target{padding:4px 0;font-size:12px}
#chat .chat-log{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:12px 12px 20px;position:relative;scrollbar-width:thin;scroll-padding:12px}
#chat .message-note{margin:6px 0 18px}#chat .message{margin-bottom:18px;gap:7px}#chat .message-content{max-width:calc(100% - 37px)}#chat .message.mine .message-content{max-width:88%}
#chat .bubble{font-size:15px;line-height:1.8;padding:12px 14px;border-color:#dfd4c3;box-shadow:0 1px 2px #50351e08}#chat .message.mine .bubble{background:#f6dc8f}#chat .message-name{font-size:11px}#chat .message-meta{font-size:10px;line-height:1.5}
#chat .reading-part p{font-size:15px;line-height:1.9}#chat .reading-part h3{font-size:16px}#chat .detailed-reading{padding:14px!important}
#chat .chat-compose{position:relative;bottom:auto;flex-shrink:0;max-height:42%;overflow:auto;padding:8px 12px max(7px,env(safe-area-inset-bottom,0px));background:#fff9ed;border-top:1px solid #daceba;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 8px;backdrop-filter:none}
#chat .chat-compose form{grid-column:1/-1;border-radius:22px;padding:5px 6px 5px 13px;min-height:46px}
#chat .chat-compose textarea{min-height:30px;max-height:96px;line-height:1.5;padding:3px 0;overflow-y:auto}
#chat .chat-compose form button{width:35px;height:35px;border-radius:50%;font-size:23px}
#chat #extraQuestions{grid-column:1/-1}#chat .extra-question{margin:7px 0;padding:9px}#chat .extra-question textarea{min-height:48px;padding:7px;max-height:80px}
#chat #addQuestion{font-size:12px;padding:6px 0;text-align:left}#chat .quote-summary{font-size:11px!important;line-height:1.5;margin:0!important;padding:0;background:none;text-align:right;font-weight:600}
#chat .chat-compose>p:not(.quote-summary){display:none}
body[data-page=chat] .toast{bottom:calc(95px + env(safe-area-inset-bottom,0px))}
@media(max-height:480px){#chat .chat-heading{min-height:49px;padding-top:3px;padding-bottom:3px}#chat .chat-heading .avatar{width:30px;height:30px}.chat-settings>summary{padding-top:5px;padding-bottom:5px}#chat .chat-compose{max-height:48%}}
.google-login{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;width:100%;padding:12px 18px;border:1px solid #747775;border-radius:8px;background:#fff;color:#1f1f1f;font-size:14px;font-weight:600;margin-top:16px}.google-login svg{flex-shrink:0}.google-login:disabled{cursor:not-allowed;opacity:.6}.login-info #googleLogout{margin-top:12px}.login-info .login-storage-note{font-size:11px;line-height:1.7;border-top:1px solid #ddcfba;padding-top:10px}.boot-status{position:fixed;inset:0;z-index:90;background:#fff9ed;display:grid;place-items:center;padding:30px;text-align:center;font-size:15px}.boot-status[hidden]{display:none}
