/* =========================================================
   DartsKing Child — 選手ページ・選手名鑑・登場選手ボックス
   ========================================================= */

/* 1カラム */
.dk-player-page .l-mainContent { width: 100% !important; max-width: 820px !important; margin: 0 auto; }
.dk-player-page #sidebar, .dk-player-page .l-sidebar { display: none; }
.dk-pmain .l-mainContent__inner > *:first-child { margin-top: 0; }

/* 写真 */
.dk-pphoto { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.dk-pphoto.is-empty {
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(140deg, var(--dk-main), #24467a); color: rgba(255,255,255,.85);
	font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 800; font-size: 2.2em; letter-spacing: .04em;
}

/* ---------- ヘッダー ---------- */
.dk-phero {
	margin: 0 calc(var(--dk-gutter) * -1); padding: 18px var(--dk-gutter) 0;
	background: linear-gradient(180deg, var(--dk-main) 0, var(--dk-main) 70%, #13305a 100%); color: #fff;
}
.dk-phero__main { display: flex; gap: 14px; align-items: center; }
.dk-phero__photo {
	flex: 0 0 112px; width: 112px; height: 112px; border-radius: 14px; overflow: hidden;
	box-shadow: 0 0 0 3px rgba(255,255,255,.18); font-size: 15px; background: #13305a;
}
.dk-phero__info { min-width: 0; }
.dk-phero__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.dk-pbadge { padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.14); }
.dk-pbadge.is-tc { background: var(--dk-accent); }
.dk-phero__name {
	margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
	font-size: 23px !important; font-weight: 800; line-height: 1.3; color: #fff !important;
}
.dk-phero__name::before, .dk-phero__name::after { content: none !important; }
.dk-phero__en { margin: 2px 0 0 !important; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.72); }
.dk-phero__sub { display: flex; gap: 10px; margin: 6px 0 0 !important; font-size: 12px; color: rgba(255,255,255,.85); }
.dk-pstats {
	display: grid; grid-template-columns: repeat(4, 1fr); margin: 16px 0 0; padding: 0;
	border-top: 1px solid rgba(255,255,255,.14);
}
.dk-pstats > div { padding: 10px 2px 12px; text-align: center; }
.dk-pstats > div + div { border-left: 1px solid rgba(255,255,255,.14); }
.dk-pstats dt { margin: 0; font-size: 10px; font-weight: 700; color: rgba(255,255,255,.7); }
.dk-pstats dd { margin: 2px 0 0; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 22px; font-weight: 800; line-height: 1.2; }
.dk-pstats dd small { margin-left: 1px; font-size: 11px; font-weight: 700; }

/* ---------- タブ ---------- */
.dk-ptabs {
	position: sticky; top: 40px; z-index: 50;
	margin: 0 calc(var(--dk-gutter) * -1) 16px; background: #fff; box-shadow: 0 1px 0 var(--dk-line);
}
.dk-ptabs ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 !important; padding: 0 !important; list-style: none !important; }
.dk-ptabs li { margin: 0 !important; padding: 0 !important; }
.dk-ptabs li::before { content: none !important; }
.dk-ptabs a {
	position: relative; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 4px 2px;
	font-size: 12px; font-weight: 700; color: var(--dk-ink-2) !important; text-decoration: none !important; text-align: center; line-height: 1.3;
}
.dk-ptabs a.is-current { color: var(--dk-main) !important; }
.dk-ptabs a.is-current::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--dk-accent); }

/* ---------- セクション ---------- */
.dk-psec { margin: 0 0 28px; }
.dk-psec__title {
	margin: 0 0 12px !important; padding: 0 0 8px 12px !important; border: 0 !important; background: none !important;
	border-bottom: 2px solid var(--dk-main) !important; position: relative;
	font-size: 17px !important; font-weight: 800; line-height: 1.4; color: var(--dk-ink) !important;
}
.dk-psec__title::before {
	content: "" !important; position: absolute; left: 0; top: 3px; bottom: 11px; width: 4px; border-radius: 2px; background: var(--dk-accent);
	display: block !important; border: 0 !important;
}
.dk-psec__title::after { content: none !important; }
.dk-pintro p { margin: 0 0 1em !important; font-size: 15px; line-height: 1.85; }
.dk-pnote { margin: 8px 0 0 !important; font-size: 11px; color: var(--dk-ink-2); }

