/**
 * 案A: ネオングリーン（デフォルト）
 * GameTuneHub サイト全体ブラッシュアップ（site.css 未収録スタイル含む）
 * 有効化: base.html の body.gth-site
 */

:root {
    --gth-bg-0: #070b12;
    --gth-bg-1: #0f172a;
    --gth-surface: #1a2332;
    --gth-surface-2: #111827;
    --gth-border: rgba(75, 85, 99, 0.55);
    --gth-border-accent: rgba(74, 222, 128, 0.28);
    --gth-green: #4ade80;
    --gth-green-dim: #22c55e;
    --gth-text: #f3f4f6;
    --gth-muted: #9ca3af;
    --gth-radius: 0.875rem;
    --gth-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.gth-site {
    font-family:
        "Segoe UI",
        "Hiragino Sans",
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic UI",
        "Meiryo",
        system-ui,
        sans-serif;
    color: var(--gth-text);
    background-color: var(--gth-bg-0);
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -30%, rgba(34, 197, 94, 0.12), transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.06), transparent 40%),
        linear-gradient(180deg, var(--gth-bg-1) 0%, var(--gth-bg-0) 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* ---- ヘッダー ---- */
.gth-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--gth-border);
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(12px);
}

.gth-header__inner {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.gth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--gth-green);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.gth-brand__logo {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 0 1px var(--gth-border-accent);
}

.gth-brand:hover {
    color: #86efac;
}

.gth-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid var(--gth-border);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    flex-shrink: 0;
}

.gth-nav-toggle__bar {
    display: block;
    width: 1.125rem;
    height: 2px;
    margin: 0 auto;
    background: #d1d5db;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.gth-nav-toggle.is-open .gth-nav-toggle__bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.gth-nav-toggle.is-open .gth-nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.gth-nav-toggle.is-open .gth-nav-toggle__bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.gth-header__nav-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.gth-nav-backdrop {
    display: none;
}

.gth-nav-panel__title {
    display: none;
}

.gth-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    flex: 1;
}

.gth-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 2.25rem;
    padding: 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gth-muted);
    text-decoration: none;
    border-radius: 9999px;
    border: 1px solid transparent;
    transition:
        color 0.15s,
        background 0.15s,
        border-color 0.15s;
}

.gth-nav-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gth-nav-icon {
    width: 1rem;
    height: 1rem;
}

.gth-nav-link__label {
    line-height: 1.2;
}

.gth-nav-panel__login-btn,
.gth-nav-panel__logout-btn,
.gth-nav-panel__signup-link,
.gth-nav-panel__user {
    display: none;
}

.gth-nav-link:hover {
    color: var(--gth-text);
    background: rgba(255, 255, 255, 0.05);
}

.gth-nav-link.is-active {
    color: #052e16;
    background: linear-gradient(180deg, var(--gth-green) 0%, var(--gth-green-dim) 100%);
    border-color: rgba(74, 222, 128, 0.5);
}

.gth-header__user {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    margin-left: auto;
}

.gth-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gth-border);
    color: #d1d5db;
}

.gth-btn-signup {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #052e16;
    text-decoration: none;
    border-radius: 0.5rem;
    background: linear-gradient(180deg, var(--gth-green) 0%, var(--gth-green-dim) 100%);
    transition: filter 0.15s, transform 0.1s;
}

.gth-btn-signup:hover {
    filter: brightness(1.06);
}

.gth-link-muted {
    color: var(--gth-muted);
    text-decoration: none;
}

.gth-link-muted:hover {
    color: #fca5a5;
    text-decoration: underline;
}

.gth-link-login {
    color: #93c5fd;
    text-decoration: none;
}

.gth-link-login:hover {
    text-decoration: underline;
}

.gth-logout-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.gth-logout-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
}

.gth-logout-btn:hover {
    color: #fca5a5;
    text-decoration: underline;
}

/* ---- メイン ---- */
.gth-main {
    max-width: 56rem;
    margin: 0 auto;
    padding: 1.25rem 1rem 3rem;
}

.gth-alerts {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gth-alert {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.45;
    border-radius: 0.625rem;
}

.gth-alert--success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #bbf7d0;
}

.gth-alert--warning {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(202, 138, 4, 0.4);
    color: #fef08a;
}

.gth-alert--default {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid var(--gth-border);
    color: #e5e7eb;
}

/* ---- ページ見出し ---- */
.gth-page-head {
    margin-bottom: 1.25rem;
}

.gth-page-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--gth-green);
    letter-spacing: 0.01em;
}

.gth-page-meta,
.gth-page-desc {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--gth-muted);
}

.gth-page-guide-link {
    color: #86efac;
    text-decoration: none;
    font-weight: 500;
}

.gth-page-guide-link:hover {
    text-decoration: underline;
    color: #bbf7d0;
}

/* ---- パネル・カード ---- */
.gth-panel {
    margin-bottom: 1.5rem;
    padding: 1rem 1.125rem;
    border-radius: var(--gth-radius);
    background: linear-gradient(155deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.98) 100%);
    border: 1px solid var(--gth-border);
    box-shadow: var(--gth-shadow);
}

.gth-panel__title {
    margin: 0 0 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.gth-stats-table {
    width: 100%;
    min-width: 28rem;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.gth-stats-table th,
.gth-stats-table td {
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid var(--gth-border);
    text-align: left;
}

.gth-stats-table thead th {
    color: #9ca3af;
    font-weight: 600;
    white-space: nowrap;
}

.gth-stats-table tbody th[scope="row"] {
    color: #e5e7eb;
    font-weight: 600;
}

.gth-stats-table tbody td {
    color: #fbbf24;
    font-variant-numeric: tabular-nums;
}

.gth-ai-summary,
.gth-ai-summary-list {
    line-height: 1.6;
}

.gth-card {
    margin-bottom: 1rem;
    padding: 1rem 1.125rem;
    border-radius: var(--gth-radius);
    cursor: pointer;
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.85) 0%, rgba(17, 24, 39, 0.95) 100%);
    border: 1px solid var(--gth-border);
    border-left: 3px solid rgba(34, 197, 94, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        border-left-color 0.18s ease,
        box-shadow 0.18s ease;
}

.gth-card:hover {
    transform: translateY(-2px);
    border-color: var(--gth-border-accent);
    border-left-color: var(--gth-green);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.28),
        0 0 20px rgba(34, 197, 94, 0.12);
}

.gth-card__game-link {
    color: #86efac !important;
    text-decoration: none;
}

.gth-card__game-link:hover {
    text-decoration: underline;
}

.gth-card__fps {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.2rem 0.625rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fde047;
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(250, 204, 21, 0.25);
    border-radius: 0.375rem;
}

.gth-card__footer {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(55, 65, 81, 0.65);
}

.gth-card--static {
    cursor: default;
    border-left-color: rgba(75, 85, 99, 0.35);
}

.gth-card--static:hover {
    transform: none;
    border-color: var(--gth-border);
    border-left-color: rgba(75, 85, 99, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ---- フォーム ---- */
.gth-site .gth-panel select,
.gth-site .gth-panel input[type="text"],
.gth-site .gth-panel input[type="number"],
.gth-site .gth-panel input[type="password"],
.gth-site .gth-panel textarea,
.gth-site .gth-auth-card input[type="text"],
.gth-site .gth-auth-card input[type="password"] {
    width: 100%;
    min-width: 0;
    padding: 0.625rem 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: var(--gth-text);
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(75, 85, 99, 0.7);
    border-radius: 0.5rem;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}

.gth-site .gth-form-section select,
.gth-site .gth-form-section input,
.gth-site .gth-form-section textarea {
    width: 100%;
    min-width: 0;
    padding: 0.625rem 0.75rem;
    font-size: 0.9375rem;
    color: var(--gth-text);
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(75, 85, 99, 0.7);
    border-radius: 0.5rem;
}

.gth-site .gth-panel select:focus,
.gth-site .gth-panel input:focus,
.gth-site .gth-form-section select:focus,
.gth-site .gth-form-section input:focus,
.gth-site .gth-form-section textarea:focus,
.gth-site .gth-auth-card input:focus {
    outline: none;
    border-color: rgba(74, 222, 128, 0.55);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.gth-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #052e16;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    background: linear-gradient(180deg, var(--gth-green) 0%, var(--gth-green-dim) 100%);
    transition: filter 0.15s, transform 0.1s;
}

.gth-btn-primary:hover {
    filter: brightness(1.06);
}

.gth-btn-primary:active {
    transform: scale(0.98);
}

.gth-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    transition: filter 0.15s;
}

.gth-btn-secondary:hover {
    filter: brightness(1.08);
}

/* ---- 認証 ---- */
.gth-auth-card {
    max-width: 28rem;
    margin: 2rem auto;
    padding: 1.5rem 1.75rem;
    border-radius: var(--gth-radius);
    background: linear-gradient(165deg, rgba(31, 41, 55, 0.98) 0%, rgba(15, 23, 42, 0.99) 100%);
    border: 1px solid var(--gth-border-accent);
    box-shadow: var(--gth-shadow);
}

.gth-auth-card h2 {
    margin: 0 0 1.25rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gth-text);
}

.gth-btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    min-height: 2.75rem;
    padding: 0 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    border-radius: 0.5rem;
    border: 1px solid rgba(209, 213, 219, 0.85);
    background: #fff;
    transition: filter 0.15s, box-shadow 0.15s;
}

