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

.phone-section-label {
  margin: 0.35rem 0 0.25rem;
  font-size: 0.52rem;
  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: 0.72rem;
  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: 0.58rem;
  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.48rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.15rem;
}

.phone-pk-career__val {
  display: block;
  font-size: 0.62rem;
  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: 0.52rem;
  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.48rem;
  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: 0.58rem;
}

.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: 0.55rem;
  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.48rem;
  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;
}

.phone-tab-page .pk-page__empty,
.phone-tab-page .vs-page__empty {
  font-size: 0.55rem;
  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: 0.55rem;
  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: 0.52rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.25rem;
  letter-spacing: 0.04em;
}

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

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

.phone-vs-hero__tagline {
  font-size: 0.52rem;
  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: 0.68rem;
  color: #fff;
}

.phone-vs-spotlight__card span {
  font-size: 0.55rem;
  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: 0.55rem;
  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: 0.55rem;
}

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

.phone-vs-opponent__stat {
  font-size: 0.5rem;
  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: 0.58rem;
  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: 0.5rem;
  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: 0.82rem;
  font-weight: 800;
  color: #fff;
}

.phone-mypage-hero__league {
  font-size: 0.48rem;
  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.55rem;
  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: 0.52rem;
  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: 0.52rem;
  color: rgba(255, 255, 255, 0.55);
}

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

.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.48rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.15rem;
}

.phone-mypage-career__val {
  display: block;
  font-size: 0.72rem;
  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-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
}

.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.48rem;
  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: 0.5rem;
  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: 0.72rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.phone-mypage-card__id {
  font-size: 0.55rem;
  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: 0.55rem;
}

.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: 0.46rem;
  color: rgba(255, 255, 255, 0.42);
}

.phone-mypage-stat__val {
  display: block;
  font-size: 0.62rem;
  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: 0.58rem;
  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）調整 ── */
#liver-shell .phone-tab-page {
  gap: 0.55rem;
}

#liver-shell .phone-section-label {
  margin: 0.15rem 0 0.1rem;
}

#liver-shell .phone-pk-hero {
  padding: 0.85rem 0.65rem;
}

#liver-shell .phone-pk-hero__val {
  font-size: 2rem;
}

#liver-shell .phone-vs-hero {
  padding: 1rem 0.65rem 0.85rem;
}

#liver-shell .phone-vs-hero__count {
  font-size: 2.8rem;
}

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

#liver-shell .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: 0.58rem;
  cursor: pointer;
}

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

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

#liver-shell .phone-mypage-actions__btn--muted {
  cursor: pointer;
  font-family: inherit;
}
