/* ========================================
旧公寓 · 日落大道摇滚明星
风格：华丽金属 · 硬摇滚 · 80年代颓废美学
配色：霓虹粉紫、撕裂牛仔蓝、豹纹金、铆钉银
适配：手机端 + 电脑端
注：致敬80年代洛杉矶日落大道
======================================== */

/* 导入摇滚风格字体 */
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Limelight&family=Permanent+Marker&family=Special+Elite&display=swap');

:root {
  /* 旧公寓主题色 —— 霓虹与颓废 */
  --neon-pink: #FF10F0;
  --neon-purple: #BC13FE;
  --neon-blue: #00F0FF;
  --denim-dark: #1A2A3A;
  --denim-rip: #4A6FA5;
  --leopard-gold: #D4A017;
  --leopard-spot: #8B6508;
  --stud-silver: #C0C0C0;
  --stud-dark: #708090;
  --bourbon-amber: #C46210;
  --cigarette-smoke: #D9D9D9;
  
  /* 边框渐变 */
  --border-neon: linear-gradient(135deg, 
    var(--neon-pink) 0%, 
    var(--neon-purple) 25%, 
    var(--neon-blue) 50%, 
    var(--neon-purple) 75%, 
    var(--neon-pink) 100%);
  
  --border-leopard: linear-gradient(145deg,
    var(--leopard-gold) 0%,
    var(--leopard-spot) 30%,
    var(--bourbon-amber) 70%,
    var(--leopard-gold) 100%);
}

/* 全局字体与基础 */
body, 
.chat-container, 
.status-content, 
.message-bubble {
  font-family: 'Special Elite', 'Courier New', monospace !important;
}

body {
  position: relative;
  min-height: 100vh;
  background: #111 !important;
}

/* ========================================
背景装饰 - 旧公寓摇滚元素
======================================== */

/* 左上角 - 霓虹灯牌 "LIVE FAST" */
body::before {
  content: "";
  position: fixed;
  top: 15px;
  left: 15px;
  width: 200px;
  height: 100px;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 16, 240, 0.2) 0%, transparent 60%),
    repeating-linear-gradient(45deg, transparent 0px, transparent 15px, rgba(188, 19, 254, 0.1) 15px, rgba(188, 19, 254, 0.1) 18px);
  border-radius: 0% 50% 0% 50% / 0% 30% 0% 30%;
  pointer-events: none;
  z-index: 0;
  filter: blur(1px);
}

body::after {
  content: "LIVE FAST ⚡ DIE YOUNG";
  position: fixed;
  top: 25px;
  left: 25px;
  font-family: 'Limelight', cursive;
  font-size: 28px;
  font-weight: bold;
  color: var(--neon-pink);
  text-shadow: 
    0 0 5px var(--neon-pink),
    0 0 10px var(--neon-purple),
    0 0 20px var(--neon-pink),
    0 0 40px var(--neon-purple);
  opacity: 0.25;
  letter-spacing: 4px;
  transform: rotate(-3deg);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}

/* 右下角 - 撕裂牛仔布与吉他拨片 */
.chat-main-container::after {
  content: "🎸⚡";
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 50px;
  opacity: 0.15;
  transform: rotate(10deg);
  filter: drop-shadow(0 0 15px var(--neon-pink));
  pointer-events: none;
  z-index: 0;
}

/* 左下角豹纹斑点 */
#chat-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 120px;
  background: 
    radial-gradient(circle at 20% 80%, var(--leopard-spot) 8px, transparent 9px),
    radial-gradient(circle at 50% 60%, var(--leopard-spot) 12px, transparent 13px),
    radial-gradient(circle at 80% 75%, var(--leopard-spot) 6px, transparent 7px),
    radial-gradient(circle at 35% 40%, var(--leopard-spot) 10px, transparent 11px),
    radial-gradient(circle at 70% 85%, var(--leopard-spot) 15px, transparent 16px);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* ========================================
主容器 - 旧公寓墙面（撕裂海报风格）
======================================== */

.status-content {
  position: relative !important;
  background: linear-gradient(145deg, 
    rgba(26, 42, 58, 0.98) 0%, 
    rgba(20, 30, 45, 0.99) 50%,
    rgba(15, 25, 35, 0.98) 100%) !important;
  
  border: 3px solid transparent !important;
  border-image: var(--border-neon) !important;
  border-image-slice: 1 !important;
  border-radius: 8px 24px 8px 24px !important;
  
  box-shadow: 
    0 0 0 2px var(--stud-silver),
    0 0 0 5px rgba(255, 16, 240, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.7),
    inset 0 0 60px rgba(188, 19, 254, 0.1) !important;
  
  padding: 22px 26px !important;
  margin: 18px 10px !important;
  color: #F5F0E0 !important;
}

/* 撕裂边缘效果 */
.status-content::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 10%;
  right: 10%;
  height: 10px;
  background: repeating-linear-gradient(90deg, 
    transparent 0px, 
    var(--denim-rip) 2px, 
    transparent 4px,
    transparent 8px,
    var(--denim-rip) 10px,
    transparent 12px);
  opacity: 0.5;
  z-index: 1;
}

