/**
 * Installateur Calamares — peau Manjaro GNOME : même Calamares que Manjaro KDE, rendu Qt sombre sous GNOME.
 * Vérité VM A1.3 (VMID 1908 temporaire, manjaro-gnome-25.0.9-251003-linux612.iso, 1280×800, 2026-10-23) : fenêtre à
 * (128,136), barre de titre libadwaita sombre 37 px #2e2e32, contenu #242424 de 834 × 560 px, texte #dfdfdf, boutons
 * plats #3b3b3b de 34 px sans icône ; barre latérale QML identique (#454948, pastilles #35bfa4, éteintes #2e2e2e).
 * Les recalages de position de la peau KDE (même widget, même contenu de 560 px) sont repris tels quels.
 * Captures : root/docs/inventaires/captures/linux-manjaro-gnome/visual-fidelity/install/vm/.
 */
body#manjaro-gnome .windowElement[data-link="calamares"] {
    padding: 0;
    border: 0;
    border-radius: 12px 12px 0 0;
    background: #242424;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

body#manjaro-gnome div.windowElement[data-link="calamares"]:not([data-link="nemo"]):not(#mainMenu) #windowHeader {
    height: 37px;
    min-height: 37px;
    max-height: 37px;
    border-top: 1px solid #3c3c40;
    font-family: "Noto Sans", sans-serif;
    font-size: 13.3px;
    font-weight: 700;
    color: #ffffff;
    background: #2e2e32;
}

}

}

/* Pied : boutons à 521 px du haut du contenu (fenêtre de 560 px de contenu, contre 522 chez neon). */
body#manjaro-gnome main#calamaresApp .calamares-app__footer {
    top: 520px;
}

/* --- Bienvenue : titre Noto Sans Bold 20 pt sur une ligne, mascotte de la marque, langue en bas --- */
body#manjaro-gnome main#calamaresApp .calamares-app__content--welcome .calamares-h1 {
    top: 49px;
    left: 37px;
    width: 760px;
    font-size: 26.67px;
}

body#manjaro-gnome main#calamaresApp .calamares-app__content--welcome .calamares-text--center {
    top: 139px;
}

body#manjaro-gnome main#calamaresApp .calamares-welcome__image {
    top: 201px;
    left: 362px;
    width: 117px;
    height: 175px;
}

body#manjaro-gnome main#calamaresApp .calamares-welcome__lang {
    top: 429px;
    left: 57px;
}


/* GRUB de l'ISO : la barre de sélection est le pixmap select_c.png du thème, étiré. */
body#manjaro-gnome .calamares-grubtheme__entry.is-selected {
    --grub-select: url("../../../../../usr/share/capsuleos/assets/images/vendors/manjaro/install/grub/select_c.webp");
}

/* --- SDDM « breath » de Manjaro (usr/share/sddm/themes/breath) : fond flou et assombri, horloge en graisse normale
   cernée d'ombre, avatar sombre, actions Breeze plus haut que chez neon, « Clavier virtuel » en bas à gauche. --- */
}

}

}

}

}

}

}

}

}

}

}

}

/* --- Partitions : liste Swap + système de fichiers sous « Effacer le disque », bas de page à 320 px --- */
body#manjaro-gnome main#calamaresApp .calamares-part__fs {
    width: 64px;
}

body#manjaro-gnome main#calamaresApp .calamares-part__swap {
    position: static;
    width: 182px;
}

body#manjaro-gnome main#calamaresApp .calamares-part__bottom.has-after {
    top: 320px;
}

/* --- Installer : barre et état sous un diaporama de 435 px --- */
body#manjaro-gnome main#calamaresApp .calamares-progress {
    top: 461px;
}

body#manjaro-gnome main#calamaresApp .calamares-progress__status {
    top: 497px;
}

/* --- Plymouth two-step (thème « manjaro ») : roulette 70 × 10 px à 0,7 de la hauteur, filigrane à 0,96. Le logo du
   micrologiciel (BGRT) que la VM affiche au centre n'est pas reproduit : c'est celui du fabricant de la machine. --- */
