独立渲染引擎就绪引擎就绪
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>端侧AI战术生成系统演示</title>
<style>
:root {
--bg-color: #080C16;
--court-line: rgba(42, 75, 124, 0.6);
--offense: #00F0FF;
--defense: #FF2A55;
--ai-accent: #00FF66;
--coach-input: #FFE600;
--text-color: #8BA3C5;
--panel-bg: rgba(12, 18, 30, 0.85);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Courier New', Courier, monospace, system-ui;
}
body {
background-color: var(--bg-color);
color: var(--text-color);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
overflow: hidden;
background-image:
linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
background-size: 20px 20px;
}
.container {
position: relative;
width: 1000px;
height: 640px;
display: flex;
background: radial-gradient(circle at center, rgba(16, 26, 43, 1) 0%, rgba(8, 12, 22, 1) 100%);
border: 1px solid rgba(0, 240, 255, 0.2);
border-radius: 12px;
box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 240, 255, 0.05);
overflow: hidden;
}
/* ---------------- HUD Panels ---------------- */
.hud-panel {
position: absolute;
background: var(--panel-bg);
border: 1px solid rgba(0, 240, 255, 0.15);
backdrop-filter: blur(8px);
border-radius: 6px;
padding: 12px;
z-index: 10;
display: flex;
flex-direction: column;
gap: 8px;
pointer-events: none;
transition: opacity 0.3s ease;
}
.hud-left { top: 20px; left: 20px; width: 220px; }
.hud-right { top: 20px; right: 20px; width: 220px; }
.hud-bottom {
bottom: 20px; left: 50%; transform: translateX(-50%);
width: 600px; padding: 8px 16px;
flex-direction: row; justify-content: space-between; align-items: center;
pointer-events: auto;
}
.hud-title {
font-size: 12px;
font-weight: bold;
color: var(--offense);
text-transform: uppercase;
letter-spacing: 1px;
border-bottom: 1px solid rgba(0, 240, 255, 0.2);
padding-bottom: 4px;
margin-bottom: 4px;
}
.hud-text { font-size: 11px; line-height: 1.4; color: #A0B6D4; }
.hud-highlight { color: var(--ai-accent); font-weight: bold; }
/* Voice Wave */
.voice-container {
display: flex;
align-items: center;
gap: 4px;
height: 20px;
opacity: 0.2;
transition: opacity 0.3s ease;
}
.voice-container.active { opacity: 1; }
.bar {
width: 3px; background: var(--offense); height: 100%; border-radius: 2px;
animation: none;
}
.voice-container.active .bar {
积分规则:第一轮对话扣减8分,后续每轮扣6分
等待动画代码生成...