.status-content::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 5%;
  right: 5%;
  height: 8px;
  background: repeating-linear-gradient(90deg, 
    transparent 0px, 
    var(--neon-purple) 3px, 
    transparent 6px,
    transparent 10px,
    var(--neon-pink) 13px,
    transparent 16px);
  opacity: 0.4;
  z-index: 1;
}

.status-content > * {
  position: relative;
  z-index: 2;
}

/* 铆钉装饰 */
.status-content .status-header {
  position: relative;
}

.status-content .status-header::before,
.status-content .status-header::after {
  content: "●";
  position: absolute;
  top: -10px;
  color: var(--stud-silver);
  font-size: 20px;
  text-shadow: 0 0 8px var(--neon-blue), 0 2px 4px black;
  opacity: 0.8;
}

.status-content .status-header::before {
  left: -15px;
}

.status-content .status-header::after {
  right: -15px;
}

/* ========================================
对话气泡 - AI侧（撕裂牛仔布）
======================================== */

.group .bg-gray-100\/90 {
  background: linear-gradient(145deg, #1E2F40 0%, #152535 50%, #1A2A3A 100%) !important;
  border: 2px solid transparent !important;
  border-image: var(--border-leopard) !important;
  border-image-slice: 1 !important;
  border-radius: 4px 20px 4px 20px !important;
  box-shadow: 
    0 5px 0 0 #0A1520, 
    0 10px 20px rgba(0, 0, 0, 0.5), 
    inset 0 0 30px rgba(212, 160, 23, 0.1),
    inset 0 1px 0 0 rgba(255, 16, 240, 0.2) !important;
  color: #F0E6D2 !important;
  padding: 18px 20px !important;
  margin: 10px 5px !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  position: relative !important;
  overflow: visible !important;
  isolation: isolate !important;
  transition: all 0.2s ease !important;
}

/* 左上角 - 撕裂胶带 */
.group .bg-gray-100\/90::before {
  content: "" !important;
  position: absolute !important;
  left: -15px !important;
  top: -15px !important;
  width: 40px !important;
  height: 40px !important;
  background: radial-gradient(circle at 30% 30%, rgba(192, 192, 192, 0.6) 0%, rgba(112, 128, 144, 0.4) 70%, transparent 100%) !important;
  border-radius: 50% 0 50% 0 !important;
  transform: rotate(-25deg) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3) !important;
  border: 1px solid var(--stud-silver) !important;
}

/* 右下角 - 吉他拨片 */
.group .bg-gray-100\/90::after {
  content: "🎸" !important;
  position: absolute !important;
  right: -25px !important;
  bottom: -15px !important;
  font-size: 50px !important;
  line-height: 1 !important;
  opacity: 0.2 !important;
  transform: rotate(15deg) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  filter: drop-shadow(0 0 10px var(--neon-pink)) !important;
}

.group .bg-gray-100\/90 > * {
  position: relative !important;
  z-index: 2 !important;
}

.group .bg-gray-100\/90:hover {
  box-shadow: 
    0 5px 0 0 #0A1520, 
    0 12px 25px rgba(0, 0, 0, 0.6), 
    inset 0 0 50px rgba(255, 16, 240, 0.15),
    inset 0 1px 0 0 rgba(188, 19, 254, 0.3),
    0 0 20px rgba(255, 16, 240, 0.4) !important;
  transform: translateY(-2px);
}

.group .bg-gray-100\/90:hover::before {
  opacity: 0.9 !important;
  box-shadow: 0 0 20px var(--neon-blue) !important;
  transition: all 0.3s ease !important;
}

/* 用户侧气泡 - 铆钉与皮革 */
.group .bg-blue-500 {
  background: linear-gradient(145deg, #2A1A2E 0%, #1A0E1E 100%) !important;
  border: 2px solid var(--stud-silver) !important;
  border-radius: 20px 4px 20px 4px !important;
  box-shadow: 
    0 4px 0 0 #0A1520, 
    0 8px 15px rgba(0,0,0,0.4),
    inset 0 0 20px rgba(192, 192, 192, 0.1) !important;
  color: #F0E6D2 !important;
  position: relative !important;
}

.group .bg-blue-500::before {
  content: "● ● ●";
  position: absolute;
  top: -8px;
  left: 10px;
  right: 10px;
  color: var(--stud-silver);
  font-size: 14px;
  letter-spacing: 8px;
  opacity: 0.6;
  text-shadow: 0 0 5px black;
}

/* ========================================
按钮美化 - 摇滚开关与效果器
======================================== */

.flex.items-center.gap-2.pb-2 > button {
  background: linear-gradient(165deg, #1E2F40 0%, #0F1A24 50%, #1A2A3A 100%) !important;
  color: var(--neon-pink) !important;
  border: 2px solid transparent !important;
  border-image: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 50%, var(--neon-blue) 100%) !important;
  border-image-slice: 1 !important;
  border-radius: 2px 8px 2px 8px !important;
  box-shadow: 
    0 4px 0 0 #080E14, 
    0 6px 12px rgba(0, 0, 0, 0.5), 
    inset 0 1px 3px rgba(255, 16, 240, 0.3) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  padding: 10px 20px !important;
  margin: 0 3px !important;
  transition: all 0.15s cubic-bezier(0.2, 0.9, 0.4, 1) !important;
  position: relative !important;
  font-size: 13px !important;
  font-family: 'Permanent Marker', cursive !important;
}

.flex.items-center.gap-2.pb-2 > button::before {
  content: "🎸";
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.4;
  filter: drop-shadow(0 0 5px var(--neon-blue));
}

.flex.items-center.gap-2.pb-2 > button::after {
  content: "🥁";
  position: absolute;
  right: 2px;
  bottom: 2px;
  font-size: 12px;
  opacity: 0.4;
  filter: drop-shadow(0 0 5px var(--neon-pink));
}

.flex.items-center.gap-2.pb-2 > button:hover {
  background: linear-gradient(165deg, #2A3F50 0%, #1A2A3A 50%, #2A3F50 100%) !important;
  color: #FFFFFF !important;
  text-shadow: 0 0 8px var(--neon-pink) !important;
  transform: translate(2px, 3px) !important;
  box-shadow: 
    0 2px 0 0 #080E14, 
    0 8px 16px rgba(255, 16, 240, 0.3), 
    inset 0 1px 6px rgba(0, 240, 255, 0.4),
    0 0 20px var(--neon-purple) !important;
  border-image: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-pink) 50%, var(--neon-purple) 100%) !important;
}

