:root{font-family:"Arial Rounded MT Bold","YouYuan","幼圆","Microsoft YaHei",sans-serif;font-weight:700;font-synthesis:weight}
.topbar h1{font-size:20px;font-weight:800;letter-spacing:1px}
#volume{font-size:14px;font-weight:800}#volume small{font-size:11px;font-weight:700}
.ingredient-rail{width:72px;top:55%}.ingredient-grid{gap:13px}.left-rail{left:8px}.right-rail{right:8px}
.ingredient-button{width:72px;height:78px;border:0;background:none;box-shadow:none;border-radius:0;font-size:14px;font-weight:800;gap:2px}
.ingredient-icon{width:53px;height:53px}.ingredient-button:hover,.ingredient-button.selected{border:0;background:none;box-shadow:none}
.ingredient-button.selected>span:last-child{background:#fff6;padding:1px 6px;border-radius:10px}
.ingredient-button[data-count]:not([data-count=""]):after{top:3px;right:4px;background:#a6619b;font-weight:800}
.ingredient-icon svg{filter:drop-shadow(0 4px 3px #68476420)}
.sample-chip{position:absolute;top:10px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:7px;border:1px solid #ffffffa0;border-radius:18px;background:#fffa;padding:3px 12px 3px 4px;font-size:12px;font-weight:800;color:#765b80;z-index:3;white-space:nowrap}
.sample-chip img{width:34px;height:44px;object-fit:contain;background:linear-gradient(145deg,#c8cafa,#ffdada,#fff0b3);border-radius:12px}
.sample-chip b{font-size:10px;display:block;margin-top:3px;color:#ab79aa}
.dock{padding-top:10px}.sugar-row{font-size:14px}.sugar-row strong{font-size:13px;width:47px}#drink-name{font-weight:800;font-size:15px}
.primary-button,.secondary-button{font-size:17px;font-weight:800;letter-spacing:1px}
.tools .icon-button{background:#fff5;border:0;width:34px;height:34px;font-weight:800}.toast{font-size:12px;font-weight:800}
.sheet{border:1px solid #fff;border-radius:28px;width:calc(100% - 28px);max-width:370px;max-height:calc(100dvh - 36px);padding:20px;background:linear-gradient(145deg,#fff9f5,#fcebf2);color:#665172;box-shadow:0 25px 100px #563b7140;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.sheet::backdrop{background:#66587950;backdrop-filter:blur(7px)}
.sheet h2{font-size:25px;font-weight:800;letter-spacing:1px;margin:7px 0 0}.sheet-header{display:flex;align-items:center;justify-content:space-between}
.sheet-header .icon-button{border:0;background:#cfb9d12b;font-size:24px}.eyebrow{font-size:11px;letter-spacing:1px;color:#ac88a8}
.target-visual{height:210px;background:radial-gradient(circle at 50% 70%,#ffdc895c,transparent 58%),linear-gradient(145deg,#c5c5f3,#ffd1df);border-radius:22px;margin:15px 0 12px;display:flex;justify-content:center}
.target-visual img{height:100%;width:100%;object-fit:contain}.target-meta{display:flex;justify-content:center;gap:7px;font-size:12px}
.target-meta span{background:#f0e4ee;padding:5px 9px;border-radius:20px}.target-recipe{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0 6px}
.target-item{display:flex;align-items:center;gap:6px;background:#ffffff9c;padding:7px;border-radius:15px;font-size:12px}.target-item svg{width:31px;height:31px;flex-shrink:0}
.target-item b{display:block;font-size:11px;color:#b085a5;margin-top:3px}.target-item .order{color:#bc9abb;font-size:10px}
.sheet-note{font-size:12px;color:#aa87a5;text-align:center;line-height:1.6;margin:12px 0}.wide{width:100%;margin-top:9px}.sheet button{touch-action:manipulation}
.result-sheet{text-align:center;padding-top:28px}.result-sheet h2{font-size:35px}
.score-label{font-size:13px;color:#ae85a8;margin:12px 0}.score-label strong{font-size:23px;color:#8c5890;margin-left:6px}
.score-track{height:6px;border-radius:10px;background:#d5b4d62b;margin:0 20px;overflow:hidden}.score-track span{display:block;height:100%;background:linear-gradient(90deg,#cd8ac6,#ff9379,#ffd96b);width:0}
.result-feedback{font-size:13px;line-height:1.7;padding:0 10px;margin:20px 0}.reward{padding:14px;background:#ffe9b56e;border:1px solid #eed69580;border-radius:18px;margin:18px 0;font-size:14px;color:#ad773b}
.reward small{display:block;font-size:11px;margin-bottom:8px;color:#bd9359}.reward svg{width:50px;height:50px;display:block;margin:0 auto 7px}
.result-actions{display:flex;justify-content:center;gap:35px;margin-top:17px}.result-actions button{background:none;border:0;font-size:13px;color:#98769c;padding:8px}
.index-tabs{display:flex;gap:8px;margin-top:18px;background:#e3cfe341;border-radius:15px;padding:5px}.index-tabs button{flex:1;border:0;border-radius:11px;padding:9px;background:none;font-size:15px;font-weight:800}
.index-tabs button[aria-selected=true]{background:#fff;box-shadow:0 3px 10px #6a4e7210}.index-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}
.index-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:103px;border:1px solid #e6d7e5;border-radius:18px;background:#fff8;padding:9px 4px;font-size:13px;font-weight:800}
.index-card svg{width:44px;height:44px}.index-card small{font-size:10px;color:#ae8daa;font-weight:700}.index-card.active{border:2px solid #b580ad;background:#fff}
.index-card.locked svg{filter:grayscale(1);opacity:.4}.index-card.locked{opacity:.6}.cups-grid .index-card{min-height:136px}.cups-grid svg{height:68px;width:58px}
button:focus-visible{outline:3px solid #a879ad;outline-offset:3px}
@media(max-height:740px){.ingredient-rail{width:63px;top:56%}.ingredient-button{width:63px;height:64px;font-size:12px}.ingredient-icon{width:43px;height:43px}.ingredient-grid{gap:8px}.target-visual{height:160px}.sheet{padding:17px}.sheet h2{font-size:23px}}
@media(max-height:600px){.ingredient-rail{width:55px}.ingredient-button{width:55px;height:54px;font-size:11px}.ingredient-icon{width:36px;height:36px}.ingredient-grid{gap:5px}.sample-chip{top:5px;font-size:10px;padding:2px 8px 2px 3px}.sample-chip img{width:24px;height:32px}.topbar h1{font-size:17px}.topbar{height:44px}.dock{padding:7px 12px 9px}.sugar-row{margin:7px 0 10px;font-size:12px}.sugar-row strong{font-size:11px}.tools .icon-button{width:29px;height:29px}.primary-button,.secondary-button{height:40px;font-size:15px}.target-visual{height:130px}.target-recipe{gap:6px}.target-item{padding:4px;font-size:11px}.target-item svg{width:27px;height:27px}.target-item b{font-size:10px}.sheet-note{margin:8px 0;font-size:11px}.sheet h2{font-size:21px}}
@media(orientation:landscape) and (max-height:500px){.ingredient-rail{width:140px;top:58%}.ingredient-grid{grid-template-columns:repeat(2,1fr);gap:3px}.ingredient-button{width:60px;height:62px}.sample-chip{top:2px}.sample-chip img{height:29px}.dock-top{display:flex}.dock{padding:5px 10px}.sugar-row{margin:2px 0 4px}.actions button{height:33px}.stage{min-height:160px}.app{min-height:390px}.tools .icon-button{width:27px;height:27px}.target-visual{height:120px}.sheet{max-width:440px}.index-grid{grid-template-columns:repeat(4,1fr)}}
:root{font-weight:900}
.app,.sheet{-webkit-text-stroke:.18px currentColor}
.topbar h1,.ingredient-button,.primary-button,.secondary-button,.sheet h2,#drink-name,.index-card,.index-tabs button{font-weight:900}
.topbar h1{font-size:23px}#volume{font-size:16px;font-weight:900}#volume small{font-size:12px;font-weight:900}
.ingredient-button{font-size:16px}.sample-chip{font-size:14px}.sample-chip b{font-size:12px}
#drink-name{font-size:18px}.sugar-row{font-size:16px}.sugar-row strong{font-size:15px;width:53px}
.primary-button,.secondary-button{font-size:21px}.sheet h2{font-size:28px}.result-sheet h2{font-size:39px}
.target-meta{font-size:14px}.target-item{font-size:14px}.target-item b{font-size:12px}.sheet-note{font-size:13px}
.index-card{font-size:15px}.index-card small{font-size:11px}.index-tabs button{font-size:17px}.result-feedback{font-size:15px}.result-actions button{font-size:15px}
.storage-button{position:absolute;top:8px;right:10px;z-index:4;width:61px;height:73px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border:2px solid #fff9;border-radius:21px;background:linear-gradient(145deg,#ffbd39,#ff755a 65%,#f5619a);color:white;box-shadow:0 7px 20px #e8796959;font-size:15px;font-weight:900;transition:transform .15s,box-shadow .15s}
.storage-button svg{height:37px;width:37px;fill:none;stroke:white;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 1px #bf5d3c25)}
.storage-button:hover{transform:translateY(-2px);box-shadow:0 10px 24px #e8796970}.storage-button:active{transform:scale(.94)}
@media(max-height:740px){.ingredient-button{font-size:14px}.sheet h2{font-size:26px}}
@media(max-height:600px){.topbar h1{font-size:19px}#volume{font-size:14px}.ingredient-button{font-size:13px}.sample-chip{font-size:12px}.sample-chip b{font-size:10px}#drink-name{font-size:16px}.sugar-row{font-size:14px}.sugar-row strong{font-size:13px}.primary-button,.secondary-button{font-size:18px}.sheet h2{font-size:24px}.target-meta{font-size:12px}.target-item{font-size:12px}.target-item b{font-size:11px}.sheet-note{font-size:12px}.storage-button{top:5px;right:7px;width:53px;height:62px;border-radius:18px;font-size:13px}.storage-button svg{width:31px;height:31px}}
@media(orientation:landscape) and (max-height:500px){.storage-button{top:-41px;right:62px;width:102px;height:37px;flex-direction:row;border-radius:13px;gap:4px}.sample-chip{font-size:11px}.primary-button,.secondary-button{font-size:17px}.app{height:calc(100dvh - 8px);min-height:360px}.stage{min-height:140px}.dock{margin-bottom:5px;padding-top:4px;padding-bottom:5px}.dock-top{height:28px}#drink-name{padding:3px 0;font-size:15px}.sugar-row{line-height:1;margin:3px 0 5px}.sugar-row strong{font-size:12px}.actions button{height:31px}}
.ingredient-icon{width:72px;height:72px;background:none!important;border:0!important;border-radius:0;box-shadow:none!important}
.ingredient-icon img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 5px #8e5c9c16)}
.ingredient-button{height:95px;width:82px;font-size:15px;gap:0}
.ingredient-rail{width:82px}.ingredient-grid{gap:8px}
.dock .actions{margin-top:10px}
.index-card>span:first-child{display:flex;justify-content:center;align-items:center;width:100%;height:68px}
.index-card img{width:74px;height:74px;object-fit:contain}.index-card{min-height:134px;border:0;background:#ffffff40;box-shadow:none}
.index-card.active{border:0;box-shadow:inset 0 0 0 2px #b580ad}.index-card.locked img{filter:grayscale(1);opacity:.5}
.reward img{width:86px;height:86px;object-fit:contain}.reward>span{height:86px}
#target-dialog{max-width:390px}#target-dialog .target-visual{height:min(49dvh,380px);margin:8px 0 18px;background:linear-gradient(145deg,#f1d8eb,#ffe1c7);border-radius:24px}
#target-dialog .target-visual img{height:100%;width:100%;object-fit:contain}
#index-note{font-size:12px}
@media(max-width:360px){.ingredient-rail{width:72px}.ingredient-button{width:72px;font-size:13px}.ingredient-icon{width:64px;height:64px}}
@media(max-height:740px){.ingredient-button{height:78px;font-size:13px}.ingredient-icon{width:59px;height:59px}.ingredient-grid{gap:5px}}
@media(max-height:600px){.ingredient-rail{width:68px}.ingredient-button{width:68px;height:66px;font-size:12px}.ingredient-icon{width:49px;height:49px}.ingredient-grid{gap:3px}}
@media(orientation:landscape) and (max-height:500px){.ingredient-rail{width:150px}.ingredient-button{width:70px;height:67px}.ingredient-icon{width:50px;height:50px}.ingredient-grid{gap:4px}#target-dialog{max-width:360px}#target-dialog .target-visual{height:42dvh;margin:3px 0 10px}.dock .actions{margin-top:4px}}
.ingredient-button:disabled{opacity:.78}
.flat-tool{position:absolute;top:8px;z-index:4;width:62px;height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;background:none;border:0;border-radius:0;box-shadow:none;color:#795681;font-size:15px;font-weight:900;padding:0}
.flat-tool svg{width:39px;height:39px;fill:currentColor;stroke:none;filter:none}.flat-tool .tool-line{fill:none;stroke:#f5d6e5;stroke-width:2;stroke-linecap:round}
.flat-tool:hover{transform:translateY(-2px);background:none;box-shadow:none}.flat-tool:active{transform:scale(.95)}
.cup-tool{left:8px}.material-tool{right:8px}.sample-chip{padding-right:10px;font-size:14px}
.ingredient-button[data-count]:not([data-count=""]):after{border:0;box-shadow:none;outline:0}
.dock-top{justify-content:center;min-height:34px}.dock .actions{margin-top:7px}
.primary-button,.secondary-button{letter-spacing:1px}
#inventory-dialog .index-tabs{margin-top:16px}#cup-dialog .cups-grid{margin-top:14px}
@media(max-height:600px){.flat-tool{top:3px;width:53px;height:60px;font-size:13px}.flat-tool svg{width:33px;height:33px}.sample-chip{font-size:12px}.dock-top{min-height:27px}}
@media(orientation:landscape) and (max-height:500px){.flat-tool{top:4px;height:54px;width:57px;font-size:12px}.flat-tool svg{height:30px;width:30px}.cup-tool{left:8px}.material-tool{right:8px}.sample-chip{top:5px}.ingredient-rail{top:62%}.dock-top{min-height:24px}.dock .actions{margin-top:3px}}