body#manjaro-gnome .calamares-plymouth--manjaro .calamares-plymouth__spinner {
    top: 555px;
    left: 605px;
    width: 70px;
    height: 10px;
    animation: none;
}

body#manjaro-gnome .calamares-plymouth--manjaro .calamares-plymouth__watermark {
    bottom: 31px;
}

/* --- Emplacement : carte à 18 px du haut, Région / Zone à 384 px (contenu plus haut que chez neon) --- */
body#manjaro-gnome main#calamaresApp .calamares-map {
    top: 18px;
}

body#manjaro-gnome main#calamaresApp .calamares-location__row {
    top: 384px;
}

body#manjaro-gnome main#calamaresApp .calamares-location__line:nth-of-type(3) {
    top: 434px;
}

body#manjaro-gnome main#calamaresApp .calamares-location__line:nth-of-type(4) {
    top: 475px;
}

/* Boutons du pied plus serrés que chez neon (marge intérieure 6 px) ; « Annuler » détaché de 20 px. */
body#manjaro-gnome main#calamaresApp .calamares-app__footer .calamares-btn {
    height: 34px;
    padding: 0 9px;
}

body#manjaro-gnome main#calamaresApp .calamares-app__footer .calamares-btn:last-child {
    margin-left: 12px;
}

/* --- Palette Qt sombre (Adwaita) : jetons du gabarit commun --- */
body#manjaro-gnome main#calamaresApp {
    --cal-fg: #dfdfdf;
    --cal-muted: #9a9a9a;
    --cal-window: #242424;
    --cal-sidebar: #2c2c2c;
    --cal-button: #444444;
    --cal-border: transparent;
    --cal-line: #3b3b3b;
    --cal-accent: #16a085;
    --cal-selection: #16a085;
    --cal-progress: #16a085;
    --cal-progress-bg: #4a4a4a;
}

body#manjaro-gnome main#calamaresApp.calamares-app--dots {
    --cal-dot-on: #16a085;
    --cal-dot-off: #323232;
    --cal-window: #2c2c2c;
}

body#manjaro-gnome main#calamaresApp .calamares-app__main {
    background: #242424;
}

body#manjaro-gnome main#calamaresApp .calamares-btn {
    border: 0;
    border-radius: 5px;
    font-weight: 700;
}

body#manjaro-gnome main#calamaresApp .calamares-btn:disabled {
    color: #7c7c7c;
    background: #3b3b3b;
}

body#manjaro-gnome main#calamaresApp .calamares-input,
body#manjaro-gnome main#calamaresApp .calamares-combo {
    border: 0;
    border-radius: 5px;
    color: #dfdfdf;
    background: #454545;
}

body#manjaro-gnome main#calamaresApp .calamares-list {
    color: #dfdfdf;
    background: #2c2c2c;
}

body#manjaro-gnome main#calamaresApp .calamares-summary__body {
    background: #2a2a2a;
}

/* --- Session live : Manjaro Hello en Adwaita sombre, titres en gras --- */
body#manjaro-gnome .calamares-hello {
    top: 12px;
    left: 194px;
    height: 742px;
    border-radius: 12px;
    color: #ffffff;
    background: #222226;
}

body#manjaro-gnome .calamares-hello__titlebar {
    border-top-color: #3c3c40;
    font-weight: 700;
    background: #2e2e32;
}

body#manjaro-gnome .calamares-hello__button,
body#manjaro-gnome .calamares-hello__lang {
    border-bottom: 0;
    font-weight: 700;
    color: #ffffff;
    background: #3a3a3e;
}

body#manjaro-gnome .calamares-hello.is-dimmed {
    filter: brightness(0.45);
}

/* Le bureau de la peau commence à (46, 33) : la boîte d'accueil de GNOME Shell se pose à (405, 132) de l'écran. */
body#manjaro-gnome .gnome-shell-welcome {
    top: 99px;
    left: 359px;
}

/* Pendant l'installation, le bureau live n'a aucune icône (GNOME). */
body#manjaro-gnome[data-capsule-install] .desktop-shortcut {
    display: var(--n);
}

