:root{font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif;color:#222321;background:#e9e5dc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d75a35;outline-offset:3px}h1,h2,p{margin-top:0}h1{font-size:clamp(2.15rem,8vw,3.45rem);line-height:1.12;letter-spacing:-.07em;font-weight:850}h1 em{font-style:normal;color:#dc5730}h2{letter-spacing:-.04em}.app-shell{width:min(100%,560px);min-height:100dvh;margin:auto;background:#f6f2e9;box-shadow:0 10px 60px #37332918;display:flex;flex-direction:column;overflow:hidden}.app-shell main{flex:1}.app-header{height:70px;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #292d251b}.brand,.header-link{border:0;background:none;color:#20231f;display:flex;align-items:center}.brand{font-size:1rem;font-weight:800;gap:9px;letter-spacing:-.04em}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#dc5730;color:#fff;font-family:serif;font-weight:700}.header-link{font-size:.82rem;font-weight:700;gap:4px}.app-footer{padding:25px 26px calc(25px + env(safe-area-inset-bottom));border-top:1px solid #292d251b;display:flex;justify-content:space-between;gap:10px;color:#77786f;font-size:.75rem}.eyebrow{text-transform:uppercase;letter-spacing:.17em;font-size:.72rem;font-weight:800;color:#a34930}.button{min-height:48px;border-radius:15px;border:1px solid transparent;padding:12px 18px;font-weight:800;display:inline-flex;justify-content:center;align-items:center;gap:14px;transition:transform .16s,background .16s,box-shadow .16s}.button:active,.mode-card:active,.option:active{transform:scale(.98)}.button--large{min-height:58px;width:100%;font-size:1.05rem}.button--primary{background:#dc5730;color:#fff;box-shadow:0 6px #ac4125}.button--primary:hover{background:#c64a29}.button--primary:disabled{box-shadow:none}.button--outline{background:#fffaf1;border-color:#242621;color:#222321}.button--ghost{background:transparent;color:#474941}.text-button{padding:5px 0;border:0;background:none;color:#31342d;font-weight:700}.page-enter{animation:page-in .35s ease both}@keyframes page-in{0%{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}.chip-row{display:flex;flex-wrap:wrap;gap:7px}.chip{display:inline-flex;min-height:29px;align-items:center;padding:4px 10px;border-radius:999px;background:#fff7ed;border:1px solid #e7d6c0;color:#6d503a;font-size:.78rem;font-weight:700}.lead{color:#64655d;line-height:1.75;font-size:1rem}.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}.toast{position:fixed;z-index:50;bottom:calc(24px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(calc(100vw - 32px),490px);background:#252923;color:#fff;padding:15px 18px;border-radius:14px;box-shadow:0 15px 40px #171a1640;text-align:center;font-weight:650;animation:page-in .2s ease both}.home{padding:18px 24px 24px}.home-hero{height:375px;border-radius:24px;background:#e9cc8f;position:relative;overflow:hidden;display:flex;align-items:flex-start}.home-hero__image{position:absolute;inset:0;background-image:url(/demos/shi-a-chi-shen-me/images/food-table.png);background-size:cover;background-position:center 46%;filter:saturate(.94)}.home-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f5e6c5ed 0%,#f5e6c5a6 45%,transparent 82%)}.home-hero__content{position:relative;z-index:1;width:72%;padding:27px 23px}.home-hero .eyebrow{color:#8b4429;font-size:.61rem;letter-spacing:.12em}.home-hero h1{margin:17px 0 12px;font-size:clamp(2.7rem,11vw,4.1rem);line-height:1.03}.hero-title-button{padding:0;border:0;background:none;color:#232521;font-size:inherit;line-height:inherit;letter-spacing:inherit;font-weight:inherit;text-align:left}.hero-title-button em{color:#d3512e}.home-hero p{max-width:205px;line-height:1.6;font-weight:750;font-size:.91rem}.home>.button{margin-top:16px;justify-content:space-between;padding-inline:22px}.home-section-title{display:flex;justify-content:space-between;align-items:center;margin:31px 2px 13px;font-weight:800;font-size:.86rem}.home-section-title span:last-child{font-size:.7rem;color:#86877d;letter-spacing:.1em}.mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.mode-card{border:1px solid #d9d4c9;background:#fffdf8;border-radius:18px;padding:15px;min-height:119px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;transition:transform .16s,border-color .16s}.mode-card:hover{border-color:#da785b}.mode-icon{font-size:1.6rem;color:#d35530;line-height:1}.mode-card strong{font-size:.96rem;margin-top:10px;letter-spacing:-.04em}.mode-card small{font-size:.74rem;color:#8a8b82;margin-top:4px}.home-footer{margin:24px 2px 0;display:flex;justify-content:space-between;gap:12px;color:#77786d;font-size:.73rem;line-height:1.5}.home-footer span:last-child{text-align:right}.quiz,.swipe{padding:24px 25px calc(40px + env(safe-area-inset-bottom));min-height:calc(100dvh - 130px);display:flex;flex-direction:column}.step-top{display:flex;justify-content:space-between;align-items:center;font-size:.79rem;color:#8b8c82;font-weight:750}.progress-track{height:6px;background:#e7e0d5;border-radius:999px;margin:18px 0 42px;overflow:hidden}.progress-track span{display:block;height:100%;background:#dc5730;border-radius:inherit;transition:width .25s}.question-head .eyebrow{display:block;margin-bottom:11px}.question-head h1{font-size:clamp(2rem,8vw,2.8rem);margin-bottom:12px}.question-head p{color:#77786e;line-height:1.6}.options{margin-top:21px}.options--grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.option{min-height:62px;padding:11px 13px;border-radius:15px;border:1px solid #dcd7cc;background:#fffdf8;text-align:left;color:#2c2e28;font-weight:750;display:flex;align-items:center;justify-content:space-between;gap:5px}.option span{color:#b8afa3}.option:hover,.option--selected{border-color:#d55731;background:#fff3e9}.option--selected span{color:#d55731}.bottom-actions{display:flex;gap:10px;margin-top:auto;padding-top:28px}.bottom-actions .button{flex:1}.random{padding:80px 26px 70px;min-height:calc(100dvh - 140px);display:flex;flex-direction:column;align-items:flex-start}.random-mark{font-size:8rem;line-height:1;color:#dc5730;animation:slow-spin 14s linear infinite;margin-bottom:28px}@keyframes slow-spin{to{transform:rotate(360deg)}}.random h1{margin:18px 0}.random p{max-width:380px;color:#686a60;line-height:1.75}.random .button{margin-top:38px}.loading-copy{align-self:center;padding:20px;color:#a34b32;font-weight:700}.result,.summary,.group,.history{padding:33px 25px 52px}.result-stamp{font-size:.72rem;letter-spacing:.18em;color:#a54d31;font-weight:850;margin-bottom:17px}.result h1{margin-bottom:26px}.food-card{border:1px solid #e1c1a8;border-radius:24px;background:#f4ddbe;padding:31px 24px;position:relative;overflow:hidden}.food-card:after{content:"✳";position:absolute;right:-4px;top:-33px;font-size:8rem;line-height:1;color:#e8b98a;opacity:.65;pointer-events:none}.food-card>*{position:relative;z-index:1}.food-card h2{font-size:clamp(2.15rem,9vw,3.1rem);line-height:1.18;margin:18px 0 28px;color:#282924}.food-card .eyebrow{color:#9a5334}.food-card .chip{background:#fff6e8;border-color:#d8ac86}.food-card--compact{padding:19px;background:#fffaf2;border-color:#e4ded2}.food-card--compact:after{font-size:5rem;top:-25px;right:0}.food-card--compact h2{font-size:1.35rem;margin:9px 0 15px}.food-card--compact .chip{font-size:.7rem;min-height:25px}.result-reason{margin:22px 2px 16px;font-size:1rem;line-height:1.75;color:#575a51}.gentle-note{border-left:3px solid #dc5730;padding-left:13px;color:#a24930;line-height:1.6;font-weight:700}.result-actions{display:grid;gap:12px;margin-top:30px}.result-links{display:flex;flex-wrap:wrap;gap:13px;margin-top:24px}.result-links button{border:0;background:none;padding:0;color:#9b4b33;font-size:.8rem;font-weight:750;text-decoration:underline;text-underline-offset:4px}.result-end{margin:36px 0 0;text-align:center;color:#9c9b8f;font-size:.76rem}.result .lead{margin-bottom:26px}.summary h1{margin:12px 0}.section-heading{font-size:1.2rem;margin:32px 0 13px}.candidate-list{display:grid;gap:10px}.candidate-list>button,.group-result{display:block;width:100%;text-align:left;padding:0;border:0;background:none;position:relative}.candidate-list>button>span,.group-result>span{position:absolute;right:16px;top:18px;font-size:.75rem;color:#aa4d2d;font-weight:800}.summary>.button{margin-top:25px}.empty-card{border-radius:17px;border:1px dashed #cbbfac;background:#fffaf2;padding:20px;color:#68695e;line-height:1.7}.swipe-stage{margin:auto 0 25px;animation:card-in .25s ease both;touch-action:pan-y}@keyframes card-in{0%{transform:translate(20px);opacity:.5}to{transform:translate(0);opacity:1}}.swipe-stage .food-card{min-height:235px;display:flex;flex-direction:column;justify-content:center}.vote-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.vote-actions button{min-height:57px;border-radius:15px;background:#fffdf8;border:1px solid #d7d0c3;font-weight:800;color:#4a4d43}.vote-actions .vote-actions__yes{background:#dc5730;color:#fff;border-color:#dc5730}.group h1{font-size:2.4rem;margin:13px 0}.member-list{display:grid;gap:13px;margin-top:28px}.member-card{border:1px solid #e2ddd2;border-radius:19px;background:#fffdf8;padding:18px}.member-head{display:flex;align-items:center;gap:8px}.member-number{color:#d35530;font-weight:850;font-size:.75rem}.member-head input{width:100%;min-width:0;border:0;border-bottom:1px solid #d9d4ca;background:transparent;padding:5px;color:#2b2d28;font-weight:800;font-size:1rem}.member-head button{border:0;background:none;color:#9f4a34;font-size:.75rem;white-space:nowrap}.member-select{display:flex;align-items:center;justify-content:space-between;margin:19px 0 14px;gap:10px}.member-select label{font-size:.83rem;color:#66685f}.member-select select{border:1px solid #d9d1c4;background:#fffaf2;border-radius:9px;padding:7px;color:#33352d;max-width:55%}.mini-options{display:flex;flex-wrap:wrap;gap:7px}.mini-option{border:1px solid #ddd6ca;background:#fffdf8;border-radius:999px;min-height:34px;padding:5px 10px;font-size:.76rem;color:#696a60}.mini-option--active{border-color:#d35935;background:#fff0e3;color:#a64427;font-weight:800}.group-actions{display:flex;gap:9px;margin-top:20px}.group-actions .button{flex:1;font-size:.82rem}.safety-note{color:#818177;font-size:.78rem;line-height:1.65;margin:19px 0}.group-results{margin-top:29px}.group-results h2{font-size:1.2rem}.group-result{margin-top:10px}.history h1{margin:14px 0}.history-list{margin-top:28px;border-top:1px solid #ded8cd}.history-item{display:flex;justify-content:space-between;gap:12px;padding:18px 0;border-bottom:1px solid #ded8cd}.history-item h2{font-size:1.17rem;margin:5px 0 2px}.history-item small{color:#929186;font-size:.72rem}.history-item__actions{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:8px}.history-item__actions button{border:0;background:none;color:#a54d32;font-weight:750;font-size:.73rem;white-space:nowrap}.history-clear{margin-top:24px;color:#9e4a34}.history .empty-card{margin-top:28px}.share-page{padding:25px 24px 55px}.share-hint{margin:18px 0;color:#77786e;font-size:.84rem}.share-card{background:#f7e7ce;border:1px solid #cfa883;border-radius:23px;overflow:hidden}.share-card__top{display:flex;justify-content:space-between;padding:18px 20px;color:#985336;font-weight:850;font-size:.72rem;letter-spacing:.12em}.share-card__image{height:184px;background:url(/demos/shi-a-chi-shen-me/images/food-table.png) center 45%/cover no-repeat}.share-card__body{padding:25px 22px 13px}.share-card__body>p{margin:14px 0 3px;color:#5e6056}.share-card__body h1{font-size:clamp(2.4rem,11vw,4.5rem);margin:0 0 18px;overflow-wrap:anywhere}.share-card__note{font-size:.84rem;line-height:1.6;color:#6e6b5f!important;margin:24px 0 8px!important}.share-card__brand{padding:16px 22px 20px;text-align:right;color:#995436;font-size:.8rem;font-weight:800}@media(max-width:390px){.app-header{padding-inline:17px}.home,.quiz,.swipe,.result,.summary,.group,.history,.share-page{padding-left:17px;padding-right:17px}.home-hero{height:340px}.home-hero__content{padding:20px 17px;width:76%}.home-hero h1{font-size:2.65rem}.home-hero p{font-size:.82rem}.mode-card{padding:12px;min-height:112px}.mode-card strong{font-size:.84rem}.mode-card small{font-size:.68rem}.group-actions{flex-direction:column}}@media(min-width:800px){body{padding-block:30px}.app-shell{min-height:calc(100dvh - 60px);border-radius:26px}.home-hero{height:390px}.quiz,.swipe{min-height:660px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
