/* --- 変数定義（テーマカラー） --- */
:root {
    --bg-base: #09090b;
    --bg-panel: #121217;
    --bg-hover: #1e1e24;
    --bg-dark-input: #0d0d10;
    --border-color: #272730;
    
    --accent-pick: #00e676;
    --accent-ban: #ff3366;
    --accent-text: #00bfff;
    
    --text-main: #f0f0f0;
    --text-muted: #888899;
    
    --font-main: 'Inter', -apple-system, sans-serif;

    /* 全体の拡大率を1.25倍に設定 */
    zoom: 1.25;
}

/* --- 全体の基本リセット・設定 --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: var(--bg-base);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
    overflow-x: hidden;
}

/* スクロールバーのカスタマイズ */
::-webkit-scrollbar { 
    width: 6px; 
    height: 6px; 
}
::-webkit-scrollbar-track { 
    background: rgba(0, 0, 0, 0.2); 
}
::-webkit-scrollbar-thumb { 
    background: rgba(255, 255, 255, 0.2); 
    border-radius: 4px;
    transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover { 
    background: var(--accent-text); 
}

.hidden { display: none !important; }

/* --- レイアウト --- */


/* --- 全体レイアウト --- */
.app-container {
    display: flex;
    height: calc(100vh / 1.25);
    overflow: hidden;
}

.sidebar {
    width: 300px;
    height: calc(100vh / 1.25);
    background-color: var(--bg-panel);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    z-index: 10;
    flex-shrink: 0;
}

/* --- 右側エリア（横幅を1.5倍に拡大） --- */
.main-content, 
.right-panel, 
.score-panel-container { 
    /* 従来サイズ（約320px〜360px前後想定）から1.5倍の480px強へ拡張 */
    width: 480px; 
    flex-shrink: 0;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-container input {
    width: 100%;
    height: 42px;
    background-color: var(--bg-dark-input);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-main);
    padding: 0 16px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-container input:focus {
    outline: none;
    border-color: var(--accent-text);
    box-shadow: 0 0 8px rgba(0, 191, 255, 0.2);
}

.role-filter-select {
    width: 100%;
    height: 36px;
    background-color: var(--bg-dark-input);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-main);
    padding: 0 12px;
    font-size: 12px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s;
}

.role-filter-select:focus {
    border-color: var(--accent-text);
}

.section-title {
    font-size: 11px;
    color: var(--text-muted);
    margin: 20px 0 10px 0;
    letter-spacing: 1.5px;
    font-weight: 900;
}

.ranking-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex-grow: 1;
}

.ranking-item {
    padding: 8px 12px;
    margin-bottom: 6px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.ranking-item:hover {
    background-color: var(--bg-hover);
    border-color: var(--border-color);
    transform: translateX(4px);
}

.char-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 1px solid var(--border-color);
    background-color: #222;
}

.char-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
}

.char-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.char-score {
    font-size: 13px;
    font-weight: 900;
}

/* --- メインコンテンツ領域 --- */
/* --- メインコンテンツ領域 --- */
.main-content {
    flex-grow: 1;
    height: calc(100vh / 1.25); 
    overflow-y: auto; /* 縦スクロールを有効にする */
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    background-color: #1a1a20;
}

/* --- ドラフト画面 (VS) --- */
.battle-arena {
    /* 手動で調整可能な高さ指定（初期値: 520px） */
    height: 580px; 
    min-height: 580px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 16px;
    position: relative;
    flex-shrink: 0;
}

/* --- Select Map エリア --- */
.main-footer {
    height: 100px;
    min-height: 100px;
    background-color: var(--bg-panel);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 20px;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* --- 最下部テキスト（スクロールすると見える部分） --- */
.sub-footer {
    padding: 20px;
    background-color: #0d0d10;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}
.main-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--map-bg, none);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    clip-path: inset(0 8px 0 8px);
    filter: blur(8px) brightness(0.5);
    transform: scale(1.1);
    z-index: -1;
    transition: background-image 0.3s ease;
    will-change: transform, filter;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
     padding: 14px 24px 10px;
    height: 60px;
    flex-shrink: 0;
}

.phase-indicator {
    flex: 0 0 150px;
    width: 150px;
    min-width: 150px;
    font-size: 16px;
    font-weight: 900;
    color: var(--accent-text);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.2;
}


/* --- ヘッダーボタン：2段レイアウト --- */
.header-btn-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.header-btn-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列均等サイズ */
    gap: 3px;
    width: 290px; /* 全体の横幅を固定 */
}

