/* 星辰学院 · 童趣温暖风 · 全站基础样式（安全注入，仅改观感，不改游戏逻辑）
 * 由本AI统一注入每个页面，与页面自带样式叠加，不删除任何原有代码。
 */

/* 统一字体 + 温暖渐变底（覆盖各页暗黑底，但游戏内部画布/容器不受影响） */
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif !important;
  background: linear-gradient(180deg, #fff8f0 0%, #fff0f5 42%, #f0f7ff 100%) !important;
  color: #3a3448;
}

/* 圆润的按钮 / 输入框（让原本方正的控件变柔和） */
button, input, select, textarea, .btn, a.btn {
  font-family: inherit;
  border-radius: 16px;
}
button, .btn {
  cursor: pointer;
  border: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
button:hover, .btn:hover { filter: brightness(1.03); }
button:active, .btn:active { transform: scale(0.97); }

/* 图片 / 视频圆角 */
img, video { border-radius: 14px; }

/* 通用卡片柔和阴影（仅作用于带 card / panel / box 类名的容器） */
.card, .panel, .box, .container-box, .modal, .dialog {
  box-shadow: 0 8px 22px rgba(120, 110, 140, 0.10) !important;
  border-radius: 20px !important;
}

/* 让 SVG 图标继承文字颜色、线宽统一 */
.xc-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  color: inherit;
}
.xc-ico svg { width: 100%; height: 100%; stroke-width: 2.2; }

/* 滚动条柔和化 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(200,168,233,0.5); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }
