/**
 * Adult Premium Theme - Main Stylesheet
 * ライト/ダークモード対応（21時以降自動切替）
 * 
 * @package Adult_Premium_Theme
 */

/* ========================================
   カラー変数（ライトモード）
======================================== */
:root {
    /* ライトモード（デフォルト） */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f8f9fa;
    --color-bg-card: #ffffff;
    --color-gold-primary: #c9a227;
    --color-gold-light: #e8d48b;
    --color-gold-dark: #9d7f2a;
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #4a4a4a;
    --color-text-muted: #808080;
    --color-hot: #dc3545;
    --color-vr: #4169e1;
    --color-border: #e0e0e0;
    --color-shadow: rgba(0, 0, 0, 0.1);
}

/* ダークモード（21時以降） */
body.dark-mode {
    --color-bg-primary: #0a0a0a;
    --color-bg-secondary: #1a1a1a;
    --color-bg-card: #252525;
    --color-gold-primary: #d4af37;
    --color-gold-light: #f4e4b8;
    --color-gold-dark: #9d7f2a;
    --color-text-primary: #ffffff;
    --color-text-secondary: #c0c0c0;
    --color-text-muted: #808080;
    --color-hot: #ff6b6b;
    --color-vr: #6b9eff;
    --color-border: #3a3a3a;
    --color-shadow: rgba(0, 0, 0, 0.5);
}

/* ========================================
   リセット & 基本スタイル
======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    color: var(--color-gold-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-gold-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   年齢確認ゲート
======================================== */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.age-gate-content {
    background: var(--color-bg-secondary);
    border: 2px solid var(--color-gold-primary);
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 40px var(--color-shadow);
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.age-gate h1 {
    color: var(--color-gold-primary);
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.age-gate p {
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
}

.age-gate-terms {
    font-size: 13px !important;
    margin-bottom: 25px !important;
    padding: 15px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 8px;
    border: 1px solid var(--color-gold-primary);
}

.age-gate-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   ボタン（修正版）
======================================== */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold-primary), var(--color-gold-light));
    color: #000;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    z-index: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 162, 39, 0.6);
    color: #000;
}

.btn-gold:active {
    transform: translateY(0);
}

.btn-gold:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--color-text-secondary);
    border: 2px solid var(--color-border);
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

.btn-outline:hover {
    border-color: var(--color-gold-primary);
    color: var(--color-gold-primary);
    background: rgba(201, 162, 39, 0.1);
}

.btn-large {
    padding: 20px 60px;
    font-size: 18px;
}

/* ========================================
   ヘッダー（全幅対応）
======================================== */
header {
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--color-shadow);
    width: 100%;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    width: 100%;
    max-width: 100%;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gold-primary), var(--color-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.search-bar {
    flex: 1;
    max-width: 600px;
    margin: 0 30px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--color-gold-primary);
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.2);
}

.search-bar input::placeholder {
    color: var(--color-text-muted);
}

.search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 18px;
}

/* カテゴリタブ */
.category-tabs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 15px 20px;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    scrollbar-width: none;
    width: 100%;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 25px;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.category-tab.active,
.category-tab:hover {
    background: var(--color-gold-primary);
    border-color: var(--color-gold-primary);
    color: #000;
}

/* ========================================
   メインコンテンツ（全幅対応）
======================================== */
main {
    width: 100%;
    padding: 0;
    min-height: calc(100vh - 200px);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    width: 100%;
    padding: 20px;
}

.main-content {
    min-width: 0;
    width: 100%;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* 全幅モード */
.full-width .content-wrapper {
    grid-template-columns: 1fr;
}

.full-width .sidebar {
    display: none;
}

/* セクション見出し */
.section-header {
    margin: 50px 0 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--color-gold-primary);
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header .icon {
    font-size: 28px;
}

/* ========================================
   ヒーローセクション
======================================== */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--color-bg-card);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 20px var(--color-shadow);
    transition: all 0.3s ease;
}

.hero-content:hover {
    box-shadow: 0 8px 30px var(--color-shadow);
    transform: translateY(-2px);
}

.hero-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-title a {
    color: var(--color-text-primary);
}

.hero-title a:hover {
    color: var(--color-gold-primary);
}

.hero-meta {
    display: flex;
    gap: 25px;
    color: var(--color-text-muted);
    font-size: 15px;
    margin-bottom: 30px;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========================================
   タグバッジ
======================================== */
.tag {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    text-transform: uppercase;
}

.tag.new {
    background: var(--color-gold-primary);
    color: #000;
}

.tag.hot {
    background: var(--color-hot);
    color: #fff;
}

.tag.vr {
    background: var(--color-vr);
    color: #fff;
}

/* ========================================
   グリッドレイアウト（修正版）
======================================== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    width: 100%;
}

/* ========================================
   コンテンツカード（ボタン修正版）
======================================== */
.content-card {
    background: var(--color-bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--color-shadow);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--color-shadow);
    border-color: var(--color-gold-primary);
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-image {
    width: 100%;
    height: 180px;
    background-color: var(--color-bg-secondary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    overflow: hidden;
}

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

.card-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--color-gold-primary), var(--color-gold-light));
    color: #000;
    font-weight: 700;
    font-size: 18px;
    padding: 6px 14px;
    border-radius: 6px;
    z-index: 10;
}

.card-tags {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.card-info {
    padding: 20px;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
    height: 45px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--color-text-primary);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    color: var(--color-text-muted);
    font-size: 13px;
    margin-bottom: 15px;
}

