/* LP phone mock — PK / VS 戦績タブ（サービス画面準拠） */

.phone-section-label {
  margin: 0.35rem 0 0.25rem;
  font-size: 1.04rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
}

.phone-tab-page {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.phone-tab-title {
  font-size: 1.44rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  color: rgba(255, 255, 255, 0.92);
}

/* ── PK ── */
.phone-pk-hero {
  text-align: center;
  padding: 0.65rem 0.5rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.18), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(168, 85, 247, 0.22);
}

.phone-pk-hero__val {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #c084fc, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.phone-pk-hero__label {
  font-size: 1.16rem;
  color: rgba(255, 255, 255, 0.55);
}

.phone-pk-career-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
}

.phone-pk-career {
  padding: 0.4rem 0.35rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.phone-pk-career__label {
  display: block;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.15rem;
}

.phone-pk-career__val {
  display: block;
  font-size: 1.24rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.phone-pk-career--accent .phone-pk-career__val { color: #c084fc; }
.phone-pk-career--win .phone-pk-career__val { color: #4ade80; }
.phone-pk-career--lose .phone-pk-career__val { color: #f87171; }
.phone-pk-career--streak .phone-pk-career__val { color: #fbbf24; }

.phone-trend-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.phone-trend-tab {
  font-size: 1.04rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
}

button.phone-trend-tab {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.phone-trend-tab.is-active {
  background: rgba(168, 85, 247, 0.25);
  color: #e9d5ff;
}

.phone-mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.phone-mini-bars--demo {
  height: 2.5rem;
}

.phone-mini-bars--demo span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #c084fc, rgba(124, 58, 237, 0.2));
}

.phone-mini-bars--trend {
  height: 3.2rem;
}

.phone-bar-labels {
  display: flex;
  justify-content: space-between;
  padding: 0.15rem 0 0.25rem;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.4);
}

.phone-bar-labels span {
  flex: 1;
  text-align: center;
}

.phone-pk-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.phone-pk-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.45rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 1.16rem;
}

.phone-pk-row span:first-child {
  grid-row: 1 / 3;
  align-self: center;
  font-weight: 800;
}

.phone-pk-row span:nth-child(2) {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.88);
}

.phone-pk-row small {
  grid-column: 2;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.42);
}

.phone-pk-row--win {
  border-color: rgba(74, 222, 128, 0.25);
}

.phone-pk-row--win span:first-child {
  color: #4ade80;
}

.phone-pk-row--lose span:first-child {
  color: #f87171;
}

/* 引き分け（DRAW）— 2026-08-26 正確性監査で追加。同点はWINでもLOSEでもない第3の状態 */
.phone-pk-row--draw {
  border-color: rgba(250, 204, 21, 0.25);
}

.phone-pk-row--draw span:first-child {
  color: #facc15;
}

.phone-tab-page .pk-page__empty,
.phone-tab-page .vs-page__empty {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  padding: 0.25rem 0;
}

.phone-vs-recent-rivals .phone-vs-empty {
  list-style: none;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.45);
  padding: 0.25rem 0;
}

/* ── VS ── */
.phone-vs-hero {
  text-align: center;
  padding: 0.85rem 0.5rem 0.75rem;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.12));
  border: 1px solid rgba(96, 165, 250, 0.25);
}

.phone-vs-hero__eyebrow {
  font-size: 1.04rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.25rem;
  letter-spacing: 0.04em;
}

.phone-vs-hero__count {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  margin: 0;
  color: #fff;
  letter-spacing: -0.03em;
}

.phone-vs-hero__count small {
  font-size: 0.96rem;
  font-weight: 700;
  margin-left: 0.15rem;
  color: rgba(255, 255, 255, 0.75);
}

.phone-vs-hero__tagline {
  font-size: 1.04rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0.35rem 0 0;
}

.phone-vs-spotlight__card {
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.phone-vs-spotlight__card strong {
  font-size: 1.36rem;
  color: #fff;
}

.phone-vs-spotlight__card span {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.55);
}

.phone-vs-rank-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.phone-vs-rank {
  padding: 0.45rem;
  border-radius: 12px;
  background: rgba(74, 222, 128, 0.06);
  border: 1px solid rgba(74, 222, 128, 0.15);
}