/* ---------- 使用ダーツ ---------- */
.dk-pdarts { padding: 14px; border-radius: var(--dk-radius); background: #f6faf8; box-shadow: inset 0 0 0 1px #d6e9df; }
.dk-pdarts .dk-psec__title { border-bottom-color: var(--dk-sub) !important; }
.dk-pdarts .dk-psec__title::before { background: var(--dk-sub); }
.dk-pdarts__spec { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--dk-line); }
.dk-pdarts__ico { display: flex; align-items: center; justify-content: center; flex: 0 0 48px; height: 48px; border-radius: 50%; background: #e7f3ed; color: var(--dk-sub); }
.dk-pdarts__ico .dk-ico { width: 26px; height: 26px; }
.dk-pdarts__brand { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--dk-sub); }
.dk-pdarts__name { margin: 0 !important; font-size: 15px; font-weight: 800; line-height: 1.45; }
.dk-pdarts__lead { margin: 14px 0 0 !important; font-size: 13px; font-weight: 700; }
.dk-pdarts .dk-items { margin: 12px 0 0; }
.dk-pdarts__buy { margin-top: 8px; }
.dk-pdarts .dk-more-btn { background: #fff; }

/* ---------- タイトル ---------- */
.dk-ptitles { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.dk-ptitles li { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; align-content: center; margin: 0 !important; padding: 10px 0 !important; border-bottom: 1px solid var(--dk-line); }
.dk-ptitles li::before { content: none !important; }
.dk-ptitles__n {
	grid-row: span 2; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
	font-family: "Helvetica Neue", Arial, sans-serif; font-size: 16px; font-weight: 800; color: #fff; background: var(--dk-gold);
}
.dk-ptitles__ev { font-size: 14px; font-weight: 800; line-height: 1.4; }
.dk-ptitles__y { font-size: 12px; line-height: 1.4; color: var(--dk-ink-2); }
.dk-ptitles__y:empty { display: none; }

/* ---------- 優勝・決勝リスト ---------- */
.dk-pfinals { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.dk-pfinals li { margin: 0 !important; padding: 0 !important; }
.dk-pfinals li::before { content: none !important; }
.dk-pfinals .dk-pfinals__year { padding: 14px 0 6px !important; font-size: 13px; font-weight: 800; color: var(--dk-main); border-bottom: 2px solid var(--dk-line); }
.dk-pfinals .dk-pfinals__row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0 !important; border-bottom: 1px solid var(--dk-line); }
.dk-pfinals__res {
	flex: 0 0 52px; padding: 3px 0; border-radius: 4px; text-align: center;
	font-size: 11px; font-weight: 800; color: #fff; background: var(--dk-silver);
}
.dk-pfinals__row.is-win .dk-pfinals__res { background: var(--dk-gold); }
.dk-pfinals__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dk-pfinals__ev { font-size: 14px; font-weight: 700; line-height: 1.45; }
.dk-pfinals__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; color: var(--dk-ink-2); }
.dk-pfinals__sc { font-weight: 700; color: var(--dk-ink); font-variant-numeric: tabular-nums; }
.dk-pcat { padding: 0 6px; border-radius: 3px; font-size: 10px; font-weight: 700; border: 1px solid currentColor; }
.dk-pcat.is-major { color: var(--dk-accent); }
.dk-pcat.is-pt { color: var(--dk-main); }
.dk-pcat.is-ws { color: #6b4fbb; }
.dk-pcat.is-bdo { color: #8a6d1f; }

/* ---------- 年度別成績表 ---------- */
.dk-ptl__group { margin: 12px 0 6px !important; font-size: 12px; font-weight: 700; color: var(--dk-ink-2); }
.dk-ptl { overflow-x: auto; margin: 0 calc(var(--dk-gutter) * -1); padding: 0 var(--dk-gutter); -webkit-overflow-scrolling: touch; }
.dk-ptl table { border-collapse: separate; border-spacing: 0; margin: 0 !important; font-size: 12px; min-width: 100%; }
.dk-ptl th, .dk-ptl td { padding: 8px 6px !important; border: 0 !important; border-bottom: 1px solid var(--dk-line) !important; white-space: nowrap; text-align: center; background: #fff; }
.dk-ptl thead th { font-size: 11px; color: var(--dk-ink-2); background: var(--dk-bg) !important; }
.dk-ptl tbody th { position: sticky; left: 0; z-index: 1; min-width: 132px; max-width: 150px; white-space: normal; text-align: left; font-weight: 700; box-shadow: 1px 0 0 var(--dk-line); }
.dk-ptl thead th:first-child { position: sticky; left: 0; z-index: 2; text-align: left; }
.dk-ptl td.is-w { font-weight: 800; color: #fff; background: var(--dk-gold); }
.dk-ptl td.is-f { font-weight: 800; color: #fff; background: var(--dk-silver); }
.dk-ptl td.is-sf { font-weight: 700; color: var(--dk-ink); background: #f1ede0; }

/* ---------- プロフィール表 ---------- */
.dk-ptable { width: 100%; margin: 0 !important; border-collapse: collapse; font-size: 14px; }
.dk-ptable th, .dk-ptable td { padding: 10px 8px !important; border: 0 !important; border-bottom: 1px solid var(--dk-line) !important; text-align: left; vertical-align: top; }
.dk-ptable th { width: 32%; font-size: 12px; font-weight: 700; color: var(--dk-ink-2); background: var(--dk-bg) !important; }

/* ---------- 選手カード ---------- */
.dk-pcards { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.dk-pcards li { margin: 0 !important; padding: 0 !important; }
.dk-pcards li::before { content: none !important; }
.dk-pcards.is-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.dk-pcards.is-scroll {
	display: flex; gap: 12px; margin: 0 calc(var(--dk-gutter) * -1) !important; padding: 0 var(--dk-gutter) 4px !important;
	overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
}
.dk-pcards.is-scroll::-webkit-scrollbar { display: none; }
.dk-pcards.is-scroll .dk-pcard { flex: 0 0 96px; scroll-snap-align: start; }
.dk-pcard[hidden] { display: none; }
.dk-pcard a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--dk-ink) !important; text-decoration: none !important; }
.dk-pcard__photo { position: relative; display: block; width: 84px; height: 84px; border-radius: 50%; overflow: visible; font-size: 11px; }
.dk-pcard__photo .dk-pphoto { border-radius: 50%; box-shadow: 0 0 0 1px var(--dk-line); }
.dk-pcard__rank {
	position: absolute; right: -2px; bottom: -2px; min-width: 26px; height: 26px; padding: 0 5px; border-radius: 13px;
	display: flex; align-items: center; justify-content: center;
	font-family: "Helvetica Neue", Arial, sans-serif; font-size: 12px; font-weight: 800; color: #fff; background: var(--dk-main); box-shadow: 0 0 0 2px #fff;
}
.dk-pcard__name { font-size: 12px; font-weight: 800; line-height: 1.35; }
.dk-pcard__meta { font-size: 10px; color: var(--dk-ink-2); line-height: 1.3; }

/* ---------- 選手名鑑 ---------- */
.dk-plist__head { margin: 16px 0 20px; }
.dk-plist__title {
	margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
	font-size: 24px !important; font-weight: 800; color: var(--dk-ink) !important;
}
.dk-plist__title::before, .dk-plist__title::after { content: none !important; }
.dk-plist__lead { margin: 6px 0 14px !important; font-size: 13px; color: var(--dk-ink-2); }
.dk-plist__search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 10px; background: var(--dk-bg); color: var(--dk-ink-2); }
.dk-plist__search input { flex: 1; min-width: 0; height: 44px; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 16px; outline: none; }
.dk-plist__chips { display: flex; gap: 6px; margin: 12px calc(var(--dk-gutter) * -1) 0; padding: 0 var(--dk-gutter); overflow-x: auto; scrollbar-width: none; }
.dk-plist__chips::-webkit-scrollbar { display: none; }
.dk-chip {
	flex: none; min-height: 36px; padding: 6px 14px; border: 0; border-radius: 99px; cursor: pointer;
	font: inherit; font-size: 13px; font-weight: 700; color: var(--dk-ink-2); background: var(--dk-bg);
}
.dk-chip.is-on { color: #fff; background: var(--dk-main); }

/* ---------- 出典 ---------- */
.dk-psource { margin: 24px 0 8px !important; font-size: 11px; line-height: 1.6; color: var(--dk-ink-2); }
.dk-psource a { color: inherit !important; }

/* ---------- ニュース記事内：自動リンク・登場選手 ---------- */
.dk-plink { font-weight: 700; color: var(--dk-main) !important; text-decoration: underline; text-decoration-color: rgba(11,31,58,.3); text-underline-offset: 3px; }
.dk-appear { margin: 2.5em 0 1.5em; padding: 14px; border-radius: var(--dk-radius); background: var(--dk-bg); }
.dk-appear__title { margin: 0 0 10px !important; font-size: 15px; font-weight: 800; }
.dk-appear__list { display: grid; gap: 10px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.dk-appear__item { margin: 0 !important; padding: 12px !important; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--dk-line); }
.dk-appear__item::before { content: none !important; }
.dk-appear__head { display: flex; align-items: center; gap: 12px; color: var(--dk-ink) !important; text-decoration: none !important; }
.dk-appear__head .dk-pphoto { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; font-size: 15px; }
.dk-appear__head > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dk-appear__name { font-size: 15px; font-weight: 800; }
.dk-appear__darts { font-size: 12px; color: var(--dk-ink-2); }
.dk-appear__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.dk-appear__btns .dk-btn { min-height: 40px; font-size: 13px; }

/* ---------- タブレット・PC ---------- */
@media (min-width: 600px) {
	.dk-pcards.is-grid { grid-template-columns: repeat(5, 1fr); }
	.dk-phero__photo { flex-basis: 140px; width: 140px; height: 140px; }
	.dk-phero__name { font-size: 28px !important; }
	.dk-appear__list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
	.dk-phero { margin: 16px 0 0; padding: 24px 24px 0; border-radius: 14px 14px 0 0; }
	.dk-ptabs { margin: 0 0 20px; top: 46px; }
	.dk-pcards.is-grid { grid-template-columns: repeat(6, 1fr); }
	.dk-ptl { margin: 0; padding: 0; }
	.dk-plist__chips { margin: 12px 0 0; padding: 0; }
}

/* ---------- 大会紹介ページ ---------- */
.dk-shero { margin: 12px 0 18px; }
.dk-shero__img { margin: 0 calc(var(--dk-gutter) * -1) 12px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dk-main); }
.dk-shero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dk-shero__label { margin: 0 0 6px !important; }
.dk-shero__title {
	margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
	font-size: 24px !important; font-weight: 800; line-height: 1.35; color: var(--dk-ink) !important;
}
.dk-shero__title::before, .dk-shero__title::after { content: none !important; }
.dk-shero__title span { display: block; margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--dk-ink-2); }
.dk-sfinals { overflow-x: auto; }
.dk-sfinals table { width: 100%; margin: 0 !important; border-collapse: collapse; font-size: 13px; }
.dk-sfinals th { padding: 8px 6px !important; border: 0 !important; font-size: 11px; color: var(--dk-ink-2); background: var(--dk-bg) !important; text-align: left; white-space: nowrap; }
.dk-sfinals td { padding: 9px 6px !important; border: 0 !important; border-bottom: 1px solid var(--dk-line) !important; vertical-align: top; }
.dk-sfinals td a { color: var(--dk-ink) !important; text-decoration: none !important; }
.dk-sfinals td.dk-oom__name > a:first-child { font-weight: 800; }
.dk-sfinals__y { width: 64px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dk-sfinals__sc { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--dk-ink-2); }
.dk-tres { margin-bottom: 1.5em !important; }
@media (min-width: 960px) { .dk-shero__img { margin: 0 0 14px; border-radius: 12px; } }