.gth-btn-google:hover {
    filter: brightness(0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.gth-btn-google__icon {
    flex-shrink: 0;
}

.gth-auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    font-size: 0.75rem;
    color: var(--gth-muted);
}

.gth-auth-divider::before,
.gth-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(75, 85, 99, 0.55);
}

.gth-auth-footnote {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gth-muted);
}

.gth-auth-footnote a {
    color: #86efac;
    text-decoration: none;
}

.gth-auth-footnote a:hover {
    text-decoration: underline;
}

/* ---- バッジ ---- */
.gth-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 0.25rem;
}

.gth-badge--streamer {
    color: #bfdbfe;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.45);
}

.gth-badge--admin {
    color: #fde68a;
    background: rgba(180, 83, 9, 0.2);
    border: 1px solid rgba(217, 119, 6, 0.45);
}

.gth-badge--draft {
    color: #fde68a;
    background: rgba(180, 83, 9, 0.18);
    border: 1px solid rgba(217, 119, 6, 0.4);
}

.gth-badge--private {
    color: #d1d5db;
    background: rgba(75, 85, 99, 0.35);
    border: 1px solid rgba(107, 114, 128, 0.55);
}

.gth-visibility-notice {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #fde68a;
    background: rgba(180, 83, 9, 0.12);
    border: 1px solid rgba(217, 119, 6, 0.35);
    border-radius: var(--gth-radius);
}

.gth-my-filter__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 2.25rem;
    padding: 0 0.75rem;
    font-size: 0.8125rem;
    color: #d1d5db;
    text-decoration: none;
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid var(--gth-border);
    border-radius: 9999px;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.gth-my-filter__link:hover {
    color: #fff;
    border-color: var(--gth-border-accent);
}

.gth-my-filter__link.is-active {
    color: #052e16;
    font-weight: 600;
    background: linear-gradient(180deg, var(--gth-green) 0%, var(--gth-green-dim) 100%);
    border-color: rgba(74, 222, 128, 0.5);
}

.gth-my-filter__count {
    font-size: 0.6875rem;
    opacity: 0.85;
}

/* ---- 詳細・タブ ---- */
.gth-detail-hero .text-blue-400 {
    color: #7dd3fc !important;
}

.gth-spec-grid dt {
    color: #6b7280 !important;
}

.gth-note-box {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid var(--gth-border) !important;
    border-radius: 0.625rem !important;
}

#detail-tab-bar .detail-tab-btn {
    border: 1px solid var(--gth-border);
    background: rgba(55, 65, 81, 0.5) !important;
    color: #d1d5db !important;
    transition: background 0.15s, border-color 0.15s;
}

#detail-tab-bar .detail-tab-btn.bg-green-500 {
    color: #052e16 !important;
    border-color: rgba(74, 222, 128, 0.5) !important;
    background: linear-gradient(180deg, var(--gth-green) 0%, var(--gth-green-dim) 100%) !important;
}

.detail-tab-panel > div {
    background: rgba(0, 0, 0, 0.22) !important;
    border-color: rgba(55, 65, 81, 0.7) !important;
}

/* ---- ページネーション ---- */
.gth-pagination a,
.gth-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    text-decoration: none;
    border: 1px solid var(--gth-border);
    transition: background 0.15s, color 0.15s;
}

.gth-pagination a {
    color: #d1d5db;
    background: rgba(31, 41, 55, 0.8);
}

.gth-pagination a:hover {
    background: rgba(55, 65, 81, 0.9);
    color: #fff;
}

.gth-pagination .is-current {
    font-weight: 700;
    color: #052e16;
    background: linear-gradient(180deg, var(--gth-green) 0%, var(--gth-green-dim) 100%);
    border-color: rgba(74, 222, 128, 0.5);
}

.gth-pagination .is-disabled {
    color: #4b5563;
    background: rgba(17, 24, 39, 0.8);
    border-color: rgba(31, 41, 55, 0.9);
    cursor: not-allowed;
}

/* ---- フッター ---- */
.gth-footer {
    max-width: 56rem;
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    border-top: 1px solid rgba(55, 65, 81, 0.4);
}

.gth-footer strong {
    color: #9ca3af;
    font-weight: 600;
}

.gth-footer__brand {
    margin: 0 0 0.75rem;
}

.gth-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
}

.gth-footer-nav a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.8125rem;
}

.gth-footer-nav a:hover {
    color: #86efac;
    text-decoration: underline;
}

.gth-breadcrumb {
    margin-bottom: 0.75rem;
}

.gth-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8125rem;
    color: #9ca3af;
}

