/* ==========================================================================
   Nihon Game — base.css
   Global Design System: Tokens, Resets & Shared UI Components
   Used by: ALL pages (dashboard, story, login, index)
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS & CUSTOM PROPERTIES
   ========================================================================== */
:root {
    /* Color Palette (Pastels) */
    --pastel-bg-1: #fdf2f2;
    --pastel-bg-2: #edf2f9;
    --primary: #e63946;
    --primary-hover: #d62230;
    --secondary: #a6cbf5;
    --accent-peach: #ffb7b2;
    --accent-mint: #b5ead7;
    --text-dark: #2d3436;
    --text-muted: #636e72;

    /* Dialogue Box Specific */
    --dialogue-bg: #ffffff;
    --dialogue-text: #1e1e1e;
    --japanese-red: #e63946;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px 0 rgba(230, 57, 70, 0.08);

    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   2. GLOBAL RESET
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--pastel-bg-1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
}
::-webkit-scrollbar-thumb {
    background: rgba(230, 57, 70, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(230, 57, 70, 0.5);
}

/* Utility: Hidden */
.hidden {
    display: none !important;
}

/* ==========================================================================
   2.1 FREE-TIER PROGRESS ZONE
   Marks the tail of a progress bar that only a Premium account can reach.
   Shared by the mode hubs and the practice session HUD.
   ========================================================================== */
.progress-locked-zone {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 2.5px dashed #1e1e1e;
    background: repeating-linear-gradient(
        45deg,
        rgba(30, 30, 30, 0.10),
        rgba(30, 30, 30, 0.10) 4px,
        rgba(255, 190, 11, 0.40) 4px,
        rgba(255, 190, 11, 0.40) 8px
    );
    cursor: pointer;
    transition: background 0.2s ease;
}

.progress-locked-zone:hover {
    background: repeating-linear-gradient(
        45deg,
        rgba(30, 30, 30, 0.14),
        rgba(30, 30, 30, 0.14) 4px,
        rgba(255, 190, 11, 0.85) 4px,
        rgba(255, 190, 11, 0.85) 8px
    );
}

.progress-locked-icon {
    font-size: 11px;
    line-height: 1;
    pointer-events: none;
}

/* ==========================================================================
   3. ANIMATED MESH BACKGROUND CIRCLES
   ========================================================================== */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    overflow: hidden;
    background: linear-gradient(135deg, var(--pastel-bg-1) 0%, var(--pastel-bg-2) 100%);
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: floatCircles 20s infinite alternate ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background-color: var(--primary);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background-color: var(--accent-peach);
    bottom: -15%;
    right: -10%;
    animation-delay: 4s;
}

.circle-3 {
    width: 350px;
    height: 350px;
    background-color: var(--secondary);
    top: 45%;
    left: 50%;
    animation-delay: 8s;
}

@keyframes floatCircles {
    0%   { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

/* Neobrutalist cartoon card — solid white, bold border, hard shadow */
.glass-card {
    background: #ffffff;
    border: 3px solid #1e1e1e;
    box-shadow: 0 8px 0px #1e1e1e;
    border-radius: 16px;
}

/* ==========================================================================
   5. SHARED BUTTON STYLES
   ========================================================================== */

/* Primary full-width action button */
.primary-btn {
    padding: 12px 22px;
    border-radius: 10px;
    border: 3px solid #1e1e1e;
    background: #1e1e1e;
    color: white;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 0 rgba(0,0,0,0.5);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(0,0,0,0.5);
}

.primary-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0,0,0,0.5);
}

/* Secondary ghost button */
.secondary-btn {
    padding: 12px 22px;
    border-radius: 10px;
    border: 3px solid #1e1e1e;
    background: #f5f5f5;
    color: #1e1e1e;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 0 #1e1e1e;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #1e1e1e;
    background: #ececec;
}

.secondary-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1e1e1e;
}

/* Premium Upgrade Button */
.premium-upgrade-btn {
    padding: 14px 22px;
    border-radius: 12px;
    border: 3px solid #1e1e1e;
    background: var(--japanese-red, #e63946);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 0 #1e1e1e;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #1e1e1e;
}

.premium-upgrade-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1e1e1e;
}

/* Help yellow highlight button */
.help-btn {
    padding: 12px 22px;
    border-radius: 10px;
    border: 3px solid #1e1e1e;
    background: #ffd95a;
    color: #1e1e1e;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 0 #1e1e1e;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #1e1e1e;
    background: #ffcc2b;
}

.help-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1e1e1e;
}

/* Generic secondary action button (story/modal variant) */
.action-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.action-btn.primary {
    background-color: var(--primary);
    color: white;
}

.action-btn.primary:hover {
    background-color: var(--primary-hover);
}