/* --- Installer : sous GNOME, le diaporama est posé dans un cadre arrondi #3c3c3c (21 px du contenu, scène de 766 × 377),
   le pourcentage est centré au-dessus d'une barre de 3 px, le bouton du journal à droite. Ancrages QML recalculés pour
   W = 766, H = 377 : fond à -0,8 H sur 2 H, fusée centrée à W/2 - 235, texte à (W/2 - 100, H/2 - 82). --- */
body#manjaro-gnome main#calamaresApp .calamares-slides.calamares-slides--scene {
    top: 34px;
    left: 34px;
    width: 766px;
    height: 377px;
    box-shadow: 0 0 0 13px #3c3c3c, 0 0 0 14px #1e1e1e;
    border-radius: 2px;
}

body#manjaro-gnome main#calamaresApp .calamares-scene__layer--ground {
    top: -302px;
    height: 843px;
    transform: scaleY(0.895);
}

body#manjaro-gnome main#calamaresApp .calamares-scene__layer--rocket {
    left: 94px;
    top: 72px;
}

body#manjaro-gnome main#calamaresApp .calamares-scene.is-ground .calamares-scene__layer--rocket {
    top: 162px;
}

body#manjaro-gnome main#calamaresApp .calamares-scene__layer--smoke {
    background-size: 746px 410px;
}

body#manjaro-gnome main#calamaresApp .calamares-slides--scene .calamares-slide--text {
    top: 106px;
    left: 283px;
}

body#manjaro-gnome main#calamaresApp .calamares-progress {
    top: 453px;
    left: 9px;
    width: 808px;
    height: 34px;
}

body#manjaro-gnome main#calamaresApp .calamares-progress__bar {
    position: absolute;
    top: 25px;
    left: 0;
    width: 766px;
    height: 3px;
}

body#manjaro-gnome main#calamaresApp .calamares-progress__pct {
    position: absolute;
    top: 0;
    left: 0;
    width: 766px;
    font-size: 12px;
    text-align: center;
}

body#manjaro-gnome main#calamaresApp .calamares-progress__log {
    position: absolute;
    top: 0;
    right: 0;
    width: 34px;
    height: 32px;
    padding: 8px;
    border-radius: 5px;
    box-sizing: border-box;
    background: #444444;
}

body#manjaro-gnome main#calamaresApp .calamares-progress__status {
    top: 492px;
    left: 12px;
}

/* --- GDM : avatar de 160 px, nom en 22 px, champ de 276 px, engrenage de session à droite du logo --- */
body#manjaro-gnome .calamares-gdm__auth {
    top: 222px;
}

body#manjaro-gnome .calamares-gdm__auth .calamares-gdm__avatar {
    width: 160px;
    height: 160px;
}

body#manjaro-gnome .calamares-gdm__auth-name {
    margin: 26px 0 28px;
    font-size: 22px;
}

body#manjaro-gnome .calamares-gdm__input {
    width: 236px;
    height: 34px;
}

body#manjaro-gnome .calamares-gdm__eye {
    top: 12px;
}

body#manjaro-gnome .calamares-gdm__session {
    right: 49px;
    bottom: 81px;
}

/* --- Boîte d'accueil de GNOME Shell : textes Adwaita --- */
body#manjaro-gnome .gnome-shell-welcome__button {
    font-size: 13.3px;
}

body#manjaro-gnome .gnome-shell-welcome__button:focus-visible,
body#manjaro-gnome .gnome-shell-welcome__button:focus {
    outline: none;
}

/* gnome-shell-start.svg porte de larges marges : rendue en « contain » dans 300 × 300 par St, sa partie visible fait
   296 px de large sur la VM ; on agrandit la boîte de l'image d'autant en gardant la place qu'elle occupe. */
body#manjaro-gnome .gnome-shell-welcome__image {
    width: 425px;
    height: 425px;
    margin: -26px 0 -62px;
}

body#manjaro-gnome .gnome-shell-welcome__title {
    margin-top: 19px;
    margin-bottom: 21px;
    font-size: 18px;
}

body#manjaro-gnome .gnome-shell-welcome__text {
    font-size: 13.5px;
}

body#manjaro-gnome .gnome-shell-welcome__buttons {
    margin-top: 26px;
}

body#manjaro-gnome .gnome-shell-welcome__button {
    box-shadow: none;
}