.gth-breadcrumb__item {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.gth-breadcrumb__item:not(:last-child)::after {
    content: "›";
    margin-left: 0.5rem;
    color: #6b7280;
}

.gth-breadcrumb__link {
    color: #86efac;
    text-decoration: none;
}

.gth-breadcrumb__link:hover {
    text-decoration: underline;
}

.gth-breadcrumb__current {
    color: #d1d5db;
}

/* ---- 使い方ページ ---- */
.gth-guide-lead {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #d1d5db;
}

.gth-guide-steps {
    margin: 0;
    padding-left: 1.25rem;
    color: #d1d5db;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.gth-guide-steps li + li {
    margin-top: 0.5rem;
}

.gth-guide-steps strong {
    color: var(--gth-green);
}

.gth-guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.gth-guide-table th,
.gth-guide-table td {
    padding: 0.625rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(55, 65, 81, 0.65);
    vertical-align: top;
}

.gth-guide-table th {
    width: 38%;
    color: var(--gth-muted);
    font-weight: 600;
}

.gth-guide-table td {
    color: #e5e7eb;
}

.gth-guide-table tr:last-child th,
.gth-guide-table tr:last-child td {
    border-bottom: none;
}

.gth-guide-list {
    margin: 0;
    padding-left: 1.125rem;
    color: #d1d5db;
    font-size: 0.9375rem;
    line-height: 1.65;
}

.gth-guide-list li + li {
    margin-top: 0.375rem;
}

.gth-guide-faq {
    margin: 0;
}

.gth-guide-faq dt {
    margin-top: 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gth-green);
}

.gth-guide-faq dt:first-child {
    margin-top: 0;
}

.gth-guide-faq dd {
    margin: 0.375rem 0 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #d1d5db;
}

.gth-guide-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gth-guide-actions .gth-btn-primary,
.gth-guide-actions .gth-btn-secondary {
    text-decoration: none;
    min-height: 2.5rem;
    padding: 0 1rem;
    font-size: 0.875rem;
}

.gth-recommend-reason {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #052e16;
    background: linear-gradient(180deg, var(--gth-green) 0%, var(--gth-green-dim) 100%);
    border-radius: 0.25rem;
}

.gth-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .gth-stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

.gth-stat {
    padding: 0.875rem 1rem;
    border-radius: var(--gth-radius);
    background: linear-gradient(155deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.98) 100%);
    border: 1px solid var(--gth-border);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.gth-stat__label {
    font-size: 0.75rem;
    color: var(--gth-muted);
}

.gth-stat__value {
    margin-top: 0.25rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.gth-stat__value--fps {
    color: #fde047;
}

.gth-stat__value--count {
    color: var(--gth-text);
}

.gth-stat__value--max {
    color: var(--gth-green);
}

.gth-stat__value--gpu {
    font-size: 1rem;
    color: #7dd3fc;
    word-break: break-word;
}

@media (min-width: 640px) {
    .gth-stat__value {
        font-size: 1.5rem;
    }

    .gth-stat__value--gpu {
        font-size: 1.25rem;
    }
}

.gth-empty {
    padding: 2.5rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gth-muted);
    border-radius: var(--gth-radius);
    border: 1px dashed rgba(75, 85, 99, 0.5);
    background: rgba(17, 24, 39, 0.4);
}

.gth-form-section {
    padding: 1rem 1.25rem;
    border-radius: var(--gth-radius);
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--gth-border);
}

/* ---- フィード型カード（一覧・全画面幅） ---- */
.gth-quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.gth-quick-filters__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 2.125rem;
    padding: 0 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #d1d5db;
    text-decoration: none;
    border-radius: 9999px;
    border: 1px solid rgba(75, 85, 99, 0.65);
    background: rgba(17, 24, 39, 0.75);
    transition:
        color 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

.gth-quick-filters__chip.is-active {
    color: #052e16;
    border-color: rgba(74, 222, 128, 0.55);
    background: linear-gradient(180deg, var(--gth-green) 0%, var(--gth-green-dim) 100%);
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.2);
}

.gth-card--feed {
    padding: 0.875rem;
    border-radius: 1rem;
    border: 1px solid rgba(75, 85, 99, 0.55);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.gth-card--feed .gth-card__feed-layout {
    display: grid;
    grid-template-columns: 3.75rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.gth-card--feed .gth-card__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1;
    color: #86efac;
    text-transform: uppercase;
    background: linear-gradient(
        145deg,
        rgba(34, 197, 94, 0.22) 0%,
        rgba(15, 23, 42, 0.95) 100%
    );
    border: 1px solid rgba(74, 222, 128, 0.35);
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.12);
}

.gth-card--feed .gth-card__thumb--image {
    display: block;
    position: relative;
    padding: 0;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
    text-transform: none;
    background: rgba(15, 23, 42, 0.9);
    aspect-ratio: 1 / 1;
}

.gth-card--feed .gth-card__thumb--image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: cover;
    object-position: var(--gth-thumb-position, center center);
}