.header-btn-row-top,
.header-btn-row-bottom {
    width: 100%;
}

.header-btn-row-top .icon-btn,
.header-btn-row-bottom .icon-btn {
    flex: 0 0 auto;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    
    height: 32px; /* 高さを統一 */
    padding: 0 8px;
    
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    
    color: var(--text-main);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
}

/* 選択・フォーカス中は水色ではなく白で統一 */
.icon-btn:focus,
.icon-btn:focus-visible,
.icon-btn.selected {
    outline: none;
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.18);
}

.icon-btn:hover {
    background-color: var(--bg-hover);
    border-color: var(--accent-text);
    color: #ffffff;
    box-shadow: 0 0 8px rgba(0, 191, 255, 0.25);
    transform: translateY(-1px);
}

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

/* --- ドラフト画面 (VS) --- */
.battle-arena {
    /* 固着していた高さの制限を解除し、中身の大きさに合わせる */
    min-height: 480px; 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 16px;
    position: relative;
    flex-shrink: 0;
}

.map-board-center {
    width: 280px;
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    background-image: var(--map-bg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.map-board-center::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.65);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.map-board-center .vs-text {
    position: relative;
    z-index: 2;
    font-size: 70px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
    font-style: italic;
    margin: 0;
}

.team { 
    display: flex; 
    gap: 20px; 
    z-index: 2;
}

.column-title {
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 2px;
}
.pick-title { color: var(--accent-text); }
.ban-title { color: var(--accent-ban); }

.slots-container { 
    display: flex; 
    flex-direction: column; 
    gap: 8px;
}

.slot {
   width: 84px;
    height: 84px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #444;
    font-size: 24px;
    font-weight: 900;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    background-size: contain; 
    background-position: center;
    background-repeat: no-repeat;
}

.slot-ban { 
   width: 48px; 
    height: 48px; 
    font-size: 16px; 
    border-radius: 8px; 
}

.slot.active {
    color: #fff;
    transform: scale(1.05);
}
.slot.active.slot-pick {
    border-color: var(--accent-pick);
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.4), inset 0 0 10px rgba(0, 230, 118, 0.2);
}
.slot.active.slot-ban {
    border-color: var(--accent-ban);
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.4), inset 0 0 10px rgba(255, 51, 102, 0.2);
}

.slot.selected { 
    color: transparent;
    border-color: #333;
    background-color: #141418;
    box-shadow: none;
}

.team-first .slot-pick.selected {
    border-color: var(--accent-text);
    box-shadow: 0 0 12px rgba(0, 191, 255, 0.8), inset 0 0 8px rgba(0, 191, 255, 0.4);
}
.team-second .slot-pick.selected {
    border-color: var(--accent-ban);
    box-shadow: 0 0 12px rgba(255, 51, 102, 0.8), inset 0 0 8px rgba(255, 51, 102, 0.4);
}

.slot-ban.selected {
    filter: grayscale(100%) brightness(0.7);
}
.slot-ban.selected::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, transparent 46%, rgba(255, 0, 50, 0.9) 48%, rgba(255, 0, 50, 0.9) 52%, transparent 54%);
    z-index: 2;
    border-radius: inherit;
}

.brawler-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(60, 60, 65, 0.65);
    backdrop-filter: blur(4px);
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: bold;
    text-align: center;
    padding: 4px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
    pointer-events: none;
    user-select: none;
}

.slot-ban .brawler-name {
    font-size: 0.6rem;
    padding: 2px 0;
}

/* --- フッター & 広告エリア --- */
.main-footer {
    height: 110px;
    min-height: 110px;
    background-color: var(--bg-panel);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-shrink: 0;
}
.settings-panel {
    width: 300px;
    padding: 12px 20px;
    border-right: 1px solid var(--border-color);
}

.setting-row { 
    display: flex; 
    align-items: center;
    margin-bottom: 8px;
    min-height: 34px;
    height: 34px;
}

.setting-row label { 
    width: 60px; 
    font-size: 11px; 
    color: var(--text-muted); 
    font-weight: 900; 
}

.setting-row select {
    flex-grow: 1;
    height: 34px;
    background-color: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #fff;
    padding: 0 10px;
    font-size: 13px;
    outline: none;
}