.flex.items-center.gap-2.pb-2 > button:active {
  transform: translate(4px, 4px) !important;
  box-shadow: 
    0 0 0 0 #080E14, 
    inset 0 2px 10px rgba(0,0,0,0.8), 
    0 0 30px var(--neon-pink) !important;
}

/* 发送按钮特殊标记 */
button[type="submit"]::before,
.send-button::before {
  content: "🎤" !important;
}

button[type="submit"]::after,
.send-button::after {
  content: "🎹" !important;
}

/* ========================================
MUI按钮美化 - 效果器踏板
======================================== */

.MuiButtonBase-root.MuiButton-root.MuiButton-text {
  background: linear-gradient(165deg, #1E2F40 0%, #0F1A24 40%, #152535 100%) !important;
  color: var(--neon-blue) !important;
  border: 2px solid transparent !important;
  border-image: linear-gradient(135deg, var(--neon-pink) 0%, var(--leopard-gold) 50%, var(--neon-pink) 100%) !important;
  border-image-slice: 1 !important;
  border-radius: 8px 2px 8px 2px !important;
  box-shadow: 
    0 4px 0 0 #080E14, 
    0 8px 15px rgba(0, 0, 0, 0.5), 
    inset 0 1px 4px rgba(212, 160, 23, 0.3) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 10px 20px !important;
  margin: 0 4px !important;
  transition: all 0.18s cubic-bezier(0.2, 0.9, 0.4, 1) !important;
  position: relative !important;
  font-size: 14px !important;
  font-family: 'Limelight', cursive !important;
  line-height: 1.4 !important;
  min-width: 64px !important;
}

.MuiButtonBase-root.MuiButton-root.MuiButton-text::before {
  content: "🔥";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.5;
  filter: drop-shadow(0 0 6px var(--neon-pink));
}

.MuiButtonBase-root.MuiButton-root.MuiButton-text::after {
  content: "💀";
  position: absolute;
  right: 6px;
  bottom: 4px;
  font-size: 12px;
  opacity: 0.4;
  filter: drop-shadow(0 0 5px var(--leopard-gold));
}

.MuiButtonBase-root.MuiButton-root.MuiButton-text:hover {
  background: linear-gradient(165deg, #2A3F50 0%, #1A2A3A 50%, #2A3F50 100%) !important;
  color: #FFFFFF !important;
  text-shadow: 0 0 10px var(--neon-pink) !important;
  transform: translate(2px, 3px) !important;
  box-shadow: 
    0 2px 0 0 #080E14, 
    0 10px 20px rgba(255, 16, 240, 0.3), 
    inset 0 1px 8px rgba(0, 240, 255, 0.3),
    0 0 20px var(--neon-purple) !important;
  border-image: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-pink) 50%, var(--leopard-gold) 100%) !important;
}

.MuiButtonBase-root.MuiButton-root.MuiButton-text:active {
  transform: translate(4px, 4px) !important;
  box-shadow: 
    0 0 0 0 #080E14, 
    inset 0 3px 12px rgba(0, 0, 0, 0.8), 
    0 0 30px var(--neon-pink) !important;
}

.MuiButtonBase-root.MuiButton-root.MuiButton-text:disabled {
  opacity: 0.4;
  background: #1A1E2A !important;
  color: #6A6A6A !important;
  border-image: linear-gradient(135deg, #4A4A4A 0%, #2A2A2A 100%) !important;
  box-shadow: 0 2px 0 0 #080E14, inset 0 1px 4px rgba(0,0,0,0.3) !important;
  transform: none !important;
  pointer-events: none;
}

/* ========================================
输入栏 - 威士忌酒杯
======================================== */

#ai-chat-input {
  background: linear-gradient(145deg, #1E2F40 0%, #112030 50%, #1A2A3A 100%) !important;
  border: 2px solid transparent !important;
  border-image: linear-gradient(135deg, var(--bourbon-amber) 0%, var(--leopard-gold) 50%, var(--neon-pink) 100%) !important;
  border-image-slice: 1 !important;
  border-radius: 4px 14px 4px 14px !important;
  color: #F5F0E0 !important;
  caret-color: var(--neon-pink) !important;
  box-shadow: 
    inset 4px 4px 12px rgba(0, 0, 0, 0.7), 
    inset -1px -1px 4px rgba(212, 160, 23, 0.1), 
    0 3px 6px rgba(0, 0, 0, 0.4) !important;
  padding: 16px 20px !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  transition: all 0.2s ease !important;
}

#ai-chat-input::placeholder {
  color: #A09080 !important;
  opacity: 0.6 !important;
  font-style: italic !important;
  font-family: 'Special Elite', monospace !important;
}