.gth-card--feed .gth-card__feed-desc {
    display: block;
}

.gth-card--feed .gth-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.gth-card--feed .gth-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #cbd5e1;
    border-radius: 0.25rem;
    border: 1px solid rgba(75, 85, 99, 0.65);
    background: rgba(15, 23, 42, 0.85);
}

.gth-card--feed .gth-card__tag--fps {
    color: #fde047;
    border-color: rgba(250, 204, 21, 0.35);
    background: rgba(234, 179, 8, 0.12);
}

.gth-card--feed .gth-card__feed-meta {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding-top: 0.625rem;
    border-top: 1px solid rgba(55, 65, 81, 0.55);
    font-size: 0.8125rem;
    color: #9ca3af;
}

.gth-card--feed .gth-card__feed-likes {
    color: #f9a8d4;
    font-weight: 600;
}

.gth-card--feed .gth-card__specs--feed {
    display: none;
}

.gth-card--feed .gth-card__user-desktop {
    display: none;
}

.gth-card--feed .gth-card__fps--desktop,
.gth-card--feed .gth-card__note-desktop {
    display: none !important;
}

.gth-card--feed .gth-card__feed-reason {
    margin-bottom: 0.625rem;
}

@media (min-width: 640px) {
    .gth-card--feed .gth-card__feed-reason {
        margin-bottom: 0.75rem;
    }
}

.gth-card__fps--desktop {
    display: inline-block;
}