.map-select-trigger {
    flex: 0 0 auto;
    width: calc(100% - 60px);
    min-width: 0;
    max-width: calc(100% - 60px);
    height: 34px;
    min-height: 34px;
    max-height: 34px;
    box-sizing: border-box;
    background-color: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #fff;
    padding: 0 10px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.map-select-trigger:hover {
    border-color: var(--accent-text);
    background-color: var(--bg-hover);
}

.map-select-trigger span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-select-trigger::after {
    content: "▼";
    font-size: 9px;
    color: var(--text-muted);
}

/* --- ヘッダー中央：お知らせスライダー --- */
.header-notice-slider {
    flex: 0 1 65%;
    width: 65%;
    max-width: 65%;
    min-width: 0;
    height: 58px;
    margin: 0 12px;
    position: relative;
}

.notice-slider-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.28);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.35), 0 4px 14px rgba(0, 0, 0, 0.18);
}

.notice-slider-viewport::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0,0,0,.28), transparent 12%, transparent 88%, rgba(0,0,0,.28));
}

.notice-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 0.82s cubic-bezier(0.22, 0.75, 0.18, 1);
    will-change: transform;
}

.notice-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: default;
    isolation: isolate;
}

.notice-slide.is-clickable { cursor: pointer; }

.notice-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.025);
    transition: transform 1.15s cubic-bezier(0.2, 0.75, 0.2, 1), filter 0.8s ease;
    filter: saturate(0.92) brightness(0.9);
}

.notice-slide.is-active img {
    transform: scale(1);
    filter: saturate(1) brightness(1);
}

.notice-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,.10) 48%, transparent 67%);
    transform: translateX(-130%);
}

.notice-slide.is-active::after {
    animation: noticeSheen 1.1s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes noticeSheen {
    to { transform: translateX(130%); }
}

.notice-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 22px;
    background: linear-gradient(110deg, rgba(0,191,255,.16), rgba(255,255,255,.035) 48%, rgba(255,51,102,.12));
}

.notice-fallback-title {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
}

.notice-fallback-sub {
    margin-left: 10px;
    font-size: 10px;
    color: var(--text-muted);
}

.notice-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 24px;
    height: 30px;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 6px;
    background: rgba(0,0,0,.38);
    color: rgba(255,255,255,.78);
    font-size: 22px;
    line-height: 24px;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s ease, background .2s ease, color .2s ease;
}

.notice-slider-viewport:hover .notice-arrow { opacity: 1; }
.notice-arrow:hover { background: rgba(0,0,0,.68); color: #fff; }
.notice-arrow-prev { left: 7px; }
.notice-arrow-next { right: 7px; }

.notice-dots {
    position: absolute;
    left: 50%;
    bottom: 5px;
    z-index: 7;
    display: flex;
    align-items: center;
    gap: 4px;
    transform: translateX(-50%);
    padding: 4px 7px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(0,0,0,.36);
    backdrop-filter: blur(5px);
}

.notice-dot {
    width: 14px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.28);
    cursor: pointer;
    transition: width .35s ease, background .35s ease, opacity .35s ease;
}

.notice-dot:hover { opacity: .9; }

.notice-dot.active {
    width: 25px;
    background: var(--accent-text);
    box-shadow: 0 0 8px rgba(0,191,255,.5);
}

@media (max-width: 900px) {
    .header-notice-slider { width: 62%; max-width: 62%; flex-basis: 62%; margin: 0 8px; height: 58px; }
    .notice-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .notice-slider-track, .notice-slide img, .notice-dot { transition-duration: .01ms !important; }
    .notice-slide.is-active::after { animation: none; }
}

.ad-banner-footer-full {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.5px;
    border-left: 1px solid var(--border-color);
}

.ad-sidebar-right {
    width: 15%;
    min-width: 100px;
    background-color: var(--bg-panel);
    border-left: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    padding: 10px;
}

/* --- モーダル共通ベース --- */
.modal-overlay, .map-modal-overlay {
    position: fixed; 
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    display: flex; 
    align-items: center; 
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 340px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
}

.modal-header {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px; 
    margin-bottom: 15px;
}

.modal-header h3 { 
    margin: 0; 
    font-size: 20px; 
    color: #fff; 
    font-weight: 900; 
}

.modal-score { 
    font-size: 18px; 
    font-weight: 900; 
    color: var(--accent-pick); 
}

.modal-phase { 
    font-size: 12px; 
    color: var(--text-muted); 
    margin-bottom: 15px; 
    font-weight: bold; 
}

.modal-row { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 8px; 
    font-size: 14px; 
}