#ai-chat-input:focus {
  outline: none !important;
  border-image: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-blue) 50%, var(--neon-pink) 100%) !important;
  box-shadow: 
    inset 4px 4px 14px rgba(0, 0, 0, 0.8), 
    inset -1px -1px 6px rgba(0, 240, 255, 0.15), 
    0 0 25px rgba(255, 16, 240, 0.4), 
    0 3px 8px rgba(0, 0, 0, 0.5) !important;
}

#ai-chat-bottom-input {
  background: transparent !important;
  backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 10px 5px !important;
}

/* ========================================
折叠状态栏 - 旧公寓储物箱
======================================== */

details {
  display: block !important;
  margin: 18px 0 !important;
  background: #112030 !important;
  border: 2px solid transparent !important;
  border-image: linear-gradient(135deg, var(--stud-silver) 0%, var(--denim-rip) 30%, var(--leopard-gold) 70%, var(--stud-dark) 100%) !important;
  border-image-slice: 1 !important;
  border-radius: 6px 20px 6px 20px !important;
  box-shadow: 
    0 6px 0 0 #080E14, 
    0 15px 30px rgba(0, 0, 0, 0.7), 
    inset 0 0 50px rgba(255, 16, 240, 0.1), 
    inset 0 1px 0 0 rgba(192, 192, 192, 0.2),
    0 0 25px rgba(188, 19, 254, 0.2) !important;
  padding: 20px 24px !important;
  color: #E8D5A5 !important;
  font-family: 'Special Elite', 'Courier New', monospace !important;
  line-height: 1.7 !important;
  background-image: 
    repeating-linear-gradient(0deg, transparent 0px, rgba(212, 160, 23, 0.03) 1px, transparent 2px),
    radial-gradient(circle at 20% 80%, rgba(255, 16, 240, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 240, 255, 0.06) 0%, transparent 50%),
    linear-gradient(165deg, rgba(30, 47, 64, 0.98) 0%, rgba(15, 25, 35, 0.99) 100%) !important;
  position: relative !important;
  transition: all 0.3s ease !important;
  overflow: hidden !important;
}

/* 铆钉装饰 */
details::before {
  content: "● ● ● ● ●" !important;
  position: absolute !important;
  top: -6px !important;
  left: 20px !important;
  right: 20px !important;
  color: var(--stud-silver) !important;
  font-size: 16px !important;
  letter-spacing: 15px !important;
  opacity: 0.6 !important;
  text-shadow: 0 0 8px var(--neon-blue), 0 2px 4px black !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

details[open] {
  background: #0D1A28 !important;
  border-image: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 50%, var(--neon-pink) 100%) !important;
  box-shadow: 
    0 6px 0 0 #080E14, 
    0 20px 40px rgba(0, 0, 0, 0.8), 
    inset 0 0 70px rgba(255, 16, 240, 0.15), 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
    0 0 35px rgba(255, 16, 240, 0.3) !important;
  padding-bottom: 26px !important;
}

details::after {
  content: "🎸 旧公寓 · 日落大道 · 摇滚不死 🎸" !important;
  position: absolute !important;
  bottom: 8px !important;
  right: 24px !important;
  font-size: 10px !important;
  color: var(--neon-pink) !important;
  opacity: 0.5 !important;
  font-family: 'Permanent Marker', cursive !important;
  letter-spacing: 2px !important;
  pointer-events: none !important;
  text-transform: uppercase !important;
  text-shadow: 0 0 10px var(--neon-pink), 0 0 20px rgba(0, 0, 0, 0.7) !important;
  z-index: 1 !important;
}

details > * {
  position: relative !important;
  z-index: 2 !important;
}

/* 左侧撕裂线 */
details > :first-child::before {
  content: "" !important;
  position: absolute !important;
  left: -6px !important;
  top: 30px !important;
  bottom: 30px !important;
  width: 3px !important;
  background: repeating-linear-gradient(to bottom, 
    transparent, 
    var(--denim-rip) 10px, 
    transparent 20px,
    var(--neon-purple) 30px,
    transparent 40px) !important;
  opacity: 0.6 !important;
  border-radius: 2px !important;
  box-shadow: 0 0 12px var(--neon-blue) !important;
}