@media (max-width: 639px) {
    .gth-header__inner {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
        flex-wrap: nowrap;
        align-items: center;
    }

    .gth-brand__text {
        display: inline;
        font-size: 1rem;
        font-weight: 700;
    }

    .gth-brand__logo {
        width: 1.875rem;
        height: 1.875rem;
        box-shadow: 0 0 12px rgba(34, 197, 94, 0.35);
    }

    .gth-header__nav-wrap {
        margin-left: auto;
    }

    .gth-nav-toggle {
        display: inline-flex;
    }

    .gth-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 40;
        background: rgba(2, 6, 23, 0.55);
        backdrop-filter: blur(2px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 0.2s ease,
            visibility 0.2s ease;
    }

    .gth-nav-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .gth-header__menu {
        position: absolute;
        top: calc(100% + 0.625rem);
        right: 0;
        z-index: 60;
        display: block;
        width: min(18rem, calc(100vw - 2rem));
        max-height: min(30rem, calc(100vh - 4.5rem));
        overflow-y: auto;
        padding: 0.75rem;
        border-radius: 1rem;
        background: linear-gradient(
            165deg,
            rgba(22, 32, 48, 0.96) 0%,
            rgba(10, 16, 28, 0.98) 100%
        );
        backdrop-filter: blur(18px);
        border: 1px solid rgba(74, 222, 128, 0.45);
        box-shadow:
            0 20px 48px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.04),
            0 0 28px rgba(34, 197, 94, 0.14);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-0.5rem) scale(0.96);
        transform-origin: top right;
        pointer-events: none;
        transition:
            opacity 0.2s ease,
            transform 0.2s ease,
            visibility 0.2s ease;
    }

    .gth-header__menu.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .gth-nav-panel__title {
        display: none;
    }

    .gth-nav {
        flex: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
    }

    .gth-header__menu .gth-nav-link {
        justify-content: flex-start;
        width: 100%;
        min-height: 2.875rem;
        padding: 0 0.875rem;
        font-size: 0.9375rem;
        font-weight: 600;
        color: #e5e7eb;
        border-radius: 0.625rem;
        border: 1px solid transparent;
        background: transparent;
    }

    .gth-header__menu .gth-nav-link__icon {
        display: inline-flex;
        width: 1.25rem;
        color: #cbd5e1;
    }

    .gth-header__menu .gth-nav-icon {
        width: 1.125rem;
        height: 1.125rem;
    }

    .gth-header__menu .gth-nav-link:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.04);
    }

    .gth-header__menu .gth-nav-link.is-active {
        color: #052e16;
        background: linear-gradient(180deg, #4ade80 0%, #22c55e 100%);
        border-color: rgba(134, 239, 172, 0.45);
        box-shadow: 0 0 18px rgba(74, 222, 128, 0.28);
    }

    .gth-header__menu .gth-nav-link.is-active .gth-nav-link__icon {
        color: #052e16;
    }

    .gth-header__user,
    .gth-nav-panel__account {
        margin-left: 0;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.625rem;
        border-top: 1px solid rgba(74, 222, 128, 0.18);
    }

    .gth-nav-panel__user {
        display: block;
        text-align: center;
        font-size: 0.8125rem;
        color: #cbd5e1;
        padding: 0.25rem 0.5rem;
    }

    .gth-nav-panel__login-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        min-height: 2.875rem;
        padding: 0 1rem;
        font-size: 0.9375rem;
        font-weight: 700;
        color: #86efac;
        text-decoration: none;
        border-radius: 0.625rem;
        border: 1px solid rgba(74, 222, 128, 0.55);
        background: rgba(34, 197, 94, 0.08);
        transition:
            background 0.15s ease,
            border-color 0.15s ease,
            color 0.15s ease;
    }

    .gth-nav-panel__login-btn:hover {
        color: #bbf7d0;
        background: rgba(34, 197, 94, 0.14);
        border-color: rgba(134, 239, 172, 0.65);
    }

    .gth-nav-panel__login-btn .gth-nav-link__icon {
        display: inline-flex;
        color: inherit;
    }

    .gth-nav-panel__signup-link {
        display: block;
        text-align: center;
        font-size: 0.8125rem;
        color: #9ca3af;
        text-decoration: none;
    }

    .gth-nav-panel__signup-link:hover {
        color: #86efac;
        text-decoration: underline;
    }

    .gth-nav-panel__logout-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 2.5rem;
        padding: 0 1rem;
        font: inherit;
        font-size: 0.875rem;
        font-weight: 600;
        color: #fca5a5;
        cursor: pointer;
        border-radius: 0.625rem;
        border: 1px solid rgba(248, 113, 113, 0.35);
        background: rgba(127, 29, 29, 0.15);
    }

    .gth-logout-form {
        width: 100%;
    }

    .gth-user-pill,
    .gth-btn-signup,
    .gth-link-login,
    .gth-logout-btn {
        display: none;
    }

    .gth-header__auth-desktop {
        display: none !important;
    }

    .gth-header__auth-mobile {
        display: block;
    }

    .gth-header__auth-mobile.gth-logout-form {
        display: block;
        width: 100%;
    }

    .gth-main {
        padding: 0.875rem 0.75rem max(2.5rem, env(safe-area-inset-bottom));
    }

    .gth-page-head {
        margin-bottom: 0.75rem;
    }

    .gth-page-title {
        font-size: 1.25rem;
        line-height: 1.25;
    }

    .gth-page-desc,
    .gth-page-meta,
    .gth-result-count {
        font-size: 0.8125rem;
        margin-top: 0.375rem;
    }

    .gth-page-guide-link {
        font-size: 0.8125rem;
    }

    .gth-quick-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.125rem;
    }

    .gth-card--feed .gth-card__feed-meta {
        display: flex;
    }

    .gth-card--feed .gth-card__user-desktop,
    .gth-card--feed .gth-card__specs--feed {
        display: none !important;
    }

    .gth-card--feed .gth-card__head .text-lg {
        font-size: 1rem;
        line-height: 1.35;
    }

    .gth-card--feed .gth-card__actions {
        margin-top: 0.625rem;
        padding-top: 0.625rem;
    }

    .gth-panel {
        padding: 0.75rem 0.875rem;
        margin-bottom: 0.875rem;
    }

    .gth-panel__title {
        margin-bottom: 0.5rem;
    }

    .gth-filter-grid {
        gap: 0.5rem;
    }

    .gth-form-stack {
        gap: 0.625rem;
    }

    .gth-form-stack label {
        margin-bottom: 0.25rem;
        font-size: 0.6875rem;
    }

    .gth-site .gth-form-stack select {
        padding: 0.5rem 0.625rem;
        font-size: 0.875rem;
    }

    .gth-card:hover {
        transform: none;
    }

    .gth-card__head .text-lg {
        font-size: 1rem;
        line-height: 1.35;
    }

    .gth-card__actions a .text-xs {
        display: none;
    }

    .gth-spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.5rem 0.625rem !important;
    }

    .gth-detail-hero {
        padding: 0.875rem;
    }

    .gth-detail-hero h1 {
        font-size: 1.125rem !important;
    }

    #detail-tab-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.375rem;
        padding-bottom: 0.25rem;
        margin-bottom: 0.75rem;
    }

    #detail-tab-bar .detail-tab-btn {
        flex-shrink: 0;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        font-size: 0.8125rem;
    }

    .gth-guide-table,
    .gth-guide-table tbody,
    .gth-guide-table tr {
        display: block;
    }

    .gth-guide-table th,
    .gth-guide-table td {
        display: block;
        width: 100%;
        padding: 0.375rem 0;
    }

    .gth-guide-table th {
        border-bottom: none;
        padding-bottom: 0.125rem;
        font-size: 0.8125rem;
    }

    .gth-guide-table td {
        padding-bottom: 1rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid rgba(55, 65, 81, 0.5);
        font-size: 0.875rem;
    }

    .gth-guide-table tr:last-child td {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .gth-guide-actions {
        flex-direction: column;
    }

    .gth-guide-actions .gth-btn-primary,
    .gth-guide-actions .gth-btn-secondary {
        width: 100%;
    }

    .gth-pagination {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.25rem;
        padding-bottom: 0.25rem;
        margin-top: 1.5rem !important;
    }

    .gth-stat {
        padding: 0.625rem 0.75rem;
    }

    .gth-stat__label {
        font-size: 0.6875rem;
    }

    .gth-stat__value {
        font-size: 1.125rem;
    }

    .gth-recommend-reason {
        font-size: 0.625rem;
        max-width: 100%;
    }

    .gth-filter-drawer__desktop-title {
        display: none;
    }

    .gth-filter-drawer {
        padding-top: 0;
        padding-bottom: 0;
    }

    .gth-filter-drawer__summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.75rem 0.875rem;
        cursor: pointer;
        list-style: none;
    }

    .gth-filter-drawer__summary::-webkit-details-marker {
        display: none;
    }

    .gth-filter-drawer__title {
        font-size: 0.6875rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #6b7280;
    }

    .gth-filter-drawer__chevron {
        width: 0.5rem;
        height: 0.5rem;
        border-right: 2px solid #9ca3af;
        border-bottom: 2px solid #9ca3af;
        transform: rotate(45deg);
        transition: transform 0.2s ease;
        flex-shrink: 0;
    }

    .gth-filter-drawer[open] .gth-filter-drawer__chevron {
        transform: rotate(-135deg);
        margin-top: 0.2rem;
    }

    .gth-filter-drawer__body {
        padding: 0 0.875rem 0.875rem;
        border-top: 1px solid rgba(55, 65, 81, 0.5);
    }

    .gth-filter-drawer[open] .gth-filter-drawer__body {
        padding-top: 0.875rem;
    }

    .gth-site .gth-filter-drawer select,
    .gth-site .gth-filter-drawer input {
        padding: 0.5rem 0.625rem;
        font-size: 0.875rem;
    }

    .gth-btn-primary,
    .gth-btn-secondary {
        min-height: 2.5rem;
        font-size: 0.875rem;
    }

    .gth-card {
        padding: 0.875rem;
        margin-bottom: 0.75rem;
    }

    .gth-card__specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 0.375rem;
        font-size: 0.8125rem;
    }

    .gth-card__fps {
        margin-top: 0.5rem;
        font-size: 0.9375rem;
    }

    .gth-card__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.375rem;
        align-items: stretch;
    }

    .gth-card__actions > a:first-child {
        grid-column: 1 / -1;
        justify-content: center;
        min-height: 2.5rem !important;
        padding: 0.5rem 0.75rem;
        border: 1px solid var(--gth-border-accent);
        border-radius: 0.5rem;
        text-decoration: none;
    }

    .gth-card__actions a,
    .gth-card__actions span,
    .gth-card__actions button {
        min-height: 2.25rem !important;
        font-size: 0.8125rem;
        justify-content: center;
    }

    .gth-card__actions .js-share-btn span:last-child {
        display: none;
    }

    .gth-pagination a,
    .gth-pagination span {
        min-width: 2.25rem;
        min-height: 2.25rem;
        padding: 0 0.5rem;
        font-size: 0.8125rem;
    }

    .gth-footer {
        padding: 1rem 0.75rem max(1.25rem, env(safe-area-inset-bottom));
        font-size: 0.6875rem;
        line-height: 1.5;
    }

    .gth-theme-preview-bar {
        left: 0.75rem;
        right: 0.75rem;
        bottom: max(0.75rem, env(safe-area-inset-bottom));
        justify-content: center;
    }
}