.modal-row strong { color: #fff; }

.modal-close-btn {
    margin-top: 20px; 
    width: 100%; 
    padding: 12px;
    background: var(--bg-hover); 
    border: 1px solid var(--border-color);
    color: #fff; 
    border-radius: 6px; 
    cursor: pointer; 
    font-size: 13px; 
    font-weight: bold;
    transition: background 0.2s;
}

.modal-close-btn:hover { background: #33333d; }

/* --- ビジュアル マップ選択モーダル --- */
.map-modal-content {
    width: 90vw;
    max-width: 1100px;
    max-height: 85vh;
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.map-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background-color: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--border-color);
}

.map-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: var(--accent-text);
}

.map-modal-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.map-modal-close-btn:hover {
    color: #fff;
}

.map-modal-body {
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.mode-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mode-title {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
    letter-spacing: 1px;
}

.mode-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transform: scale(2.5);
    border-radius: 3px; 
    overflow: hidden;
    border: 0.7px solid #555;
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.map-card {
    background-color: rgba(20, 20, 26, 0.8);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    position: relative;
}

.map-card:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: var(--accent-text);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.3);
}

.map-card.selected {
    border-color: var(--accent-pick);
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.6);
}

.map-card-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background-color: #000;
    transform: scale(1.09);
    display: block;
}

.map-card-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    padding: 6px 4px;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(10, 10, 14, 0.6);
    backdrop-filter: blur(6px);
}

/* --- ウェイト編集モーダル --- */
.weights-modal-content {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 90vw;
    max-width: 780px;
    max-height: 85vh;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
    overflow-y: auto;
}

.weights-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 13px;
}

.weights-table th, 
.weights-table td {
    border: 1px solid var(--border-color);
    padding: 8px;
    text-align: center;
}

.weights-table th {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-text);
}

.weights-table input {
    width: 50px;
    background: var(--bg-dark-input);
    border: 1px solid var(--border-color);
    color: #fff;
    text-align: center;
    padding: 4px;
    border-radius: 4px;
    font-weight: bold;
}

.weights-table input:focus {
    outline: none;
    border-color: var(--accent-text);
}

.modal-footer-btns {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 15px;
}

/* --- 最下部サブフッター --- */
.sub-footer {
    padding: 20px;
    background-color: #0d0d10;
    font-size: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-top: auto; /* 上部の要素との間にスペースを作り最下部に押し出す */
    border-top: 1px solid var(--border-color);
}

