/* ============================================
   HOLOGRAM HUB — Cyberpunk Theme
   サイバーパンク・ホログラムデザインシステム
   ============================================ */

/* Google Fonts: Orbitron (サイバーパンクヘッダー用) */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

:root {
    /* === カラーパレット === */
    --cyber-bg: #0d0221;
    --cyber-bg-secondary: #150535;
    --cyber-surface: rgba(13, 2, 33, 0.85);

    --neon-cyan: #00ffff;
    --neon-magenta: #ff00ff;
    --neon-cyan-dim: rgba(0, 255, 255, 0.15);
    --neon-magenta-dim: rgba(255, 0, 255, 0.15);

    --text-white: #f0f0f0;
    --text-cyan: #b0faff;
    --text-muted: rgba(176, 250, 255, 0.5);

    /* === 旧style.css互換変数 === */
    --surface-color: rgba(13, 2, 33, 0.7);
    --text-primary: #f0f0f0;
    --text-secondary: rgba(176, 250, 255, 0.5);
    --primary-color: #00ffff;
    --primary-dark: #00cccc;
    --background-color: rgba(0, 0, 0, 0.3);
    --divider-color: rgba(0, 255, 255, 0.15);

    /* === グロウ・シャドウ === */
    --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.4), 0 0 40px rgba(0, 255, 255, 0.15);
    --glow-magenta: 0 0 20px rgba(255, 0, 255, 0.4), 0 0 40px rgba(255, 0, 255, 0.15);
    --glow-dual: 0 0 15px rgba(0, 255, 255, 0.3), 0 0 15px rgba(255, 0, 255, 0.3);

    /* === フォント === */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', 'Outfit', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;

    /* === トランジション === */
    --transition-glow: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ============================================
   ベーススタイル
   ============================================ */
body.cyber-body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background: var(--cyber-bg);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 背景エフェクト（放射状グラデーション） */
body.cyber-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 0, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(0, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(255, 0, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* グリッドオーバーレイ（微かな格子模様） */
body.cyber-body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   ヘッダー
   ============================================ */
.cyber-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 2, 33, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.15);
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
}

.cyber-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* 子要素の絶対配置基準 */
}

.cyber-header__back {
    background: none;
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--neon-cyan);
    font-size: 24px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-glow);
    font-family: 'Material Icons';
}

.cyber-header__back:hover {
    background: var(--neon-cyan-dim);
    box-shadow: var(--glow-cyan);
}

.cyber-header__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    /* 完全に中央へ配置 */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none; /* 下の要素の操作を邪魔しない */
}

/* ============================================
   ヒーローセクション（TOPページ）
   ============================================ */
.cyber-hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 80px 24px 40px;
}

.cyber-hero__title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 0.2rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

/* 各ページ共通のヒーローセクション */
.cyber-page-hero {
    padding: 60px 24px 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cyber-page-hero__title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0.1em;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.cyber-page-hero__subtitle {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}


@keyframes title-pulse {
    0% { filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3)); }
    100% { filter: drop-shadow(0 0 30px rgba(255, 0, 255, 0.4)); }
}

.cyber-hero__subtitle {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin: 0;
}

.cyber-hero__line {
    width: 120px;
    height: 2px;
    margin: 24px auto 0;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-magenta), transparent);
    border: none;
}

/* ============================================
   ページヒーロー（サブページ用）
   ============================================ */
.cyber-page-hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 50px 24px 30px;
}

.cyber-page-hero__title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0 0 8px 0;
    color: var(--neon-cyan);
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.cyber-page-hero__subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   メインカードグリッド（TOPページ 3ボタン）
   ============================================ */
.cyber-cards {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    justify-content: center;
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* ホログラムカード */
.holo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-white);
    background: linear-gradient(
        145deg,
        rgba(0, 255, 255, 0.06),
        rgba(255, 0, 255, 0.04),
        rgba(13, 2, 33, 0.9)
    );
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    transition: var(--transition-glow);
    cursor: pointer;
}

.holo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 20%,
        rgba(0, 255, 255, 0.08) 40%,
        rgba(255, 0, 255, 0.08) 60%,
        transparent 80%
    );
    transition: left 0.7s ease;
    z-index: 1;
}

.holo-card:hover {
    border-color: var(--neon-magenta);
    box-shadow:
        0 0 25px rgba(255, 0, 255, 0.25),
        0 0 50px rgba(0, 255, 255, 0.1),
        inset 0 0 30px rgba(255, 0, 255, 0.05);
    transform: translateY(-8px) scale(1.02);
}

.holo-card:hover::before {
    left: 150%;
}

/* カード画像エリア */
.holo-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.holo-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.5s ease;
}

.holo-card:hover .holo-card__image img {
    opacity: 0.9;
    transform: scale(1.05);
}

.holo-card__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(13, 2, 33, 0.95) 100%
    );
    z-index: 1;
}

/* アイコンフォールバック（画像なし時） */
.holo-card__icon {
    font-size: 72px;
    z-index: 2;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.3));
}

/* カードコンテンツ */
.holo-card__content {
    position: relative;
    z-index: 2;
    padding: 24px 20px 28px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.holo-card__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 8px 0;
    color: var(--text-white);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
}

.holo-card__desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.holo-card__action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-cyan);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition-glow);
}

.holo-card:hover .holo-card__action {
    color: var(--neon-magenta);
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.5);
}

.holo-card__action .material-icons {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.holo-card:hover .holo-card__action .material-icons {
    transform: translateX(4px);
}

/* ============================================
   サブページ用ナビカード（4列グリッド）
   ============================================ */
.cyber-nav-cards {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px 60px;
}

.cyber-nav-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-white);
    background: rgba(13, 2, 33, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-glow);
    cursor: pointer;
}

.cyber-nav-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-6px);
    background: rgba(0, 255, 255, 0.05);
}

.cyber-nav-card__image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cyber-nav-card__image .material-icons {
    font-size: 48px;
    z-index: 2;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.4));
    transition: color 0.3s ease;
}

.cyber-nav-card:hover .cyber-nav-card__image .material-icons {
    color: var(--neon-magenta);
    filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.4));
}

.cyber-nav-card__content {
    padding: 16px 20px 20px;
    text-align: center;
}

.cyber-nav-card__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 0 0 6px 0;
    color: var(--text-white);
}

.cyber-nav-card__desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.cyber-nav-card__action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--neon-cyan);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.cyber-nav-card:hover .cyber-nav-card__action {
    color: var(--neon-magenta);
}

/* カラーバリエーション（背景グラデーション） */
.cyber-nav-card__image.stgr-bg {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.2));
}

.cyber-nav-card__image.events-bg {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 146, 60, 0.2));
}

.cyber-nav-card__image.contact-bg {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(34, 211, 238, 0.2));
}

.cyber-nav-card__image.tools-bg {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.2), rgba(251, 113, 133, 0.2));
}

/* GAME関連用プレースホルダー */
.cyber-nav-card__image.game-bg {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.15), rgba(0, 255, 255, 0.1));
}

/* Private関連用セキュリティグラデーション */
.cyber-nav-card__image.private-bg {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(139, 92, 246, 0.25));
}


/* ============================================
   ヘッダーナビゲーション（HOME + Back）
   ============================================ */
.cyber-header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cyber-header__home {
    background: none;
    border: 1px solid rgba(255, 0, 255, 0.25);
    color: var(--neon-magenta);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding: 5px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-glow);
    text-decoration: none;
}

.cyber-header__home:hover {
    background: var(--neon-magenta-dim);
    box-shadow: var(--glow-magenta);
    color: var(--neon-magenta);
}

.cyber-header__home .material-icons {
    font-size: 16px;
}

/* サイバーコンテンツラッパー */
.cyber-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px 60px;
}

/* ============================================
   カテゴリカード（クリップ集用）
   ============================================ */
