/* ==========================================================================
   TAG.HTML — feuille dédiée (refonte du 21/10/2026).
   ========================================================================== */
/* Palette locale : cette page ne charge pas hub.css ; les jetons viennent du
   socle « route de nuit », les compléments gardent leur sens d'origine. */
:root {
    --rgb-bg-sidebar: 8, 15, 28;
    --rgb-bg-card: 15, 26, 46;
    --space-4: 16px;
    --space-3: 12px;
    --accent-orange: #ff9e5e;
    --rgb-white: 255, 255, 255;
    --radius-lg: 16px;
    --accent-yellow: #ffd166;
    --accent-blue: #60a5fa;
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.6);
    --accent-green: #35e0c0;
    --fic-gold: #d4a843;
    --shadow-glow: 0 0 40px rgba(var(--rgb-blue), 0.1);
    --rgb-blue: 96, 165, 250;
    --fic-green-light: #6bc773;
    --bg-card: #0f1a2e;
    --bg-card-hover: #172740;
    --bg-input: #10192b;
    --accent-purple: #9d8cff;
    --accent-red: #ff7a7a;
    --text-secondary: #b9c7e2;
    --text-muted: #8497b8;
    --fic-green-dark: #3d8a44;
    --fic-green: #4FAD57;
    --border-color: #1e2f4d;
    --bg-sidebar: #080f1c;
    --text-primary: #eef3ff;
    --bg-primary: #070b14;
}









        /* ============ VARIABLES ============ */
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
        }

        .app-container {
            display: flex;
            min-height: 100vh;
        }

        /* ============ SIDEBAR ============ */
        .sidebar {
            width: 250px;
            background: var(--bg-sidebar);
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 0;
            left: 0;
            height: 100vh;
            z-index: 100;
            border-right: 1px solid var(--border-color);
            overflow-y: auto;
        }

        .sidebar::-webkit-scrollbar { width: 4px; }
        .sidebar::-webkit-scrollbar-track { background: transparent; }
        .sidebar::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }

        .sidebar-header {
            padding: 20px;
            text-align: center;
            border-bottom: 1px solid var(--border-color);
        }

        .vtc-logo {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin: 0 auto 10px;
            background: linear-gradient(135deg, var(--fic-green), var(--fic-green-dark));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 900;
            color: #0f0f1a;
            box-shadow: 0 0 30px rgba(79, 173, 87, 0.2);
            transition: transform 0.3s ease;
        }

        .vtc-logo:hover {
            transform: scale(1.05) rotate(-5deg);
        }

        .sidebar-header h2 {
            font-size: 18px;
            color: var(--text-primary);
        }

        .sidebar-header h2 span {
            color: var(--fic-green);
            font-weight: 800;
        }

        .vtc-tagline {
            font-size: 11px;
            color: var(--text-muted);
        }

        .sidebar-nav {
            flex: 1;
            padding: 15px 0;
            overflow-y: auto;
        }

        .sidebar-nav ul { list-style: none; }

        .section-title {
            padding: 10px 20px 5px;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-muted);
            font-weight: 600;
        }

        .sidebar-nav li { margin: 2px 0; }

        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 20px;
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            font-size: 13px;
            border-left: 3px solid transparent;
            border-radius: 0 8px 8px 0;
        }

        .sidebar-nav a:hover {
            background: rgba(255, 255, 255, 0.03);
            color: var(--text-primary);
            transform: translateX(4px);
        }

        .sidebar-nav li.active a {
            background: rgba(79, 173, 87, 0.08);
            color: var(--fic-green);
            border-left: 3px solid var(--fic-green);
        }

        .sidebar-nav .icon {
            font-size: 18px;
            width: 25px;
            text-align: center;
        }

        .sidebar-footer {
            padding: 15px 20px;
            border-top: 1px solid var(--border-color);
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .user-avatar {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--fic-green), var(--fic-green-dark));
            display: flex;
            align-items: center;
            justify-content: center;
            color: #0f0f1a;
            font-weight: 700;
            font-size: 14px;
            transition: transform 0.3s ease;
        }

        .user-avatar:hover {
            transform: scale(1.1);
        }

        .user-name {
            font-weight: 600;
            font-size: 13px;
            color: var(--text-primary);
        }

        .user-rank {
            font-size: 11px;
            color: var(--fic-green);
        }

        .logout-btn {
            width: 100%;
            padding: 10px;
            background: rgba(248, 113, 113, 0.08);
            color: var(--accent-red);
            border: 1px solid rgba(248, 113, 113, 0.15);
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .logout-btn:hover {
            background: rgba(248, 113, 113, 0.15);
            transform: scale(1.02);
        }

        .admin-badge {
            display: inline-block;
            padding: 1px 8px;
            background: rgba(167, 139, 250, 0.15);
            color: var(--accent-purple);
            border-radius: 10px;
            font-size: 9px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            margin-left: auto;
        }

        .sidebar-nav a .admin-badge {
            margin-left: auto;
        }

        /* ============ MAIN CONTENT ============ */
        .main-content {
            flex: 1;
            margin-left: 250px;
            padding: 25px;
            min-height: 100vh;
            /* Même correctif que hub.css : sans `min-width: 0`, cette colonne
               refuse de descendre sous la largeur minimale de son contenu — un
               bloc large élargirait toute la page au lieu de rester chez lui. */
            min-width: 0;
        }

        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            flex-wrap: wrap;
            gap: 15px;
            animation: fadeDown 0.5s ease;
        }

        @keyframes fadeDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .page-header .header-left h1 {
            font-size: 28px;
            font-weight: 800;
            color: var(--text-primary);
        }

        .page-header .header-left h1 .fic-highlight {
            color: var(--fic-green);
        }

        .page-header .header-left h1 .fic-sub {
            font-size: 14px;
            font-weight: 400;
            color: var(--text-muted);
        }

        .page-header .header-left p {
            color: var(--text-secondary);
            font-size: 14px;
        }

        .btn-back {
            padding: 10px 20px;
            background: var(--bg-input);
            color: var(--text-secondary);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn-back:hover {
            background: var(--bg-card-hover);
            color: var(--text-primary);
            transform: translateY(-2px);
        }

        /* ============ TAG SECTION ============ */
        .tag-section {
            max-width: 800px;
            margin: 0 auto;
        }

        /* ============ ANIMATIONS ============ */
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes scaleIn {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }

        @keyframes shimmer {
            0% { background-position: -200% center; }
            100% { background-position: 200% center; }
        }

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

        @keyframes particleFall {
            0% { opacity: 1; transform: translateY(-20px) rotate(0deg) scale(1); }
            100% { opacity: 0; transform: translateY(100vh) rotate(720deg) scale(0); }
        }

        @keyframes pulse-glow {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }

        @keyframes copyPulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        .animate-slideUp {
            animation: slideUp 0.5s ease forwards;
        }

        .delay-1 { animation-delay: 0.1s; opacity: 0; }
        .delay-2 { animation-delay: 0.2s; opacity: 0; }
        .delay-3 { animation-delay: 0.3s; opacity: 0; }
        .delay-4 { animation-delay: 0.4s; opacity: 0; }
        .delay-5 { animation-delay: 0.5s; opacity: 0; }
        .delay-6 { animation-delay: 0.6s; opacity: 0; }

        /* ============ TAG CARD ============ */
        .tag-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 40px;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            overflow: hidden;
            animation: scaleIn 0.5s ease forwards;
        }

        .tag-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--fic-green), var(--fic-green-light), var(--fic-green));
            background-size: 200% 100%;
            animation: shimmer 3s linear infinite;
            opacity: 0.8;
        }

        .tag-card:hover {
            background: var(--bg-card-hover);
            transform: translateY(-6px);
            border-color: rgba(79, 173, 87, 0.15);
            box-shadow: var(--shadow-glow);
        }

        .tag-card .fic-badge {
            display: inline-block;
            padding: 4px 16px;
            background: rgba(79, 173, 87, 0.15);
            color: var(--fic-green);
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1px;
            margin-bottom: 12px;
            transition: all 0.3s ease;
        }

        .tag-card:hover .fic-badge {
            background: rgba(79, 173, 87, 0.25);
            transform: scale(1.05);
        }

        .tag-title {
            font-size: 36px;
            font-weight: 900;
            margin-bottom: 4px;
            color: var(--text-primary);
        }

        .tag-title .fic-highlight {
            color: var(--fic-green);
        }

        .tag-subtitle {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 25px;
        }

        /* ============ TAG DISPLAY ============ */
        .tag-display {
            background: var(--bg-input);
            border: 2px dashed var(--border-color);
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 25px;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            cursor: pointer;
            user-select: none;
        }

        .tag-display:hover {
            border-color: var(--fic-green);
            background: rgba(79, 173, 87, 0.03);
            transform: scale(1.01);
        }

        .tag-display:active {
            transform: scale(0.98);
        }

        .tag-display .tag-hint {
            position: absolute;
            top: 10px;
            right: 14px;
            font-size: 10px;
            color: var(--text-muted);
            background: var(--bg-card);
            padding: 2px 10px;
            border-radius: 10px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .tag-display:hover .tag-hint {
            opacity: 1;
        }

        .tag-display .tag-preview {
            font-size: 32px;
            font-weight: 700;
            color: var(--fic-green);
            letter-spacing: 1px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .tag-display:hover .tag-preview {
            transform: scale(1.05);
        }

        .tag-display .tag-preview .fic-tag {
            color: var(--text-primary);
        }

        .tag-display .tag-preview .fic-country {
            font-size: 18px;
            opacity: 0.6;
        }

        .tag-display .tag-colors {
            display: flex;
            justify-content: center;
            gap: 25px;
            margin-top: 15px;
            flex-wrap: wrap;
        }

        .tag-display .color-box {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            color: var(--text-secondary);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .tag-display .color-box:hover {
            transform: translateY(-2px);
            color: var(--text-primary);
        }

        .tag-display .color-dot {
            width: 28px;
            height: 28px;
            border-radius: 8px;
            border: 2px solid var(--border-color);
            transition: all 0.3s ease;
        }

        .color-dot.green {
            background: var(--fic-green);
        }

        .color-dot.gold {
            background: var(--fic-gold);
        }

        .color-dot.white {
            background: #ffffff;
        }

        /* ============ TAG ACTIONS ============ */
        .tag-actions {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-copy {
            padding: 14px 35px;
            background: linear-gradient(135deg, var(--fic-green), var(--fic-green-dark));
            color: #0f0f1a;
            border: none;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
        }

        .btn-copy::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, var(--fic-green-light), var(--fic-green));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .btn-copy:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 8px 30px rgba(79, 173, 87, 0.4);
        }

        .btn-copy:hover::before {
            opacity: 1;
        }

        .btn-copy:active {
            transform: scale(0.97);
        }

        .btn-copy .btn-content {
            position: relative;
            z-index: 1;
        }

        .btn-copy.copied {
            background: var(--accent-green);
            box-shadow: 0 8px 30px rgba(52, 211, 153, 0.3);
            animation: copyPulse 0.4s ease;
        }

        .btn-copy.copied::before {
            opacity: 0;
        }

        .btn-copy-secondary {
            padding: 14px 35px;
            background: var(--bg-input);
            color: var(--text-secondary);
            border: 2px solid var(--border-color);
            border-radius: 10px;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .btn-copy-secondary:hover {
            background: var(--bg-card-hover);
            color: var(--text-primary);
            transform: translateY(-3px);
            border-color: var(--fic-green);
            box-shadow: 0 8px 25px rgba(79, 173, 87, 0.15);
        }

        .btn-copy-secondary:active {
            transform: scale(0.97);
        }

        .btn-copy-secondary.copied {
            border-color: var(--accent-green);
            color: var(--accent-green);
            background: rgba(52, 211, 153, 0.08);
            animation: copyPulse 0.4s ease;
        }

        /* ============ SKIN SECTION ============ */
        .skin-section {
            margin-top: 25px;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 14px;
            padding: 25px;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            animation: slideUp 0.5s ease forwards;
            opacity: 0;
        }

        .skin-section:hover {
            background: var(--bg-card-hover);
            transform: translateY(-4px);
            border-color: rgba(79, 173, 87, 0.15);
            box-shadow: var(--shadow-glow);
        }

        .skin-section h3 {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .skin-section h3 i {
            color: var(--fic-green);
        }

        .skin-section .skin-preview {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            padding: 15px;
            background: var(--bg-input);
            border-radius: 10px;
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .skin-section .skin-preview:hover {
            background: var(--bg-card-hover);
            transform: scale(1.01);
        }

        .skin-section .skin-preview .skin-colors {
            display: flex;
            gap: 10px;
        }

        .skin-section .skin-preview .skin-color-dot {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            border: 2px solid var(--border-color);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
        }

        .skin-section .skin-preview .skin-color-dot:hover {
            transform: scale(1.15);
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        .skin-color-dot.skin-1 {
            background: #59100B;
        }

        .skin-color-dot.skin-2 {
            background: #535353;
        }

        .skin-color-dot.skin-3 {
            background: #FFFFFF;
        }

        .skin-section .skin-note {
            padding: 12px 16px;
            background: rgba(79, 173, 87, 0.05);
            border: 1px solid rgba(79, 173, 87, 0.1);
            border-radius: 8px;
            font-size: 13px;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s ease;
        }

        .skin-section:hover .skin-note {
            border-color: rgba(79, 173, 87, 0.2);
            background: rgba(79, 173, 87, 0.08);
        }

        .skin-section .skin-note i {
            color: var(--fic-green);
        }

        /* ============ COPY COLOR BUTTONS ============ */
        .copy-color-btn {
            padding: 4px 10px;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 6px;
            font-size: 11px;
            color: var(--text-muted);
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Inter', monospace;
            margin-left: 4px;
        }

        .copy-color-btn:hover {
            background: var(--bg-card-hover);
            color: var(--fic-green);
            border-color: rgba(79, 173, 87, 0.3);
        }

        /* ============ INSTRUCTIONS ============ */
        .instructions-section {
            margin-top: 25px;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 14px;
            padding: 25px;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            animation: slideUp 0.6s ease forwards;
            opacity: 0;
        }

        .instructions-section:hover {
            background: var(--bg-card-hover);
            transform: translateY(-4px);
            border-color: rgba(79, 173, 87, 0.15);
            box-shadow: var(--shadow-glow);
        }

        .instructions-section h3 {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .instructions-section h3 i {
            color: var(--fic-green);
        }

        .instruction-step {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            padding: 12px 0;
            border-bottom: 1px solid var(--border-color);
            transition: all 0.3s ease;
        }

        .instruction-step:last-child {
            border-bottom: none;
        }

        .instruction-step:hover {
            padding-left: 8px;
        }

        .instruction-step .step-number {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(79, 173, 87, 0.15);
            color: var(--fic-green);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .instruction-step:hover .step-number {
            background: rgba(79, 173, 87, 0.25);
            transform: scale(1.1);
        }

        .instruction-step .step-content {
            flex: 1;
        }

        .instruction-step .step-content .step-title {
            font-weight: 600;
            color: var(--text-primary);
        }

        .instruction-step .step-content .step-desc {
            font-size: 13px;
            color: var(--text-secondary);
            margin-top: 2px;
        }

        .instruction-step .step-content .step-desc code {
            background: var(--bg-input);
            padding: 2px 10px;
            border-radius: 4px;
            font-size: 12px;
            color: var(--fic-green);
            font-family: 'Inter', monospace;
            transition: all 0.3s ease;
        }

        .instruction-step:hover .step-content .step-desc code {
            background: rgba(79, 173, 87, 0.1);
        }

        .note-box {
            margin-top: 20px;
            padding: 16px 20px;
            background: rgba(79, 173, 87, 0.05);
            border: 1px solid rgba(79, 173, 87, 0.15);
            border-radius: 10px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            transition: all 0.3s ease;
        }

        .note-box:hover {
            background: rgba(79, 173, 87, 0.08);
            border-color: rgba(79, 173, 87, 0.25);
        }

        .note-box i {
            color: var(--fic-green);
            font-size: 18px;
            margin-top: 2px;
            transition: transform 0.3s ease;
        }

        .note-box:hover i {
            transform: scale(1.2);
        }

        .note-box .note-content {
            font-size: 13px;
            color: var(--text-secondary);
        }

        .note-box .note-content strong {
            color: var(--text-primary);
        }

        /* ============ PARTICLES ============ */
        .particle-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9998;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            opacity: 0;
            animation: particleFall 3s ease-in forwards;
        }

        /* ============ NOTIFICATION ============ */
        .notification {
            position: fixed;
            bottom: 30px;
            right: 30px;
            padding: 16px 24px;
            border-radius: 14px;
            box-shadow: var(--shadow-lg);
            z-index: 9999;
            display: flex;
            align-items: center;
            gap: 12px;
            animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.05);
            max-width: 420px;
            font-weight: 500;
        }

        .notification.success {
            background: rgba(52, 211, 153, 0.15);
            border-color: rgba(52, 211, 153, 0.2);
            color: var(--accent-green);
        }

        .notification.error {
            background: rgba(248, 113, 113, 0.15);
            border-color: rgba(248, 113, 113, 0.2);
            color: var(--accent-red);
        }

        .notification.info {
            background: rgba(96, 165, 250, 0.15);
            border-color: rgba(96, 165, 250, 0.2);
            color: var(--accent-blue);
        }

        .notification.warning {
            background: rgba(251, 191, 36, 0.15);
            border-color: rgba(251, 191, 36, 0.2);
            color: var(--accent-yellow);
        }

        .notification .notif-icon {
            font-size: 22px;
        }

        @keyframes slideIn {
            from { opacity: 0; transform: translateX(50px); }
            to { opacity: 1; transform: translateX(0); }
        }

        @keyframes slideOut {
            from { opacity: 1; transform: translateX(0); }
            to { opacity: 0; transform: translateX(50px); }
        }

        /* ============ RESPONSIVE ============ */
        @media (max-width: 768px) {
            .sidebar { width: 60px; }

            .sidebar-header h2,
            .vtc-tagline,
            .sidebar-nav a span:not(.icon),
            .user-details,
            .logout-btn span:not(.icon),
            .admin-badge {
                display: none;
            }

            .sidebar-nav a {
                justify-content: center;
                padding: 12px;
                border-radius: 0;
            }

            .sidebar-nav .icon {
                margin: 0;
                font-size: 20px;
            }

            .main-content {
                margin-left: 60px;
                padding: 15px;
            }

            .tag-card {
                padding: 25px;
            }

            .tag-title {
                font-size: 28px;
            }

            .tag-display .tag-preview {
                font-size: 24px;
            }

            .tag-actions {
                flex-direction: column;
            }

            .btn-copy,
            .btn-copy-secondary {
                width: 100%;
                justify-content: center;
            }

            .instruction-step {
                flex-direction: column;
                align-items: flex-start;
            }

            .notification {
                bottom: 15px;
                right: 15px;
                left: 15px;
                max-width: none;
                font-size: 13px;
            }

            .skin-section .skin-preview {
                flex-direction: column;
                align-items: center;
            }

            .page-header {
                flex-direction: column;
                align-items: flex-start;
            }
        }

        @media (max-width: 480px) {
            .page-header .header-left h1 {
                font-size: 22px;
            }

            .tag-title {
                font-size: 22px;
            }

            .tag-display .tag-preview {
                font-size: 18px;
            }

            .tag-display .tag-colors {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }

            .skin-section .skin-preview .skin-colors {
                flex-wrap: wrap;
                justify-content: center;
            }

            .page-header .header-left h1 .fic-sub {
                display: block;
                font-size: 12px;
                margin-top: 4px;
            }
        }
    
/* Habillage « route de nuit » (21/10/2026). */
.page-header h1, h1 { font-family: 'Barlow Condensed','Inter',sans-serif; text-transform: uppercase; font-weight: 800; color: var(--text-primary); }
.card, .chart-card, .leaderboard-section, .vtc-stats-grid, .panel, .settings-card { border-radius: var(--radius-lg); border-color: rgba(var(--rgb-white), .07); }
.icone-blue { color: var(--accent-blue); }
.icone-yellow { color: var(--accent-yellow); }
.icone-orange { color: var(--accent-orange); }
.icone-purple { color: var(--accent-purple); }
.note-12 { font-size: 12px; color: var(--text-muted); margin-top: 12px; }
.petit-muted { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.centre-padding-30 { text-align: center; padding: 30px 20px; color: var(--text-muted); }
.vide-emoji { font-size: 34px; opacity: .5; margin-bottom: 8px; }
.vide-titre { color: var(--text-secondary); font-weight: 700; }
.vide-sous { font-size: 12px; margin-top: 5px; }
.cache { display: none; }
.form-row-espace { margin-top: var(--space-3); }
.form-row-espace-4 { margin-top: var(--space-4); }
.form-row-bas-4 { margin-bottom: var(--space-4); }
.lien-bleu { color: var(--accent-blue); }
.tag-fiche { padding: 16px 20px; margin-bottom: 20px; border-radius: var(--radius-lg); border: 1px solid rgba(var(--rgb-white), .07); background: linear-gradient(165deg, rgba(var(--rgb-bg-card), .85), rgba(var(--rgb-bg-sidebar), .85)); }
.couleurs-ligne { display: flex; gap: 15px; font-size: 13px; color: var(--text-secondary); flex-wrap: wrap; }
.couleur-copie { cursor: pointer; }
.couleur-1 { color: #59100B; font-weight: 700; }
.couleur-2 { color: #535353; font-weight: 700; }
.couleur-3 { color: #FFFFFF; font-weight: 700; }
.copie-icone { font-size: 10px; color: var(--text-muted); margin-left: 4px; }
.etape-sous { margin-top: 6px; }
.note-doc { text-align: center; padding: 8px; }
@media (prefers-reduced-motion: reduce) { .card, .chart-card { transition: none; } }
