/* Only the homepage is restyled. Non-home views retain the upstream stylesheet. */
.study-brand .study-selected-mark{display:block;width:40px;height:40px;flex:0 0 40px;object-fit:cover;object-position:center;background:transparent}
.app-frame:has(.study-home) .mini-app-bar,.app-frame:has(.study-home) .basket-orb{display:none}
.app-frame:has(.study-home) .app-scroll{padding-bottom:60px}
.app-frame:has(.study-home) .bottom-nav[data-slot=tabs-list]{height:60px;padding:5px 25px;background:#fbfaf9;border-color:#e4deda}
.app-frame:has(.study-home) .bottom-nav [data-slot=tabs-trigger]{font-size:10px;color:#8a7b71;gap:3px}
.app-frame:has(.study-home) .bottom-nav [data-state=active]{color:#594e46!important}
.app-frame:has(.study-home) .bottom-nav [data-state=active]:before{display:none}
.study-home{--study-ink:#3c342e;--study-green:#7c6c62;min-height:calc(100svh - 60px);display:flex;flex-direction:column;padding-bottom:20px;background:radial-gradient(ellipse at 0 25%,#fbfaf8 0,transparent 65%),linear-gradient(145deg,#f6f2ee,#f2eee9);color:var(--study-ink);font-family:"PingFang SC","Noto Sans CJK SC","Microsoft Yahei",sans-serif}
.study-home button:focus-visible{outline:2px solid #594e46;outline-offset:4px}
.study-top{height:62px;flex-shrink:0;display:flex;align-items:center;padding:8px 24px 10px;gap:18px}
.study-brand{display:flex;align-items:center;gap:8px}.study-brand b{font-size:23px;font-weight:600;letter-spacing:2px}.study-brand small{font-size:10px;color:#857469;margin-top:6px}
.study-cut{display:flex;gap:3px;align-items:center;width:31px;height:32px;transform:rotate(25deg);flex-shrink:0}.study-cut i{height:22px;width:7px;border:1.4px solid #695c53;border-radius:50%}.study-cut i:nth-child(2){height:28px}.study-cut i:last-child{height:18px}
.study-select{margin-left:auto;display:flex;align-items:center;gap:7px;font-size:12px;min-height:44px;padding:0;color:#594e46}.study-basket{display:flex;align-items:center;gap:8px;min-height:44px;padding:0}.study-basket span{font-size:10px;background:#f0eae4;min-width:19px;height:19px;display:grid;place-items:center;border-radius:50%;color:#665951}
.study-editorial{padding:20px 18px 0;margin-bottom:24px}.study-title{display:flex;align-items:flex-end;justify-content:space-between;margin:0 6px 22px}.study-title p{font-size:10px;letter-spacing:1.5px;line-height:1.5;color:#78695f}.study-title h1{font-weight:550;letter-spacing:.5px;font-size:33px;line-height:1.4;margin-top:12px}.study-title h1 span{color:var(--study-green)}
.study-issue{font-size:8px;letter-spacing:1.4px;color:#87796f;line-height:1.8;text-align:right;padding-bottom:3px}.study-issue i{font-style:normal;display:block;margin-top:10px;font-size:24px;line-height:1;font-weight:300}
.study-photo{height:clamp(210px,calc(36svh - 22px),278px);position:relative;overflow:hidden;border-radius:27px;background:#f2ede7;isolation:isolate}.study-photo>img{object-position:center;width:100%;height:100%}.study-photo::after{content:"";position:absolute;inset:48% 0 0;background:linear-gradient(180deg,transparent,rgba(31,26,23,.12) 35%,rgba(31,26,23,.65));pointer-events:none;z-index:1}
.study-toggle{position:absolute;top:14px;right:14px;display:flex;padding:4px;border-radius:99px;z-index:2;background:#f6f3eff5;border:1px solid white;box-shadow:0 2px 5px #241f1b26,0 8px 18px #241f1b24}.study-toggle button{min-height:44px;padding:0 12px;border-radius:99px;font-size:11px;color:#75665c}.study-toggle button[aria-pressed=true]{background:#ffffff;color:#453d37;box-shadow:0 1px 4px #3f363026}
.study-caption{position:absolute;left:20px;bottom:48px;z-index:2;font-size:11px;line-height:1.6;color:white;text-shadow:0 1px 3px #1e1a1766}
.study-product{position:relative;z-index:3;display:flex;align-items:center;gap:10px;width:calc(100% - 24px);margin:-30px auto 0;padding:15px 13px;background:#fefefd;border:1px solid #e2dcd7;border-radius:19px;box-shadow:0 2px 4px #362e2810,0 8px 18px -8px #362e2838;text-align:left}
.study-product>img{width:44px;height:44px;object-fit:cover;border-radius:50%;flex-shrink:0}.study-product b{font-size:13px;font-weight:550}.study-product small{display:block;font-size:11px;line-height:1.7;color:#7b6b61;margin-top:5px}.study-price{margin-left:auto;font-size:16px;font-weight:600;white-space:nowrap}.study-price small{text-align:right;font-weight:400}.study-product>svg{color:#7c6c62}
.study-note{display:flex;align-items:center;justify-content:center;gap:17px;margin:auto 24px 0;padding:18px 0 0;min-height:70px;border-top:1px solid #ddd6d1;color:#63564e}.study-note .study-cut{opacity:.65}.study-note b{font-size:13px;font-weight:500;letter-spacing:.7px}.study-note p{font-size:10px;line-height:1.6;letter-spacing:.7px;margin-top:7px;color:#857468}
@media(max-width:360px){.study-top{padding-inline:18px;gap:12px}.study-editorial{padding-inline:14px}.study-title h1{font-size:29px}.study-product{width:calc(100% - 20px);padding:13px 9px;gap:7px}.study-product>img{width:32px;height:32px}.study-product b{font-size:11px}.study-product small{font-size:10px}.study-price{font-size:14px}.study-note{margin-inline:19px}}
@media(prefers-reduced-motion:reduce){.app-content{animation:none}}
/* Study 08: a complete opening, followed by a real, browsable meat counter. */
.study-home{padding-bottom:0}
.study-opening{min-height:min(calc(100svh - 60px),690px);display:flex;flex-direction:column}
.study-editorial{padding-top:10px;margin-bottom:0}
.study-title{margin-bottom:16px}
.study-photo{height:clamp(180px,calc(34svh - 10px),260px)}
.study-bridge{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:20px 24px 0;padding:14px 0 12px;border-top:1px solid #ddd6d1}
.study-bridge .study-note{margin:0;padding:0;min-height:44px;border:0}
.study-shelf-entry{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:9px;margin:8px 0 0;padding:0 18px;min-height:44px;border-radius:22px;color:#63564e;text-align:center;font-size:12px;font-weight:400;letter-spacing:.7px;background:none}
.study-shelf-entry::before{content:"";position:absolute;z-index:-1;inset:0 -14px;pointer-events:none;background:radial-gradient(ellipse at center,#b2a8a180,transparent 72%);opacity:.1;animation:study-invitation-light 6.4s ease-in-out 2}
.study-entry-words{animation:study-invitation-ink 6.4s ease-in-out 2}
.study-entry-arrow{display:grid;place-items:center;color:inherit;animation:study-invitation-arrow 6.4s ease-in-out 2}
.study-shelf-entry:hover::before,.study-shelf-entry:focus-visible::before,.study-shelf-entry:hover .study-entry-words,.study-shelf-entry:focus-visible .study-entry-words,.study-shelf-entry:hover .study-entry-arrow,.study-shelf-entry:focus-visible .study-entry-arrow{animation:none;opacity:1}
@keyframes study-invitation-light{0%,100%{opacity:.1;transform:scale(.88)}50%{opacity:.4;transform:scale(1.02)}}
@keyframes study-invitation-ink{0%,100%{color:#6d5f56}50%{color:#5b4f47}}
@keyframes study-invitation-arrow{0%,100%{color:#7c6c62}50%{color:#5b4f47}}
@media(prefers-reduced-motion:reduce){.study-shelf-entry::before,.study-entry-words,.study-entry-arrow{animation:none}}
/* Study35: ordered ink opens into air; whitespace, not a geometric pointer. */
.study-bridge{position:relative;isolation:isolate;border-top:0;padding-top:15px}
.study-ink-field{position:absolute;z-index:-1;pointer-events:none;top:0;left:0;width:100%;height:calc(100% - 36px);overflow:hidden}
.study-shelf{padding:30px 24px 0;background:#fbfaf9;border-top:1px solid #ddd6d1;scroll-margin-top:0}
.study-shelf-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:22px}.study-shelf-heading p{font-size:10px;letter-spacing:1.5px;color:#89776b;margin-bottom:10px}.study-shelf-heading h2{font-size:23px;font-weight:550;line-height:1.4;letter-spacing:.3px}.study-shelf-heading>span{font-size:10px;color:#89776b;padding-bottom:5px;white-space:nowrap}
.study-search{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 14px;border:1px solid #e4deda;border-radius:14px;background:#f4f0ec;color:#817065}.study-search input{width:100%;min-width:0;font:inherit;font-size:12px;border:0;background:none;outline:none;color:#3c342e;height:46px}.study-search:focus-within{outline:2px solid #665951;outline-offset:2px}.study-search input::placeholder{color:#7d6d63}.study-search input::-webkit-search-cancel-button{display:none}.study-search button{min-width:34px;min-height:44px;display:grid;place-items:center}
.study-categories{display:flex;gap:5px;margin:16px 0 12px}.study-categories button{flex:1;min-height:44px;border-radius:12px;font-size:12px;color:#77685e;border:1px solid transparent}.study-categories button[aria-pressed=true]{background:#ede6df;color:#524740;border-color:#dfd8d2;font-weight:600}
.study-shelf-meta{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#8a7b71;border-top:1px solid #e7e2de;padding:15px 0 18px}
.study-goods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 15px}.study-good{text-align:left;min-width:0;padding:0;border:0;background:none}.study-good-photo{position:relative;aspect-ratio:1.08;overflow:hidden;border-radius:18px;background:#f1ece7}.study-good-photo img{width:100%;height:100%;object-fit:cover}.study-good-photo>span{position:absolute;bottom:10px;left:10px;background:#fbf9f7ed;color:#60544c;border:1px solid #ffffffb0;border-radius:8px;padding:4px 7px;font-size:9px;line-height:1.5}.study-good h3{font-size:15px;font-weight:550;margin-top:12px;line-height:1.5}.study-good>p{font-size:10px;color:#86756a;line-height:1.6;margin-top:4px}.study-good-price{display:flex;align-items:center;gap:4px;margin-top:10px;min-height:26px}.study-good-price b{font-size:17px;font-weight:550}.study-good-price small{font-size:9px;color:#87786e}.study-good-price svg{margin-left:auto;color:#685a51}
.study-empty{text-align:center;padding:36px 5px 40px}.study-empty b{font-size:14px;font-weight:550}.study-empty p{font-size:11px;line-height:1.8;color:#827267;margin-top:10px}.study-empty button{min-height:44px;border-bottom:1px solid #a59a92;font-size:12px;color:#594e46;margin-top:12px}
.study-shelf-end{display:flex;flex-direction:column;align-items:center;border-top:1px solid #e4deda;margin-top:32px;padding:26px 0 28px}.study-shelf-end>.study-cut{opacity:.6}.study-shelf-end p{font-size:12px;color:#75665c;margin-top:12px}.study-shelf-end button{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px;color:#594e46;margin-top:10px}.study-shelf-end small{font-size:9px;color:#908177;margin-top:12px}
@media(max-width:360px){.study-shelf{padding-inline:18px}.study-shelf-heading h2{font-size:20px}.study-shelf-heading>span{font-size:9px}.study-goods{gap:22px 12px}}
@media(max-height:690px){.study-photo{height:clamp(180px,calc(30svh - 10px),245px)}.study-bridge{margin-top:14px;padding-block:10px}.study-shelf-entry{margin-top:4px}}