.action-btn.secondary {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.action-btn.secondary:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   6. BADGES
   ========================================================================== */
.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.badge.free {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
}

.badge.premium {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

/* ==========================================================================
   7. SHARED MODAL SYSTEM
   ========================================================================== */

/* Semi-transparent dark backdrop (no blur) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    /* Above the floating map/dictionary/menu controls (1000) and their dropdown
       (1010) — on small screens a modal fills the screen and those buttons would
       otherwise sit on top of it. Stays below the loading screen (99999). */
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    box-sizing: border-box;
}

/* Close button (simple × text) */
.close-btn {
    background: none;
    border: none;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-btn:hover {
    color: var(--japanese-red);
}

/* Modal Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #1e1e1e;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.modal-header h2 {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 800;
    color: #1e1e1e;
    margin: 0;
}

/* Stats Info Button */
.stats-info-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    transition: background-color 0.2s ease, transform 0.1s ease;
    line-height: 1;
}

.stats-info-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(1.15);
}

.stats-info-btn:active {
    transform: scale(0.95);
}

/* Neobrutalist round close button inside modals */
.close-modal-btn {
    background: #ffffff;
    border: 3px solid #1e1e1e;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 20px;
    font-weight: 700;
    color: #1e1e1e;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 0px #1e1e1e;
    transition: transform 0.1s ease, box-shadow 0.1s ease, color 0.15s ease, background-color 0.15s ease;
    padding: 0;
    line-height: 1;
}

.close-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0px #1e1e1e;
    background: #f5f5f5;
    color: var(--japanese-red) !important;
}

.close-modal-btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 0px #1e1e1e;
}

/* Modal Footer */
.modal-footer {
    border-top: 3px solid #1e1e1e;
    padding-top: 16px;
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}

/* Global alert card — the neobrutalist replacement for browser alert().
   Built by showAlert() in js/main.js, so it must live in base.css: that is the
   only stylesheet every hub page loads (.settings-card and .lock-alert-card sit
   in settings.css / story.css and are not available outside those pages). */
