:root {
  --bg: #f4f6ff;
  --card: #ffffff;
  --text: #303442;
  --sub: #7f8ca5;
  --blue: #38a7ff;
  --blue-deep: #3d77ff;
  --line: #e8edf7;
  --shadow: 0 8px 24px rgba(74, 113, 160, 0.08);
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

body {
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

button {
  border: 0;
  background: none;
}

.app {
  position: relative;
  max-width: 420px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
  padding-bottom: 84px;
}

.ky-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 8px;
  background: #fff;
}

.ky-logo {
  width: 116px;
  height: 34px;
  flex: 0 0 116px;
  object-fit: contain;
}


.ky-url-bar {
  flex: 1;
  height: 34px;
  border: 1px solid #edf1f7;
  border-radius: 18px;
  background: #fbfcff;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
  color: #7f8ca5;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
}

.ky-url-bar strong {
  color: #5f6f8b;
  font-weight: 500;
}

.ky-url-icon,
.ky-notice-icon,
.ky-action-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ky-url-icon {
  margin-left: auto;
  color: #2895ff;
  font-size: 14px;
}

.ky-chat-btn {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}


.ky-banner-wrap {
  padding: 8px 12px 0;
}

.ky-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ky-banner img {
  width: 100%;
  aspect-ratio: 357 / 150;
  object-fit: cover;
}

.ky-banner-indicator {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  min-width: 52px;
  height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  background: rgba(108, 115, 130, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 18px;
  font-weight: 700;
}

.ky-banner-indicator small {
  font-size: 15px;
  opacity: 0.95;
}

.ky-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 8px;
}

.ky-notice-icon {
  color: var(--blue);
  font-size: 17px;
}

.ky-notice-text {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #677792;
  font-size: 12px;
}

.ky-hot-pill {
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5ec3ff, #3d86ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(61, 134, 255, 0.18);
}

.ky-quick {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2px 12px 10px;
}

.ky-user h2 {
  font-size: 16px;
  line-height: 1.2;
  color: #1a1d26;
  font-weight: 900;
}

.ky-user p {
  margin-top: 6px;
  color: #303442;
  font-size: 14px;
  font-weight: 800;
}

.ky-balance-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ky-balance-refresh {
  border: 0;
  padding: 0;
  width: 22px;
  height: 22px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1d26;
  cursor: pointer;
}

.ky-balance-refresh svg {
  width: 18px;
  height: 18px;
}

.ky-balance-refresh.is-loading svg {
  animation: ky-spin 0.8s linear infinite;
}

@keyframes ky-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ky-user p span {
  font-size: 18px;
  font-weight: 900;
  color: #1a1d26;
}

/* 游戏进入加载动画 */
.ky-game-loader {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  color: #fff;
}

.ky-game-loader.show {
  display: flex;
}

.ky-game-loader-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ky-game-spin 0.8s linear infinite;
  margin-bottom: 12px;
}

.ky-game-loader-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

@keyframes ky-game-spin {
  to { transform: rotate(360deg); }
}

.ky-action-list {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ky-action-item {
  text-decoration: none;
  color: #63738e;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 44px;
}

.ky-action-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(61, 134, 255, 0.2));
}

.ky-action-item span {
  font-size: 12px;
  font-weight: 600;
}


.ky-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 10px;
}

.ky-side {
  width: 60px;
  flex: 0 0 60px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  touch-action: manipulation;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ky-side::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.ky-side-item {
  border: 0;
  background: url('assets/侧边.png') no-repeat center/100% 100%;
  border-radius: 14px;
  min-height: 64px;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #7f8ca5;
}

.ky-side-item.active {
  background: url('assets/侧边2.png') no-repeat center/100% 100%;
  box-shadow: none;
}

.ky-side-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.ky-side-item span {
  font-size: 12px;
  font-weight: 700;
}

.ky-side-item.active span {
  color: #fff;
}

.ky-panel {
  flex: 1;
  min-width: 0;
}

.ky-game-shell {
  position: relative;
  min-height: 120px;
  height: 100%;
  max-height: 100%;
  border-radius: 16px;
  background: transparent;
  overflow: hidden;
}

.ky-game-viewport {
  position: relative;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  contain: layout paint;
}

.ky-game-scroll {
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
  scrollbar-width: none;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scroll-behavior: auto;
  touch-action: pan-y;
}

.ky-game-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.ky-game-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 0;
}