.cyber-category-card {
    background: rgba(13, 2, 33, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: var(--transition-glow);
}

.cyber-category-card:hover {
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

.cyber-category-header {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 255, 255, 0.08);
}

.cyber-category-header .material-icons {
    font-size: 22px;
    margin-right: 10px;
}

.cyber-category-header h2 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 0;
}

/* 組織カラー (サイバー版) */
.cyber-gang     { background: rgba(255, 60, 60, 0.1);  color: #ff6b6b; border-bottom-color: rgba(255, 60, 60, 0.15); }
.cyber-mechanic { background: rgba(60, 130, 255, 0.1);  color: #6ba3ff; border-bottom-color: rgba(60, 130, 255, 0.15); }
.cyber-public   { background: rgba(60, 220, 120, 0.1);  color: #5eeba0; border-bottom-color: rgba(60, 220, 120, 0.15); }
.cyber-arcana   { background: rgba(255, 180, 40, 0.1);  color: #ffcc44; border-bottom-color: rgba(255, 180, 40, 0.15); }
.cyber-unknown  { background: rgba(180, 80, 255, 0.1);  color: #c084fc; border-bottom-color: rgba(180, 80, 255, 0.15); }
.cyber-test     { background: rgba(140, 160, 180, 0.1); color: #94a3b8; border-bottom-color: rgba(140, 160, 180, 0.15); }

/* リストアイテム (サイバー版) */
.cyber-list-item {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    background: rgba(0, 255, 255, 0.02);
    margin: 6px 12px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.06);
    cursor: pointer;
    transition: var(--transition-glow);
    color: var(--text-cyan);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
}

.cyber-list-item:first-child { margin-top: 12px; }
.cyber-list-item:last-child  { margin-bottom: 12px; }

.cyber-list-item:hover {
    background: rgba(0, 255, 255, 0.08);
    border-color: var(--neon-cyan);
    transform: translateX(6px);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.15);
}

/* タグボタン（クリップ集ヘッダー用） */
.cyber-header__tag-btn {
    background: none;
    border: 1px solid rgba(0, 255, 255, 0.25);
    color: var(--neon-cyan);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding: 5px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-glow);
    text-decoration: none;
}

.cyber-header__tag-btn:hover {
    background: var(--neon-cyan-dim);
    box-shadow: var(--glow-cyan);
}

.cyber-header__tag-btn .material-icons {
    font-size: 16px;
}

/* ============================================
   イベント用ナビカード（サイバー版）
   ============================================ */
.cyber-nav-card__image.official-bg {
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.25), rgba(239, 83, 80, 0.15));
}

.cyber-nav-card__image.unofficial-bg {
    background: linear-gradient(135deg, rgba(142, 36, 170, 0.25), rgba(171, 71, 188, 0.15));
}

/* ============================================
   フォーム関連（お問い合わせ用）
   ============================================ */
.cyber-form-container {
    max-width: 650px;
    margin: 0 auto;
    padding: 0 24px 60px;
    position: relative;
    z-index: 1;
}

.cyber-form-card {
    background: rgba(13, 2, 33, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.12);
    border-radius: 16px;
    padding: 32px;
}

.cyber-form-group {
    margin-bottom: 24px;
}

.cyber-form-label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-cyan);
    letter-spacing: 0.03em;
}

.cyber-form-input,
.cyber-form-textarea,
.cyber-form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-white);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.cyber-form-input:focus,
.cyber-form-textarea:focus,
.cyber-form-select:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
    background: rgba(0, 255, 255, 0.03);
}

.cyber-form-textarea {
    resize: vertical;
    min-height: 150px;
}

.cyber-form-select {
    appearance: none;
    cursor: pointer;
}

.cyber-form-select option {
    background: #150535;
    color: var(--text-white);
}

.cyber-submit-btn {
    width: 100%;
    padding: 14px 32px;
    border: 1px solid var(--neon-cyan);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.05));
    color: var(--neon-cyan);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-glow);
    position: relative;
    overflow: hidden;
}

.cyber-submit-btn:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 255, 0.1));
    box-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

.cyber-submit-btn:active {
    transform: translateY(0);
}

.cyber-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   ツールセクション（その他ページ用）
   ============================================ */
.cyber-tool-section {
    position: relative;
    z-index: 1;
    background: rgba(13, 2, 33, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.12);
    border-radius: 20px;
    padding: 32px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.cyber-tool-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--neon-cyan);
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.08em;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.cyber-tool-title .material-icons {
    font-size: 28px;
}

.cyber-tool-textarea {
    width: 100%;
    min-height: 180px;
    padding: 16px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    resize: vertical;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.cyber-tool-textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
}

.cyber-tool-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    appearance: none;
    cursor: pointer;
    box-sizing: border-box;
}

.cyber-tool-select option {
    background: #150535;
    color: var(--text-white);
}

.cyber-tool-btn {
    width: 100%;
    padding: 16px 24px;
    border: 1px solid var(--neon-magenta);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.05));
    color: var(--neon-magenta);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    transition: var(--transition-glow);
}

.cyber-tool-btn:hover {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.2), rgba(0, 255, 255, 0.1));
    box-shadow: var(--glow-magenta);
    transform: translateY(-2px);
}

.cyber-tool-btn:active {
    transform: translateY(0);
}

.cyber-input-group {
    margin-bottom: 20px;
}

.cyber-input-label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

/* 結果コンテナ */
.cyber-results {
    margin-top: 24px;
}

/* ============================================
   タグチップ（サイバー版）
   ============================================ */
.cyber-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px;
    background: var(--cyber-surface);
    border: 1px solid rgba(0, 255, 255, 0.12);
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cyber-tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: transparent;
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: var(--neon-cyan);
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-glow);
}

.cyber-tag-chip:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
    color: var(--text-white);
}

.cyber-tag-chip .material-icons {
    font-size: 1.1rem;
    margin-right: 6px;
}

/* ============================================
   動画カード（サイバー版オーバーライド）
   ============================================ */
body.cyber-body .video-card {
    background-color: var(--cyber-surface);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 12px;
}

body.cyber-body .video-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

body.cyber-body .video-title {
    color: var(--text-cyan);
    font-family: var(--font-body);
}

/* 動画タグボタン */
.cyber-video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 16px 12px;
}

.cyber-video-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 10px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--neon-magenta);
    background: rgba(255, 0, 255, 0.06);
    border: 1px solid rgba(255, 0, 255, 0.25);
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-glow);
    white-space: nowrap;
}

.cyber-video-tag .material-icons {
    font-size: 12px;
}

.cyber-video-tag:hover {
    background: rgba(255, 0, 255, 0.15);
    border-color: var(--neon-magenta);
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.3);
    color: var(--text-white);
}

/* ============================================
   イベントコンテナ（サイバー版）
   ============================================ */
body.cyber-body .event-container,
body.cyber-body .unofficial-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 60px;
    position: relative;
    z-index: 1;
}

/* ============================================
   スナックバー（サイバー版）
   ============================================ */
body.cyber-body .snackbar {
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    backdrop-filter: blur(10px);
    border-radius: 10px;
}

/* ============================================
   イベントカード（サイバーパンク版）
   ============================================ */
.cyber-event-card {
    position: relative;
    background: rgba(13, 2, 33, 0.75);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition-glow);
    animation: eventCardFadeIn 0.5s ease forwards;
    opacity: 0;
    transform: translateY(12px);
}

@keyframes eventCardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cyber-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-magenta));
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.cyber-event-card:hover {
    border-color: rgba(0, 255, 255, 0.35);
    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.1),
        inset 0 0 30px rgba(0, 255, 255, 0.02);
    transform: translateY(-3px);
}

.cyber-event-card:hover::before {
    opacity: 1;
}

/* タイトルバー */
.cyber-event-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px 14px 20px;
    background: linear-gradient(135deg,
        rgba(0, 255, 255, 0.08),
        rgba(255, 0, 255, 0.04),
        transparent);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.cyber-event-title__icon {
    font-size: 22px;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.4));
    flex-shrink: 0;
}

.cyber-event-title__text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.02em;
    line-height: 1.4;
}