.phone-vs-rank--weak {
  background: rgba(248, 113, 113, 0.06);
  border-color: rgba(248, 113, 113, 0.15);
}

.phone-vs-rank__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.85);
}

.phone-vs-rank ul,
.phone-vs-opponent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.phone-vs-opponent {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.phone-vs-opponent__rank {
  font-size: 1.1rem;
}

.phone-vs-opponent__name {
  font-size: 1.16rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.phone-vs-opponent__stat {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
}

.phone-vs-block {
  margin-top: 0.15rem;
}

.phone-vs-recent-rivals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.phone-vs-recent-rivals li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.16rem;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.phone-vs-recent-rivals em {
  font-style: normal;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
}

.phone-section-label small {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  margin-left: 0.25rem;
}

/* ── マイページ ── */
.phone-tab-page--mypage {
  gap: 0.5rem;
}

.phone-mypage-hero {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.6rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(168, 85, 247, 0.22);
}

.phone-mypage-hero__avatar {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.phone-mypage-hero__body {
  min-width: 0;
  flex: 1;
}

.phone-mypage-hero__name-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.phone-mypage-hero__name {
  margin: 0;
  font-size: 1.44rem;
  font-weight: 800;
  color: #fff;
}

.phone-mypage-hero__league {
  font-size: 0.96rem;
  font-weight: 700;
  padding: 0.12rem 0.35rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.25);
  color: #e9d5ff;
}

.phone-mypage-hero__league--a {
  background: rgba(251, 191, 36, 0.2);
  color: #fde68a;
}

.phone-mypage-hero__handle {
  margin: 0.12rem 0 0;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.48);
}

.phone-mypage-hero__agency {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0.28rem 0 0;
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
  font-size: 1.04rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-mypage-hero__plan {
  margin: 0.2rem 0 0;
  font-size: 1.04rem;
  color: rgba(255, 255, 255, 0.55);
}

.phone-mypage-block {
  margin-top: 0.1rem;
}

.phone-mypage-block--stream {
  margin-top: 0.18rem;
}

.phone-mypage-stream-spotlight {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.52rem 0.48rem 0.4rem;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.38);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.12), rgba(124, 58, 237, 0.1));
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.06);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}

.phone-mypage-stream-spotlight:active {
  transform: scale(0.995);
}

.phone-mypage-stream-spotlight__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.34rem;
}

.phone-mypage-stream-spotlight__title {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
}

.phone-mypage-stream-spotlight__period {
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(34, 211, 238, 0.9);
}

.phone-stream-summary--mypage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.28rem;
  margin-bottom: 0.18rem;
}

.phone-stream-summary--mypage .phone-stream-summary__cell {
  padding: 0.28rem 0.26rem;
}

.phone-stream-summary--mypage .phone-stream-summary__label {
  font-size: 0.62rem;
  margin-bottom: 0.08rem;
}

.phone-stream-summary--mypage .phone-stream-summary__val {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.15;
}

.phone-mypage-stream-spotlight__hint {
  display: block;
  font-size: 0.54rem;
  color: rgba(34, 211, 238, 0.72);
  text-align: right;
}

.phone-mypage-career {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
}

