// Copyright 2026 The Lynx Authors. All rights reserved.
// Licensed under the Apache License Version 2.0 that can be found in the
// LICENSE file in the root directory of this source tree.

page {
  height: 100%;
  background-color: #f1f3f8;
}

.app {
  min-height: 100%;
  padding: 44rpx 28rpx 36rpx;
  background-color: #f1f3f8;
}

.intro {
  display: flex;
  flex-direction: column;
  margin: 0 12rpx 30rpx;
}

.eyebrow {
  color: #66728d;
  font-size: 20rpx;
  font-weight: 700;
  letter-spacing: 3rpx;
}

.title {
  margin-top: 10rpx;
  color: #161d31;
  font-size: 48rpx;
  font-weight: 700;
  line-height: 1.15;
}

.description {
  margin-top: 14rpx;
  color: #68738b;
  font-size: 25rpx;
  line-height: 1.45;
}

.demo-card {
  padding: 26rpx 0 24rpx;
  overflow: hidden;
  border: 2rpx solid #28314b;
  border-radius: 30rpx;
  background-color: #151b2d;
  box-shadow: 0 20rpx 54rpx rgba(28, 37, 62, 0.22);
}

.demo-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28rpx 24rpx;
}

.demo-card-title {
  color: #dce5ff;
  font-size: 19rpx;
  font-weight: 700;
  letter-spacing: 2rpx;
}

.demo-card-status {
  margin-top: 7rpx;
  color: #8f9bb7;
  font-size: 21rpx;
}

.status-pill {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10rpx 15rpx;
  border-radius: 999rpx;
  background-color: #242c43;
}

.status-pill--active {
  background-color: #183b32;
}

.status-dot {
  width: 12rpx;
  height: 12rpx;
  margin-right: 8rpx;
  border-radius: 999rpx;
  background-color: #9ca5b8;
}

.status-pill--active .status-dot {
  background-color: #24ad61;
}

.status-text {
  color: #9ca7bf;
  font-size: 18rpx;
  font-weight: 700;
  letter-spacing: 1rpx;
}

.status-pill--active .status-text {
  color: #71dfa2;
}

.stream-frame {
  width: 100%;
  min-height: 350rpx;
  padding: 22rpx 0;
  overflow: hidden;
  border-top: 2rpx solid #2b3551;
  border-bottom: 2rpx solid #2b3551;
  background-image: linear-gradient(135deg, #10182c, #242d48);
}

.danmaku-rows {
  width: 100%;
}

.danmaku-row {
  width: 100%;
  height: 64rpx;
}

.danmaku-list-item {
  height: 64rpx;
  padding-right: 12rpx;
}

.message-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 60rpx;
  padding: 0 18rpx;
  border: 2rpx solid rgba(255, 255, 255, 0.13);
  border-radius: 999rpx;
  background-color: rgba(33, 47, 78, 0.94);
}

.message-card--blue {
  background-color: rgba(45, 91, 160, 0.9);
}

.message-card--green {
  background-color: rgba(38, 112, 88, 0.9);
}

.message-card--orange {
  background-color: rgba(142, 83, 41, 0.92);
}

.message-card--purple {
  background-color: rgba(99, 68, 154, 0.92);
}

.message-dot {
  flex-shrink: 0;
  width: 14rpx;
  height: 14rpx;
  margin-right: 12rpx;
  border-radius: 999rpx;
  background-color: #4d88df;
}

.message-card--green .message-dot {
  background-color: #39a86b;
}

.message-card--orange .message-dot {
  background-color: #dc8b36;
}

.message-card--purple .message-dot {
  background-color: #8668d5;
}

.message-label {
  flex-shrink: 0;
  color: #ffffff;
  font-size: 22rpx;
  font-weight: 600;
  white-space: nowrap;
}

.danmaku-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 306rpx;
}

.danmaku-empty-text {
  color: #8f9bb7;
  font-size: 24rpx;
}

.selection {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 22rpx 28rpx 0;
  padding: 17rpx 20rpx;
  border-radius: 16rpx;
  background-color: #1d253b;
}

.selection-label {
  flex-shrink: 0;
  margin-right: 14rpx;
  color: #8290ad;
  font-size: 17rpx;
  font-weight: 700;
  letter-spacing: 1rpx;
}

.selection-value {
  flex: 1;
  color: #dfe6f7;
  font-size: 22rpx;
  overflow: hidden;
  text-overflow: ellipsis;
}

.controls {
  display: flex;
  flex-direction: row;
  padding: 22rpx 28rpx 0;
}

.control {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72rpx;
  border-radius: 18rpx;
}

.control--primary {
  flex: 1;
  margin-right: 16rpx;
  background-color: #5975f0;
}

.control--secondary {
  width: 210rpx;
  border: 2rpx solid #3a4665;
  background-color: #202940;
}

.control--disabled {
  opacity: 0.42;
}

.control-text {
  color: #c4cee3;
  font-size: 22rpx;
  font-weight: 700;
}

.control-text--primary {
  color: #ffffff;
}

.hint {
  margin: 22rpx 16rpx 0;
  color: #747f95;
  font-size: 21rpx;
  line-height: 1.4;
}
