/* ==========================================================================
   AhoKANAvip - Main Responsive Design System
   ========================================================================== */

:root {
    --ahokana-primary: #ff4757;
    --ahokana-primary-hover: #ff6b81;
    --ahokana-secondary: #2ed573;
    --ahokana-accent: #5352ed;
    --ahokana-dark: #1e293b;
    --ahokana-light: #f8fafc;
    --ahokana-card-bg: #ffffff;
    --ahokana-border: #e2e8f0;
    --ahokana-text-muted: #64748b;
    --ahokana-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --ahokana-radius: 14px;
    --ahokana-radius-sm: 8px;
    --ahokana-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Meiryo", sans-serif;
}

.ahokana-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    font-family: var(--ahokana-font);
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--ahokana-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    color: #ffffff;
    box-sizing: border-box;
    position: relative;
}

.ahokana-container * {
    box-sizing: border-box;
}

/* --- HEADER --- */
.ahokana-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ahokana-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ahokana-flag {
    font-size: 28px;
}

.ahokana-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #ff4757 0%, #ffa502 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.ahokana-tagline {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 8px;
    border-radius: 20px;
    color: #cbd5e1;
    font-weight: 500;
}

.ahokana-icon-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ahokana-icon-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* --- MODE SELECTOR (HIRAGANA / KATAKANA / BOTH) --- */
.ahokana-mode-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.ahokana-mode-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ahokana-mode-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.ahokana-mode-btn.active {
    background: linear-gradient(135deg, var(--ahokana-primary) 0%, #ff6b81 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    transform: scale(1.03);
}

.mode-kana {
    font-size: 1.1rem;
    font-weight: 700;
}

/* --- TABS (MAIN NAVIGATION) --- */
.ahokana-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.25);
    padding: 6px;
    border-radius: 16px;
}

.ahokana-tab-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ahokana-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.ahokana-tab-btn.active {
    background: var(--ahokana-accent);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(83, 82, 237, 0.35);
}

/* --- STATS BAR --- */
.ahokana-stats {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ahokana-dark);
    padding: 10px 16px;
    border-radius: var(--ahokana-radius-sm);
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.stat-box {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--ahokana-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--ahokana-primary);
}

/* --- CONTENT AREA & VIEWS --- */
.ahokana-content {
    background: var(--ahokana-card-bg);
    color: var(--ahokana-dark);
    border-radius: var(--ahokana-radius);
    padding: 24px;
    min-height: 400px;
    box-shadow: var(--ahokana-shadow);
}

.ahokana-view {
    display: none;
}

.ahokana-view.active {
    display: block;
    animation: ahokanaFadeIn 0.35s ease forwards;
}

@keyframes ahokanaFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   VIEW 1: BANG CHU CAI (CHIA HANG ROUTE)
   ========================================================================== */
.chart-category-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
}

.cat-filter-btn {
    background: #f1f5f9;
    border: 1px solid var(--ahokana-border);
    color: var(--ahokana-text-muted);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cat-filter-btn:hover {
    background: #e2e8f0;
    color: var(--ahokana-dark);
}

.cat-filter-btn.active {
    background: var(--ahokana-dark);
    color: #ffffff;
    border-color: var(--ahokana-dark);
}

.character-rows-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kana-row-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--ahokana-radius-sm);
    padding: 12px 16px;
    transition: all 0.2s ease;
}

.kana-row-block:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px dashed #e2e8f0;
}

.row-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ahokana-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.row-badge {
    background: #e0e7ff;
    color: #4338ca;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.row-cards-flex {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.char-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px;
    width: 68px;
    height: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    user-select: none;
}

.char-card:hover {
    transform: translateY(-4px) scale(1.06);
    border-color: var(--ahokana-primary);
    box-shadow: 0 8px 18px rgba(255, 71, 87, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
}

.char-card-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ahokana-dark);
    line-height: 1.1;
}

.char-card-romaji {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ahokana-text-muted);
    margin-top: 2px;
}

.char-card-status {
    position: absolute;
    top: 3px;
    right: 4px;
    font-size: 9px;
    color: var(--ahokana-secondary);
}

/* ==========================================================================
   VIEW 2: FLASHCARD
   ========================================================================== */
.flashcard-wrapper {
    max-width: 440px;
    margin: 15px auto;
    text-align: center;
}

.flashcard-box {
    width: 100%;
    height: 250px;
    perspective: 1000px;
    cursor: pointer;
}

.flashcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flashcard-box.flipped .flashcard-inner {
    transform: rotateY(180deg);
}

.flashcard-front, .flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.flashcard-front {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #ffffff;
}

.flashcard-back {
    background: linear-gradient(135deg, var(--ahokana-primary) 0%, #ff6b81 100%);
    color: #ffffff;
    transform: rotateY(180deg);
}

.char-display {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1;
}

.romaji-display {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.example-display {
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    padding: 8px 20px;
    border-radius: 24px;
    font-weight: 600;
}

.audio-play-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.audio-play-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: #ffffff;
}

.audio-icon-pulse {
    display: inline-block;
    animation: ahokanaPulse 1.8s infinite;
}

@keyframes ahokanaPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.flashcard-controls {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 35px; /* Hở rõ ràng, không bị dính vào thẻ */
}

.keyboard-tip {
    font-size: 0.78rem;
    color: var(--ahokana-text-muted);
    margin-top: 16px;
}

/* ==========================================================================
   BUTTONS SYSTEM
   ========================================================================== */
.btn {
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    background: var(--ahokana-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--ahokana-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.btn-secondary {
    background: #e2e8f0;
    color: var(--ahokana-dark);
}

.btn-secondary:hover {
    background: #cbd5e1;
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--ahokana-accent);
    color: #ffffff;
}

.btn-accent:hover {
    background: #4338ca;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 8px;
}

/* ==========================================================================
   VIEW 3: LUYEN VIET (CANVAS)
   ========================================================================== */
.practice-wrapper {
    max-width: 380px;
    margin: 0 auto;
    text-align: center;
}

.practice-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.position-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ahokana-text-muted);
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 12px;
}