.ky-category-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 6px;
}

.ky-game-item {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
}


.ky-game-item img {
  width: 100%;
  min-height: 120px;
  background: #eee;
  border-radius: 16px;
}

.ky-game-heat {
  position: absolute;
  left: 22px;
  top: 58%;
  transform: translateY(-50%);
  display: flex;
  align-items: flex-end;
  gap: 3px;
  pointer-events: none;
}

.ky-game-heat strong {
  font-size: 30px;
  line-height: 0.9;
  color: #303442;
  font-weight: 800;
}

.ky-game-heat span {
  font-size: 12px;
  color: #303442;
  margin-bottom: 3px;
}

.ky-corner-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(180deg, #5bc4ff, #3a85ff);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px 4px;
  border-radius: 0 10px 0 0;
  z-index: 2;
}



/* 隐藏所有多余的浮窗和调试信息 */
.ky-redpacket, #redpacketEntry, .think-trace-btn, #think_page_trace_open { 
    display: none !important; 
    visibility: hidden !important; 
    opacity: 0 !important; 
    pointer-events: none !important;
}

.ky-redpacket {
  position: fixed;
  right: 16px;
  bottom: 88px;
  width: 74px;
  height: 84px;
  z-index: 40;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.ky-redpacket.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}

.ky-redpacket-shell {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: url('assets/red-packet.png') no-repeat center/100% 100%;
}

.ky-redpacket-grab {
  position: absolute;
  left: 50%;
  top: 26px;
  transform: translateX(-50%);
  width: 36px;
  height: 38px;
  background: url('assets/grab.png') no-repeat center/100% 100%;
  animation: ky-scale 0.5s linear infinite;
}

.ky-redpacket-close {
  position: absolute;
  right: -10px;
  top: -2px;
  width: 22px;
  height: 22px;
  filter: grayscale(100%);
}

.ky-redpacket-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  background: rgba(5, 10, 24, 0.78);
  z-index: 9999;
}

.ky-redpacket-modal.show {
  display: flex;
}

.ky-redpacket-panel {
  position: relative;
  width: min(396px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 18px 16px 20px;
  border-radius: 30px;
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(180deg, #ff8d60 0%, #ff4d4f 100%);
  box-shadow: 0 24px 56px rgba(24, 11, 18, 0.36);
  color: #fff;
  transform: translateY(34px) scale(0.96);
  transition: transform 0.24s ease;
}

.ky-redpacket-hero {
  padding: 14px 14px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ky-redpacket-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ky-redpacket-hero-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
}

.ky-redpacket-modal.show .ky-redpacket-panel {
  transform: translateY(0) scale(1);
}

.ky-redpacket-panel::-webkit-scrollbar,
.ky-redpacket-records::-webkit-scrollbar {
  display: none;
}

.ky-redpacket-modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 20px;
  line-height: 32px;
}

.ky-redpacket-panel-head {
  padding-right: 36px;
}

.ky-redpacket-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 700;
}

.ky-redpacket-title {
  display: block;
  margin-top: 12px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
  text-shadow: 0 6px 16px rgba(120, 30, 20, 0.2);
}