details summary {
  background: linear-gradient(135deg, #1E2F40 0%, #0F1A24 50%, #1E2F40 100%) !important;
  border: 2px solid transparent !important;
  border-image: linear-gradient(135deg, var(--neon-pink) 0%, var(--leopard-gold) 50%, var(--neon-blue) 100%) !important;
  border-image-slice: 1 !important;
  border-radius: 2px 12px 2px 12px !important;
  color: #E8D5A5 !important;
  font-weight: 700 !important;
  font-size: 1.2em !important;
  letter-spacing: 5px !important;
  text-shadow: 0 3px 5px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 16, 240, 0.6) !important;
  padding: 16px 24px 16px 52px !important;
  margin: -12px -12px 18px -12px !important;
  box-shadow: 0 4px 0 0 #080E14, inset 0 0 20px rgba(255, 16, 240, 0.2) !important;
  cursor: pointer !important;
  list-style: none !important;
  position: relative !important;
  transition: all 0.2s ease !important;
  font-family: 'Limelight', cursive !important;
  display: flex !important;
  align-items: center !important;
}

details summary::-webkit-details-marker {
  display: none !important;
}

details summary::before {
  content: "🎤" !important;
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) rotate(-10deg) !important;
  font-size: 24px !important;
  filter: drop-shadow(0 0 10px var(--neon-pink)) !important;
  transition: transform 0.25s ease !important;
  opacity: 0.9 !important;
}

details summary::after {
  content: "🔥" !important;
  position: absolute !important;
  right: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 22px !important;
  filter: drop-shadow(0 0 8px var(--neon-blue)) !important;
  opacity: 0.8 !important;
  transition: transform 0.3s ease !important;
}

details[open] summary::before {
  content: "🎸" !important;
  transform: translateY(-50%) rotate(0deg) !important;
  filter: drop-shadow(0 0 15px var(--neon-purple)) !important;
}

details[open] summary::after {
  content: "💥" !important;
  transform: translateY(-50%) rotate(180deg) !important;
}

details summary:hover {
  background: linear-gradient(135deg, #2A3F50 0%, #1A2A3A 50%, #2A3F50 100%) !important;
  border-image: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-pink) 50%, var(--neon-purple) 100%) !important;
  color: #FFFFFF !important;
  text-shadow: 0 3px 5px rgba(0, 0, 0, 0.8), 0 0 20px var(--neon-pink) !important;
  transform: translate(-2px, -2px) !important;
  box-shadow: 0 6px 0 0 #080E14, inset 0 0 25px rgba(0, 240, 255, 0.3), 0 0 20px rgba(255, 16, 240, 0.4) !important;
}

/* 档案内容样式 */
details p:has("🪪"),
details div:has("🪪") {
  font-size: 1.3em !important;
  font-weight: 700 !important;
  color: var(--neon-pink) !important;
  text-shadow: 0 3px 5px rgba(0, 0, 0, 0.7), 0 0 20px var(--neon-pink) !important;
  border-bottom: 3px solid transparent !important;
  border-image: linear-gradient(90deg, transparent, var(--neon-purple) 50%, transparent) !important;
  border-image-slice: 1 !important;
  padding-bottom: 12px !important;
  margin-bottom: 18px !important;
  letter-spacing: 3px !important;
  font-family: 'Permanent Marker', cursive !important;
}

details strong,
details b {
  color: var(--leopard-gold) !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
}

details p:has("🔸"),
details div:has("🔸") {
  color: var(--neon-blue) !important;
  font-weight: 600 !important;
  letter-spacing: 3px !important;
  border-left: 5px solid var(--neon-pink) !important;
  padding-left: 16px !important;
  margin: 20px 0 12px 0 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  font-family: 'Limelight', cursive !important;
}

details li,
details ul li {
  color: #DDD0C0 !important;
  margin: 10px 0 !important;
  padding-left: 12px !important;
  list-style-type: none !important;
  position: relative !important;
}

details li::before {
  content: "⚡" !important;
  position: absolute !important;
  left: -16px !important;
  color: var(--neon-pink) !important;
  font-size: 14px !important;
  opacity: 0.9 !important;
  text-shadow: 0 0 8px var(--neon-pink) !important;
}

details ul {
  padding-left: 30px !important;
  margin: 12px 0 !important;
}

details code,
details pre {
  background: rgba(15, 25, 35, 0.9) !important;
  border: 1px solid var(--stud-silver) !important;
  border-radius: 4px !important;
  padding: 4px 12px !important;
  color: var(--neon-blue) !important;
  font-family: 'Courier New', monospace !important;
  font-size: 0.9em !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 240, 255, 0.3) !important;
  text-shadow: 0 0 6px var(--neon-blue) !important;
}

details em {
  color: #C0B8A0 !important;
  font-style: italic !important;
  background: rgba(30, 47, 64, 0.5) !important;
  padding: 5px 14px !important;
  border-radius: 2px 10px 2px 10px !important;
  border-left: 4px solid var(--neon-pink) !important;
  display: inline-block !important;
  text-shadow: 0 0 10px rgba(255, 16, 240, 0.3) !important;
}

/* ========================================
积分消耗栏 - 威士忌与香烟
======================================== */