/* 情報グリッド */
.cyber-event-info {
    padding: 4px 0;
}

.cyber-event-row {
    display: flex;
    align-items: flex-start;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.04);
    gap: 12px;
}

.cyber-event-row:last-child {
    border-bottom: none;
}

.cyber-event-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    white-space: nowrap;
    min-width: 100px;
    flex-shrink: 0;
}

.cyber-event-label .material-icons {
    font-size: 16px;
    color: var(--neon-cyan);
    opacity: 0.7;
}

.cyber-event-value {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-cyan);
    line-height: 1.5;
    word-break: break-word;
}

/* リンク */
.cyber-event-link {
    color: var(--neon-magenta);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    word-break: break-all;
}

.cyber-event-link:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

/* 空状態 */
.cyber-event-empty {
    text-align: center;
    padding: 60px 24px;
    position: relative;
    z-index: 1;
}

.cyber-event-empty .material-icons {
    font-size: 64px;
    color: rgba(0, 255, 255, 0.2);
    margin-bottom: 16px;
    display: block;
}

.cyber-event-empty p {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 1.1rem;
}

/* ============================================
   3D カルーセルリング（クリップ集用）
   ============================================ */
.carousel-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
    perspective: 1200px;
    overflow: visible;
    padding: 30px 0 50px;
}

.carousel-ring {
    --quantity: 6;
    --card-width: 130px;
    --card-height: 170px;
    --translateZ: 220px;

    position: relative;
    width: var(--card-width);
    height: var(--card-height);
    transform-style: preserve-3d;
    /* animation: carousel-rotate 25s linear infinite; */ /* 手動回転のみにするため削除 */
    transform: rotateX(-8deg) rotateY(0);
    cursor: grab;
}

.carousel-ring:active {
    cursor: grabbing;
}

.carousel-ring:hover {
    animation-play-state: paused;
}

/* カード数が少ない場合（backface-visibility無効化） */
.carousel-ring--few .carousel-card {
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
}

@keyframes carousel-rotate {
    from { transform: perspective(1200px) rotateX(-8deg) rotateY(0); }
    to   { transform: perspective(1200px) rotateX(-8deg) rotateY(1turn); }
}

/* 個別カード */
.carousel-card {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--card-width);
    height: var(--card-height);
    border-radius: 16px;
    background: radial-gradient(
        ellipse at center,
        rgba(var(--card-r), var(--card-g), var(--card-b), 0.25) 0%,
        rgba(var(--card-r), var(--card-g), var(--card-b), 0.08) 60%,
        rgba(13, 2, 33, 0.85) 100%
    );
    border: 1.5px solid rgba(var(--card-r), var(--card-g), var(--card-b), 0.5);
    box-shadow:
        0 0 15px rgba(var(--card-r), var(--card-g), var(--card-b), 0.2),
        inset 0 0 30px rgba(var(--card-r), var(--card-g), var(--card-b), 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: rotateY(calc((360deg / var(--quantity)) * var(--index)))
               translateZ(var(--translateZ));
    backface-visibility: hidden;
    overflow: hidden;
}

.carousel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(var(--card-r), var(--card-g), var(--card-b), 0.12) 45%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(var(--card-r), var(--card-g), var(--card-b), 0.12) 55%,
        transparent 100%
    );
    transition: left 0.6s ease;
    pointer-events: none;
}

.carousel-card:hover::before {
    left: 100%;
}

.carousel-card:hover {
    border-color: rgba(var(--card-r), var(--card-g), var(--card-b), 0.9);
    box-shadow:
        0 0 30px rgba(var(--card-r), var(--card-g), var(--card-b), 0.5),
        0 0 60px rgba(var(--card-r), var(--card-g), var(--card-b), 0.2),
        inset 0 0 40px rgba(var(--card-r), var(--card-g), var(--card-b), 0.1);
    transform: rotateY(calc((360deg / var(--quantity)) * var(--index)))
               translateZ(calc(var(--translateZ) + 20px))
               scale(1.08);
}

/* カードアイコン */
.carousel-card__icon {
    font-size: 42px;
    color: rgba(var(--card-r), var(--card-g), var(--card-b), 0.9);
    filter: drop-shadow(0 0 12px rgba(var(--card-r), var(--card-g), var(--card-b), 0.5));
    transition: all 0.3s ease;
    z-index: 1;
}

.carousel-card:hover .carousel-card__icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 20px rgba(var(--card-r), var(--card-g), var(--card-b), 0.8));
}

/* カード名 */
.carousel-card__name {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-white);
    text-shadow: 0 0 6px rgba(var(--card-r), var(--card-g), var(--card-b), 0.3);
    z-index: 1;
    margin: 0;
}

/* サブカテゴリ数バッジ */
.carousel-card__count {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    z-index: 1;
}

/* カードアクション */
.carousel-card__action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(var(--card-r), var(--card-g), var(--card-b), 0.7);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 1;
    transition: all 0.3s ease;
    padding-top: 4px;
    border-top: 1px solid rgba(var(--card-r), var(--card-g), var(--card-b), 0.15);
    width: 70%;
    justify-content: center;
}

