        /* ==================== 现代极简明亮风 CSS ==================== */
        * { margin: 0; padding: 0; box-sizing: border-box; }

        :root {
            /* 品牌色 */
            --primary: #2563EB;
            --primary-dark: #1D4ED8;
            --primary-light: #EFF6FF;
            --accent: #3B82F6;
            --success: #059669; /* 更沉稳的金融绿 */
            --success-light: #ECFDF5;
            --warning: #F59E0B;
            --danger: #EF4444;

            /* 背景与卡片 */
            --bg-main: #F8FAFC; /* 极浅蓝灰背景 */
            --bg-card: #FFFFFF;
            --bg-hover: #F1F5F9;

            /* 文字与边框 */
            --text-primary: #0F172A;
            --text-secondary: #475569;
            --text-muted: #94A3B8;
            --border: #E2E8F0;

            /* 阴影 */
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
        }

        html { overflow-x: hidden; }
        body {
            font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
            min-height: 100vh;
            color: var(--text-primary);
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        body.has-matome-bar { padding-bottom: 70px; }
        @media (min-width: 769px) { body.has-matome-bar { padding-bottom: 0; } }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            position: relative;
        }

        .brand-name {
            background: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 35%, #6366F1 65%, #0EA5E9 100%);
            background-size: 300% auto;
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: shimmer 5s ease-in-out infinite;
        }

        /* 顶部 SVG Icon 通用类 */
        .ui-icon {
            width: 16px;
            height: 16px;
            stroke-width: 2.5;
            stroke: currentColor;
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        /* 收藏星星 (详情页) - kept for product page star button */
        .favorite-card-star { background: none; border: none; color: var(--warning); cursor: pointer; padding: 4px; flex-shrink: 0; transition: transform 0.2s; }
        .favorite-card-star:hover { transform: scale(1.2); }

        /* 头部 Hero */
        .header {
            text-align: center; padding: 48px 0 36px; position: relative;
        }
        .header::before {
            content: ''; position: absolute; inset: -40%;
            background:
                radial-gradient(ellipse 50% 45% at 30% 45%, rgba(14,165,233,0.13) 0%, transparent 100%),
                radial-gradient(ellipse 45% 50% at 70% 50%, rgba(99,102,241,0.10) 0%, transparent 100%),
                radial-gradient(ellipse 40% 40% at 50% 65%, rgba(168,85,247,0.07) 0%, transparent 100%);
            pointer-events: none; z-index: 0;
            animation: glowDrift 8s ease-in-out infinite alternate;
        }
        .header::after { display: none; }
        @keyframes glowDrift {
            0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
            100% { transform: translate(15px, -10px) scale(1.05); opacity: 1; }
        }
        [data-theme="dark"] .header::before {
            background:
                radial-gradient(ellipse 50% 45% at 30% 45%, rgba(14,165,233,0.25) 0%, transparent 100%),
                radial-gradient(ellipse 45% 50% at 70% 50%, rgba(99,102,241,0.2) 0%, transparent 100%),
                radial-gradient(ellipse 40% 40% at 50% 65%, rgba(168,85,247,0.12) 0%, transparent 100%);
        }
        [data-theme="dark"] .header::after {
            background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(14,165,233,0.1) 45deg, transparent 90deg, rgba(99,102,241,0.08) 135deg, transparent 180deg, rgba(168,85,247,0.1) 225deg, transparent 270deg, rgba(14,165,233,0.06) 315deg, transparent 360deg);
        }
        .hero-particles-main { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
        .hero-particles-main span {
            position: absolute; border-radius: 50%;
            background: rgba(99,102,241,0.3);
            box-shadow: 0 0 6px rgba(99,102,241,0.2);
            animation: heroParticleUp linear infinite;
        }
        [data-theme="dark"] .hero-particles-main span {
            background: rgba(200,210,255,0.25);
            box-shadow: 0 0 8px rgba(99,102,241,0.3);
        }
        @keyframes heroParticleUp {
            0% { transform: translateY(0) scale(1); opacity: 0; }
            15% { opacity: 1; }
            85% { opacity: 0.8; }
            100% { transform: translateY(-130px) scale(0.2); opacity: 0; }
        }
        .logo-text {
            font-size: 5.5rem; font-weight: 800; color: var(--text-primary);
            letter-spacing: -0.04em; margin-bottom: 18px;
            position: relative; z-index: 1;
            animation: heroFadeIn 0.7s ease-out both;
        }
        .logo-text .brand-name {
            background: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 35%, #6366F1 65%, #0EA5E9 100%);
            background-size: 300% auto;
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: shimmer 5s ease-in-out infinite;
        }
        @keyframes shimmer {
            0%, 100% { background-position: 0% center; }
            50% { background-position: 100% center; }
        }
        .hero-h1 {
            font-size: 1.1rem; font-weight: 600; color: var(--text-secondary);
            margin-bottom: 10px; margin-top: -8px;
            position: relative; z-index: 1;
            animation: heroFadeIn 0.7s ease-out 0.1s both;
            letter-spacing: 0.02em;
        }
        .tagline {
            font-size: 1.7rem; font-weight: 600;
            position: relative; z-index: 1;
            animation: heroFadeIn 0.7s ease-out 0.2s both;
            background: linear-gradient(90deg, var(--text-secondary), #64748B, var(--text-secondary));
            background-size: 200% auto;
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: heroFadeIn 0.7s ease-out 0.2s both, taglineShimmer 8s ease-in-out 1s infinite;
            letter-spacing: 0.04em;
        }
        @keyframes taglineShimmer {
            0%, 100% { background-position: 0% center; }
            50% { background-position: 100% center; }
        }
        @keyframes heroFadeIn {
            from { opacity: 0; transform: translateY(12px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @media (max-width: 640px) {
            .header { padding: 16px 0 16px; }
            .logo-text { font-size: 2.2rem; }
            .tagline { font-size: 1rem; }
        }

        /* 通用卡片样式 */
        .card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 24px;
            box-shadow: var(--shadow-sm);
        }

        /* 搜索区域 */
        .search-row { display: flex; gap: 8px; align-items: stretch; }
        .search-box { position: relative; flex: 1; }
        .search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
        .search-input {
            width: 100%; padding: 18px 20px 18px 50px; font-size: 1.1rem;
            border: 2px solid var(--primary-light); border-radius: 12px;
            background: #FFFFFF; color: var(--text-primary);
            outline: none; transition: all 0.2s;
            box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
        }
        /* バーコードスキャンボタン */
        .barcode-scan-btn {
            display: flex; align-items: center; justify-content: center;
            width: 52px; flex-shrink: 0;
            background: var(--bg-card); border: 2px solid var(--primary-light); border-radius: 12px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
        }
        .barcode-scan-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
        .barcode-scan-btn svg { width: 22px; height: 22px; }
        /* 信任栏 */
        .trust-bar {
            display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px;
            margin-top: 12px; font-size: 0.85rem; color: var(--text-muted);
        }
        .trust-bar span { display: inline-flex; align-items: center; gap: 4px; }
        /* CTA 按钮 */
        .sell-cta-btn {
            display: inline-block; padding: 4px 10px; font-size: 0.8rem; font-weight: 700;
            background: var(--success); color: #fff; border-radius: 6px;
            text-decoration: none; white-space: nowrap; transition: background 0.2s, transform 0.1s;
            margin-left: 8px;
        }
        .sell-cta-btn:hover { background: #047857; transform: translateY(-1px); }
        /* バーコードスキャナーオーバーレイ */
        .scanner-overlay {
            display: none; position: fixed; inset: 0; z-index: 9999;
            background: rgba(0,0,0,0.85); flex-direction: column; align-items: center; justify-content: center;
        }
        .scanner-overlay.active { display: flex; }
        .scanner-header {
            color: white; font-size: 1rem; font-weight: 600; margin-bottom: 16px;
            display: flex; align-items: center; gap: 8px;
        }
        .scanner-video-wrap {
            position: relative; width: min(85vw, 360px); aspect-ratio: 1;
            border-radius: 16px; overflow: hidden; background: #000;
        }
        .scanner-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
        .scanner-guide {
            position: absolute; inset: 15%; border: 2px solid rgba(255,255,255,0.6);
            border-radius: 8px; pointer-events: none;
        }
        .scanner-close {
            margin-top: 20px; padding: 12px 32px; border: none; border-radius: 10px;
            background: white; color: var(--text-primary); font-size: 0.95rem;
            font-weight: 600; cursor: pointer;
        }
        #interactive video, #interactive canvas { width: 100%; height: 100%; object-fit: cover; }
        .search-input::placeholder { color: var(--text-muted); }
        .search-input:focus { background: var(--bg-card); border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }

        /* 搜索下拉 */
        .search-dropdown {
            position: absolute; top: 100%; left: 0; right: 0;
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: 12px; margin-top: 8px; box-shadow: var(--shadow-lg);
            max-height: 400px; overflow-y: auto; z-index: 1001; display: none;
        }
        .search-dropdown.active { display: block; }
        .dropdown-item { padding: 12px 20px; cursor: pointer; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; display: block; }
        .dropdown-item:last-child { border-bottom: none; }
        .dropdown-item:hover { background: var(--bg-hover); }
        .dropdown-item-name { font-size: 0.95rem; font-weight: 500; margin-bottom: 4px; }
        .dropdown-item-code { font-size: 0.8rem; color: var(--text-secondary); font-family: monospace; }
        .dropdown-loading, .dropdown-empty { padding: 20px; text-align: center; color: var(--text-secondary); }

        /* 标签 (热门/历史) */
        .search-hints { display: flex; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
        .hints-label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); display: flex; align-items: center; gap: 4px;}
        .hints-tags { display: flex; gap: 8px; flex-wrap: wrap; }
        .hint-tag {
            padding: 6px 12px; background: var(--bg-card); border: 1px solid var(--border);
            border-radius: 8px; font-size: 0.85rem; color: var(--text-secondary);
            cursor: pointer; transition: all 0.2s; font-weight: 500;
        }
        .hint-tag:hover { background: var(--bg-hover); border-color: var(--text-primary); color: var(--text-primary); }
        .history-hints { border-top: 1px dashed var(--border); padding-top: 16px; }
        .clear-history-btn { padding: 6px 10px; background: none; border: none; font-size: 0.8rem; color: var(--text-muted); cursor: pointer; text-decoration: underline; }
        .clear-history-btn:hover { color: var(--danger); }

        /* 返回按钮 + インライン検索 */
        .product-top-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
        .back-btn {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 10px 20px; background: var(--bg-card); border: 1px solid var(--border);
            border-radius: 8px; color: var(--text-primary); font-weight: 600;
            cursor: pointer; box-shadow: var(--shadow-sm); transition: all 0.2s; flex-shrink: 0;
        }
        .back-btn:hover { background: var(--bg-hover); border-color: var(--text-secondary); }
        .inline-search {
            flex: 1; min-width: 180px; position: relative;
        }
        .inline-search input {
            width: 100%; padding: 10px 16px 10px 36px; border-radius: 8px;
            border: 1px solid var(--border); background: var(--bg-card);
            color: var(--text-primary); font-size: 0.9rem; outline: none; font-family: inherit;
            transition: all 0.2s; box-shadow: var(--shadow-sm);
        }
        .inline-search input::placeholder { color: var(--text-muted); }
        .inline-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
        .inline-search .si-icon {
            position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
            color: var(--text-muted); pointer-events: none; width: 16px; height: 16px;
        }
        .inline-search-dropdown {
            position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px;
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: 0 0 10px 10px; max-height: 300px; overflow-y: auto;
            z-index: 50; display: none; box-shadow: var(--shadow-lg);
        }
        .inline-search-dropdown.active { display: block; }
        .inline-search-dropdown a {
            display: block; padding: 10px 16px; text-decoration: none;
            color: var(--text-primary); border-bottom: 1px solid var(--border);
            font-size: 0.88rem;
        }
        .inline-search-dropdown a:hover { background: var(--bg-hover); }
        .inline-search-dropdown a:last-child { border-bottom: none; }

        /* 商品头部信息 */
        .product-header-inner { display: flex; flex-direction: column; gap: 16px; position: relative; }
        .product-top-row { display: flex; gap: 24px; align-items: flex-start; }
        .product-top-text { flex: 1; min-width: 0; }
        .product-image {
            width: 120px; height: 120px; background: var(--bg-main); border: none;
            border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 10px;
        }
        .product-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
        .product-info { flex: 1; min-width: 0; }
        .product-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }

        .meta-item { color: var(--text-secondary); font-size: 0.95rem; display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; max-width: 100%; }
        .meta-value { font-family: monospace; font-weight: 600; color: var(--text-primary); background: var(--bg-main); border: 1px solid var(--border); padding: 4px 8px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
        .meta-value:hover { background: var(--border); }

        /* 收藏星星 + 分享ボタン (详情页) */
        .product-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
        .favorite-star {
            background: none; border: none; cursor: pointer; color: var(--text-muted);
            transition: transform 0.2s; padding: 0; flex-shrink: 0;
        }
        .favorite-star .ui-icon { width: 32px; height: 32px; }
        .favorite-star:hover { transform: scale(1.1); }
        .star-filled { color: var(--warning); fill: var(--warning); }
        .share-btn { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 0; flex-shrink: 0; transition: transform 0.2s, color 0.2s; position: relative; }
        .share-btn > .ui-icon { width: 30px; height: 30px; }
        .share-btn:hover { transform: scale(1.1); color: var(--primary); }
        .share-menu { display: none; position: absolute; top: 100%; right: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 100; min-width: 140px; }
        .share-menu.active { display: block; }
        .share-menu-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; text-decoration: none; color: var(--text-primary); white-space: nowrap; cursor: pointer; border: none; background: none; width: 100%; }
        .share-menu-item:hover { background: var(--bg-hover); }
        .share-menu-item svg { width: 18px; height: 18px; flex-shrink: 0; }

        /* 各店舗 前日比 */
        .store-diff { font-size: 0.95rem; font-weight: 700; display: inline-block; min-width: 70px; text-align: right; margin-right: 10px; }
        .store-diff.up { color: var(--success); }
        .store-diff.down { color: var(--danger); }
        .store-diff.none { visibility: hidden; }

        /* EC 按钮 */
        .ec-buttons { display: flex; gap: 8px; margin-top: 16px; flex-wrap: nowrap; }
        .ec-btn {
            flex: 1; min-width: 0; padding: 10px 6px; text-align: center; color: white;
            text-decoration: none; border-radius: 8px; font-weight: 600; font-size: 0.9rem; transition: opacity 0.2s;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .ec-btn:hover { opacity: 0.9; }
        .ec-btn.amazon { background: #FF9900; }
        .ec-btn.rakuten { background: #BF0000; }
        .ec-btn.yahoo { background: #FF0133; }

        /* 统计数字区 */
        .stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
        .stat-card {
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: 12px; padding: 16px; text-align: center; box-shadow: var(--shadow-sm);
        }
        .stat-value { font-size: 1.6rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; font-family: monospace; }
        .stat-label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }

        /* 比价列表 */
        .prices-list {
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 24px;
        }
        .price-row {
            display: flex; justify-content: space-between; align-items: center;
            padding: 16px 20px; border-bottom: 1px solid var(--border);
        }
        .price-row:last-child { border-bottom: none; }
        .price-row:hover { background: var(--bg-hover); }
        .price-row.highest { background: linear-gradient(90deg, var(--success-light) 0%, #ECFDF5 100%); border-left: 4px solid var(--success); }

        .store-info { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; overflow: hidden; }
        .store-rank {
            width: 24px; height: 24px; flex-shrink: 0; background: var(--bg-main); color: var(--text-secondary);
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            font-size: 0.75rem; font-weight: 700; border: 1px solid var(--border);
        }
        .price-row.highest .store-rank { background: var(--success); color: white; border-color: var(--success); }

        .store-name { min-width: 0; overflow: hidden; }
        .store-name a {
            color: var(--text-primary); text-decoration: none; font-weight: 600; font-size: 1rem;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
        }
        .store-name a:hover { color: var(--primary); text-decoration: underline; }
        .highest-badge {
            background: var(--success); color: white; padding: 2px 8px; border-radius: 12px;
            font-size: 0.7rem; font-weight: 600; flex-shrink: 0; white-space: nowrap;
        }
        /* 小画面では最高値バッジのテキストを非表示 */
        @media (max-width: 400px) {
            .highest-badge { font-size: 0; padding: 2px 4px; width: 8px; height: 8px;
                display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
        }

        .price-info { text-align: right; }
        .price-value { font-size: 1.3rem; font-weight: 800; color: var(--text-primary); font-family: monospace; }
        .price-row.highest .price-value { color: var(--success); font-size: 1.5rem; font-weight: 800; }
        .price-updated { font-size: 0.75rem; color: var(--text-muted); display: block; }

        /* 图表区 */
        .chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
        .chart-title { font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 8px;}
        .chart-controls { display: flex; gap: 8px; }
        .chart-btn { padding: 6px 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; color: var(--text-secondary); cursor: pointer; font-size: 0.85rem; font-weight: 500;}
        .chart-btn.active { background: var(--text-primary); border-color: var(--text-primary); color: white; }
        .chart-container { height: 300px; position: relative; }
        .indicator-high { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
        .indicator-low { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
        .indicator-normal { background: #f3f4f6; color: #4b5563; border: 1px solid #d1d5db; }
        [data-theme="dark"] .indicator-high { background: #064e3b; color: #6ee7b7; border-color: #065f46; }
        [data-theme="dark"] .indicator-low { background: #7f1d1d; color: #fca5a5; border-color: #991b1b; }
        [data-theme="dark"] .indicator-normal { background: #374151; color: #9ca3af; border-color: #4b5563; }
        .matome-share-btn {
          display: inline-flex; align-items: center; gap: 6px;
          margin: 12px auto; padding: 10px 20px;
          background: var(--primary, #2563eb); color: #fff;
          border: none; border-radius: 8px; cursor: pointer;
          font-size: 14px; font-weight: 500;
        }
        .matome-share-btn:hover { opacity: 0.9; }

        /* 购物车 Matome (详情页内) */
        .matome-add-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
        .matome-add-row { display: flex; gap: 12px; align-items: center; }
        .matome-quantity-wrapper { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
        .qty-btn { width: 40px; height: 40px; background: var(--bg-main); border: none; cursor: pointer; font-weight: bold; color: var(--text-primary); }
        .qty-btn:hover { background: var(--border); }
        input[type="number"] { -moz-appearance: textfield; }
        input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
        .qty-input { width: 50px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); font-size: 1rem; color: var(--text-primary); }
        .matome-add-btn { flex: 1; padding: 0 20px; height: 40px; background: var(--text-primary); color: white; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: background 0.2s;}
        .matome-add-btn:hover { background: black; }

        /* 利益計算 + まとめ追加 横並び (PC only) */
        .action-row { display: none; }
        @media (min-width: 769px) {
            .action-row { display: flex; gap: 16px; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
            .action-row .profit-calc { flex: 0 0 calc(33.3% - 8px); display: flex; align-items: center; gap: 8px; min-width: 0; padding-right: 16px; border-right: 1px solid var(--border); }
            .action-row .matome-add-section { flex: 0 0 calc(66.7% - 8px); margin-top: 0; padding-top: 0; border-top: none; }
            .profit-calc-label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); white-space: nowrap; }
            .profit-calc-input { width: 100px; height: 40px; border: 1px solid var(--border); border-radius: 8px; padding: 0 10px; font-size: 0.95rem; font-family: inherit; color: var(--text-primary); background: var(--bg-main); transition: border-color 0.2s; }
            .profit-calc-input:focus { outline: none; border-color: var(--primary); }
            .profit-calc-result { font-size: 0.95rem; font-weight: 700; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
            .profit-calc-result.positive { color: var(--success); }
            .profit-calc-result.negative { color: var(--danger); }
            .profit-calc-result.zero { color: var(--text-muted); }
            .price-skeleton {
                display: inline-block;
                width: 80px;
                height: 1.2em;
                background: linear-gradient(90deg, var(--bg-card) 25%, var(--border) 50%, var(--bg-card) 75%);
                background-size: 200% 100%;
                animation: skeleton-pulse 1.5s infinite;
                border-radius: 4px;
                vertical-align: middle;
            }
            @keyframes skeleton-pulse {
                0% { background-position: 200% 0; }
                100% { background-position: -200% 0; }
            }
            .matome-add-section-mobile { display: none; }
        }
        @media (max-width: 768px) {
            .action-row { display: none !important; }
            .matome-add-section-mobile { display: block; }
        }


        /* ==================== 去Emoji化：全新卡片风 About & 利益商品区 ==================== */

        /* 利益商品模块 */
        .profitable-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
        .profitable-title { font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
        .profitable-badge { background: var(--text-primary); color: white; font-size: 0.75rem; padding: 2px 8px; border-radius: 12px; font-weight: 600; }
        .profitable-toggle { background: none; border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; font-size: 0.8rem; cursor: pointer; color: var(--text-secondary); font-weight: 500;}
        .profitable-toggle:hover { background: var(--bg-hover); }

        .profit-card {
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;
            box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s;
        }
        .profit-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--success); position: relative; z-index: 2; }
        .profit-card-img { height: 100px; background: var(--bg-card); padding: 10px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border);}
        .profit-card-img img { max-height: 100%; object-fit: contain; }
        .profit-card-badge { background: var(--success); color: white; text-align: center; padding: 8px; font-weight: 700; font-size: 0.9rem; }
        .profit-card-body { padding: 12px; flex: 1; background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%); }
        .profit-card-name { font-size: 0.85rem; color: var(--text-primary); font-weight: 600; line-height: 1.5; height: 3.2em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 8px; }
        .profit-card-price { font-size: 1rem; font-weight: 700; color: var(--text-primary); font-family: monospace; }
        .profit-card-store { font-size: 0.75rem; color: var(--text-secondary); margin-top: 4px; }
        .profit-card-compare { display: block; text-align: center; padding: 10px; background: var(--bg-card); border-top: 1px solid var(--border); color: var(--primary); font-weight: 600; font-size: 0.85rem; text-decoration: none; margin-top: auto; }
        .profit-card-compare:hover { background: var(--primary-light); }

        .profitable-carousel { display: flex; align-items: center; gap: 12px; overflow: visible; padding: 8px 0; }
        .profitable-cards-container { flex: 1; overflow: visible; }
        .profitable-cards-row { display: flex; gap: 12px; transition: transform 0.3s ease;}
        .carousel-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-card); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-weight: bold;}
        .carousel-btn:hover { background: var(--text-primary); color: white; border-color: var(--text-primary);}
        .profitable-banner { overflow-x: auto; padding-bottom: 10px; display: none; scrollbar-width: none; }
        .profitable-banner::-webkit-scrollbar { display: none; }
        .profitable-banner-inner { display: flex; gap: 12px; }
        @media (min-width: 769px) { .profit-card { flex: 0 0 calc((100% - 48px) / 5); min-width: calc((100% - 48px) / 5); } }

        /* 介绍页 About UI */
        .about-section { margin-top: 40px; }
        .about-hero { text-align: center; padding: 40px 20px; }
        .about-title { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); margin-bottom: 16px; display: flex; justify-content: center; align-items: center; gap: 8px;}
        .about-description { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; margin-bottom: 0;}

        .section-title { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; display: flex; align-items: center; gap: 8px;}
        .section-title svg { color: var(--primary); }

        /* なぜ買取比較が重要なのか - モダンカード */
        .why-compare-section { margin-bottom: 40px; }
        .why-compare-cards {
            display: flex; align-items: center; justify-content: center; gap: 16px;
            flex-wrap: wrap;
        }
        .why-card {
            background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
            padding: 24px 32px; text-align: center; box-shadow: var(--shadow-sm);
            flex: 1; min-width: 140px;
        }
        .why-card-icon { margin-bottom: 8px; }
        .why-card-value { font-size: 2rem; font-weight: 800; font-family: monospace; }
        .why-card-label { font-size: 0.8rem; color: var(--text-secondary); font-weight: 600; margin-top: 4px; }
        .why-card-arrow { display: flex; align-items: center; }
        .why-card-result {
            background: var(--success); color: white; border-radius: 16px;
            padding: 20px 32px; text-align: center; flex: 1; min-width: 140px;
        }
        .why-card-result-value { font-size: 1.8rem; font-weight: 800; font-family: monospace; }
        .why-card-result-label { font-size: 0.8rem; font-weight: 600; opacity: 0.9; margin-top: 4px; }

        /* セクションタイトル共通 */
        .features-title {
            font-size: 1.3rem; font-weight: 800; color: var(--text-primary);
            margin-bottom: 24px; margin-top: 48px;
        }

        /* 修正2：统一大小的店铺 Grid 标签墙 */
        .stores-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); /* 强制定宽响应式 */
            gap: 12px; margin-bottom: 24px;
        }
        .store-link {
            display: flex; align-items: center; justify-content: center; height: 44px;
            background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
            color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; font-weight: 600;
            transition: all 0.2s; box-shadow: var(--shadow-sm);
        }
        .store-link:hover { border-color: var(--text-primary); color: var(--text-primary); box-shadow: var(--shadow-md); transform: translateY(-2px);}

        /* 核心功能网格 (替换Emoji为线框Icon) */
        .feature-grid {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 16px; margin-bottom: 24px;
        }
        .feature-card {
            background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
            padding: 24px; box-shadow: var(--shadow-sm); transition: transform 0.2s;
            display: flex; gap: 16px; align-items: flex-start;
        }
        .feature-card:hover { transform: translateY(-3px); border-color: var(--primary-light); box-shadow: var(--shadow-md);}
        .feature-icon-wrapper { width: 56px; height: 56px; background: var(--bg-main); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--text-primary); border: 1px solid var(--border); flex-shrink: 0; }
        .feature-icon-wrapper .ui-icon { width: 28px; height: 28px; }
        .feature-card-text { flex: 1; min-width: 0; }
        .feature-card h4 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
        .feature-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

        /* 目标用户横向列表 */
        .audience-grid { display: flex; flex-direction: column; gap: 12px; }
        .audience-card {
            display: flex; align-items: center; gap: 16px; padding: 20px;
            background: var(--bg-main); border-radius: 12px; border: 1px solid var(--border);
        }
        .audience-icon { width: 56px; height: 56px; background: var(--bg-card); color: var(--text-primary); display: flex; align-items: center; justify-content: center; border-radius: 12px; box-shadow: var(--shadow-sm); flex-shrink: 0; border: 1px solid var(--border);}
        .audience-info h4 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
        .audience-info p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; line-height: 1.5;}

        /* FAQ */
        .faq-section { display: flex; flex-direction: column; gap: 12px;}
        .faq-item { background: var(--bg-main); border: 1px solid var(--border); border-radius: 12px; padding: 20px;}
        .faq-question { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px;}
        .faq-answer { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin: 0;}

        /* 社交引流区设计 */
        .social-links { margin-top: 40px; padding: 24px; background: var(--text-primary); border-radius: 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;}
        .social-title { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 4px;}
        .social-description { font-size: 0.85rem; color: var(--text-muted); margin: 0; font-weight: 400;}
        .social-buttons { display: flex; gap: 12px;}
        .social-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 10px; font-size: 0.9rem; font-weight: 700; text-decoration: none; color: white; transition: transform 0.2s;}
        .social-btn:hover { transform: translateY(-2px);}
        .social-btn.telegram { background: #229ED9; }
        .social-btn.x-twitter { background: #FFFFFF; color: black; }

        /* 移动端适配 */
        @media (max-width: 768px) {
            .container { padding: 12px; }
            .logo-text { font-size: 2.2rem; }
            .tagline { font-size: 0.95rem; }
            .card { padding: 16px; border-radius: 12px; margin-bottom: 16px;}
            .search-input { font-size: 1rem; padding: 14px 16px 14px 40px; }
            .product-header-inner { flex-direction: column; }
            .product-image { width: 110px; height: 110px; border: none; }
            .product-name { font-size: 1.1rem; }
            .product-top-row { display: flex; gap: 12px; align-items: flex-start; }
            .product-top-row .product-image { flex-shrink: 0; }
            .product-top-row .product-top-text { flex: 1; min-width: 0; }
            .product-info { }
            .stats-row { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px;}
            .stat-card { padding: 12px 8px; }
            .stat-value { font-size: 1.1rem; }
            .price-row { padding: 12px 16px; }
            .store-name a { font-size: 0.9rem; }
            .price-value { font-size: 1.1rem; }
            .price-row.highest .price-value { font-size: 1.2rem; }

            .profitable-carousel { display: none; }
            .profitable-banner { display: block; }
            .profit-card { flex: 0 0 180px; }
            .profit-card-img { height: 80px; }
            .profit-card-badge { padding: 6px; font-size: 0.8rem; }

            .why-compare-cards { flex-direction: column; gap: 12px; }
            .why-card-arrow { transform: rotate(90deg); }
            .feature-grid { grid-template-columns: 1fr; }
            .stores-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }

            .social-links { flex-direction: column; align-items: flex-start;}
            .social-buttons { width: 100%;}
            .social-btn { flex: 1; justify-content: center;}

            /* JAN行: 常に1行、縮小で対応 */
            .meta-item { flex-wrap: nowrap; font-size: 0.85rem; gap: 4px; }
            .meta-value { padding: 3px 6px; font-size: 0.8rem; }
            .favorite-star .ui-icon { width: 24px; height: 24px; }
            .share-btn > .ui-icon { width: 22px; height: 22px; }
            .product-actions { gap: 4px; }
        }

        /* 超小画面（〜400px）: さらに縮小 */
        @media (max-width: 400px) {
            .meta-item { font-size: 0.8rem; gap: 3px; }
            .meta-value { padding: 2px 5px; font-size: 0.75rem; }
            .favorite-star .ui-icon { width: 20px; height: 20px; }
            .share-btn > .ui-icon { width: 18px; height: 18px; }
            .product-actions { gap: 3px; }
        }

        /* === 全要素1行保持（PC で1行のものは SE でも1行） === */
        .chart-header { flex-wrap: nowrap; }
        .chart-title { white-space: nowrap; }
        .chart-controls { flex-shrink: 0; }
        @media (max-width: 768px) {
            .chart-header { gap: 8px; }
            .chart-title { font-size: 0.9rem; gap: 4px; }
            .chart-title svg { width: 18px; height: 18px; }
            .chart-btn { padding: 4px 8px; font-size: 0.75rem; }
            .chart-controls { gap: 4px; }
        }
        @media (max-width: 400px) {
            .chart-title { font-size: 0.8rem; gap: 3px; }
            .chart-title svg { width: 16px; height: 16px; }
            .chart-btn { padding: 3px 6px; font-size: 0.7rem; }
            .chart-controls { gap: 3px; }
        }

        /* stats-row: 常に3列1行 */
        @media (max-width: 480px) {
            .stats-row { gap: 4px; }
            .stat-card { padding: 8px 4px; }
            .stat-label { font-size: 0.65rem; }
            .stat-value { font-size: 0.95rem; }
        }

        /* profitable-header: 1行保持 */
        .profitable-header { flex-wrap: nowrap; }
        .profitable-title { white-space: nowrap; }
        @media (max-width: 480px) {
            .profitable-title { font-size: 0.95rem; gap: 4px; }
            .profitable-toggle { padding: 4px 8px; font-size: 0.7rem; }
        }

        /* 其他必要状态 */
        .product-section { display: none; }
        .product-section.active { display: block; }
        #loading { text-align: center; padding: 60px 20px; color: var(--text-secondary); display: none; flex-direction: column; align-items: center;}
        .spinner { width: 50px; height: 50px; border: 4px solid var(--border); border-top-color: var(--text-primary); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 16px;}
        @keyframes spin { to { transform: rotate(360deg); } }

        .copied-toast {
            position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
            background: #1E293B; color: #F1F5F9; padding: 12px 24px;
            border-radius: 20px; font-size: 0.9rem; font-weight: 600; z-index: 2000;
            box-shadow: 0 10px 25px rgba(0,0,0,0.3);
        }

        /* 购物车 Bar 相关 */
        .matome-bar {
            position: fixed; bottom: 0; left: 0; right: 0;
            max-width: 1200px; margin: 0 auto;
            background: var(--bg-card); border-top: 1px solid var(--border);
            box-shadow: 0 -4px 15px rgba(0,0,0,0.05); z-index: 1000;
        }
        .matome-bar-collapsed { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
        .matome-bar-info { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 600; color: var(--text-primary);}
        .matome-bar-actions { display: flex; gap: 12px; align-items: center;}
        .matome-bar-actions button { background: var(--bg-main); border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font-weight: bold; cursor: pointer; color: var(--text-secondary); transition: all 0.2s;}
        .matome-bar-actions button:hover { background: var(--border); }
        .matome-compare-btn { padding: 10px 24px !important; background: var(--text-primary) !important; color: white !important; border: none !important; border-radius: 8px; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-sm); }
        .matome-compare-btn:hover { background: black !important; }

        /* 展开的 Matome 列表 */
        .matome-bar-expanded { max-height: 60vh; display: flex; flex-direction: column; }
        .matome-bar-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--border); font-weight: 600; background: var(--bg-card);}
        .matome-bar-header button { padding: 6px 12px; background: var(--bg-main); border: 1px solid var(--border); border-radius: 6px; color: var(--text-secondary); font-size: 0.8rem; cursor: pointer; }
        .matome-bar-header button:hover { background: var(--border); color: var(--text-primary); }
        .matome-items-list { flex: 1; overflow-y: auto; padding: 12px 20px; background: var(--bg-main); }
        .matome-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; box-shadow: var(--shadow-sm);}
        .matome-item-img { width: 40px; height: 40px; background: var(--bg-main); border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; border: 1px solid var(--border);}
        .matome-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
        .matome-item-info { flex: 1; min-width: 0; }
        .matome-item-name { font-size: 0.9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; color: var(--text-primary);}
        .matome-item-jan { font-size: 0.75rem; color: var(--text-secondary); font-family: monospace; }
        .matome-item-controls { display: flex; align-items: center; gap: 8px; }
        .matome-item-qty { display: flex; align-items: center; background: var(--bg-main); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
        .matome-item-qty button { width: 28px; height: 28px; background: transparent; border: none; color: var(--text-primary); cursor: pointer; font-weight: bold; }
        .matome-item-qty button:hover { background: var(--border); }
        .matome-item-qty input { width: 36px; height: 28px; background: transparent; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); color: var(--text-primary); font-size: 0.85rem; text-align: center; }
        .matome-item-delete { width: 28px; height: 28px; background: var(--bg-main); border: 1px solid var(--border); border-radius: 6px; color: var(--danger); cursor: pointer; font-size: 0.9rem; }
        .matome-bar-footer { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-top: 1px solid var(--border); background: var(--bg-card); }
        .matome-bar-footer span { font-size: 1rem; font-weight: 600; color: var(--text-primary); }

        /* Desktop FAB + Popover */
        @media (min-width: 769px) {
            .matome-bar { display: none !important; }
        }
        @media (max-width: 768px) {
            .matome-cart-fab, .matome-cart-popover { display: none !important; }
        }

        /* Matome 结果对比区 */
        .matome-result-section { display: none; }
        .matome-result-header { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; margin-bottom: 24px; text-align: center; box-shadow: var(--shadow-md);}
        .matome-products-summary { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin-bottom: 24px; box-shadow: var(--shadow-sm);}
        .matome-summary-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
        .matome-summary-actions { display: flex; gap: 8px; }
        .matome-summary-btn { padding: 6px 14px; background: var(--bg-main); border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary); font-size: 0.85rem; font-weight: 600; cursor: pointer; }
        .matome-summary-btn.recompare { background: var(--text-primary); color: white; border-color: var(--text-primary); }
        .matome-summary-items { display: flex; flex-direction: column; gap: 8px; }
        .matome-summary-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--bg-main); border: 1px solid var(--border); border-radius: 10px; font-size: 0.9rem; }
        .matome-summary-item-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500;}
        .matome-summary-item-qty { display: flex; align-items: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
        .matome-summary-item-qty button { width: 28px; height: 28px; background: transparent; border: none; font-weight: bold; cursor: pointer; color: var(--text-primary); }
        .matome-summary-item-qty input { width: 40px; height: 28px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); color: var(--text-primary); }
        .matome-summary-item-delete { width: 28px; height: 28px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.85rem;}

        .matome-store-cards { display: flex; flex-direction: column; gap: 16px; }
        .matome-store-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm);}
        .matome-store-card.first { border-color: var(--success); box-shadow: var(--shadow-md); }
        .matome-store-card-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--bg-main); border-bottom: 1px solid var(--border);}
        .matome-store-card.first .matome-store-card-header { background: var(--success-light); }
        .matome-store-card-rank { display: flex; align-items: center; gap: 12px; }
        .matome-store-rank-badge { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-card); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: bold; border: 1px solid var(--border);}
        .matome-store-card.first .matome-store-rank-badge { background: var(--success); color: white; border-color: var(--success);}
        .matome-store-name-link { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); text-decoration: none; }
        .matome-store-total { text-align: right; }
        .matome-store-total-label { font-size: 0.75rem; color: var(--text-secondary); font-weight: 500;}
        .matome-store-total-value { font-size: 1.4rem; font-weight: 800; color: var(--text-primary); font-family: monospace;}
        .matome-store-card.first .matome-store-total-value { color: var(--success); }
        .matome-store-warning { padding: 10px 20px; background: #FFFBEB; color: var(--warning); font-size: 0.85rem; font-weight: 500; border-bottom: 1px solid var(--border);}
        .matome-store-items-table { width: 100%; border-collapse: collapse; }
        .matome-store-item { border-bottom: 1px solid var(--border); }
        .matome-store-item td { padding: 12px 20px; font-size: 0.9rem; }
        .matome-store-item-name { max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500;}
        .matome-store-item-qty { color: var(--text-secondary); text-align: right; padding-right: 20px; border-right: 1px dashed var(--border); }
        .matome-store-item-price { font-weight: 700; text-align: right; min-width: 100px; font-family: monospace; font-size: 1rem;}
        .matome-store-item-price.unavailable { color: var(--danger); font-weight: 500; font-family: sans-serif; font-size: 0.9rem;}

        /* 3步使用指南 */
        .how-it-works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 40px; }
        .step-card { text-align: center; background: var(--bg-card); padding: 32px 24px; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform 0.2s;}
        .step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light);}
        .step-img-wrapper { width: 100%; aspect-ratio: 1; margin: 0 auto 20px; border-radius: 16px; overflow: hidden; background: #fff;}
        .step-img-wrapper img { width: 100%; height: 100%; object-fit: contain; }
        .step-card h4 { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); margin-bottom: 10px; }
        .step-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; font-weight: 500;}

        /* 底部 CTA 区域 */
        .cta-section {
            display: flex; align-items: center; gap: 40px; background: var(--text-primary);
            padding: 40px; border-radius: 20px; color: white; margin-top: 60px;
            box-shadow: var(--shadow-lg); overflow: hidden;
        }
        .cta-image-col { flex: 1; text-align: center; }
        .cta-image-col img { max-width: 100%; height: auto; border-radius: 16px; transform: scale(1.1); }
        .cta-text-col { flex: 1.5; }
        .cta-text-col h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; line-height: 1.3;}
        .cta-text-col p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; font-weight: 500;}
        .social-buttons { display: flex; gap: 16px; flex-wrap: wrap;}
        .social-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font-size: 1rem; font-weight: 800; text-decoration: none; color: white; transition: transform 0.2s;}
        .social-btn:hover { transform: translateY(-2px);}
        .social-btn.telegram { background: #229ED9; }
        .social-btn.x-twitter { background: #FFFFFF; color: black; }
        @media (max-width: 768px) {
            .cta-section { flex-direction: column; text-align: center; padding: 32px 20px; gap: 24px;}
            .cta-image-col img { transform: scale(1); }
            .social-buttons { width: 100%; flex-direction: column;}
            .social-btn { width: 100%; }
        }

        /* ==================== 関連商品 ==================== */
        .related-products { margin-top: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-sm); }
        .related-title { font-size: 0.95rem; font-weight: 600; margin: 0 0 14px; color: var(--text-primary); }
        .related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; overflow-x: auto; }
        .related-card { display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--bg-main); border: 1px solid var(--border); border-radius: 12px; padding: 10px 8px; text-decoration: none; color: var(--text-primary); transition: border-color 0.2s, box-shadow 0.2s; cursor: pointer; }
        .related-card:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
        .related-card img { width: 80px; height: 80px; object-fit: contain; border-radius: 8px; background: #fff; }
        .related-img-placeholder { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: var(--bg-main); border-radius: 8px; }
        .related-name { font-size: 0.72rem; line-height: 1.4; text-align: center; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--text-secondary); }
        .related-price { font-size: 0.78rem; font-weight: 700; color: var(--primary); white-space: nowrap; }

        /* ==================== 骨架屏 shimmer ==================== */
        @keyframes skeleton-shimmer-move {
            0% { background-position: -400px 0; }
            100% { background-position: 400px 0; }
        }
        .skeleton-shimmer {
            background: linear-gradient(90deg, var(--bg-card) 25%, var(--border) 50%, var(--bg-card) 75%);
            background-size: 800px 100%;
            animation: skeleton-shimmer-move 1.4s infinite linear;
        }
        .profitable-skeleton-card {
            width: 160px;
            height: 200px;
            border-radius: 12px;
            flex-shrink: 0;
        }