.MuiStack-root.text-purple-500.mt-1.css-1kz283j {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px 20px !important;
  margin-top: 14px !important;
  padding: 14px 20px !important;
  background: linear-gradient(145deg, #1E2F40 0%, #0F1A24 50%, #152535 100%) !important;
  border: 2px solid transparent !important;
  border-image: linear-gradient(135deg, var(--leopard-gold) 0%, var(--neon-pink) 50%, var(--leopard-gold) 100%) !important;
  border-image-slice: 1 !important;
  border-radius: 2px 12px 2px 12px !important;
  box-shadow: 
    inset 0 3px 8px rgba(0, 0, 0, 0.7), 
    inset 0 -1px 3px rgba(212, 160, 23, 0.15), 
    0 4px 0 0 #080E14, 
    0 8px 15px rgba(0, 0, 0, 0.4) !important;
  position: relative !important;
  overflow: hidden !important;
}

.MuiStack-root.text-purple-500.mt-1.css-1kz283j::before {
  content: "🥃";
  position: absolute;
  left: 10px;
  bottom: 5px;
  font-size: 30px;
  opacity: 0.1;
  transform: rotate(-10deg);
  pointer-events: none;
  z-index: 0;
}

.MuiStack-root.text-purple-500.mt-1.css-1kz283j p {
  position: relative !important;
  z-index: 2 !important;
  margin: 0 !important;
  padding: 5px 10px 5px 26px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  font-family: 'Special Elite', monospace !important;
  letter-spacing: 1px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.MuiStack-root.text-purple-500.mt-1.css-1kz283j p::before {
  content: "🎸" !important;
  position: absolute !important;
  left: 4px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 14px !important;
  opacity: 0.8 !important;
  filter: drop-shadow(0 0 5px var(--neon-pink));
}

.MuiStack-root.text-purple-500.mt-1.css-1kz283j p:first-child {
  color: var(--neon-blue) !important;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.4) !important;
}

.MuiStack-root.text-purple-500.mt-1.css-1kz283j p.text-orange-500 {
  color: var(--leopard-gold) !important;
  text-shadow: 0 0 8px rgba(212, 160, 23, 0.5) !important;
}

.MuiStack-root.text-purple-500.mt-1.css-1kz283j p.text-orange-500::before {
  content: "🥁" !important;
  color: var(--leopard-gold) !important;
}

.MuiStack-root.text-purple-500.mt-1.css-1kz283j p.text-orange-500::after {
  content: "SHOTS" !important;
  margin-left: 6px !important;
  font-size: 11px !important;
  opacity: 0.8 !important;
  color: var(--bourbon-amber) !important;
  font-weight: bold !important;
}

/* ========================================
旧公寓霓虹招牌
======================================== */

.flex.items-center.justify-center.w-6.h-5 {
  width: auto !important;
  min-width: 240px !important;
  height: auto !important;
  min-height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  position: relative !important;
  background: linear-gradient(165deg, #1A2A3A 0%, #0A1520 40%, #1A2A3A 100%) !important;
  border: 2px solid transparent !important;
  border-image: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 50%, var(--neon-blue) 100%) !important;
  border-image-slice: 1 !important;
  border-radius: 30px 2px 30px 2px !important;
  box-shadow: 
    0 4px 0 0 #080E14, 
    0 8px 20px rgba(0, 0, 0, 0.6), 
    inset 0 1px 4px rgba(255, 16, 240, 0.3),
    0 0 30px rgba(188, 19, 254, 0.3) !important;
  padding: 12px 32px !important;
  transition: all 0.3s ease !important;
  overflow: hidden !important;
  animation: neon-flicker 3s ease-in-out infinite !important;
}

.flex.items-center.justify-center.w-6.h-5::before {
  content: "⚡";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--neon-pink);
  text-shadow: 0 0 15px var(--neon-pink);
  opacity: 0.8;
  z-index: 1;
}

.flex.items-center.justify-center.w-6.h-5::after {
  content: "⚡";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--neon-blue);
  text-shadow: 0 0 15px var(--neon-blue);
  opacity: 0.8;
  z-index: 1;
}

.style_dot-flashing__8L91Q {
  display: none !important;
}

.flex.items-center.justify-center.w-6.h-5 .style_text__zGhNq,
.flex.items-center.justify-center.w-6.h-5 > div {
  position: relative !important;
  z-index: 2 !important;
  font-family: 'Limelight', cursive !important;
  font-size: 0 !important;
  font-weight: 700 !important;
  letter-spacing: 8px !important;
  color: #FFFFFF !important;
  text-shadow: 
    0 3px 5px rgba(0, 0, 0, 0.8), 
    0 0 15px var(--neon-pink),
    0 0 30px var(--neon-purple),
    0 0 45px var(--neon-blue) !important;
  white-space: nowrap !important;
  animation: neon-text-pulse 2.5s ease-in-out infinite !important;
  line-height: 1.5 !important;
}

.flex.items-center.justify-center.w-6.h-5 .style_text__zGhNq::before,
.flex.items-center.justify-center.w-6.h-5 > div::before {
  content: "🎸" !important;
  margin-right: 12px !important;
  font-size: 18px !important;
  color: var(--leopard-gold) !important;
  text-shadow: 0 0 12px var(--leopard-gold) !important;
  display: inline-block !important;
}

