/* BSTL STYLES START */ /* コンテナとレイアウト */ .bstl-top10, .bstl-tier-table { max-width: 100%; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } /* 注記（小さめ） */ .bstl-note { margin: 8px 0 0 0; font-size: 13px; line-height: 1.5; color: #495057; } .bstl-bsinfox-stats { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 6px; font-size: 12px; line-height: 1.4; color: #4b5563; } .bstl-bsinfox-stats span { display: inline-flex; align-items: center; border: 1px solid #dbeafe; border-radius: 999px; background: #eff6ff; padding: 2px 8px; font-weight: 600; } /* Top10ランキング */ .bstl-top10-list { list-style: none; margin: 0; padding: 0; background: #ffffff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); overflow: hidden; } .bstl-top10-item { display: flex; /* 強制横並び */ align-items: flex-start; /* 上揃えに変更 */ gap: 12px; padding: 12px 14px 12px 8px; /* 左を詰める */ border-bottom: 1px solid #f0f0f0; transition: background-color 0.2s ease; min-height: 80px; /* 最小高さを設定 */ } .bstl-top10-item:last-child { border-bottom: none; } .bstl-top10-item .bstl-rank-num { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: #f8f9fa; border-radius: 50%; font-weight: 600; font-size: 14px; color: #495057; flex-shrink: 0; margin-right: 6px; /* 順位と画像の間隔を少し広げる */ margin-top: 4px; /* 上に少しマージン */ } .bstl-top10-item:nth-child(1) .bstl-rank-num { background: #ffd700; color: #fff; } .bstl-top10-item:nth-child(2) .bstl-rank-num { background: #c0c0c0; color: #fff; } .bstl-top10-item:nth-child(3) .bstl-rank-num { background: #cd7f32; color: #fff; } .bstl-top10-item img { border-radius: 8px; object-fit: contain; flex-shrink: 0; } /* 左ブロック（画像+名前をティア表と同じトーンに） */ .bstl-top10-left { display:flex; flex-direction:column; align-items:center; gap:8px; flex-shrink: 0; /* 縮小しない */ margin-top: 4px; /* 上に少しマージン */ } .bstl-top10-img { width:60px; height:60px; border-radius:4px; object-fit:contain; } .bstl-top10-left .bstl-label { font-size: 10px; font-weight: bold; line-height:1.1; text-align:center; max-width: 60px; word-wrap: break-word; overflow-wrap: break-word; } /* 中央：最強ポイント */ .bstl-top10-point { color:#495057; font-size:14px; flex: 1 1 auto; text-align: left; margin-left: 6px; line-height: 1.4; margin-top: 0; align-self: center; /* アイテムの上下中央に配置 */ } /* 右端の矢印を常に右端に */ .bstl-top10-item { grid-template-columns: auto 1fr auto; } .bstl-top10-item .bstl-diff { font-size: 12px; font-weight: 600; padding: 6px 8px; border-radius: 6px; flex-shrink: 0; margin-left: auto; /* 右端へ */ background: #e2e3e5; color: #383d41; margin-top: 4px; /* 上に少しマージン */ display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 50px; /* 固定幅（デスクトップ） */ min-height: 42px; /* 固定高さ（縦並び用） */ } /* 矢印左の控えめなラベル */ .bstl-top10-item .bstl-diff .bstl-diff-label { font-size: 10px; /* デスクトップ */ font-weight: 600; color: #6c757d; padding: 0; margin: 0 0 2px 0; /* 上配置なので下に余白 */ background: transparent; } /* 矢印バッジの状態 */ .bstl-top10-item .bstl-diff.bstl-diff-up { background: #d4edda; color: #155724; } .bstl-top10-item .bstl-diff.bstl-diff-down { background: #f8d7da; color: #721c24; } .bstl-top10-item .bstl-diff.bstl-diff-same { background: #e2e3e5; color: #383d41; } /* NEW 参入時のスタイル */ .bstl-top10-item .bstl-diff.bstl-diff-new { background: #d1ecf1; color: #0c5460; } /* 続きを見るボタン */ .bstl-load-more-container { text-align: center; margin: 16px 0; display: flex; gap: 12px; justify-content: center; align-items: center; } .bstl-load-more-btn { background: #007bff; color: white; border: none; padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2); } .bstl-load-more-btn:hover { background: #0056b3; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3); } .bstl-load-more-btn:active { transform: translateY(0); box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2); } .bstl-load-more-btn:disabled { background: #6c757d; cursor: not-allowed; transform: none; box-shadow: none; } /* 全て展開ボタン（サブボタン） */ .bstl-expand-all-btn { background: #6c757d; color: white; border: none; padding: 10px 20px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 1px 3px rgba(108, 117, 125, 0.2); } .bstl-expand-all-btn:hover { background: #5a6268; transform: translateY(-1px); box-shadow: 0 2px 6px rgba(108, 117, 125, 0.3); } .bstl-expand-all-btn:active { transform: translateY(0); box-shadow: 0 1px 3px rgba(108, 117, 125, 0.2); } .bstl-expand-all-btn:disabled { background: #adb5bd; cursor: not-allowed; transform: none; box-shadow: none; } /* 非表示のアイテム */ .bstl-hidden { display: none !important; } /* ティア表 */ .bstl-tier-section { margin-bottom: 20px; } .bstl-tier-title { margin: 0 0 0 0; font-size: 16px; font-weight: 700; color: #ffffff; padding: 8px 12px; background: #6c757d; border-radius: 8px 8px 0 0; border: none; } .bstl-tier-section.bstl-tier-sss .bstl-tier-title { background: #dc3545; } .bstl-tier-section.bstl-tier-ss .bstl-tier-title { background: #fd7e14; } .bstl-tier-section.bstl-tier-s .bstl-tier-title { background: #ffc107; color: #212529; } .bstl-tier-section.bstl-tier-a .bstl-tier-title { background: #28a745; } .bstl-tier-section.bstl-tier-b .bstl-tier-title { background: #007bff; } .bstl-tier-section.bstl-tier-c .bstl-tier-title { background: #6f42c1; } .bstl-tier-section.bstl-tier-d .bstl-tier-title { background: #6c757d; } .bstl-grid { list-style: none; margin: 0; padding: 16px; padding-inline-start: 0 !important; /* テーマのUL左インデントを無効化 */ padding-left: 16px !important; /* 左右同じパディング（テーマ上書き対策） */ padding-right: 16px !important; /* 左右同じパディング（テーマ上書き対策） */ display: grid; grid-template-columns: repeat(var(--bstl-grid-cols, 5), 1fr); gap: 8px; justify-content: center; /* グリッド全体を中央寄せ */ justify-items: center; /* 各セル内の要素も中央寄せ */ background: #f8f9fa; border-radius: 0 0 8px 8px; } .bstl-tier-section.bstl-tier-sss .bstl-grid { background: #f8d7da; } .bstl-tier-section.bstl-tier-ss .bstl-grid { background: #fff3cd; } .bstl-tier-section.bstl-tier-s .bstl-grid { background: #fff3cd; } .bstl-tier-section.bstl-tier-a .bstl-grid { background: #d4edda; } .bstl-tier-section.bstl-tier-b .bstl-grid { background: #cce7ff; } .bstl-tier-section.bstl-tier-c .bstl-grid { background: #e2d9f3; } .bstl-tier-section.bstl-tier-d .bstl-grid { background: #e9ecef; } .bstl-tile { background: transparent; border: none; border-radius: 8px; padding: 4px 2px; text-align: center; transition: all 0.2s ease; box-shadow: none; } .bstl-tile img { width: 60px; height: 60px; border-radius: 4px; object-fit: contain; margin-bottom: 2px; /* アイコンと名前の間隔を狭く */ } .bstl-tile .bstl-label { font-size: 11px; /* キャラ名を少し大きく */ font-weight: bold; line-height: 1.1; word-break: break-word; } /* キャラクターリンクのスタイル */ .bstl-character-link { display: block; } /* HPランキング */ .bstl-hp-ranking { max-width: 100%; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } /* ランキングセレクター */ .bstl-ranking-selector { margin-bottom: 20px; text-align: center; } .bstl-ranking-select { padding: 14px 26px; font-size: 16px; font-weight: 600; color: #1a3a52; background: #f0f7ff; border: 2px solid #c5dff5; border-radius: 8px; cursor: pointer; box-shadow: 0 2px 4px rgba(0, 100, 200, 0.1); width: 90%; max-width: 600px; letter-spacing: 0.3px; } .bstl-ranking-select:focus { outline: none; } .bstl-hp-ranking-title { font-size: 24px; font-weight: 700; color: #333; margin: 0 0 20px 0; text-align: center; } .bstl-hp-ranking-list { list-style: none; margin: 0; padding: 0; background: #ffffff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); overflow: hidden; } .bstl-hp-ranking-item { display: flex; /* 強制横並び */ align-items: flex-start; /* 上揃えに変更 */ gap: 12px; padding: 12px 14px 12px 8px; /* 左を詰める */ border-bottom: 1px solid #f0f0f0; transition: background-color 0.2s ease; min-height: 80px; /* 最小高さを設定 */ } .bstl-hp-ranking-item:last-child { border-bottom: none; } .bstl-hp-ranking-item .bstl-rank-num { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: #f8f9fa; border-radius: 50%; font-weight: 600; font-size: 14px; color: #495057; flex-shrink: 0; margin-right: 6px; /* 順位と画像の間隔を少し広げる */ margin-top: 4px; /* 上に少しマージン */ } .bstl-hp-ranking-item:nth-child(1) .bstl-rank-num { background: #ffd700; color: #fff; } .bstl-hp-ranking-item:nth-child(2) .bstl-rank-num { background: #c0c0c0; color: #fff; } .bstl-hp-ranking-item:nth-child(3) .bstl-rank-num { background: #cd7f32; color: #fff; } .bstl-hp-ranking-left { display:flex; flex-direction:column; align-items:center; gap:8px; flex-shrink: 0; /* 縮小しない */ margin-top: 4px; /* 上に少しマージン */ } .bstl-hp-ranking-img { width:70px; height:70px; border-radius:4px; object-fit:contain; } .bstl-hp-ranking-left .bstl-label { font-size: 10px; font-weight: bold; line-height:1.1; text-align:center; max-width: 70px; word-wrap: break-word; overflow-wrap: break-word; } /* 中央：HP値 */ .bstl-hp-value { color:#495057; font-size:14px; flex: 1 1 auto; text-align: right; margin-left: 6px; line-height: 1.4; align-self: center; } .bstl-hp-number { font-size: 18px; font-weight: 700; color: #343a40; line-height: 1.2; } .bstl-speed-number { color: #007bff; } .bstl-damage-number { color: #fd7e14; } .bstl-reload-number { color: #6f42c1; } .bstl-range-number { color: #20c997; } .bstl-dps-number { color: #dc3545; } .bstl-hp-unit { font-size: 11px; font-weight: 600; color: #6c757d; margin-top: 2px; } .bstl-speed-value { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; align-self: center; gap: 4px; margin-top: 0; } .bstl-damage-value { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; align-self: center; gap: 2px; margin-top: 0; } .bstl-damage-main { display: flex; flex-direction: row; align-items: center; gap: 4px; } .bstl-damage-sub { font-size: 10px; color: #999; font-weight: 500; line-height: 1.2; } .bstl-reload-value { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; align-self: center; gap: 4px; margin-top: 0; } .bstl-range-value { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; align-self: center; gap: 4px; margin-top: 0; } .bstl-dps-value { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; align-self: center; gap: 4px; margin-top: 0; } .bstl-hp-ranking-error { background: #f8d7da; color: #721c24; padding: 12px 16px; border-radius: 8px; border: 1px solid #f5c6cb; margin: 16px 0; font-size: 14px; } /* スキン表示 */ .bstl-skins-container { max-width: 100%; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } .bstl-skins-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; } .bstl-skins-controls label { font-size: 13px; color: #495057; white-space: nowrap; } .bstl-skins-controls .bstl-skin-sort { min-width: 180px; max-width: 240px; width: auto; padding: 6px 32px 6px 12px; border-radius: 999px; border: 1px solid #ced4da; background: #ffffff; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05); font-size: 13px; line-height: 1.4; color: #212529; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #adb5bd 50%), linear-gradient(135deg, #adb5bd 50%, transparent 50%); background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; cursor: pointer; transition: box-shadow 0.2s ease, border-color 0.2s ease; } .bstl-skins-controls .bstl-skin-sort:focus-visible { outline: 2px solid rgba(31, 111, 235, 0.3); outline-offset: 2px; } .bstl-skins-controls .bstl-skin-sort:hover { border-color: #adb5bd; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(31, 111, 235, 0.08); } .bstl-skins-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); grid-auto-flow: row; gap: 16px; padding: 0; background: transparent; border-radius: 0; max-width: 100%; width: 100%; box-sizing: border-box; } .bstl-skin-tile { background: #ffffff; border-radius: 8px; padding: 12px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); transition: transform 0.2s ease, box-shadow 0.2s ease; min-width: 0; max-width: 150px; width: 100%; margin: 0 auto; box-sizing: border-box; } .bstl-skin-tile:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } .bstl-skin-tile-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; } .bstl-skin-image { width: 120px; height: 120px; object-fit: contain; border-radius: 8px; background: transparent; } .bstl-skin-image-placeholder { width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; background: transparent; border: 1px dashed #dee2e6; border-radius: 8px; color: #6c757d; font-size: 12px; } .bstl-skin-info { width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; flex: 1 1 auto; gap: 4px; } .bstl-skin-brawler { font-size: 12px; color: #495057; margin-bottom: 4px; } .bstl-skin-name { font-size: 14px; font-weight: 600; color: #212529; margin-bottom: 4px; word-break: break-word; } .bstl-skin-theme { font-size: 12px; color: #6c757d; margin-bottom: 4px; } .bstl-skin-rarity { font-size: 11px; font-weight: 600; margin-bottom: 4px; padding: 2px 6px; border-radius: 4px; display: inline-block; } /* レアリティごとの色分け（data属性ベース） */ .bstl-skin-rarity[data-rarity='common'] { background-color: #95a5a6; color: #ffffff; } .bstl-skin-rarity[data-rarity='rare'] { background-color: #3498db; color: #ffffff; } .bstl-skin-rarity[data-rarity='super rare'], .bstl-skin-rarity[data-rarity='superrare'] { background-color: #2ecc71; color: #ffffff; } .bstl-skin-rarity[data-rarity='epic'] { background-color: #9b59b6; color: #ffffff; } .bstl-skin-rarity[data-rarity='mythic'] { background-color: #e74c3c; color: #ffffff; } .bstl-skin-rarity[data-rarity='legendary'] { background-color: #f39c12; color: #ffffff; } .bstl-skin-rarity[data-rarity='hypercharge'] { background-color: #e74c3c; color: #ffffff; } .bstl-skin-description { font-size: 11px; color: #495057; line-height: 1.4; word-break: break-word; } .bstl-skin-vote { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; } .bstl-skin-vote-button { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; padding: 6px 14px; border-radius: 999px; border: none; background: #1f6feb; color: #ffffff; font-size: 12px; font-weight: 600; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease; text-decoration: none; max-width: 90%; } .bstl-skin-vote-button .bstl-skin-vote-icon { display: inline-flex; align-items: center; justify-content: center; margin-right: 6px; font-size: 14px; } .bstl-skin-vote-button .bstl-skin-vote-text { display: inline-block; line-height: 1.2; } .bstl-skin-vote-button:hover { background: #0f62d6; box-shadow: 0 2px 6px rgba(15, 98, 214, 0.35); transform: translateY(-1px); } .bstl-skin-vote-button:focus-visible { outline: 2px solid rgba(31, 111, 235, 0.45); outline-offset: 2px; } .bstl-skin-vote-button.is-loading { opacity: 0.85; cursor: progress; pointer-events: none; } .bstl-skin-vote-button.is-loading .bstl-skin-vote-text { opacity: 0.9; } .bstl-skin-vote-button.is-disabled, .bstl-skin-vote-button[disabled] { background: #adb5bd; cursor: not-allowed; box-shadow: none; transform: none; } .bstl-skin-vote-button.is-voted { background: #f97316; } .bstl-skin-vote-button.is-voted:hover { background: #ea580c; box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35); transform: translateY(-1px); } .bstl-skin-vote-button.is-voted:focus-visible { outline: 2px solid rgba(249, 115, 22, 0.45); outline-offset: 2px; } .bstl-skin-vote-button.is-cancelled { background: #868e96; cursor: not-allowed; } @media (max-width: 540px) { .bstl-skin-vote-button { width: 100%; max-width: 100%; min-width: 0; padding: 4px 8px; font-size: 10px; } .bstl-skin-vote-button .bstl-skin-vote-text, .bstl-skin-vote-button span { font-size: 10px; } .bstl-skin-vote-button .bstl-skin-vote-icon { margin-right: 4px; font-size: 11px; } } .bstl-skin-vote-count { font-size: 12px; color: #495057; } .bstl-skin-vote-count-number { font-weight: 700; font-size: 14px; margin-right: 2px; } .bstl-skin-vote-note { font-size: 12px; margin: 12px 0 16px; color: #495057; text-align: center; } .bstl-skin-vote-note[data-state='error'] { color: #c92a2a; } .bstl-skin-vote-note[data-state='success'] { color: #087f5b; } .bstl-error { background: #f8d7da; color: #721c24; padding: 12px 16px; border-radius: 8px; border: 1px solid #f5c6cb; margin: 16px 0; font-size: 14px; } /* ============ 自動スキン一覧テーブル (bstl_skin_table) ============ */ .bstl-skin-table-wrapper { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } .bstl-skin-table-toggle { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; } .bstl-skin-table-toggle-btn { padding: 10px 20px; border-radius: 999px; border: 1px solid #ced4da; background: #ffffff; color: #495057; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.15s ease; } .bstl-skin-table-toggle-btn:hover { border-color: #1f6feb; color: #1f6feb; } .bstl-skin-table-toggle-btn.is-active { background: #1f6feb; border-color: #1f6feb; color: #ffffff; } /* スキン一覧フィルタUI */ .bstl-skin-table-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin: 0 0 16px; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 14px; padding: 10px 12px; } .bstl-skin-table-filter { display: flex; flex-direction: column; gap: 6px; min-width: 180px; flex: 1 1 220px; } .bstl-skin-table-filter-label { font-size: 13px; font-weight: 600; color: #495057; } .bstl-skin-table-filter-search { align-self: flex-start; } .bstl-skin-table-filter-search .bstl-skin-table-search-input { min-width: 220px; padding: 8px 10px; border-radius: 6px; border: 1px solid #ced4da; font-size: 13px; box-sizing: border-box; background: #ffffff; } .bstl-skin-table-filter-sort { align-self: flex-start; } .bstl-skin-table-sort-select { min-width: 180px; padding: 8px 32px 8px 10px; border-radius: 6px; border: 1px solid #ced4da; font-size: 13px; box-sizing: border-box; background: #ffffff; cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #adb5bd 50%), linear-gradient(135deg, #adb5bd 50%, transparent 50%); background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; } .bstl-skin-table-sort-select:hover { border-color: #adb5bd; } .bstl-skin-table-sort-select:focus { outline: 2px solid rgba(31, 111, 235, 0.3); outline-offset: 2px; } .bstl-skin-table-filter-rarity-options { display: flex; flex-wrap: wrap; gap: 4px 8px; max-width: 100%; } .bstl-skin-table-filter-rarity-option { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #495057; } .bstl-skin-table-filter-rarity-option input[type='checkbox'] { margin: 0; } @media (max-width: 768px) { .bstl-skin-table-filters { align-items: stretch; gap: 16px; } .bstl-skin-table-filter-search .bstl-skin-table-search-input { min-width: 0; } } .bstl-skin-section { margin-bottom: 32px; } .bstl-skin-section-heading { font-size: 18px; font-weight: 700; margin-bottom: 12px; padding-bottom: 6px; border-bottom: 2px solid #e9ecef; } /* ---- 一覧表モード ---- */ .bstl-skin-flat-table-controls { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; } .bstl-skin-flat-table-search { flex: 1 1 240px; padding: 8px 14px; border-radius: 999px; border: 1px solid #ced4da; font-size: 14px; } .bstl-skin-flat-table-sort { padding: 8px 32px 8px 14px; border-radius: 999px; border: 1px solid #ced4da; background: #ffffff; font-size: 14px; cursor: pointer; } .bstl-skin-flat-table-scroll { /* 横スクロールは最終手段。まずは列数と幅を絞ってスクロール無しで収まるようにする */ overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; border: 1px solid #e9ecef; } .bstl-skin-flat-table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: auto; } .bstl-skin-flat-table thead th { background: #f8f9fa; color: #343a40; padding: 8px 6px; text-align: left; font-weight: 700; border-bottom: 2px solid #e9ecef; white-space: nowrap; position: sticky; top: 0; } .bstl-skin-flat-table tbody td { padding: 6px; border-bottom: 1px solid #f1f3f5; vertical-align: middle; } .bstl-skin-flat-table tbody tr:hover { background: #f8f9fa; } /* ---- キャラ列（画像＋キャラ名を縦積みにして1列にまとめる） ---- */ .bstl-skin-flat-th-char, .bstl-skin-flat-td-char { width: 72px; } .bstl-skin-flat-char { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; } .bstl-skin-flat-char-image-link { display: block; } .bstl-skin-flat-td-char img { width: clamp(44px, 13vw, 64px); height: clamp(44px, 13vw, 64px); max-width: none; object-fit: contain; border-radius: 6px; display: block; flex-shrink: 0; } .bstl-skin-flat-char-name { font-size: 10px; line-height: 1.2; word-break: break-word; } .bstl-skin-flat-noimage { display: inline-flex; align-items: center; justify-content: center; width: clamp(44px, 13vw, 64px); height: clamp(44px, 13vw, 64px); font-size: 9px; color: #adb5bd; border: 1px dashed #dee2e6; border-radius: 6px; flex-shrink: 0; } /* ---- スキン名列（レアリティバッジを名前の上、左寄せで表示） ---- */ .bstl-skin-flat-th-name, .bstl-skin-flat-td-name { width: auto; } .bstl-skin-flat-td-name .bstl-skin-rarity { display: block; width: fit-content; white-space: nowrap; margin-bottom: 3px; } .bstl-skin-flat-skin-name { font-weight: 600; white-space: normal; word-break: break-word; } .bstl-skin-flat-price { display: block; font-size: 11px; color: #868e96; white-space: nowrap; margin-top: 2px; } .bstl-skin-flat-th-vote, .bstl-skin-flat-td-vote { width: 110px; } .bstl-skin-flat-table-empty { text-align: center; padding: 24px; color: #868e96; } @media (max-width: 480px) { .bstl-skin-flat-table { font-size: 11px; } .bstl-skin-flat-table thead th, .bstl-skin-flat-table tbody td { padding: 5px 4px; } .bstl-skin-flat-char-name { font-size: 9px; } .bstl-skin-flat-price { font-size: 10px; } .bstl-skin-flat-th-vote, .bstl-skin-flat-td-vote { width: 88px; } .bstl-skin-flat-table-controls { flex-direction: column; align-items: stretch; } .bstl-skin-flat-table-search, .bstl-skin-flat-table-sort { flex: 1 1 auto; width: 100%; } } /* レアリティ別スキン早見表（キャラ早見表と共通の .bstl-quick-ref-* を流用） */ .bstl-skin-quick-ref { margin: 0 0 20px; } .bstl-skin-quick-ref .bstl-quick-ref-table { --bstl-quick-ref-label-width: 64px; } .bstl-skin-quick-ref .bstl-quick-ref-tile { flex: 0 0 78px; max-width: 78px; } .bstl-skin-quick-ref .bstl-quick-ref-icon { width: 64px; height: 64px; border-radius: 8px; } .bstl-skin-quick-ref .bstl-quick-ref-name { max-width: 78px; font-size: 11px; } .bstl-skin-quick-ref .bstl-quick-ref-row { background: #f1f3f5; } .bstl-skin-quick-ref .bstl-quick-ref-label { background: #495057; } .bstl-quick-ref-tile[data-rarity='default'] .bstl-quick-ref-icon { border-color: #868e96; } .bstl-quick-ref-tile[data-rarity='hypercharge'] .bstl-quick-ref-icon { border-color: #12b886; } @media (min-width: 768px) { .bstl-skin-quick-ref .bstl-quick-ref-table { --bstl-quick-ref-label-width: 72px; } .bstl-skin-quick-ref .bstl-quick-ref-tile { flex: 0 0 92px; max-width: 92px; } .bstl-skin-quick-ref .bstl-quick-ref-icon { width: 76px; height: 76px; border-radius: 10px; } .bstl-skin-quick-ref .bstl-quick-ref-name { max-width: 92px; font-size: 12px; } } /* 人気スキンランキング */ .bstl-skin-ranking { max-width: 960px; margin: 24px auto; padding: 0; position: relative; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } .bstl-skin-ranking-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 16px; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 14px; padding: 12px; } .bstl-skin-ranking-control { display: flex; flex-direction: column; gap: 6px; min-width: 180px; flex: 1 1 220px; width: 100%; } .bstl-skin-ranking-control--brawlers { flex: 1 1 100%; } .bstl-skin-ranking-control--actions { flex: 0 0 auto; align-self: flex-end; } .bstl-skin-ranking-label { font-size: 12px; font-weight: 600; color: #495057; } .bstl-skin-ranking-control select, .bstl-skin-ranking-control input[type='date'], .bstl-skin-ranking-control input[type='search'] { border: 1px solid #ced4da; border-radius: 8px; padding: 8px 10px; font-size: 14px; min-height: 38px; width: 100%; box-sizing: border-box; background: #fff; } .bstl-skin-ranking-brawler-list { max-height: 220px; overflow: auto; border: 1px solid #dee2e6; border-radius: 10px; padding: 8px; background: #fff; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px; } .bstl-skin-ranking-brawler-option { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #343a40; } .bstl-skin-ranking-brawler-option.is-hidden { display: none; } .bstl-skin-ranking-brawler-actions { margin-top: 6px; display: flex; gap: 8px; } .bstl-skin-ranking-brawler-clear, .bstl-skin-ranking-apply { border: none; border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 600; cursor: pointer; transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; } .bstl-skin-ranking-brawler-clear { background: #f1f3f5; color: #495057; } .bstl-skin-ranking-brawler-clear:hover { opacity: 0.85; } .bstl-skin-ranking-apply { background: #0d6efd; color: #fff; box-shadow: 0 2px 6px rgba(13, 110, 253, 0.25); } .bstl-skin-ranking-apply:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(13, 110, 253, 0.35); } .bstl-skin-ranking-status { font-size: 13px; margin-bottom: 8px; color: #495057; min-height: 18px; } .bstl-skin-ranking-status[data-state='error'] { color: #c92a2a; } .bstl-skin-ranking-status[data-state='success'] { color: #2b8a3e; } .bstl-skin-ranking.is-loading { pointer-events: none; } .bstl-skin-ranking.is-loading::before { content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.65); border-radius: 16px; z-index: 1; } .bstl-skin-ranking.is-loading::after { content: '更新中…'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; padding: 10px 16px; background: #fff; border-radius: 999px; font-size: 13px; color: #495057; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); } .bstl-skin-ranking-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; font-size: 13px; color: #495057; margin-bottom: 12px; } .bstl-skin-ranking-meta span { display: inline-flex; align-items: center; gap: 4px; } .bstl-skin-ranking-list { list-style: none; margin: 0; padding: 0; padding-left: 0 !important; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08); background: #fff; } .bstl-skin-ranking-item { display: flex; align-items: center; gap: 18px; padding: 18px 26px; border-bottom: 1px solid #f1f3f5; flex-wrap: nowrap; } .bstl-skin-ranking-item:last-child { border-bottom: none; } .bstl-skin-ranking-item--empty { justify-content: center; font-style: italic; color: #868e96; } .bstl-skin-ranking-rank { min-width: 48px; color: #212529; font-weight: 700; font-size: 16px; text-align: left; display: flex; align-items: center; align-self: center; } .bstl-skin-ranking-thumb { width: 64px; height: 64px; border-radius: 12px; background: #f8f9fa; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; align-self: center; } .bstl-skin-ranking-thumb img { width: 100%; height: 100%; object-fit: contain; } .bstl-skin-ranking-thumb-placeholder { font-size: 11px; color: #adb5bd; text-transform: uppercase; } .bstl-skin-ranking-info { flex: 1 1 55%; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; } .bstl-skin-ranking-name { font-size: 15px; font-weight: 700; color: #212529; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .bstl-skin-ranking-brawler { font-size: 13px; color: #6c757d; margin: 0; } .bstl-skin-ranking-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 13px; color: #495057; flex: 0 0 auto; } .bstl-skin-ranking-votes strong { font-size: 16px; color: #212529; margin-right: 2px; white-space: nowrap; } .bstl-skin-ranking-percent { font-weight: 600; color: #0d6efd; } .bstl-skin-ranking-unique { font-size: 12px; color: #868e96; } .bstl-skin-ranking-empty { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 10px; padding: 16px; text-align: center; font-size: 14px; color: #495057; } @media (max-width: 640px) { .bstl-skin-ranking { margin: 16px auto; } .bstl-skin-ranking-item { gap: 8px; padding: 16px 12px; flex-wrap: nowrap; } .bstl-skin-ranking-info { flex: 1 1 auto; } .bstl-skin-ranking-stats { flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 4px; } .bstl-skin-ranking-thumb { width: 56px; height: 56px; } .bstl-skin-ranking-rank { min-width: 36px; font-size: 14px; } .bstl-skin-ranking-name { font-size: 14px; } .bstl-skin-ranking-brawler { font-size: 12px; } .bstl-skin-ranking-votes strong { font-size: 15px; } .bstl-skin-ranking-meta { flex-direction: column; align-items: flex-start; gap: 4px; } .bstl-skin-ranking-controls { flex-direction: column; gap: 10px; } .bstl-skin-ranking-control, .bstl-skin-ranking-control--actions, .bstl-skin-ranking-control--brawlers { flex: 1 1 100%; width: 100%; min-width: 0; } .bstl-skin-ranking-control input, .bstl-skin-ranking-control select { min-height: 42px; } .bstl-skin-ranking-brawler-list { grid-template-columns: 1fr; max-height: 260px; } } @media (max-width: 820px) { .bstl-skin-ranking-controls { gap: 10px; } .bstl-skin-ranking-control { flex: 1 1 100%; min-width: 0; } .bstl-skin-ranking-control--actions { align-self: stretch; } .bstl-skin-ranking-apply { width: 100%; text-align: center; } } /* ガジェットランキング（スキンランキングに準拠した簡易版） */ .bstl-gadget-ranking { max-width: 960px; margin: 24px auto; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } .bstl-gadget-ranking-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; color: #495057; } .bstl-gadget-ranking-list { list-style: none; margin: 0; padding: 0; padding-left: 0 !important; background: #ffffff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); overflow: hidden; } .bstl-gadget-ranking-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #f1f3f5; } .bstl-gadget-ranking-item:last-child { border-bottom: none; } .bstl-gadget-ranking-rank { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #f8f9fa; font-weight: 600; font-size: 14px; color: #495057; flex-shrink: 0; } .bstl-gadget-ranking-thumb { width: 48px; height: 48px; border-radius: 12px; background: #f1f3f5; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; } .bstl-gadget-ranking-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; } .bstl-gadget-ranking-info { flex: 1 1 auto; min-width: 0; } .bstl-gadget-ranking-name { font-size: 14px; font-weight: 600; color: #212529; margin-bottom: 2px; } .bstl-gadget-ranking-character { font-size: 12px; color: #6c757d; } .bstl-gadget-ranking-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12px; color: #495057; white-space: nowrap; } .bstl-gadget-ranking-votes strong { font-size: 14px; } .bstl-gadget-ranking-percent { color: #0d6efd; font-weight: 600; } .bstl-gadget-ranking-unique { color: #868e96; } /* スターパワーランキング（ガジェットランキングと同一レイアウト） */ .bstl-star-power-ranking { max-width: 960px; margin: 24px auto; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } .bstl-star-power-ranking-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; color: #495057; } .bstl-star-power-ranking-list { list-style: none; margin: 0; padding: 0; padding-left: 0 !important; background: #ffffff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); overflow: hidden; } .bstl-star-power-ranking-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #f1f3f5; } .bstl-star-power-ranking-item:last-child { border-bottom: none; } .bstl-star-power-ranking-rank { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #f8f9fa; font-weight: 600; font-size: 14px; color: #495057; flex-shrink: 0; } .bstl-star-power-ranking-thumb { width: 48px; height: 48px; border-radius: 12px; background: #f1f3f5; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; } .bstl-star-power-ranking-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; } .bstl-star-power-ranking-info { flex: 1 1 auto; min-width: 0; } .bstl-star-power-ranking-name { font-size: 14px; font-weight: 600; color: #212529; margin-bottom: 2px; } .bstl-star-power-ranking-character { font-size: 12px; color: #6c757d; } .bstl-star-power-ranking-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12px; color: #495057; white-space: nowrap; } .bstl-star-power-ranking-votes strong { font-size: 14px; } .bstl-star-power-ranking-percent { color: #0d6efd; font-weight: 600; } .bstl-star-power-ranking-unique { color: #868e96; } /* キャラクター表示（記事埋め込み用カード） */ .bstl-character-display { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #ffffff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); max-width: 100%; margin: 0 auto 24px; } /* ヘッダー行：キャラ画像+名前（縦並び）の横に、レアリティ・タイプのバッジ */ .bstl-character-header { display: flex; align-items: center; gap: 14px; } .bstl-character-image-wrapper { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; } .bstl-character-image-link { display: block; border-radius: 50%; } .bstl-character-image { width: 80px; height: 80px; object-fit: contain; border-radius: 50%; display: block; background: #f1f3f5; border: 3px solid #dee2e6; padding: 4px; box-sizing: border-box; } /* レアリティごとの画像リング色分け */ .bstl-character-display[data-rarity-normalized='common'] .bstl-character-image { border-color: #adb5bd; } .bstl-character-display[data-rarity-normalized='rare'] .bstl-character-image { border-color: #4caf50; } .bstl-character-display[data-rarity-normalized='superrare'] .bstl-character-image { border-color: #2196f3; } .bstl-character-display[data-rarity-normalized='epic'] .bstl-character-image { border-color: #9c27b0; } .bstl-character-display[data-rarity-normalized='mythic'] .bstl-character-image { border-color: #f44336; } .bstl-character-display[data-rarity-normalized='legendary'] .bstl-character-image { border-color: #ffc107; box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.3); } .bstl-character-display[data-rarity-normalized='ultralegendary'] .bstl-character-image { border-color: #ff5722; box-shadow: 0 0 10px rgba(255, 87, 34, 0.5); } .bstl-character-name { font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; } .bstl-character-name a { text-decoration: none; color: var(--color_link, #1176d4); } .bstl-character-content { min-width: 0; display: flex; flex-direction: column; gap: 10px; } .bstl-character-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; flex: 1; } /* バッジ行の右端に配置する、キャラ詳細ページへのコンパクトなリンクボタン */ .bstl-character-detail-link { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; color: #ffffff; background: linear-gradient(135deg, #4dabf7, #3b82f6); padding: 5px 12px; border-radius: 14px; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 3px rgba(59, 130, 246, 0.35); transition: transform 0.12s ease, box-shadow 0.12s ease; } .bstl-character-detail-link:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(59, 130, 246, 0.45); color: #ffffff; } .bstl-character-rarity { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 12px; background: #e9ecef; color: #495057; align-self: flex-start; } /* レアリティごとのバッジ色分け */ .bstl-character-rarity[data-rarity='common'] { background: #e9ecef; color: #495057; } .bstl-character-rarity[data-rarity='rare'] { background: #d4edda; color: #1e7e34; } .bstl-character-rarity[data-rarity='superrare'] { background: #cfe2ff; color: #0a4bab; } .bstl-character-rarity[data-rarity='epic'] { background: #f0d9ff; color: #6f1e9e; } .bstl-character-rarity[data-rarity='mythic'] { background: #ffd7d3; color: #b02a20; } .bstl-character-rarity[data-rarity='legendary'] { background: #fff3cd; color: #916b00; } .bstl-character-rarity[data-rarity='ultralegendary'] { background: #ffe0d1; color: #c8410f; } .bstl-character-class { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 12px; align-self: flex-start; background: #e9ecef; color: #495057; } /* 役割ごとの色分け */ .bstl-character-class[data-class*="damagedealer"], .bstl-character-class[data-class*="damage"] { background: #f8d7da; color: #721c24; } .bstl-character-class[data-class*="tank"] { background: #d1ecf1; color: #0c5460; } .bstl-character-class[data-class*="support"] { background: #d4edda; color: #155724; } .bstl-character-class[data-class*="controller"] { background: #fff3cd; color: #856404; } .bstl-character-class[data-class*="assassin"] { background: #e2e3e5; color: #383d41; } .bstl-character-class[data-class*="marksman"] { background: #d6e4ff; color: #1c3f99; } .bstl-character-class[data-class*="artillery"] { background: #ffe8cc; color: #93500a; } .bstl-character-class[data-class*="fighter"] { background: #f5c6cb; color: #721c24; } .bstl-character-class[data-class*="healer"] { background: #cce5ff; color: #004085; } .bstl-character-class[data-class*="unknown"] { background: #e9ecef; color: #6c757d; } /* ガジェット・スターパワー・ハイパーチャージをセクション分けして横並び表示 */ .bstl-character-skill-sections { display: flex; flex-wrap: wrap; gap: 14px; } .bstl-character-skill-section { flex: 1 1 200px; min-width: 160px; } .bstl-character-skill-section-title { font-size: 11px; font-weight: 700; color: #868e96; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 4px; } .bstl-character-skill-section[data-skill-type='gadget'] .bstl-character-skill-section-title { color: #0c8599; } .bstl-character-skill-section[data-skill-type='starpower'] .bstl-character-skill-section-title { color: #e8590c; } .bstl-character-skill-section[data-skill-type='hypercharge'] .bstl-character-skill-section-title { color: #9c36b5; } .bstl-character-skill-section-items { display: flex; flex-wrap: wrap; gap: 6px; } .bstl-character-skill-item { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-family: inherit; color: #495057; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 14px; padding: 2px 8px 2px 2px; white-space: nowrap; cursor: pointer; transition: background 0.12s ease, border-color 0.12s ease; } .bstl-character-skill-item:hover, .bstl-character-skill-item:focus-visible { background: #e7f0ff; border-color: #a5c8ff; outline: none; } .bstl-character-skill-item img { width: 20px; height: 20px; object-fit: contain; border-radius: 50%; background: #fff; flex-shrink: 0; } .bstl-character-skill-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bstl-character-description { font-size: 14px; line-height: 1.6; color: #666; margin: 0; } .bstl-character-error { padding: 12px; background: #fff3cd; border: 1px solid #ffc107; border-radius: 4px; color: #856404; font-size: 14px; } /* 複数キャラクター表示用グリッド（記事埋め込み用、レスポンシブ） */ .bstl-characters-grid { display: grid; gap: 16px; margin: 0 auto 24px; max-width: 100%; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } @media (min-width: 700px) { .bstl-characters-grid { grid-template-columns: repeat(var(--bstl-columns, 3), 1fr); } } .bstl-characters-grid .bstl-character-display { margin: 0; } /* キャラクター一覧ブロック全体 */ .bstl-character-list { max-width: 100%; margin: 0 auto 24px; } /* 一覧ページはカードグリッドではなく、コンパクトな1列リスト表示にする */ .bstl-characters-list-grid { display: flex; flex-direction: column; gap: 6px; width: 100%; } .bstl-characters-list-grid .bstl-character-display { gap: 8px; padding: 10px 14px; margin: 0; box-shadow: none; border: 1px solid #e9ecef; border-radius: 8px; } .bstl-characters-list-grid .bstl-character-display:hover { background: #f8f9fa; border-color: #dee2e6; } .bstl-characters-list-grid .bstl-character-image-wrapper { width: 76px; } .bstl-characters-list-grid .bstl-character-image { width: 52px; height: 52px; border-width: 2px; padding: 2px; } .bstl-characters-list-grid .bstl-character-name { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 76px; } .bstl-characters-list-grid .bstl-character-description { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .bstl-characters-list-grid .bstl-character-skill-section { min-width: 140px; } /* キャラ一覧フィルタUI */ .bstl-character-list-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin: 0 0 16px; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 14px; padding: 10px 12px; } .bstl-character-list-filter { display: flex; flex-direction: column; gap: 6px; min-width: 180px; flex: 1 1 220px; } .bstl-character-list-filter-label { font-size: 13px; font-weight: 600; color: #495057; } .bstl-character-list-filter-search { align-self: flex-start; } .bstl-character-list-filter-search .bstl-character-list-search-input { min-width: 220px; padding: 8px 10px; border-radius: 6px; border: 1px solid #ced4da; font-size: 13px; box-sizing: border-box; background: #ffffff; } .bstl-character-list-filter-sort { align-self: flex-start; } .bstl-character-list-sort-select { min-width: 180px; padding: 8px 32px 8px 10px; border-radius: 6px; border: 1px solid #ced4da; font-size: 13px; box-sizing: border-box; background: #ffffff; cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #adb5bd 50%), linear-gradient(135deg, #adb5bd 50%, transparent 50%); background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; } .bstl-character-list-sort-select:hover { border-color: #adb5bd; } .bstl-character-list-sort-select:focus { outline: 2px solid rgba(31, 111, 235, 0.3); outline-offset: 2px; } .bstl-character-list-filter-rarity-options { display: flex; flex-wrap: wrap; gap: 4px 8px; max-width: 100%; } .bstl-character-list-filter-rarity-option { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #495057; } .bstl-character-list-filter-rarity-option input[type='checkbox'] { margin: 0; } .bstl-character-list-filter-class-options { display: flex; flex-wrap: wrap; gap: 4px 8px; max-width: 100%; } .bstl-character-list-filter-class-option { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #495057; } .bstl-character-list-filter-class-option input[type='checkbox'] { margin: 0; } @media (max-width: 768px) { .bstl-character-display { padding: 12px; gap: 12px; } .bstl-character-image { width: 70px; height: 70px; } .bstl-character-name { font-size: 13px; } .bstl-character-badges { gap: 4px; } .bstl-character-rarity { font-size: 11px; padding: 3px 8px; } .bstl-character-class { font-size: 11px; padding: 3px 8px; } .bstl-character-description { font-size: 13px; } .bstl-characters-grid { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } /* スマホでは画像を小さくして横幅を圧縮 */ .bstl-characters-list-grid .bstl-character-image { width: 44px; height: 44px; } .bstl-characters-list-grid .bstl-character-image-wrapper { width: 60px; } .bstl-character-skill-section { min-width: 120px; flex: 1 1 120px; } .bstl-character-skill-item { font-size: 11px; } .bstl-character-skill-name { max-width: 90px; } .bstl-character-list-filters { align-items: stretch; gap: 16px; } .bstl-character-list-filter-search .bstl-character-list-search-input { min-width: 0; width: 100%; } .bstl-character-list-sort-select { min-width: 0; width: 100%; } .bstl-character-detail-link { font-size: 11px; padding: 4px 10px; } } /* ガジェット/スターパワー/ハイパーチャージの説明モーダル */ .bstl-skill-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; } .bstl-skill-modal[hidden] { display: none; } .bstl-skill-modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); } .bstl-skill-modal-box { position: relative; background: #ffffff; border-radius: 14px; max-width: 360px; width: 100%; max-height: 80vh; overflow-y: auto; padding: 20px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25); animation: bstl-skill-modal-pop 0.15s ease; } @keyframes bstl-skill-modal-pop { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } } .bstl-skill-modal-close { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; border: none; background: #f1f3f5; color: #495057; font-size: 18px; line-height: 1; cursor: pointer; } .bstl-skill-modal-close:hover { background: #e9ecef; } .bstl-skill-modal-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-right: 24px; } .bstl-skill-modal-image { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; background: #f1f3f5; flex-shrink: 0; } .bstl-skill-modal-type { font-size: 11px; font-weight: 700; color: #868e96; text-transform: uppercase; letter-spacing: 0.03em; } .bstl-skill-modal-name { font-size: 16px; font-weight: 700; color: #212529; } .bstl-skill-modal-description { font-size: 14px; line-height: 1.7; color: #495057; } /* レアリティ別キャラ早見表（1枚のコンパクト表） */ .bstl-character-quick-ref { margin: 0 0 20px; } .bstl-quick-ref-table { --bstl-quick-ref-label-width: 52px; border: 1px solid #dee2e6; border-radius: 6px; overflow: hidden; background: #fff; } .bstl-quick-ref-row { display: flex; align-items: stretch; border-bottom: 1px solid #dee2e6; } .bstl-quick-ref-row:last-child { border-bottom: none; } .bstl-quick-ref-label { box-sizing: border-box; flex: 0 0 var(--bstl-quick-ref-label-width); width: var(--bstl-quick-ref-label-width); min-width: var(--bstl-quick-ref-label-width); max-width: var(--bstl-quick-ref-label-width); display: flex; align-items: center; justify-content: center; padding: 4px 3px; font-size: 10px; font-weight: 700; line-height: 1.25; text-align: center; color: #fff; border-right: 1px solid rgba(0, 0, 0, 0.08); overflow-wrap: anywhere; word-break: normal; white-space: normal; } .bstl-quick-ref-row[data-rarity='common'] .bstl-quick-ref-label { background: #868e96; } .bstl-quick-ref-row[data-rarity='rare'] .bstl-quick-ref-label { background: #2f9e44; } .bstl-quick-ref-row[data-rarity='superrare'] .bstl-quick-ref-label { background: #1971c2; } .bstl-quick-ref-row[data-rarity='epic'] .bstl-quick-ref-label { background: #9c36b5; } .bstl-quick-ref-row[data-rarity='mythic'] .bstl-quick-ref-label { background: #e03131; } .bstl-quick-ref-row[data-rarity='legendary'] .bstl-quick-ref-label { background: #f08c00; color: #212529; } .bstl-quick-ref-row[data-rarity='ultralegendary'] .bstl-quick-ref-label { background: #e8590c; } .bstl-quick-ref-tiles { flex: 1; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2px 1px; padding: 3px 4px; min-width: 0; background: #f8f9fa; } .bstl-quick-ref-tile { flex: 0 0 46px; max-width: 46px; text-align: center; } .bstl-quick-ref-link { display: flex; flex-direction: column; align-items: center; gap: 1px; text-decoration: none; padding: 1px 0; border-radius: 4px; transition: background 0.12s ease; } a.bstl-quick-ref-link .bstl-quick-ref-name { color: var(--color_link, #1176d4); } a.bstl-quick-ref-link:hover { background: rgba(0, 0, 0, 0.05); } a.bstl-quick-ref-link:hover .bstl-quick-ref-name { opacity: 0.85; } .bstl-quick-ref-icon { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; background: #f1f3f5; border: 2px solid #dee2e6; box-sizing: border-box; display: block; } .bstl-quick-ref-icon--placeholder { display: block; } .bstl-quick-ref-tile[data-rarity='common'] .bstl-quick-ref-icon { border-color: #adb5bd; } .bstl-quick-ref-tile[data-rarity='rare'] .bstl-quick-ref-icon { border-color: #4caf50; } .bstl-quick-ref-tile[data-rarity='superrare'] .bstl-quick-ref-icon { border-color: #2196f3; } .bstl-quick-ref-tile[data-rarity='epic'] .bstl-quick-ref-icon { border-color: #9c27b0; } .bstl-quick-ref-tile[data-rarity='mythic'] .bstl-quick-ref-icon { border-color: #f44336; } .bstl-quick-ref-tile[data-rarity='legendary'] .bstl-quick-ref-icon { border-color: #ffc107; } .bstl-quick-ref-tile[data-rarity='ultralegendary'] .bstl-quick-ref-icon { border-color: #ff5722; } .bstl-quick-ref-name { font-size: 9px; font-weight: 600; line-height: 1.15; word-break: break-all; max-width: 46px; } @media (min-width: 768px) { .bstl-quick-ref-table { --bstl-quick-ref-label-width: 58px; } .bstl-quick-ref-label { font-size: 11px; padding: 4px 5px; } .bstl-quick-ref-tiles { gap: 3px 2px; padding: 4px 6px; } .bstl-quick-ref-tile { flex-basis: 52px; max-width: 52px; } .bstl-quick-ref-icon { width: 40px; height: 40px; } .bstl-quick-ref-name { font-size: 10px; max-width: 52px; } } /* BSInfoX キャラクター詳細ページ用ショートコード */ .bstl-brawler-detail { max-width: 100%; margin: 0 0 28px; color: #212529; } .bstl-brawler-detail *, .bstl-brawler-detail *::before, .bstl-brawler-detail *::after { box-sizing: border-box; } .bstl-brawler-detail-hero { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 24px; } .bstl-brawler-detail-hero-img { width: 96px; height: 96px; object-fit: contain; border-radius: 18px; background: #f8f9fa; border: 2px solid #dee2e6; } .bstl-brawler-detail-hero-body { min-width: 0; } .bstl-brawler-detail-kicker { margin-bottom: 4px; font-size: 12px; font-weight: 700; color: #3b82f6; letter-spacing: 0.04em; } .bstl-brawler-detail-hero p { margin: 10px 0 0; line-height: 1.8; } .bstl-brawler-detail-badges, .bstl-brawler-detail-meta, .bstl-brawler-detail-rates, .bstl-brawler-detail-item-meta { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; } .bstl-brawler-detail-badges span, .bstl-brawler-detail-meta span, .bstl-brawler-detail-item-meta span { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 9px; border-radius: 999px; background: #f1f3f5; font-size: 12px; font-weight: 700; color: #495057; } .bstl-brawler-detail-meta { margin-top: 12px; } .bstl-brawler-detail-meta span { background: #eef6ff; color: #24527a; font-weight: 600; } .bstl-brawler-detail-stat-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; } .bstl-brawler-detail-stat-table { width: 100%; min-width: 360px; border-collapse: collapse; font-size: 14px; } .bstl-brawler-detail-stat-table th, .bstl-brawler-detail-stat-table td { padding: 9px 10px; border-bottom: 1px solid #edf2f7; text-align: left; white-space: nowrap; } .bstl-brawler-detail-stat-table thead th { background: #f8f9fa; color: #495057; } .bstl-brawler-detail-item-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; } .bstl-brawler-detail-item-card { display: flex; flex-direction: column; gap: 9px; min-width: 0; padding: 14px; border: 1px solid #edf2f7; border-radius: 8px; background: #fbfcfe; } .bstl-brawler-detail-item-head { display: flex; gap: 10px; align-items: center; min-width: 0; } .bstl-brawler-detail-item-head img { width: 48px; height: 48px; object-fit: contain; flex: 0 0 auto; } .bstl-brawler-detail-item-head h4 { margin: 0; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; } .bstl-brawler-detail-item-desc, .bstl-brawler-detail-item-buddy { margin: 0; line-height: 1.75; font-size: 14px; } .bstl-brawler-detail-item-buddy { padding: 8px 10px; border-radius: 6px; background: #f6f8fb; color: #5f6b7a; font-size: 13px; } .bstl-brawler-detail-rate { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 7px; background: #edf7ed; color: #1f6f3a; font-size: 12px; } .bstl-brawler-detail-rate strong { font-size: 13px; } .bstl-brawler-detail-classmate-list { display: flex; flex-wrap: wrap; gap: 8px; } .bstl-brawler-detail-classmate { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 9px 5px 5px; border: 1px solid #e9ecef; border-radius: 999px; background: #f8f9fa; font-size: 13px; font-weight: 700; } .bstl-brawler-detail-classmate img { width: 32px; height: 32px; object-fit: contain; border-radius: 50%; } .bstl-brawler-detail-classmate.is-current { border-color: #91c5ff; background: #e7f2ff; color: #174f8a; } .bstl-brawler-detail-vote-stack { display: flex; flex-direction: column; gap: 18px; } .bstl-brawler-detail-notice, .bstl-brawler-detail-error { padding: 12px 14px; border-radius: 8px; background: #fff8e1; border: 1px solid #ffe08a; color: #6b4e00; font-weight: 700; } @media (max-width: 600px) { .bstl-brawler-detail-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; } .bstl-brawler-detail-hero h2 { font-size: 24px; } .bstl-brawler-detail-badges, .bstl-brawler-detail-meta, .bstl-brawler-detail-rates { justify-content: center; } .bstl-brawler-detail-item-grid { grid-template-columns: 1fr; } } /* ガジェット一覧 */ .bstl-gadgets-list { max-width: 100%; margin: 0 auto 24px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } .bstl-gadgets-title { font-size: 20px; font-weight: 600; margin: 0 0 16px; color: #212529; padding-bottom: 8px; border-bottom: 2px solid #e9ecef; } .bstl-gadgets-items { list-style: none; margin: 0; padding: 0; background: #ffffff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); overflow: hidden; } .bstl-gadget-item { display: flex; align-items: flex-start; gap: 16px; padding: 16px; border-bottom: 1px solid #f0f0f0; } .bstl-gadget-item:last-child { border-bottom: none; } .bstl-gadget-icon { flex-shrink: 0; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: #f8f9fa; border-radius: 8px; overflow: hidden; } .bstl-gadget-icon img { width: 100%; height: 100%; object-fit: contain; display: block; } .bstl-gadget-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 600; color: #adb5bd; background: #e9ecef; } .bstl-gadget-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; } .bstl-gadget-name { font-size: 16px; font-weight: 600; margin: 0; color: #212529; line-height: 1.4; } .bstl-gadget-description { font-size: 14px; line-height: 1.6; color: #666; margin: 0; } .bstl-gadget-description p { margin: 0 0 8px; } .bstl-gadget-description p:last-child { margin-bottom: 0; } .bstl-gadgets-error, .bstl-gadgets-empty { padding: 12px; background: #fff3cd; border: 1px solid #ffc107; border-radius: 4px; color: #856404; font-size: 14px; margin: 0 auto 24px; max-width: 100%; } .bstl-gadgets-empty { background: #e9ecef; border-color: #adb5bd; color: #495057; } @media (max-width: 768px) { .bstl-gadget-item { padding: 12px; gap: 12px; } .bstl-gadget-icon { width: 56px; height: 56px; } .bstl-gadget-name { font-size: 15px; } .bstl-gadget-description { font-size: 13px; } .bstl-gadgets-title { font-size: 18px; } } /* ガジェット一覧表示（全キャラクター） - カード形式 */ .bstl-gadgets-intro { margin-bottom: 24px; } .bstl-gadgets-list-all { display: grid; grid-template-columns: repeat(var(--bstl-gadgets-columns, 3), 1fr); gap: 20px; margin: 0 auto; margin-bottom: 32px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } .bstl-gadgets-card { background: #ffffff; border-radius: 8px; border: 1px solid #e9ecef; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); overflow: hidden; display: flex; flex-direction: column; } .bstl-gadgets-card-header { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #f8f9fa; border-bottom: 1px solid #e9ecef; } .bstl-gadgets-card-icon-wrapper { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #ffffff; border-radius: 6px; overflow: hidden; } .bstl-gadgets-card-icon { width: 100%; height: 100%; object-fit: contain; padding: 2px; } .bstl-gadgets-card-icon-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; color: #adb5bd; background: #e9ecef; } .bstl-gadgets-card-title { font-size: 16px; font-weight: 600; margin: 0; color: #212529; line-height: 1.4; } .bstl-gadgets-card-body { padding: 12px; display: flex; flex-direction: column; gap: 12px; } .bstl-gadget-card-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px; background: #f8f9fa; border-radius: 6px; } .bstl-gadget-card-icon { flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: #ffffff; border-radius: 6px; overflow: hidden; } .bstl-gadget-card-icon img { width: 100%; height: 100%; object-fit: contain; } .bstl-gadget-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; color: #adb5bd; background: #e9ecef; } .bstl-gadget-card-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; } .bstl-gadget-card-name { font-size: 14px; font-weight: 600; margin: 0; color: #212529; line-height: 1.4; } .bstl-gadget-card-description { font-size: 13px; line-height: 1.5; color: #666; margin: 0; } .bstl-gadget-card-description p { margin: 0 0 6px; } .bstl-gadget-card-description p:last-child { margin-bottom: 0; } .bstl-gadget-vote-info { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #e9ecef; } .bstl-gadget-vote-stats-wrapper { flex: 1; display: flex; flex-direction: column; gap: 6px; } .bstl-gadget-vote-stats { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #666; } .bstl-gadget-vote-bar { width: 100%; height: 4px; background: #e9ecef; border-radius: 2px; overflow: hidden; } .bstl-gadget-vote-bar-fill { height: 100%; background: #007bff; border-radius: 2px; transition: width 0.3s ease; } .bstl-gadget-vote-ranking { font-weight: 600; color: #007bff; background: #e7f3ff; padding: 2px 6px; border-radius: 4px; } .bstl-gadget-vote-count { color: #495057; } .bstl-gadget-vote-percentage { color: #6c757d; } /* ガジェット・スターパワー・ハイパーチャージ一覧フィルタ */ .bstl-gadgets-list-wrapper, .bstl-star-powers-list-wrapper, .bstl-hypercharges-list-wrapper { max-width: 960px; margin: 24px auto; padding-bottom: 32px; } .bstl-gadgets-filters, .bstl-star-powers-filters { margin-bottom: 16px; } .bstl-gadget-vote-button { padding: 6px 12px; font-size: 12px; font-weight: 600; color: #fff; background: #007bff; border: none; border-radius: 4px; cursor: pointer; white-space: nowrap; } .bstl-gadget-vote-button:disabled { opacity: 0.6; cursor: not-allowed; } .bstl-gadget-voted-button { background: #28a745; } .bstl-gadgets-list-error, .bstl-gadgets-list-empty { padding: 16px; background: #fff3cd; border: 1px solid #ffc107; border-radius: 8px; color: #856404; font-size: 14px; margin: 0 auto 24px; max-width: 100%; text-align: center; grid-column: 1 / -1; } .bstl-gadgets-list-empty { background: #e9ecef; border-color: #adb5bd; color: #495057; } @media (max-width: 768px) { .bstl-gadgets-list-all { grid-template-columns: 1fr !important; gap: 16px; } .bstl-gadgets-card-header { padding: 10px 12px; } .bstl-gadgets-card-icon-wrapper { width: 36px; height: 36px; } .bstl-gadgets-card-icon-placeholder { font-size: 16px; } .bstl-gadgets-card-title { font-size: 15px; } .bstl-gadgets-card-body { padding: 10px; gap: 10px; } .bstl-gadget-card-item { padding: 8px; gap: 10px; } .bstl-gadget-card-icon { width: 44px; height: 44px; } .bstl-gadget-vote-info { flex-direction: column; align-items: flex-start; gap: 6px; } .bstl-gadget-vote-stats-wrapper { width: 100%; } .bstl-gadget-vote-stats { flex-wrap: wrap; gap: 6px; } .bstl-gadget-vote-button { width: 100%; padding: 8px; } .bstl-gadget-card-name { font-size: 13px; } .bstl-gadget-card-description { font-size: 12px; } } /* スターパワー一覧表示（全キャラクター） - カード形式 */ .bstl-star-powers-intro { margin-bottom: 24px; } .bstl-hypercharges-intro { margin-bottom: 24px; } .bstl-star-powers-list-all { display: grid; grid-template-columns: repeat(var(--bstl-star-powers-columns, 3), 1fr); gap: 20px; margin: 0 auto; margin-bottom: 32px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } .bstl-star-powers-card { background: #ffffff; border-radius: 8px; border: 1px solid #e9ecef; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); overflow: hidden; display: flex; flex-direction: column; } .bstl-star-powers-card-header { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #f8f9fa; border-bottom: 1px solid #e9ecef; } .bstl-star-powers-card-icon-wrapper { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #ffffff; border-radius: 6px; overflow: hidden; } .bstl-star-powers-card-icon { width: 100%; height: 100%; object-fit: contain; padding: 2px; } .bstl-star-powers-card-icon-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; color: #adb5bd; background: #e9ecef; } .bstl-star-powers-card-title { font-size: 16px; font-weight: 600; margin: 0; color: #212529; line-height: 1.4; } .bstl-star-powers-card-body { padding: 12px; display: flex; flex-direction: column; gap: 12px; } .bstl-star-power-card-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px; background: #f8f9fa; border-radius: 6px; } .bstl-star-power-card-icon { flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: #ffffff; border-radius: 6px; overflow: hidden; } .bstl-star-power-card-icon img { width: 100%; height: 100%; object-fit: contain; } .bstl-star-power-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; color: #adb5bd; background: #e9ecef; } .bstl-star-power-card-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; } .bstl-star-power-card-name { font-size: 14px; font-weight: 600; margin: 0; color: #212529; line-height: 1.4; } .bstl-star-power-card-description { font-size: 13px; line-height: 1.5; color: #666; margin: 0; } .bstl-star-power-card-description p { margin: 0 0 6px; } .bstl-star-power-card-description p:last-child { margin-bottom: 0; } .bstl-star-power-vote-info { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #e9ecef; } .bstl-star-power-vote-stats-wrapper { flex: 1; display: flex; flex-direction: column; gap: 6px; } .bstl-star-power-vote-stats { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #666; } .bstl-star-power-vote-bar { width: 100%; height: 4px; background: #e9ecef; border-radius: 2px; overflow: hidden; } .bstl-star-power-vote-bar-fill { height: 100%; background: #007bff; border-radius: 2px; transition: width 0.3s ease; } .bstl-star-power-vote-ranking { font-weight: 600; color: #007bff; background: #e7f3ff; padding: 2px 6px; border-radius: 4px; } .bstl-star-power-vote-count { color: #495057; } .bstl-star-power-vote-percentage { color: #6c757d; } .bstl-star-power-vote-button { padding: 6px 12px; font-size: 12px; font-weight: 600; color: #fff; background: #007bff; border: none; border-radius: 4px; cursor: pointer; transition: background 0.2s ease; } .bstl-star-power-vote-button:hover { background: #0056b3; } .bstl-star-power-vote-button:disabled, .bstl-star-power-vote-button.is-loading { opacity: 0.6; cursor: not-allowed; } .bstl-star-power-voted-button { background: #28a745; } .bstl-star-power-voted-button:hover { background: #218838; } /* ハイパーチャージ一覧表示（全キャラクター） - カード形式 */ .bstl-hypercharges-list-all { display: grid; grid-template-columns: repeat(var(--bstl-hypercharges-columns, 3), 1fr); gap: 20px; margin: 0 auto; margin-bottom: 32px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } .bstl-hypercharges-card { background: #ffffff; border-radius: 8px; border: 1px solid #e9ecef; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); overflow: hidden; display: flex; flex-direction: column; } .bstl-hypercharges-card-header { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #f8f9fa; border-bottom: 1px solid #e9ecef; } .bstl-hypercharges-card-icon-wrapper { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #ffffff; border-radius: 6px; overflow: hidden; } .bstl-hypercharges-card-icon { width: 100%; height: 100%; object-fit: contain; padding: 2px; } .bstl-hypercharges-card-icon-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; color: #adb5bd; background: #e9ecef; } .bstl-hypercharges-card-title { font-size: 16px; font-weight: 600; margin: 0; color: #212529; line-height: 1.4; } .bstl-hypercharges-card-body { padding: 12px; display: flex; flex-direction: column; gap: 12px; } .bstl-hypercharge-card-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px; background: #f8f9fa; border-radius: 6px; } .bstl-hypercharge-card-icon { flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: #ffffff; border-radius: 6px; overflow: hidden; } .bstl-hypercharge-card-icon img { width: 100%; height: 100%; object-fit: contain; } .bstl-hypercharge-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; color: #adb5bd; background: #e9ecef; } .bstl-hypercharge-card-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; } .bstl-hypercharge-card-name { font-size: 14px; font-weight: 600; margin: 0; color: #212529; line-height: 1.4; } .bstl-hypercharge-card-description { font-size: 13px; line-height: 1.5; color: #666; margin: 0; } .bstl-hypercharge-card-description p { margin: 0 0 6px; } .bstl-hypercharge-card-description p:last-child { margin-bottom: 0; } /* 特殊能力表示 */ .bstl-hypercharge-card-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; } .bstl-hypercharge-card-stat { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 4px; background: #e9ecef; color: #495057; } .bstl-hypercharge-stat-icon { width: 14px; height: 14px; object-fit: contain; } .bstl-hypercharge-stat-speed { background: #d0ebff; color: #1864ab; } .bstl-hypercharge-stat-damage { background: #ffc9c9; color: #c92a2a; } .bstl-hypercharge-stat-shield { background: #d3f9d8; color: #2b8a3e; } .bstl-star-powers-list-error, .bstl-star-powers-list-empty, .bstl-hypercharges-list-error, .bstl-hypercharges-list-empty { padding: 16px; background: #fff3cd; border: 1px solid #ffc107; border-radius: 8px; color: #856404; font-size: 14px; margin: 0 auto 24px; max-width: 100%; text-align: center; grid-column: 1 / -1; } .bstl-star-powers-list-empty, .bstl-hypercharges-list-empty { background: #e9ecef; border-color: #adb5bd; color: #495057; } @media (max-width: 768px) { .bstl-star-powers-list-all, .bstl-hypercharges-list-all { grid-template-columns: 1fr !important; gap: 16px; } .bstl-star-powers-card-header, .bstl-hypercharges-card-header { padding: 10px 12px; } .bstl-star-powers-card-icon-wrapper, .bstl-hypercharges-card-icon-wrapper { width: 36px; height: 36px; } .bstl-star-powers-card-icon-placeholder, .bstl-hypercharges-card-icon-placeholder { font-size: 16px; } .bstl-star-powers-card-title, .bstl-hypercharges-card-title { font-size: 15px; } .bstl-star-powers-card-body, .bstl-hypercharges-card-body { padding: 10px; gap: 10px; } .bstl-star-power-card-item, .bstl-hypercharge-card-item { padding: 8px; gap: 10px; } .bstl-star-power-card-icon, .bstl-hypercharge-card-icon { width: 44px; height: 44px; } .bstl-star-power-card-name, .bstl-hypercharge-card-name { font-size: 13px; } .bstl-star-power-card-description, .bstl-hypercharge-card-description { font-size: 12px; } } /* マップ一覧コンテナ */ .bstl-map-list-container { margin: 1.5rem 0; font-family: var(--bstl-font-base, sans-serif); max-width: 100%; } /* フィルターUI */ .bstl-map-list-filters { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; padding: 1.5rem; background: #fff; border-radius: 8px; border: 1px solid #eee; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); } .bstl-map-list-filter { display: flex; flex-direction: column; gap: 0.5rem; } .bstl-map-list-filter-label { font-weight: bold; font-size: 0.95rem; color: #333; } .bstl-map-list-filter-search input, .bstl-map-list-filter-mode-search input { padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 0.9rem; width: 100%; max-width: 400px; margin-bottom: 0.5rem; } .bstl-map-list-filter-mode-options { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px; border-radius: 6px; max-height: 200px; overflow-y: auto; border: 1px solid #eee; } .bstl-map-list-filter-mode-option { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 0.85rem; color: #555; transition: color 0.2s; background: #fff; padding: 4px 8px; border-radius: 4px; border: 1px solid #ddd; } .bstl-map-list-filter-mode-option:hover { color: #000; border-color: #bbb; } .bstl-map-list-filter-mode-option input[type="checkbox"] { margin: 0; cursor: pointer; } /* セクション（ゲームモードごと） */ .bstl-map-section { margin-bottom: 2rem; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); border: 1px solid #eee; } /* ヘッダー */ .bstl-map-header { display: flex; align-items: center; padding: 0.75rem 1rem; color: #fff; position: relative; /* 背景色が明るい場合の視認性確保のため、極薄い黒のグラデーションを重ねる */ background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)) !important; } .bstl-gamemode-icon { width: 24px; height: 24px; margin-right: 10px; object-fit: contain; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4)) !important; flex-shrink: 0; } .bstl-gamemode-title { margin: 0 !important; padding: 0 !important; font-size: 1.1rem !important; font-weight: bold !important; color: #fff !important; line-height: 1.2 !important; background: none !important; border: none !important; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; /* 追記: 視認性向上のためのテキストシャドウ */ text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important; /* 追記: テーマ（SWELL等）の装飾を徹底的に排除 */ display: block !important; width: auto !important; height: auto !important; min-height: 0 !important; border-radius: 0 !important; } /* 疑似要素（アイコンや下線など）を非表示にする */ .bstl-gamemode-title::before, .bstl-gamemode-title::after { content: none !important; display: none !important; } /* グリッドレイアウト */ .bstl-map-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; padding: 1rem; align-items: start; /* カラムの高さを揃えずに中身に合わせる */ } /* マップカード */ .bstl-map-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); border: 1px solid #eee; display: flex; /* Flexboxで中身を整理 */ flex-direction: column; } /* 画像ラッパー */ .bstl-map-img-wrapper { position: relative; width: 100%; background: #eee; overflow: hidden; display: flex; align-items: center; justify-content: center; } .bstl-map-img-wrapper img { width: 100%; height: auto; display: block; margin: 0; object-fit: contain; } /* バッジ */ .bstl-badge-new, .bstl-badge-disabled { position: absolute; top: 4px; right: 4px; padding: 2px 6px; border-radius: 3px; font-size: 0.65rem; font-weight: bold; color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); z-index: 2; } .bstl-badge-new { background: #ff4757; } .bstl-badge-disabled { background: #747d8c; } /* マップ名 */ .bstl-map-name { padding: 8px 10px; font-size: 0.85rem; font-weight: bold; color: #333; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; } /* エラーメッセージ */ .bstl-error, .bstl-empty { padding: 15px; background: #f8d7da; color: #721c24; border-radius: 6px; text-align: center; margin: 15px 0; font-size: 0.9rem; } .bstl-empty { background: #e2e3e5; color: #383d41; } /* マップ統計セクション */ .bstl-map-stats-section { margin-top: 2rem; padding: 0; } .bstl-section-title { margin-top: 2.5rem !important; margin-bottom: 1.5rem !important; } .bstl-stats-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; } .bstl-stats-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #eee; } .bstl-stats-table th, .bstl-stats-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid #eee; } .bstl-stats-table th { background: #f8f9fa; font-weight: bold; color: #333; position: sticky; top: 0; z-index: 1; text-align: center !important; /* 強制的に中央寄せ */ } .bstl-char-info { display: flex; align-items: center; gap: 12px; } .bstl-char-info img { width: 40px; height: 40px; min-width: 40px; /* 潰れないように追加 */ min-height: 40px; /* 潰れないように追加 */ border-radius: 6px; border: 1px solid #eee; object-fit: cover; flex-shrink: 0; } .bstl-char-info a { display: flex; align-items: center; gap: 12px; /* テーマデフォルトのリンクスタイルを継承するためカスタム設定を削除 */ } .bstl-char-info a:hover { opacity: 0.8; } .bstl-col-rank { width: 80px; text-align: center !important; } .bstl-col-win, .bstl-col-use { width: 90px; text-align: right !important; font-weight: bold; } /* ヘッダーのみ中央寄せを強制 */ .bstl-stats-table th.bstl-col-win, .bstl-stats-table th.bstl-col-use { text-align: center !important; } .bstl-no-stats { text-align: center; color: #666; padding: 2rem; border-radius: 6px; border: 1px solid #eee; } /* レスポンシブ調整 */ @media (max-width: 600px) { .bstl-map-grid { grid-template-columns: repeat(2, 1fr); /* モバイルでは2列固定 */ gap: 8px; padding: 10px; } .bstl-map-section { margin-bottom: 1.5rem; } .bstl-map-header { padding: 8px 10px; } .bstl-gamemode-icon { width: 20px; height: 20px; margin-right: 8px; } .bstl-gamemode-title { font-size: 1rem !important; } .bstl-map-name { font-size: 0.75rem; padding: 6px 8px; } .bstl-map-stats-section { padding: 1rem; } .bstl-stats-table th, .bstl-stats-table td { padding: 8px; font-size: 0.8rem; } .bstl-col-rank { width: 60px; } .bstl-col-win, .bstl-col-use { width: 70px; } .bstl-char-info { flex-direction: column; gap: 5px; text-align: center; justify-content: center; align-items: center; /* アイコンが横に伸びないように中央寄せ */ } .bstl-char-info img { width: 40px; height: 40px; flex-shrink: 0; /* サイズを固定 */ } .bstl-char-info a { flex-direction: column; gap: 5px; align-items: center; /* リンク内も中央寄せ */ } } /* 320px以下の極端に狭い画面用 */ @media (max-width: 320px) { .bstl-stats-table th, .bstl-stats-table td { padding: 8px 4px; /* パディングを最小限に */ font-size: 13px; /* フォントサイズを少し小さく */ } .bstl-col-rank { width: 50px; } .bstl-col-win, .bstl-col-use { width: 60px; } .bstl-char-info { gap: 2px; } .bstl-char-info img { width: 32px; /* 少し小さく */ height: 32px; min-width: 32px; min-height: 32px; } } .bstl-map-vote-section { background: #f8f9fa; border-radius: 12px; padding: 20px; margin-bottom: 30px; border: 1px solid #e9ecef; } .bstl-vote-block { margin-bottom: 25px; } .bstl-vote-block:last-child { margin-bottom: 0; } .bstl-vote-block h4 { margin: 0 0 15px 0; font-size: 1.1rem; color: #495057; border-left: 4px solid #007bff; padding-left: 10px; } .bstl-vote-cells { display: flex; gap: 15px; align-items: center; margin-bottom: 15px; flex-wrap: wrap; } .bstl-vote-cell-plus { width: 60px; height: 60px; background: #fff; border: 2px dashed #dee2e6; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #adb5bd; cursor: pointer; transition: all 0.2s ease; position: relative; overflow: visible; } .bstl-vote-cell-plus:hover { border-color: #007bff; color: #007bff; background: #f1f8ff; } .bstl-vote-cell-plus img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; } .bstl-char-vote-submit, .bstl-comp-vote-submit { background: #28a745; color: #fff; border: none; padding: 10px 20px; border-radius: 6px; cursor: pointer; font-weight: bold; transition: opacity 0.2s; font-size: 0.95rem; white-space: nowrap; } .bstl-char-vote-submit:disabled, .bstl-comp-vote-submit:disabled { background: #adb5bd; cursor: not-allowed; } @media screen and (max-width: 480px) { .bstl-char-vote-submit, .bstl-comp-vote-submit { padding: 8px 12px; font-size: 0.85rem; } } .bstl-clear-btn { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; background: #e74c3c; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1; cursor: pointer; z-index: 10; box-shadow: 0 2px 4px rgba(0,0,0,0.2); font-family: Arial, sans-serif; } .bstl-clear-btn:hover { background: #c0392b; } /* Modal Styles */ .bstl-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); display: flex; align-items: center; justify-content: center; z-index: 9999; } .bstl-modal-content { background: #fff; border-radius: 12px; width: 90%; max-width: 600px; max-height: 80vh; display: flex; flex-direction: column; box-shadow: 0 10px 25px rgba(0,0,0,0.2); animation: bstlFadeIn 0.3s ease; } @keyframes bstlFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .bstl-modal-header { padding: 15px 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; } .bstl-modal-header h3 { margin: 0; font-size: 1.2rem; } .bstl-modal-close { font-size: 24px; cursor: pointer; color: #999; } .bstl-modal-body { padding: 20px; overflow-y: auto; } .bstl-char-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 15px; } .bstl-char-item { cursor: pointer; text-align: center; transition: transform 0.1s; } .bstl-char-item:hover { transform: scale(1.05); } .bstl-char-result-item, .bstl-comp-result-item { transition: background-color 0.2s, transform 0.1s; } /* Hover effect removed as per request */ /* .bstl-char-result-item:hover, .bstl-comp-result-item:hover { background-color: #e9ecef; transform: translateY(-2px); } */ .bstl-char-item img { width: 60px; height: 60px; border-radius: 8px; display: block; margin: 0 auto 5px; } .bstl-char-item .name { font-size: 0.75rem; color: #495057; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Results Styles Redesign (Refined) */ .bstl-vote-results { margin-top: 15px; border-top: 1px solid #eee; padding-top: 15px; margin-bottom: 60px; } .bstl-results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 12px; margin-bottom: 25px; } .bstl-char-result-item { background: #f8f9fa; border-radius: 10px; padding: 10px 5px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; border: 1px solid #e9ecef; box-shadow: 0 2px 5px rgba(0,0,0,0.05); } .bstl-char-link { text-decoration: none !important; color: inherit !important; display: flex; flex-direction: column; align-items: center; width: 100%; } .bstl-char-name { font-size: 0.7rem; color: #007bff; /* SWELL-like link color */ margin-top: 4px; text-decoration: underline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; } .bstl-char-result-item img { width: 48px; height: 48px; border-radius: 8px; margin-bottom: 5px; display: block; } .bstl-result-percent { font-size: 0.8rem; font-weight: bold; color: #2ecc71; line-height: 1.2; } .bstl-result-percent small { display: inline-block; font-size: 0.7rem; color: #7f8c8d; font-weight: normal; margin-left: 5px; } /* Vote Action Label */ .bstl-vote-action-label { display: inline-block; width: fit-content; margin: 8px auto 0; font-size: 0.75rem; color: #fff; background-color: #007bff; padding: 3px 12px; border-radius: 4px; opacity: 0.8; transition: all 0.2s ease; cursor: pointer; } .bstl-vote-action-label:hover { opacity: 1; background-color: #0056b3; } /* Rank Badge */ .bstl-rank-badge { position: absolute; top: -5px; left: -5px; background: #bdc3c7; color: #fff; font-size: 0.65rem; font-weight: bold; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; z-index: 2; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .bstl-rank-badge.top-1 { background: #f1c40f; } /* Gold */ .bstl-rank-badge.top-2 { background: #95a5a6; } /* Silver */ .bstl-rank-badge.top-3 { background: #e67e22; } /* Bronze */ /* Composition Results (Teams) */ .bstl-comp-results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 25px; } .bstl-comp-result-item { background: #f8f9fa; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 8px; border: 1px solid #e9ecef; position: relative; box-shadow: 0 2px 5px rgba(0,0,0,0.05); } .bstl-comp-result-chars { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; } .bstl-comp-char { display: flex; flex-direction: column; align-items: center; width: 60px; } .bstl-comp-result-chars img { width: 40px; height: 40px; border-radius: 8px; border: 1px solid #eee; } .bstl-comp-result-info { text-align: center; padding-top: 5px; border-top: 1px dashed #eee; } .bstl-comp-result-percent { color: #2ecc71; font-weight: bold; font-size: 1rem; } .bstl-comp-result-percent small { display: inline-block; font-size: 0.75rem; color: #7f8c8d; font-weight: normal; } .bstl-comp-result-count { color: #95a5a6; font-size: 0.7rem; } /* Mobile Adjustments */ @media (max-width: 480px) { .bstl-results-grid { grid-template-columns: repeat(auto-fill, minmax(65px, 1fr)); gap: 8px; } .bstl-char-result-item img, .bstl-comp-result-chars img { width: 40px; height: 40px; } .bstl-comp-result-chars img { margin-right: -12px; } .bstl-char-result-item { padding: 5px; } .bstl-result-percent { font-size: 0.7rem; } } /* Cancellation UI Positioned next to Submit */ .bstl-vote-cells { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; margin-bottom: 10px; } .bstl-cancel-vote-wrap { margin: 0; } .bstl-cancel-vote-link { font-size: 0.8rem; color: #e74c3c; text-decoration: underline; cursor: pointer; font-weight: 500; } .bstl-cancel-vote-link:hover { color: #c0392b; } .bstl-show-more-btn { display: block; width: 100%; padding: 8px; margin-top: 10px; background: #f1f3f5; border: 1px solid #dee2e6; border-radius: 6px; color: #495057; font-size: 0.9rem; cursor: pointer; transition: background 0.2s; } .bstl-show-more-btn:hover { background: #e9ecef; } /* Modal Search */ .bstl-modal-search { padding: 10px 20px; border-bottom: 1px solid #eee; } .bstl-modal-search input { width: 100%; padding: 8px 12px; border: 1px solid #ced4da; border-radius: 6px; font-size: 0.9rem; } .bstl-modal-search input:focus { outline: none; border-color: #007bff; box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25); } .bstl-char-item.hidden { display: none; } /* Toast Notification */ .bstl-toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.8); color: #fff; padding: 12px 24px; border-radius: 30px; font-size: 0.9rem; font-weight: bold; z-index: 10000; box-shadow: 0 4px 15px rgba(0,0,0,0.3); pointer-events: none; animation: bstlToastFade 3s ease forwards; } @keyframes bstlToastFade { 0% { opacity: 0; transform: translate(-50%, 20px); } 10% { opacity: 1; transform: translate(-50%, 0); } 90% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -10px); } } .bstl-overall-vote-section { background: #fdfdfd; border-radius: 16px; padding: 25px; margin-top: 40px; margin-bottom: 40px; border: 2px solid #f1f3f5; box-shadow: 0 4px 15px rgba(0,0,0,0.03); } .bstl-overall-vote-section .bstl-section-title, .bstl-overall-vote-section h4 { margin: 0 0 15px 0 !important; padding: 0 0 0 10px !important; font-size: 1.1rem !important; color: #495057 !important; border-left: 4px solid #ffc107 !important; /* Gold for overall strongest */ border-top: none !important; border-right: none !important; border-bottom: none !important; background: none !important; background-image: none !important; box-shadow: none !important; text-shadow: none !important; height: auto !important; min-height: 0 !important; line-height: 1.4 !important; } /* Reset theme pseudo-elements for all headings in this section */ .bstl-overall-vote-section h4::before, .bstl-overall-vote-section h4::after, .bstl-overall-vote-section .bstl-section-title::before, .bstl-overall-vote-section .bstl-section-title::after { display: none !important; content: none !important; } .bstl-vote-cells.overall-votes { flex-direction: column; align-items: flex-start; gap: 20px; } .bstl-vote-cells-row { display: flex; gap: 10px; width: 100%; flex-direction: row !important; /* Force horizontal */ } .bstl-vote-cell-plus { flex-direction: column; height: 90px; width: 80px; padding: 5px; overflow: visible; } @media screen and (max-width: 480px) { .bstl-vote-cell-plus { height: 80px; width: 70px; } .bstl-vote-cell-plus .rank-label { font-size: 9px; } .bstl-vote-cell-plus .plus-icon { font-size: 16px; } } .bstl-vote-cell-plus .rank-label { font-size: 10px; font-weight: bold; color: #fff; background: #adb5bd; padding: 2px 6px; border-radius: 10px; margin-bottom: 5px; } .bstl-vote-cell-plus[data-index='0'] .rank-label { background: #f1c40f; } .bstl-vote-cell-plus[data-index='1'] .rank-label { background: #95a5a6; } .bstl-vote-cell-plus[data-index='2'] .rank-label { background: #e67e22; } .bstl-vote-cell-plus .plus-icon { font-size: 20px; } .bstl-vote-cell-plus.has-char .plus-icon { width: 50px; height: 50px; } .bstl-vote-cell-plus.has-char .plus-icon img { border-radius: 4px; } .bstl-overall-vote-submit { background: #ffc107; color: #333; border: none; padding: 12px 30px; border-radius: 30px; cursor: pointer; font-weight: bold; font-size: 1rem; box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3); transition: all 0.2s; } .bstl-overall-vote-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255, 193, 7, 0.4); } .bstl-overall-vote-submit:disabled { background: #e9ecef; color: #adb5bd; box-shadow: none; cursor: not-allowed; } .bstl-vote-note { font-size: 0.8rem; color: #6c757d; margin-top: 10px; } .bstl-result-points { font-weight: bold; color: #e67e22; font-size: 0.9rem; } .bstl-overall-results .bstl-char-result-item { padding-bottom: 12px; } .bstl-clear-btn { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; background: #e74c3c; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; cursor: pointer; z-index: 10; box-shadow: 0 2px 4px rgba(0,0,0,0.2); font-family: Arial, sans-serif; } .bstl-clear-btn:hover { background: #c0392b; } <style> /* マップ周期表コンテナ */ .bstl-map-rotation-container { margin: 1rem 0; font-family: var(--bstl-font-base, sans-serif); max-width: 100%; container-type: inline-size; container-name: bstl-map-rotation; } .bstl-map-rotation-container h3 { margin: 1.25rem 0 0.6rem; font-size: 1.05rem; } /* 基本は常に2列（コンテンツ幅が狭くても1列に落ちない） */ .bstl-map-rotation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem; } /* 各イベント行（コンパクト横並び） */ .bstl-map-rotation-card { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.65rem; border-radius: 8px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); border: 1px solid #eee; transition: box-shadow 0.15s ease; min-height: 0; } .bstl-map-rotation-card:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); } /* サムネイル（マップ画像 or モードアイコン） */ .bstl-map-rotation-thumb { flex-shrink: 0; width: 68px; height: 68px; border-radius: 6px; overflow: hidden; background: #1a1a1a; display: flex; align-items: center; justify-content: center; } .bstl-map-rotation-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; } .bstl-map-rotation-thumb-icon { width: 70%; height: 70%; object-fit: contain; } .bstl-map-rotation-thumb-placeholder { font-size: 1.1rem; line-height: 1; } /* メイン情報 */ .bstl-map-rotation-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; } .bstl-map-rotation-info-main { display: flex; flex-direction: column; gap: 0.1rem; line-height: 1.3; } .bstl-map-rotation-mode { font-size: 0.72rem; font-weight: 700; color: var(--bstl-mode-color, #607d8b); white-space: nowrap; } .bstl-map-rotation-map-name { font-size: 0.88rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; } /* リンクなし（マップ詳細ページ未作成）のときだけ黒文字 */ .bstl-map-rotation-info-main > .bstl-map-rotation-map-name { color: #222; } .bstl-map-rotation-info-time { display: flex; flex-direction: column; gap: 0.1rem; font-size: 0.72rem; color: #777; line-height: 1.3; } .bstl-map-rotation-period { white-space: nowrap; } .bstl-map-rotation-relative { color: #d32f2f; font-weight: 700; white-space: nowrap; } /* リンク（SWELLテーマの a { color: var(--color_link) } に任せる） */ .bstl-map-rotation-map-link { text-decoration: none; transition: opacity 0.15s ease; } .bstl-map-rotation-map-link:hover { opacity: 0.85; text-decoration: underline; } .bstl-map-rotation-thumb-link { display: flex; flex-shrink: 0; text-decoration: none; color: inherit; } .bstl-map-rotation-thumb-link:hover { opacity: 0.9; } /* エラー・空メッセージ */ .bstl-map-rotation-error, .bstl-map-rotation-empty { padding: 1.5rem; text-align: center; color: #999; font-size: 0.9rem; } /* 広いコンテナのみ3列（PC全幅表示時） */ @container bstl-map-rotation (min-width: 1100px) { .bstl-map-rotation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } } /* タブレット・スマホ: 縦積み2列カード */ @media (max-width: 1024px) { .bstl-map-rotation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem; } .bstl-map-rotation-card { flex-direction: column; align-items: stretch; text-align: center; padding: 0.5rem 0.4rem; gap: 0.35rem; } .bstl-map-rotation-thumb-link { align-self: center; } .bstl-map-rotation-thumb { width: 100%; max-width: 80px; height: auto; aspect-ratio: 1; margin: 0 auto; } .bstl-map-rotation-mode { white-space: normal; line-height: 1.25; } .bstl-map-rotation-map-name { white-space: normal; overflow: visible; text-overflow: unset; line-height: 1.25; } .bstl-map-rotation-period, .bstl-map-rotation-relative { white-space: normal; line-height: 1.25; } } @media (max-width: 600px) { .bstl-map-rotation-container h3 { font-size: 0.95rem; } .bstl-map-rotation-grid { gap: 0.35rem; } .bstl-map-rotation-card { padding: 0.4rem 0.35rem; gap: 0.3rem; } .bstl-map-rotation-thumb { max-width: 64px; } .bstl-map-rotation-info { gap: 0.2rem; } .bstl-map-rotation-mode { font-size: 0.62rem; } .bstl-map-rotation-map-name { font-size: 0.76rem; } .bstl-map-rotation-info-time { font-size: 0.6rem; gap: 0.05rem; } } </style> /* レスポンシブデザイン */ @media (max-width: 1200px) { .bstl-ranking-select { padding: 12px 22px; font-size: 15px; font-weight: 600; width: 90%; } } @media (max-width: 768px) { .bstl-top10-item { gap: 10px; padding: 12px 10px 12px 6px; /* 左を詰める */ font-size: 14px; min-height: 70px; /* SPでも最小高さを確保 */ } .bstl-top10-item .bstl-rank-num { width: 28px; height: 28px; font-size: 13px; margin-right: 4px; margin-top: 2px; } .bstl-top10-item img { width: 50px; /* 60pxから縮小 */ height: 50px; } .bstl-top10-left { margin-top: 2px; } .bstl-top10-img { width:50px; height:50px; } .bstl-top10-left .bstl-label { font-size: 9px; max-width: 50px; } .bstl-top10-point { font-size: 13px; margin-left: 4px; } .bstl-top10-item .bstl-diff { padding: 4px 6px; font-size: 11px; width: 44px; /* SP */ min-height: 38px; } .bstl-top10-item .bstl-diff .bstl-diff-label { font-size: 9px; /* SP */ } .bstl-hp-ranking-item { gap: 10px; padding: 12px 10px 12px 6px; /* 左を詰める */ font-size: 14px; min-height: 70px; /* SPでも最小高さを確保 */ } .bstl-hp-ranking-item .bstl-rank-num { width: 28px; height: 28px; font-size: 13px; margin-right: 4px; margin-top: 2px; } .bstl-hp-ranking-img { width:60px; height:60px; } .bstl-hp-ranking-left { margin-top: 2px; } .bstl-hp-ranking-left .bstl-label { font-size: 9px; max-width: 60px; } .bstl-hp-value { font-size: 13px; margin-left: 4px; } .bstl-hp-number { font-size: 16px; } .bstl-ranking-select { padding: 10px 20px; font-size: 14px; width: 95%; } .bstl-hp-ranking-title { font-size: 20px; margin: 0 0 16px 0; } .bstl-skins-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; } .bstl-skin-tile { padding: 10px; } .bstl-skin-image { width: 100px; height: 100px; } .bstl-skin-image-placeholder { width: 100px; height: 100px; font-size: 10px; } .bstl-skins-controls { justify-content: flex-start; margin-bottom: 10px; } .bstl-skins-controls .bstl-skin-sort { width: 100%; max-width: 100%; min-width: 0; } .bstl-skin-name { font-size: 13px; } } @media (max-width: 480px) { .bstl-grid { gap: 4px; padding: 12px; padding-left: 12px !important; padding-right: 12px !important; } .bstl-tile img { width: 48px; height: 48px; } .bstl-tile .bstl-label { font-size: 10px; } .bstl-hp-ranking-left .bstl-label { font-size: 8px; max-width: 50px; } .bstl-hp-ranking-img { width:50px; height:50px; } .bstl-hp-number { font-size: 15px; } .bstl-skins-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; } .bstl-skin-image { width: 90px; height: 90px; } .bstl-skin-image-placeholder { width: 90px; height: 90px; } } /* BSTL STYLES END */