/* Player detail and preview */
@scope ([data-public-site]:has([data-site-template~="player"])) {
  .players_thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

  /* players個別ページ：同じ所属の人物一覧 */
  .players_same_team_widget {
    padding: 28px 20px;
}
  .players_people_section {
    margin-top: 32px;
}
  .players_same_team_inline {
    display: none;
}
  .device_wrapper h2.players_people_heading {
    font-size: 18px;
    margin: 0 0 20px;
    padding: 0 0 14px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 2px solid #337ab7;
}
  .players_people_heading::before {
    content: "";
    display: flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: color-mix(in srgb, #337ab7 12%, transparent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23337ab7' stroke-width='1.8'%3E%3Cpath d='M6 4h12v16H6zM9 8h6M9 12h6M9 16h4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
}
  #sidebar .players_same_team_heading::before,
.players_people_heading::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23337ab7' stroke-width='1.8'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3.5 19v-1.5A4.5 4.5 0 0 1 8 13h2a4.5 4.5 0 0 1 4.5 4.5V19'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M15.5 14h1.5a4 4 0 0 1 4 4v1'/%3E%3C/svg%3E");
}
  .players_same_team_group + .players_same_team_group {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #E8E8E8;
}
  .players_same_team_name {
    display: inline-block;
    margin: 4px 0 10px;
    color: #337ab7;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
  .players_same_team_list {
    margin: 0;
    padding: 0;
    list-style: none;
}
  .players_same_team_list li + li {
    margin-top: 12px;
}
  .players_same_team_list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 10px 12px;
    box-sizing: border-box;
    border: 1px solid #E8E8E8;
    border-radius: 10px;
    background: #FAFAFA;
    color: inherit;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
  .players_same_team_list li a:hover {
    border-color: color-mix(in srgb, #337ab7 45%, #E8E8E8);
    background: color-mix(in srgb, #337ab7 5%, #FAFAFA);
    transform: translateY(-1px);
}
  .players_same_team_list li a:hover .players_same_team_player_name {
    color: #337ab7;
}
  .players_same_team_thumb,
.players_same_team_thumb img,
.players_same_team_noimage {
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
}
  .players_same_team_thumb img {
    object-fit: cover;
    border: 2px solid #fff;
    box-sizing: border-box;
}
  .players_same_team_noimage {
    background: #E8E8E8;
}
  .players_same_team_player_name {
    display: block;
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    transition: color .2s ease;
}
  .players_same_team_text {
    display: block;
    flex: 1;
    min-width: 0;
}
  .players_same_team_arrow {
    flex: 0 0 auto;
    color: #777;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
}
  .players_same_team_more {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
    color: #337ab7;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-align: right;
}
  .players_same_team_more:hover {
    text-decoration: underline;
}
  :where(:scope):is([data-site-theme="dark"],.dark-theme:where(:not([data-site-theme]))) .players_same_team_group + .players_same_team_group {
    border-top-color: #3F3F3F;
}
  @media (prefers-color-scheme: dark) {
:where(:scope)[data-site-theme="system"] .players_same_team_group + .players_same_team_group {
    border-top-color: #3F3F3F;
}
}

  :where(:scope):is([data-site-theme="dark"],.dark-theme:where(:not([data-site-theme]))) .players_same_team_list li a {
    border-color: #3F3F3F;
    background: #2E2E2E;
}
  @media (prefers-color-scheme: dark) {
:where(:scope)[data-site-theme="system"] .players_same_team_list li a {
    border-color: #3F3F3F;
    background: #2E2E2E;
}
}

  :where(:scope):is([data-site-theme="dark"],.dark-theme:where(:not([data-site-theme]))) .players_same_team_list li a:hover {
    border-color: #337ab7;
    background: color-mix(in srgb, #337ab7 8%, #2E2E2E);
}
  @media (prefers-color-scheme: dark) {
:where(:scope)[data-site-theme="system"] .players_same_team_list li a:hover {
    border-color: #337ab7;
    background: color-mix(in srgb, #337ab7 8%, #2E2E2E);
}
}

  :where(:scope):is([data-site-theme="dark"],.dark-theme:where(:not([data-site-theme]))) .players_same_team_thumb img {
    border-color: #3F3F3F;
}
  @media (prefers-color-scheme: dark) {
:where(:scope)[data-site-theme="system"] .players_same_team_thumb img {
    border-color: #3F3F3F;
}
}

  :where(:scope):is([data-site-theme="dark"],.dark-theme:where(:not([data-site-theme]))) .players_same_team_noimage {
    background: #3F3F3F;
}
  @media (prefers-color-scheme: dark) {
:where(:scope)[data-site-theme="system"] .players_same_team_noimage {
    background: #3F3F3F;
}
}

  @media (max-width: 768px) {
    .players_same_team_inline {
        display: block;
    }
    :where(:scope):is(div):where(:scope):has([data-site-template~="player"]) #sidebar .players_same_team_widget:not([data-responsive-team]) {
        display: none;
    }
}

  /* ページ内h2見出し（使用デバイス一覧・カテゴリー・口コミ）。統一デザインではなく、
   見出しごとに異なる見た目にして役割の違いを表現している（2026-07-16）。 */
  .device_wrapper h2.players_heading_banner,
.device_wrapper h2.players_heading_category,
.device_wrapper h2.players_heading_comments {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: none;
}

  /* 使用デバイス一覧：帯状のバナー見出し */
  .device_wrapper h2.players_heading_banner {
    padding: 12px 18px;
    background: color-mix(in srgb, #337ab7 12%, transparent);
    border-radius: 10px;
    font-size: 18px;
}
  .players_heading_banner_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: #337ab7;
    color: #fff;
}
  .players_heading_banner_icon svg {
    width: 17px;
    height: 17px;
}

  /* 使用デバイス一覧の上に出す注意書き（後継機・新型への差し替え紹介について。2026-07-22追加） */
  .players_device_notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    padding: 13px 16px;
    background: color-mix(in srgb, #337ab7 8%, transparent);
    border: 1px solid color-mix(in srgb, #337ab7 25%, transparent);
    border-left: 4px solid #337ab7;
    border-radius: 8px;
}
  .players_device_notice_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-top: 1px;
    border-radius: 50%;
    background: #337ab7;
    color: #fff;
}
  .players_device_notice_icon svg {
    width: 12px;
    height: 12px;
}
  .players_device_notice p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

  /* 使用デバイス一覧のタブ切替UI（すべて／カテゴリー別。2026-07-18追加） */
  .players_device_tabs_nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}
  .players_device_tabs_btn {
    padding: 7px 16px;
    border: 1px solid #337ab7;
    border-radius: 999px;
    background: transparent;
    color: #337ab7;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s;
}
  .players_device_tabs_btn:hover {
    background: color-mix(in srgb, #337ab7 12%, transparent);
}
  .players_device_tabs_btn.is-active {
    background: #337ab7;
    color: #fff;
}
  .players_device_tabs_panel {
    display: none;
}
  .players_device_tabs_panel.is-active {
    display: block;
}

  /* カテゴリー見出し（マウス・キーボード等）：カテゴリー別アイコンバッジ＋下線 */
  .device_wrapper h2.players_heading_category {
    padding: 0 0 8px;
    border-bottom: 2px solid #337ab7;
    font-size: 19px;
}
  .players_heading_category_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 8px;
    background: color-mix(in srgb, #337ab7 15%, transparent);
    color: #337ab7;
}
  .players_heading_category_icon svg {
    width: 19px;
    height: 19px;
}

  /* 口コミ：Font Awesomeのシンプルな吹き出し */
  .device_wrapper h2.players_heading_comments {
    padding: 0 0 8px;
    border-bottom: 2px solid #337ab7;
    font-size: 18px;
}
  .players_heading_comments_icon {
    flex: 0 0 auto;
    color: #337ab7;
    width: 24px;
    height: 22px;
    line-height: 1;
}
  .players_profile_card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 25px;
    margin-bottom: 20px;
    background: #FAFAFA;
    border: solid 1px #E8E8E8;
    border-radius: 12px;
    box-sizing: border-box;
}
  .players_profile_top {
    display: flex;
    align-items: center;
    gap: 25px;
}
  .players_profile_photo {
    width: 130px;
    flex: 0 0 130px;
}
  .players_profile_info {
    flex: 1;
    min-width: 0;
}
  .players_profile_team {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #337ab7;
    border: solid 1px #337ab7;
    border-radius: 20px;
}
  .players_profile_name {
    margin-bottom: 6px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}
  .players_profile_type {
    position: relative;
    margin-bottom: 14px;
    padding-left: 16px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
}
  .players_profile_type::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 1px;
    background: #337ab7;
}
  .players_profile_meta {
    display: flex;
    width: 100%;
    border: solid 1px #E8E8E8;
    border-radius: 8px;
    overflow: hidden;
}
  .players_profile_meta_item {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    gap: 8px;
    padding: 10px 16px;
    border-right: solid 1px #E8E8E8;
    color: #337ab7;
    box-sizing: border-box;
}
  .players_profile_meta_item:last-child {
    border-right: none;
}
  .players_profile_meta_item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
  .players_profile_meta_text {
    min-width: 0;
}
  .players_profile_meta_label {
    display: block;
    font-size: 10px;
    color: #999;
}
  .players_profile_meta_value {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    word-break: break-word;
}
  .players_profile_sns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}
  .players_profile_sns_label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
}
  .players_profile_sns_label::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #337ab7;
    border-radius: 50%;
}
  .players_profile_sns_list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}
  .players_profile_sns_list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    transition: opacity .2s;
}
  .players_profile_sns_list a:hover {
    opacity: .75;
}
  .players_profile_sns_list svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}
  .players_profile_sns_x {
    background: #000;
}
  .players_profile_sns_youtube {
    background: #FF0000;
}
  .players_profile_sns_twitch {
    background: #9146FF;
}
  .players_profile_text {
    font-size: 14px;
    line-height: 1.7;
}
  .players_device_list_table th,