.global-alert-card {
    width: 90%;
    max-width: 460px;
    background: #ffffff;
    border: 3px solid #1e1e1e;
    border-radius: 16px;
    box-shadow: 0 8px 0px #1e1e1e;
    padding: 30px;
    position: relative;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

.global-alert-card .modal-body {
    padding: 10px 0;
    text-align: center;
}

.global-alert-icon {
    font-size: 54px;
    margin-bottom: 16px;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.global-alert-message {
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
    margin: 0;
    padding: 0 10px;
}

/* The single OK button sits full width — there is nothing to choose between */
.global-alert-card .modal-footer {
    justify-content: stretch;
}

.global-alert-card .modal-footer .primary-btn {
    flex: 1;
    border-radius: 10px;
    padding: 10px 0;
    font-weight: 800;
}

/* Note: Section 8 (SETTINGS MODAL CONTENTS) has been moved to css/settings.css */

/* ==========================================================================
   9. PREMIUM PAYWALL MODAL CONTENTS
   ========================================================================== */

.premium-upgrade-card {
    width: 90%;
    max-width: 480px;
    background: #ffffff !important;
    border: 3px solid #1e1e1e !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 0px #1e1e1e !important;
    padding: 30px !important;
    position: relative;
}

.gold-crown-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 8px;
    animation: bounceSlow 3s infinite alternate ease-in-out;
}

@keyframes bounceSlow {
    from { transform: translateY(0); }
    to   { transform: translateY(-10px); }
}

.upgrade-benefits {
    text-align: left;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 3px solid #1e1e1e;
}

.benefit-item {
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.upgrade-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==========================================================================
   10. SHARED ANIMATIONS
   ========================================================================== */

/* Modal zoom-in entry animation */
.animate-zoom {
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* Pulsing glow on primary CTA buttons */
.neon-pulse {
    animation: btnPulse 2s infinite ease-in-out;
}

@keyframes btnPulse {
    0%   { box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3); }
    50%  { box-shadow: 0 4px 22px rgba(230, 57, 70, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3); }
}

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

/* ==========================================================================
   11. AUTH FORM STYLES
   (Shared: used on login.php and story.php auth screen)
   ========================================================================== */
#auth-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#auth-screen.active {
    opacity: 1;
    transform: scale(1);
}

.auth-container {
    width: 100%;
    max-width: 440px;
    padding: 40px;
    text-align: center;
    background: #ffffff;
    border: 3px solid #1e1e1e;
    box-shadow: 0 8px 0px #1e1e1e;
    border-radius: 16px;
}

.auth-header .logo {
    display: inline-block;
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-header h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.auth-header p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Tab switcher */
.auth-tabs {
    display: flex;
    background: #ffffff;
    border: 3px solid #1e1e1e;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 30px;
    box-shadow: 0 4px 0px #1e1e1e;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border: 2px solid #1e1e1e;
    box-shadow: 0 2px 0px #1e1e1e;
}

/* Auth forms */
.auth-form {
    display: none;
    text-align: left;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 3px solid #1e1e1e;
    background: #ffffff;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
    box-shadow: 0 4px 0px #1e1e1e;
    transition: var(--transition-smooth);
}

.input-group input:focus {
    border-color: var(--primary);
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 0px #1e1e1e;
}

.error-msg {
    margin-top: 20px;
    padding: 12px;
    background-color: rgba(230, 57, 70, 0.1);
    border-left: 4px solid var(--japanese-red);
    border-radius: 6px;
    color: var(--japanese-red);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

/* Real-time password strength checker */
.password-requirements-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.requirement {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.requirement .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    display: inline-block;
    transition: var(--transition-smooth);
}

.requirement.met {
    color: #27ae60;
}

.requirement.met .dot {
    background: #27ae60;
    transform: scale(1.2);
}

/* Note: Section 9 (SETTINGS TABS STYLING) has been moved to css/settings.css */

/* ==========================================================================
   12. STREAK COUNTER TOPBAR STYLING
   ========================================================================== */
.topbar-streak-pill {
    cursor: pointer;
    user-select: none;
}

.fire-icon-animated {
    display: inline-block;
    animation: fireFlicker 1.4s infinite ease-in-out;
    transform-origin: bottom center;
    font-size: 16px;
}

@keyframes fireFlicker {
    0% {
        transform: scale(1) rotate(-2deg);
        filter: drop-shadow(0 0 2px rgba(253, 126, 20, 0.5)) saturate(1);
    }
    50% {
        transform: scale(1.2) rotate(3deg);
        filter: drop-shadow(0 0 7px rgba(253, 126, 20, 0.9)) saturate(1.3);
    }
}

/* ==========================================================================
   13. SITE FOOTER (NEOBRUTALIST THEME)
   ========================================================================== */
.site-footer {
    width: 100%;
    background-color: #962f31;
    border-top: 4px solid #1e1e1e; /* Neobrutalist bold top divider */
    color: #ffffff;
    padding: 80px 40px 40px 40px;
    box-sizing: border-box;
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    margin-top: 100px;
    position: relative;
    z-index: 100;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 80px;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1.5px;
}

.footer-tagline {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 320px;
    font-weight: 500;
    margin: 0;
}

.footer-links-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 40px;
}

@media (max-width: 600px) {
    .footer-links-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-links-col h4 {
    font-size: 16px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffd166; /* Gold heading accent */
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 8px;
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-col ul li {
    margin-bottom: 12px;
}

.footer-links-col ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links-col ul li a:hover {
    color: #ffd166;
    transform: translateX(4px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 3px solid #1e1e1e;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-sizing: border-box;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #ffd166;
}

@media (max-width: 768px) {
    .footer-links-section {
        justify-content: flex-start;
    }
}



/* ==========================================================================
   ACTIVE MISTAKES TILE
   A pile of weak spots should be visible, not buried in a corner of the hub.
   Shared by all four mode hubs, which each style their own stat tiles.
   ========================================================================== */
.stat-item.has-mistakes,
.kana-stat-item.has-mistakes {
    background: #fff5f5;
    border-color: #e03131;
    box-shadow: 0 4px 0px #e03131;
}

.stat-item.has-mistakes .stat-value,
.kana-stat-item.has-mistakes .stat-value {
    color: #e03131;
}

.stat-item.has-mistakes .stat-icon,
.kana-stat-item.has-mistakes .stat-icon {
    animation: mistakeNudge 2.4s ease-in-out infinite;
}

/* A slow tilt, not a flashing alarm - this is a nudge, not an error state */
@keyframes mistakeNudge {
    0%, 88%, 100% { transform: rotate(0deg); }
    92%           { transform: rotate(-9deg); }
    96%           { transform: rotate(9deg); }
}

@media (prefers-reduced-motion: reduce) {
    .stat-item.has-mistakes .stat-icon,
    .kana-stat-item.has-mistakes .stat-icon {
        animation: none;
    }
}

/* Mistake counter on the mistakes button. Sits in the top-left corner because the
   "Go Premium" stamp occupies the centre on free accounts. */
.mistake-count-badge {
    position: absolute;
    top: -10px;
    left: -8px;
    z-index: 6;
    min-width: 26px;
    padding: 4px 8px;
    border: 3px solid #1e1e1e;
    border-radius: 20px;
    box-shadow: 0 3px 0px #1e1e1e;
    background: #e03131;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    box-sizing: border-box;
    pointer-events: none;
}

/* Due reviews on the big review button of the vocabulary, kanji and grammar hubs.
   The lesson tiles used to carry one of these each; the button that actually starts
   the session says the same thing once, and now says it for the whole session -
   nothing else goes into it. Top-right, where the tile badges were, and the mirror
   of the mistake counter above. */
.due-count-badge {
    position: absolute;
    top: -10px;
    right: -8px;
    z-index: 6;
    min-width: 26px;
    padding: 4px 8px;
    border: 3px solid #1e1e1e;
    border-radius: 20px;
    box-shadow: 0 3px 0px #1e1e1e;
    background: #e03131;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    box-sizing: border-box;
    pointer-events: none;
}