@media (min-width: 640px) {
    .gth-header__nav-wrap {
        display: contents;
    }

    .gth-nav-backdrop,
    .gth-nav-panel__title,
    .gth-header__auth-mobile {
        display: none !important;
    }

    .gth-header__auth-desktop {
        display: inline-flex !important;
    }

    .gth-header__auth-desktop.gth-logout-form {
        display: inline !important;
    }

    .gth-nav-link__icon {
        display: none;
    }

    .gth-filter-drawer {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .gth-filter-drawer__summary {
        display: none;
    }

    .gth-filter-drawer .gth-filter-drawer__body {
        display: block !important;
    }

    .gth-filter-drawer__body {
        padding: 0;
        border-top: none;
    }

    .gth-filter-drawer__desktop-title {
        display: block;
    }

    .gth-header__menu {
        display: contents;
    }

    .gth-header__inner {
        padding: 0.875rem 1.25rem;
    }

    .gth-main {
        padding: 1.5rem 1.25rem 3.5rem;
    }

    .gth-page-title {
        font-size: 1.75rem;
    }

    .gth-quick-filters {
        margin-bottom: 1.25rem;
    }

    .gth-quick-filters__chip {
        min-height: 2.25rem;
        padding: 0 1.125rem;
        font-size: 0.875rem;
    }

    .gth-card--feed {
        padding: 1.125rem 1.25rem;
    }

    .gth-card--feed .gth-card__feed-layout {
        grid-template-columns: 5rem minmax(0, 1fr);
        gap: 1rem;
    }

    .gth-card--feed .gth-card__thumb,
    .gth-card--feed .gth-card__thumb--image {
        width: 5rem;
        height: 5rem;
        border-radius: 0.875rem;
    }

    .gth-card--feed .gth-card__tag {
        font-size: 0.75rem;
        padding: 0.1875rem 0.625rem;
    }

    .gth-card--feed .gth-card__user-desktop {
        display: inline-flex !important;
    }

    .gth-card--feed .gth-card__specs--feed {
        display: flex !important;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 0.375rem 1.25rem;
    }

    .gth-card--feed .gth-card__specs--wide {
        flex: 1 1 100%;
    }

    .gth-card--feed .gth-card__feed-meta {
        display: none !important;
    }

    .gth-card--feed .gth-card__actions {
        margin-top: 0.875rem;
        padding-top: 0.875rem;
        border-top: 1px solid rgba(55, 65, 81, 0.45);
    }

    .gth-card--feed .gth-card__head .text-lg {
        font-size: 1.125rem;
    }

    .gth-card__actions a .text-xs {
        display: inline;
    }
}

/* ---- 独自コンテンツ・法務ページ ---- */
.gth-site-intro__lead {
    margin: 0 0 0.875rem;
    line-height: 1.65;
    color: #d1d5db;
}

.gth-site-intro__list {
    margin: 0 0 0.875rem;
    padding-left: 1.25rem;
    line-height: 1.7;
    color: #cbd5e1;
}

.gth-site-intro__list a {
    color: #86efac;
    text-decoration: none;
}

.gth-site-intro__list a:hover {
    text-decoration: underline;
}

.gth-legal__section + .gth-legal__section {
    margin-top: 1rem;
}

.gth-legal__lead {
    margin: 0;
    line-height: 1.7;
    color: #d1d5db;
}

.gth-legal__list {
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.75;
    color: #cbd5e1;
}

.gth-legal__list li + li {
    margin-top: 0.5rem;
}

.gth-legal__note {
    margin: 0.75rem 0 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #9ca3af;
}

.gth-legal__note a {
    color: #86efac;
}

.gth-source-notice {
    margin-top: 1rem;
    border-color: rgba(59, 130, 246, 0.25);
}

.gth-footer-nav {
    flex-wrap: wrap;
    row-gap: 0.375rem;
}

/* ---- ゲーム画像クレジット ---- */
.gth-media-credits {
    margin-top: 1rem;
    text-align: left;
}

.gth-media-credits__summary {
    cursor: pointer;
    font-size: 0.75rem;
    color: #9ca3af;
    list-style: none;
}

.gth-media-credits__summary::-webkit-details-marker {
    display: none;
}

.gth-media-credits__list {
    margin: 0.75rem 0 0;
    padding-left: 1.125rem;
    font-size: 0.75rem;
    line-height: 1.6;
    color: #9ca3af;
}

.gth-media-credits__list a {
    color: #86efac;
    text-decoration: none;
}

.gth-media-credits__list a:hover {
    text-decoration: underline;
}

.gth-media-credits__note {
    margin: 0.75rem 0 0;
    font-size: 0.6875rem;
    line-height: 1.55;
    color: #6b7280;
}

.gth-footer .gth-media-credits {
    margin-top: 1rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* ローカルプレビュー用切替バー（DEBUG 時のみ表示） */
.gth-theme-preview-bar {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 90;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    max-width: calc(100vw - 2rem);
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: #e4e4e7;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(75, 85, 99, 0.55);
    border-radius: 0.625rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.gth-theme-preview-bar__label {
    color: #9ca3af;
    margin-right: 0.25rem;
}

.gth-theme-preview-bar a {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.625rem;
    font-weight: 600;
    text-decoration: none;
    color: #d1d5db;
    border-radius: 0.375rem;
    border: 1px solid rgba(75, 85, 99, 0.55);
}

.gth-theme-preview-bar a:hover {
    color: #fff;
    border-color: #6b7280;
}

.gth-theme-preview-bar a.is-active {
    color: #052e16;
    border-color: transparent;
    background: linear-gradient(180deg, var(--gth-green) 0%, var(--gth-green-dim) 100%);
}

body.gth-site.gth-theme-alt .gth-theme-preview-bar a.is-active {
    color: #fff;
    background: linear-gradient(180deg, #8b5cf6 0%, #6d28d9 100%);
}