.ky-redpacket-subtitle {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.ky-redpacket-status {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ky-redpacket-status-item {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
}

.ky-redpacket-status-item span {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
}

.ky-redpacket-status-item strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 800;
}

.ky-redpacket-notice {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 12px;
  line-height: 1.6;
}

.ky-redpacket-grid-wrap {
  margin-top: 14px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ky-redpacket-grid-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.ky-redpacket-grid-tip {
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
}

.ky-lucky-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ky-lucky-prize {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ky-lucky-prize.active {
  transform: translateY(-2px) scale(1.02);
}

.ky-lucky-prize,
.ky-lucky-draw {
  min-height: 88px;
  border-radius: 18px;
}

.ky-lucky-prize {
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 -5px 0 rgba(236, 93, 66, 0.08);
}

.ky-lucky-prize.is-disabled {
  opacity: 0.58;
}

.ky-lucky-prize.active {
  background: linear-gradient(180deg, #ffecc0, #ffd46f) !important;
  color: #a75a00 !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45), 0 10px 24px rgba(255, 206, 85, 0.36);
}

.ky-lucky-prize-icon {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.ky-lucky-prize-name {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.ky-lucky-draw {
  width: 100%;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  background: linear-gradient(180deg, #ffd8a8, #ffbf74);
  box-shadow: inset 0 -5px 0 rgba(190, 103, 23, 0.28);
}

.ky-lucky-draw span {
  font-size: 16px;
  font-weight: 800;
}

.ky-lucky-draw small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.94);
}

.ky-lucky-draw:disabled {
  opacity: 0.72;
}

.ky-lucky-draw.is-busy {
  position: relative;
  opacity: 0.85;
}

.ky-lucky-draw.is-busy::after {
  content: "抽取中...";
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.ky-redpacket-panels {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.ky-redpacket-rule-block,
.ky-redpacket-record-block {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
}

.ky-redpacket-rule-title {
  font-size: 13px;
  font-weight: 800;
}

.ky-redpacket-rules,
.ky-redpacket-records {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.94);
}

.ky-redpacket-records {
  max-height: 120px;
  overflow-y: auto;
}

.ky-redpacket-record-item + .ky-redpacket-record-item {
  margin-top: 6px;
}

.ky-redpacket-empty {
  color: rgba(255, 255, 255, 0.78);
}

@keyframes ky-scale {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.15); }
}

@media (max-width: 360px) {
  .ky-redpacket-panel {
    padding: 16px 12px;
  }

  .ky-lucky-prize,
  .ky-lucky-draw {
    min-height: 82px;
  }
}

.ky-tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  height: 72px;
  background: #fff;
  border-top: 1px solid #eef2f8;
  box-shadow: 0 -8px 24px rgba(74, 113, 160, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 20;
}

.ky-tab-item {
  text-decoration: none;
  color: #7988a3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}

.ky-tab-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.72) opacity(0.6);
}

.ky-tab-item.active {
  color: #3d86ff;
}

.ky-tab-item.active img {
  filter: none;
}

.ky-sub-header {
  position: sticky;
  top: 0;
  z-index: 25;
  height: 52px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid rgba(232, 237, 247, 0.85);
}

.ky-back-btn,
.ky-sub-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #4d6288;
}

.ky-back-btn {
  min-width: 24px;
  height: 32px;
  flex: 0 0 24px;
  font-size: 22px;
  font-weight: 700;
  background: transparent;
}

.ky-sub-action {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f7ff;
  flex: 0 0 32px;
  font-size: 14px;
}


.ky-sub-title {
  font-size: 17px;
  font-weight: 800;
  color: #22385f;
}

.activity-page {
  padding: 12px 12px 96px;
}

.activity-tabs {
  position: sticky;
  top: 52px;
  z-index: 10;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 14px;
  margin-bottom: 2px;
  background: linear-gradient(180deg, rgba(244, 246, 255, 0.96), rgba(244, 246, 255, 0.82));
}

.activity-tabs::-webkit-scrollbar {
  display: none;
}

.activity-tab {
  border: 0;
  flex: 0 0 auto;
  height: 34px;
  padding: 0 16px;
  border-radius: 18px;
  background: #fff;
  color: #7083a3;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(74, 113, 160, 0.08);
}

.activity-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #63c8ff, #3c7eff);
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.activity-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(74, 113, 160, 0.12);
  background: #fff;
}

/* 活动封面：高度为原 3:2 高度的 70%（7/15 屏宽），图在区内 object-fit: contain 自适应 */
.activity-card-media {
  width: 100%;
  aspect-ratio: 15 / 7;
  background: linear-gradient(180deg, #e8eef9 0%, #dfe8f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.activity-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.activity-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 14px 14px;
  background: linear-gradient(180deg, rgba(18, 27, 48, 0) 0%, rgba(18, 27, 48, 0.8) 100%);
}

.activity-card-title {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.activity-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.activity-chip {
  height: 22px;
  padding: 0 10px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.activity-chip.type {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.activity-chip.status-open {
  background: #ffffff;
  color: #2f7dff;
}

.activity-chip.status-closed {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
}

.activity-empty,
.activity-end {
  text-align: center;
  color: #90a0b9;
  font-size: 12px;
}

.activity-end {
  padding: 6px 0 0;
}

.mine-page {
  padding: 0 14px 96px;
}

.mine-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 8px;
}

.mine-topbar h1 {
  font-size: 24px;
  font-weight: 800;
  color: #23385f;
}

.mine-support {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #5f749a;
  font-size: 12px;
  text-decoration: none;
}

.mine-support img {
  width: 18px;
  height: 18px;
}

.mine-profile-card,
.mine-wallet-panel,
.mine-feature-pair,
.mine-grid,
.mine-menu {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(74, 113, 160, 0.08);
}

.mine-profile-card {
  padding: 16px 14px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mine-avatar-wrap {
  position: relative;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
}

.mine-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.mine-profile-main {
  flex: 1;
  min-width: 0;
}

.mine-profile-name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #22385f;
  font-size: 18px;
  font-weight: 800;
}

.mine-profile-name img {
  height: 18px;
  width: auto;
}

.mine-profile-desc {
  margin-top: 6px;
  color: #7c8ba6;
  font-size: 12px;
}

.mine-wallet-panel {
  margin-top: 20px;
  padding: 16px 14px;
}

.mine-wallet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mine-wallet-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #22385f;
  font-size: 14px;
  font-weight: 700;
}

.mine-wallet-title img {
  width: 18px;
  height: 18px;
}

.mine-wallet-refresh {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f3f7ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mine-wallet-refresh img {
  width: 14px;
  height: 14px;
}

.mine-wallet-amount {
  margin-top: 14px;
  color: #22385f;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mine-wallet-amount small {
  font-size: 16px;
  margin-right: 2px;
}

.mine-progress-wrap {
  margin-top: 8px;
}

.mine-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7a8aa6;
  font-size: 12px;
  margin-bottom: 8px;
}

.mine-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: #edf3ff;
  overflow: hidden;
}

.mine-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #65caff, #3d7cff);
}

.mine-feature-pair {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.mine-feature-card {
  position: relative;
  padding: 16px 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.mine-feature-card::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 1px;
  background: #edf2fa;
}

.mine-feature-card + .mine-feature-card {
  border-left: 1px solid #edf2fa;
}


.mine-feature-card img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.mine-feature-title {
  color: #22385f;
  font-size: 14px;
  font-weight: 800;
}

.mine-feature-sub {
  margin-top: 2px;
  color: #9aa7be;
  font-size: 11px;
  font-weight: 700;
}

.mine-grid {
  margin-top: 20px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.mine-grid-item {
  text-decoration: none;
  color: #23385f;
  border-radius: 16px;
  padding: 10px 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mine-grid-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.mine-grid-item span {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.mine-menu {
  margin-top: 12px;
  padding: 0 14px;
}

.mine-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  text-decoration: none;
  color: #23385f;
  border-bottom: 1px solid #edf2fa;
}

.mine-menu-item:last-child {
  border-bottom: 0;
}

.mine-menu-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mine-menu-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 22px;
}

.mine-menu-text {
  min-width: 0;
}

.mine-menu-title {
  color: #23385f;
  font-size: 14px;
  font-weight: 700;
}

.mine-menu-sub {
  margin-top: 2px;
  color: #9ba8bd;
  font-size: 11px;
}

.mine-menu-arrow {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: 0 0 14px;
}

.mine-menu-item.logout .mine-menu-title {
  color: #e05757;
}

body.service-body {
  overflow: hidden;
  --service-vh: 100vh;
  --service-composer-height: 160px;
}

.service-header {
  position: fixed;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(420px, 100vw);
  z-index: 32;
}

.service-page {
  height: var(--service-vh, 100vh);
  padding: 172px 12px calc(var(--service-composer-height, 160px) + 12px);
}

.service-status-wrap {
  position: fixed;
  left: 50%;
  top: 52px;
  transform: translateX(-50%);
  width: min(420px, 100vw);
  padding: 12px;
  z-index: 30;
  background: linear-gradient(180deg, rgba(244, 246, 255, 0.98), rgba(244, 246, 255, 0.9) 78%, rgba(244, 246, 255, 0));
}

.service-status-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f3f8ff);
  box-shadow: 0 10px 24px rgba(74, 113, 160, 0.08);
}

.service-status-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eaf3ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
}