.sub-footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.sub-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.map-warning {
    background-color: rgba(255, 51, 102, 0.15);
    border: 1px solid var(--accent-ban, #ff3366);
    color: #ff5252;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 8px;
    text-align: center;
}

.ban-tabs {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.tab-btn {
    flex: 1;
    padding: 6px 0;
    background-color: var(--bg-dark-input, #1e1e24);
    border: 1px solid var(--border-color, #333);
    color: var(--text-muted, #aaa);
    font-size: 12px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn.active {
    background-color: var(--bg-hover, #2a2a35);
    border-color: var(--accent-text, #00d2ff);
    color: #fff;
}

.ban-group-header {
    font-size: 11px;
    color: var(--accent-text, #00d2ff);
    padding: 6px 4px 2px 4px;
    font-weight: bold;
    border-bottom: 1px solid var(--border-color, #333);
    margin-top: 8px;
}

.guide-modal-content {
    width: 95vw;
    max-width: 1050px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 28px 32px;
}

.guide-modal-content .modal-header h3 {
    font-size: 22px;
}

.guide-body {
    overflow-y: auto;
    padding-right: 12px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guide-section h4 {
    margin: 0 0 8px 0;
    color: var(--accent-text);
    font-size: 16px;
    font-weight: bold;
}

.guide-section p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-main);
}

.guide-section ul li {
    font-size: 14px !important;
    line-height: 1.6;
}

.custom-tooltip {
    position: fixed;
    z-index: 100000;
    background-color: #1e1e28;
    color: #ffffff;
    border: 1px solid var(--accent-text, #00bfff);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    animation: fadeIn 0.15s ease-out;
    max-width: 280px;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}


.modal-overlay,
.map-modal-overlay,
.custom-tooltip,
#policyModal,
.privacy-policy-modal {
    zoom: 0.8; /* 1 / 1.25 = 0.8 で等倍保持 */
}

.top-right-controls,
.header-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列 */
    gap: 6px;
    align-items: center;
}

.top-right-controls button,
.header-actions button {
    width: 100%;
    padding: 6px 8px;
    font-size: 12px;
    white-space: nowrap;
}

#policyModal.active,
.privacy-policy-modal.active {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
/* --- MAP設定＋説明文：main-contentのスクロールに完全追従 --- */
.bottom-footer-group {
    margin-top: auto;
    flex-shrink: 0;
    width: 100%;
    position: relative;
    z-index: 20;
    background: var(--bg-panel);
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.25);
}

/* --- 広告ブロッカー検知時はアプリ全体を操作不能にする --- */
.adblock-lock {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 5, 8, 0.88);
    backdrop-filter: blur(8px);
    pointer-events: all;
}

.adblock-lock.hidden {
    display: none !important;
}

.adblock-lock-card {
    width: min(520px, 90vw);
    padding: 32px;
    border: 1px solid var(--accent-ban);
    border-radius: 12px;
    background: var(--bg-panel);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.adblock-lock-title {
    color: var(--accent-ban);
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 14px;
}

.adblock-lock-text {
    color: var(--text-main);
    font-size: 13px;
    line-height: 1.8;
}

.adblock-reload-btn {
    margin-top: 20px;
    padding: 10px 24px;
    border: 1px solid var(--accent-text);
    border-radius: 6px;
    background: var(--bg-hover);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.adblock-reload-btn:hover {
    background: var(--bg-dark-input);
}

/* AdBlock検知用bait。通常時は画面外の極小領域 */
#adblock-bait {
    position: absolute !important;
    left: -10000px !important;
    top: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 1px !important;
    min-height: 1px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 0.01 !important;
    pointer-events: none !important;
}


/* ============================================================
   Account / Player Tag
   ============================================================ */
.account-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.78);
    backdrop-filter: blur(8px);
}
.account-modal-overlay.hidden { display: none; }
.account-modal-card {
    width: min(560px, 100%);
    max-height: min(760px, 90vh);
    overflow-y: auto;
    background: linear-gradient(180deg, #15151c 0%, #0e0e13 100%);
    border: 1px solid #2b2b38;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0,0,0,.55);
    color: #f5f5f7;
    padding: 22px;
}
.account-modal-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-bottom:18px;
}
.account-modal-kicker, .player-profile-label {
    font-size:10px;
    letter-spacing:.16em;
    color:#777789;
    font-weight:800;
}
.account-modal-header h3 { margin:4px 0 0; font-size:22px; }
.account-modal-close {
    width:34px; height:34px; border-radius:9px;
    border:1px solid #30303b; background:#1a1a22; color:#aaa;
    cursor:pointer;
}
.account-google-profile {
    display:flex; align-items:center; gap:12px;
    padding:13px; margin-bottom:14px;
    background:rgba(255,255,255,.035);
    border:1px solid #292934; border-radius:12px;
}
.account-avatar { width:44px; height:44px; border-radius:50%; object-fit:cover; flex:0 0 44px; }
.account-avatar-fallback { display:grid; place-items:center; background:#252530; font-size:20px; }
.account-google-info { min-width:0; display:flex; flex-direction:column; gap:2px; }
.account-google-info strong { font-size:14px; }
.account-google-info span { color:#b2b2c0; font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account-google-info small { color:#6f6f7c; font-size:10px; }
.player-link-card, .player-profile-card {
    border:1px solid #2c2c38; border-radius:13px;
    background:rgba(255,255,255,.025); padding:16px;
}
.player-link-title { font-size:14px; font-weight:800; }
.player-link-subtitle { margin-top:5px; color:#858593; font-size:11px; line-height:1.55; }
.player-tag-row { display:flex; gap:8px; margin-top:13px; }
.player-tag-input {
    min-width:0; flex:1; height:40px; padding:0 12px;
    border:1px solid #353542; border-radius:9px;
    background:#0b0b10; color:#fff; outline:none; font-weight:700;
}
.player-tag-input:focus { border-color:#00e676; box-shadow:0 0 0 2px rgba(0,230,118,.1); }
.player-tag-connect-btn {
    height:40px; padding:0 14px; border:0; border-radius:9px;
    background:#00e676; color:#061009; font-weight:900; cursor:pointer; white-space:nowrap;
}
.player-tag-connect-btn:disabled { opacity:.55; cursor:wait; }
.player-tag-status { min-height:18px; margin-top:8px; font-size:11px; color:#777784; }
.player-tag-status.error { color:#ff6b7a; }
.player-tag-status.success { color:#00e676; }
.player-tag-status.loading { color:#ffc857; }
.player-profile-card { margin-top:12px; }
.player-profile-header { display:flex; justify-content:space-between; align-items:flex-end; gap:15px; }
.player-profile-header > div:first-child { display:flex; flex-direction:column; gap:2px; }
.player-profile-header strong { font-size:19px; }
.player-profile-tag { color:#858593; font-family:monospace; font-size:11px; }
.player-total-trophies { text-align:right; }
.player-total-trophies span { display:block; color:#777784; font-size:10px; }
.player-total-trophies strong { font-size:24px; color:#ffd45a; }
.player-stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; margin:14px 0; }
.player-stat-grid > div { padding:9px; border-radius:9px; background:#0d0d12; border:1px solid #24242f; }
.player-stat-grid span { display:block; color:#6e6e7b; font-size:9px; }
.player-stat-grid strong { display:block; margin-top:3px; font-size:13px; }
.player-top-brawlers { border-top:1px solid #262631; padding-top:12px; }
.player-brawler-row { display:grid; grid-template-columns:1fr auto auto; gap:10px; align-items:center; padding:7px 0; border-bottom:1px solid rgba(255,255,255,.045); font-size:11px; }
.player-brawler-row strong { color:#ffd45a; }
.player-brawler-row em { font-style:normal; color:#00e676; font-size:10px; min-width:38px; text-align:right; }
.player-skill-note { margin-top:10px; color:#666674; font-size:9px; line-height:1.5; }
.account-modal-actions { display:flex; gap:8px; justify-content:flex-end; margin-top:14px; }
.account-secondary-btn, .account-logout-btn { height:36px; padding:0 13px; border-radius:8px; cursor:pointer; font-weight:800; font-size:11px; }
.account-secondary-btn { border:1px solid #3a3a47; background:#191920; color:#d0d0d8; }
.account-logout-btn { border:1px solid #542832; background:#251217; color:#ff7f8d; }
.account-secondary-btn.hidden { display:none; }
@media (max-width: 520px) {
    .account-modal-card { padding:16px; }
    .player-tag-row { flex-direction:column; }
    .player-stat-grid { grid-template-columns:repeat(2,1fr); }
    .player-profile-header { align-items:flex-start; flex-direction:column; }
    .player-total-trophies { text-align:left; }
    .account-modal-actions { flex-direction:column; }
}


/* Account Power Level 11 setting */
.account-setting-card { margin-top:12px; border:1px solid #2c2c38; border-radius:13px; background:rgba(255,255,255,.025); padding:14px 16px; }
.account-setting-header { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.toggle-switch { position:relative; width:46px; height:26px; flex:0 0 46px; cursor:pointer; }
.toggle-switch input { position:absolute; opacity:0; pointer-events:none; }
.toggle-switch span { position:absolute; inset:0; border-radius:999px; background:#292934; border:1px solid #3a3a47; transition:.2s; }
.toggle-switch span::after { content:""; position:absolute; width:20px; height:20px; left:2px; top:2px; border-radius:50%; background:#777784; transition:.2s; }
.toggle-switch input:checked + span { background:#00e676; border-color:#00e676; }
.toggle-switch input:checked + span::after { transform:translateX(20px); background:#07110b; }


/* === Select Map / footer size lock ===
   MAP名を選択した後もボタン・設定欄のサイズが変化しないよう固定 */
.main-footer {
    height: 100px !important;
    min-height: 100px !important;
    max-height: 100px !important;
    box-sizing: border-box !important;
    flex: 0 0 100px !important;
    overflow: hidden;
}

.main-footer .settings-panel {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    height: 100%;
    box-sizing: border-box;
}

.main-footer .setting-row {
    height: 34px;
    min-height: 34px;
    max-height: 34px;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.main-footer .map-select-trigger {
    flex: 0 0 216px !important;
    width: 216px !important;
    min-width: 216px !important;
    max-width: 216px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    box-sizing: border-box !important;
    overflow: hidden;
}

.main-footer .map-select-trigger > span {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* --- AdSense safe slots --- */
.ad-slot-pending {
    display: block;
    width: 100%;
    min-width: 1px;
    min-height: 1px;
    box-sizing: border-box;
}
.ad-banner-top {
    flex: 0 0 auto;
    width: 1px;
    min-width: 1px;
    height: 1px;
    overflow: hidden;
}
.ad-banner-footer-full > .ad-slot-pending,
.ad-sidebar-right > .ad-slot-pending {
    width: 100%;
    min-width: 1px;
    min-height: 1px;
}


/* --- BrawlForge icon polish --- */
.header-btn-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
    flex: 0 0 18px;
}
.header-btn-video {
    border-radius: 4px;
    background: transparent;
}
.icon-btn span { display:inline-flex; align-items:center; }
.search-container input {
    background-image: url("images/btn_icon/Search.png");
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 17px 17px;
    padding-left: 38px;
}
.ui-warning-icon {
    display:inline-grid;
    place-items:center;
    width:15px;
    height:15px;
    margin-right:4px;
    border:1px solid currentColor;
    border-radius:50%;
    font-size:10px;
    line-height:1;
    font-weight:900;
}
.detail-icon {
    width:17px;
    height:17px;
    object-fit:contain;
    vertical-align:-4px;
    margin-right:4px;
}
.trophy-value {
    display:inline-flex !important;
    align-items:center;
    justify-content:flex-end;
    gap:6px;
}
.trophy-icon {
    width:22px;
    height:22px;
    object-fit:contain;
}
.trophy-icon-inline {
    width:16px;
    height:16px;
    object-fit:contain;
    vertical-align:-3px;
    margin-right:3px;
}
.brawler-trophy-value {
    display:inline-flex !important;
    align-items:center;
    white-space:nowrap;
}
.ranked-stat-value {
    display:flex !important;
    align-items:center;
    gap:5px;
    flex-wrap:wrap;
}
.ranked-stat-value span { display:inline !important; color:#f0f0f0 !important; font-size:11px !important; }
.ranked-stat-value b { color:#ffd45a; font-size:12px; }
.ranked-icon-small {
    width:28px;
    height:28px;
    object-fit:contain;
    flex:0 0 28px;
}
.account-avatar-fallback { object-fit:contain; padding:8px; }
.weights-table th, .weights-table td { white-space:nowrap; }


/* =========================================================
   BrawlForge UI final tuning — compact ranking + enlarged core UI
   ========================================================= */

/* 左ランキング：1行2キャラ。既存のサイドバー幅は変更しない */
.ranking-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    align-content: start;
}

.ranking-item {
    min-width: 0;
    margin-bottom: 0;
    padding: 7px 7px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 7px;
    align-items: center;
    box-sizing: border-box;
}

.ranking-item:hover {
    transform: translateY(-1px);
}

.char-icon {
    width: 40px;
    height: 40px;
    margin-right: 0;
    grid-column: 1;
    grid-row: 1;
}

.char-info {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    grid-column: 2;
    grid-row: 1;
}

.char-name {
    width: 100%;
    min-width: 0;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 700;
    white-space: normal;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 通常名：名前の直下にスコア。長い名前は2行→その下にスコア */
.char-score {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
}

/* 右上ボタン：LOGIN / GUIDE / WEIGHTS は元位置、UNDO / SWAP / RESET はVSボックス直下へ */
.header-btn-group {
    gap: 4px;
    align-items: flex-end;
}

.header-btn-row-top {
    width: 200px;
    gap: 3px;
}

.header-btn-row-top { grid-template-columns: repeat(2, 1fr); }
.home-btn { color: inherit; text-decoration: none; }

.header-btn-row-top .icon-btn {
    height: 32px;
    min-height: 32px;
    padding: 0 8px;
    font-size: 11px;
    border-radius: 6px;
}

.header-btn-row-bottom {
    position: absolute;
    top: 585px;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    gap: 4px;
    z-index: 20;
}

.header-btn-row-bottom .icon-btn {
    height: 48px;
    min-height: 48px;
    padding: 0 12px;
    font-size: 14px;
    border-radius: 7px;
}

/* 中央のPICK/BAN/VS一式：約1.25倍 */
.battle-arena {
    gap: 20px;
    padding: 20px;
}

.battle-arena .map-board-center {
    width: 350px;
    height: 450px;
    border-radius: 18px;
}

.battle-arena .map-board-center .vs-text {
    font-size: 88px;
}

.battle-arena .team {
    gap: 25px;
}

.battle-arena .column-title {
    font-size: 16px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.battle-arena .slots-container {
    gap: 10px;
}

.battle-arena .slot {
    width: 105px;
    height: 105px;
}

.battle-arena .slot-ban {
    width: 60px;
    height: 60px;
    font-size: 16px;
}

/* MODE / MAPの黒帯を約1.2倍の高さにして上方向へ拡張 */
.main-footer {
    height: 132px;
    min-height: 132px;
}

.settings-panel {
    padding: 14px 20px;
}


/* =========================================================
   BrawlForge UI micro tuning — final requested alignment/scale
   ========================================================= */
/* 左ランキング：サイドバー自体を約1.1倍にし、カードも少し大きく */
.sidebar {
    width: 330px;
}

.ranking-list {
    gap: 7px;
}

.ranking-item {
    padding: 9px 8px;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 8px;
    min-height: 60px;
}

.char-icon {
    width: 44px;
    height: 44px;
}

.char-name {
    font-size: 13px;
}

.char-score {
    font-size: 13px;
    margin-top: 4px;
}

/* 右端広告枠も約1.1倍 */
.ad-sidebar-right {
    width: 16.5%;
    min-width: 110px;
}

/* VSボックスは拡大前のサイズへ戻す */
.battle-arena .map-board-center {
    width: 280px;
    height: 360px;
    border-radius: 16px;
}

.battle-arena .map-board-center .vs-text {
    font-size: 70px;
}

.battle-arena .team {
    gap: 20px;
}

.battle-arena .column-title {
    font-size: 13px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.battle-arena .slots-container {
    gap: 8px;
}

.battle-arena .slot {
    width: 84px;
    height: 84px;
}

.battle-arena .slot-ban {
    width: 48px;
    height: 48px;
    font-size: 14px;
}

/* UNDO / SWAP / RESET はVSボックス直下。ボックスと同じ幅・中央軸で揃える */
.header-btn-row-bottom {
    top: 540px;
    left: 50%;
    width: 280px;
    transform: translateX(-50%);
    gap: 4px;
    justify-content: stretch;
}

.header-btn-row-bottom .icon-btn {
    width: 100%;
    height: 42px;
    min-height: 42px;
    padding: 0 8px;
    font-size: 12px;
}

/* おすすめBAN：各「○○使いたいならBAN」＋3キャラを1セットとして強調 */
.ban-recommend-group {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 7px;
    margin: 2px 0 4px;
    border: 1px solid rgba(0, 191, 255, 0.32);
    border-radius: 8px;
    background: rgba(0, 191, 255, 0.045);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
}

.ban-recommend-group .ban-group-header {
    grid-column: 1 / -1;
    margin: 0;
    padding: 5px 6px 6px;
    border-bottom: 1px solid rgba(0, 191, 255, 0.22);
    color: var(--accent-text, #00bfff);
}

.ban-recommend-group .ranking-item {
    margin: 0;
}

/* =========================================================
   BrawlForge 固定UIレイアウト — 端末比率に依存しない全体スケール
   ========================================================= */
:root {
    /* 以前の全体 zoom を解除。アプリ本体は固定キャンバスを均等縮小する。 */
    zoom: 1;
    --ui-scale: 1;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    position: relative;
    min-width: 0;
    min-height: 0;
}

/* 1536×720 の固定キャンバス。
   JS が viewport に合わせて scale のみ変更するため、
   ボタン・カード・VS・広告枠などの配置関係は常に同じ。 */
.app-container {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 1536px;
    height: 720px;
    margin-left: -768px;
    margin-top: -360px;
    transform: scale(var(--ui-scale));
    transform-origin: center center;
    overflow: hidden;
}

.sidebar,
.main-content {
    height: 720px;
    max-height: 720px;
}

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

.ad-sidebar-right {
    height: 720px;
    min-height: 720px;
    max-height: 720px;
    flex: 0 0 16.5%;
}

/* 固定UIでは中身が横幅によって勝手に伸縮しないようにする */
.main-header,
.battle-arena,
.main-footer,
.sub-footer {
    flex-shrink: 0;
}

/* 以前の root zoom=1.25 を補正していたモーダル側の zoom も解除 */
.modal-overlay,
.map-modal-overlay,
.custom-tooltip,
#policyModal,
.privacy-policy-modal {
    zoom: 1;
}


/* =========================================================
   BrawlForge v5 — fullscreen余白カラー / favicon周辺UI調整
   ========================================================= */
html,
body {
   background:  #1a1a1a;
}

/* 固定キャンバスの外側（アスペクト比の違いで発生する余白）も
   本体と同じベースカラーにする。 */
html {
    background:  #1a1a1a;
}

body {
    background:  #1a1a1a;
}
