/**
 * LPスマホイメージ — サービス画面ホームのミラー（dashboard/home-real-stats 準拠）
 */

.phone-demo-home {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.2rem 0.55rem 0.35rem;
}

.phone-demo-home .home-profile-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.45rem;
  padding: 0.1rem 0;
}

.phone-demo-home .home-profile-strip__avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(236, 72, 153, 0.25));
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.2);
}

.phone-demo-home .home-profile-strip__name-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
}

.phone-demo-home .home-profile-strip__name {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-demo-home .home-profile-strip__handle {
  margin: 0.06rem 0 0;
  font-size: 0.48rem;
  color: rgba(255, 255, 255, 0.45);
}

.phone-demo-home .profile-league-badge--home {
  flex-shrink: 0;
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 0.44rem;
  font-weight: 800;
  padding: 0.12rem 0.32rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.phone-demo-home .profile-league-badge--a {
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.12);
}

.phone-demo-home .home-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem;
}

.phone-demo-home .home-stat-card {
  padding: 0.38rem 0.35rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-height: 3.1rem;
}

.phone-demo-home .home-stat-card--diamond {
  border-color: rgba(59, 130, 246, 0.28);
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.14), rgba(255, 255, 255, 0.02));
}

.phone-demo-home .home-stat-card--pk {
  border-color: rgba(168, 85, 247, 0.28);
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.14), rgba(255, 255, 255, 0.02));
}

.phone-demo-home .home-stat-card--streak {
  border-color: rgba(251, 146, 60, 0.28);
  background: linear-gradient(160deg, rgba(234, 88, 12, 0.12), rgba(255, 255, 255, 0.02));
}

.phone-demo-home .home-stat-card--gifter {
  border-color: rgba(52, 211, 153, 0.28);
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.12), rgba(255, 255, 255, 0.02));
}

.phone-demo-home .home-stat-card__label {
  margin: 0;
  font-size: 0.42rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.phone-demo-home .home-stat-card__icon {
  font-size: 0.55rem;
}

.phone-demo-home .home-stat-card__value {
  margin: 0.12rem 0 0;
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: clamp(0.62rem, 2.8vw, 0.78rem);
  font-weight: 700;
  line-height: 1.1;
}

.phone-demo-home .home-stat-card--diamond .home-stat-card__value {
  color: #93c5fd;
}

.phone-demo-home .home-stat-card__value--name {
  font-family: inherit;
  font-size: 0.58rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-demo-home .home-stat-card__sub {
  margin: 0.1rem 0 0;
  font-size: 0.4rem;
  color: rgba(255, 255, 255, 0.42);
}

.phone-demo-home .home-stat-card__sub--up {
  color: #6ee7b7;
}

.phone-demo-home .home-block {
  padding: 0.4rem 0.45rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.phone-demo-home .home-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.phone-demo-home .home-block__title {
  margin: 0;
  font-size: 0.52rem;
  font-weight: 700;
}

.phone-demo-home .home-block__action {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.08rem;
  padding: 0.2rem 0.38rem;
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.14);
  color: #bfdbfe;
  font: inherit;
  font-size: 0.4rem;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.phone-demo-home .home-block__tag {
  font-size: 0.38rem;
  font-weight: 800;
  padding: 0.1rem 0.28rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.22);
  color: #e9d5ff;
}

.phone-demo-home .home-block__meta {
  font-size: 0.4rem;
  color: rgba(255, 255, 255, 0.45);
}

.phone-demo-home .home-pk-scroll {
  display: flex;
  gap: 0.3rem;
  overflow-x: auto;
  padding-bottom: 0.1rem;
  scrollbar-width: none;
}

.phone-demo-home .home-pk-scroll::-webkit-scrollbar {
  display: none;
}

.phone-demo-home .home-pk-card {
  flex: 0 0 52%;
  min-width: 0;
  padding: 0.38rem 0.42rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-demo-home .home-pk-card--win {
  border-color: rgba(74, 222, 128, 0.22);
}

.phone-demo-home .home-pk-card--lose {
  border-color: rgba(248, 113, 113, 0.18);
  opacity: 0.92;
}

.phone-demo-home .home-pk-card__badge {
  display: block;
  font-size: 0.4rem;
  font-weight: 800;
  margin-bottom: 0.12rem;
}

.phone-demo-home .home-pk-card--win .home-pk-card__badge {
  color: #4ade80;
}

.phone-demo-home .home-pk-card--lose .home-pk-card__badge {
  color: #f87171;
}

.phone-demo-home .home-pk-card__score {
  display: block;
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1.25;
}

.phone-demo-home .home-pk-card__score small {
  font-size: 0.65em;
  color: rgba(255, 255, 255, 0.45);
}

.phone-demo-home .home-pk-card__meta {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.38rem;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-demo-home .home-pk-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.28rem;
}

.phone-demo-home .home-pk-summary__cell {
  text-align: center;
  padding: 0.32rem 0.2rem;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.phone-demo-home .home-pk-summary__label {
  margin: 0;
  font-size: 0.38rem;
  color: rgba(255, 255, 255, 0.45);
}

.phone-demo-home .home-pk-summary__value {
  margin: 0.08rem 0 0;
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 0.58rem;
  font-weight: 800;
}

.phone-demo-home .home-pk-summary__cell--win .home-pk-summary__value {
  color: #4ade80;
}

.phone-demo-home .home-pk-summary__cell--lose .home-pk-summary__value {
  color: #f87171;
}

.phone-demo-home .home-pk-summary__cell--streak .home-pk-summary__value {
  color: #fb923c;
}

.phone-demo-home .home-pk-summary__cell--accent .home-pk-summary__value {
  color: #22d3ee;
}

.phone-demo-home .home-gifter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.phone-demo-home .home-gifter-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.32rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-demo-home .home-gifter-row__rank {
  font-size: 0.55rem;
}

.phone-demo-home .home-gifter-row__avatar {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.42rem;
  font-weight: 700;
  background: rgba(124, 58, 237, 0.2);
}

.phone-demo-home .home-gifter-row__name {
  font-size: 0.48rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-demo-home .home-gifter-row__diamonds {
  font-size: 0.44rem;
  font-weight: 700;
  color: #93c5fd;
}

.phone-demo-home .home-ai-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.phone-demo-home .home-ai-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.32rem;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.phone-demo-home .home-ai-item__icon {
  font-size: 0.55rem;
}

.phone-demo-home .home-ai-item__text {
  font-size: 0.44rem;
  font-weight: 600;
}

.phone-demo-home .home-ai-item--up .home-ai-item__text {
  color: #6ee7b7;
}

.phone-demo-home .phone-demo-hour-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.22rem;
  height: 2.2rem;
  padding: 0 0.15rem;
}

.phone-demo-home .home-hour-chart__bar {
  flex: 1;
  min-height: 4px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #22d3ee, rgba(124, 58, 237, 0.5));
}

.phone-demo-home .phone-bar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.15rem;
  padding: 0 0.1rem;
  font-size: 0.36rem;
  color: rgba(255, 255, 255, 0.4);
}