.service-status-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.service-status-main {
  flex: 1;
  min-width: 0;
}

.service-status-title {
  color: #22385f;
  font-size: 15px;
  font-weight: 800;
}

.service-status-sub {
  margin-top: 4px;
  color: #7f8ca5;
  font-size: 12px;
  line-height: 1.5;
}

.service-status-tag {
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(61, 124, 255, 0.12);
  color: #3b7dff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.service-chat-window {
  position: relative;
  width: min(396px, calc(100vw - 24px));
  margin: 0 auto;
  height: calc(var(--service-vh, 100vh) - 172px - var(--service-composer-height, 160px) - 12px);
  display: flex;
  flex-direction: column;
  padding: 14px 0 10px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  box-shadow: 0 12px 28px rgba(74, 113, 160, 0.1);
  z-index: 1;
}


.service-chat-date {

  text-align: center;
  color: #9ba8bd;
  font-size: 11px;
  margin-bottom: 12px;
  padding: 0 12px;
}

.service-chat-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px 4px;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.service-chat-scroll::-webkit-scrollbar,
.service-quick-list::-webkit-scrollbar {
  display: none;
}

.service-message {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.service-message:last-child {
  margin-bottom: 0;
}

.service-message.user {
  flex-direction: row-reverse;
}

.service-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 34px;
  box-shadow: 0 4px 12px rgba(74, 113, 160, 0.12);
}