.phone-mypage-career__cell {
  padding: 0.45rem 0.4rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.phone-mypage-career__label {
  display: block;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.15rem;
}

.phone-mypage-career__val {
  display: block;
  font-size: 1.24rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

.phone-mypage-career__cell--accent .phone-mypage-career__val { color: #c084fc; }
.phone-mypage-career__cell--streak .phone-mypage-career__val { color: #fbbf24; }
.phone-mypage-career__cell--vs .phone-mypage-career__val { color: #60a5fa; }
.phone-mypage-career__cell--cyan .phone-mypage-career__val { color: #22d3ee; }
.phone-mypage-career__cell--pink .phone-mypage-career__val { color: #f472b6; }

.phone-mypage-quick {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.28rem;
}

.phone-mypage-quick__btn--stream {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.08);
}

.phone-mypage-quick__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.4rem 0.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
}

.phone-mypage-quick__btn span:first-child {
  font-size: 0.85rem;
}

.phone-mypage-card {
  padding: 0.65rem 0.6rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-mypage-card__label {
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin: 0 0 0.3rem;
}

.phone-mypage-card__name {
  font-size: 1.44rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.phone-mypage-card__id {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0.2rem 0 0;
}

.phone-mypage-meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.phone-mypage-meta__row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 1.1rem;
}

.phone-mypage-meta__row dt {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
}

.phone-mypage-meta__row dd {
  margin: 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-align: right;
}

.phone-mypage-meta__ok {
  color: #6ee7b7 !important;
}

.phone-mypage-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.phone-mypage-stat {
  padding: 0.4rem 0.35rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.phone-mypage-stat__label {
  display: block;
  font-size: 1.04rem;
  color: rgba(255, 255, 255, 0.42);
}

.phone-mypage-stat__val {
  display: block;
  font-size: 1.24rem;
  font-weight: 700;
  margin-top: 0.12rem;
  color: rgba(255, 255, 255, 0.9);
}

.phone-mypage-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.phone-mypage-actions__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.45rem;
  border-radius: 10px;
  font-size: 1.16rem;
  font-weight: 600;
  border: 1px solid rgba(124, 58, 237, 0.35);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(236, 72, 153, 0.08));
  color: rgba(255, 255, 255, 0.85);
}

.phone-mypage-actions__btn--muted {
  border-color: rgba(248, 113, 113, 0.22);
  background: rgba(248, 113, 113, 0.06);
  color: #fca5a5;
}

/* ── サービス画面（dashboard · mobile-tab-mode）— LPデモ typography 準拠 ── */
#liver-shell.mobile-tab-mode .phone-tab-page {
  gap: 0.55rem;
}

#liver-shell.mobile-tab-mode .phone-section-label {
  margin: 0.35rem 0 0.25rem;
  font-size: 1.04rem;
}

#liver-shell.mobile-tab-mode .phone-pk-hero {
  padding: 0.65rem 0.5rem;
}

#liver-shell.mobile-tab-mode .phone-pk-hero__val {
  font-size: 1.55rem;
}

#liver-shell.mobile-tab-mode .phone-vs-hero {
  padding: 0.65rem 0.5rem 0.75rem;
}

#liver-shell.mobile-tab-mode .phone-vs-hero__count {
  font-size: 1.55rem;
}

#liver-shell.mobile-tab-mode .pk-formats--desktop {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#liver-shell.mobile-tab-mode .pk-recent-expand {
  margin-top: 0.25rem;
  width: 100%;
  padding: 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.16rem;
  cursor: pointer;
}

#liver-shell.mobile-tab-mode .phone-tab-page--mypage {
  gap: 0.5rem;
}

#liver-shell.mobile-tab-mode .phone-mypage-actions__btn {
  text-decoration: none;
}

#liver-shell.mobile-tab-mode .phone-mypage-actions__btn--muted {
  cursor: pointer;
  font-family: inherit;
}
/* ── 期間フィルタ（配信履歴 · 対戦相手別） ── */
.phone-period-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin-bottom: 0.28rem;
}

.phone-period-tab {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.14rem 0.28rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.58rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.phone-period-tab.is-active {
  color: #fff;
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(124, 58, 237, 0.22);
}

.phone-stream-subtitle {
  margin: -0.12rem 0 0.22rem;
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.38);
}

.phone-stream-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.22rem;
  margin-bottom: 0.28rem;
}

