﻿@font-face {
    font-family: "Determination";
    src: url("../assets/fonts/determination.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "MicrosoftSansSerif";
    src: url("../assets/fonts/micross.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --win-gray:    #c0c0c0;
    --win-light:   #dfdfdf;
    --win-white:   #ffffff;
    --win-mid:     #808080;
    --win-dark:    #404040;
    --win-black:   #000000;
    --win-desktop: #008080;
    --win-blue:    #000080;
    --win-lblue:   #1084d0;
    --win-link:    #0000ff;
    --win-visited: #800080;
    --text-muted:  #808080;
}

body.mode-contraste {
    --win-gray:    #000000;
    --win-light:   #00ff00;
    --win-white:   #000000;
    --win-mid:     #ffff00;
    --win-dark:    #ffffff;
    --win-black:   #ffffff;
    --win-desktop: #000000;
    --win-blue:    #000000;
    --win-lblue:   #000000;
    --win-link:    #00ffff;
    --win-visited: #ff00ff;
    --text-muted:  #ffff00;
}

body {
    background: var(--win-desktop) url("../assets/images/bg.gif") center center / cover no-repeat;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    font-family: "Determination", "MS Sans Serif", "Microsoft Sans Serif", Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: var(--win-black);
    padding: 10px 10px 72px;
    min-height: 100vh;
}

.window {
    background: var(--win-gray);
    max-width: 1100px;
    margin: 0 auto;
    border: 2px solid;
    border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
    box-shadow: 1px 1px var(--win-black), -1px -1px var(--win-white);
}

.title-bar {
    background: linear-gradient(to right, var(--win-blue), var(--win-lblue));
    font: bold 12px "MicrosoftSansSerif", "MS Sans Serif", Arial, sans-serif;
    padding: 4px 5px 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    cursor: default;
}

.title-bar-text {
    color: #ffffff;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.title-bar-controls {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.title-bar-btn {
    width: 20px;
    height: 18px;
    background: var(--win-gray);
    color: var(--win-black);
    border: none;
    cursor: pointer;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    box-shadow:
        inset -1px -1px var(--win-black),
        inset  1px  1px var(--win-white),
        inset -2px -2px var(--win-mid),
        inset  2px  2px var(--win-light);
}

.title-bar-btn:active {
    box-shadow:
        inset -1px -1px var(--win-white),
        inset  1px  1px var(--win-black),
        inset -2px -2px var(--win-light),
        inset  2px  2px var(--win-mid);
}

.menu-bar {
    background: var(--win-gray);
    border-bottom: 1px solid var(--win-mid);
    padding: 2px 4px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.menu-bar a {
    display: inline-block;
    text-decoration: none;
    color: var(--win-black);
    font-size: 12px;
    padding: 2px 12px;
    border: 1px solid transparent;
    margin-bottom: -1px;
    position: relative;
}

.menu-bar a:hover {
    border-color: var(--win-mid);
    background: var(--win-gray);
}

.menu-bar a.active {
    border-color: var(--win-mid) var(--win-mid) var(--win-gray) var(--win-mid);
    background: var(--win-gray);
}

.address-bar {
    background: var(--win-gray);
    border-bottom: 1px solid var(--win-mid);
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "MicrosoftSansSerif", "MS Sans Serif", Arial, sans-serif;
    font-size: 13px;
}

.address-label {
    white-space: nowrap;
    font-size: 13px;
    color: var(--win-black);
}

.address-field {
    flex: 1;
    border: 2px solid;
    border-color: var(--win-mid) var(--win-light) var(--win-light) var(--win-mid);
    background: var(--win-white);
    color: var(--win-black);
    padding: 1px 4px;
    font-family: inherit;
    font-size: 13px;
    height: 22px;
    cursor: text;
}

.window-body {
    background: var(--win-gray);
    padding: 12px;
}

.status-bar {
    background: var(--win-gray);
    border-top: 1px solid var(--win-light);
    padding: 2px 4px;
    display: flex;
    gap: 2px;
}

.status-bar-field {
    border: 1px solid;
    border-color: var(--win-mid) var(--win-light) var(--win-light) var(--win-mid);
    padding: 1px 6px;
    font-size: 12px;
    color: var(--win-black);
}

.status-bar-field:first-child { min-width: 80px; }
.status-bar-field:last-child  { flex: 1; }

.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 46px;
    background: var(--win-gray);
    border-top: 2px solid;
    border-color: var(--win-light) transparent transparent transparent;
    box-shadow: inset 0 1px var(--win-white);
    display: flex;
    align-items: center;
    padding: 2px 4px;
    gap: 4px;
    z-index: 9999;
}

.start-btn {
    height: 34px;
    padding: 0 12px;
    background: var(--win-gray);
    font-family: "Determination", "MS Sans Serif", Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: var(--win-black);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    box-shadow:
        inset -1px -1px var(--win-black),
        inset  1px  1px var(--win-white),
        inset -2px -2px var(--win-mid),
        inset  2px  2px var(--win-light);
}

.start-btn:active {
    box-shadow:
        inset -1px -1px var(--win-white),
        inset  1px  1px var(--win-black),
        inset -2px -2px var(--win-light),
        inset  2px  2px var(--win-mid);
}

.taskbar-separator {
    width: 0;
    height: 28px;
    border-left: 1px solid var(--win-mid);
    border-right: 1px solid var(--win-white);
    margin: 0 2px;
    flex-shrink: 0;
}

.taskbar-task {
    height: 34px;
    padding: 0 10px;
    background: var(--win-gray);
    font-family: "Determination", "MS Sans Serif", Arial, sans-serif;
    font-size: 13px;
    color: var(--win-black);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 100px;
    max-width: 180px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none;
    box-shadow:
        inset -1px -1px var(--win-black),
        inset  1px  1px var(--win-white),
        inset -2px -2px var(--win-mid),
        inset  2px  2px var(--win-light);
}

.taskbar-task.active {
    box-shadow:
        inset -1px -1px var(--win-white),
        inset  1px  1px var(--win-black),
        inset -2px -2px var(--win-light),
        inset  2px  2px var(--win-mid);
    background: var(--win-light);
}

.taskbar-tray {
    margin-left: auto;
    border: 1px solid;
    border-color: var(--win-mid) var(--win-light) var(--win-light) var(--win-mid);
    padding: 2px 10px;
    height: 34px;
    display: flex;
    align-items: center;
    font-size: 13px;
    white-space: nowrap;
}

button, .btn, .bouton-principal, .bouton-secondaire {
    font-family: "MicrosoftSansSerif", "MS Sans Serif", Arial, sans-serif;
    font-size: 12px;
    background: var(--win-gray);
    color: var(--win-black);
    border: none;
    cursor: pointer;
    padding: 5px 18px;
    min-width: 80px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    user-select: none;
    line-height: 1.4;
    border-radius: 0;
    transform: none;
    transition: none;
    opacity: 1;
    letter-spacing: 0;
    margin: 4px 2px;
    box-shadow:
        inset -1px -1px var(--win-black),
        inset  1px  1px var(--win-white),
        inset -2px -2px var(--win-mid),
        inset  2px  2px var(--win-light);
}

button:active, .btn:active {
    box-shadow:
        inset -1px -1px var(--win-white),
        inset  1px  1px var(--win-black),
        inset -2px -2px var(--win-light),
        inset  2px  2px var(--win-mid);
    padding-top: 6px;
    padding-bottom: 4px;
    padding-left: 19px;
    padding-right: 17px;
    transform: none;
    opacity: 1;
}

button:focus, .btn:focus {
    outline: 1px dotted var(--win-black);
    outline-offset: -4px;
}

button:hover, .btn:hover {
    transform: none;
    opacity: 1;
    box-shadow:
        inset -1px -1px var(--win-black),
        inset  1px  1px var(--win-white),
        inset -2px -2px var(--win-mid),
        inset  2px  2px var(--win-light);
}

.encadre-important {
    background: var(--win-white);
    border: 2px solid;
    border-color: var(--win-mid) var(--win-light) var(--win-light) var(--win-mid);
    padding: 8px 10px;
    margin: 8px 0;
    border-radius: 0;
}

h1, h2, h3, p, li, td, th, label {
    font-family: "Determination", "MS Sans Serif", "Microsoft Sans Serif", Arial, Helvetica, sans-serif;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

h1 { font-size: 14px; font-weight: bold; color: var(--win-black); font-family: "MicrosoftSansSerif", "MS Sans Serif", Arial, sans-serif; }
h2 { font-size: 13px; font-weight: bold; color: var(--win-black); font-family: "MicrosoftSansSerif", "MS Sans Serif", Arial, sans-serif; }
h3 { font-size: 12px; font-weight: bold; color: var(--win-black); margin: 6px 0 3px; font-family: "MicrosoftSansSerif", "MS Sans Serif", Arial, sans-serif; }
p  { font-size: 13px; line-height: 1.6; margin-bottom: 6px; color: var(--win-black); }

h2.titre-section {
    font-size: 13px;
    font-weight: bold;
    color: var(--win-black);
    background: none;
    -webkit-text-fill-color: var(--win-black);
    border-bottom: 1px solid var(--win-mid);
    border-left: none;
    border-right: none;
    border-top: none;
    padding-bottom: 3px;
    margin: 10px 0 6px;
    border-radius: 0;
    box-shadow: none;
}

a {
    color: var(--win-link);
    text-decoration: underline;
    font-size: 12px;
    font-family: "MicrosoftSansSerif", "MS Sans Serif", Arial, sans-serif;
    transition: none;
}

a:visited { color: var(--win-visited); }
a:hover   { color: var(--win-blue); }

a.lien-texte {
    color: var(--win-link);
    font-weight: normal;
    border: none;
    transition: none;
    border-bottom: none;
}

a.lien-texte:hover {
    color: var(--win-blue);
    border-bottom: none;
}

.hero, .entete-page {
    text-align: center;
    margin-bottom: 10px;
}

.hero > a > img,
.hero > img,
.banniere-page {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px;
    border: 2px solid;
    border-color: var(--win-mid) var(--win-light) var(--win-light) var(--win-mid);
    border-radius: 0;
    box-shadow: none;
    transition: none;
    height: auto;
}

.hero > a:hover > img {
    transform: none;
    border-color: var(--win-dark);
}

.hero h2 {
    font-size: 12px;
    color: var(--win-blue);
    background: none;
    -webkit-text-fill-color: var(--win-blue);
    background-clip: unset;
    margin-bottom: 6px;
}

.entete-page h1 {
    font-size: 12px;
    color: var(--win-blue);
    background: none;
    -webkit-text-fill-color: var(--win-blue);
    background-clip: unset;
    margin-bottom: 4px;
}

.texte-introduction {
    font-size: 13px;
    max-width: 100%;
    text-align: left;
    margin-bottom: 8px;
    color: var(--win-black);
}

.grille-cartes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.carte {
    background: var(--win-gray);
    border: 2px solid;
    border-color: var(--win-light) var(--win-mid) var(--win-mid) var(--win-light);
    box-shadow: 1px 1px var(--win-black);
    padding: 0;
    border-radius: 0;
    transition: none;
}

.carte:hover {
    transform: none;
    box-shadow: 2px 2px var(--win-black);
}

.carte h3 {
    background: linear-gradient(to right, var(--win-blue), var(--win-lblue));
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    padding: 6px 12px;
    margin: 0;
    -webkit-text-fill-color: #ffffff;
}

.carte > p {
    padding: 8px 14px;
    font-size: 12px;
    margin: 0;
    color: var(--win-black);
}

.carte > a {
    padding: 8px 14px;
    display: block;
    color: var(--win-link);
    font-size: 12px;
    margin-top: 0;
    font-weight: normal;
    transition: none;
}

.carte > a:hover { color: var(--win-blue); }

.navigation-ancres {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0;
}

.navigation-ancres a {
    font-family: "Determination", "MS Sans Serif", Arial, sans-serif;
    font-size: 13px;
    background: var(--win-gray);
    color: var(--win-black);
    text-decoration: none;
    padding: 4px 14px;
    border-radius: 0;
    transition: none;
    box-shadow:
        inset -1px -1px var(--win-black),
        inset  1px  1px var(--win-white),
        inset -2px -2px var(--win-mid),
        inset  2px  2px var(--win-light);
}

.navigation-ancres a:hover {
    background: var(--win-gray);
    color: var(--win-black);
    transform: none;
}

.navigation-ancres a:active {
    box-shadow:
        inset -1px -1px var(--win-white),
        inset  1px  1px var(--win-black),
        inset -2px -2px var(--win-light),
        inset  2px  2px var(--win-mid);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: var(--win-white);
    border: 2px solid;
    border-color: var(--win-mid) var(--win-light) var(--win-light) var(--win-mid);
    margin: 10px 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

thead th {
    background: var(--win-gray);
    border: 1px solid var(--win-mid);
    padding: 4px 10px;
    text-align: left;
    font-weight: bold;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--win-black);
    -webkit-text-fill-color: var(--win-black);
}

tbody td {
    border: 1px solid var(--win-mid);
    padding: 3px 10px;
    background: var(--win-white);
    color: var(--win-black);
    font-size: 13px;
}

tbody tr:nth-child(even) td { background: #f0f0f0; }
tbody tr:hover td           { background: var(--win-blue); color: #ffffff; }

ol.liste-chapitres {
    list-style: decimal;
    margin: 6px 0 6px 22px;
    padding: 0;
    counter-reset: none;
}

ol.liste-chapitres li {
    padding: 4px 8px;
    margin-bottom: 4px;
    background: var(--win-white);
    border: 1px solid var(--win-mid);
    position: static;
    box-shadow: none;
    border-radius: 0;
    transition: none;
    font-size: 13px;
}

ol.liste-chapitres li::before { display: none; }

ol.liste-chapitres li:hover {
    background: var(--win-blue);
    color: #ffffff;
    transform: none;
}

ul.liste-personnages {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0 10px;
}

ul.liste-personnages li {
    background: var(--win-gray);
    border: 2px solid;
    border-color: var(--win-light) var(--win-mid) var(--win-mid) var(--win-light);
    box-shadow: 1px 1px var(--win-black);
    padding: 3px 12px;
    font-size: 13px;
    border-radius: 0;
    cursor: default;
    transition: none;
    font-weight: normal;
}

ul.liste-personnages li:hover {
    background: var(--win-blue);
    color: #ffffff;
    border-color: var(--win-blue);
}

ul.liens-externes {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 6px 0;
}

ul.liens-externes li { font-size: 13px; padding-left: 20px; position: relative; }
ul.liens-externes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url("../assets/images/folder.png") no-repeat center / contain;
}

ul.liens-externes li a {
    color: var(--win-link);
    text-decoration: underline;
    border: none;
    border-radius: 0;
    padding: 0;
    display: inline;
    background: none;
    font-weight: normal;
    transition: none;
}

ul.liens-externes li a:hover {
    color: var(--win-blue);
    background: none;
    transform: none;
}

.section-personnage {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 12px;
    align-items: start;
    padding: 10px;
    border: 2px solid;
    border-color: var(--win-mid) var(--win-light) var(--win-light) var(--win-mid);
    background: var(--win-white);
    margin: 10px 0;
    border-radius: 0;
    box-shadow: none;
}

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

.conteneur-portrait img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 2px solid;
    border-color: var(--win-mid) var(--win-light) var(--win-light) var(--win-mid);
    display: block;
    margin: 0 auto;
    cursor: pointer;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.conteneur-portrait img:hover {
    border-color: var(--win-blue);
    outline: 1px solid var(--win-blue);
    transform: none;
    box-shadow: none;
}

.conteneur-portrait .indication-clic {
    font-size: 12px;
    color: var(--win-mid);
    font-style: italic;
    text-align: center;
    margin-top: 3px;
}

.badge {
    font-size: 12px;
    padding: 2px 6px;
    border: 1px solid var(--win-mid);
    background: var(--win-gray);
    color: var(--win-black);
    display: inline-block;
    margin: 1px;
    border-radius: 0;
    font-weight: bold;
}

.badge-yellow { background: #ffff00; color: #000000; }
.badge-teal   { background: #008080; color: #ffffff; }
.badge-red    { background: #800000; color: #ffffff; }

hr.divider {
    height: 0;
    border: none;
    border-top: 1px solid var(--win-mid);
    border-bottom: 1px solid var(--win-white);
    margin: 14px 0;
    background: none;
    border-radius: 0;
}

.conteneur-curseur {
    background: var(--win-gray);
    border: 2px solid;
    border-color: var(--win-mid) var(--win-light) var(--win-light) var(--win-mid);
    padding: 12px;
    margin: 10px 0;
    text-align: center;
    border-radius: 0;
    box-shadow: none;
}

.conteneur-curseur label {
    font-size: 13px;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    color: var(--win-black);
}

input[type="range"] {
    width: 280px;
    max-width: 90%;
    cursor: pointer;
    accent-color: var(--win-blue);
    height: 22px;
    display: block;
    margin: 0 auto 8px;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
}

.grille-gameplay {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin: 10px 0;
}

.gameplay-carte {
    background: var(--win-gray);
    border: 2px solid;
    border-color: var(--win-light) var(--win-mid) var(--win-mid) var(--win-light);
    box-shadow: 1px 1px var(--win-black);
    padding: 10px;
    text-align: center;
    border-radius: 0;
    border-bottom: 2px solid var(--win-mid);
}

.gameplay-carte .icon {
    font-size: 20px;
    display: block;
    margin-bottom: 6px;
}

.gameplay-carte h3 {
    background: none;
    -webkit-text-fill-color: var(--win-black);
    color: var(--win-black);
    font-size: 13px;
    margin: 0 0 4px;
}

#valeur-teinte {
    color: var(--win-blue);
    font-weight: bold;
    font-size: 13px;
}

.pied-de-page {
    font-size: 12px;
    color: var(--win-mid);
    text-align: center;
    padding-top: 8px;
    border-top: 1px solid var(--win-mid);
    margin-top: 14px;
}

.pied-de-page a { color: var(--win-link); }

.lecteur-audio {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 54px;
    background: #c0c0c0;
    border-top: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    gap: 8px;
    z-index: 9999;
    font-family: "MicrosoftSansSerif", "MS Sans Serif", Arial, sans-serif;
    font-size: 12px;
    color: #000000;
}

.lecteur-audio .controles-lecteur {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.lecteur-audio .bouton-lecteur {
    width: 30px;
    height: 30px;
    background: #c0c0c0;
    border: none;
    color: #000000;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    transition: none;
    box-shadow:
        inset -1px -1px #000000,
        inset  1px  1px #ffffff,
        inset -2px -2px #808080,
        inset  2px  2px #dfdfdf;
    min-width: 30px;
    margin: 0;
    opacity: 1;
}

.lecteur-audio .bouton-lecteur:hover {
    color: #000000;
    box-shadow:
        inset -1px -1px #000000,
        inset  1px  1px #ffffff,
        inset -2px -2px #808080,
        inset  2px  2px #dfdfdf;
    transform: none;
    opacity: 1;
}

.lecteur-audio .bouton-lecteur:active {
    box-shadow:
        inset -1px -1px #ffffff,
        inset  1px  1px #000000,
        inset -2px -2px #dfdfdf,
        inset  2px  2px #808080;
    padding: 1px 0 0 1px;
}

.lecteur-audio .bouton-lecteur.bouton-boucle {
    font-size: 14px;
    color: #808080;
}

.lecteur-audio .bouton-lecteur.bouton-boucle.active {
    color: #000080;
}

.lecteur-audio .affichage-temps {
    font-size: 12px;
    font-family: "MicrosoftSansSerif", "MS Sans Serif", Arial, sans-serif;
    color: #000000;
    white-space: nowrap;
    min-width: 36px;
    text-align: center;
    flex-shrink: 0;
    padding: 0 2px;
}

.lecteur-audio .conteneur-progression {
    flex: 1;
    height: 16px;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    border-radius: 0;
    min-width: 80px;
    max-width: 400px;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    box-shadow: inset 1px 1px #404040;
}

.lecteur-audio .barre-progression {
    height: 100%;
    background: #000080;
    width: 0%;
    border-radius: 0;
    transition: width 0.15s linear;
}

.lecteur-audio .conteneur-progression:hover .barre-progression {
    background: #0000a0;
}

.lecteur-audio .conteneur-volume {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.lecteur-audio .bouton-muet-style {
    width: 26px;
    height: 26px;
    background: none;
    border: none;
    color: #000000;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: none;
    min-width: 26px;
    margin: 0;
    opacity: 1;
    border-radius: 0;
    transition: none;
}

.lecteur-audio .bouton-muet-style:hover {
    color: #000000;
    box-shadow: none;
    transform: none;
    opacity: 1;
}

.lecteur-audio .bouton-muet-style:active {
    box-shadow: none;
    padding: 0;
}

.lecteur-audio .curseur-volume {
    -webkit-appearance: none;
    appearance: none;
    width: 70px;
    height: 20px;
    background: transparent;
    outline: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
    box-shadow: none;
}

.lecteur-audio .curseur-volume::-webkit-slider-runnable-track {
    height: 4px;
    background: #ffffff;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    box-shadow: inset 1px 1px #404040;
}

.lecteur-audio .curseur-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 8px;
    height: 16px;
    margin-top: -8px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #000000 #000000 #ffffff;
    box-shadow:
        inset -1px -1px #808080,
        inset  1px  1px #dfdfdf;
    cursor: pointer;
    border-radius: 0;
}

.lecteur-audio .curseur-volume::-moz-range-track {
    height: 4px;
    background: #ffffff;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    box-shadow: inset 1px 1px #404040;
}

.lecteur-audio .curseur-volume::-moz-range-thumb {
    width: 8px;
    height: 16px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #000000 #000000 #ffffff;
    box-shadow:
        inset -1px -1px #808080,
        inset  1px  1px #dfdfdf;
    cursor: pointer;
    border-radius: 0;
}

.lecteur-audio .info-piste {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 1;
    min-width: 0;
    max-width: 280px;
    overflow: hidden;
}

.lecteur-audio .image-piste {
    width: 36px;
    height: 36px;
    object-fit: cover;
    flex-shrink: 0;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    display: block;
}

.lecteur-audio .details-piste {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 0;
    line-height: 1.2;
}

.lecteur-audio .titre-piste {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    color: #000000;
    font-family: "MicrosoftSansSerif", "MS Sans Serif", Arial, sans-serif;
}

.lecteur-audio .titre-piste a {
    color: #000000;
    text-decoration: none;
    font-size: 12px;
    transition: none;
}

.lecteur-audio .titre-piste a:hover { color: #000080; text-decoration: underline; }
.lecteur-audio .titre-piste a:visited { color: #000000; }

.lecteur-audio .artiste-piste {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
    color: #000080;
    font-family: "MicrosoftSansSerif", "MS Sans Serif", Arial, sans-serif;
}

.lecteur-audio .artiste-piste a {
    color: #000080;
    text-decoration: none;
    font-size: 11px;
    transition: none;
}

.lecteur-audio .artiste-piste a:hover { color: #000080; text-decoration: underline; }
.lecteur-audio .artiste-piste a:visited { color: #000080; }

@media (max-width: 640px) {
    body { padding: 2px 2px 64px; }
    .section-personnage { grid-template-columns: 1fr; }
    .taskbar-task { min-width: 60px; font-size: 11px; }
    .window { margin: 0; }
    .lecteur-audio .info-piste { max-width: 140px; }
    .lecteur-audio .artiste-piste { display: none; }
    .lecteur-audio .curseur-volume { display: none; }
}