.service-bubble-wrap {
  max-width: calc(100% - 44px);
}

.service-name {
  color: #8f9cb2;
  font-size: 11px;
  margin-bottom: 5px;
}

.service-read-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 10px;
  line-height: 1.2;
  background: rgba(255, 255, 255, 0.4);
  color: #7e8aa4;
}

.service-read-tag.is-read {
  background: rgba(61, 124, 255, 0.14);
  color: #3d7cff;
}

.service-message.user .service-name {
  text-align: right;
}

.service-bubble {
  padding: 11px 12px;
  border-radius: 16px;
  color: #344563;
  font-size: 13px;
  line-height: 1.6;
  word-break: break-word;
  background: #eef4ff;
}

.service-image {
  max-width: 180px;
  border-radius: 12px;
  display: block;
}

.service-audio {
  width: 200px;
}

.service-file {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #3d7cff;
  text-decoration: none;
  font-weight: 700;
}

.service-file small {
  color: #8f9cb2;
  font-weight: 600;
}

.service-actions {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.service-action-btn {
  border: 0;
  background: rgba(61, 124, 255, 0.12);
  color: #3d7cff;
  font-size: 11px;
  border-radius: 10px;
  padding: 2px 8px;
}

.service-recalled {
  color: #9aa7be;
}

.service-edit-tag {
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.45);
  color: #7e8aa4;
  font-size: 10px;
}

.service-message.agent .service-bubble {
  border-top-left-radius: 6px;
  background: #f3f7ff;
}

.service-message.user .service-bubble {
  border-top-right-radius: 6px;
  background: linear-gradient(135deg, #67caff, #3d7cff);
  color: #fff;
}

.service-composer {
  position: fixed;
  left: 50%;
  bottom: 68px;
  transform: translateX(-50%);
  width: min(420px, 100vw);
  padding: 0 12px 10px;
  background: linear-gradient(180deg, rgba(244, 246, 255, 0), rgba(244, 246, 255, 0.95) 18%, rgba(244, 246, 255, 1) 100%);
  z-index: 31;
}

.service-quick-inline {
  margin-bottom: 8px;
  padding: 0 2px;
}

.service-quick-list {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.service-quick-chip {
  height: 28px;
  padding: 0 10px;
  border-radius: 14px;
  border: 1px solid #dbe8ff;
  background: rgba(255, 255, 255, 0.96);
  color: #4f77b6;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  flex: 0 0 auto;
  box-shadow: 0 4px 10px rgba(74, 113, 160, 0.06);
}

.service-composer-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(74, 113, 160, 0.08);
}

.service-attach-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef4ff;
  color: #3d7cff;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
}

.service-file-input {
  display: none;
}


.service-input {
  flex: 1;
  height: 40px;
  border: 0;
  outline: 0;
  color: #22385f;
  font-size: 13px;
  background: transparent;
}

