:root{font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;color:#1d1d1f;background:#ececec;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.35;cursor:not-allowed}button,select,input,textarea{outline-color:#555}h1,h2,h3,p{margin:0}#app{max-width:500px;min-height:100dvh;margin:auto;background:#fff;box-shadow:0 2px 20px #0000000d}header{height:57px;display:flex;align-items:center;justify-content:space-between;padding:0 19px;border-bottom:1px solid #efefef;background:white;position:sticky;top:0;z-index:30}header .brand{font-size:18px;font-weight:800;display:flex;gap:7px;align-items:center}header .actions{display:flex;gap:9px}.icon-btn{border:0;background:none;padding:7px;color:#444;font-size:20px;min-width:33px;line-height:1}.badge{font-size:11px;color:#666;border:1px solid #e7e7e7;padding:4px 7px;border-radius:9px;white-space:nowrap}.sample{font-size:11px;color:#666;background:#f5f5f5;padding:7px 14px;border-bottom:1px solid #eee;text-align:center}.main{padding:15px 15px 110px}.section{margin:18px 0 22px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}.section h2{font-size:18px;font-weight:800}.section h3{font-size:15px}.link{font-size:12px;color:#666;border:0;background:transparent;padding:5px}.muted{color:#7a7a7a}.sub{font-size:12px;color:#777}.tiny{font-size:11px;color:#888}.big{font-size:32px;letter-spacing:-.9px;font-weight:800}.card{border:1px solid #e9e9e9;border-radius:17px;padding:14px;background:#fff}.soft{background:#f5f5f5;border:0}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.full{width:100%}.spend-main{display:block;text-align:left;padding:18px 17px;border-radius:16px;background:#f4f4f4;border:0;width:100%;margin-bottom:10px}.spend-main .big{margin-top:6px}.spend-tile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:6px;padding:13px 11px;min-height:83px}.spend-tile .amt{font-size:18px;font-weight:750;white-space:nowrap}.tap{cursor:pointer}.between{display:flex;align-items:center;justify-content:space-between;gap:10px}.row{display:flex;align-items:center;gap:10px}.gap4{gap:4px}.cat-strip{display:flex;align-items:center;gap:10px;padding:9px 4px}.cat-avatar{width:61px;height:61px;border-radius:16px;border:1px solid #ececec;background:#fafafa;padding:5px;flex:0 0 auto}.cat-avatar img{width:100%;height:100%}.cat-speech{font-size:13px;line-height:1.48;flex:1}.cat-name{font-weight:750;font-size:13px;margin-bottom:3px}.btn{border:1px solid #dedede;border-radius:11px;padding:11px 13px;background:#fff;color:#232323;font-size:13px;font-weight:650;min-height:42px}.btn.primary{background:#292929;border-color:#292929;color:white}.btn.pale{background:#f5f5f5;border-color:#f5f5f5}.btn.small{padding:6px 10px;min-height:30px;font-size:12px}.store-block{border:1px solid #e8e8e8;border-radius:15px;padding:6px}.storage{display:block;width:100%;border:0;background:#f7f7f7;border-radius:10px;text-align:center;padding:12px 4px}.storage strong{display:block;font-size:15px}.storage span{font-size:12px;color:#777;display:block;margin-top:5px}.basket{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px}.big-icon{font-size:27px;line-height:1}.layout-recipe{display:grid;grid-template-columns:1fr 1fr;gap:9px}.recipe-short{border:1px solid #e8e8e8;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:8px;min-height:96px}.recipe-short span{font-size:12px;color:#777}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(500px,100%);height:calc(70px + env(safe-area-inset-bottom));padding:7px 8px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #ebebeb;background:#fffffff7;backdrop-filter:blur(16px);display:grid;grid-template-columns:repeat(5,1fr);z-index:50}.nav{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border:0;background:transparent;font-size:10px;color:#888;min-width:0}.nav-icon{font-size:23px;color:#777;line-height:29px}.nav.active{color:#222;font-weight:800}.nav.active .nav-icon{color:#1e1e1e}.nav.receipt .nav-icon{display:grid;place-items:center;background:#222;color:white;border-radius:50%;width:49px;height:49px;margin-top:-22px;box-shadow:0 3px 10px #0002}.tabs{display:flex;gap:6px;overflow:auto;scrollbar-width:none;margin:4px 0 14px}.tab{border:1px solid #eee;background:#f5f5f5;padding:9px 12px;border-radius:100px;white-space:nowrap;font-size:12px;color:#666}.tab.active{background:#262626;color:white;border-color:#262626}.list{border:1px solid #e9e9e9;border-radius:15px;overflow:hidden}.item{padding:11px 12px;border-bottom:1px solid #ededed}.item:last-child{border-bottom:0}.itemname{font-size:14px;font-weight:750}.itemgrid{display:flex;align-items:center;justify-content:space-between;gap:8px}.itemmeta{font-size:11px;color:#888;margin-top:4px}.itemdate{white-space:nowrap;border:0;background:#f4f4f4;border-radius:8px;padding:7px;font-size:11px}.danger{color:#c14444!important}.warn{color:#ab6623!important}.success{color:#357453!important}.pill{font-size:11px;background:#f2f2f2;border-radius:999px;padding:5px 9px;color:#555;white-space:nowrap}.field{display:flex;flex-direction:column;gap:6px;margin:10px 0}.field label{font-size:12px;font-weight:750;color:#555}.field input,.field select,.field textarea,.inline-input{width:100%;font-size:14px;border:1px solid #ddd;border-radius:10px;padding:10px;background:white;color:#222;min-width:0}.field textarea{min-height:80px;resize:vertical}.inline-input{padding:7px;font-size:12px}.line{height:1px;background:#ededed;margin:12px 0}.empty{text-align:center;color:#888;font-size:13px;padding:29px 12px;border:1px dashed #ddd;border-radius:15px}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}.toolrow{display:grid;grid-template-columns:1fr 1fr;gap:8px}.overlay{position:fixed;inset:0;background:#0007;z-index:80;display:flex;align-items:flex-end;justify-content:center}.sheet{width:min(500px,100%);max-height:88dvh;overflow:auto;background:#fff;border-radius:20px 20px 0 0;padding:16px 17px calc(22px + env(safe-area-inset-bottom));box-shadow:0 -8px 30px #0001}.sheet-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.sheet h2{font-size:17px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.cal-head{text-align:center;padding:6px 0;color:#999;font-size:11px}.cal-cell{min-height:52px;border:1px solid #f0f0f0;border-radius:8px;background:white;display:flex;flex-direction:column;justify-content:flex-start;gap:5px;align-items:center;padding:7px 0;font-size:12px;color:#333}.cal-cell.selected{border:2px solid #333;background:#fafafa;font-weight:700}.cal-cell.out{border-color:transparent;color:transparent}.cal-cell:disabled{cursor:default}.cal-amt{font-size:10px;color:#666;letter-spacing:-.4px}.dot{width:5px;height:5px;border-radius:50%;background:#555}.date-top{display:flex;align-items:center;justify-content:space-between;margin:10px 0 16px}.date-arrows{display:flex;align-items:center;gap:8px}.date-arrows button{background:none;border:0;padding:8px;font-size:19px}.receipt-row{border:1px solid #eaeaea;border-radius:11px;padding:10px;margin:8px 0}.group{padding:12px;border:1px solid #ececec;border-radius:13px;margin:9px 0}.group-title{font-size:13px;font-weight:750;margin:0 0 6px}.group .receipt-row{background:#fafafa;border-color:#f4f4f4}.calendar-legend{display:flex;gap:12px;color:#777;font-size:11px;margin:9px 0}.code{font-family:ui-monospace,Menlo,monospace;font-size:11px;overflow-wrap:anywhere}.toast-show{position:fixed;z-index:100;bottom:93px;left:50%;transform:translateX(-50%);background:#292929;color:#fff;border-radius:10px;padding:12px 15px;font-size:12px;max-width:90%;box-shadow:0 5px 15px #0003}.stat-bar{border:1px solid #eee;border-radius:11px;display:flex;justify-content:space-around;margin:12px 0;padding:11px 3px;font-size:11px;color:#777}.stat-bar strong{display:block;color:#222;font-size:19px}.day-details .purchase{border:1px solid #e9e9e9;border-radius:13px;padding:13px;margin:9px 0}.kbd{display:inline-block;background:#eee;border-radius:5px;padding:2px 5px;font-size:11px}.preview{max-height:190px;width:100%;object-fit:contain;border:1px solid #eee;border-radius:10px;background:#fafafa}.syncmark{font-size:10px;color:#777}.review-stars button{border:0;background:transparent;font-size:30px;letter-spacing:-4px;color:#c4c4c4}.review-stars button.on{color:#333}@media(min-width:500px){#app{border:1px solid #e9e9e9}}@media(max-width:350px){.main{padding:11px 10px 110px}.spend-tile .amt{font-size:16px}.cat-avatar{width:51px;height:51px}.btn{padding:8px}.tabs{gap:4px}}
/* V2: original neutral interface, real Yul portrait, restrained cards */
:root{color-scheme:light;background:#f5f5f5;color:#1e1e1e}
html{scroll-behavior:smooth}
body{background:#f5f5f5}
#app{background:#fff}
header{height:64px;padding:0 18px;border-color:#f0f0f0;box-shadow:none}
header .brand{font-size:19px;gap:10px;letter-spacing:-.7px}
header .brand svg{stroke-width:1.5}
header .actions{align-items:center}
header .syncmark{font-size:10px;max-width:115px;text-align:right}
.main{padding:13px 16px 112px}
.section{margin:21px 0 18px}
.section h2{font-size:17px;letter-spacing:-.35px}
.section-head{margin-bottom:12px}
.card{border-color:#e9e9e9;border-radius:14px}
.link{display:inline-flex;align-items:center;gap:2px;color:#666;font-size:12px;padding:6px 0}
.cat-hero{display:flex;align-items:center;gap:12px;margin:8px 0 19px;min-height:103px}
.cat-avatar{width:91px;height:91px;border-radius:18px;border:1px solid #e8e8e8;background:#ececec;padding:0;overflow:hidden;flex-shrink:0}
.cat-avatar img{width:100%;height:100%;object-fit:cover;object-position:center 40%;display:block}
.cat-speech{flex:1;min-width:0;border:1px solid #e8e8e8;background:#fff;border-radius:16px;padding:13px 14px;font-size:13px;line-height:1.6;position:relative}
.cat-speech::before{content:"";position:absolute;left:-6px;top:25px;transform:rotate(45deg);width:10px;height:10px;background:white;border-left:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8}
.cat-speech strong{font-size:11px;color:#666;display:block;margin-bottom:3px;font-weight:650}
.cat-speech p{font-weight:600;letter-spacing:-.15px}
.attention{display:flex;align-items:center;gap:9px;width:100%;border:1px solid #e8d3d3;background:#fdf9f9;color:#9d4343;border-radius:11px;text-align:left;padding:12px;font-size:12px}
.attention span{flex:1}
.spend-main{background:#f6f6f6;border:0;border-radius:15px;padding:19px 17px;margin:0 0 10px}
.spend-main .big{margin-top:5px;font-size:31px;letter-spacing:-1px;color:#222}
.spend-main .tiny{margin-top:3px}
.spend-tile{position:relative;min-height:86px;padding:13px 12px;gap:8px;justify-content:center;border:1px solid #ebebeb}
.spend-tile .sub{display:flex;align-items:center;gap:8px;font-size:11.5px;padding-right:8px;white-space:normal;line-height:1.3}
.spend-tile .sub svg{flex-shrink:0;color:#626262}
.spend-tile .amt{font-size:17px;letter-spacing:-.3px;color:#232323}
.tile-arrow{position:absolute;right:8px;top:50%;transform:translateY(-50%);color:#aaa}
.delivery-short{display:flex;justify-content:space-between;width:100%;border:0;padding:10px 2px 3px;text-align:left;margin-top:2px;color:#777}
.home-inventory-grid{display:grid;grid-template-columns:2fr 1fr;gap:8px}
.home-inventory-grid .store-block{display:flex;flex-direction:column;gap:5px;border:1px solid #eaeaea;border-radius:15px;padding:5px}
.home-inventory-grid .storage{display:flex;align-items:center;gap:8px;min-height:73px;width:100%;padding:11px;background:#f7f7f7;border:0;border-radius:10px;color:#292929;text-align:left}
.home-inventory-grid .storage>.st-icon{display:grid;place-items:center;flex:0 0 32px;color:#666}
.home-inventory-grid .storage>span:nth-child(2){flex:1}
.home-inventory-grid .storage strong{font-size:13px;white-space:nowrap}
.home-inventory-grid .storage small{font-size:12px;display:block;color:#787878;margin-top:3px}
.home-inventory-grid .storage>svg:last-child{flex-shrink:0;color:#9a9a9a}
.home-inventory-grid .storage.basket{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;background:#fafafa;border:1px solid #eaeaea;min-height:157px;padding:9px 2px;position:relative}
.home-inventory-grid .basket .st-icon{flex:initial}
.home-inventory-grid .basket small{margin:0}
.home-inventory-grid .basket>svg:last-child{position:absolute;right:3px;top:50%;transform:translateY(-50%)}
.layout-recipe{gap:8px}
.recipe-short{border:1px solid #ececec;border-radius:13px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;text-align:left;gap:10px;min-height:138px;padding:11px;color:#242424;background:#fff;position:relative}
.recipe-short .recipe-icon{display:grid;place-items:center;color:#666;background:#f7f7f7;border-radius:9px;width:100%;height:60px}
.recipe-short>div:nth-child(2){display:flex;flex-direction:column;gap:5px;min-width:0}
.recipe-short span{font-size:11px;color:#777}
.recipe-short strong{font-size:13px;line-height:1.4;max-width:100%;overflow-wrap:anywhere}
.recipe-short>svg:last-child{position:absolute;right:8px;bottom:10px;color:#aaa}
.chat-short{width:100%;display:flex;align-items:center;gap:12px;border:1px solid #e9e9e9;border-radius:13px;background:white;padding:14px;text-align:left;color:#333}
.chat-short>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.chat-short strong{font-size:13px}
.chat-short small{color:#777;font-size:11px;line-height:1.35}
.chat-short>svg:last-child{color:#aaa}
.bottom-nav{height:calc(71px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98);border-top:1px solid #ececec;box-shadow:0 -6px 20px #00000005;padding:7px 4px calc(8px + env(safe-area-inset-bottom))}
.nav{font-size:10px;gap:4px}
.nav-icon{height:29px;display:grid;place-items:center}
.nav.receipt .nav-icon{height:51px;width:51px;margin-top:-19px;border-radius:50%;color:white;background:#222;box-shadow:0 3px 9px #0002}
.nav.receipt.active .nav-icon{color:#fff}
.nav.active{font-weight:750}
.nav.active svg{stroke-width:2.3}
.sample{background:#f5f5f5;color:#777}
@media(max-width:350px){.cat-avatar{height:76px;width:76px}.cat-hero{gap:8px}.cat-speech{padding:9px 11px}.spend-tile .amt{font-size:16px}.main{padding-left:12px;padding-right:12px}}

/* V3 interactive Yul pet: neutral original layout */
.pet-stage{display:flex;align-items:center;gap:13px;margin:5px 0 19px;min-height:120px;padding:10px 2px 8px;border-bottom:1px solid #f2f0ec}.pet-scene{width:126px;height:111px;position:relative;flex:none;overflow:hidden}.pet-fridge{position:absolute;left:3px;bottom:13px;width:55px;height:74px;border:1px solid #e9e7e2;border-radius:12px;background:#f7f7f5;color:#aaa;display:grid;place-items:center}.pet-character{position:absolute;right:1px;bottom:5px;border:0;background:none;width:82px;height:86px;padding:0;cursor:pointer;transform-origin:50% 90%;animation:yul-breathe 2.8s ease-in-out infinite}.pet-character img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 3px #00000013)}.pet-paws{position:absolute;left:53px;bottom:2px;color:#b8afa5;letter-spacing:4px}.pet-stage.alarm .pet-character{animation:yul-knock .65s ease-in-out infinite alternate}.pet-stage.shop .pet-character{animation:yul-look 2.5s ease-in-out infinite}.pet-stage.cook .pet-character{animation:yul-breathe 2.1s ease-in-out infinite}.pet-pop{animation:yul-pop .45s ease-in-out!important}.pet-stage .cat-speech{min-height:83px;display:flex;flex-direction:column;justify-content:center}.pet-stage .cat-speech small{font-size:10px;color:#999;margin-top:7px}.pet-stage .cat-speech p{font-size:13px}@keyframes yul-breathe{0%,100%{transform:translateY(1px) rotate(-2deg)}50%{transform:translateY(-4px) rotate(2deg)}}@keyframes yul-knock{0%{transform:translateX(-4px) rotate(-9deg)}100%{transform:translateX(3px) rotate(7deg)}}@keyframes yul-look{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(9deg)}}@keyframes yul-pop{50%{transform:translateY(-14px) scale(1.08)}}@media(max-width:360px){.pet-scene{width:100px}.pet-character{width:70px}.pet-stage{gap:6px}}@media(prefers-reduced-motion:reduce){.pet-character{animation:none!important}}