.flex.items-center.justify-center.w-6.h-5 .style_text__zGhNq::after,
.flex.items-center.justify-center.w-6.h-5 > div::after {
  content: "旧 公 寓 · 摇 滚 明 星" !important;
  margin-left: 12px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 6px !important;
  color: #FFFFFF !important;
  text-shadow: 
    0 3px 5px rgba(0, 0, 0, 0.8), 
    0 0 15px var(--neon-pink),
    0 0 30px var(--neon-purple) !important;
  white-space: nowrap !important;
  animation: neon-text-pulse 2.5s ease-in-out infinite !important;
  display: inline-block !important;
}

.flex.items-center.justify-center.w-6.h-5 > div:not([class]) {
  font-size: 0 !important;
}

.flex.items-center.justify-center.w-6.h-5 > div:not([class])::before {
  content: "🥁" !important;
  margin-right: 15px !important;
  font-size: 20px !important;
  color: var(--neon-blue) !important;
  text-shadow: 0 0 15px var(--neon-blue) !important;
  animation: rotate-slow 5s linear infinite !important;
  display: inline-block !important;
}

.flex.items-center.justify-center.w-6.h-5 > div:not([class])::after {
  content: "旧 公 寓 · 摇 滚 明 星" !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 6px !important;
  white-space: nowrap !important;
  color: #FFFFFF !important;
  text-shadow: 
    0 3px 5px rgba(0, 0, 0, 0.8), 
    0 0 15px var(--neon-pink),
    0 0 30px var(--neon-purple) !important;
  animation: neon-text-pulse 2.5s ease-in-out infinite !important;
}

/* ========================================
动画定义
======================================== */

@keyframes neon-text-pulse {
  0%, 100% {
    opacity: 1;
    text-shadow: 
      0 3px 5px rgba(0, 0, 0, 0.8), 
      0 0 15px var(--neon-pink),
      0 0 30px var(--neon-purple),
      0 0 45px var(--neon-blue);
  }
  50% {
    opacity: 0.9;
    text-shadow: 
      0 3px 5px rgba(0, 0, 0, 0.8), 
      0 0 25px var(--neon-pink),
      0 0 45px var(--neon-purple),
      0 0 65px var(--neon-blue);
  }
}

@keyframes neon-flicker {
  0%, 100% {
    box-shadow: 
      0 4px 0 0 #080E14, 
      0 8px 20px rgba(0, 0, 0, 0.6), 
      inset 0 1px 4px rgba(255, 16, 240, 0.3),
      0 0 30px rgba(188, 19, 254, 0.3);
  }
  5% {
    box-shadow: 
      0 4px 0 0 #080E14, 
      0 8px 20px rgba(0, 0, 0, 0.6), 
      inset 0 1px 4px rgba(255, 16, 240, 0.1),
      0 0 15px rgba(188, 19, 254, 0.1);
  }
  10% {
    box-shadow: 
      0 4px 0 0 #080E14, 
      0 8px 20px rgba(0, 0, 0, 0.6), 
      inset 0 1px 4px rgba(255, 16, 240, 0.5),
      0 0 40px rgba(188, 19, 254, 0.5);
  }
}

@keyframes rotate-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========================================
滚动条与细节
======================================== */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0D1520;
  border-radius: 2px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.7);
  border-left: 1px solid var(--stud-dark);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(165deg, var(--denim-dark) 0%, var(--neon-purple) 50%, var(--denim-rip) 100%);
  border-radius: 2px;
  border: 1px solid var(--stud-silver);
  box-shadow: inset 0 0 6px rgba(255, 16, 240, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(165deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
  border-color: var(--neon-blue);
}

/* ========================================
通用元素点缀
======================================== */

a {
  color: var(--neon-pink) !important;
  text-decoration: underline wavy rgba(255, 16, 240, 0.5) !important;
  text-underline-offset: 5px;
  transition: all 0.2s;
}

a:hover {
  color: var(--neon-blue) !important;
  text-decoration-color: var(--neon-purple) !important;
  text-shadow: 0 0 8px var(--neon-pink);
}

blockquote {
  border-left: 4px solid var(--neon-pink) !important;
  background: rgba(255, 16, 240, 0.05) !important;
  padding: 10px 18px !important;
  margin: 14px 0 !important;
  border-radius: 0 10px 10px 0 !important;
  color: #D0C5B0 !important;
}

code, pre {
  background: #0D1520 !important;
  color: var(--neon-blue) !important;
  border-radius: 4px;
  padding: 3px 8px;
  border: 1px solid var(--stud-dark);
}

h1, h2, h3 {
  position: relative;
  color: var(--neon-pink) !important;
  text-shadow: 0 3px 5px rgba(0,0,0,0.6), 0 0 15px var(--neon-pink) !important;
  font-family: 'Limelight', cursive !important;
}

h1::after, h2::after, h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--border-neon);
  border-radius: 2px;
  box-shadow: 0 0 15px var(--neon-pink);
}

ul:not([class]) li::marker {
  color: var(--neon-pink) !important;
  content: "🎸 " !important;
}

ol:not([class]) li::marker {
  color: var(--leopard-gold) !important;
  font-weight: bold;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 18px 0;
  background: rgba(15, 25, 35, 0.7);
  border: 1px solid var(--stud-silver);
  border-radius: 8px;
  overflow: hidden;
}