.carousel-card__action .material-icons {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.carousel-card:focus-visible .carousel-card__action {
    color: rgba(var(--card-r), var(--card-g), var(--card-b), 1);
    text-shadow: 0 0 6px rgba(var(--card-r), var(--card-g), var(--card-b), 0.5);
}

/* --- Custom Card Colors for Subcategories --- */
.carousel-card.card-black {
    --card-r: 100; --card-g: 100; --card-b: 100;
    background: radial-gradient(ellipse at center, rgba(30, 30, 30, 0.5) 0%, rgba(5, 5, 5, 0.9) 100%);
    border-color: rgba(120, 120, 120, 0.5);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1), inset 0 0 20px rgba(0, 0, 0, 0.8);
}
.carousel-card.card-black:hover {
    border-color: rgba(200, 200, 200, 0.9);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4), 0 0 60px rgba(255, 255, 255, 0.1), inset 0 0 40px rgba(0, 0, 0, 0.8);
}
.carousel-card.card-black .carousel-card__name,
.carousel-card.card-black .carousel-card__icon,
.carousel-card.card-black .carousel-card__action {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.carousel-card.card-rainbow {
    animation: rainbowCard 4s linear infinite;
}
.carousel-card.card-rainbow:hover {
    animation: rainbowCardHover 4s linear infinite;
}
.carousel-card.card-rainbow .carousel-card__name,
.carousel-card.card-rainbow .carousel-card__icon,
.carousel-card.card-rainbow .carousel-card__action {
    animation: rainbowText 4s linear infinite;
}

@keyframes rainbowCard {
    0%   { background-color: rgba(255,0,0,0.1); border-color: rgba(255,0,0,0.5); box-shadow: 0 0 15px rgba(255,0,0,0.2), inset 0 0 30px rgba(255,0,0,0.05); }
    16%  { background-color: rgba(255,255,0,0.1); border-color: rgba(255,255,0,0.5); box-shadow: 0 0 15px rgba(255,255,0,0.2), inset 0 0 30px rgba(255,255,0,0.05); }
    33%  { background-color: rgba(0,255,0,0.1); border-color: rgba(0,255,0,0.5); box-shadow: 0 0 15px rgba(0,255,0,0.2), inset 0 0 30px rgba(0,255,0,0.05); }
    50%  { background-color: rgba(0,255,255,0.1); border-color: rgba(0,255,255,0.5); box-shadow: 0 0 15px rgba(0,255,255,0.2), inset 0 0 30px rgba(0,255,255,0.05); }
    66%  { background-color: rgba(0,0,255,0.1); border-color: rgba(0,0,255,0.5); box-shadow: 0 0 15px rgba(0,0,255,0.2), inset 0 0 30px rgba(0,0,255,0.05); }
    83%  { background-color: rgba(255,0,255,0.1); border-color: rgba(255,0,255,0.5); box-shadow: 0 0 15px rgba(255,0,255,0.2), inset 0 0 30px rgba(255,0,255,0.05); }
    100% { background-color: rgba(255,0,0,0.1); border-color: rgba(255,0,0,0.5); box-shadow: 0 0 15px rgba(255,0,0,0.2), inset 0 0 30px rgba(255,0,0,0.05); }
}

@keyframes rainbowCardHover {
    0%   { border-color: rgba(255,0,0,0.9); box-shadow: 0 0 30px rgba(255,0,0,0.5), 0 0 60px rgba(255,0,0,0.2), inset 0 0 40px rgba(255,0,0,0.1); }
    16%  { border-color: rgba(255,255,0,0.9); box-shadow: 0 0 30px rgba(255,255,0,0.5), 0 0 60px rgba(255,255,0,0.2), inset 0 0 40px rgba(255,255,0,0.1); }
    33%  { border-color: rgba(0,255,0,0.9); box-shadow: 0 0 30px rgba(0,255,0,0.5), 0 0 60px rgba(0,255,0,0.2), inset 0 0 40px rgba(0,255,0,0.1); }
    50%  { border-color: rgba(0,255,255,0.9); box-shadow: 0 0 30px rgba(0,255,255,0.5), 0 0 60px rgba(0,255,255,0.2), inset 0 0 40px rgba(0,255,255,0.1); }
    66%  { border-color: rgba(0,0,255,0.9); box-shadow: 0 0 30px rgba(0,0,255,0.5), 0 0 60px rgba(0,0,255,0.2), inset 0 0 40px rgba(0,0,255,0.1); }
    83%  { border-color: rgba(255,0,255,0.9); box-shadow: 0 0 30px rgba(255,0,255,0.5), 0 0 60px rgba(255,0,255,0.2), inset 0 0 40px rgba(255,0,255,0.1); }
    100% { border-color: rgba(255,0,0,0.9); box-shadow: 0 0 30px rgba(255,0,0,0.5), 0 0 60px rgba(255,0,0,0.2), inset 0 0 40px rgba(255,0,0,0.1); }
}

@keyframes rainbowText {
    0%   { color: #ff5555; text-shadow: 0 0 6px rgba(255,0,0,0.5); }
    16%  { color: #ffff55; text-shadow: 0 0 6px rgba(255,255,0,0.5); }
    33%  { color: #55ff55; text-shadow: 0 0 6px rgba(0,255,0,0.5); }
    50%  { color: #55ffff; text-shadow: 0 0 6px rgba(0,255,255,0.5); }
    66%  { color: #5555ff; text-shadow: 0 0 6px rgba(0,0,255,0.5); }
    83%  { color: #ff55ff; text-shadow: 0 0 6px rgba(255,0,255,0.5); }
    100% { color: #ff5555; text-shadow: 0 0 6px rgba(255,0,0,0.5); }
}

.carousel-card.card-white-black {
    background: linear-gradient(135deg, rgba(200,200,200,0.2) 0%, rgba(200,200,200,0.1) 49%, rgba(10,10,10,0.8) 50%, rgba(5,5,5,0.9) 100%);
    border-color: rgba(200, 200, 200, 0.6);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.05);
}
.carousel-card.card-white-black:hover {
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 60px rgba(255, 255, 255, 0.3), inset 0 0 40px rgba(255, 255, 255, 0.1);
}
.carousel-card.card-white-black .carousel-card__name,
.carousel-card.card-white-black .carousel-card__icon,
.carousel-card.card-white-black .carousel-card__action {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5), 1px 1px 2px #000;
}

.carousel-card:hover .carousel-card__action .material-icons,
.carousel-card--hover .carousel-card__action .material-icons {
    transform: translateX(3px);
}

/* --- JS ホバーエミュレーション用クラス ---
   3D transform でCSS :hover が正常動作しないため、
   JS で正面カードに .carousel-card--hover を付与して同等の効果を再現する */
.carousel-card--hover {
    border-color: rgba(var(--card-r), var(--card-g), var(--card-b), 0.9);
    box-shadow:
        0 0 30px rgba(var(--card-r), var(--card-g), var(--card-b), 0.5),
        0 0 60px rgba(var(--card-r), var(--card-g), var(--card-b), 0.2),
        inset 0 0 40px rgba(var(--card-r), var(--card-g), var(--card-b), 0.1);
    transform: rotateY(calc((360deg / var(--quantity)) * var(--index)))
               translateZ(calc(var(--translateZ) + 20px))
               scale(1.08);
}
.carousel-card--hover::before {
    left: 100%;
}
.carousel-card--hover .carousel-card__icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 20px rgba(var(--card-r), var(--card-g), var(--card-b), 0.8));
}
.carousel-card.card-black.carousel-card--hover {
    border-color: rgba(200, 200, 200, 0.9);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4), 0 0 60px rgba(255, 255, 255, 0.1), inset 0 0 40px rgba(0, 0, 0, 0.8);
}
.carousel-card.card-rainbow.carousel-card--hover {
    animation: rainbowCardHover 4s linear infinite;
}
.carousel-card.card-white-black.carousel-card--hover {
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 60px rgba(255, 255, 255, 0.3), inset 0 0 40px rgba(255, 255, 255, 0.1);
}

/* ============================================
   Pattern A カスタムカラークラス
   ============================================ */

/* --- 観測者: カラフルなレインボーグラデーション --- */
.carousel-card.card-observer {
    animation: observerCard 5s linear infinite;
    --card-r: 255; --card-g: 255; --card-b: 255;
}
.carousel-card.card-observer .carousel-card__name,
.carousel-card.card-observer .carousel-card__icon,
.carousel-card.card-observer .carousel-card__action {
    animation: rainbowText 5s linear infinite;
}
.carousel-card.card-observer.carousel-card--hover,
.carousel-card.card-observer:hover {
    animation: observerCardHover 5s linear infinite;
}

@keyframes observerCard {
    0%   { background: radial-gradient(ellipse at center, rgba(255,0,80,0.25) 0%, rgba(255,0,80,0.08) 60%, rgba(13,2,33,0.85) 100%);
           border-color: rgba(255,0,80,0.6); box-shadow: 0 0 20px rgba(255,0,80,0.3), inset 0 0 30px rgba(255,0,80,0.05); }
    16%  { background: radial-gradient(ellipse at center, rgba(255,140,0,0.25) 0%, rgba(255,140,0,0.08) 60%, rgba(13,2,33,0.85) 100%);
           border-color: rgba(255,140,0,0.6); box-shadow: 0 0 20px rgba(255,140,0,0.3), inset 0 0 30px rgba(255,140,0,0.05); }
    33%  { background: radial-gradient(ellipse at center, rgba(80,255,120,0.25) 0%, rgba(80,255,120,0.08) 60%, rgba(13,2,33,0.85) 100%);
           border-color: rgba(80,255,120,0.6); box-shadow: 0 0 20px rgba(80,255,120,0.3), inset 0 0 30px rgba(80,255,120,0.05); }
    50%  { background: radial-gradient(ellipse at center, rgba(0,220,255,0.25) 0%, rgba(0,220,255,0.08) 60%, rgba(13,2,33,0.85) 100%);
           border-color: rgba(0,220,255,0.6); box-shadow: 0 0 20px rgba(0,220,255,0.3), inset 0 0 30px rgba(0,220,255,0.05); }
    66%  { background: radial-gradient(ellipse at center, rgba(80,80,255,0.25) 0%, rgba(80,80,255,0.08) 60%, rgba(13,2,33,0.85) 100%);
           border-color: rgba(80,80,255,0.6); box-shadow: 0 0 20px rgba(80,80,255,0.3), inset 0 0 30px rgba(80,80,255,0.05); }
    83%  { background: radial-gradient(ellipse at center, rgba(220,0,255,0.25) 0%, rgba(220,0,255,0.08) 60%, rgba(13,2,33,0.85) 100%);
           border-color: rgba(220,0,255,0.6); box-shadow: 0 0 20px rgba(220,0,255,0.3), inset 0 0 30px rgba(220,0,255,0.05); }
    100% { background: radial-gradient(ellipse at center, rgba(255,0,80,0.25) 0%, rgba(255,0,80,0.08) 60%, rgba(13,2,33,0.85) 100%);
           border-color: rgba(255,0,80,0.6); box-shadow: 0 0 20px rgba(255,0,80,0.3), inset 0 0 30px rgba(255,0,80,0.05); }
}

@keyframes observerCardHover {
    0%   { border-color: rgba(255,0,80,0.95); box-shadow: 0 0 35px rgba(255,0,80,0.6), 0 0 70px rgba(255,0,80,0.25), inset 0 0 40px rgba(255,0,80,0.1); }
    16%  { border-color: rgba(255,140,0,0.95); box-shadow: 0 0 35px rgba(255,140,0,0.6), 0 0 70px rgba(255,140,0,0.25), inset 0 0 40px rgba(255,140,0,0.1); }
    33%  { border-color: rgba(80,255,120,0.95); box-shadow: 0 0 35px rgba(80,255,120,0.6), 0 0 70px rgba(80,255,120,0.25), inset 0 0 40px rgba(80,255,120,0.1); }
    50%  { border-color: rgba(0,220,255,0.95); box-shadow: 0 0 35px rgba(0,220,255,0.6), 0 0 70px rgba(0,220,255,0.25), inset 0 0 40px rgba(0,220,255,0.1); }
    66%  { border-color: rgba(80,80,255,0.95); box-shadow: 0 0 35px rgba(80,80,255,0.6), 0 0 70px rgba(80,80,255,0.25), inset 0 0 40px rgba(80,80,255,0.1); }
    83%  { border-color: rgba(220,0,255,0.95); box-shadow: 0 0 35px rgba(220,0,255,0.6), 0 0 70px rgba(220,0,255,0.25), inset 0 0 40px rgba(220,0,255,0.1); }
    100% { border-color: rgba(255,0,80,0.95); box-shadow: 0 0 35px rgba(255,0,80,0.6), 0 0 70px rgba(255,0,80,0.25), inset 0 0 40px rgba(255,0,80,0.1); }
}

/* --- ちゃんまゆ: オレンジ→水色グラデーション --- */
.carousel-card.card-chanmayu {
    --card-r: 255; --card-g: 140; --card-b: 0;
    background: linear-gradient(135deg,
        rgba(255, 140, 0, 0.28) 0%,
        rgba(255, 180, 60, 0.12) 45%,
        rgba(0, 191, 255, 0.18) 70%,
        rgba(13, 2, 33, 0.85) 100%);
    border: 1.5px solid;
    border-image: linear-gradient(135deg, rgba(255,140,0,0.8), rgba(0,191,255,0.8)) 1;
    border-radius: 16px;
    box-shadow: 0 0 18px rgba(255,140,0,0.25), 0 0 18px rgba(0,191,255,0.15), inset 0 0 30px rgba(255,140,0,0.06);
}
.carousel-card.card-chanmayu .carousel-card__icon {
    color: #FF8C00;
    filter: drop-shadow(0 0 10px rgba(255,140,0,0.7));
}
.carousel-card.card-chanmayu .carousel-card__name {
    background: linear-gradient(90deg, #FF8C00, #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 4px rgba(255,140,0,0.4));
}
.carousel-card.card-chanmayu .carousel-card__action {
    color: rgba(0, 191, 255, 0.8);
    border-top-color: rgba(0, 191, 255, 0.2);
}
.carousel-card.card-chanmayu.carousel-card--hover,
.carousel-card.card-chanmayu:hover {
    box-shadow: 0 0 35px rgba(255,140,0,0.5), 0 0 35px rgba(0,191,255,0.4), inset 0 0 40px rgba(255,140,0,0.1);
}

/* --- つるぷー: 黄色→薄紫グラデーション --- */
.carousel-card.card-tsurpu {
    --card-r: 255; --card-g: 224; --card-b: 102;
    background: linear-gradient(135deg,
        rgba(255, 224, 102, 0.25) 0%,
        rgba(255, 200, 60, 0.10) 40%,
        rgba(179, 136, 255, 0.20) 70%,
        rgba(13, 2, 33, 0.85) 100%);
    border: 1.5px solid;
    border-image: linear-gradient(135deg, rgba(255,224,102,0.8), rgba(179,136,255,0.8)) 1;
    border-radius: 16px;
    box-shadow: 0 0 18px rgba(255,224,102,0.25), 0 0 18px rgba(179,136,255,0.15), inset 0 0 30px rgba(255,224,102,0.06);
}
.carousel-card.card-tsurpu .carousel-card__icon {
    color: #FFE066;
    filter: drop-shadow(0 0 10px rgba(255,224,102,0.7));
}
.carousel-card.card-tsurpu .carousel-card__name {
    background: linear-gradient(90deg, #FFE066, #CE93D8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 4px rgba(255,224,102,0.4));
}
.carousel-card.card-tsurpu .carousel-card__action {
    color: rgba(179, 136, 255, 0.85);
    border-top-color: rgba(179, 136, 255, 0.2);
}
.carousel-card.card-tsurpu.carousel-card--hover,
.carousel-card.card-tsurpu:hover {
    box-shadow: 0 0 35px rgba(255,224,102,0.5), 0 0 35px rgba(179,136,255,0.4), inset 0 0 40px rgba(255,224,102,0.1);
}

/* --- ぐでたか: 白×黒ダイアゴナル強化版 --- */
.carousel-card.card-gudetaka {
    --card-r: 220; --card-g: 220; --card-b: 220;
    background: linear-gradient(135deg,
        rgba(240, 240, 240, 0.30) 0%,
        rgba(200, 200, 200, 0.15) 40%,
        rgba(20, 20, 20, 0.85) 55%,
        rgba(5, 5, 5, 0.95) 100%);
    border: 1.5px solid rgba(200, 200, 200, 0.55);
    box-shadow: 0 0 18px rgba(255,255,255,0.18), inset 0 0 25px rgba(0,0,0,0.6);
}
.carousel-card.card-gudetaka .carousel-card__icon {
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.6));
}
.carousel-card.card-gudetaka .carousel-card__name,
.carousel-card.card-gudetaka .carousel-card__action {
    color: #fff;
    text-shadow: 0 0 8px rgba(255,255,255,0.5), 1px 1px 3px #000;
}
.carousel-card.card-gudetaka.carousel-card--hover,
.carousel-card.card-gudetaka:hover {
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 35px rgba(255,255,255,0.5), 0 0 60px rgba(255,255,255,0.2), inset 0 0 40px rgba(255,255,255,0.08);
}

/* --- Twitch: ミントグリーン×ホットピンク --- */
.carousel-card.card-twitch {
    --card-r: 0; --card-g: 255; --card-b: 178;
    background: linear-gradient(135deg,
        rgba(0, 255, 178, 0.25) 0%,
        rgba(0, 200, 140, 0.10) 40%,
        rgba(255, 20, 147, 0.20) 70%,
        rgba(13, 2, 33, 0.85) 100%);
    border: 1.5px solid;
    border-image: linear-gradient(135deg, rgba(0,255,178,0.8), rgba(255,20,147,0.8)) 1;
    border-radius: 16px;
    box-shadow: 0 0 18px rgba(0,255,178,0.25), 0 0 18px rgba(255,20,147,0.15), inset 0 0 30px rgba(0,255,178,0.06);
}
.carousel-card.card-twitch .carousel-card__icon {
    color: #00FFB2;
    filter: drop-shadow(0 0 10px rgba(0,255,178,0.7));
}
.carousel-card.card-twitch .carousel-card__name {
    background: linear-gradient(90deg, #00FFB2, #FF1493);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 4px rgba(0,255,178,0.4));
}
.carousel-card.card-twitch .carousel-card__action {
    color: rgba(255, 20, 147, 0.85);
    border-top-color: rgba(255, 20, 147, 0.2);
}
.carousel-card.card-twitch.carousel-card--hover,
.carousel-card.card-twitch:hover {
    box-shadow: 0 0 35px rgba(0,255,178,0.5), 0 0 35px rgba(255,20,147,0.4), inset 0 0 40px rgba(0,255,178,0.1);
}

/* --- sample2: ディープバイオレット×ピーチ --- */
.carousel-card.card-sample2 {
    --card-r: 102; --card-g: 0; --card-b: 255;
    background: linear-gradient(135deg,
        rgba(102, 0, 255, 0.28) 0%,
        rgba(140, 60, 255, 0.12) 45%,
        rgba(255, 170, 128, 0.20) 70%,
        rgba(13, 2, 33, 0.85) 100%);
    border: 1.5px solid;
    border-image: linear-gradient(135deg, rgba(102,0,255,0.8), rgba(255,170,128,0.8)) 1;
    border-radius: 16px;
    box-shadow: 0 0 18px rgba(102,0,255,0.25), 0 0 18px rgba(255,170,128,0.15), inset 0 0 30px rgba(102,0,255,0.06);
}
.carousel-card.card-sample2 .carousel-card__icon {
    color: #8844FF;
    filter: drop-shadow(0 0 10px rgba(102,0,255,0.7));
}
.carousel-card.card-sample2 .carousel-card__name {
    background: linear-gradient(90deg, #9933FF, #FFAA80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 4px rgba(102,0,255,0.4));
}
.carousel-card.card-sample2 .carousel-card__action {
    color: rgba(255, 170, 128, 0.85);
    border-top-color: rgba(255, 170, 128, 0.2);
}
.carousel-card.card-sample2.carousel-card--hover,
.carousel-card.card-sample2:hover {
    box-shadow: 0 0 35px rgba(102,0,255,0.5), 0 0 35px rgba(255,170,128,0.4), inset 0 0 40px rgba(102,0,255,0.1);
}

/* --- 餡ブレラ: ホワイトネオン --- */
.carousel-card.card-white {
    --card-r: 240; --card-g: 240; --card-b: 240;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.35) 0%, rgba(220,220,220,0.12) 50%, rgba(13,2,33,0.85) 100%);
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 0 18px rgba(255,255,255,0.3), inset 0 0 25px rgba(255,255,255,0.05);
}
.carousel-card.card-white .carousel-card__name,
.carousel-card.card-white .carousel-card__icon,
.carousel-card.card-white .carousel-card__action {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.6);
}
.carousel-card.card-white.carousel-card--hover,
.carousel-card.card-white:hover {
    border-color: rgba(255,255,255,0.95);
    box-shadow: 0 0 35px rgba(255,255,255,0.6), 0 0 60px rgba(255,255,255,0.25), inset 0 0 40px rgba(255,255,255,0.08);
}

/* === Pattern B: 対角グラデーション (Dual-Tone) === */

/* --- FEMME FATALE: 白×グレー (銃) --- */
.carousel-card.card-femme {
    --card-r: 200; --card-g: 200; --card-b: 200;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.30) 0%, rgba(220,220,220,0.15) 45%,
        rgba(100,100,100,0.25) 55%, rgba(50,50,50,0.85) 100%);
    border: 1.5px solid rgba(200,200,200,0.6);
    box-shadow: 0 0 18px rgba(255,255,255,0.2), 0 0 12px rgba(120,120,120,0.15), inset 0 0 25px rgba(0,0,0,0.4);
}
.carousel-card.card-femme .carousel-card__icon { color: #ddd; filter: drop-shadow(0 0 10px rgba(255,255,255,0.5)); }
.carousel-card.card-femme .carousel-card__name {
    background: linear-gradient(90deg, #fff, #999);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    text-shadow: none; filter: drop-shadow(0 0 4px rgba(255,255,255,0.3));
}
.carousel-card.card-femme .carousel-card__action { color: rgba(180,180,180,0.8); border-top-color: rgba(180,180,180,0.2); }
.carousel-card.card-femme.carousel-card--hover,
.carousel-card.card-femme:hover {
    box-shadow: 0 0 35px rgba(255,255,255,0.5), 0 0 30px rgba(120,120,120,0.3), inset 0 0 40px rgba(255,255,255,0.08);
}

/* --- DEP: モスグリーン×黄色 (毒) --- */
.carousel-card.card-dep {
    --card-r: 85; --card-g: 107; --card-b: 47;
    background: linear-gradient(135deg,
        rgba(85,107,47,0.30) 0%, rgba(100,120,50,0.15) 45%,
        rgba(255,215,0,0.22) 55%, rgba(13,2,33,0.85) 100%);
    border: 1.5px solid; border-image: linear-gradient(135deg, rgba(85,107,47,0.8), rgba(255,215,0,0.8)) 1; border-radius: 16px;
    box-shadow: 0 0 18px rgba(85,107,47,0.25), 0 0 18px rgba(255,215,0,0.15), inset 0 0 30px rgba(85,107,47,0.06);
}
.carousel-card.card-dep .carousel-card__icon { color: #8B9A46; filter: drop-shadow(0 0 10px rgba(85,107,47,0.7)); }
.carousel-card.card-dep .carousel-card__name {
    background: linear-gradient(90deg, #8B9A46, #FFD700);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    text-shadow: none; filter: drop-shadow(0 0 4px rgba(85,107,47,0.4));
}
.carousel-card.card-dep .carousel-card__action { color: rgba(255,215,0,0.85); border-top-color: rgba(255,215,0,0.2); }
.carousel-card.card-dep.carousel-card--hover,
.carousel-card.card-dep:hover {
    box-shadow: 0 0 35px rgba(85,107,47,0.5), 0 0 35px rgba(255,215,0,0.4), inset 0 0 40px rgba(85,107,47,0.1);
}

/* --- 闇医者: 白×黒 (医療) --- */
.carousel-card.card-yami {
    --card-r: 200; --card-g: 200; --card-b: 200;
    background: linear-gradient(135deg,
        rgba(240,240,240,0.30) 0%, rgba(200,200,200,0.15) 45%,
        rgba(10,10,10,0.80) 55%, rgba(5,5,5,0.95) 100%);
    border: 1.5px solid rgba(200,200,200,0.5);
    box-shadow: 0 0 18px rgba(255,255,255,0.15), inset 0 0 25px rgba(0,0,0,0.6);
}
.carousel-card.card-yami .carousel-card__icon { color: #e0e0e0; filter: drop-shadow(0 0 10px rgba(255,255,255,0.5)); }
.carousel-card.card-yami .carousel-card__name {
    background: linear-gradient(90deg, #fff, #666);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    text-shadow: none; filter: drop-shadow(0 0 4px rgba(255,255,255,0.3));
}
.carousel-card.card-yami .carousel-card__action { color: rgba(200,200,200,0.8); border-top-color: rgba(200,200,200,0.2); }
.carousel-card.card-yami.carousel-card--hover,
.carousel-card.card-yami:hover {
    border-color: rgba(255,255,255,0.9);
    box-shadow: 0 0 35px rgba(255,255,255,0.5), 0 0 50px rgba(255,255,255,0.15), inset 0 0 40px rgba(255,255,255,0.06);
}

/* --- MBM: 黄×緑 --- */
.carousel-card.card-mbm {
    --card-r: 255; --card-g: 230; --card-b: 0;
    background: linear-gradient(135deg,
        rgba(255,230,0,0.28) 0%, rgba(255,220,30,0.12) 45%,
        rgba(57,255,20,0.20) 55%, rgba(13,2,33,0.85) 100%);
    border: 1.5px solid; border-image: linear-gradient(135deg, rgba(255,230,0,0.8), rgba(57,255,20,0.8)) 1; border-radius: 16px;
    box-shadow: 0 0 18px rgba(255,230,0,0.25), 0 0 18px rgba(57,255,20,0.15), inset 0 0 30px rgba(255,230,0,0.06);
}
.carousel-card.card-mbm .carousel-card__icon { color: #FFE600; filter: drop-shadow(0 0 10px rgba(255,230,0,0.7)); }
.carousel-card.card-mbm .carousel-card__name {
    background: linear-gradient(90deg, #FFE600, #39FF14);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    text-shadow: none; filter: drop-shadow(0 0 4px rgba(255,230,0,0.4));
}
.carousel-card.card-mbm .carousel-card__action { color: rgba(57,255,20,0.85); border-top-color: rgba(57,255,20,0.2); }
.carousel-card.card-mbm.carousel-card--hover,
.carousel-card.card-mbm:hover {
    box-shadow: 0 0 35px rgba(255,230,0,0.5), 0 0 35px rgba(57,255,20,0.4), inset 0 0 40px rgba(255,230,0,0.1);
}

/* --- LUNA: 赤×紫 --- */
.carousel-card.card-luna {
    --card-r: 220; --card-g: 30; --card-b: 30;
    background: linear-gradient(135deg,
        rgba(220,30,30,0.28) 0%, rgba(200,40,40,0.12) 45%,
        rgba(150,0,200,0.22) 55%, rgba(13,2,33,0.85) 100%);
    border: 1.5px solid; border-image: linear-gradient(135deg, rgba(220,30,30,0.8), rgba(150,0,200,0.8)) 1; border-radius: 16px;
    box-shadow: 0 0 18px rgba(220,30,30,0.25), 0 0 18px rgba(150,0,200,0.15), inset 0 0 30px rgba(220,30,30,0.06);
}
.carousel-card.card-luna .carousel-card__icon { color: #E63939; filter: drop-shadow(0 0 10px rgba(220,30,30,0.7)); }
.carousel-card.card-luna .carousel-card__name {
    background: linear-gradient(90deg, #E63939, #B44AED);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    text-shadow: none; filter: drop-shadow(0 0 4px rgba(220,30,30,0.4));
}
.carousel-card.card-luna .carousel-card__action { color: rgba(150,0,200,0.85); border-top-color: rgba(150,0,200,0.2); }
.carousel-card.card-luna.carousel-card--hover,
.carousel-card.card-luna:hover {
    box-shadow: 0 0 35px rgba(220,30,30,0.5), 0 0 35px rgba(150,0,200,0.4), inset 0 0 40px rgba(220,30,30,0.1);
}

/* --- GAIA: 白×水色 --- */
.carousel-card.card-gaia {
    --card-r: 220; --card-g: 240; --card-b: 255;
    background: linear-gradient(135deg,
        rgba(240,240,240,0.28) 0%, rgba(220,230,240,0.12) 45%,
        rgba(0,191,255,0.22) 55%, rgba(13,2,33,0.85) 100%);
    border: 1.5px solid; border-image: linear-gradient(135deg, rgba(240,240,240,0.8), rgba(0,191,255,0.8)) 1; border-radius: 16px;
    box-shadow: 0 0 18px rgba(255,255,255,0.2), 0 0 18px rgba(0,191,255,0.18), inset 0 0 30px rgba(0,191,255,0.06);
}
.carousel-card.card-gaia .carousel-card__icon { color: #e0f0ff; filter: drop-shadow(0 0 10px rgba(0,191,255,0.6)); }
.carousel-card.card-gaia .carousel-card__name {
    background: linear-gradient(90deg, #fff, #00BFFF);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    text-shadow: none; filter: drop-shadow(0 0 4px rgba(0,191,255,0.4));
}
.carousel-card.card-gaia .carousel-card__action { color: rgba(0,191,255,0.85); border-top-color: rgba(0,191,255,0.2); }
.carousel-card.card-gaia.carousel-card--hover,
.carousel-card.card-gaia:hover {
    box-shadow: 0 0 35px rgba(255,255,255,0.4), 0 0 35px rgba(0,191,255,0.4), inset 0 0 40px rgba(0,191,255,0.1);
}

/* --- 魔女の酒場: 赤×黒 --- */
.carousel-card.card-majo {
    --card-r: 180; --card-g: 0; --card-b: 0;
    background: linear-gradient(135deg,
        rgba(200,20,20,0.30) 0%, rgba(160,10,10,0.15) 45%,
        rgba(10,10,10,0.80) 55%, rgba(5,5,5,0.95) 100%);
    border: 1.5px solid; border-image: linear-gradient(135deg, rgba(200,20,20,0.8), rgba(30,30,30,0.8)) 1; border-radius: 16px;
    box-shadow: 0 0 18px rgba(200,20,20,0.25), inset 0 0 25px rgba(0,0,0,0.6);
}
.carousel-card.card-majo .carousel-card__icon { color: #E63939; filter: drop-shadow(0 0 10px rgba(200,20,20,0.7)); }
.carousel-card.card-majo .carousel-card__name {
    background: linear-gradient(90deg, #E63939, #999);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    text-shadow: none; filter: drop-shadow(0 0 4px rgba(200,20,20,0.4));
}
.carousel-card.card-majo .carousel-card__action { color: rgba(200,20,20,0.8); border-top-color: rgba(200,20,20,0.2); }
.carousel-card.card-majo.carousel-card--hover,
.carousel-card.card-majo:hover {
    box-shadow: 0 0 35px rgba(200,20,20,0.5), 0 0 40px rgba(0,0,0,0.4), inset 0 0 40px rgba(200,20,20,0.1);
}

/* --- Urashima: 水色×薄紫 --- */
.carousel-card.card-urashima {
    --card-r: 0; --card-g: 191; --card-b: 255;
    background: linear-gradient(135deg,
        rgba(0,191,255,0.28) 0%, rgba(80,200,255,0.12) 45%,
        rgba(179,136,255,0.22) 55%, rgba(13,2,33,0.85) 100%);
    border: 1.5px solid; border-image: linear-gradient(135deg, rgba(0,191,255,0.8), rgba(179,136,255,0.8)) 1; border-radius: 16px;
    box-shadow: 0 0 18px rgba(0,191,255,0.25), 0 0 18px rgba(179,136,255,0.15), inset 0 0 30px rgba(0,191,255,0.06);
}
.carousel-card.card-urashima .carousel-card__icon { color: #00BFFF; filter: drop-shadow(0 0 10px rgba(0,191,255,0.7)); }
.carousel-card.card-urashima .carousel-card__name {
    background: linear-gradient(90deg, #00BFFF, #CE93D8);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    text-shadow: none; filter: drop-shadow(0 0 4px rgba(0,191,255,0.4));
}
.carousel-card.card-urashima .carousel-card__action { color: rgba(179,136,255,0.85); border-top-color: rgba(179,136,255,0.2); }
.carousel-card.card-urashima.carousel-card--hover,
.carousel-card.card-urashima:hover {
    box-shadow: 0 0 35px rgba(0,191,255,0.5), 0 0 35px rgba(179,136,255,0.4), inset 0 0 40px rgba(0,191,255,0.1);
}

/* --- サニーケバブ: 赤×黄 --- */
.carousel-card.card-sunnykebab {
    --card-r: 220; --card-g: 50; --card-b: 30;
    background: linear-gradient(135deg,
        rgba(220,50,30,0.28) 0%, rgba(200,40,20,0.12) 45%,
        rgba(255,220,0,0.22) 55%, rgba(13,2,33,0.85) 100%);
    border: 1.5px solid; border-image: linear-gradient(135deg, rgba(220,50,30,0.8), rgba(255,220,0,0.8)) 1; border-radius: 16px;
    box-shadow: 0 0 18px rgba(220,50,30,0.25), 0 0 18px rgba(255,220,0,0.15), inset 0 0 30px rgba(220,50,30,0.06);
}
.carousel-card.card-sunnykebab .carousel-card__icon { color: #E63939; filter: drop-shadow(0 0 10px rgba(220,50,30,0.7)); }
.carousel-card.card-sunnykebab .carousel-card__name {
    background: linear-gradient(90deg, #E63939, #FFDC00);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    text-shadow: none; filter: drop-shadow(0 0 4px rgba(220,50,30,0.4));
}
.carousel-card.card-sunnykebab .carousel-card__action { color: rgba(255,220,0,0.85); border-top-color: rgba(255,220,0,0.2); }
.carousel-card.card-sunnykebab.carousel-card--hover,
.carousel-card.card-sunnykebab:hover {
    box-shadow: 0 0 35px rgba(220,50,30,0.5), 0 0 35px rgba(255,220,0,0.4), inset 0 0 40px rgba(220,50,30,0.1);
}

/* --- レスポンシブ --- */
@media (max-width: 900px) {
    .carousel-ring {
        --translateZ: 200px;
        --card-width: 120px;
        --card-height: 155px;
    }

    .carousel-wrapper {
        min-height: 280px;
    }
}

@media (max-width: 600px) {
    .carousel-ring {
        --translateZ: 160px;
        --card-width: 110px;
        --card-height: 140px;
    }

    .carousel-wrapper {
        min-height: 250px;
        padding: 20px 0 30px;
    }

    .carousel-card__icon {
        font-size: 28px;
    }

    .carousel-card__name {
        font-size: 0.65rem;
    }

    .carousel-card__count {
        font-size: 0.55rem;
    }

    .carousel-card__action {
        font-size: 0.5rem;
    }
}

/* カルーセル・ナビゲーションボタン (案1: サイド・フローティング・ネオン) */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--neon-cyan);
    font-size: 56px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0.6;
    user-select: none;
}

.carousel-nav-btn:hover {
    opacity: 1;
    color: var(--text-white);
    text-shadow: var(--glow-cyan);
}

.carousel-nav-btn--prev {
    left: 20px;
}

.carousel-nav-btn--next {
    right: 20px;
}

.carousel-nav-btn .material-icons {
    font-size: 64px;
}

@media (max-width: 600px) {
    .carousel-nav-btn {
        font-size: 40px;
        padding: 10px;
    }
    .carousel-nav-btn .material-icons {
        font-size: 48px;
    }
    .carousel-nav-btn--prev { left: 5px; }
    .carousel-nav-btn--next { right: 5px; }
}

/* ============================================
   フッター
   ============================================ */
.cyber-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 30px 24px;
    border-top: 1px solid rgba(0, 255, 255, 0.08);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* ============================================
   パーティクルコンテナ
   ============================================ */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--neon-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

/* ============================================
   スキャンライン・オーバーレイ
   ============================================ */
.scanline-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
}

/* ============================================
   レスポンシブ対応
   ============================================ */
@media (max-width: 900px) {
    .cyber-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 16px 60px;
    }

    .holo-card__image {
        height: 160px;
    }
}

/* スマホ・タブレット（パターンB: 2段組み・UI最適化） */
@media (max-width: 768px) {
    .cyber-header {
        height: auto; /* 高さを内容に合わせる */
        padding: 10px 12px;
    }
    
    .cyber-header__inner {
        flex-wrap: wrap; /* 折り返しを有効化 */
    }

    .cyber-header__nav:first-child {
        order: 1; /* 上段の左 */
    }

    .cyber-header__nav:last-child {
        order: 2; /* 上段の右 */
        margin-left: auto; /* 右に寄せる */
    }

    .cyber-header__title {
        position: static; /* 強制中央配置を解除 */
        transform: none;
        order: 3; /* 下段に配置 */
        width: 100%; /* 横幅いっぱいにし、改行を強制 */
        text-align: center;
        margin-top: 10px; /* 上段のボタンとの余白 */
        pointer-events: auto;
    }
}

@media (max-width: 600px) {
    .cyber-hero {
        padding: 50px 16px 24px;
    }

    .cyber-hero__title {
        font-size: 2.2rem;
        letter-spacing: 0.08em;
    }

    .cyber-hero__subtitle {
        font-size: 0.8rem;
    }

    .cyber-header {
        padding: 0 12px; /* スマホ特化で少し狭める */
        height: 56px;
    }

    .cyber-header__title {
        font-size: 0.9rem; /* より小さく */
    }

    .cyber-cards {
        padding: 16px 12px 40px;
        gap: 16px;
    }

    .holo-card__content {
        padding: 16px 16px 20px;
    }

    .holo-card__title {
        font-size: 1.1rem;
    }

    .cyber-nav-cards {
        grid-template-columns: 1fr;
        padding: 16px 12px 40px;
        gap: 16px;
    }

    .cyber-page-hero {
        padding: 36px 16px 20px;
    }

    .cyber-page-hero__title {
        font-size: 1.6rem;
    }
}

/* ============================================
   ハッカーコンソール＆アーカイブ用スタイル
   ============================================ */
.hacker-console {
    background: rgba(8, 2, 20, 0.85);
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.15), inset 0 0 15px rgba(0, 255, 255, 0.1);
    border-radius: 8px;
    padding: 24px;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    position: relative;
    overflow: hidden;
}

.hacker-console::before {
    content: 'DECRYPTED DATABASE // SECURE_ACCESS_GRANTED';
    position: absolute;
    top: 4px;
    left: 12px;
    font-size: 0.75rem;
    color: rgba(0, 255, 255, 0.5);
    letter-spacing: 0.1em;
}

.hacker-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.hacker-title {
    color: #fff;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

.hacker-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hacker-item {
    background: rgba(15, 5, 30, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.15);
    padding: 16px 20px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.hacker-item:hover {
    border-color: #ff00ff;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3), inset 0 0 10px rgba(255, 0, 255, 0.15);
    transform: translateY(-2px);
    background: rgba(255, 0, 255, 0.05);
}

.hacker-file-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hacker-file-icon {
    font-size: 24px;
    color: #00ffff;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}
.hacker-item:hover .hacker-file-icon {
    color: #ff00ff;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.6);
}

.hacker-file-name {
    font-size: 1.05rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.hacker-file-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    display: flex;
    gap: 16px;
}

.hacker-status {
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 3px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}
.status-decrypted {
    background: rgba(0, 255, 255, 0.2);
    border: 1px solid #00ffff;
    color: #00ffff;
}
.status-system {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid #8b5cf6;
    color: #c084fc;
}
.status-warning {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

.hacker-action {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #00ffff;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}
.hacker-item:hover .hacker-action {
    color: #ff00ff;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.4);
}

/* インジケーター明滅アニメーション */
.blink-dot {
    width: 8px;
    height: 8px;
    background-color: #00ffff;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #00ffff;
    animation: blinkGlow 1.5s infinite alternate;
}
.blink-dot.magenta {
    background-color: #ff00ff;
    box-shadow: 0 0 8px #ff00ff;
}

@keyframes blinkGlow {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

/* ハッキングHUDの計器類 */
.hud-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.hud-panel {
    background: rgba(5, 1, 15, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 6px;
    padding: 16px;
    font-family: 'Share Tech Mono', monospace;
    color: #00ffff;
}
.hud-panel.magenta {
    border-color: rgba(255, 0, 255, 0.2);
    color: #ff00ff;
}

.hud-panel-title {
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(0, 255, 255, 0.15);
    padding-bottom: 6px;
    margin-bottom: 12px;
}
.hud-panel.magenta .hud-panel-title {
    border-bottom-color: rgba(255, 0, 255, 0.15);
}

.hud-logs-stream {
    height: 150px;
    overflow-y: hidden;
    font-size: 0.8rem;
    line-height: 1.5;
}

/* ダミーのグリッチビデオ枠 */
.hud-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border: 1px solid rgba(0, 255, 255, 0.3);
    background: #000;
    overflow: hidden;
}

.hud-video-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff;
}

.hud-video-coords {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
}

/* パケット流動用アニメーション */
.traffic-packet {
    height: 12px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    width: 30px;
    position: absolute;
    animation: flowPacket 2s infinite linear;
    opacity: 0.6;
}

@keyframes flowPacket {
    0% { left: -50px; }
    100% { left: calc(100% + 50px); }
}

@media (max-width: 768px) {
    .hud-grid {
        grid-template-columns: 1fr;
    }
}