/* カードボタン（修正版 - pointer-events対応） */
.card-button {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--color-gold-primary), var(--color-gold-light));
    color: #000;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    pointer-events: auto;
    position: relative;
    z-index: 5;
}

.card-button:hover {
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.5);
    transform: scale(1.02);
}

/* ========================================
   横スクロールセクション
======================================== */
.scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 15px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold-primary) var(--color-bg-secondary);
}

.scroll-container::-webkit-scrollbar {
    height: 8px;
}

.scroll-container::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
    border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: var(--color-gold-primary);
    border-radius: 4px;
}

.scroll-card {
    flex: 0 0 200px;
    background: var(--color-bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

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

.scroll-card a {
    display: block;
    text-decoration: none;
}

.scroll-card-image {
    width: 200px;
    height: 260px;
    background-size: cover;
    background-position: center;
    background-color: var(--color-bg-secondary);
}

.scroll-card-title {
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   タグクラウド
======================================== */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 25px;
    color: var(--color-text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.tag-item:hover {
    background: var(--color-gold-primary);
    border-color: var(--color-gold-primary);
    color: #000;
}

.tag-count {
    color: var(--color-text-muted);
    font-size: 12px;
    margin-left: 6px;
}

/* ========================================
   広告エリア
======================================== */
.apt-ad-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.apt-ad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.apt-ad-content {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    background: var(--color-bg-card);
    border-radius: 12px;
    padding: 30px;
    border: 2px solid var(--color-gold-primary);
}

.apt-ad-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apt-ad-close:hover {
    background: var(--color-gold-primary);
    color: #000;
}

.apt-ad-placeholder {
    padding: 60px 20px;
    text-align: center;
    background: var(--color-bg-secondary);
    border-radius: 8px;
    color: var(--color-text-muted);
}

.apt-ad-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-bg-card);
    border-top: 2px solid var(--color-gold-primary);
    padding: 15px;
    text-align: center;
    z-index: 999;
    box-shadow: 0 -4px 20px var(--color-shadow);
}

.apt-ad-label {
    color: var(--color-text-muted);
    font-size: 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.apt-ad-infeed {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
}

/* ========================================
   ページネーション
======================================== */
.pagination {
    margin: 50px 0;
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 15px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-secondary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--color-gold-primary);
    border-color: var(--color-gold-primary);
    color: #000;
}

.pagination .current {
    background: var(--color-gold-primary);
    color: #000;
    border-color: var(--color-gold-primary);
}

/* ========================================
   フッター
======================================== */
footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 50px 20px 100px;
    margin-top: 60px;
    width: 100%;
}

.footer-content {
    width: 100%;
    text-align: center;
    color: var(--color-text-muted);
}

.footer-legal-links {
    margin-bottom: 25px;
}

.footer-legal-link {
    color: var(--color-gold-primary);
    font-weight: 600;
    font-size: 14px;
}

.footer-legal-links .separator {
    margin: 0 15px;
    color: var(--color-text-muted);
}

.copyright {
    font-size: 14px;
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 12px;
    line-height: 1.8;
}

/* ========================================
   視聴前広告ポップアップ
======================================== */
.apt-watch-ad-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apt-watch-ad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.apt-watch-ad-content {
    position: relative;
    background: var(--color-bg-card);
    border: 2px solid var(--color-gold-primary);
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: popupSlideIn 0.4s ease-out;
}

@keyframes popupSlideIn {
    from { opacity: 0; transform: translateY(-50px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.apt-watch-ad-header h3 {
    font-size: 24px;
    color: var(--color-gold-primary);
    text-align: center;
    margin-bottom: 30px;
}

.apt-watch-ad-zone {
    min-height: 250px;
    margin: 30px 0;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apt-watch-ad-timer {
    margin: 30px 0;
    text-align: center;
}

.apt-watch-ad-timer .timer-text {
    font-size: 18px;
    color: var(--color-text-primary);
    margin-bottom: 15px;
}

.apt-watch-ad-timer #apt-watch-timer {
    color: var(--color-gold-primary);
    font-weight: 700;
    font-size: 36px;
}

.timer-bar {
    width: 100%;
    height: 8px;
    background: var(--color-bg-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.timer-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold-primary), var(--color-gold-light));
    width: 0%;
    transition: width 1s linear;
}

.apt-watch-continue-btn {
    display: block;
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--color-gold-primary), var(--color-gold-light));
    color: #000;
    font-size: 20px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.apt-watch-continue-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.5);
}

.apt-watch-continue-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

body.apt-popup-active {
    overflow: hidden;
}

/* ========================================
   戻るボタン
======================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-gold-primary), var(--color-gold-light));
    color: #000;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
    transition: all 0.3s ease;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(201, 162, 39, 0.6);
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .search-bar {
        order: 3;
        flex: 0 0 100%;
        margin: 0;
        max-width: 100%;
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .hero-info {
        padding: 25px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .btn-large {
        width: 100%;
        padding: 18px 30px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        padding: 10px 15px;
    }
    
    .category-tab {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .age-gate-content {
        padding: 25px;
    }
    
    .age-gate h1 {
        font-size: 22px;
    }
    
    .age-gate-buttons {
        flex-direction: column;
    }
    
    .btn-gold, .btn-outline {
        width: 100%;
    }
}

/* ========================================
   ユーティリティ
======================================== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* スクリーンリーダー用 */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* モード切替インジケーター */
.mode-indicator {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 8px 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--color-text-muted);
    z-index: 100;
    transition: all 0.3s ease;
}