body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow-x: hidden;
}

body.quiz-mode {
    overflow: hidden;
    height: 100vh;
    padding: 0;
}

.selectable {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

body.quiz-mode .container {
    margin: 0;
    border-radius: 0;
    height: 100vh;
    max-width: none;
    display: flex;
    flex-direction: column;
}

body.quiz-mode .controls:not(#quizMode .controls) {
    display: none;
}

body.quiz-mode .word-type-section {
    display: none;
}

/* Hide hamburger menu in study mode */
.study-mode .main-menu-toggle {
    display: none !important;
}

/* Hide study controls in study mode and quiz mode */
.study-mode .study-controls {
    display: none;
}

body.quiz-mode .study-controls {
    display: none;
}

/* Desktop quiz mode improvements */
@media (min-width: 769px) {
    body.quiz-mode .header {
        display: none;
    }
    
    body.quiz-mode .quiz-controls {
        display: none;
    }
    
    body.quiz-mode #quizMode {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 2rem;
        max-width: 800px;
        margin: 0 auto;
    }
    
    body.quiz-mode .flashcard {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 1rem 0;
        max-height: none;
    }
    
    body.quiz-mode #quizMode .controls {
        position: static;
        background: transparent;
        backdrop-filter: none;
        padding: 1rem 0;
        border: none;
        gap: 1rem;
        justify-content: center;
        min-height: auto;
    }
    
    body.quiz-mode #quizMode .controls .btn {
        padding: 12px 24px;
        font-size: 16px;
        min-height: 44px;
        flex: none;
        min-width: auto;
        max-width: none;
        border-radius: 25px;
    }
    
    body.quiz-mode .quiz-stats {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 0;
        background: rgba(248, 249, 250, 0.8);
        border-radius: 15px;
        margin: 1rem 0;
    }

    /* Desktop quiz stats: Single line layout */
    @media (min-width: 769px) {
        body.quiz-mode .quiz-stats {
            flex-direction: row;
            justify-content: center;
            gap: 2rem;
        }
    }
}

@media (max-width: 768px) {
    body.quiz-mode .header {
        display: none;
    }
    
    .quiz-controls {
        display: none;
    }
    
    .word-type-section {
        display: none;
    }
    
    body.quiz-mode #quizMode .controls {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(248, 249, 250, 0.95);
        backdrop-filter: blur(10px);
        padding: 0.4rem 0.5rem;
        border-top: 1px solid #dee2e6;
        z-index: 100;
        gap: 0.25rem;
        justify-content: center;
        flex-wrap: wrap;
        min-height: 44px;
    }
    
    body.quiz-mode #quizMode .controls .btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.7rem;
        min-height: 28px;
        flex: 1;
        min-width: 60px;
        max-width: 78px;
        border-radius: 6px;
    }
    
    body.quiz-mode #quizMode {
        padding: 0;
        height: 100vh;
        padding-bottom: 60px;
    }
    
    @keyframes fadeInOut {
        0%, 100% { opacity: 0; }
        10%, 90% { opacity: 0.8; }
    }
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: rgba(0, 123, 255, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    z-index: 150;
    touch-action: manipulation;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    backdrop-filter: blur(10px);
}

.quiz-menu-toggle {
    position: fixed;
    top: 1rem;
    left: 1rem;
}

/* Show quiz menu burger in quiz mode on all screen sizes */
body.quiz-mode .quiz-menu-toggle {
    display: block;
}

body:not(.quiz-mode) .menu-item-quiz-mode {
    display: none;
}

@media (max-width: 768px) {
    .quiz-menu-toggle {
        top: 0.5rem;
        left: 0.5rem;
    }

    .dropdown-menu {
        top: 3rem;
        left: 0.5rem;
    }
}

body.quiz-mode .flashcard {
    margin: 0.25rem;
    max-height: 60vh;
    border-radius: 8px;
}

@media (min-width: 769px) {
    body.quiz-mode .flashcard {
        overflow: visible;
        height: auto;
    }
}

