* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
        a { text-decoration: none; }
        body { background-color: #FFF9F5; max-width: 450px; margin: 0 auto; padding-bottom: 130px; display: flex; flex-direction: column; min-height: 100vh; }
        :root { --primary: #F05A28; }
        .fixed-header { position: sticky; top: 0; z-index: 100; background: #fff; }
        .page-header { display: flex; align-items: center; padding: 14px 15px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
        .user-avatar { width: 50px; height: 50px; border-radius: 25px; object-fit: cover; margin-right: 12px; }
        .header-text h1 { font-size: 22px; font-weight: 700; color: #2C1810; }
        .header-text p { font-size: 12px; color: #A0522D; margin-top: 2px; }
        .header-icon { margin-left: auto; font-size: 24px; color: #D2691E; }
        .top-btn-group { display: flex; gap: 10px; padding: 8px 15px; background: #fff; border-bottom: 1px solid #F0E2D4; flex-wrap: wrap; align-items: center; }
        .top-btn { padding: 7px 14px; border-radius: 30px; font-size: 14px; border: none; background: #fff; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
        .btn-search { background: #F5EDE6; color: #5D3A1A; }
        .btn-sponsor { background: #FFE4C4; color: #D2691E; }
        .btn-create { background: #F05A28; color: #fff; margin-left: auto; }
        .btn-kitchen { background: #F05A28; color: #fff; margin-left: auto; }
        .guide-container { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; text-align: center; }
        .guide-card { background: #fff; border-radius: 32px; padding: 40px 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); width: 100%; }
        .guide-icon { font-size: 64px; color: #F05A28; margin-bottom: 20px; }
        .guide-title { font-size: 24px; font-weight: 700; color: #2C1810; margin-bottom: 12px; }
        .guide-desc { font-size: 14px; color: #A0522D; margin-bottom: 30px; line-height: 1.5; }
        .guide-btn { background: #F05A28; color: #fff; border: none; padding: 14px 28px; border-radius: 50px; font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
        .swiper-area { background: #fff; margin: 8px 12px; border-radius: 20px; padding: 10px 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
        .swiper-area::-webkit-scrollbar { display: none; }
        .recommend-title { font-size: 16px; font-weight: 700; color: #2C1810; padding: 0 16px 8px 16px; display: flex; align-items: center; gap: 6px; }
        .rec-list { display: inline-flex; gap: 12px; padding: 0 16px; }
        .rec-item { width: 110px; background: #FEFAF5; border-radius: 16px; padding: 6px; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,0.05); display: inline-block; }
        .rec-img { width: 100%; height: 80px; object-fit: cover; border-radius: 12px; }
        .rec-name { font-weight: 600; margin-top: 6px; font-size: 13px; color: #5D3A1A; white-space: normal; }
        .main-layout { display: flex; flex: 1; min-height: 0; background: #fff; border-radius: 24px; margin: 8px 12px 0; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
        .left-sidebar { width: 110px; background: #FDF8F2; overflow-y: auto; flex-shrink: 0; }
        .cate-title { position: sticky; top: 0; background: #FDF8F2; padding: 12px 8px; text-align: center; font-size: 15px; font-weight: 700; color: #5D3A1A; border-bottom: 1px solid #F0E2D4; z-index: 20; }
        .sidebar-item { padding: 14px 8px; text-align: center; font-size: 14px; color: #5A3E2B; cursor: pointer; }
        .sidebar-item.active { background: #fff; font-weight: 600; color: var(--primary); border-left: 3px solid var(--primary); }
        .right-content { flex: 1; padding: 8px 12px; overflow-y: auto; background: #FFF; }
        .content-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: #2C1810; }
        .dish-item { display: flex; align-items: center; margin-bottom: 16px; background: #FFFBF7; border-radius: 14px; padding: 6px 10px; }
        .dish-img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; margin-right: 12px; }
        .dish-name { flex: 1; font-size: 16px; font-weight: 500; color: #2C1A10; }
        .add-cart-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; border: none; font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
        .cart-popup { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); width: calc(100% - 30px); max-width: 420px; background: #fff; border-radius: 24px; padding: 18px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); display: none; z-index: 999; }
        .cart-popup.show { display: block; }
        .cart-list-container { max-height: 300px; overflow-y: auto; }
        .cart-header { display: flex; justify-content: space-between; margin-bottom: 12px; border-bottom: 1px solid #F0E2D4; padding-bottom: 10px; }
        .close-btn { font-size: 24px; background: none; border: none; color: #B97F51; cursor: pointer; }
        .cart-empty { text-align: center; padding: 25px 0; color: #B97F51; }
        .cart-list-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #F5EBE2; }
        .cart-img { width: 40px; height: 40px; border-radius: 10px; margin-right: 10px; }
        .cart-del { background: none; border: none; color: var(--primary); cursor: pointer; }
        .bottom-cart-bar { position: fixed; bottom: 80px; left: 15px; width: calc(100% - 30px); max-width: 420px; background: #fff; border-radius: 50px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 6px 20px rgba(0,0,0,0.1); z-index: 10; padding: 8px 16px; transition: width 0.2s ease; }
        .bottom-cart-bar.collapsed { width: auto; justify-content: flex-start; gap: 10px; }
        .bottom-cart-bar.collapsed .cart-full-content { display: none; }
        .cart-full-content { display: flex; align-items: center; flex: 1; gap: 8px; }
        .cart-icon-wrap { position: relative; width: 44px; height: 44px; background: #FDF4EC; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 22px; color: var(--primary); }
        .cart-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; background: var(--primary); color: #fff; font-size: 11px; border-radius: 30px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
        .btn-invite { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); padding: 6px 14px; border-radius: 40px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
        .btn-order-now { background: var(--primary); color: #fff; border: none; padding: 8px 20px; border-radius: 40px; font-size: 14px; font-weight: 600; cursor: pointer; }
        .btn-order-now:disabled { background: #E0CBB8; cursor: not-allowed; }
        .collapse-btn { background: none; border: none; font-size: 20px; color: var(--primary); cursor: pointer; padding: 0 8px; }
        .cart-expand-btn { display: none; }
        .bottom-cart-bar.collapsed .cart-expand-btn { display: flex; }
        .bottom-cart-bar.collapsed .cart-collapse-btn { display: none; }
        .bottom-cart-bar:not(.collapsed) .cart-collapse-btn { display: flex; }
        .search-modal { position: fixed; bottom: 0; left: 0; right: 0; max-width: 450px; margin: 0 auto; background: #fff; border-radius: 28px 28px 0 0; transform: translateY(100%); transition: transform 0.3s ease; z-index: 1000; height: 70vh; display: flex; flex-direction: column; }
        .search-modal.show { transform: translateY(0); }
        .search-modal-header { padding: 16px; border-bottom: 1px solid #F0E2D4; display: flex; align-items: center; gap: 12px; }
        .search-modal-input { flex: 1; padding: 10px 14px; border: 1px solid #F0E2D4; border-radius: 40px; background: #FEFAF5; outline: none; }
        .search-modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: #B97F51; }
        .search-results { flex: 1; overflow-y: auto; padding: 12px; }
        .search-result-item { display: flex; align-items: center; margin-bottom: 16px; background: #FFFBF7; border-radius: 14px; padding: 8px 12px; }
        .search-result-img { width: 50px; height: 50px; border-radius: 10px; margin-right: 12px; }
        .search-result-name { flex: 1; font-size: 16px; font-weight: 500; }
        .search-add-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; border: none; font-size: 20px; cursor: pointer; }
        .sponsor-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 1100; display: none; align-items: center; justify-content: center; }
        .sponsor-modal.show { display: flex; }
        .sponsor-content { background: #fff; border-radius: 28px; padding: 24px; text-align: center; width: 260px; }
        .sponsor-qrcode { width: 200px; height: 200px; object-fit: contain; margin: 12px 0; }
        .sponsor-close { margin-top: 12px; background: var(--primary); color: #fff; border: none; padding: 8px 20px; border-radius: 40px; cursor: pointer; }
        .bottom-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 450px; background: #fff; display: flex; justify-content: space-around; padding: 8px 0 12px; border-top: 1px solid #F0E2D4; z-index: 5; }
        .nav-item { text-align: center; font-size: 11px; color: #9B7A5C; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; }
        .nav-item i { font-size: 20px; }
        .nav-item.active { color: var(--primary); }
        .toast-msg { position: fixed; bottom: 180px; left: 50%; transform: translateX(-50%); background: #2C1810; color: #fff; padding: 6px 16px; border-radius: 40px; font-size: 13px; z-index: 1200; opacity: 0; transition: 0.2s; pointer-events: none; }
        .share-popup {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 1200;
            display: none;
            align-items: center;
            justify-content: center;
        }
        .share-popup.show { display: flex; }
        .share-box {
            background: #fff;
            border-radius: 28px;
            width: 85%;
            max-width: 340px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }
        .share-title { font-size: 20px; font-weight: 700; color: #2C1810; margin-bottom: 8px; }
        .share-desc { font-size: 13px; color: #A0522D; margin-bottom: 15px; line-height: 1.4; }
        .share-link {
            background: #F5EDE6;
            padding: 10px;
            border-radius: 16px;
            font-size: 12px;
            word-break: break-all;
            margin-bottom: 15px;
            color: #5D3A1A;
        }
        .share-btn { background: var(--primary); color: #fff; border: none; padding: 10px; border-radius: 40px; width: 100%; margin-bottom: 10px; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
        .share-close { background: #F5EDE6; color: #5D3A1A; border: none; padding: 10px; border-radius: 40px; width: 100%; font-size: 15px; cursor: pointer; }