.service-send-btn {
  height: 38px;
  padding: 0 16px;
  border-radius: 19px;
  background: linear-gradient(135deg, #67caff, #3d7cff);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.service-send-btn:disabled {
  opacity: 0.5;
}

.mine-profile-link {
  text-decoration: none;
  color: inherit;
}

.mine-wallet-title {
  text-decoration: none;
}


.mine-auth-actions {
  margin-top: 20px;
  display: none;
  gap: 10px;
}

.mine-auth-btn {
  flex: 1;
  height: 40px;
  border-radius: 20px;
  background: #fff;
  color: #4c6fa8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(74, 113, 160, 0.08);
}

.mine-auth-btn.primary {
  background: linear-gradient(135deg, #67caff, #3d7cff);
  color: #fff;
}

.auth-page {
  min-height: 100vh;
  padding: 22px 14px 32px;
  background: linear-gradient(180deg, #f7f9ff 0%, #eef4ff 100%);
}

.auth-shell {
  max-width: 392px;
  margin: 0 auto;
}

.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.auth-topbar a {
  text-decoration: none;
  color: #5974a2;
  font-size: 13px;
  font-weight: 700;
}

.auth-brand {
  padding: 18px 18px 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #eef5ff);
  box-shadow: 0 14px 32px rgba(74, 113, 160, 0.12);
}

.auth-brand img {
  width: 126px;
  height: auto;
}

.auth-brand h1 {
  margin-top: 18px;
  color: #243a62;
  font-size: 28px;
  font-weight: 800;
}

.auth-brand p {
  margin-top: 8px;
  color: #7384a3;
  font-size: 13px;
  line-height: 1.7;
}

.auth-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(74, 113, 160, 0.1);
}

.auth-card h2 {
  color: #243a62;
  font-size: 22px;
  font-weight: 800;
}

.auth-card p {
  margin-top: 6px;
  color: #7d8ca8;
  font-size: 12px;
}

.auth-field {
  margin-top: 14px;
}

.auth-field label {
  display: block;
  margin-bottom: 8px;
  color: #556b93;
  font-size: 12px;
  font-weight: 700;
}

.auth-input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #e3ebf8;
  border-radius: 16px;
  outline: 0;
  background: #f9fbff;
  color: #243a62;
  font-size: 14px;
}

.auth-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auth-submit {
  width: 100%;
  height: 46px;
  margin-top: 18px;
  border-radius: 23px;
  background: linear-gradient(135deg, #67caff, #3d7cff);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.auth-note {
  margin-top: 14px;
  color: #7d8ca8;
  font-size: 12px;
  line-height: 1.7;
}

.auth-switch {
  margin-top: 16px;
  text-align: center;
  color: #7d8ca8;
  font-size: 12px;
}

.auth-switch a {
  color: #3d7cff;
  text-decoration: none;
  font-weight: 700;
}

.member-page {
  padding: 14px 14px 96px;
}

.member-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.member-hero {
  padding: 18px 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #5ec8ff, #3c7eff);
  color: #fff;
  box-shadow: 0 14px 30px rgba(61, 124, 255, 0.22);
}

.member-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.member-hero-badge {
  min-width: 72px;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.member-hero-title {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 800;
}

.member-hero-sub {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.94;
}

.member-stat-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.member-stat-card {
  padding: 12px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
}

.member-stat-label {
  font-size: 11px;
  opacity: 0.9;
}

.member-stat-value {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 800;
}

.member-section {
  padding: 16px 14px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(74, 113, 160, 0.08);
}

.member-section-title {
  color: #243a62;
  font-size: 16px;
  font-weight: 800;
}

.member-section-sub {
  margin-top: 4px;
  color: #8b9ab3;
  font-size: 12px;
}

.member-pills {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-pill {
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  background: #edf4ff;
  color: #5274ab;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.member-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.member-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #edf2fa;
}

.member-list-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.member-list-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.member-list-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #f3f7ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
}

.member-list-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.member-list-title {
  color: #243a62;
  font-size: 14px;
  font-weight: 700;
}

.member-list-desc {
  margin-top: 3px;
  color: #8d9ab1;
  font-size: 12px;
}

.member-list-side {
  color: #5a7199;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.member-record {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.member-record-card {
  padding: 14px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid #edf2fa;
}

.member-record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.member-record-title {
  color: #243a62;
  font-size: 14px;
  font-weight: 800;
}

.member-tag {
  min-width: 62px;
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  background: #eaf2ff;
  color: #3e7fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.member-tag.warn {
  background: #fff3e3;
  color: #ea9a2e;
}

.member-tag.error {
  background: #ffe9e9;
  color: #db5d5d;
}

.member-record-meta {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  color: #8a99b2;
  font-size: 12px;
}

.member-record-meta strong {
  display: block;
  margin-top: 4px;
  color: #243a62;
  font-size: 14px;
}

.member-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.member-card {
  padding: 14px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid #edf2fa;
}

.member-card h3 {
  color: #243a62;
  font-size: 14px;
  font-weight: 800;
}

.member-card p {
  margin-top: 8px;
  color: #8a99b2;
  font-size: 12px;
  line-height: 1.7;
}

.member-card strong {
  display: block;
  margin-top: 12px;
  color: #3d7cff;
  font-size: 16px;
}

.member-cta-btn {
  width: 100%;
  height: 44px;
  margin-top: 14px;
  border-radius: 22px;
  text-decoration: none;
  background: linear-gradient(135deg, #67caff, #3d7cff);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.member-cta-btn.secondary {
  background: #fff;
  color: #4f6b9c;
  border: 1px solid #dfe8f7;
}

.member-empty-card {
  padding: 22px 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(74, 113, 160, 0.08);
  text-align: center;
}

.member-empty-card h2 {
  color: #243a62;
  font-size: 20px;
  font-weight: 800;
}

.member-empty-card p {
  margin-top: 10px;
  color: #7e8ca8;
  font-size: 12px;
  line-height: 1.8;
}

.member-empty-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.member-empty-actions a {
  flex: 1;
  height: 42px;
  border-radius: 21px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.member-empty-actions a:first-child {
  background: linear-gradient(135deg, #67caff, #3d7cff);
  color: #fff;
}

.member-empty-actions a:last-child {
  background: #fff;
  color: #4f6b9c;
  border: 1px solid #dfe8f7;
}

.member-tip {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #eef5ff;
  color: #60789f;
  font-size: 12px;
  line-height: 1.7;
}

/* 首页「体育」分类：投注入口卡片（与 ky-game-item 同列） */
.ky-game-item-sports {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  min-height: 120px;
  box-shadow: var(--shadow);
}

.ky-game-item-sports-bg {
  position: absolute;
  inset: 0;
  border-radius: 16px;
}

.ky-game-item-sports--fb .ky-game-item-sports-bg {
  background: linear-gradient(125deg, #2b7bff 0%, #5ed0ff 48%, #7ae8ff 100%);
}

.ky-game-item-sports--bk .ky-game-item-sports-bg {
  background: linear-gradient(125deg, #ff7228 0%, #ffb24a 50%, #ffd078 100%);
}

.ky-game-item-sports--bl .ky-game-item-sports-bg {
  background: linear-gradient(125deg, #5a3dff 0%, #8b6cff 45%, #b99fff 100%);
}

.ky-game-item-sports-body {
  position: relative;
  z-index: 2;
  padding: 16px 18px 18px;
}

.ky-game-item-sports-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.ky-game-item-sports-title {
  display: block;
  margin-top: 10px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

.ky-game-item-sports-desc {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  max-width: 92%;
}

.ky-ui-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}

.ky-ui-mask.show {
  display: flex;
}

.ky-ui-dialog {
  width: 88%;
  max-width: 380px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  padding: 18px 18px 16px;
  text-align: center;
}

.ky-ui-title {
  font-size: 16px;
  font-weight: 800;
  color: #1f2d3d;
}

.ky-ui-message {
  margin-top: 10px;
  font-size: 13px;
  color: #5b6b82;
  line-height: 1.6;
  word-break: break-word;
}

.ky-ui-input-wrap {
  margin-top: 12px;
  display: none;
}

.ky-ui-input-wrap.show {
  display: block;
}

.ky-ui-input-wrap input {
  width: 100%;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #e4e8f1;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
}

.ky-ui-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.ky-ui-btn {
  flex: 1;
  height: 42px;
  border-radius: 21px;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.ky-ui-btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #67caff, #3d7cff);
  box-shadow: 0 6px 16px rgba(61, 124, 255, 0.22);
}

.ky-ui-btn.ghost {
  background: #f5f7fb;
  color: #5a6a8a;
}

.ky-ui-toast {
  position: fixed;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  background: rgba(40, 42, 50, 0.88);
  color: #fff;
  padding: 10px 18px;
  border-radius: 18px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 5200;
}

.ky-ui-toast.show {
  opacity: 1;
}