th {
  background: linear-gradient(165deg, var(--denim-dark), #1A2A3A);
  color: var(--neon-pink) !important;
  padding: 12px 14px;
  border-bottom: 2px solid var(--neon-purple);
}

td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(192, 192, 192, 0.2);
  color: #F0E6D2 !important;
}

hr {
  border: none;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--neon-pink) 0px, var(--neon-pink) 6px, transparent 6px, transparent 12px);
  margin: 28px 0;
  position: relative;
}

hr::after {
  content: "⚡";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--denim-dark);
  color: var(--neon-pink);
  padding: 0 14px;
  font-size: 14px;
  text-shadow: 0 0 12px var(--neon-pink);
}

::selection {
  background: rgba(255, 16, 240, 0.4) !important;
  color: #FFFFFF !important;
  text-shadow: 0 0 5px var(--neon-pink) !important;
}

::-moz-selection {
  background: rgba(255, 16, 240, 0.4) !important;
  color: #FFFFFF !important;
}

/* ========================================
响应式适配
======================================== */

@media (max-width: 768px) {
  .status-content {
    padding: 18px 14px !important;
    margin: 14px 5px !important;
    border-radius: 6px 18px 6px 18px !important;
  }
  
  body::after {
    font-size: 24px !important;
    top: 20px !important;
    left: 20px !important;
  }
  
  .group .bg-gray-100\/90 {
    padding: 14px 16px !important;
    font-size: 14px !important;
  }
  
  .group .bg-gray-100\/90::before {
    width: 30px !important;
    height: 30px !important;
    left: -10px !important;
    top: -10px !important;
  }
  
  .group .bg-gray-100\/90::after {
    font-size: 40px !important;
    right: -18px !important;
    bottom: -10px !important;
  }
  
  .flex.items-center.gap-2.pb-2 > button {
    padding: 8px 14px !important;
    font-size: 12px !important;
  }
  
  .MuiButtonBase-root.MuiButton-root.MuiButton-text {
    padding: 8px 16px !important;
    font-size: 13px !important;
    min-width: 56px !important;
  }
  
  #ai-chat-input {
    padding: 14px 16px !important;
  }
  
  details {
    padding: 16px 18px !important;
    margin: 18px 0 !important;
    border-radius: 4px 16px 4px 16px !important;
  }
  
  details summary {
    padding: 14px 18px 14px 48px !important;
    font-size: 1.1em !important;
    letter-spacing: 4px !important;
  }
  
  details summary::before {
    left: 14px !important;
    font-size: 22px !important;
  }
  
  details summary::after {
    right: 14px !important;
    font-size: 20px !important;
  }
  
  details::after {
    font-size: 9px !important;
    bottom: 6px !important;
    right: 16px !important;
  }
  
  .flex.items-center.justify-center.w-6.h-5 {
    min-width: 220px !important;
    min-height: 46px !important;
    padding: 10px 24px !important;
  }
  
  .flex.items-center.justify-center.w-6.h-5 .style_text__zGhNq::after,
  .flex.items-center.justify-center.w-6.h-5 > div::after,
  .flex.items-center.justify-center.w-6.h-5 > div:not([class])::after {
    font-size: 16px !important;
    letter-spacing: 5px !important;
  }
}

@media (max-width: 480px) {
  body::after {
    display: none !important;
  }
  
  body::before {
    width: 150px !important;
    height: 80px !important;
  }
  
  .status-content::after {
    width: 30px !important;
    height: 30px !important;
  }
  
  .group .bg-gray-100\/90::before,
  .group .bg-gray-100\/90::after {
    display: block !important;
  }
  
  .group .bg-gray-100\/90::before {
    width: 25px !important;
    height: 25px !important;
  }
  
  .group .bg-gray-100\/90::after {
    font-size: 35px !important;
    right: -15px !important;
  }
  
  .MuiButtonBase-root.MuiButton-root.MuiButton-text {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  
  details {
    padding: 14px 14px !important;
    margin: 14px 0 !important;
  }
  
  details summary {
    padding: 12px 14px 12px 42px !important;
    font-size: 1em !important;
    letter-spacing: 3px !important;
  }
  
  details summary::before {
    left: 12px !important;
    font-size: 20px !important;
  }
  
  details summary::after {
    right: 12px !important;
    font-size: 18px !important;
  }
  
  details::after {
    display: none !important;
  }
  
  details > :first-child::before {
    display: none !important;
  }
  
  .MuiStack-root.text-purple-500.mt-1.css-1kz283j {
    padding: 10px 14px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }
  
  .flex.items-center.justify-center.w-6.h-5 {
    min-width: 190px !important;
    min-height: 42px !important;
    padding: 8px 18px !important;
  }
  
  .flex.items-center.justify-center.w-6.h-5 .style_text__zGhNq::after,
  .flex.items-center.justify-center.w-6.h-5 > div::after,
  .flex.items-center.justify-center.w-6.h-5 > div:not([class])::after {
    content: "旧 公 寓" !important;
    font-size: 14px !important;
    letter-spacing: 4px !important;
  }
  
  .flex.items-center.justify-center.w-6.h-5::before,
  .flex.items-center.justify-center.w-6.h-5::after {
    font-size: 16px !important;
  }
}