@media (max-width: 768px) {
    body.quiz-mode .flashcard {
        height: calc(100vh - 120px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0.5rem;
        padding-bottom: 1rem;
    }
}

body.quiz-mode .flashcard .card-content {
    overflow-y: auto;
    max-height: 100%;
    padding: 1rem;
}

body.quiz-mode .mobile-hint {
    display: none;
}

body.quiz-mode .quiz-stats {
    display: none;
}

.dropdown-menu {
    display: none;
    position: fixed;
    top: 3.5rem;
    left: 1rem;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    z-index: 140;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    min-width: 180px;
}

.dropdown-menu.show {
    display: block;
}

/* Position main menu for study mode */
.word-type-section .main-menu {
    top: 2.5rem;
    left: 0.5rem;
}

/* Position quiz menu for quiz mode */
#quizMode .dropdown-menu {
    top: 3.5rem;
    left: 1rem;
}

.dropdown-menu .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
}

.menu-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.menu-selector label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    min-width: auto;
    flex-shrink: 0;
}

.menu-selector select {
    flex: 1;
    min-width: 0;
    margin-left: 0.5rem;
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
}

.header {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 2rem;
    text-align: center;
}

h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 300;
}

.subtitle {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.word-type-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.word-type-section .menu-toggle {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.controls {
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.study-controls {
    display: block;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem auto 2rem;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.study-control-row {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.study-control-row:last-child {
    margin-bottom: 0;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-group label {
    font-weight: 500;
    color: #495057;
    white-space: nowrap;
}

.control-group select {
    padding: 0.5rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
    min-width: 120px;
}

.control-group input[type="checkbox"] {
    transform: scale(1.2);
}

.quiz-controls {
    padding: 1rem 2rem;
    background: #e9ecef;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.form-selectors-row {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.form-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-selector label {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}

.form-selector select {
    border: none;
    background: none;
    font-size: 0.9rem;
    color: #007bff;
    font-weight: 600;
    cursor: pointer;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Desktop: Single line layout */
@media (min-width: 769px) {
    .stats {
        flex-direction: row;
        gap: 1rem;
    }
    
    .stat-line {
        gap: 0.25rem;
    }

    .desktop-hidden {
        display: none;
    }
}

.hiragana-hidden .hiragana-col,
.hiragana-hidden .verb-hiragana,
.romaji-hidden .verb-romaji {
    display: none !important;
}

.romaji-hidden .verb-romaji {
    display: none !important;
}

.forms-hidden .forms-section {
    display: none !important;
}

.answer-section.hidden,
.forms-section.hidden {
    display: none !important;
}

.stat-item {
    font-size: 0.9rem;
    color: #495057;
}

.stat-separator {
    color: #6c757d;
    font-weight: 500;
}

.stat-value {
    color: #007bff;
    font-weight: 600;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background-color: #fefefe;
    margin: 20px auto;
    padding: 2rem;
    border-radius: 15px;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    position: relative;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        margin: 10px auto;
        padding: 1.5rem;
        border-radius: 12px;
        max-height: calc(100vh - 20px);
        font-size: 0.9rem;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .modal-content h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.5rem 0;
    }
    
    .modal-content ul {
        padding-left: 1.2rem;
    }
    
    .modal-content li {
        margin-bottom: 0.3rem;
        line-height: 1.4;
    }
}

.close {
    color: #666;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close:hover {
    color: #000;
    background-color: rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .close {
        top: 0.75rem;
        right: 1rem;
        font-size: 28px;
        width: 28px;
        height: 28px;
    }
}

.progress-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.85rem;
    margin: 1rem 0;
    resize: vertical;
    min-height: 120px;
    word-break: break-all;
    box-sizing: border-box;
    touch-action: manipulation;
}

.mobile-hint {
    opacity: 0.8;
}

@media (hover: none) and (pointer: coarse) {
    .mobile-hint {
        display: block;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .flashcard:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    .progress-input {
        font-size: 0.75rem;
        padding: 0.75rem;
        min-height: 100px;
    }
}

.btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    margin: 0;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0,123,255,0.3);
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
}

.btn:disabled {
    background: #6c757d;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.btn:disabled:hover {
    background: #6c757d;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: #6c757d;
    box-shadow: 0 4px 15px rgba(108,117,125,0.3);
}

.btn-secondary:hover {
    background: #545b62;
    box-shadow: 0 6px 20px rgba(108,117,125,0.4);
}

.flashcard {
    margin: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    touch-action: pan-y;
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}

.flashcard:hover {
    transform: translateY(-5px);
}

.card-content {
    text-align: center;
    width: 100%;
}

.verb-kanji {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.2rem;
    font-weight: bold;
}

.verb-hiragana {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 0.2rem;
}

.verb-romaji {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 0.2rem;
}

.verb-english {
    font-size: 2rem;
    color: #e74c3c;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.conjugations {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 100%;
    margin-top: 0.5rem;
}


.conjugation {
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    border-left: 2px solid #007bff;
}

.conjugation-label {
    font-size: 0.65rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.conjugation-value {
    font-size: 0.8rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.3;
}

.hidden {
    display: none;
}

#quizMode {
    padding: 2rem;
    text-align: center;
}

body.quiz-mode #quizMode {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    overflow: hidden;
}

body.quiz-mode .flashcard {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem;
    max-height: 60vh;
}

.score {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

.progress {
    background: #e9ecef;
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    margin: 0.5rem 1rem;
}

@media (max-width: 768px) {
    .progress {
        height: 3px;
        margin: 0.25rem 0.5rem;
    }
}

.progress-bar {
    background: linear-gradient(90deg, #28a745, #20c997);
    height: 100%;
    transition: width 0.5s ease;
}

.study-mode {
    background: white;
    padding: 2rem;
    text-align: center;
}

.verb-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 0.9rem;
}

.verb-table th {
    background: #007bff;
    color: white;
    padding: 0.75rem 0.5rem;
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
}

.verb-table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #dee2e6;
    text-align: center;
    vertical-align: middle;
}

.verb-table .kanji-col {
    min-width: 80px;
    font-weight: 600;
}

.verb-table .hiragana-col {
    min-width: 100px;
}

.verb-table .english-col {
    min-width: 120px;
    text-align: left;
}

.verb-table .form-col {
    min-width: 80px;
}

.verb-table .type-col {
    min-width: 70px;
    font-size: 0.8rem;
}

.verb-table .status-col {
    min-width: 120px;
}

.verb-table .performance-col {
    min-width: 120px;
    text-align: center;
}

.score-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
    min-width: 30px;
    text-align: center;
}

.score-positive {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.score-negative {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.score-neutral {
    background: #e2e3e5;
    color: #6c757d;
    border: 1px solid #d6d8db;
}

.no-attempts {
    color: #6c757d;
    font-style: italic;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    body {
        padding: 0.5rem;
    }
    
    .container {
        margin: 0.5rem auto;
        border-radius: 10px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }
    
    .header {
        padding: 1.5rem 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .word-type-section {
        padding: 0.75rem 1rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .controls {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .study-control-row {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .control-group {
        justify-content: space-between;
        width: 100%;
    }
    
    .control-group select {
        min-width: auto;
        flex: 1;
        margin-left: 1rem;
    }
    
    .study-mode {
        padding: 1rem;
    }
    
    .study-mode h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .btn {
        padding: 12px 18px;
        margin: 0;
        font-size: 14px;
        min-height: 48px;
        white-space: nowrap;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,123,255,0.2);
    }
    
    .quiz-controls {
        padding: 0.6rem;
        flex-direction: column;
        gap: 0.5rem;
        background: #f8f9fa;
    }
    
    .form-selectors-row {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.6rem;
        border-radius: 10px;
    }
    
    .form-selectors-row .form-selector {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 0.5rem;
        padding: 0;
        background: none;
        box-shadow: none;
        border-radius: 0;
    }
    
    .form-selectors-row .form-selector label {
        font-size: 0.8rem;
        font-weight: 600;
        min-width: auto;
        flex-shrink: 0;
        color: #495057;
    }
    
    .form-selectors-row .form-selector select {
        flex: 1;
        min-width: 0;
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
        border: 1px solid #dee2e6;
        border-radius: 6px;
        background: #fff;
    }
    
    .form-selectors-row .form-selector:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        padding-bottom: 0.4rem;
        margin-bottom: 0.1rem;
        padding-right: 0;
        margin-right: 0;
    }
    
    .form-selectors-row .stats {
        padding: 0.4rem 0 0 0;
        border-left: none;
        margin: 0;
        border-top: 1px solid #e9ecef;
        background: none;
        border-radius: 0;
        box-shadow: none;
    }
    
    .form-selectors-row .stats .stat-line {
        justify-content: center;
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    
    .form-selectors-row .stats .stat-item {
        font-size: 0.75rem;
    }
    
    .form-selectors-row .stats .stat-value {
        font-weight: 700;
        font-size: 0.8rem;
    }
    
    .form-selector,
    .stats {
        width: 80%;
        justify-content: center;
        padding: 0.75rem 1rem;
        border-radius: 12px;
        margin: 0;
    }
    
    .flashcard {
        margin: 1rem;
        min-height: 280px;
        padding: 1rem;
        border-radius: 12px;
    }
    
    .verb-kanji {
        font-size: 1.5rem;
    }
    
    .verb-hiragana {
        font-size: 1rem;
    }
    
    .verb-english {
        font-size: 1rem;
    }
    
    .conjugations {
        gap: 0.15rem;
        margin-top: 0.4rem;
    }
    
    .conjugation {
        padding: 0.2rem 0.4rem;
    }
    
    .conjugation-label {
        font-size: 0.6rem;
        margin-bottom: 0.05rem;
        line-height: 1.1;
    }
    
    .conjugation-value {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .verb-table {
        font-size: 0.75rem;
        overflow-x: auto;
        display: block;
        width: 100%;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
    }
    
    .verb-table thead {
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .verb-table thead,
    .verb-table tbody,
    .verb-table tr {
        display: table;
        width: max-content;
        min-width: 100%;
        table-layout: fixed;
    }
    
    .verb-table th,
    .verb-table td {
        padding: 0.5rem 0.3rem;
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .verb-table th {
        background: #007bff !important;
        color: white !important;
        font-weight: 600;
        text-align: center;
        min-width: 80px;
        position: sticky;
        top: 0;
    }
    
    .verb-table .kanji-col {
        min-width: 70px;
        width: 70px;
    }
    
    .verb-table .hiragana-col {
        min-width: 90px;
        width: 90px;
    }
    
    .verb-table .english-col {
        min-width: 110px;
        width: 110px;
        white-space: normal;
        word-break: break-word;
        text-align: left;
    }
    
    .verb-table .form-col {
        min-width: 80px;
        width: 80px;
    }
    
    .verb-table .type-col {
        min-width: 70px;
        width: 70px;
    }
    
    .verb-table .status-col {
        min-width: 120px;
        width: 120px;
    }
    
    .verb-table .performance-col {
        min-width: 100px;
        width: 100px;
    }
    
    .status-btn {
        font-size: 0.7rem !important;
        padding: 2px 4px !important;
        min-width: auto !important;
        white-space: nowrap !important;
        border-radius: 4px;
    }
    
    @media (max-width: 768px) {
        .score-badge {
            font-size: 0.75rem;
            padding: 0.2rem 0.4rem;
        }
    }
    
    .form-selector {
        flex-direction: column;
        text-align: center;
    }
    
    .stats {
        flex-direction: column;
        text-align: center;
    }
}

.verb-table tr:nth-child(even) {
    background: #f8f9fa;
}

.ja {
    color: #2c3e50;
    font-weight: 500;
}

.eng {
    color: #e74c3c;
    font-weight: 500;
}