:root {
	
	--text-primary: #1f2937;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --header-height: 64px;
	--container-max: 1280px;
	--text-light: #ffffff;
	--bg-secondary: #f9fafb;
  --border-radius: 8px;
  --transition-fast: 0.15s ease;
	--primary-color: #4f46e5;
	--primary-light: #818cf8;
	--border-radius: 8px;
	--bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e293b;
    --light: #f8fafc;
	--primary-color: #4f46e5;
	--transition-fast: 0.15s ease;
    --gray: #64748b;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {

  text-decoration: none;
  transition: color var(--transition-fast);
}


ul, ol {
  list-style: none;
}
body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
    z-index: -1;
    animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}
.btn-secondary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(255, 255, 255, 0.2);
	color: white;
	padding: 14px 35px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	transition: var(--transition);
	border: 2px solid rgba(255, 255, 255, 0.3);
	cursor: pointer;
	backdrop-filter: blur(10px);
}
.container {
   width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

.btn-sm {
	padding: 0.375rem 0.75rem !important; 
	font-size: 0.875rem;
}

.btn-primary1 {
	background: var(--primary-color);
	color: var(--text-light);
}
.btn-primary {
	background: var(--primary-color);
	color: var(--text-light);
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.625rem 1.25rem;
	font-weight: 500;
	border-radius: var(--border-radius);
	border: none;
	cursor: pointer;
	transition: all var(--transition-fast);
	white-space: nowrap;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}
.site-title {
    font-size: 24px;
    font-weight: bold;
    color: #777ef4;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.2;
}

.auth-btns {
	display: flex;
	gap: 10px;
}



.nav-main {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
  background: rgba(79, 70, 229, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: #f40909;
  background: transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-right: 10px;
}

.nav-icon-btn:hover {
  background: var(--bg-tertiary);
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-main {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 1rem;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
  }
  
  .nav-main.active {
    transform: translateX(0);
  }
  
  .nav-menu {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
  }
}
/* .navbar {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}
 */
main {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

.hero {
    background: var(--gradient-hero);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: heroShine 10s linear infinite;
}

@keyframes heroShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-primary1 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary);
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.btn-primary1:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}
/* Dark Mode */
[data-theme="dark"] {
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --bg-tertiary: #374151;
  
  --border-color: #374151;
}
/* .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    backdrop-filter: blur(10px);
} */

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.features {
    padding: 6rem 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

.learning-modules {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.module-card {
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: white;
}

.module-card.easy { background: var(--gradient-1); }
.module-card.medium { background: var(--gradient-2); }
.module-card.hard { background: var(--gradient-3); }

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    transition: var(--transition);
}

.module-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.module-card:hover::before {
    background: rgba(255, 255, 255, 0.1);
}

.module-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.module-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.module-card p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
}

.module-link {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.module-link:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.stats-container {
    padding: 6rem 0;
    background: var(--dark);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
}

.how-to-play {
    padding: 4rem 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.step-card h3 {
    color: var(--dark);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.step-card p {
    color: var(--gray);
    line-height: 1.7;
}

footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 2.5rem 0;
}

footer p {
    font-size: 0.95rem;
}

.game-controls {
    margin: 20px 0;
}

.mode-selector {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.mode-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.mode-btn {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    padding: 1rem 1.2rem;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mode-btn:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.mode-btn.active {
    border-color: var(--primary);
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.mode-icon {
    font-size: 2rem;
}

.mode-name {
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .mode-buttons {
        gap: 0.8rem;
    }
    
    .mode-btn {
        min-width: 120px;
        padding: 0.8rem 1rem;
    }
    
    .mode-icon {
        font-size: 1.8rem;
    }
    
    .mode-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .mode-buttons {
        gap: 0.6rem;
    }
    
    .mode-btn {
        min-width: 100px;
        flex: 1 1 calc(50% - 0.3rem);
        max-width: none;
        padding: 0.7rem 0.8rem;
    }
}

.control-panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .control-panel {
        flex-direction: column;
        align-items: stretch;
        padding: 1.2rem 1.5rem;
        gap: 1.2rem;
    }
}

.difficulty-selector {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .difficulty-selector {
        width: 100%;
        justify-content: center;
    }
}

.difficulty-selector label {
    font-weight: 700;
    color: var(--dark);
    font-size: 1rem;
}

.difficulty-btn {
    padding: 10px 24px;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.difficulty-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: scale(1.05);
}

.difficulty-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.game-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .game-stats {
        width: 100%;
        justify-content: space-between;
    }
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-badge strong {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 700;
}

.stat-icon {
    font-size: 1.3rem;
}

.combo-display {
    position: fixed;
    top: 100px;
    right: 30px;
    background: var(--gradient-2);
    color: white;
    padding: 15px 25px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    animation: comboPopIn 0.3s ease;
    display: none;
}

.combo-display.show {
    display: block;
}

@keyframes comboPopIn {
    from { transform: scale(0.5) translateX(50px); opacity: 0; }
    to { transform: scale(1) translateX(0); opacity: 1; }
}

.game-area {
    background: var(--gradient-1);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.game-area::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.game-area::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.word-hint {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.chinese-meaning {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.8rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: meaningPulse 2s ease-in-out infinite;
}

@keyframes meaningPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.word-length {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    font-weight: 500;
}

.btn-speak {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 1rem;
}

.btn-speak:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: scale(1.05);
}

.answer-zone {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.answer-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    text-align: center;
    font-weight: 600;
}

.answer-slots {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 70px;
}

.answer-slot {
    width: 55px;
    height: 62px;
    background: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.answer-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
}

.answer-slot:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.answer-slot.empty {
    background: rgba(255, 255, 255, 0.3);
    border: 3px dashed rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.answer-slot.hint {
    background: var(--success);
    color: white;
    cursor: default;
    animation: hintGlow 1s ease infinite;
}

@keyframes hintGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 35px rgba(16, 185, 129, 0.8); }
}

.answer-slot.correct {
    background: var(--success);
    color: white;
    animation: correctBounce 0.5s ease;
}

@keyframes correctBounce {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.2); }
    60% { transform: scale(0.95); }
}

.answer-slot.wrong {
    background: var(--danger);
    color: white;
    animation: wrongShake 0.5s ease;
}

@keyframes wrongShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

.letters-zone {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.letters-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    text-align: center;
    font-weight: 600;
}

.letter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.letter-btn {
    width: 52px;
    height: 58px;
    background: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
    text-transform: uppercase;
    position: relative;
}

.letter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    border-radius: 0 0 var(--radius) var(--radius);
    transform: scaleX(0);
    transition: var(--transition);
}

.letter-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.letter-btn:hover::after {
    transform: scaleX(1);
}

.letter-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.letter-btn.used {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: default;
    transform: scale(0.85);
    opacity: 0.5;
    box-shadow: none;
}

.game-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-game {
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
}

.btn-game:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-hint {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.btn-hint:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.btn-clear {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
}

.btn-check {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-skip {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.result-feedback {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    min-height: 35px;
    position: relative;
    z-index: 1;
}

.result-feedback.success {
    color: #a7f3d0;
}

.result-feedback.error {
    color: white;
    background: rgba(239, 68, 68, 0.9);
    padding: 12px 25px;
    border-radius: var(--radius);
    display: inline-block;
}

.result-feedback.hint {
    color: #fef3c7;
}

.phrase-input-zone {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.phrase-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-family: inherit;
    color: var(--dark);
    transition: var(--transition);
    box-sizing: border-box;
}

.phrase-input:focus {
    outline: none;
    border-color: white;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.timer-zone {
    background: white;
    padding: 1.2rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    text-align: center;
}

.timer-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.timer-icon {
    font-size: 1.5rem;
}

.timer-text strong {
    color: var(--danger);
    font-size: 1.3rem;
    margin-left: 0.5rem;
}

@media (max-width: 480px) {
    .phrase-input-zone {
        padding: 1.5rem;
    }
    
    .phrase-input {
        font-size: 1rem;
        padding: 12px 16px;
    }
    
    .timer-zone {
        padding: 1rem 1.5rem;
    }
    
    .timer-display {
        font-size: 1rem;
    }
    
    .timer-text strong {
        font-size: 1.15rem;
    }
}

.data-management {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.data-management h3 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.data-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-data {
    padding: 12px 28px;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-data:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-data.btn-reset {
    border-color: var(--danger);
    color: var(--danger);
}

.btn-data.btn-reset:hover {
    background: var(--danger);
    color: white;
}

.import-help {
    color: var(--gray);
    font-size: 0.9rem;
}

.import-help code {
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: 'Consolas', monospace;
    font-size: 0.85rem;
}

.achievements-panel {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.achievements-panel h3 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.statistics-panel {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.statistics-panel h3 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.2rem;
    }
    
    .stat-value {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .statistics-panel, .achievements-panel {
        padding: 1.5rem;
    }
    
    .stats-overview {
        grid-template-columns: 1fr;
    }
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.achievement-badge {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 1.2rem 1rem;
    text-align: center;
    transition: var(--transition);
    opacity: 0.5;
}

.achievement-badge.unlocked {
    opacity: 1;
    border-color: var(--warning);
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.achievement-badge.unlocked .achievement-icon {
    animation: badgeShine 2s ease infinite;
}

@keyframes badgeShine {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.achievement-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.achievement-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.show {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
    position: relative;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    margin: 0;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #94a3b8;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    color: var(--danger);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.import-options {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.file-upload input {
    display: none;
}

.file-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.file-upload-btn:hover {
    background: var(--primary-dark);
}

.or-divider {
    color: #94a3b8;
    font-weight: 600;
}

.modal-body textarea {
    width: 100%;
    height: 250px;
    padding: 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: 0.95rem;
    resize: vertical;
    margin-bottom: 1.5rem;
    font-family: inherit;
    transition: var(--transition);
}

.modal-body textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.modal-success {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 600px !important;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: successBounce 0.6s ease;
}

@keyframes successBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.modal-success h3 {
    color: var(--success);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.modal-success p {
    color: var(--gray);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.modal-success strong {
    color: var(--dark);
    font-size: 1.3rem;
}

.bonus-info {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    font-weight: 600;
    color: #92400e;
    font-size: 0.9rem;
}

.modal-complete {
    text-align: center;
    padding: 3rem 2rem;
}

.complete-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: trophyShine 1s ease infinite;
}

@keyframes trophyShine {
    0%, 100% { transform: rotate(-5deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.1); }
}

.modal-complete h3 {
    color: var(--warning);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.complete-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.modal-daily-result {
    text-align: center;
    padding: 3rem 2.5rem;
    max-width: 480px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.daily-result-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: dailyBounce 0.8s ease;
}

@keyframes dailyBounce {
    0% { transform: scale(0) rotate(-180deg); }
    60% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.modal-daily-result h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.daily-result-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(99, 102, 241, 0.1);
}

.daily-stat-item {
    text-align: center;
}

.daily-stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.daily-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.daily-stat-value span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray);
    margin-left: 0.3rem;
}

.daily-stat-divider {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.daily-result-message {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #92400e;
    border: 2px solid #fbbf24;
}

.btn-daily-close {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: var(--radius);
}

@media (max-width: 480px) {
    .modal-daily-result {
        padding: 2rem 1.5rem;
    }
    
    .daily-result-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.2rem;
    }
    
    .daily-stat-divider {
        width: 50px;
        height: 2px;
    }
    
    .daily-stat-value {
        font-size: 2rem;
    }
    
    .daily-result-message {
        font-size: 1rem;
        padding: 1rem;
    }
}

.article-page {
    text-align: center;
    padding: 3rem 0;
}

.articles-header h1 {

    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.articles-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.article-header-card h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.article-header-card h2 a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.article-header-card h2 a:hover {
    color: var(--primary);
}

.article-intro {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.tag {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.article-content {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.article-content h3 {
    color: var(--dark);
    margin: 1.8rem 0 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.article-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.article-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.article-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .nav-container {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: center;
    }
    
    .control-panel {
        flex-direction: column;
        text-align: center;
    }
    
    .difficulty-selector {
        justify-content: center;
    }
    
    .game-stats {
        justify-content: center;
    }
    
    .game-area {
        padding: 2rem 1.5rem;
    }
    
    .chinese-meaning {
        font-size: 2.2rem;
    }
    
    .answer-slot {
        width: 45px;
        height: 52px;
        font-size: 1.5rem;
    }
    
    .letter-btn {
        width: 44px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .btn-game {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .modules-grid, .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    main {
        margin-top: 120px;
    }
    
    .combo-display {
        right: 15px;
        top: 140px;
        font-size: 1rem;
        padding: 10px 18px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .game-area {
        padding: 1.5rem 1rem;
        border-radius: var(--radius);
    }
    
    .chinese-meaning {
        font-size: 1.8rem;
    }
    
    .answer-slot {
        width: 38px;
        height: 45px;
        font-size: 1.3rem;
        border-radius: 8px;
    }
    
    .answer-slots, .letter-buttons {
        gap: 6px;
    }
    
    .letter-btn {
        width: 38px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .game-buttons {
        gap: 8px;
    }
    
    .btn-game {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .data-buttons {
        flex-direction: column;
    }
    
    .btn-data {
        width: 100%;
    }
    
    .difficulty-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .stat-badge {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .achievement-badge {
        padding: 1rem 0.5rem;
    }
    
    .achievement-icon {
        font-size: 2rem;
    }
    
    .achievement-name {
        font-size: 0.75rem;
    }
}

@media print {
    .navbar, .game-controls, .data-management, footer {
        display: none;
    }
}

.word-details-card {
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    text-align: left;
    border: 1px solid rgba(99, 102, 241, 0.1);
    max-width: 100%;
    box-sizing: border-box;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(100, 116, 139, 0.1);
    flex-wrap: wrap;
}

.detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-row:first-child {
    padding-top: 0;
}

.detail-label {
    flex-shrink: 0;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    min-width: 75px;
}

.detail-value {
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
    word-break: break-word;
    min-width: 0;
}

.phonetic-text {
    font-family: 'Lucida Sans Unicode', 'Arial Unicode MS', sans-serif;
    font-size: 1.05rem;
    color: var(--primary-dark);
    background: rgba(99, 102, 241, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
}

.btn-mini-speak {
    background: var(--gradient-1);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-mini-speak:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.root-analysis {
    flex-direction: column;
    align-items: stretch;
}

.root-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.root-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.root-tag.prefix {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.root-tag.root {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.root-tag.suffix {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.root-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-success .word-details-card {
    max-height: 350px;
    overflow-y: auto;
}

.word-details-card::-webkit-scrollbar {
    width: 6px;
}

.word-details-card::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.word-details-card::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.word-details-card::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

@media (max-width: 480px) {
    .word-details-card {
        padding: 12px;
        margin-top: 12px;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 6px;
        padding: 8px 0;
    }
    
    .detail-label {
        min-width: auto;
        font-size: 0.85rem;
    }
    
    .detail-value {
        font-size: 0.9rem;
    }
    
    .root-tag {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    
    .phonetic-text {
        font-size: 1rem;
    }
    
    .btn-mini-speak {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
}

.btn-secondary {
	background: var(--bg-tertiary);
	color: var(--text-primary);
}
@media (max-width: 576px) {
.site-title {
	display: none;
} }
