/* CSS variables for active theme (Default: Elegant Guofeng) */
        :root {
            --primary: #1A365D;      /* 黛蓝 Deep Canal Blue */
            --secondary: #9C2A2A;    /* 朱砂 Cinnabar Red */
            --accent: #D4AF37;       /* 琥珀金 Amber Gold */
            --bg-page: #F7F4EB;      /* 宣纸白 Washi White */
            --bg-card: rgba(255, 255, 255, 0.9);
            --border-color: rgba(26, 54, 93, 0.12);
            --border-gold: rgba(212, 175, 55, 0.35);
            --font-family: 'Noto Serif SC', serif;
            --border-radius: 14px;
            --shadow: 0 10px 35px rgba(26, 54, 93, 0.08);
            --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA7C11 100%);
            --blue-gradient: linear-gradient(135deg, #2A4D7C 0%, #1A365D 100%);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: #EFECE4;
            background-image: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
                              radial-gradient(circle at 90% 80%, rgba(26, 54, 93, 0.08) 0%, transparent 50%);
            font-family: 'Inter', system-ui, sans-serif;
            color: #1A365D; /* Deep Canal Blue text color for light bg contrast */
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            overflow-x: hidden;
        }

        /* Ambient glow wrapper around phone */
        .emulator-container {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .emulator-container::before {
            content: '';
            position: absolute;
            width: 440px;
            height: 880px;
            background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
            z-index: -1;
            pointer-events: none;
        }

        /* ==================== PHONE FRAME MOCKUP (LUXURY HARDWARE) ==================== */
        .phone-frame {
            width: 385px;
            height: 825px;
            background: #15181E;
            border: 14px solid #1D2128;
            border-radius: 54px;
            box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.35), /* Gold metallic chamfer */
                        0 20px 80px rgba(0, 0, 0, 0.85),
                        inset 0 0 8px rgba(0, 0, 0, 0.8);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        /* Highlight sheen across the screen */
        .phone-frame::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(120deg, rgba(255, 255, 255, 0.04) 30%, rgba(255, 255, 255, 0) 31%);
            pointer-events: none;
            z-index: 2000;
        }

        /* iPhone Dynamic Island */
        .phone-notch {
            position: absolute;
            top: 13px;
            left: 50%;
            transform: translateX(-50%);
            width: 105px;
            height: 28px;
            background: #000000;
            border-radius: 20px;
            z-index: 1000;
            box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 10px;
        }

        .phone-camera {
            width: 8px;
            height: 8px;
            background: #0D1627;
            border-radius: 50%;
            box-shadow: inset 0 0 2px rgba(255,255,255,0.4);
        }

        .phone-sensor {
            width: 35px;
            height: 4px;
            background: #111;
            border-radius: 2px;
        }

        /* Status Bar */
        .status-bar {
            height: 44px;
            padding: 14px 26px 0 26px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.75rem;
            color: var(--primary);
            font-weight: 700;
            z-index: 999;
            user-select: none;
            background-color: var(--bg-page);
        }

        .status-bar-icons {
            display: flex;
            gap: 6px;
            align-items: center;
        }

        /* ==================== WECHAT NAVBAR (CENTERED TITLE) ==================== */
        .wechat-navbar {
            height: 44px;
            background-color: var(--bg-page);
            border-bottom: 1.5px solid var(--border-color);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding: 0 16px;
            z-index: 999;
            color: var(--primary);
        }

        .wechat-title {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            font-family: var(--font-family);
            font-weight: 900;
            font-size: 1rem;
            letter-spacing: 0.08em;
            white-space: nowrap;
            display: flex;
            align-items: center;
        }

        /* Red stamp seal (印章) styling */
        .seal-stamp {
            border: 1px solid var(--secondary);
            color: var(--secondary);
            font-family: var(--font-family);
            font-size: 0.52rem;
            font-weight: 900;
            padding: 1px 3px;
            line-height: 1;
            border-radius: 2px;
            transform: rotate(-4deg);
            display: inline-block;
            margin-left: 5px;
            opacity: 0.85;
            background: rgba(156, 42, 42, 0.03);
            letter-spacing: 0;
            box-shadow: 0 0 1px rgba(156, 42, 42, 0.2);
        }

        .wechat-capsule {
            display: flex;
            align-items: center;
            gap: 7px;
            background: rgba(0, 0, 0, 0.04);
            border: 1px solid rgba(0, 0, 0, 0.06);
            padding: 4px 9px;
            border-radius: 20px;
            z-index: 1000;
            color: var(--primary);
        }

        .capsule-dot {
            width: 5px;
            height: 5px;
            background: currentColor;
            border-radius: 50%;
        }

        .capsule-ring {
            width: 10px;
            height: 10px;
            border: 2px solid currentColor;
            border-radius: 50%;
            display: inline-block;
        }

        /* Screen Viewport Scrollable Area */
        .phone-viewport {
            flex: 1;
            background-color: var(--bg-page);
            overflow-y: auto;
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .phone-viewport::-webkit-scrollbar {
            display: none;
        }

        /* Bottom Tab Bar */
        .tab-bar {
            height: calc(64px + env(safe-area-inset-bottom, 0px));
            background-color: rgba(247, 244, 235, 0.96);
            backdrop-filter: blur(15px);
            border-top: 1.5px solid var(--border-color);
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding-bottom: env(safe-area-inset-bottom);
            z-index: 998;
        }

        .tab-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            color: #7A7A7A;
            font-size: 0.65rem;
            font-weight: 500;
            cursor: pointer;
            flex: 1;
            transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .tab-item:active {
            transform: scale(0.9);
        }

        .tab-item.active {
            color: var(--secondary);
            font-family: var(--font-family);
            font-weight: 900;
        }

        .tab-icon {
            width: 22px;
            height: 22px;
            fill: currentColor;
        }

        /* ==================== SCREENS ==================== */
        .screen {
            display: none;
            flex-direction: column;
            width: 100%;
            height: 100%;
            animation: fadeIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
        }

        .screen.active {
            display: flex;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* ==================== HOMEPAGE DESIGNS ==================== */
        /* Elegant Search Bar */
        .search-container {
            padding: 14px 16px;
            background-color: var(--bg-page);
        }

        .search-box {
            background: #FFFFFF;
            border: 1px solid var(--border-color);
            box-shadow: inset 0 1px 3px rgba(0,0,0,0.03);
            border-radius: 20px;
            height: 38px;
            display: flex;
            align-items: center;
            padding: 0 16px;
            gap: 8px;
            color: #8C8C8C;
            font-size: 0.78rem;
            position: relative;
        }

        .search-box::after {
            content: '查 询';
            position: absolute;
            right: 4px;
            top: 4px;
            bottom: 4px;
            background: var(--blue-gradient);
            color: #F7F4EB;
            font-family: var(--font-family);
            font-weight: 600;
            font-size: 0.7rem;
            padding: 0 12px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            letter-spacing: 0.1em;
        }

        /* Hero Banner with double golden border lines */
        .banner-container {
            padding: 0 16px;
            position: relative;
        }

        .banner-card {
            width: 100%;
            height: 240px; /* Increased height even further */
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            position: relative;
            border: 1px solid var(--border-gold);
            padding: 2px; /* Inner border layout spacing */
            background: var(--border-gold);
        }

        .banner-inner {
            width: 100%;
            height: 100%;
            border-radius: calc(var(--border-radius) - 2px);
            overflow: hidden;
            position: relative;
        }

        /* Carousel Slides Wrapper */
        .banner-slides-wrapper {
            display: flex;
            width: 300%; /* 3 slides */
            height: 100%;
            transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .banner-slide {
            width: 33.333%; /* 1/3 of the wrapper */
            height: 100%;
            position: relative;
            flex-shrink: 0;
        }

        .banner-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: scale(1);
            transition: transform 6s ease;
        }

        .banner-slide:hover .banner-img {
            transform: scale(1.08);
        }

        .banner-gradient-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 55%;
            background: linear-gradient(to top, rgba(26, 54, 93, 0.85) 0%, transparent 100%);
            display: flex;
            align-items: flex-end;
            padding: 14px;
        }

        .banner-title {
            color: #F7F4EB;
            font-family: var(--font-family);
            font-size: 0.95rem; /* slightly larger font */
            font-weight: 700;
            letter-spacing: 0.05em;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
        }

        /* Carousel Indicators */
        .banner-indicators {
            position: absolute;
            bottom: 10px;
            right: 12px;
            display: flex;
            gap: 5px;
            z-index: 10;
        }

        .banner-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: rgba(247, 244, 235, 0.4);
            transition: all 0.3s ease;
        }

        .banner-dot.active {
            width: 14px;
            border-radius: 3px;
            background: var(--accent);
        }

        /* Navigation Grid with Elegant Chinese Borders */
        .nav-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            padding: 22px 16px;
            gap: 14px;
        }

        .nav-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            cursor: pointer;
        }

        .nav-icon-wrapper {
            width: 48px;
            height: 48px;
            background: #FFFFFF;
            border: 1px solid var(--border-color);
            border-bottom: 2.5px solid var(--border-gold);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            box-shadow: 0 4px 12px rgba(26, 54, 93, 0.04);
            transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .nav-card:hover .nav-icon-wrapper {
            transform: translateY(-4px);
            border-bottom-color: var(--secondary);
            color: var(--secondary);
        }

        .nav-card span {
            font-size: 0.72rem;
            color: var(--primary);
            font-weight: 600;
            font-family: var(--font-family);
        }

        /* Announcement Scroll Scroll */
        .announcement-bar {
            margin: 0 16px 18px 16px;
            background: rgba(212, 175, 55, 0.06);
            border: 1px solid var(--border-gold);
            border-left: 3px solid var(--secondary);
            border-radius: 6px;
            padding: 8px 14px;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
            font-size: 0.72rem;
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(0,0,0,0.02);
        }

        .announcement-icon {
            fill: var(--secondary);
            flex-shrink: 0;
            width: 13px;
            height: 13px;
        }

        .announcement-content {
            white-space: nowrap;
            overflow: hidden;
            position: relative;
            flex-grow: 1;
            height: 16px;
        }

        .announcement-text {
            position: absolute;
            width: 100%;
            height: 100%;
            margin: 0;
            line-height: 16px;
            text-align: left;
            transform: translateX(0);
            animation: scroll-text 16s linear infinite;
        }

        @keyframes scroll-text {
            0%   { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }

        /* Section Headings */
        .section-header {
            padding: 0 16px 10px 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .section-title {
            font-family: var(--font-family);
            color: var(--primary);
            font-size: 1rem;
            font-weight: 900;
            display: flex;
            align-items: center;
            gap: 6px;
            letter-spacing: 0.05em;
        }

        /* Tiny stamp-like icon for title */
        .section-title::before {
            content: '❖';
            color: var(--secondary);
            font-size: 0.65rem;
            display: inline-block;
        }

        .section-more {
            font-size: 0.7rem;
            color: #8C8C8C;
            letter-spacing: 0.05em;
        }

        /* ==================== TICKET STUB SHOW CARD ==================== */
        /* ==================== THEATRE SHOW BANNER CARDS ==================== */
        .shows-list-container {
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding: 0 16px 20px 16px;
        }

        .show-banner-card {
            width: 100%;
            height: 146px;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            position: relative;
            border: 1px solid var(--border-gold);
            padding: 2px;
            background: var(--border-gold);
            cursor: pointer;
            transition: transform 0.25s ease, border-color 0.25s ease;
        }

        .show-banner-card:hover {
            transform: translateY(-2px);
            border-color: var(--secondary);
        }

        .show-banner-inner {
            width: 100%;
            height: 100%;
            border-radius: calc(var(--border-radius) - 2px);
            overflow: hidden;
            position: relative;
        }

        .show-banner-bg {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
            transition: transform 5s ease;
        }

        .show-banner-card:hover .show-banner-bg {
            transform: scale(1.06);
        }

        .show-banner-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 2;
            background: linear-gradient(to bottom, rgba(26, 54, 93, 0.25) 0%, rgba(7, 11, 20, 0.88) 100%);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 12px 14px;
        }

        .show-banner-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .show-banner-tag {
            background: linear-gradient(135deg, rgba(156, 42, 42, 0.25) 0%, rgba(156, 42, 42, 0.1) 100%);
            border: 0.5px solid rgba(156, 42, 42, 0.4);
            color: #FF9F9F;
            font-size: 0.62rem;
            padding: 2px 7px;
            border-radius: 4px;
            font-weight: 700;
            font-family: var(--font-family);
        }

        .show-banner-price {
            font-size: 0.95rem;
            font-weight: 900;
            color: var(--accent);
            font-family: var(--font-family);
            text-shadow: 0 1px 3px rgba(0,0,0,0.5);
        }

        .show-banner-bottom {
            display: flex;
            flex-direction: column;
            gap: 2px;
            position: relative;
        }

        .show-banner-title {
            font-family: var(--font-family);
            color: #F7F4EB;
            font-size: 0.85rem;
            font-weight: 900;
            text-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.75);
            letter-spacing: 0.03em;
            margin-right: 70px; /* Leave space for action button */
        }

        .show-banner-meta {
            color: #B0B9C6;
            font-size: 0.62rem;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .show-banner-action-btn {
            position: absolute;
            right: 0;
            bottom: 0;
            background: var(--gold-gradient);
            color: #0B0E14;
            border: none;
            padding: 5px 13px;
            border-radius: 12px;
            font-size: 0.65rem;
            font-weight: 700;
            font-family: var(--font-family);
            cursor: pointer;
            box-shadow: 0 3px 8px rgba(212, 175, 55, 0.35);
            transition: transform 0.15s ease;
        }

        .show-banner-action-btn:active {
            transform: scale(0.95);
        }

        /* ==================== DOUBLE-BORDERED MERCHANDISE GRID ==================== */
        .products-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            padding: 0 16px 30px 16px;
        }

        .product-card {
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            cursor: pointer;
            display: flex;
            flex-direction: column;
            position: relative;
            padding: 3px; /* framing border style */
            background: #FFFFFF;
            transition: transform 0.2s ease, border-color 0.2s ease;
        }

        .product-card:hover {
            transform: translateY(-3px);
            border-color: var(--border-gold);
        }

        .product-inner {
            border: 1px solid var(--border-color);
            border-radius: calc(var(--border-radius) - 3px);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            background: var(--bg-card);
        }

        .product-img-box {
            width: 100%;
            height: 124px;
            background-color: #E2E8F0;
            overflow: hidden;
            position: relative;
            border-bottom: 1px solid var(--border-color);
        }

        .product-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .product-details {
            padding: 10px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            justify-content: space-between;
        }

        .product-title {
            font-size: 0.74rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 8px;
            line-height: 1.35;
            font-family: var(--font-family);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .product-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .product-price {
            color: var(--secondary);
            font-weight: 800;
            font-size: 0.88rem;
        }

        .add-cart-icon-btn {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: rgba(26, 54, 93, 0.04);
            border: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .add-cart-icon-btn:hover {
            background-color: var(--secondary);
            color: #FFFFFF;
            border-color: var(--secondary);
        }

        /* ==================== SCREEN 2: FINE HANDDRAWN ART MAP ==================== */
        :root {
            --map-teal: #78B3AC;
            --map-teal-dark: #4A8C84;
            --map-teal-light: #EBF5F4;
            --map-wood: #5E3C2B;
            --map-wood-dark: #4A2F21;
        }

        .map-screen-container {
            position: relative;
            flex: 1;
            background: #EADFC9;
            overflow: hidden;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        /* Full Calligraphic SVG Vector Map representation */
        .map-base {
            width: 650px;
            height: 1000px;
            position: absolute;
            background-color: #EADFC9;
            background-size: cover;
            overflow: hidden;
            cursor: grab;
            user-select: none;
            touch-action: none;
        }
        .map-base:active {
            cursor: grabbing;
        }

        /* Map vector paths (rivers, houses, trees) inside guide.html */
        .map-svg-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        /* Floating Top Search Bar Container */
        .map-search-container {
            position: absolute;
            top: 12px;
            left: 12px;
            right: 12px;
            height: 44px;
            background: #FFFFFF;
            border-radius: 22px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            padding: 0 5px 0 15px;
            z-index: 50;
            border: 1px solid rgba(120, 179, 172, 0.2);
        }

        .map-search-input {
            flex: 1;
            border: none;
            outline: none;
            font-size: 0.85rem;
            color: var(--primary);
            font-family: var(--font-family);
            background: transparent;
        }

        .map-search-btn {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: var(--map-teal);
            border: none;
            color: #FFFFFF;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .map-search-btn:active {
            background: var(--map-teal-dark);
        }

        /* Floating Left Sidebar Panel */
        .map-left-sidebar {
            position: absolute;
            top: 68px;
            left: 12px;
            z-index: 50;
            display: flex;
            flex-direction: column;
            gap: 12px;
            align-items: center;
        }

        /* Teal Circle/Oval Guide button */
        .map-btn-guide {
            width: 42px;
            padding: 8px 0;
            background: var(--map-teal);
            border-radius: 21px;
            color: #FFFFFF;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3px;
            box-shadow: 0 3px 8px rgba(120, 179, 172, 0.4);
            cursor: pointer;
            transition: all 0.2s ease;
            border: 1px solid rgba(255,255,255,0.2);
        }

        .map-btn-guide span {
            writing-mode: vertical-lr;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 1px;
        }

        /* White circular buttons with labels below */
        .map-sidebar-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            cursor: pointer;
            position: relative;
        }

        .map-btn-circle {
            width: 36px;
            height: 36px;
            background: #FFFFFF;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--map-teal-dark);
            box-shadow: 0 3px 8px rgba(0,0,0,0.1);
            border: 1px solid rgba(0,0,0,0.05);
            transition: all 0.2s ease;
        }

        .map-btn-circle:active {
            transform: scale(0.9);
        }

        .map-sidebar-label {
            font-size: 0.52rem;
            font-weight: 700;
            color: var(--primary);
            text-shadow: 0 1px 2px #FFFFFF;
            white-space: nowrap;
        }

        .notification-dot {
            position: absolute;
            top: 0;
            right: 0;
            width: 8px;
            height: 8px;
            background: var(--secondary);
            border-radius: 50%;
            border: 1px solid #FFFFFF;
        }

        /* Mascot character coupon button */
        .map-btn-coupon {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            margin-top: 2px;
        }

        .map-btn-coupon img {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: #FFFFFF;
            border: 1.5px solid var(--map-teal);
            box-shadow: 0 3px 8px rgba(0,0,0,0.1);
            object-fit: cover;
        }

        /* Floating Right Sidebar Panel */
        .map-right-sidebar {
            position: absolute;
            top: 68px;
            right: 12px;
            z-index: 50;
            display: flex;
            flex-direction: column;
            gap: 12px;
            align-items: center;
        }

        /* Vertical Container for 一键直达 */
        .quick-link-panel {
            background: var(--map-teal);
            border-radius: 18px;
            padding: 8px 4px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            box-shadow: 0 4px 12px rgba(120, 179, 172, 0.4);
            border: 1px solid rgba(255,255,255,0.2);
        }

        .quick-link-title {
            writing-mode: vertical-lr;
            color: #FFFFFF;
            font-size: 0.55rem;
            font-weight: 700;
            letter-spacing: 1px;
            opacity: 0.9;
            border-bottom: 1px solid rgba(255, 255, 255, 0.25);
            padding-bottom: 6px;
            margin-bottom: 2px;
        }

        .quick-link-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
            cursor: pointer;
            color: #FFFFFF;
            transition: opacity 0.2s ease;
        }

        .quick-link-item:active {
            opacity: 0.7;
        }

        .quick-link-item svg {
            width: 14px;
            height: 14px;
            fill: #FFFFFF;
        }

        .quick-link-item span {
            font-size: 0.5rem;
            font-weight: 700;
            white-space: nowrap;
        }

        /* Compass Widget */
        .map-compass {
            width: 32px;
            height: 32px;
            background: #FFFFFF;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 8px rgba(0,0,0,0.1);
            border: 1px solid rgba(0,0,0,0.05);
            cursor: pointer;
        }

        .map-compass svg {
            width: 20px;
            height: 20px;
            transform: rotate(25deg);
            transition: transform 0.5s ease;
        }

        /* POI Plaque - Wooden vertical signs */
        .poi-plaque {
            position: absolute;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            transform: translate(-50%, -90%);
            z-index: 10;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .plaque-body {
            background: var(--map-wood);
            border: 1.5px solid var(--accent);
            border-radius: 5px;
            padding: 8px 5px 6px 5px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .plaque-text {
            writing-mode: vertical-lr;
            text-orientation: upright;
            color: #FFFFFF;
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 2px;
            white-space: nowrap;
            font-family: var(--font-family);
            line-height: 1.1;
        }

        /* Plaque pole and anchor dot */
        .plaque-pole {
            width: 2px;
            height: 8px;
            background: var(--accent);
            position: relative;
        }

        .plaque-dot {
            width: 6px;
            height: 6px;
            background: var(--secondary);
            border: 1.5px solid #FFFFFF;
            border-radius: 50%;
            box-shadow: 0 2px 4px rgba(0,0,0,0.3);
            margin-top: -2px;
        }

        /* Active Plaque style */
        .poi-plaque.active {
            transform: translate(-50%, -95%) scale(1.12);
            z-index: 15;
        }

        .poi-plaque.active .plaque-body {
            background: var(--secondary);
            border-color: #FFFFFF;
            box-shadow: 0 6px 15px rgba(156, 42, 42, 0.4);
        }

        .poi-plaque.active .plaque-dot {
            background: var(--accent);
            scale: 1.2;
        }

        /* Bottom Left AI Mascot Banner */
        .ai-mascot-banner {
            position: absolute;
            bottom: 24px;
            left: 12px;
            z-index: 45;
            display: flex;
            align-items: flex-end;
            cursor: pointer;
            transition: transform 0.2s ease;
        }

        .ai-mascot-banner:active {
            transform: scale(0.95);
        }

        .ai-mascot-bubble {
            background: var(--map-teal-light);
            border: 1.2px solid var(--map-teal);
            border-radius: 16px 16px 16px 0;
            padding: 8px 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            margin-right: -10px;
            margin-bottom: 10px;
            z-index: 1;
            max-width: 110px;
        }

        .ai-mascot-text {
            font-size: 0.55rem;
            color: var(--primary);
            font-weight: 700;
            line-height: 1.35;
        }

        .ai-mascot-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: #FFFFFF;
            border: 1.5px solid var(--map-teal);
            box-shadow: 0 3px 8px rgba(0,0,0,0.1);
            object-fit: cover;
            z-index: 2;
        }

        /* Bottom Right Map Controls */
        .map-controls-panel {
            position: absolute;
            bottom: 24px;
            right: 12px;
            z-index: 45;
            display: flex;
            flex-direction: column;
            gap: 10px;
            align-items: center;
        }

        .map-control-btn {
            width: 32px;
            height: 32px;
            background: #FFFFFF;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            box-shadow: 0 3px 8px rgba(0,0,0,0.1);
            border: 1px solid rgba(0,0,0,0.05);
            cursor: pointer;
        }

        .map-zoom-pill {
            background: #FFFFFF;
            border-radius: 16px;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-shadow: 0 3px 8px rgba(0,0,0,0.1);
            border: 1px solid rgba(0,0,0,0.05);
        }

        .map-zoom-btn {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            font-weight: 500;
            color: var(--primary);
            cursor: pointer;
        }

        .map-zoom-sep {
            width: 18px;
            height: 1px;
            background: rgba(0,0,0,0.08);
        }

        /* Premium Bottom Sheet Details Card */
        .poi-details-card {
            position: absolute;
            bottom: -320px;
            left: 12px;
            right: 12px;
            background: #FFFFFF;
            border-radius: 18px;
            padding: 16px;
            box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
            z-index: 100;
            display: flex;
            flex-direction: column;
            gap: 12px;
            transition: bottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            border: 1px solid rgba(120, 179, 172, 0.15);
        }

        .poi-details-card.active {
            bottom: 12px;
        }

        .poi-card-close {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--map-teal-light);
            color: var(--map-teal-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.65rem;
            font-weight: 900;
            cursor: pointer;
            z-index: 10;
        }

        .poi-card-body {
            display: flex;
            gap: 12px;
            position: relative;
        }

        .poi-card-img {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            object-fit: cover;
            border: 1px solid rgba(0,0,0,0.06);
        }

        .poi-card-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .poi-card-title {
            font-family: var(--font-family);
            font-weight: 700;
            font-size: 0.88rem;
            color: var(--primary);
            margin-bottom: 4px;
        }

        .poi-card-desc {
            font-size: 0.65rem;
            color: #666666;
            line-height: 1.4;
        }

        .poi-card-actions {
            display: flex;
            gap: 10px;
            width: 100%;
        }

        .poi-btn {
            flex: 1;
            padding: 8px 12px;
            border-radius: 18px;
            font-size: 0.72rem;
            font-weight: 700;
            text-align: center;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: all 0.2s ease;
        }

        .poi-btn-audio {
            background: var(--map-teal-light);
            color: var(--map-teal-dark);
            border: 1px solid rgba(120, 179, 172, 0.25);
        }

        .poi-btn-audio:active {
            background: #dbeee0;
        }

        .poi-btn-nav {
            background: var(--map-teal);
            color: #FFFFFF;
            border: none;
        }

        .poi-btn-nav:active {
            background: var(--map-teal-dark);
        }

        /* Mascot Overlap image on Bottom Card */
        .mascot-card-overlap {
            position: absolute;
            left: -8px;
            bottom: 48px;
            width: 44px;
            height: 44px;
            z-index: 105;
            pointer-events: none;
            display: none; /* Will show when active */
        }

        .poi-details-card.active .mascot-card-overlap {
            display: block;
            animation: mascotPopUp 0.5s 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
        }

        @keyframes mascotPopUp {
            0% { transform: scale(0) rotate(-15deg); opacity: 0; }
            100% { transform: scale(1) rotate(0); opacity: 1; }
        }

        /* Routing SVG path overlay styling */
        .map-route-svg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 5;
            pointer-events: none;
        }

        .route-path {
            stroke: #319795;
            stroke-width: 4px;
            stroke-linecap: round;
            stroke-linejoin: round;
            fill: none;
            stroke-dasharray: 6 6;
            animation: routeDash 30s linear infinite;
        }

        @keyframes routeDash {
            to { stroke-dashoffset: -300; }
        }

        .walking-dot {
            width: 24px;
            height: 24px;
            position: absolute;
            background: #FFFFFF;
            border: 1.5px solid var(--map-teal);
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 6px rgba(0,0,0,0.3);
            z-index: 6;
            transform: translate(-50%, -50%);
            overflow: hidden;
        }

        .walking-dot img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Navigation Top Route Panel */
        .nav-top-panel {
            position: absolute;
            top: -120px;
            left: 12px;
            right: 12px;
            background: #FFFFFF;
            border-radius: 14px;
            padding: 10px 14px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            z-index: 60;
            transition: top 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            display: flex;
            align-items: center;
            gap: 10px;
            border: 1px solid rgba(120, 179, 172, 0.15);
        }

        .nav-top-panel.active {
            top: 12px;
        }

        .nav-back-arrow {
            color: #666666;
            cursor: pointer;
            font-size: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
        }

        .nav-route-inputs {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
            position: relative;
        }

        .nav-route-row {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .route-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
        }

        .route-dot.start { background: #38A169; }
        .route-dot.end { background: var(--secondary); }

        .route-val {
            font-size: 0.7rem;
            font-weight: 700;
            color: var(--primary);
        }

        .nav-route-swap {
            color: var(--map-teal);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 4px;
        }

        /* Navigation Bottom Details Panel */
        .nav-bottom-panel {
            position: absolute;
            bottom: -200px;
            left: 12px;
            right: 12px;
            background: #FFFFFF;
            border-radius: 18px;
            padding: 16px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.12);
            z-index: 60;
            transition: bottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            display: flex;
            flex-direction: column;
            gap: 12px;
            border: 1px solid rgba(120, 179, 172, 0.15);
        }

        .nav-bottom-panel.active {
            bottom: 12px;
        }

        .nav-stats-row {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .nav-stats-time {
            font-size: 0.95rem;
            font-weight: 800;
            color: var(--primary);
            font-family: var(--font-family);
        }

        .nav-stats-dist {
            font-size: 0.65rem;
            color: #7A7A7A;
            font-weight: 500;
        }

        .btn-start-simulation {
            width: 100%;
            background: var(--map-teal);
            color: #FFFFFF;
            border: none;
            padding: 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: background 0.2s ease;
        }

        .btn-start-simulation:active {
            background: var(--map-teal-dark);
        }

        .btn-cancel-route {
            position: absolute;
            top: -42px;
            left: 0;
            background: #FFFFFF;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            border-radius: 16px;
            padding: 6px 12px;
            font-size: 0.62rem;
            font-weight: 700;
            color: #333333;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 4px;
            border: 1px solid rgba(0,0,0,0.04);
            z-index: 61;
        }

        /* Traditional Custom Toast (Mimics WeChat toast overlay) */
        .custom-toast {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.8);
            background: rgba(0, 0, 0, 0.78);
            color: #FFFFFF;
            padding: 12px 20px;
            border-radius: 10px;
            z-index: 1000;
            font-size: 0.75rem;
            font-weight: 500;
            text-align: center;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.25);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            min-width: 110px;
        }

        .custom-toast.active {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
            pointer-events: auto;
        }

        .toast-icon {
            font-size: 1.5rem;
        }

        /* ==================== SCREEN 3: SEATS WITH SPOTLIGHT ==================== */
        .seats-screen {
            background: radial-gradient(circle at top, rgba(212, 175, 55, 0.12) 0%, var(--bg-page) 80%);
            color: var(--primary);
            display: none;
            flex-direction: column;
            padding: 16px;
            height: 100%;
        }

        .seats-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 24px;
        }

        .back-nav-btn {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.1);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            color: #E2E8F0;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .seats-stage {
            width: 75%;
            height: 26px;
            background: linear-gradient(to bottom, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.02) 100%);
            border-top: 3.5px solid var(--accent);
            margin: 0 auto 35px auto;
            border-radius: 0 0 20px 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.68rem;
            color: var(--secondary);
            font-weight: 700;
            letter-spacing: 5px;
            text-shadow: 0 0 3px rgba(156, 42, 42, 0.1);
        }

        .seats-grid {
            display: grid;
            grid-template-columns: repeat(10, 1fr);
            gap: 7px;
            justify-content: center;
            margin-bottom: 24px;
        }

        /* Seat styled as miniature chairs */
        .seat-node {
            aspect-ratio: 1;
            border-radius: 6px;
            border: 1.5px solid rgba(26, 54, 93, 0.22);
            background: #FFFFFF;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            color: rgba(26, 54, 93, 0.45);
        }

        /* inner chair visual */
        .seat-node::after {
            content: '';
            width: 50%;
            height: 50%;
            border-radius: 3px 3px 0 0;
            border: 1.5px solid currentColor;
        }

        .seat-node:hover {
            border-color: var(--secondary);
            background: rgba(156, 42, 42, 0.05);
            color: var(--secondary);
            transform: scale(1.1);
        }

        .seat-node.selected {
            background: var(--secondary);
            border-color: var(--secondary);
            color: #FFFFFF;
            box-shadow: 0 4px 10px rgba(156, 42, 42, 0.2);
            transform: scale(1.15);
        }

        .seat-node.sold {
            background-color: rgba(26, 54, 93, 0.04);
            border-color: rgba(26, 54, 93, 0.12);
            cursor: not-allowed;
            color: rgba(26, 54, 93, 0.18);
            pointer-events: none;
        }

        .seats-legend {
            display: flex;
            justify-content: center;
            gap: 18px;
            font-size: 0.68rem;
            color: #718096;
            margin-bottom: auto;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .legend-color {
            width: 13px;
            height: 13px;
            border-radius: 3px;
            border: 1px solid var(--border-color);
            background: #FFFFFF;
        }

        .seats-footer-sheet {
            background: #FFFFFF;
            border-top: 1.5px solid var(--border-color);
            margin: 0 -16px -16px -16px;
            padding: 18px 16px;
            border-radius: 20px 20px 0 0;
            display: flex;
            flex-direction: column;
            gap: 12px;
            box-shadow: 0 -8px 24px rgba(0,0,0,0.05);
            color: var(--primary);
        }

        /* Premium booking button styling */
        .book-btn {
            width: 100%;
            height: 42px;
            border-radius: 21px;
            border: none;
            outline: none;
            color: #FFFFFF;
            font-size: 0.85rem;
            font-weight: 700;
            font-family: var(--font-family);
            transition: all 0.25s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(26, 54, 93, 0.1);
        }

        .book-btn:active:not(:disabled) {
            transform: scale(0.98);
        }

        .seat-summary-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
        }

        .total-price-label {
            font-size: 1.25rem;
            font-weight: 900;
            color: #EF4444;
        }

        /* ==================== MOCK WECHAT PAY SHEET ==================== */
        .pay-sheet {
            position: absolute;
            bottom: -100%;
            left: 0;
            right: 0;
            background: #FFFFFF;
            border-radius: 24px 24px 0 0;
            z-index: 2000;
            box-shadow: 0 -10px 45px rgba(0,0,0,0.6);
            padding: 22px;
            display: flex;
            flex-direction: column;
            gap: 18px;
            color: #000000;
            transition: bottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .pay-sheet.active {
            bottom: 0;
        }

        .pay-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #EEEEEE;
            padding-bottom: 14px;
        }

        .pay-title {
            font-weight: 800;
            font-size: 0.95rem;
        }

        .pay-amount-box {
            text-align: center;
            padding: 12px 0;
        }

        .pay-amount {
            font-size: 1.9rem;
            font-weight: 900;
        }

        .pay-row {
            display: flex;
            justify-content: space-between;
            font-size: 0.82rem;
            color: #666666;
        }

        .pay-row span:last-child {
            color: #000000;
            font-weight: 600;
        }

        .pay-action-btn {
            background-color: #07C160; /* WeChat Green */
            color: #FFFFFF;
            border: none;
            padding: 13px;
            font-weight: 700;
            border-radius: 10px;
            font-size: 0.88rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 4px 12px rgba(7, 193, 96, 0.2);
            transition: background-color 0.2s ease;
        }

        .pay-action-btn:active {
            background-color: #06AD56;
        }

        .dim-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.65);
            z-index: 1999;
            display: none;
            backdrop-filter: blur(4px);
        }

        .dim-overlay.active {
            display: block;
        }

        /* ==================== DIGITAL TICKET REDESIGN ==================== */
        .ticket-screen {
            background-color: var(--bg-page);
            padding: 24px 16px;
            overflow-y: auto;
            height: 100%;
        }

        .ticket-card-box {
            background: #FFFFFF;
            border: 1px solid var(--border-color);
            border-bottom: 2.5px solid var(--border-gold);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            overflow: visible; /* notch cuts */
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 26px 18px;
            position: relative;
        }

        /* notches */
        .ticket-card-box::before, .ticket-card-box::after {
            content: '';
            width: 14px;
            height: 14px;
            background-color: var(--bg-page);
            border: 1px solid var(--border-color);
            border-radius: 50%;
            position: absolute;
            top: 56%;
            transform: translateY(-50%);
            z-index: 20;
        }

        .ticket-card-box::before { left: -8px; }
        .ticket-card-box::after { right: -8px; }

        .ticket-divider-line {
            width: 100%;
            border-top: 1.5px dashed var(--border-color);
            margin: 22px 0;
            position: relative;
        }

        .ticket-title-big {
            font-family: var(--font-family);
            color: var(--primary);
            font-size: 1.05rem;
            font-weight: 900;
            text-align: center;
            margin-bottom: 8px;
            letter-spacing: 0.05em;
        }

        .ticket-time-big {
            font-size: 0.72rem;
            color: #6B7280;
            margin-bottom: 18px;
        }

        /* Radar scan animation wrapper */
        .qr-code-container {
            position: relative;
            padding: 10px;
            border: 1px solid var(--border-gold);
            border-radius: 8px;
            background: #FFFFFF;
            margin-bottom: 12px;
            overflow: hidden;
        }

        /* Radar scan sweeping line */
        .qr-code-container::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(to bottom, rgba(156, 42, 42, 0.6), transparent);
            animation: radarSweep 2s infinite linear;
        }

        @keyframes radarSweep {
            0% { top: 0; }
            100% { top: 100%; }
        }

        .qr-code-img {
            width: 130px;
            height: 130px;
            display: block;
        }

        .qr-refresher-label {
            font-size: 0.65rem;
            color: var(--secondary);
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 12px;
            font-weight: 700;
        }

        .qr-refresher-label span {
            color: #07C160;
            animation: ticketPulse 1s infinite alternate;
        }

        @keyframes ticketPulse {
            from { opacity: 0.3; }
            to { opacity: 1; }
        }

        .seat-badge-info {
            background-color: var(--bg-page);
            border: 1px dashed var(--border-gold);
            border-radius: 4px;
            padding: 6px 14px;
            font-family: var(--font-family);
            font-weight: 900;
            color: var(--primary);
            font-size: 0.8rem;
            margin-bottom: 8px;
            letter-spacing: 0.05em;
        }

        .sim-scan-btn {
            width: 100%;
            margin-top: 18px;
            background: var(--blue-gradient);
            color: #FFFFFF;
            border: none;
            padding: 12px;
            font-family: var(--font-family);
            font-weight: 700;
            font-size: 0.8rem;
            border-radius: calc(var(--border-radius) - 5px);
            cursor: pointer;
            box-shadow: 0 4px 14px rgba(26, 54, 93, 0.2);
            letter-spacing: 0.05em;
        }

        /* ==================== SUCCESS OVERLAY ==================== */
        .success-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(26, 54, 93, 0.96);
            z-index: 3000;
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #FFFFFF;
            padding: 24px;
            text-align: center;
        }

        .success-overlay.active {
            display: flex;
            animation: fadeInOverlay 0.35s ease forwards;
        }

        @keyframes fadeInOverlay {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .success-tick-circle {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #07C160;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 20px rgba(7, 193, 96, 0.5);
            margin-bottom: 20px;
            scale: 0;
            animation: popTick 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.15s forwards;
        }

        @keyframes popTick {
            to { scale: 1; }
        }

        /* ==================== PRODUCT DETAIL DRAWER ==================== */
        .sku-drawer-price {
            font-size: 1.35rem;
            color: var(--secondary);
            font-weight: 900;
            font-family: var(--font-family);
        }

        /* Helper Bold class */
        .bold-num {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
        }

        /* Theater screen styling */
        .theater-screen-container {
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            background-color: #F7F4EB;
            min-height: 100%;
            flex: none; /* Prevent vertical layout shrinking */
        }

        .theater-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 4px;
        }

        .theater-title {
            font-size: 1.15rem;
            font-weight: 900;
            color: var(--primary);
            font-family: var(--font-family);
            border-left: 4px solid var(--secondary);
            padding-left: 8px;
            line-height: 1.25;
            letter-spacing: 0.05em;
        }

        .theater-sub {
            font-size: 0.7rem;
            color: #6B7280;
            margin-top: 4px;
            font-weight: 400;
            font-family: var(--font-family);
        }

        /* Date calendar selector */
        .date-selector-row {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding-bottom: 4px;
            scrollbar-width: none; /* Firefox */
            flex-shrink: 0; /* Prevent shrinking under flexbox */
        }
        .date-selector-row::-webkit-scrollbar {
            display: none; /* Safari and Chrome */
        }

        .date-pill {
            flex: 0 0 62px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 8px 0;
            border-radius: 8px;
            background: #FFF;
            border: 1.5px solid var(--border-color);
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .date-pill.active {
            background: var(--secondary);
            border-color: var(--secondary);
            color: #FFF;
            box-shadow: 0 4px 10px rgba(156, 42, 42, 0.2);
        }

        .date-pill .day-name {
            font-size: 0.65rem;
            opacity: 0.8;
            font-weight: 500;
        }

        .date-pill.active .day-name {
            opacity: 0.95;
        }

        .date-pill .day-date {
            font-size: 0.8rem;
            font-weight: 700;
            margin-top: 2px;
            font-family: 'Inter', sans-serif;
        }

        /* Filter pills */
        .filter-pills-row {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            scrollbar-width: none;
            padding-bottom: 2px;
            flex-shrink: 0; /* Prevent shrinking under flexbox */
        }
        .filter-pills-row::-webkit-scrollbar {
            display: none;
        }

        .filter-pill {
            flex: 0 0 auto;
            padding: 6px 14px;
            border-radius: 100px;
            background: #FFF;
            border: 1.5px solid var(--border-color);
            font-size: 0.72rem;
            color: #4A5568;
            cursor: pointer;
            transition: all 0.2s ease;
            font-weight: 500;
        }

        .filter-pill.active {
            background: rgba(156, 42, 42, 0.1);
            color: var(--secondary);
            border-color: var(--secondary);
            font-weight: 700;
        }

        /* ==================== THEATER SHOW DETAIL SCREEN ==================== */
        .detail-screen {
            background-color: var(--bg-page);
            display: flex;
            flex-direction: column;
            height: 100%;
            overflow-y: auto;
            position: relative;
            padding-bottom: 76px; /* Space for sticky bottom bar */
        }

        .detail-hero {
            width: 100%;
            height: 200px;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
        }

        .detail-hero-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .detail-hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(26,54,93,0.1) 40%, rgba(247,244,235,1) 100%);
            z-index: 2;
        }

        .detail-back-btn {
            position: absolute;
            top: 14px;
            left: 14px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(26, 54, 93, 0.1);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: transform 0.2s ease;
        }
        
        .detail-back-btn:active {
            transform: scale(0.9);
        }

        .detail-hero-tag-badge {
            position: absolute;
            bottom: 16px;
            left: 16px;
            background: rgba(156, 42, 42, 0.9);
            color: #FFF;
            padding: 4px 10px;
            font-size: 0.65rem;
            border-radius: 6px;
            font-weight: 700;
            z-index: 5;
            box-shadow: 0 4px 10px rgba(156, 42, 42, 0.3);
        }

        .detail-hero-rating {
            position: absolute;
            bottom: 16px;
            right: 16px;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(212, 175, 55, 0.4);
            color: var(--primary);
            padding: 4px 8px;
            font-size: 0.65rem;
            border-radius: 6px;
            font-weight: 800;
            z-index: 5;
            display: flex;
            align-items: center;
            gap: 2px;
        }

        .detail-content-box {
            padding: 0 16px 88px 16px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-top: -10px;
            position: relative;
            z-index: 3;
        }

        .detail-title-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 12px;
        }

        .detail-title-text {
            font-size: 1.25rem;
            font-weight: 900;
            color: var(--primary);
            font-family: var(--font-family);
            line-height: 1.35;
        }

        .detail-price-box {
            text-align: right;
            flex-shrink: 0;
        }

        .detail-price-val {
            font-size: 1.35rem;
            color: var(--secondary);
            font-weight: 900;
            font-family: 'Inter', sans-serif;
        }

        .detail-tags-row {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .detail-tag-pill {
            font-size: 0.68rem;
            padding: 3px 8px;
            border-radius: 4px;
            background: rgba(26,54,93,0.05);
            color: var(--primary);
            border: 1.5px solid var(--border-color);
            font-weight: 500;
        }

        .detail-section-title {
            font-size: 0.85rem;
            font-weight: 800;
            color: var(--primary);
            font-family: var(--font-family);
            border-left: 3px solid var(--secondary);
            padding-left: 6px;
            line-height: 1.2;
            margin-bottom: 8px;
        }

        .detail-highlights {
            background: #FFF;
            border: 1.5px solid var(--border-color);
            border-radius: 10px;
            padding: 12px;
        }

        .detail-poem-card {
            font-style: italic;
            color: var(--secondary);
            font-size: 0.72rem;
            line-height: 1.6;
            text-align: center;
            border-bottom: 1px dashed var(--border-color);
            padding-bottom: 10px;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .detail-highlight-item {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            margin-bottom: 8px;
            font-size: 0.72rem;
            line-height: 1.4;
            color: #4A5568;
        }

        .detail-highlight-item:last-child {
            margin-bottom: 0;
        }

        .detail-highlight-bullet {
            color: var(--accent);
            font-weight: bold;
            margin-top: 1px;
        }

        /* Showtime selectors */
        .showtime-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .showtime-card {
            background: #FFF;
            border: 1.5px solid var(--border-color);
            border-radius: var(--border-radius);
            padding: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .showtime-card.active {
            border-color: var(--secondary);
            background: rgba(156, 42, 42, 0.04);
            box-shadow: 0 4px 12px rgba(156, 42, 42, 0.06);
        }

        .showtime-card-time {
            font-size: 0.85rem;
            font-weight: 900;
            color: var(--primary);
            font-family: 'Inter', sans-serif;
        }

        .showtime-card.active .showtime-card-time {
            color: var(--secondary);
        }

        .showtime-card-status {
            font-size: 0.65rem;
            color: #718096;
        }

        .showtime-card.active .showtime-card-status {
            color: var(--secondary);
            font-weight: 500;
        }

        .venue-info-box {
            background: #FFF;
            border: 1.5px solid var(--border-color);
            border-radius: 10px;
            padding: 10px 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.72rem;
        }

        .venue-info-title {
            font-weight: 700;
            color: var(--primary);
        }

        .venue-info-desc {
            color: #718096;
            margin-top: 2px;
        }

        .venue-info-btn {
            color: var(--secondary);
            font-weight: 700;
            cursor: pointer;
            font-size: 0.65rem;
        }

        /* Rules box */
        .detail-rules-box {
            background: rgba(26,54,93,0.02);
            border: 1.5px solid var(--border-color);
            border-radius: 10px;
            padding: 12px;
        }

        .detail-rule-item {
            font-size: 0.68rem;
            color: #718096;
            margin-bottom: 6px;
            line-height: 1.4;
            display: flex;
            gap: 6px;
        }

        .detail-rule-item:last-child {
            margin-bottom: 0;
        }

        /* Sticky bottom booking bar */
        .detail-action-bar {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: calc(72px + env(safe-area-inset-bottom, 0px));
            background: rgba(247, 244, 235, 0.98);
            backdrop-filter: blur(15px);
            border-top: 1.5px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 16px env(safe-area-inset-bottom) 16px;
            z-index: 10;
        }

        .detail-action-summary {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .detail-action-showtime {
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--primary);
        }

        .detail-action-price {
            font-size: 1.2rem;
            color: var(--secondary);
            font-weight: 900;
        }

        .detail-action-btn {
            background: var(--secondary);
            color: #FFF;
            border: none;
            outline: none;
            padding: 10px 22px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 700;
            font-family: var(--font-family);
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 4px 12px rgba(156, 42, 42, 0.2);
        }

        .detail-action-btn:active {
            transform: scale(0.96);
            background: #822121;
        }

        /* Cast & Crew Section */
        .cast-scroll-container {
            display: flex;
            overflow-x: auto;
            gap: 14px;
            padding: 8px 4px 12px 4px;
            margin-top: 4px;
            -webkit-overflow-scrolling: touch;
        }
        
        .cast-scroll-container::-webkit-scrollbar {
            display: none;
        }
        
        .cast-card {
            flex-shrink: 0;
            width: 72px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
        .cast-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--accent);
            margin-bottom: 6px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            background: #E2E8F0;
            transition: transform 0.2s ease;
        }

        .cast-avatar:active {
            transform: scale(0.95);
        }
        
        .cast-name {
            font-size: 0.68rem;
            font-weight: 700;
            color: var(--primary);
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .cast-role {
            font-size: 0.58rem;
            color: #718096;
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-top: 2px;
        }

        /* Rich Content Introduction */
        .detail-intro-container {
            margin-top: 8px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .detail-intro-text {
            font-size: 0.72rem;
            line-height: 1.6;
            color: #4A5568;
            text-align: justify;
        }
        
        .detail-intro-img {
            width: 100%;
            border-radius: 10px;
            object-fit: cover;
            height: 150px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
            margin: 4px 0;
            border: 1px solid var(--border-color);
        }

        /* Spectator Chip Styling */
        .spectator-chip {
            font-size: 0.68rem;
            padding: 5px 12px;
            border-radius: 15px;
            border: 1.5px solid var(--border-color);
            background: #FFFFFF;
            color: var(--primary);
            cursor: pointer;
            font-weight: 500;
            transition: all 0.2s ease;
            user-select: none;
        }

        .spectator-chip.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #FFFFFF;
            font-weight: 700;
            box-shadow: 0 2px 6px rgba(26, 54, 93, 0.15);
        }