/* blowzermap_for_civitai.css - 最適化版（2026-05-17） */
/* 目的: アカウント名とアイコンを同一行に強制 + 全体の見やすさ向上 */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 20px 10px;
    line-height: 1.55;
    background: #f9f9f9;
    color: #333;
}

h1 {
    text-align: center;
    color: #222;
    margin: 10px 0 8px 0;
    font-size: 1.8em;
}

p {
    text-align: center;
    color: #555;
    margin-bottom: 20px;
}

/* ==================== ナビゲーション ==================== */
.nav-links {
    text-align: center;
    margin-bottom: 25px;
    padding: 12px;
    background: #f0f0f0;
    border-radius: 10px;
}

.nav-links a {
    margin: 0 12px;
    text-decoration: none;
    color: #0066cc;
    font-weight: 500;
}

.nav-links a.current {
    color: #004499;
    font-weight: bold;
    text-decoration: underline;
}

/* ==================== テーブル ==================== */
table {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 30px auto;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    border: 1px solid #e0e0e0;
    padding: 14px 12px;
    vertical-align: top;
}

th {
    background: #f0f4f8;
    font-weight: 600;
    color: #222;
    text-align: left;
    white-space: nowrap;
}

/* ==================== 1列目：Civitaiアカウント + アイコン ==================== */
.acct-link {
    font-weight: bold;
    font-size: 1.12em;
    color: #0066cc;
    text-decoration: none;
    display: inline-block;
    margin-right: 12px;
    vertical-align: middle;
}

.acct-link:hover {
    text-decoration: underline;
    color: #004499;
}

/* ここが重要：改行を強制的に防止 */
.civitai-icon-container {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

.civitai-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.civitai-icon-link:hover {
    background-color: #f0f4ff;
    transform: scale(1.15);
}

.civitai-icon-link img {
    width: 24px;
    height: 24px;
    opacity: 0.9;
    transition: all 0.2s ease;
}

.civitai-icon-link:hover img {
    opacity: 1;
}

/* ==================== 2列目 ==================== */
.browser-name {
    font-weight: bold;
    color: #222;
    font-size: 1.05em;
}

.label-line {
    margin-top: 6px;
    font-size: 0.92em;
    color: #555;
}

.warning-text {
    color: #d32f2f;
    font-weight: bold;
    margin-top: 8px;
    font-size: 0.95em;
}

/* ==================== ホバー効果 ==================== */
tr:hover {
    background-color: #f8fbff;
}

tr:hover td {
    background-color: #f8fbff;
}

/* ==================== レスポンシブ ==================== */
@media screen and (max-width: 768px) {
    body { margin: 12px 8px; }
    
    th, td { padding: 12px 8px; }
    
    .civitai-icon-container {
        gap: 6px;
    }
    
    .civitai-icon-link img {
        width: 22px;
        height: 22px;
    }
}

@media screen and (max-width: 480px) {
    table { font-size: 0.95em; }
    .nav-links a { margin: 0 8px; font-size: 0.95em; }
}