.practice-target-box h3 {
    margin: 0 0 2px 0;
    font-size: 1.2rem;
}

.target-char {
    font-size: 1.6rem;
    color: var(--ahokana-primary);
}

.practice-hint {
    margin: 0 0 12px 0;
    font-size: 0.8rem;
    color: var(--ahokana-text-muted);
}

.canvas-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 15px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    background: #fafafa;
    border: 2px solid #cbd5e1;
}

#practice-canvas {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    border-radius: 16px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    touch-action: none;
    cursor: crosshair;
}

.canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Noto Sans JP', 'Plus Jakarta Sans', "Yu Gothic UI", "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 9.2rem;
    font-weight: 200;
    color: rgba(0, 0, 0, 0.22);
    pointer-events: none;
    z-index: 1;
    user-select: none;
    -webkit-user-select: none;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -0.02em;
    transition: opacity 0.2s ease;
}

.practice-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.practice-nav {
    display: flex;
    justify-content: space-between;
}

/* ==========================================================================
   VIEW 4: GAME NHO CHU
   ========================================================================== */
.game-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.game-config-bar, .quiz-config-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.game-select, .quiz-select {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    font-weight: 600;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
}

.audio-control-box {
    margin-bottom: 20px;
}

.audio-big-btn {
    background: linear-gradient(135deg, var(--ahokana-secondary) 0%, #10b981 100%);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(46, 213, 115, 0.35);
    transition: all 0.2s ease;
}

.audio-big-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(46, 213, 115, 0.5);
}

.game-status-msg {
    margin-top: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    min-height: 24px;
}

.game-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.game-cell {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.game-cell:hover {
    border-color: var(--ahokana-accent);
    background: #f0f4ff;
    transform: scale(1.05);
}

.game-cell.correct {
    background: #dcfce7;
    border-color: var(--ahokana-secondary);
    color: var(--ahokana-secondary);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.game-cell.wrong {
    background: #ffe4e6;
    border-color: var(--ahokana-primary);
    color: var(--ahokana-primary);
    animation: ahokanaShake 0.4s ease;
}

@keyframes ahokanaShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* ==========================================================================
   VIEW 5: QUIZ (TRẮC NGHIỆM)
   ========================================================================== */
.quiz-wrapper {
    max-width: 480px;
    margin: 0 auto;
}

.quiz-progress-bar {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ahokana-primary), var(--ahokana-secondary));
    width: 0%;
    transition: width 0.4s ease;
}

.quiz-counter {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ahokana-text-muted);
    margin-bottom: 15px;
}

.quiz-question-box {
    text-align: center;
    margin-bottom: 20px;
}

.quiz-char-big {
    font-size: 4rem;
    font-weight: 800;
    color: var(--ahokana-dark);
}

.quiz-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.quiz-opt-btn {
    padding: 12px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz-opt-btn:hover {
    background: #e2e8f0;
}

.quiz-opt-btn.correct {
    background: #dcfce7;
    border-color: var(--ahokana-secondary);
    color: #166534;
}

.quiz-opt-btn.incorrect {
    background: #ffe4e6;
    border-color: var(--ahokana-primary);
    color: #991b1b;
}

.quiz-feedback-msg {
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    min-height: 24px;
}

.quiz-result-box {
    text-align: center;
    padding: 20px 0;
}

.result-score {
    font-size: 3rem;
    font-weight: 800;
    color: var(--ahokana-primary);
    margin: 15px 0;
}

/* ==========================================================================
   VIEW 6: WORD PRACTICE
   ========================================================================== */
.word-practice-header {
    text-align: center;
    margin-bottom: 20px;
}

.word-practice-header h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.word-practice-header p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ahokana-text-muted);
}

.word-practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.word-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 10px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.word-card:hover {
    border-color: var(--ahokana-primary);
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
}

/* ==========================================================================
   MODALS SYSTEM
   ========================================================================== */
.ahokana-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.ahokana-modal.active {
    display: flex;
}

.ahokana-modal-content {
    background: #ffffff;
    color: var(--ahokana-dark);
    padding: 24px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.sm-modal { max-width: 320px; }
.grid-modal { max-width: 520px; }

.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    background: #f1f5f9;
    border: none;
    font-size: 22px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ahokana-text-muted);
}

.modal-close-btn:hover { background: #e2e8f0; }

.modal-char-large {
    font-size: 5rem;
    font-weight: 800;
    text-align: center;
    color: var(--ahokana-primary);
    line-height: 1;
}

.modal-char-info {
    text-align: center;
    margin-bottom: 15px;
}

.modal-char-info h3 {
    margin: 5px 0 10px;
    font-size: 1.5rem;
}

.audio-play-btn-lg {
    background: var(--ahokana-secondary);
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
}

.modal-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
    margin-top: 12px;
}

.modal-section h4 {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
}

.stroke-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
}

.stroke-container img, .stroke-container video {
    max-width: 100%;
    max-height: 140px;
    border-radius: 6px;
}

.modal-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.modal-nav-btn {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

.character-selector-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 15px;
}

.selector-char-btn {
    aspect-ratio: 1;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
}

.selector-char-btn.active {
    background: var(--ahokana-primary);
    color: #ffffff;
}

.modal-word-large {
    font-size: 3rem;
    font-weight: 800;
    color: var(--ahokana-dark);
}

.text-center { text-align: center; }