.phone-stream-summary--kpi7 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 960px) {
  #liver-shell.mobile-tab-mode .phone-stream-summary--kpi7,
  #lp-phone-demo .phone-stream-summary--kpi7,
  .phone--demo .phone-stream-summary--kpi7 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.phone-stream-summary__cell {
  padding: 0.22rem 0.24rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-stream-summary__cell--wide {
  grid-column: 1 / -1;
}

.phone-stream-summary__label {
  display: block;
  font-size: 0.56rem;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 0.06rem;
}

.phone-stream-summary__val {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.15;
}

.phone-stream-summary__val--accent { color: #c084fc; }
.phone-stream-summary__val--cyan { color: #22d3ee; }
.phone-stream-summary__val--pink { color: #f472b6; }

.phone-stream-table-wrap {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.phone-stream-table-head,
.phone-stream-row {
  display: grid;
  grid-template-columns: 1.6fr 0.55fr 0.45fr 0.65fr 0.55fr 0.35fr 0.55fr 0.45fr;
  gap: 0.12rem;
  align-items: start;
  padding: 0.18rem 0.22rem;
  font-size: 0.56rem;
}

.phone-stream-table-head {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.38);
  font-weight: 600;
}

.phone-stream-row {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.78);
}

.phone-stream-row__datetime {
  min-width: 0;
  line-height: 1.25;
}

.phone-stream-row__datetime span {
  display: block;
  font-size: 0.54rem;
}

.phone-stream-row__datetime small {
  display: block;
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.38);
}

.phone-stream-row__detail {
  margin-top: 0;
  padding: 0.06rem 0;
  border: 0;
  background: none;
  color: rgba(34, 211, 238, 0.85);
  font-size: 0.5rem;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.phone-stream-row__detail--muted {
  color: rgba(255, 255, 255, 0.28);
  cursor: default;
}

.phone-stream-row__dia { color: #22d3ee; font-weight: 600; }
.phone-stream-row__status { color: rgba(255, 255, 255, 0.55); }
.phone-stream-row__status--bad { color: #f87171; }
.phone-stream-row__err { color: rgba(255, 255, 255, 0.35); }
.phone-stream-row__err--bad { color: #f87171; }

.phone-stream-row--collapsed {
  display: none;
}

.pk-recent-list--expanded .phone-stream-row--collapsed {
  display: grid;
}

.stream-recent-expand {
  width: 100%;
  margin-top: 0.18rem;
}

.phone-demo-toast {
  margin: 0.28rem 0 0;
  padding: 0.28rem 0.36rem;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.22);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.58rem;
  line-height: 1.35;
  text-align: center;
}

.phone-stream-custom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.22rem;
  align-items: center;
  margin-bottom: 0.28rem;
  font-size: 0.58rem;
}

.phone-stream-custom input[type='date'],
.phone-stream-custom input[type='search'] {
  flex: 1 1 7rem;
  min-width: 0;
  padding: 0.12rem 0.22rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.58rem;
}

.phone-stream-custom button {
  padding: 0.14rem 0.36rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.4);
  background: rgba(124, 58, 237, 0.2);
  color: #fff;
  font-size: 0.58rem;
  cursor: pointer;
  font-family: inherit;
}

/* ── バトル履歴行（参考: 旧LiverStats） ── */
.phone-battle-history-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.22rem 0.28rem;
  align-items: center;
  padding: 0.22rem 0.24rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.phone-battle-history-row + .phone-battle-history-row {
  margin-top: 0.18rem;
}

.phone-battle-history-row__badge {
  grid-row: 1 / 3;
  align-self: center;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.08rem 0.22rem;
  border-radius: 4px;
}

.phone-battle-history-row--win .phone-battle-history-row__badge {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.phone-battle-history-row--lose .phone-battle-history-row__badge {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.phone-battle-history-row--draw .phone-battle-history-row__badge {
  color: #facc15;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.2);
}

.phone-battle-history-row__format {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
}

.phone-battle-history-row__opp {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-battle-history-row__score {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  text-align: right;
}

.phone-battle-history-row__time {
  grid-column: 3;
  grid-row: 2;
  font-size: 0.54rem;
  color: rgba(255, 255, 255, 0.38);
  text-align: right;
}

/* ── 対戦相手別テーブル ── */
.phone-opponent-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-opponent-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.58rem;
}

.phone-opponent-table th,
.phone-opponent-table td {
  padding: 0.2rem 0.22rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.phone-opponent-table th {
  color: rgba(255, 255, 255, 0.38);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  user-select: none;
}

.phone-opponent-table th[data-sort-dir='asc']::after { content: ' ↑'; }
.phone-opponent-table th[data-sort-dir='desc']::after { content: ' ↓'; }

.phone-opponent-table td:first-child {
  max-width: 6.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-opponent-table .pk-meta-win { color: #4ade80; }
.phone-opponent-table .pk-meta-lose { color: #f87171; }

.phone-battle-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.16rem;
}

.phone-battle-history-head .phone-section-label {
  margin: 0;
}

.phone-battle-history-head__more {
  padding: 0.1rem 0.28rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: transparent;
  color: rgba(34, 211, 238, 0.85);
  font-size: 0.56rem;
  cursor: pointer;
  font-family: inherit;
}