.players_device_list_table td {
    min-width: auto;
}
  .players_device_list_thumb img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}
  .players_device_list_shop_btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    transition: opacity .2s;
}
  .players_device_list_shop_btn:hover {
    opacity: .8;
}
  .players_device_list_shop_btn--amazon {
    background: #ff9900;
}
  .players_device_list_shop_btn--rakuten {
    background: #e0393f;
}
  .players_device_list_shop_btn--yahoo {
    background: #2f6fe4;
}
  :where(:scope):is([data-site-theme="dark"],.dark-theme:where(:not([data-site-theme]))) .players_profile_card {
    background: #2E2E2E;
    border-color: #3F3F3F;
}
  @media (prefers-color-scheme: dark) {
:where(:scope)[data-site-theme="system"] .players_profile_card {
    background: #2E2E2E;
    border-color: #3F3F3F;
}
}

  :where(:scope):is([data-site-theme="dark"],.dark-theme:where(:not([data-site-theme]))) .players_profile_meta,
:where(:scope):is([data-site-theme="dark"],.dark-theme:where(:not([data-site-theme]))) .players_profile_meta_item {
    border-color: #3F3F3F;
}
  @media (prefers-color-scheme: dark) {
:where(:scope)[data-site-theme="system"] .players_profile_meta,
:where(:scope)[data-site-theme="system"] .players_profile_meta_item {
    border-color: #3F3F3F;
}
}

  :where(:scope):is([data-site-theme="dark"],.dark-theme:where(:not([data-site-theme]))) .players_profile_type {
    color: #ccc;
}
  @media (prefers-color-scheme: dark) {
:where(:scope)[data-site-theme="system"] .players_profile_type {
    color: #ccc;
}
}

  :where(:scope):is([data-site-theme="dark"],.dark-theme:where(:not([data-site-theme]))) .players_profile_meta_label {
    color: #aaa;
}
  @media (prefers-color-scheme: dark) {
:where(:scope)[data-site-theme="system"] .players_profile_meta_label {
    color: #aaa;
}
}

  :where(:scope):is([data-site-theme="dark"],.dark-theme:where(:not([data-site-theme]))) .players_profile_meta_value {
    color: inherit;
}
  @media (prefers-color-scheme: dark) {
:where(:scope)[data-site-theme="system"] .players_profile_meta_value {
    color: inherit;
}
}

  @media (max-width: 768px) {
    .players_profile_card {
        gap: 15px;
        padding: 18px;
    }
    .players_profile_top {
        gap: 15px;
    }
    .players_profile_photo {
        width: 90px;
        flex: 0 0 90px;
    }
    .players_profile_name {
        font-size: 18px;
    }
    .players_profile_meta {
        flex-direction: column;
    }
    .players_profile_meta_item {
        padding: 8px 12px;
        border-right: none;
        border-bottom: solid 1px #E8E8E8;
    }
    .players_profile_meta_item:last-child {
        border-bottom: none;
    }
    .players_profile_meta_text {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 6px;
    }
    .players_profile_meta_label,
.players_profile_meta_value {
        display: inline;
    }
    .players_profile_sns_list a {
        width: 36px;
        height: 36px;
    }
}

  /* 現在使用中デバイスの紹介カード（プロ・配信者個別ページ専用。依頼者提供モックアップ
   「現在のデバイス.png」のレイアウトを、サイト既存の配色・コンポーネント（.contents_ad2・
   .blog-card等）に合わせて再現したもの。共通コンポーネントのCSS自体は変更せず、
   .players_device_intro配下でのみ上書きすることで他ページの表示に影響しないようにしている） */
  .players_device_intro {
    margin-bottom: 30px;
}

  /* 簡易レビュー：デバイス側の簡易レビュー（review_text）をそのまま表示 */
  .players_device_intro_review {
    margin-bottom: 20px;
}
  .players_device_intro_review p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
}

}
