/* =====================================================================
   Lcc OS — feuille de style maison (par-dessus 98.css, MIT)
   ===================================================================== */

@font-face {
  font-family: "Pixelify Sans";
  src: url("../fonts/pixelify-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "VT323";
  src: url("../fonts/vt323-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #008080;
  --silver: #c0c0c0;
  --navy: #000080;
  --ui: 1;
  --font-ui: clamp(12px, calc(12px * var(--ui)), 16px);
  --font-small: clamp(11px, calc(11px * var(--ui)), 14px);
  --taskbar-h: calc(24px + 10px * var(--ui));
  --icon-size: calc(32px * var(--ui));
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
  --cell: 22px;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--teal);
}

body,
.window,
.title-bar,
button,
input,
label,
option,
select,
table,
textarea,
ul.tree-view {
  font-family: "Pixelify Sans", Arial, sans-serif;
}

body,
.window,
.title-bar,
button,
input,
label,
option,
select,
table,
textarea,
ul.tree-view {
  font-size: var(--font-ui);
}

button {
  color: #000;
  text-shadow: none;
}

button:disabled {
  color: grey;
}

img {
  image-rendering: pixelated;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------ */
/* Bureau                                                              */
/* ------------------------------------------------------------------ */

.desktop {
  position: fixed;
  inset: 0 0 calc(var(--taskbar-h) + var(--safe-bottom)) 0;
  background: var(--teal);
  overflow: hidden;
  z-index: 1;
}

.desktop-icons {
  position: absolute;
  top: calc(8px * var(--ui) + var(--safe-top));
  left: calc(8px * var(--ui));
  width: calc(94px * var(--ui));
  display: flex;
  flex-direction: column;
  gap: calc(4px * var(--ui));
  z-index: 2;
}

.desktop-icon {
  appearance: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(3px * var(--ui));
  width: calc(90px * var(--ui));
  padding: calc(4px * var(--ui)) calc(2px * var(--ui));
  cursor: default;
  font-family: inherit;
  text-shadow: 1px 1px 0 #000;
  min-height: 0;
  min-width: 0;
  user-select: none;
  -webkit-user-select: none;
}

.desktop-icon:focus-visible {
  outline: 1px dotted #fff;
  outline-offset: 2px;
}

.desktop-icon img {
  width: var(--icon-size);
  height: var(--icon-size);
  flex: none;
}

.desktop-icon .icon-label {
  padding: 1px 3px;
  text-align: center;
  line-height: 1.15;
  max-width: calc(86px * var(--ui));
  word-break: break-word;
}

.desktop-icon.selected .icon-label {
  background: var(--navy);
  outline: 1px dotted #fff;
}

@keyframes icon-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.desktop-icon.blink img {
  animation: icon-bounce 0.5s ease-in-out 4;
}

.desktop-icon.blink .icon-label {
  background: var(--navy);
  outline: 1px dotted #fff;
}

.panes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ------------------------------------------------------------------ */
/* Fenêtres                                                            */
/* ------------------------------------------------------------------ */

.lcc-window {
  position: absolute;
  display: flex;
  flex-direction: column;
  min-width: 170px;
  min-height: 100px;
  padding: 3px;
  pointer-events: auto;
  box-sizing: border-box;
}

.lcc-window.minimized {
  display: none;
}

.lcc-window.maximized {
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* Poignée de redimensionnement, coin bas droit */
.lcc-resize-grip {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: calc(13px * var(--ui));
  height: calc(13px * var(--ui));
  cursor: nwse-resize;
  touch-action: none;
  z-index: 5;
  image-rendering: pixelated;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' shape-rendering='crispEdges'%3E%3Cpath d='M11 1 1 11M11 4 4 11M11 7 7 11' stroke='%23ffffff' stroke-width='1'/%3E%3Cpath d='M11 2 2 11M11 5 5 11M11 8 8 11' stroke='%23808080' stroke-width='1'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.lcc-window.maximized .lcc-resize-grip {
  display: none;
}

.lcc-window > .title-bar {
  flex: 0 0 auto;
  cursor: move;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.lcc-window > .title-bar .title-bar-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.title-bar.inactive .title-bar-text {
  color: #404040;
}

.lcc-window > .window-body {
  flex: 1 1 auto;
  min-height: 0;
  margin: 4px 1px 1px;
  overflow: auto;
  overflow-x: hidden;
}

/* Contrôles de barre de titre : glyphes repris de 98.css (MIT),
   associés à des libellés français. */

.title-bar-controls button[data-ctl="min"] {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='6' height='2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M0 0h6v2H0z'/%3E%3C/svg%3E");
  background-position: bottom 3px left 4px;
  background-repeat: no-repeat;
}

.title-bar-controls button[data-ctl="max"] {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='9' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 0H0v9h9V0zM8 2H1v6h7V2z' fill='%23000'/%3E%3C/svg%3E");
  background-position: top 2px left 3px;
  background-repeat: no-repeat;
}

.lcc-window.maximized .title-bar-controls button[data-ctl="max"] {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M2 0h6v2H2zM7 2h1v4H7zM2 2h1v1H2zM6 5h1v1H6zM0 3h6v2H0zM5 5h1v4H5zM0 5h1v4H0zM1 8h4v1H1z'/%3E%3C/svg%3E");
  background-position: top 2px left 3px;
}

.title-bar-controls button[data-ctl="close"] {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h2v1h1v1h2V1h1V0h2v1H7v1H6v1H5v1h1v1h1v1h1v1H6V6H5V5H3v1H2v1H0V6h1V5h1V4h1V3H2V2H1V1H0V0z' fill='%23000'/%3E%3C/svg%3E");
  background-position: top 3px left 4px;
  background-repeat: no-repeat;
  margin-left: 2px;
}

/* Boutons de barre de titre agrandis avec l'échelle UI. */
.title-bar-controls button {
  min-width: calc(16px * var(--ui));
  min-height: calc(14px * var(--ui));
  background-position: center !important;
  background-repeat: no-repeat;
}

/* ------------------------------------------------------------------ */
/* Barre des tâches                                                    */
/* ------------------------------------------------------------------ */

.taskbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--taskbar-h) + var(--safe-bottom));
  padding: 2px 3px calc(2px + var(--safe-bottom)) 3px;
  box-sizing: border-box;
  background: var(--silver);
  box-shadow: inset 0 1px #dfdfdf, inset 0 2px #fff;
  display: flex;
  align-items: center;
  gap: calc(4px * var(--ui));
  z-index: 5000;
}

.start-button {
  display: flex;
  align-items: center;
  gap: calc(5px * var(--ui));
  flex: none;
  min-height: calc(22px + 4px * var(--ui));
  padding: calc(2px * var(--ui)) calc(7px * var(--ui));
  font-weight: 700;
}

.start-button img {
  width: calc(16px * var(--ui));
  height: calc(16px * var(--ui));
  flex: none;
}

.start-button[aria-expanded="true"] {
  box-shadow: inset -1px -1px #fff, inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf, inset 2px 2px grey;
}

.task-items {
  flex: 1 1 auto;
  display: flex;
  gap: 3px;
  overflow: hidden;
  min-width: 0;
}

.task-button {
  flex: 0 1 calc(170px * var(--ui));
  min-width: calc(90px * var(--ui));
  min-height: calc(22px + 4px * var(--ui));
  padding: calc(2px * var(--ui)) calc(6px * var(--ui));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: calc(4px * var(--ui));
  overflow: hidden;
}

.task-button img {
  width: calc(16px * var(--ui));
  height: calc(16px * var(--ui));
  flex: none;
}

.task-button span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.task-button.active {
  background: #c0c0c0;
  box-shadow: inset -1px -1px #fff, inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf, inset 2px 2px grey;
}

.tray {
  flex: none;
  display: flex;
  align-items: center;
  gap: calc(6px * var(--ui));
  height: calc(18px + 6px * var(--ui));
  padding: calc(1px * var(--ui)) calc(6px * var(--ui));
  box-shadow: inset 1px 1px #808080, inset 2px 2px #dfdfdf, inset -1px -1px #fff;
}

.tray-button {
  min-width: calc(22px * var(--ui));
  min-height: calc(20px * var(--ui));
  padding: 0 calc(2px * var(--ui));
  display: flex;
  align-items: center;
  justify-content: center;
}

.tray-button img {
  width: calc(16px * var(--ui));
  height: calc(16px * var(--ui));
}

.clock {
  font-size: var(--font-ui);
  white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Menu Démarrer                                                       */
/* ------------------------------------------------------------------ */

.start-menu {
  position: fixed;
  left: 3px;
  bottom: calc(var(--taskbar-h) + var(--safe-bottom) + 2px);
  width: min(calc(240px * var(--ui)), 360px);
  background: var(--silver);
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px grey, inset 2px 2px #fff;
  display: flex;
  padding: 3px;
  z-index: 6000;
}

.start-menu[hidden] {
  display: none;
}

.start-band {
  flex: none;
  width: calc(27px * var(--ui));
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: linear-gradient(180deg, #1084d0, #000080);
  color: #fff;
  font-weight: 700;
  font-size: clamp(16px, calc(16px * var(--ui)), 22px);
  letter-spacing: 1px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: calc(6px * var(--ui)) calc(4px * var(--ui));
  box-sizing: border-box;
}

.start-items {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.start-item {
  width: 100%;
  min-width: 0;
  min-height: calc(26px + 4px * var(--ui));
  padding: calc(4px * var(--ui)) calc(8px * var(--ui));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(8px * var(--ui));
  text-align: left;
}

.start-item .arrow {
  font-size: 10px;
  opacity: 0.8;
}

.start-sep {
  width: 100%;
  height: 0;
  border: 0;
  border-top: 1px solid #808080;
  border-bottom: 1px solid #fff;
  margin: 3px 0;
}

.start-submenu {
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 2px;
  width: min(calc(240px * var(--ui)), 360px);
  background: var(--silver);
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px grey, inset 2px 2px #fff;
  padding: 3px;
  display: none;
  z-index: 6001;
}

.start-submenu.open {
  display: block;
}

.start-submenu button {
  display: flex;
  align-items: center;
  gap: calc(6px * var(--ui));
  width: 100%;
  min-width: 0;
  min-height: calc(22px + 4px * var(--ui));
  padding: calc(3px * var(--ui)) calc(8px * var(--ui));
  text-align: left;
}

.start-submenu button img {
  width: calc(16px * var(--ui));
  height: calc(16px * var(--ui));
  flex: none;
}

.start-submenu button span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ------------------------------------------------------------------ */
/* Bloc-notes                                                          */
/* ------------------------------------------------------------------ */

.notepad {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.menubar-fake {
  flex: none;
  display: flex;
  gap: 14px;
  padding: 2px 4px;
  border-bottom: 1px solid #808080;
  color: #000;
}

.menubar-fake span {
  padding: 1px 3px;
}

.notepad-page {
  flex: 1 1 auto;
  min-height: 0;
  background: #fff;
  color: #000;
  margin: 3px 0;
  padding: 8px 10px;
  overflow: auto;
  white-space: pre-wrap;
  font-family: "VT323", "Courier New", monospace;
  font-size: clamp(18px, calc(18px * var(--ui)), 26px);
  line-height: 1.3;
  box-shadow: inset 1px 1px #808080, inset 2px 2px #dfdfdf;
  user-select: text;
}

.notepad-page p {
  margin: 0;
}

.np-title {
  font-weight: 700;
}

.np-dim {
  color: #444;
}

.notepad-page a {
  color: #000;
  text-decoration: none;
}

.notepad-page a:hover,
.notepad-page a:focus {
  color: #0000ee;
  text-decoration: underline;
}

.notepad-footer {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0 0;
}

.notepad-footer button {
  min-width: 0;
  min-height: 24px;
  padding: 2px 8px;
}

.copy-status {
  color: #004000;
}

/* ------------------------------------------------------------------ */
/* Lcc Write — traitement de texte                                     */
/* ------------------------------------------------------------------ */

.write {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.write-toolbar {
  flex: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1px;
  padding: 1px 2px;
  overflow-x: auto;
  border-bottom: 1px solid #808080;
}

.write-btn {
  flex: none;
  width: calc(22px * var(--ui));
  height: calc(22px * var(--ui));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--silver);
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff,
    inset -2px -2px grey, inset 2px 2px #dfdfdf;
  font-size: var(--font-small);
  line-height: 1;
}

.write-btn svg {
  width: calc(16px * var(--ui));
  height: calc(16px * var(--ui));
}

.write-btn-text {
  font-family: "Times New Roman", Times, serif;
  font-size: calc(14px * var(--ui));
}

.write-bold { font-weight: 700; }
.write-italic { font-style: italic; }
.write-underline { text-decoration: underline; }

.write-sep {
  flex: none;
  width: 2px;
  height: calc(18px * var(--ui));
  margin: 0 calc(2px * var(--ui));
  background: #808080;
  border-right: 1px solid #fff;
}

.write-combo {
  flex: none;
  height: calc(20px * var(--ui));
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(3px * var(--ui));
  padding: 0 calc(3px * var(--ui));
  overflow: hidden;
  background: #fff;
  box-shadow: inset -1px -1px #fff, inset 1px 1px grey,
    inset -2px -2px #dfdfdf, inset 2px 2px #0a0a0a;
  font-size: var(--font-small);
  white-space: nowrap;
}

.write-combo > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.write-combo-style { width: calc(72px * var(--ui)); }
.write-combo-font { width: calc(118px * var(--ui)); }
.write-combo-size { width: calc(40px * var(--ui)); }
.write-combo-zoom { width: calc(56px * var(--ui)); }

.write-caret {
  flex: none;
  width: 0;
  height: 0;
  border-left: calc(3px * var(--ui)) solid transparent;
  border-right: calc(3px * var(--ui)) solid transparent;
  border-top: calc(4px * var(--ui)) solid #000;
}

.write-toolbar-spacer {
  flex: 1 1 auto;
}

.write-ruler {
  flex: none;
  height: calc(18px * var(--ui));
  padding: 0 calc(10px * var(--ui));
  border-bottom: 1px solid #808080;
  background: var(--silver);
}

.write-ruler-scale {
  position: relative;
  height: 100%;
  max-width: calc(680px * var(--ui));
  margin: 0 auto;
  background-image:
    repeating-linear-gradient(to right, #808080 0 1px, transparent 1px calc(8px * var(--ui))),
    repeating-linear-gradient(to right, #404040 0 1px, transparent 1px calc(40px * var(--ui)));
  background-size: 100% calc(5px * var(--ui)), 100% calc(9px * var(--ui));
  background-position: left bottom, left bottom;
  background-repeat: repeat-x;
}

.write-ruler-num {
  position: absolute;
  top: 0;
  font-size: calc(8px * var(--ui));
  line-height: 1;
  transform: translateX(-50%);
}

.write-indent {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: calc(4px * var(--ui)) solid transparent;
  border-right: calc(4px * var(--ui)) solid transparent;
  border-bottom: calc(6px * var(--ui)) solid #000;
}

.write-indent-left { left: 0; }
.write-indent-right { right: 0; }

.write-doc {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: calc(10px * var(--ui));
  background: #808080;
}

.write-page {
  max-width: calc(680px * var(--ui));
  margin: 0 auto;
  padding: calc(26px * var(--ui)) calc(34px * var(--ui));
  background: #fff;
  color: #000;
  border: 1px solid #000;
  box-sizing: border-box;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(13px, calc(13px * var(--ui)), 18px);
  line-height: 1.55;
  box-shadow: 2px 2px 0 #404040;
  user-select: text;
}

.write-page h1 {
  margin: 0 0 0.7em;
  font-size: 1.6em;
  line-height: 1.2;
}

.write-page h2 {
  margin: 1.4em 0 0.5em;
  font-size: 1.25em;
}

.write-page h3 {
  margin: 1.1em 0 0.35em;
  font-size: 1.05em;
}

.write-page p {
  margin: 0 0 0.8em;
  text-align: justify;
}

.write-page ul,
.write-page ol {
  margin: 0 0 0.9em 1.4em;
  padding: 0;
}

.write-page li {
  margin-bottom: 0.25em;
}

.write-page a {
  color: #000080;
}

.write-status {
  flex: none;
  display: flex;
  gap: 1px;
  padding: 1px;
  font-size: var(--font-small);
  background: var(--silver);
  box-shadow: inset 1px 1px #808080, inset 2px 2px #dfdfdf;
}

.write-status-field {
  flex: none;
  padding: 1px calc(5px * var(--ui));
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-shadow: inset -1px -1px #dfdfdf, inset 1px 1px grey;
}

.write-status-field:nth-child(4) {
  flex: 1 1 auto;
}

/* ------------------------------------------------------------------ */
/* Votre trafic qualifié                                               */
/* ------------------------------------------------------------------ */

.console95 {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  min-height: 0;
}

.console-head {
  flex: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px;
}

.console-label {
  color: #333;
}

.console-value {
  color: #1a73e8;
  font-size: clamp(24px, calc(24px * var(--ui)), 36px);
  font-weight: 700;
  line-height: 1;
}

.console-chart {
  flex: 1 1 auto;
  min-height: 110px;
  background: #fff;
  box-shadow: inset 1px 1px #808080, inset 2px 2px #dfdfdf;
  padding: 5px;
  box-sizing: border-box;
}

.console-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.console-log {
  flex: none;
  height: calc(96px + 24px * var(--ui));
  overflow: auto;
  background: #fff;
  box-shadow: inset 1px 1px #808080, inset 2px 2px #dfdfdf;
  padding: 3px 6px;
  box-sizing: border-box;
  font-size: clamp(13px, calc(13px * var(--ui)), 17px);
  line-height: 1.35;
}

.log-line {
  padding: 1px 0;
  border-bottom: 1px dotted #ddd;
  line-height: 1.3;
  word-break: break-word;
}

.log-line:last-child {
  border-bottom: 0;
}

.log-good { color: #007000; }
.log-bad { color: #c00000; }
.log-msg { color: #000080; }

.log-link,
.help-link {
  color: inherit;
  text-shadow: none;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  min-width: 0;
  min-height: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  display: inline;
  vertical-align: baseline;
}

.log-link:hover,
.log-link:focus,
.help-link:hover,
.help-link:focus {
  color: #0000ee;
  text-decoration: underline;
}

/* Console compacte, intégrée sous la grille sur mobile */
.console95.compact .console-value {
  font-size: clamp(16px, calc(17px * var(--ui)), 22px);
}

.console95.compact .console-chart {
  min-height: 70px;
  height: 80px;
  flex: none;
}

.console95.compact .console-log {
  height: auto;
  max-height: 84px;
  font-size: clamp(12px, calc(13px * var(--ui)), 16px);
}

.console95.compact .console-label {
  font-size: var(--font-small);
}

/* ------------------------------------------------------------------ */
/* Démineur SEO                                                        */
/* ------------------------------------------------------------------ */

.minesweeper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(6px * var(--ui));
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.ms-menubar {
  display: flex;
  gap: 2px;
  align-self: stretch;
}

.ms-menu {
  position: relative;
}

.ms-menu > button {
  min-width: 0;
  min-height: calc(20px + 2px * var(--ui));
  padding: 1px calc(9px * var(--ui));
}

.ms-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  padding: 3px;
  background: var(--silver);
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px grey, inset 2px 2px #fff;
  display: none;
  z-index: 30;
}

.ms-dropdown.open {
  display: block;
}

.ms-dropdown button {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: calc(22px + 4px * var(--ui));
  padding: calc(3px * var(--ui)) calc(8px * var(--ui));
  text-align: left;
}

.ms-head {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(6px * var(--ui));
  padding: calc(4px * var(--ui));
  box-shadow: inset -1px -1px #fff, inset 1px 1px #808080, inset -2px -2px #dfdfdf, inset 2px 2px grey;
}

.lcd {
  background: #000;
  color: #ff0000;
  font-family: "VT323", monospace;
  font-size: clamp(24px, calc(24px * var(--ui)), 34px);
  line-height: 1;
  padding: calc(2px * var(--ui)) calc(4px * var(--ui));
  letter-spacing: 1px;
  box-shadow: inset 1px 1px #808080;
  min-width: calc(52px * var(--ui));
  text-align: center;
}

.smiley {
  width: calc(38px * var(--ui));
  height: calc(38px * var(--ui));
  min-width: calc(38px * var(--ui));
  min-height: calc(38px * var(--ui));
  padding: calc(2px * var(--ui));
  display: flex;
  align-items: center;
  justify-content: center;
}

.smiley img {
  width: calc(30px * var(--ui));
  height: calc(30px * var(--ui));
}

.ms-grid-wrap {
  max-width: 100%;
  overflow: auto;
}

.ms-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 9), var(--cell));
  grid-auto-rows: var(--cell);
  width: max-content;
}

.cell {
  width: var(--cell);
  height: var(--cell);
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--silver);
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px grey, inset 2px 2px #dfdfdf;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "VT323", monospace;
  font-size: calc(var(--cell) * 0.74);
  font-weight: 400;
  line-height: 1;
  color: #000;
  text-shadow: none;
  touch-action: manipulation;
  cursor: pointer;
}

.cell.open {
  box-shadow: none;
  border: 1px solid #808080;
  background: #c0c0c0;
  cursor: default;
}

.cell.mine-hit {
  background: #ff0000;
}

.cell img {
  width: 72%;
  height: 72%;
  pointer-events: none;
}

.cell.n1 { color: #0000ff; }
.cell.n2 { color: #008000; }
.cell.n3 { color: #ff0000; }
.cell.n4 { color: #000080; }
.cell.n5 { color: #800000; }
.cell.n6 { color: #008080; }
.cell.n7 { color: #000000; }
.cell.n8 { color: #808080; }

.cell:focus-visible {
  outline: 2px solid #000;
  outline-offset: -2px;
}

.ms-dropdown hr {
  border: 0;
  border-top: 1px solid #808080;
  border-bottom: 1px solid #fff;
  margin: 3px 2px;
}

.ms-desktop-only {
  display: block;
}

.ms-toggle {
  display: none;
  align-self: stretch;
  justify-content: center;
  min-height: 40px;
}

.ms-console {
  display: none;
  align-self: stretch;
}

.ms-hint {
  font-size: var(--font-small);
  color: #333;
  text-align: center;
}

/* ------------------------------------------------------------------ */
/* Courrier Lcc                                                        */
/* ------------------------------------------------------------------ */

.mail {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  gap: 3px;
}

.mail-toolbar {
  flex: none;
  display: flex;
  gap: 5px;
  padding: 2px 0 3px;
}

.mail-toolbar button {
  min-width: 0;
  min-height: 24px;
  padding: 2px 9px;
}

.mail-main {
  flex: 1 1 45%;
  display: flex;
  gap: 4px;
  min-height: 0;
}

.mail-preview {
  flex: 1 1 55%;
  min-height: calc(90px * var(--ui));
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: inset 1px 1px #808080, inset 2px 2px #dfdfdf;
  box-sizing: border-box;
}

.mail-preview-empty {
  margin: auto;
  padding: 10px;
  color: #555;
  font-size: var(--font-small);
  text-align: center;
}

.mail-preview-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.mail-preview-head {
  flex: none;
  padding: calc(4px * var(--ui)) calc(7px * var(--ui));
  border-bottom: 1px solid #c0c0c0;
}

.mail-preview-subject {
  margin: 0 0 2px;
  font-weight: 700;
  font-size: var(--font-ui);
}

.mail-preview-meta {
  margin: 0;
  color: #333;
  font-size: var(--font-small);
}

.mail-preview-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: calc(5px * var(--ui)) calc(9px * var(--ui));
  font-size: var(--font-small);
  line-height: 1.4;
}

.mail-preview-body p {
  margin: 0 0 6px;
}

.mail-preview-body p:last-child {
  margin-bottom: 0;
}

.mail-preview-actions {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: calc(3px * var(--ui)) calc(5px * var(--ui));
  border-top: 1px solid #c0c0c0;
  background: var(--silver);
}

.mail-preview-actions button {
  min-width: 0;
  min-height: calc(20px + 2px * var(--ui));
  padding: 1px calc(7px * var(--ui));
  font-size: var(--font-small);
}

.mail-folders {
  flex: none;
  width: calc(168px * var(--ui));
  background: #fff;
  box-shadow: inset 1px 1px #808080, inset 2px 2px #dfdfdf;
  padding: 4px;
  overflow: auto;
  box-sizing: border-box;
}

.folder-button {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: calc(22px + 4px * var(--ui));
  padding: calc(3px * var(--ui)) calc(6px * var(--ui));
  text-align: left;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #000;
  text-shadow: none;
  font-size: var(--font-ui);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  touch-action: manipulation;
}

.folder-button.active {
  background: var(--navy);
  color: #fff;
}

.mail-list-wrap {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: inset 1px 1px #808080, inset 2px 2px #dfdfdf;
  box-sizing: border-box;
}

.mail-head,
.mail-row {
  display: grid;
  grid-template-columns:
    calc(14px * var(--ui))
    minmax(calc(84px * var(--ui)), 1fr)
    minmax(calc(110px * var(--ui)), 1.6fr)
    calc(112px * var(--ui));
  gap: calc(5px * var(--ui));
  align-items: center;
  padding: calc(2px * var(--ui)) calc(6px * var(--ui));
  min-height: calc(18px + 4px * var(--ui));
  box-sizing: border-box;
}

.mail-head {
  flex: none;
  background: var(--silver);
  font-weight: 700;
  box-shadow: inset 0 -1px #808080;
}

.mail-list {
  flex: 1 1 auto;
  overflow: auto;
  min-height: 0;
}

.mail-row {
  width: 100%;
  min-width: 0;
  text-align: left;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #000;
  text-shadow: none;
  font-size: var(--font-ui);
  cursor: default;
  touch-action: manipulation;
}

.mail-row span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mail-row:hover {
  background: #e8e8f8;
}

.mail-row.selected {
  background: var(--navy);
  color: #fff;
}

.mail-row.unread {
  font-weight: 700;
}

.mail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
  display: inline-block;
}

.mail-row.unread .mail-dot {
  background: #000080;
}

.mail-row.unread.selected .mail-dot {
  background: #fff;
}

.mail-status {
  flex: none;
  padding: 3px 6px;
  font-size: var(--font-small);
  box-shadow: inset 1px 1px #808080, inset 2px 2px #dfdfdf;
}

.mail-empty {
  padding: 16px 10px;
  color: #444;
  font-size: var(--font-ui);
  text-align: center;
}

/* Lecture d'un message */
.mail-read {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  gap: 4px;
}

.mail-headers {
  flex: none;
  background: #fff;
  box-shadow: inset 1px 1px #808080, inset 2px 2px #dfdfdf;
  padding: 7px 9px;
  font-size: var(--font-ui);
}

.mail-headers p {
  margin: 0 0 3px;
}

.mail-headers p:last-child {
  margin-bottom: 0;
}

.mail-headers .label {
  display: inline-block;
  min-width: 52px;
  font-weight: 700;
}

.mail-body {
  flex: 1 1 auto;
  min-height: 0;
  background: #fff;
  box-shadow: inset 1px 1px #808080, inset 2px 2px #dfdfdf;
  padding: 9px 11px;
  overflow: auto;
  line-height: 1.45;
  font-size: var(--font-ui);
}

.mail-body p {
  margin: 0 0 8px;
}

.mail-body p:last-child {
  margin-bottom: 0;
}

.mail-demo-banner {
  flex: none;
  background: #fff3b0;
  border: 1px solid #c0a000;
  padding: 3px 6px;
  font-size: 11px;
}

.mail-actions {
  flex: none;
  display: flex;
  gap: 5px;
  padding-top: 2px;
}

.mail-actions button {
  min-width: 0;
  min-height: 24px;
  padding: 2px 9px;
}

/* Rédaction */
.compose {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  gap: 4px;
}

.compose-row {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.compose-row > .label {
  flex: none;
  width: 46px;
  font-weight: 700;
}

.compose-row input {
  flex: 1 1 auto;
  min-width: 0;
}

.compose-from {
  display: flex;
  gap: 5px;
  flex: 1 1 auto;
  min-width: 0;
}

.compose-from input {
  flex: 1 1 50%;
  min-width: 0;
}

.compose textarea {
  flex: 1 1 auto;
  min-height: 150px;
  resize: none;
  font-family: "Pixelify Sans", Arial, sans-serif;
  font-size: 13px;
}

.compose-actions {
  flex: none;
  display: flex;
  gap: 5px;
}

.compose-actions button {
  min-width: 0;
  min-height: 24px;
  padding: 2px 10px;
}

.compose-note {
  flex: none;
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #333;
}

.compose-note a {
  color: #000;
}

.compose-note a:hover,
.compose-note a:focus {
  color: #0000ee;
}

/* Fenêtre « Contactez-moi » */
.mail-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
  gap: 12px;
  padding: 16px;
  box-sizing: border-box;
  text-align: center;
}

.mail-contact img {
  width: calc(48px * var(--ui));
  height: calc(48px * var(--ui));
}

.mail-contact-intro {
  margin: 0;
  font-size: var(--font-ui);
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(190px * var(--ui));
  min-height: calc(28px + 4px * var(--ui));
  padding: calc(4px * var(--ui)) calc(18px * var(--ui));
  background: var(--silver);
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(14px, calc(14px * var(--ui)), 18px);
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff,
    inset -2px -2px grey, inset 2px 2px #dfdfdf;
}

.contact-button:hover {
  background: #d0d0d0;
}

.contact-button:active {
  box-shadow: inset -1px -1px #fff, inset 1px 1px #0a0a0a,
    inset -2px -2px #dfdfdf, inset 2px 2px grey;
}

.contact-button:focus-visible {
  outline: 1px dotted #000;
  outline-offset: -4px;
}

.mail-contact-hint {
  margin: 0;
  font-size: var(--font-small);
  color: #444;
}

/* ------------------------------------------------------------------ */
/* Corbeille                                                           */
/* ------------------------------------------------------------------ */

.trash {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.trash-toolbar {
  flex: none;
  display: flex;
  gap: 6px;
  padding: 2px 0 4px;
}

.trash-toolbar button {
  min-height: 24px;
  min-width: 0;
  padding: 2px 8px;
}

.trash-list {
  flex: 1 1 auto;
  min-height: 0;
  background: #fff;
  overflow: auto;
  box-shadow: inset 1px 1px #808080, inset 2px 2px #dfdfdf;
}

.trash-row {
  display: grid;
  grid-template-columns:
    calc(22px * var(--ui))
    minmax(0, 1fr)
    calc(70px * var(--ui))
    calc(140px * var(--ui));
  align-items: center;
  gap: calc(4px * var(--ui));
  width: 100%;
  min-width: 0;
  min-height: calc(18px + 4px * var(--ui));
  padding: calc(1px * var(--ui)) calc(5px * var(--ui));
  text-align: left;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #000;
  text-shadow: none;
  font-size: var(--font-ui);
  cursor: default;
}

.trash-row img {
  width: calc(16px * var(--ui));
  height: calc(16px * var(--ui));
}

.trash-row span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.trash-row:hover {
  background: #e8e8f8;
}

.trash-row.selected {
  background: var(--navy);
  color: #fff;
}

.trash-head {
  position: sticky;
  top: 0;
  background: var(--silver);
  font-weight: 700;
  box-shadow: inset 0 -1px #808080;
  cursor: default;
}

.trash-status {
  flex: none;
  padding: 3px 6px;
  font-size: var(--font-small);
  box-shadow: inset 1px 1px #808080, inset 2px 2px #dfdfdf;
  margin-top: 4px;
}

/* ------------------------------------------------------------------ */
/* Aide                                                                */
/* ------------------------------------------------------------------ */

.help {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.help-toolbar {
  flex: none;
  display: flex;
  gap: 5px;
  padding: 2px 0 4px;
}

.help-toolbar button {
  min-width: 0;
  min-height: 24px;
  padding: 2px 9px;
}

.help-page {
  flex: 1 1 auto;
  min-height: 0;
  background: #fff;
  color: #000;
  padding: 10px 12px;
  overflow: auto;
  box-shadow: inset 1px 1px #808080, inset 2px 2px #dfdfdf;
  line-height: 1.45;
}

.help-page h2 {
  font-size: clamp(15px, calc(15px * var(--ui)), 20px);
  margin: 0 0 8px;
}

.help-page p {
  margin: 0 0 8px;
}

.help-page ul {
  margin: 0 0 8px;
  padding-left: 18px;
}

.help-page li {
  margin-bottom: 4px;
}

.help-page .help-link {
  color: #0000ee;
  text-decoration: underline;
}

/* Fenêtres d'outils */
.tool-window {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 10px 4px;
}

.tool-window img {
  width: calc(32px * var(--ui));
  height: calc(32px * var(--ui));
  flex: none;
}

.tool-text {
  flex: 1 1 auto;
  min-width: 0;
}

.tool-text h3 {
  margin: 0 0 6px;
  font-size: clamp(14px, calc(14px * var(--ui)), 20px);
}

.tool-text p {
  margin: 0;
  line-height: 1.4;
}

/* ------------------------------------------------------------------ */
/* Boîtes de dialogue                                                  */
/* ------------------------------------------------------------------ */

.dialog-window {
  width: 400px;
  max-width: calc(100vw - 24px);
  min-height: 140px;
}

.dialog-window > .window-body {
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.dialog-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 6px 4px;
}

.dialog-content img {
  width: calc(32px * var(--ui));
  height: calc(32px * var(--ui));
  flex: none;
}

.dialog-message {
  flex: 1 1 auto;
  line-height: 1.4;
  padding-top: 2px;
}

.dialog-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 6px 4px;
}

.dialog-buttons button {
  min-width: 92px;
  min-height: 26px;
}

/* ------------------------------------------------------------------ */
/* Écran de démarrage DOS                                              */
/* ------------------------------------------------------------------ */

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 11000;
  background: #000;
  color: #c0c0c0;
  font-family: "VT323", "Courier New", monospace;
  font-size: clamp(18px, calc(20px * var(--ui)), 30px);
  padding: calc(24px * var(--ui) + var(--safe-top)) calc(24px * var(--ui) + env(safe-area-inset-right, 0px)) calc(24px * var(--ui) + var(--safe-bottom)) calc(24px * var(--ui) + env(safe-area-inset-left, 0px));
  overflow: hidden;
  box-sizing: border-box;
}

.boot-screen[hidden] {
  display: none;
}

.boot-output {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-family: inherit;
  white-space: pre-wrap;
  line-height: 1.25;
  word-break: break-word;
}

.boot-output::after {
  content: "_";
  animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.boot-hint {
  position: absolute;
  right: 20px;
  bottom: calc(16px + var(--safe-bottom));
  margin: 0;
  color: #b0b0b0;
  font-size: clamp(15px, calc(17px * var(--ui)), 24px);
  opacity: 0;
  transition: opacity 0.4s;
}

.boot-hint.visible {
  opacity: 1;
}

.boot-screen.hidden {
  display: none;
}

/* ------------------------------------------------------------------ */
/* Écran d'arrêt                                                       */
/* ------------------------------------------------------------------ */

.shutdown-screen {
  position: fixed;
  inset: 0;
  z-index: 10500;
  background: #000;
  color: #ff9900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  font-family: "VT323", "Courier New", monospace;
  text-align: center;
}

.shutdown-screen[hidden] {
  display: none;
}

.shutdown-box {
  min-width: min(calc(320px * var(--ui)), 90vw);
  max-width: 90vw;
  padding: calc(20px * var(--ui)) calc(28px * var(--ui));
  background: var(--silver);
  color: #000;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf,
    inset -2px -2px grey, inset 2px 2px #fff;
  font-family: "Pixelify Sans", Arial, sans-serif;
  box-sizing: border-box;
}

.shutdown-brand {
  margin: 0 0 10px;
  font-size: clamp(20px, calc(22px * var(--ui)), 30px);
  font-weight: 700;
  letter-spacing: 1px;
}

.shutdown-phase {
  margin: 0;
  font-size: var(--font-ui);
}

.shutdown-final {
  max-width: 620px;
}

.shutdown-safe {
  margin: 0 0 18px;
  font-size: clamp(24px, calc(26px * var(--ui)), 38px);
  line-height: 1.3;
}

.shutdown-reload {
  margin: 0;
  font-size: clamp(15px, calc(17px * var(--ui)), 24px);
  color: #a06000;
}

/* ------------------------------------------------------------------ */
/* Réplis                                                              */
/* ------------------------------------------------------------------ */

.noscript-card {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: #fff;
  color: #000;
  font-family: "Courier New", monospace;
  font-size: 16px;
  padding: 32px;
  overflow: auto;
}

.noscript-card h1,
.noscript-title {
  font-size: 24px;
  font-weight: 700;
  margin-top: 0;
}

.noscript-contact a {
  color: #0000ee;
}

/* Secousse d'écran à l'explosion */
@keyframes screen-shake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4px, 2px); }
  40% { transform: translate(4px, -2px); }
  60% { transform: translate(-3px, -2px); }
  80% { transform: translate(3px, 2px); }
}

#desktop.shake {
  animation: screen-shake 0.3s linear;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 700px) {
  .desktop-icons {
    left: 6px;
    right: 6px;
    width: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 2px;
  }

  .desktop-icon {
    width: auto;
    font-size: 12px;
  }

  .lcc-window {
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0;
  }

  .lcc-window.maximized {
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .lcc-resize-grip {
    display: none;
  }

  .title-bar-controls button[data-ctl="max"] {
    display: none;
  }

  .title-bar-controls button {
    min-width: 44px !important;
    min-height: 44px !important;
    background-position: center !important;
  }

  .title-bar-controls button[data-ctl="close"] {
    margin-left: 4px;
  }

  .task-items {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .task-button {
    flex: 0 0 auto;
    max-width: 150px;
  }

  .start-menu {
    width: min(300px, calc(100vw - 6px));
  }

  .start-submenu {
    position: static;
    width: auto;
    margin: 4px 0 4px 8px;
    box-shadow: none;
    border-left: 1px solid #808080;
    padding-left: 4px;
  }

  .start-submenu.open {
    display: block;
  }

  .write-toolbar-main {
    display: none;
  }

  .write-doc {
    padding: 6px;
  }

  .write-page {
    max-width: 100%;
    padding: 16px 18px;
    font-size: 13px;
  }

  .mail-main {
    flex-direction: column;
  }

  .mail-folders {
    width: auto;
    display: flex;
    gap: 2px;
    overflow-x: auto;
    padding: 2px;
  }

  .folder-button {
    width: auto;
    flex: none;
  }

  .mail-head,
  .mail-row {
    grid-template-columns: 12px minmax(90px, 1fr) minmax(120px, 1.6fr);
    font-size: 11px;
  }

  .mail-head span:last-child,
  .mail-row .mail-date {
    display: none;
  }

  .mail-toolbar {
    flex-wrap: wrap;
  }

  .compose-from {
    flex-direction: column;
  }

  .compose-row {
    align-items: flex-start;
  }

  .compose-row > .label {
    width: 42px;
    padding-top: 4px;
  }

  .mail-actions {
    flex-wrap: wrap;
  }

  .ms-toggle {
    display: flex;
    align-items: center;
  }

  .ms-console {
    display: block;
  }

  .ms-hint {
    display: none;
  }

  .ms-desktop-only {
    display: none !important;
  }

  .dialog-window {
    left: 8px !important;
    top: 14% !important;
    width: calc(100% - 16px) !important;
    height: auto !important;
    max-height: 68%;
    min-height: 0;
  }

  .dialog-window > .window-body {
    overflow: auto;
  }

  .boot-screen {
    font-size: 18px;
    padding: calc(16px + var(--safe-top)) 16px;
  }

  .boot-hint {
    left: 16px;
    right: 16px;
    text-align: center;
    font-size: 15px;
  }

  .shutdown-screen {
    text-align: center;
  }

  .shutdown-box {
    min-width: 0;
    width: calc(100% - 24px);
    padding: 16px;
  }

  .shutdown-safe {
    font-size: 20px;
  }

  .shutdown-reload {
    font-size: 15px;
  }
}

@media (max-width: 400px) {
  .desktop-icons {
    grid-template-columns: repeat(3, 1fr);
  }

  .clock {
    font-size: 11px;
  }
}

/* ------------------------------------------------------------------ */
/* Accessibilité : mouvement réduit                                    */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .boot-output::after {
    animation: none;
    opacity: 1;
  }

  #desktop.shake {
    animation: none !important;
  }
}

/* Impression : rien de ce bureau n'est fait pour le papier */
@media print {
  #desktop,
  .taskbar,
  .start-menu,
  .boot-screen,
  .shutdown-screen {
    display: none !important;
  }
}
