:root {
  --xp-blue-dark: #003b93;
  --xp-blue: #245edb;
  --xp-blue-light: #3989e9;
  --xp-login-main: #5a91dd;
  --xp-orange: #f7943e;
  --xp-menu: #ece9d8;
  --taskbar-height: 34px;
  --desktop-wallpaper: url("assets/bliss.jpg");
  color-scheme: light;
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

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

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  min-width: 320px;
  min-height: 480px;
  color: #111;
  background: #101f46;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible {
  outline: 1px dotted #111;
  outline-offset: -3px;
}

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

/* Desktop */

.desktop {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background: #3c82d2;
  transition: opacity 800ms ease;
}

body.desktop-ready .desktop {
  opacity: 1;
}

.desktop.is-active {
  pointer-events: auto;
}

.desktop-surface {
  position: absolute;
  inset: 0 0 calc(var(--taskbar-height) + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  background-color: #3a7fc7;
  background-image: var(--desktop-wallpaper);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.desktop-surface::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(27, 98, 211, .08), transparent 38%, rgba(18, 77, 11, .04));
  pointer-events: none;
}

.desktop-icons {
  position: absolute;
  top: 8px;
  left: 5px;
  z-index: 2;
  display: flex;
  width: 92px;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.desktop-icon {
  position: relative;
  display: flex;
  width: 86px;
  min-height: 78px;
  padding: 3px 2px 4px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 1px solid transparent;
  background: transparent;
  cursor: default;
}

.desktop-icon:hover .desktop-icon__label,
.desktop-icon.is-selected .desktop-icon__label,
.desktop-icon:focus .desktop-icon__label {
  background: #0b61c9;
  outline: 1px dotted rgba(255, 255, 255, .9);
  outline-offset: -1px;
}

.desktop-icon.is-selected {
  border-color: rgba(168, 205, 255, .72);
  background: rgba(37, 110, 206, .27);
}

.desktop-icon__image {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  filter: drop-shadow(1px 2px 1px rgba(0, 0, 0, .32));
}

.desktop-icon__image svg {
  display: block;
  width: 48px;
  height: 48px;
}

.desktop-icon__image img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.desktop-icon[data-icon-id="recycle"].is-full .desktop-icon__image::after {
  position: absolute;
  top: 15px;
  left: 18px;
  width: 20px;
  height: 13px;
  border: 1px solid #6f7f8c;
  content: "";
  background: repeating-linear-gradient(165deg, #fff 0 4px, #b9d9ef 5px 6px);
  box-shadow: 3px 2px 0 #e7f3f8;
  transform: rotate(-7deg);
}

.desktop-icon__label {
  display: inline;
  max-width: 82px;
  padding: 1px 3px 2px;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  text-shadow: 1px 1px 2px #071b39, -1px -1px 1px rgba(7, 27, 57, .6);
}

.desktop-icon.is-deleting {
  opacity: 0;
  transform: scale(.75);
  transition: opacity 180ms ease, transform 180ms ease;
}

.desktop-toast {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: min(330px, calc(100vw - 32px));
  padding: 9px 12px;
  border: 1px solid #0b3c8d;
  border-radius: 3px;
  opacity: 0;
  color: #111;
  background: linear-gradient(#fffbd2, #fff3a4);
  box-shadow: 2px 3px 8px rgba(0, 0, 0, .35);
  font-size: 12px;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.desktop-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Explorer windows */

.window-layer {
  position: absolute;
  inset: 0;
  z-index: 20;
  overflow: hidden;
  pointer-events: none;
}

.xp-window {
  position: absolute;
  top: clamp(18px, 5.5vh, 58px);
  left: clamp(102px, 14vw, 220px);
  z-index: 21;
  display: flex;
  width: min(780px, calc(100% - 132px));
  height: min(520px, calc(100% - 76px));
  min-width: 500px;
  min-height: 330px;
  flex-direction: column;
  overflow: hidden;
  border: 3px solid #0b5bd3;
  border-radius: 8px 8px 5px 5px;
  outline: 1px solid rgba(255, 255, 255, .55);
  opacity: 1;
  color: #111;
  background: #ece9d8;
  box-shadow: 5px 7px 20px rgba(0, 20, 65, .48), inset 0 0 0 1px #78a9ef;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition: opacity 100ms linear, transform 130ms ease;
}

.xp-window--recycle {
  top: clamp(36px, 8vh, 82px);
  left: clamp(126px, 18vw, 268px);
}

.xp-window[hidden],
.xp-window.is-minimized {
  display: none;
}

.xp-window.is-maximized {
  inset: 0 !important;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border-radius: 0;
}

.xp-window.is-dragging {
  opacity: .94;
  box-shadow: 7px 10px 25px rgba(0, 20, 65, .5);
  transition: none;
}

.xp-window__titlebar {
  display: flex;
  height: 30px;
  min-height: 30px;
  padding: 3px 3px 3px 5px;
  align-items: center;
  gap: 5px;
  color: #dce8fa;
  background: linear-gradient(180deg, #7895c7 0, #607faf 17%, #5c78a7 82%, #46638f 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .55), inset 0 -1px rgba(28, 65, 120, .7);
  cursor: default;
}

.xp-window.is-active .xp-window__titlebar {
  color: #fff;
  background: linear-gradient(180deg, #4094f4 0, #176bdf 15%, #0755cd 75%, #0644ae 100%);
  box-shadow: inset 0 1px #8fc5ff, inset 0 -1px #003a99;
}

.xp-window__titlebar h2 {
  min-width: 0;
  margin: 0;
  flex: 1;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 22px;
  text-overflow: ellipsis;
  text-shadow: 1px 1px 1px #24466f;
  white-space: nowrap;
}

.xp-window__title-icon,
.xp-window__title-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.xp-window__controls {
  display: flex;
  align-items: center;
  gap: 2px;
}

.xp-window__controls button {
  position: relative;
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0 0 2px;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 3px;
  color: #fff;
  background: linear-gradient(135deg, #6aa8f0, #1764cf 64%, #064398);
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .6), 0 0 0 1px #124c9e;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 1px 1px #07347b;
  cursor: default;
}

.xp-window__controls button:hover {
  filter: brightness(1.12);
}

.xp-window__controls button:active {
  filter: brightness(.86);
}

.xp-window__controls .xp-window__close {
  background: linear-gradient(135deg, #f19875, #dc4b27 59%, #aa260e);
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .65), 0 0 0 1px #9e250d;
  font-size: 20px;
}

.explorer-menu {
  display: flex;
  height: 24px;
  min-height: 24px;
  padding: 1px 4px;
  align-items: center;
  border-bottom: 1px solid #d4d0c8;
  background: #ece9d8;
}

.explorer-menu button {
  height: 21px;
  padding: 1px 7px 2px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 11px;
  cursor: default;
}

.explorer-menu button:hover,
.explorer-menu button:focus-visible {
  border-color: #316ac5;
  outline: none;
  color: #fff;
  background: #316ac5;
}

.explorer-toolbar {
  display: flex;
  height: 43px;
  min-height: 43px;
  padding: 3px 5px;
  align-items: center;
  gap: 2px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #aca899;
  background: #ece9d8;
  box-shadow: inset 0 -1px #fff;
}

.explorer-toolbar button {
  display: flex;
  min-width: 48px;
  height: 35px;
  padding: 2px 7px;
  align-items: center;
  gap: 4px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  font-size: 11px;
  cursor: default;
}

.explorer-toolbar button:hover:not(:disabled),
.explorer-toolbar button:focus-visible:not(:disabled) {
  border-color: #b6a774;
  outline: none;
  background: linear-gradient(#fffdf2, #e8e3d2);
}

.explorer-toolbar button:active:not(:disabled) {
  box-shadow: inset 1px 1px 2px #9d988c;
}

.explorer-toolbar button:disabled {
  opacity: .45;
}

.explorer-toolbar__icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: #2864b6;
  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 1px 1px #fff;
}

.explorer-toolbar__icon--back {
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #baf49d, #4cb63b 65%, #22851e);
  box-shadow: inset 0 0 0 1px rgba(30, 111, 27, .72), 0 0 0 1px #fff;
  font-size: 21px;
}

.explorer-toolbar__icon--up {
  color: #42a933;
  font-size: 27px;
}

.explorer-toolbar__separator {
  width: 1px;
  height: 31px;
  margin: 0 4px;
  background: #aca899;
  box-shadow: 1px 0 #fff;
}

.explorer-address {
  display: flex;
  height: 29px;
  min-height: 29px;
  padding: 3px 4px;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid #aca899;
  background: #ece9d8;
  font-size: 11px;
}

.explorer-address label {
  color: #444;
}

.explorer-address__field {
  display: flex;
  min-width: 0;
  height: 21px;
  padding: 1px 5px;
  flex: 1;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  border: 1px solid #7f9db9;
  background: #fff;
  box-shadow: inset 1px 1px 1px rgba(0, 0, 0, .13);
  white-space: nowrap;
}

.explorer-address__field span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.explorer-address > button {
  height: 22px;
  padding: 1px 8px;
  border: 1px solid #7f9db9;
  background: linear-gradient(#fff, #e6e3d8);
  font-size: 11px;
}

.explorer-body {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: 184px minmax(0, 1fr);
  overflow: hidden;
  border-top: 1px solid #fff;
}

.explorer-sidebar {
  min-height: 0;
  padding: 10px 10px 16px;
  overflow: auto;
  background: linear-gradient(135deg, #748fdb 0, #637fd0 45%, #5674c8 100%);
}

.explorer-task-group {
  margin: 0 0 11px;
  overflow: hidden;
  border-radius: 5px 5px 4px 4px;
  background: #d6e5fb;
  box-shadow: 0 1px 2px rgba(36, 67, 145, .5);
}

.explorer-task-group h3 {
  position: relative;
  min-height: 25px;
  margin: 0;
  padding: 6px 25px 5px 9px;
  color: #215dc6;
  background: linear-gradient(90deg, #fff, #d7e4f7);
  font-size: 11px;
  font-weight: 700;
}

.explorer-task-group h3::after {
  position: absolute;
  top: 6px;
  right: 7px;
  display: grid;
  width: 13px;
  height: 13px;
  place-items: center;
  border-radius: 50%;
  content: "⌃";
  color: #fff;
  background: #6e92d6;
  font-size: 10px;
}

.explorer-task-group > div {
  padding: 5px 7px 7px;
}

.explorer-task-group button {
  display: block;
  width: 100%;
  min-height: 21px;
  padding: 3px 3px 3px 19px;
  border: 0;
  color: #215dc6;
  background: transparent;
  font-size: 11px;
  text-align: left;
  cursor: default;
}

.explorer-task-group button::before {
  display: inline-block;
  width: 14px;
  margin-left: -16px;
  content: "›";
  color: #43a632;
  font-size: 16px;
  font-weight: 700;
  vertical-align: -1px;
}

.explorer-task-group button:hover:not(:disabled),
.explorer-task-group button:focus-visible:not(:disabled) {
  outline: none;
  color: #174ba5;
  text-decoration: underline;
}

.explorer-task-group button:disabled {
  opacity: .5;
}

.explorer-task-group--details p {
  min-height: 38px;
  margin: 0;
  padding: 7px 9px 9px;
  color: #444;
  font-size: 10px;
  line-height: 1.4;
  white-space: pre-line;
}

.explorer-view {
  display: grid;
  min-width: 0;
  min-height: 0;
  padding: 13px 12px 20px;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  grid-auto-rows: min-content;
  align-content: start;
  gap: 9px 7px;
  overflow: auto;
  background: #fff;
  user-select: none;
}

.explorer-item {
  display: flex;
  width: 104px;
  min-height: 94px;
  padding: 3px;
  justify-self: start;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  cursor: default;
}

.explorer-item:hover,
.explorer-item:focus-visible,
.explorer-item.is-selected {
  border-color: #7da2ce;
  outline: none;
  background: #e4edf9;
}

.explorer-item.is-selected .explorer-item__label {
  color: #fff;
  background: #316ac5;
  outline: 1px dotted #fff;
  outline-offset: -2px;
}

.explorer-item__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  filter: drop-shadow(1px 2px 1px rgba(0, 0, 0, .2));
}

.explorer-item__icon svg {
  display: block;
  width: 56px;
  height: 56px;
}

.explorer-item__thumbnail {
  width: 58px;
  height: 58px;
  padding: 3px;
  object-fit: cover;
  border: 1px solid #8195aa;
  background: #fff;
  box-shadow: 1px 2px 2px rgba(0, 0, 0, .24);
}

.explorer-item__label {
  max-width: 98px;
  padding: 1px 3px 2px;
  overflow-wrap: anywhere;
}

.explorer-empty {
  display: grid;
  min-height: 100%;
  grid-column: 1 / -1;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #5d6874;
  font-size: 12px;
  text-align: center;
}

.explorer-empty svg {
  width: 64px;
  height: 64px;
  opacity: .78;
}

.explorer-view--recycle {
  display: block;
  padding: 0;
}

.recycle-list__header,
.recycle-item {
  display: grid;
  min-width: 520px;
  grid-template-columns: minmax(190px, 1.6fr) minmax(130px, 1fr) 130px 70px;
  align-items: center;
}

.recycle-list__header {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 24px;
  border-bottom: 1px solid #aca899;
  background: #ece9d8;
  box-shadow: inset 0 -1px #fff;
  font-size: 10px;
}

.recycle-list__header span {
  padding: 4px 6px;
  border-right: 1px solid #c8c4b9;
}

.recycle-item {
  width: 100%;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: #fff;
  font-size: 11px;
  text-align: left;
  cursor: default;
}

.recycle-item:hover,
.recycle-item:focus-visible,
.recycle-item.is-selected {
  outline: none;
  color: #fff;
  background: #316ac5;
}

.recycle-item > span {
  padding: 5px 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recycle-item__name {
  display: flex;
  align-items: center;
  gap: 6px;
}

.recycle-item__name svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.recycle-item__restore {
  min-height: 23px;
  margin: 3px 5px;
  border: 1px solid #7f9db9;
  border-radius: 2px;
  background: linear-gradient(#fff, #e5e1d5);
  font-size: 10px;
}

.recycle-item.is-selected .recycle-item__restore {
  color: #111;
}

.explorer-statusbar {
  display: grid;
  height: 23px;
  min-height: 23px;
  padding: 2px 3px;
  grid-template-columns: 1fr 150px;
  gap: 3px;
  border-top: 1px solid #fff;
  background: #ece9d8;
  font-size: 10px;
}

.explorer-statusbar span {
  padding: 3px 6px;
  overflow: hidden;
  border: 1px solid #aca899;
  border-right-color: #fff;
  border-bottom-color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Taskbar and Start menu */

.taskbar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  display: flex;
  height: calc(var(--taskbar-height) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  align-items: stretch;
  border-top: 1px solid #083ca9;
  background:
    linear-gradient(180deg, #3579e3 0, #2b69d5 8%, #245ed0 37%, #174ebd 92%, #123fa1 100%);
  box-shadow: inset 0 1px 1px rgba(116, 177, 255, .9), 0 -1px 3px rgba(0, 0, 0, .22);
}

.taskbar__tasks {
  display: flex;
  min-width: 0;
  padding: 2px 4px;
  flex: 1;
  align-items: center;
  gap: 3px;
  overflow: hidden;
}

.task-button {
  display: flex;
  width: min(162px, 28vw);
  min-width: 76px;
  height: 27px;
  padding: 2px 8px 2px 5px;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  border: 1px solid #0b3c98;
  border-radius: 3px;
  color: #fff;
  background: linear-gradient(180deg, #4b8ce9, #2d6ed4 55%, #1e56b9);
  box-shadow: inset 1px 1px rgba(130, 187, 255, .7);
  font-size: 11px;
  text-align: left;
  text-shadow: 1px 1px #16478e;
  cursor: default;
}

.task-button:hover {
  filter: brightness(1.1);
}

.task-button.is-active {
  background: linear-gradient(180deg, #1949a1, #2457ad 55%, #133d8c);
  box-shadow: inset 1px 2px 4px rgba(0, 20, 80, .65);
}

.task-button__icon,
.task-button__icon svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

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

.start-button {
  position: relative;
  display: flex;
  width: 104px;
  min-width: 104px;
  height: var(--taskbar-height);
  padding: 0 13px 1px 8px;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 0 12px 12px 0;
  color: #fff;
  background:
    radial-gradient(ellipse at 52% 0, rgba(214, 255, 190, .72), transparent 46%),
    linear-gradient(180deg, #63b84c 0, #3e9f3c 20%, #28852d 76%, #1b6b22 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .8),
    inset 0 -2px 2px rgba(11, 76, 22, .55),
    2px 0 3px rgba(1, 45, 124, .7);
  font-size: 19px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.5px;
  text-shadow: 1px 1px 2px #1d5f1a;
  cursor: default;
}

.start-button:hover,
.start-button[aria-expanded="true"] {
  filter: brightness(1.09);
}

.start-button:active,
.start-button[aria-expanded="true"] {
  box-shadow: inset 1px 2px 5px rgba(8, 62, 17, .72), 1px 0 2px rgba(1, 45, 124, .65);
}

.start-button__flag,
.start-button__flag svg {
  display: block;
  width: 24px;
  height: 24px;
}

.system-tray {
  display: flex;
  min-width: 112px;
  height: var(--taskbar-height);
  padding: 0 11px 0 8px;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  border-left: 1px solid #0b55b4;
  color: #fff;
  background: linear-gradient(180deg, #2fb5ed 0, #169bd8 30%, #1290cf 100%);
  box-shadow: inset 1px 0 rgba(104, 209, 248, .72), inset 0 1px rgba(126, 220, 255, .65);
  font-size: 11px;
  text-shadow: 1px 1px 1px #17618b;
}

.system-tray__speaker,
.system-tray__speaker svg {
  display: block;
  width: 18px;
  height: 18px;
}

.system-tray time {
  min-width: 66px;
  text-align: center;
}

.start-menu {
  position: fixed;
  bottom: calc(var(--taskbar-height) + env(safe-area-inset-bottom, 0px));
  left: 0;
  z-index: 70;
  width: min(382px, 100vw);
  height: min(458px, calc(100dvh - var(--taskbar-height) - env(safe-area-inset-bottom, 0px) - 8px));
  overflow: hidden;
  border: 2px solid #1d56b6;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  visibility: hidden;
  opacity: 0;
  background: #fff;
  box-shadow: 3px -2px 12px rgba(0, 0, 0, .42), inset 0 0 0 1px #6fa8ff;
  transform: translateY(12px);
  transform-origin: left bottom;
  transition: opacity 110ms linear, transform 150ms ease, visibility 0s 150ms;
}

.start-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.start-menu__top {
  display: flex;
  height: 62px;
  padding: 7px 9px;
  align-items: center;
  color: #fff;
  background: linear-gradient(180deg, #1d72dc, #1459bd);
  box-shadow: inset 0 1px #82b7f4, inset 0 -1px #08429d;
}

.start-menu__body {
  display: grid;
  height: calc(100% - 104px);
  grid-template-columns: 1fr 45%;
}

.start-menu__column {
  min-width: 0;
}

.start-menu__column--primary {
  background: #fff;
}

.start-menu__column--secondary {
  border-left: 1px solid #95bdee;
  background: #d3e5fa;
}

.start-menu__bottom {
  display: flex;
  height: 42px;
  padding: 3px 8px;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid #0c4da9;
  background: linear-gradient(180deg, #2c76d4, #1355b5);
  box-shadow: inset 0 1px rgba(132, 187, 250, .8);
}

.start-menu__log-off {
  display: flex;
  min-width: 92px;
  height: 34px;
  padding: 2px 8px 2px 4px;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #fff;
  background: transparent;
  font-size: 12px;
  text-shadow: 1px 1px 1px #083a83;
  cursor: default;
}

.start-menu__log-off:hover,
.start-menu__log-off:focus-visible {
  border-color: rgba(255, 255, 255, .7);
  outline: none;
  background: rgba(21, 74, 164, .58);
  box-shadow: inset 1px 1px rgba(142, 194, 255, .45);
}

.start-menu__log-off:active {
  padding: 3px 7px 1px 5px;
  background: rgba(10, 53, 131, .78);
  box-shadow: inset 1px 2px 3px rgba(0, 33, 91, .7);
}

.start-menu__log-off-icon,
.start-menu__log-off-icon svg {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

/* Desktop context menu */

.context-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 252px;
  padding: 3px;
  border: 1px solid #777;
  visibility: hidden;
  opacity: 0;
  background: #f1f0e5;
  box-shadow: 2px 3px 6px rgba(0, 0, 0, .4), inset 1px 1px #fff;
  transform: scale(.98);
  transform-origin: left top;
  transition: opacity 60ms linear, visibility 0s 60ms, transform 60ms ease;
}

.context-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  transition-delay: 0s;
}

.context-menu button {
  display: flex;
  width: 100%;
  min-height: 25px;
  padding: 4px 7px 4px 27px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
  background: transparent;
  font-size: 11px;
  text-align: left;
  white-space: nowrap;
  cursor: default;
}

.context-menu button:hover,
.context-menu button:focus-visible {
  border-color: #0a246a;
  outline: none;
  color: #fff;
  background: #316ac5;
}

.context-menu button:disabled {
  color: #8b8b84;
  text-shadow: 1px 1px #fff;
}

.context-menu button:disabled:hover,
.context-menu button:disabled:focus-visible {
  border-color: transparent;
  color: #8b8b84;
  background: transparent;
}

.context-menu kbd {
  margin-left: 18px;
  color: inherit;
  font: inherit;
}

.context-menu__separator {
  height: 1px;
  margin: 3px 2px 3px 25px;
  background: #aca899;
  box-shadow: 0 1px #fff;
}

/* Display Properties */

.xp-dialog {
  width: min(410px, calc(100vw - 20px));
  max-width: none;
  padding: 0;
  border: 0;
  overflow: visible;
  color: #111;
  background: transparent;
  user-select: none;
}

.xp-dialog::backdrop {
  background: rgba(2, 20, 58, .3);
}

.xp-dialog__window {
  overflow: hidden;
  border: 3px solid #0c59cf;
  border-radius: 7px 7px 4px 4px;
  background: #ece9d8;
  box-shadow: 6px 8px 22px rgba(0, 0, 0, .5), inset 0 0 0 1px #4e93ef;
}

.xp-dialog__titlebar {
  display: flex;
  height: 30px;
  padding: 3px 4px 3px 7px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(180deg, #2d81eb 0, #0a58d1 55%, #0847b4 100%);
  text-shadow: 1px 1px 1px #002d78;
}

.xp-dialog__titlebar h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.xp-dialog__close {
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0 0 2px;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 3px;
  color: #fff;
  background: linear-gradient(135deg, #ef926f, #d43f1f 58%, #9e1d08);
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .6);
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.xp-dialog__tabs {
  height: 30px;
  padding: 6px 8px 0;
  border-bottom: 1px solid #919b9c;
}

.xp-dialog__tabs span {
  display: inline-block;
  height: 25px;
  padding: 5px 13px;
  border: 1px solid #919b9c;
  border-bottom-color: #ece9d8;
  background: #ece9d8;
  font-size: 11px;
  font-weight: 700;
}

.xp-dialog__content {
  padding: 16px 18px 10px;
  font-size: 11px;
}

.monitor-preview {
  position: relative;
  width: 190px;
  height: 142px;
  margin: 0 auto 16px;
}

.monitor-preview::before {
  position: absolute;
  top: 0;
  left: 13px;
  z-index: 2;
  width: 164px;
  height: 112px;
  border: 8px solid #272a2d;
  border-radius: 6px;
  content: "";
  box-shadow: inset 0 0 0 2px #666, 2px 3px 3px rgba(0, 0, 0, .35);
  pointer-events: none;
}

.monitor-preview__screen {
  position: absolute;
  top: 8px;
  left: 21px;
  width: 148px;
  height: 96px;
  background-color: #4e8ccc;
  background-image: var(--desktop-wallpaper);
  background-position: center;
  background-size: cover;
}

.monitor-preview__neck {
  position: absolute;
  bottom: 14px;
  left: 81px;
  width: 28px;
  height: 22px;
  background: linear-gradient(90deg, #555, #aaa, #555);
}

.monitor-preview__base {
  position: absolute;
  bottom: 5px;
  left: 51px;
  width: 88px;
  height: 11px;
  border-radius: 50% 50% 3px 3px;
  background: linear-gradient(#aaa, #4a4a4a);
  box-shadow: 1px 2px 2px rgba(0, 0, 0, .3);
}

.xp-dialog__content label {
  display: block;
  margin-bottom: 4px;
}

.xp-dialog__content input {
  width: 100%;
  height: 24px;
  padding: 2px 5px;
  border: 1px solid #7f9db9;
  background: #fff;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, .15);
  font-size: 11px;
  user-select: text;
}

.xp-dialog__error {
  min-height: 15px;
  margin: 3px 0;
  color: #b00000;
  font-size: 10px;
}

.xp-dialog__actions {
  display: flex;
  padding: 8px 11px 12px;
  justify-content: flex-end;
  gap: 7px;
  border-top: 1px solid #d1cec1;
}

.xp-button {
  min-width: 76px;
  min-height: 24px;
  padding: 3px 12px;
  border: 1px solid #003c74;
  border-radius: 3px;
  background: linear-gradient(180deg, #fff 0, #f5f3e9 85%, #d7d3c7 100%);
  box-shadow: inset 1px 1px #fff, inset -1px -1px #aca899;
  font-size: 11px;
}

.xp-button:hover {
  box-shadow: inset 0 0 0 2px #f5b94f, inset 1px 1px #fff;
}

.xp-button:active {
  background: #dedbd0;
  box-shadow: inset 1px 1px 2px #777;
}

.xp-button--wide {
  display: block;
  margin-top: 5px;
}

/* Logging-off shell */

body.is-logging-off .desktop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease;
}

.logoff-screen {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  min-width: 320px;
  min-height: 320px;
  grid-template-rows: 13dvh minmax(0, 1fr) 16dvh;
  visibility: hidden;
  opacity: 0;
  color: #fff;
  background: #003b9d;
  pointer-events: none;
  transition: opacity 480ms ease, visibility 0s 480ms;
}

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

.logoff-screen.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.logoff-screen__top {
  border-bottom: 2px solid rgba(150, 200, 255, .8);
  background: linear-gradient(180deg, #00399b, #073ca2);
}

.logoff-screen__body {
  position: relative;
  display: grid;
  place-items: center;
  border-bottom: 3px solid #e58c37;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(123, 158, 231, .85), transparent 56%),
    linear-gradient(90deg, #5279d1, #6287de 50%, #5279d1);
}

.logoff-screen__status {
  display: flex;
  margin-top: 10px;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  text-align: center;
  text-shadow: 1px 2px 2px rgba(35, 77, 137, .7);
  transform: translateY(9px);
  transition: opacity 620ms ease 180ms, transform 620ms ease 180ms;
}

.logoff-screen.is-visible .logoff-screen__status {
  opacity: 1;
  transform: translateY(0);
}

.logoff-screen__status p {
  margin: 9px 0 0;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  font-size: clamp(20px, 2.2vw, 29px);
  font-weight: 400;
}

.logoff-brand {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.logoff-brand__flag {
  display: block;
  width: 72px;
  height: 58px;
  margin: 0 -5px 20px 0;
}

.logoff-brand__wordmark {
  display: flex;
  padding-bottom: 7px;
  flex-direction: column;
  align-items: flex-start;
  line-height: .78;
}

.logoff-brand__wordmark > span {
  margin-left: 2px;
  font-size: 9px;
  line-height: 1;
}

.logoff-brand__wordmark > span sup {
  font-size: 4px;
}

.logoff-brand__wordmark strong {
  position: relative;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  font-size: clamp(30px, 3.1vw, 42px);
  letter-spacing: -2px;
  line-height: .84;
}

.logoff-brand__wordmark strong sup {
  position: absolute;
  right: -23px;
  bottom: 1px;
  color: #f08b39;
  font-family: Tahoma, sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -2px;
}

.logoff-screen__bottom {
  background:
    radial-gradient(ellipse at 48% 0, rgba(48, 67, 192, .75), transparent 62%),
    linear-gradient(90deg, #3431ae, #123aaa 58%, #003c9e);
}

/* Logon shell */

.logon-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  min-width: 320px;
  min-height: 480px;
  grid-template-rows: 9.4dvh minmax(0, 1fr) 14.1dvh;
  overflow: hidden;
  opacity: 1;
  color: #fff;
  background: #0647a0;
  transition: opacity 800ms cubic-bezier(.4, 0, .2, 1);
}

.logon-screen.is-leaving {
  opacity: 0;
  pointer-events: none;
}

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

.logon-screen__top {
  border-bottom: 2px solid rgba(153, 204, 255, .7);
  background:
    radial-gradient(ellipse at 52% 100%, rgba(12, 86, 177, .75), transparent 62%),
    linear-gradient(180deg, #0753b3 0, #06489f 100%);
}

.logon-screen__body {
  position: relative;
  min-height: 0;
  border-bottom: 3px solid var(--xp-orange);
  background:
    radial-gradient(ellipse at 42% 48%, rgba(153, 202, 250, .95) 0, rgba(119, 173, 235, .9) 35%, rgba(78, 139, 218, .96) 73%, #4d88d8 100%);
}

.logon-screen__body::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .18;
  background:
    linear-gradient(100deg, transparent 0 22%, rgba(255, 255, 255, .16) 36%, transparent 51%),
    radial-gradient(ellipse at 75% 45%, rgba(26, 103, 203, .17), transparent 40%);
  pointer-events: none;
}

.logon-content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 1120px);
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: clamp(22px, 5.3dvh, 55px) 26px clamp(18px, 4.6dvh, 48px);
  grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr);
  transition: opacity 520ms ease, filter 520ms ease, transform 520ms ease;
}

.logon-screen.is-authenticating .logon-content,
.logon-screen.is-authenticating .logon-footer > * {
  opacity: 0;
  filter: blur(1px);
  transform: scale(.995);
  pointer-events: none;
}

.logon-intro {
  display: flex;
  min-width: 0;
  padding-right: clamp(28px, 4.2vw, 58px);
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: left;
}

.windows-brand {
  display: flex;
  width: min(390px, 100%);
  height: 140px;
  align-items: flex-end;
  justify-content: flex-end;
}

.windows-brand__flag {
  width: 118px;
  height: 96px;
  margin: 0 -3px 31px 0;
  flex: 0 0 auto;
  transform: translate(214px, -60px);
}

.windows-brand__wordmark {
  position: relative;
  display: flex;
  padding-bottom: 22px;
  flex-direction: column;
  color: #fff;
  letter-spacing: -2px;
  line-height: .82;
  text-shadow: 1px 2px 2px rgba(28, 83, 157, .55);
  transform: translate(-20px, 14px);
}

.windows-brand__microsoft {
  margin-left: 2px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -.4px;
  line-height: 1;
}

.windows-brand__microsoft sup {
  position: relative;
  top: -.25em;
  margin-left: 1px;
  font-size: 6px;
}

.windows-brand__windows {
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  font-size: clamp(46px, 4.2vw, 62px);
  font-weight: 700;
  line-height: .82;
  white-space: nowrap;
}

.windows-brand__windows sup {
  position: absolute;
  right: -38px;
  bottom: 29px;
  color: #f15a24;
  font-family: Tahoma, sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -3px;
  text-shadow: 1px 1px 1px rgba(119, 52, 13, .35);
}

.logon-intro h1 {
  width: auto;
  max-width: 100%;
  margin: 8px 0 0;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.22;
  text-shadow: 1px 2px 2px rgba(39, 91, 164, .55);
  transform: translateY(30px);
}

.logon-divider {
  align-self: stretch;
  width: 2px;
  background: linear-gradient(180deg, transparent 0, rgba(163, 205, 249, .8) 8%, rgba(150, 199, 245, .85) 91%, transparent 100%);
  box-shadow: 1px 0 rgba(45, 111, 198, .2);
}

.account-list {
  display: flex;
  min-width: 0;
  padding-left: clamp(22px, 3.4vw, 44px);
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.account-card {
  position: relative;
  display: grid;
  width: min(490px, 100%);
  min-height: 106px;
  padding: 8px 12px 8px 8px;
  grid-template-columns: 98px minmax(0, 1fr);
  grid-template-rows: minmax(88px, auto);
  align-items: center;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: min-height 180ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.account-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  content: "";
  opacity: 0;
  background: linear-gradient(90deg, rgba(7, 62, 148, .88) 0, rgba(13, 91, 187, .62) 61%, rgba(59, 130, 218, 0) 100%);
  transition: opacity 160ms ease;
}

.account-card:hover::after,
.account-card.is-selected::after {
  opacity: 1;
}

.account-card:hover,
.account-card.is-selected {
  border-color: rgba(188, 221, 255, .92);
  box-shadow: inset 0 0 0 1px rgba(7, 66, 154, .75), 0 1px 2px rgba(28, 78, 147, .25);
}

.account-card.is-selected {
  min-height: 140px;
  grid-template-rows: 40px auto;
}

.account-card.has-status {
  min-height: 158px;
}

.account-card__selector {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  padding: 0;
  border: 0;
  border-radius: inherit;
  color: inherit;
  background: transparent;
  cursor: default;
}

.account-card__selector:focus-visible ~ .account-avatar {
  outline: 1px dotted #fff;
  outline-offset: 2px;
}

.account-avatar {
  display: block;
  width: 92px;
  height: 92px;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(219, 238, 255, .92), 0 4px 9px rgba(17, 56, 111, .45);
  pointer-events: none;
  z-index: 2;
}

.account-card:not(.is-selected) .account-avatar {
  box-shadow: 0 0 0 1px rgba(216, 233, 253, .94), 0 3px 7px rgba(17, 56, 111, .42);
}

.account-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.account-card__name {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  padding: 0 0 0 20px;
  color: #fff;
  font-size: clamp(27px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1;
  text-align: left;
  text-shadow: 1px 2px 2px #275a9f;
  pointer-events: none;
  z-index: 2;
}

.account-card.is-selected .account-card__name {
  align-self: start;
  padding-top: 5px;
}

.credential-form {
  display: none;
  min-width: 0;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  padding: 0 0 0 20px;
  z-index: 3;
}

.account-card.is-selected .credential-form {
  display: block;
  margin: 0;
}

.credential-form label {
  display: block;
  margin: 0 0 5px;
  font-size: 18px;
  line-height: 1.1;
  text-shadow: 1px 2px 2px #275a9f;
}

.credential-form__row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.credential-form input {
  width: 210px;
  min-width: 0;
  max-width: 210px;
  height: 45px;
  padding: 4px 7px;
  flex: 0 1 210px;
  border: 2px solid #7194bc;
  border-radius: 4px;
  color: #111;
  background: #fff;
  box-shadow: inset 1px 2px 3px rgba(0, 0, 0, .18), 0 1px 2px rgba(5, 47, 112, .45);
  font-family: Tahoma, sans-serif;
  font-size: 25px;
  letter-spacing: 2px;
  user-select: text;
}

.credential-form input:focus {
  border-color: #315b85;
  outline: 1px solid #fff;
  outline-offset: 0;
}

.credential-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 3px;
  flex: 0 0 42px;
  place-items: center;
  border: 2px solid #e9f2ff;
  border-radius: 6px;
  color: #fff;
  box-shadow: 0 0 0 2px #2862ab, inset 0 1px 1px rgba(255, 255, 255, .8), 2px 2px 3px rgba(19, 62, 123, .45);
  cursor: default;
}

.credential-button:hover {
  filter: brightness(1.12);
}

.credential-button:active {
  transform: translate(1px, 1px);
  box-shadow: 0 0 0 2px #2862ab, inset 1px 2px 4px rgba(0, 0, 0, .35);
}

.credential-button svg {
  width: 30px;
  height: 30px;
}

.credential-button--submit {
  background:
    radial-gradient(circle at 35% 20%, rgba(218, 255, 207, .85), transparent 37%),
    linear-gradient(135deg, #72c65d, #48aa39 58%, #247a20);
}

.credential-button--hint {
  background:
    radial-gradient(circle at 35% 20%, rgba(213, 239, 255, .9), transparent 38%),
    linear-gradient(135deg, #4ca1ef, #176ccb 58%, #074793);
  font-family: Arial, sans-serif;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 1px 1px 1px #00418c;
}

.credential-status {
  position: static;
  width: 100%;
  min-height: 15px;
  margin: 4px 0 0;
  color: #fff5ad;
  font-size: 12px;
  line-height: 1.25;
  text-shadow: 1px 1px 1px #294c87;
}

.credential-status:empty {
  display: none;
}

.account-card.has-error {
  animation: accountShake 310ms ease-in-out;
}

@keyframes accountShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

.welcome-message {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  visibility: hidden;
  opacity: 0;
  color: #fff;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -2px;
  text-shadow: 2px 3px 3px rgba(35, 77, 137, .86);
  transform: translate(-50%, -50%) translateX(17vw);
  white-space: nowrap;
}

.welcome-message.is-visible {
  visibility: visible;
  animation: welcomeArrive 820ms cubic-bezier(.2, .72, .2, 1) forwards;
}

.logon-screen.is-leaving .welcome-message {
  opacity: 0;
  transition: opacity 520ms ease;
}

@keyframes welcomeArrive {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(17vw) translateY(10px);
  }
  30% { opacity: 1; }
  100% {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0) translateY(0);
  }
}

.logon-footer {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 0;
  padding: 0 clamp(34px, 4vw, 60px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    radial-gradient(ellipse at 42% 0, rgba(15, 83, 179, .8), transparent 60%),
    linear-gradient(180deg, #084da9, #014098);
}

.logon-footer > * {
  transition: opacity 450ms ease, filter 450ms ease, transform 450ms ease;
}

.logon-footer p {
  margin: 0;
  font-size: clamp(14px, 1.45vw, 20px);
  line-height: 1.15;
  text-shadow: 1px 2px 2px #003277;
}

.power-button {
  display: flex;
  padding: 0;
  align-items: center;
  gap: 14px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: clamp(18px, 1.7vw, 26px);
  text-shadow: 1px 2px 2px #003277;
  cursor: default;
}

.power-button__icon,
.power-button__icon svg {
  display: block;
  width: 44px;
  height: 44px;
}

.power-button:hover .power-button__icon {
  filter: brightness(1.1);
}

noscript {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 2000;
  padding: 8px;
  color: #111;
  background: #fff5a6;
}

/* Mid-size screens */

@media (max-width: 980px) {
  .logon-content {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .logon-intro {
    padding-right: 30px;
  }

  .account-list {
    padding-left: 22px;
  }

  .windows-brand__flag {
    width: 96px;
  }

  .windows-brand__windows {
    font-size: 46px;
  }

  .windows-brand__windows sup {
    right: -28px;
    font-size: 24px;
  }

  .account-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .account-avatar {
    width: 76px;
    height: 76px;
  }

  .account-card__name {
    padding-left: 14px;
  }

  .credential-form {
    padding-left: 14px;
  }

  .credential-form__row {
    gap: 7px;
  }

  .credential-form input {
    flex-basis: 165px;
    width: 165px;
  }

}

/* Compact screens: preserve interaction while stacking the XP composition. */

@media (max-width: 860px) {
  body {
    min-height: 420px;
  }

  .logon-screen {
    min-height: 420px;
    grid-template-rows: 6dvh minmax(0, 1fr) 12dvh;
  }

  .logon-content {
    display: flex;
    width: 100%;
    padding: 12px 18px 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .logon-intro {
    padding: 0 0 9px;
    align-items: center;
    flex: 0 0 auto;
    text-align: center;
  }

  .windows-brand {
    width: auto;
    height: 77px;
    justify-content: center;
    transform: scale(.65);
    transform-origin: center bottom;
    margin: -26px 0 -11px;
  }

  .windows-brand__flag {
    width: 100px;
    height: 82px;
    transform: none;
  }

  .windows-brand__windows {
    font-size: 50px;
  }

  .windows-brand__wordmark {
    transform: none;
  }

  .logon-intro h1 {
    width: auto;
    margin: 0;
    font-size: 18px;
    transform: none;
  }

  .logon-divider {
    width: 100%;
    height: 2px;
    flex: 0 0 2px;
    background: linear-gradient(90deg, transparent, rgba(166, 207, 249, .9) 18%, rgba(166, 207, 249, .9) 82%, transparent);
  }

  .account-list {
    width: min(100%, 500px);
    min-height: 0;
    margin: 0 auto;
    padding: 9px 0 0;
    justify-content: flex-start;
    gap: 4px;
  }

  .account-card {
    width: 100%;
    min-height: 86px;
    padding: 5px 8px 5px 5px;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: minmax(74px, auto);
    border-radius: 10px;
  }

  .account-card.is-selected {
    min-height: 98px;
    grid-template-rows: 25px auto;
  }

  .account-card.has-status {
    min-height: 116px;
  }

  .account-avatar {
    width: 66px;
    height: 66px;
  }

  .account-card__name {
    padding-left: 11px;
    font-size: 25px;
  }

  .account-card.is-selected .account-card__name {
    padding-top: 0;
    align-self: start;
    font-size: 21px;
  }

  .credential-form {
    padding-left: 11px;
  }

  .credential-form label {
    margin-bottom: 3px;
    font-size: 13px;
  }

  .credential-form__row {
    gap: 5px;
  }

  .credential-form input {
    width: 165px;
    max-width: 165px;
    height: 36px;
    flex: 0 1 165px;
    font-size: 20px;
  }

  .credential-button {
    width: 34px;
    height: 34px;
    padding: 2px;
    flex-basis: 34px;
    border-width: 1px;
  }

  .credential-button svg {
    width: 25px;
    height: 25px;
  }

  .credential-button--hint {
    font-size: 25px;
  }

  .credential-status {
    font-size: 10px;
    text-align: left;
  }

  .logon-footer {
    padding: 0 14px;
  }

  .logon-footer p {
    display: none;
  }

  .power-button {
    font-size: 15px;
  }

  .power-button__icon,
  .power-button__icon svg {
    width: 34px;
    height: 34px;
  }

  .welcome-message {
    font-size: 38px;
  }
}

@media (max-height: 650px) and (min-width: 861px) {
  .logon-content {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .windows-brand {
    height: 115px;
    transform: scale(.84);
    transform-origin: right bottom;
  }

  .logon-intro h1 {
    font-size: 21px;
  }

  .account-card {
    min-height: 100px;
    grid-template-rows: minmax(82px, auto);
  }

  .account-card.is-selected {
    min-height: 112px;
    grid-template-rows: 32px auto;
  }

  .account-card.has-status {
    min-height: 132px;
  }

  .account-avatar {
    width: 78px;
    height: 78px;
  }

  .account-card {
    grid-template-columns: 85px minmax(0, 1fr);
  }

  .credential-form {
    padding-left: 18px;
  }

  .credential-form input {
    height: 38px;
  }

  .credential-button {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
}

@media (max-width: 650px) {
  .xp-window,
  .xp-window--recycle {
    inset: 5px 4px 4px;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    border-radius: 5px;
  }

  .explorer-menu button {
    padding-right: 5px;
    padding-left: 5px;
  }

  .explorer-menu button:nth-child(4),
  .explorer-menu button:nth-child(5) {
    display: none;
  }

  .explorer-toolbar {
    height: 39px;
    min-height: 39px;
    padding-right: 3px;
    padding-left: 3px;
  }

  .explorer-toolbar button {
    min-width: 36px;
    height: 33px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .explorer-toolbar button > span:last-child {
    display: none;
  }

  .explorer-toolbar__separator {
    margin-right: 2px;
    margin-left: 2px;
  }

  .explorer-address label,
  .explorer-address > button {
    display: none;
  }

  .explorer-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .explorer-sidebar {
    display: none;
  }

  .explorer-view {
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  }

  .explorer-statusbar {
    grid-template-columns: 1fr 92px;
  }

  .recycle-list__header,
  .recycle-item {
    min-width: 390px;
    grid-template-columns: minmax(150px, 1.4fr) 110px 95px 62px;
  }

  .task-button {
    width: min(122px, 34vw);
    padding-right: 5px;
  }
}

@media (max-width: 420px) {
  .logon-content {
    padding-right: 10px;
    padding-left: 10px;
  }

  .start-button {
    width: 91px;
    min-width: 91px;
    padding-right: 10px;
    font-size: 17px;
  }

  .system-tray {
    min-width: 94px;
    padding-right: 6px;
    padding-left: 5px;
  }

  .system-tray time {
    min-width: 58px;
  }

  .taskbar__tasks {
    padding-right: 2px;
    padding-left: 2px;
  }

  .task-button {
    min-width: 48px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .explorer-menu button {
    padding-right: 4px;
    padding-left: 4px;
    font-size: 10px;
  }

  .explorer-view {
    padding-right: 6px;
    padding-left: 6px;
  }
}

@media (max-height: 419px) {
  body,
  .logon-screen {
    min-height: 0;
  }

  .logon-screen__body {
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .logon-content {
    height: auto;
    min-height: 100%;
  }
}

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

  .welcome-message {
    transform: translate(-50%, -50%);
  }
}

/* Simplified Cinema header and persistent 3D carousel movement. */

.cinema-ticker,
.cinema-nav {
  display: none !important;
}

.cinema-header {
  height: 54px;
  min-height: 54px;
  padding: 0 15px 0 19px;
  border-bottom: 1px solid rgba(237, 218, 206, .12);
  background: rgba(10, 11, 14, .86);
}

.cinema-wordmark {
  width: auto;
  flex: 1;
}

.cinema-wordmark h2 {
  font-size: 17px;
}

.cinema-header__actions {
  width: auto;
  flex: 0 0 auto;
}

.cinema-card {
  will-change: left, width, opacity, transform, filter;
  transition:
    left 640ms cubic-bezier(.22, .74, .18, 1),
    width 640ms cubic-bezier(.22, .74, .18, 1),
    opacity 520ms ease,
    transform 640ms cubic-bezier(.22, .74, .18, 1),
    filter 520ms ease,
    box-shadow 520ms ease;
}

.cinema-card[data-position="-4"] {
  left: 0;
  z-index: 1;
  width: clamp(175px, 18vw, 270px);
  opacity: 0;
  filter: blur(8px) brightness(.68);
  pointer-events: none;
  transform: translate(-128%, -50%) translateZ(-240px) rotateY(54deg) scale(.8);
  transform-origin: right center;
}

.cinema-card[data-position="4"] {
  left: 100%;
  z-index: 1;
  width: clamp(175px, 18vw, 270px);
  opacity: 0;
  filter: blur(8px) brightness(.68);
  pointer-events: none;
  transform: translate(28%, -50%) translateZ(-240px) rotateY(-54deg) scale(.8);
  transform-origin: left center;
}

.cinema-card.is-recycling {
  visibility: hidden;
  transition: none !important;
}

.cinema-coverflow.is-sliding {
  pointer-events: none;
}

.cinema-coverflow.is-sliding .cinema-card__visual {
  animation: none;
}

.cinema-arrow {
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.cinema-arrow:hover {
  transform: translateY(-50%) scale(1.08);
}

.cinema-arrow:active {
  transform: translateY(-50%) scale(.94);
}

@media (prefers-reduced-motion: reduce) {
  .cinema-card {
    transition: none;
  }
}

/* Skype 3.x (2006-2008) inspired call window */

.xp-window--skype {
  top: clamp(24px, 6vh, 64px);
  left: clamp(112px, 16vw, 250px);
  width: min(820px, calc(100% - 150px));
  height: min(570px, calc(100% - 56px));
  min-width: 620px;
  min-height: 430px;
  border-color: #087fc3;
  background: #d8edf8;
}

.xp-window--skype .xp-window__titlebar {
  background: linear-gradient(#42c9f4 0, #13aeea 13%, #078ed2 72%, #0576b7 100%);
  box-shadow: inset 0 1px #9be7ff, inset 0 -1px #045f9a;
}

.skype-mini-logo {
  display: grid;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #05a8e5;
  background: #fff;
  box-shadow: 0 1px 2px #006b9d;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  place-items: center;
}

.skype-menu {
  display: flex;
  height: 25px;
  min-height: 25px;
  padding: 1px 4px;
  align-items: center;
  border-bottom: 1px solid #8fb8ce;
  background: linear-gradient(#f9fdff, #ddecf3);
}

.skype-menu button {
  height: 21px;
  padding: 1px 8px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 11px;
  cursor: default;
}

.skype-menu button:hover {
  border-color: #4e9dcc;
  background: #d8effb;
}

.skype-shell {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: 205px minmax(0, 1fr);
  border-top: 1px solid #fff;
}

.skype-sidebar {
  min-width: 0;
  padding: 10px 8px;
  border-right: 1px solid #7cb5d4;
  color: #164a65;
  background: linear-gradient(90deg, #e9f7fd, #c9eafa);
}

.skype-account,
.skype-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.skype-account__avatar,
.skype-contact__avatar {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 5px;
  color: #fff;
  background: linear-gradient(135deg, #78cff0, #138ac5);
  box-shadow: 0 0 0 1px #629ab5;
  font-size: 21px;
  place-items: center;
}

.skype-account div,
.skype-contact div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.skype-account strong,
.skype-contact strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skype-account span,
.skype-contact span {
  margin-top: 3px;
  color: #4e6875;
  font-size: 10px;
}

.skype-account i,
.skype-contact i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 3px;
  border: 1px solid #479500;
  border-radius: 50%;
  background: #7fd21c;
}

.skype-search {
  display: flex;
  height: 25px;
  margin: 12px 0 10px;
  padding-left: 5px;
  align-items: center;
  border: 1px solid #73a8c5;
  border-radius: 3px;
  color: #7295a8;
  background: #fff;
}

.skype-search input {
  width: 100%;
  height: 21px;
  padding: 2px 5px;
  border: 0;
  outline: 0;
  color: #8298a3;
  background: transparent;
  font-size: 11px;
}

.skype-sidebar h3 {
  margin: 0 0 4px;
  padding: 4px 5px;
  border-bottom: 1px solid #94bed4;
  font-size: 11px;
  text-transform: uppercase;
}

.skype-contact {
  margin-top: 5px;
  padding: 7px 5px;
  border: 1px solid #7cb8d8;
  border-radius: 4px;
  background: linear-gradient(#fafdff, #cfeefa);
  box-shadow: inset 0 1px #fff;
}

.skype-contact__avatar {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb6c9, #d75b7d);
  font-size: 15px;
}

.skype-call {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  background: #f7fbfd;
}

.skype-call__header {
  display: flex;
  height: 62px;
  min-height: 62px;
  padding: 8px 12px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #8abbd2;
  background: linear-gradient(#fff, #dff3fb);
}

.skype-call__header h3,
.skype-call__header p {
  margin: 0;
}

.skype-call__header h3 {
  color: #0874ad;
  font-size: 16px;
}

.skype-call__header p {
  margin-top: 3px;
  color: #57727f;
  font-size: 11px;
}

.skype-quality {
  display: flex;
  height: 20px;
  margin-left: auto;
  align-items: end;
  gap: 2px;
}

.skype-quality i {
  display: block;
  width: 4px;
  border: 1px solid #568800;
  background: #72c719;
}

.skype-quality i:nth-child(1) { height: 5px; }
.skype-quality i:nth-child(2) { height: 8px; }
.skype-quality i:nth-child(3) { height: 12px; }
.skype-quality i:nth-child(4) { height: 16px; }
.skype-quality.is-poor i:nth-child(n+2) { border-color: #a1a1a1; background: #c8c8c8; }

.skype-video-stage {
  position: relative;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #29485b, #07151d 72%);
}

#remote-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050a0d;
}

.skype-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: #dcebf2;
  text-shadow: 1px 1px #000;
}

.skype-video-placeholder.is-hidden {
  display: none;
}

.skype-video-placeholder__avatar {
  display: grid;
  width: 76px;
  height: 76px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ffb7c9, #b83b63);
  box-shadow: 0 3px 12px #000;
  font-size: 36px;
  place-items: center;
}

.skype-video-placeholder strong { font-size: 15px; }
.skype-video-placeholder small { color: #a8c2ce; font-size: 10px; }

.skype-local-video {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  width: min(26%, 150px);
  aspect-ratio: 16 / 9;
  border: 2px solid #eaf9ff;
  border-radius: 3px;
  object-fit: cover;
  background: #16232a;
  box-shadow: 0 2px 8px #000;
  transform: scaleX(-1);
}

.skype-local-video:not(.has-stream) {
  display: none;
}

.skype-connect {
  position: absolute;
  bottom: 16px;
  left: 50%;
  z-index: 5;
  min-width: 132px;
  padding: 8px 18px;
  border: 1px solid #2b8600;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(#9ee532, #53ad08 58%, #3a8b00);
  box-shadow: inset 0 1px #ddffac, 0 2px 5px #000;
  font-weight: 700;
  font-size: 12px;
  text-shadow: 1px 1px #397b00;
  transform: translateX(-50%);
}

.skype-connect[hidden] { display: none; }

.skype-call__controls {
  display: flex;
  height: 62px;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 17px;
  border-top: 1px solid #fff;
  background: linear-gradient(#e8f7fc, #b8dfef);
}

.skype-control {
  display: flex;
  min-width: 57px;
  height: 50px;
  padding: 3px 7px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #164e67;
  background: transparent;
}

.skype-control:hover { border-color: #75afca; background: #eafaff; }
.skype-control span { font-family: Arial, sans-serif; font-size: 21px; line-height: 24px; }
.skype-control small { font-size: 10px; }
.skype-control.is-off { opacity: .58; }

.skype-control--end {
  min-width: 72px;
  border-color: #9d1e0c;
  color: #fff;
  background: linear-gradient(#fa8b6e, #df3d24 55%, #b52312);
  box-shadow: inset 0 1px #ffd0c5, 0 1px 2px #567;
  text-shadow: 1px 1px #8d1c0f;
}

.skype-statusbar {
  display: flex;
  height: 21px;
  min-height: 21px;
  padding: 3px 7px;
  justify-content: space-between;
  border-top: 1px solid #7db2cd;
  color: #356279;
  background: #dceff7;
  font-size: 10px;
}

.skype-statusbar span:first-child { color: #3b8b06; }

@media (max-width: 650px) {
  .xp-window--skype {
    inset: 5px 4px 4px;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
  }

  .skype-shell { grid-template-columns: minmax(0, 1fr); }
  .skype-sidebar { display: none; }
  .skype-menu button:nth-child(n+4) { display: none; }
}

/* Modern edge-to-edge Skype call window */

.xp-window--skype {
  top: 8px;
  left: clamp(16px, 11vw, 160px);
  width: min(442px, calc(100% - 32px));
  height: min(706px, calc(100% - 16px));
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  overflow: hidden;
  border: 1px solid #d8dde5;
  border-radius: 16px;
  outline: 0;
  color: #111827;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .24), 0 3px 12px rgba(15, 23, 42, .12);
  resize: none;
}

.xp-window--skype::after {
  display: none;
}

.xp-window--skype.is-maximized {
  max-width: none;
  max-height: none;
  resize: none;
}

.xp-window--skype.is-maximized::after {
  display: none;
}

.xp-window--skype .xp-window__titlebar,
.xp-window--skype.is-active .xp-window__titlebar {
  display: flex;
  height: 56px;
  min-height: 56px;
  padding: 0 14px 0 18px;
  align-items: center;
  justify-content: space-between;
  color: #111;
  background: #fff;
  box-shadow: none;
  cursor: move;
  cursor: grab;
  user-select: none;
}

.xp-window--skype.is-dragging .xp-window__titlebar {
  cursor: grabbing;
}

.skype-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.xp-window--skype .xp-window__titlebar h2 {
  margin: 0;
  color: #111;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1;
  text-shadow: none;
}

.skype-mini-logo {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 0;
  border-radius: 45% 55% 48% 52%;
  color: #fff;
  background: #0799dc;
  box-shadow: none;
  font-family: Arial, sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  place-items: center;
  transform: rotate(-5deg);
}

.xp-window--skype .xp-window__controls {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 4px;
}

.xp-window--skype .xp-window__controls button,
.xp-window--skype .xp-window__controls .xp-window__close {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: #111;
  background: transparent;
  box-shadow: none;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 29px;
  font-weight: 300;
  line-height: 1;
  text-shadow: none;
  cursor: pointer;
  transition: color 140ms ease, background-color 140ms ease;
}

.xp-window--skype .xp-window__controls button:hover {
  filter: none;
  background: #f1f3f5;
}

.xp-window--skype .xp-window__controls .xp-window__close:hover {
  color: #fff;
  background: #e81123;
}

.xp-window--skype .xp-window__controls button:active {
  filter: none;
  background: #e5e7eb;
}

.xp-window--skype .skype-call {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  background: #fff;
}

.skype-video-stack {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  background: #fff;
}

.skype-video-stack > video,
.skype-video-stack > #remote-video {
  position: static;
  inset: auto;
  z-index: auto;
  display: block;
  width: 100%;
  height: 0;
  min-height: 0;
  flex: 1 1 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 16px;
  outline: 0;
  object-fit: cover;
  background: #101114;
  box-shadow: none;
}

.skype-video-stack > .skype-local-video,
.skype-video-stack > .skype-local-video:not(.has-stream) {
  display: block;
  transform: scaleX(-1);
}

.skype-video-placeholder {
  position: absolute;
  inset: 0 0 calc(50% + 4px);
  z-index: 2;
  display: flex;
  padding: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: rgba(255, 255, 255, .84);
  background: #101114;
  font-family: "Segoe UI", Arial, sans-serif;
  text-align: center;
  text-shadow: none;
}

.skype-video-placeholder.is-hidden {
  display: none;
}

.skype-video-placeholder strong {
  font-size: 15px;
  font-weight: 500;
}

.skype-connect {
  position: absolute;
  top: 25%;
  bottom: auto;
  left: 50%;
  z-index: 4;
  min-width: 0;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #0799dc;
  box-shadow: 0 8px 20px rgba(7, 153, 220, .3);
  font: 600 13px/1 "Segoe UI", Arial, sans-serif;
  text-shadow: none;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.skype-connect:hover {
  background: #0787c2;
}

.skype-connect[hidden] {
  display: none;
}

.skype-call__controls {
  display: flex;
  height: 88px;
  min-height: 88px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  gap: 42px;
  border: 0;
  background: #fff;
}

.skype-control,
.skype-control--end {
  position: relative;
  display: grid;
  width: 60px;
  min-width: 60px;
  height: 60px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #0799dc;
  box-shadow: 0 8px 20px rgba(7, 153, 220, .24);
  text-shadow: none;
  cursor: pointer;
  transition: background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.skype-control:hover {
  border: 0;
  background: #0787c2;
  box-shadow: 0 10px 24px rgba(7, 153, 220, .32);
  transform: translateY(-2px);
}

.skype-control:active {
  transform: translateY(0) scale(.96);
}

.skype-control:focus-visible {
  outline: 3px solid rgba(7, 153, 220, .3);
  outline-offset: 4px;
}

.skype-control .skype-control__icon,
.skype-control .skype-control__icon svg {
  display: block;
  width: 31px;
  height: 31px;
  font-size: inherit;
  line-height: 1;
}

.skype-control .skype-control__icon svg {
  overflow: visible;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skype-control small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skype-control.is-off {
  opacity: 1;
  background: #64748b;
  box-shadow: 0 8px 20px rgba(100, 116, 139, .24);
}

.skype-control--end {
  color: #fff;
  background: #ef2929;
  box-shadow: 0 8px 20px rgba(239, 41, 41, .28);
}

.skype-control--end:hover {
  background: #d91f26;
  box-shadow: 0 10px 24px rgba(239, 41, 41, .36);
}

.skype-control--end.is-reconnect,
.skype-control--end.is-reconnect:hover {
  background: #22a447;
  box-shadow: 0 8px 20px rgba(34, 164, 71, .3);
}

.skype-control--end.is-reconnect:hover {
  background: #178a38;
  box-shadow: 0 10px 24px rgba(34, 164, 71, .38);
}

.skype-control--end:focus-visible {
  outline-color: rgba(239, 41, 41, .3);
}

.skype-runtime-hooks {
  display: none;
}

/* Maximized call: remote video fills the stage and local video becomes PiP. */

.xp-window--skype.is-maximized .skype-video-stack {
  position: relative;
  display: block;
  gap: 0;
  background: #101114;
}

.xp-window--skype.is-maximized .skype-video-stack > #remote-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: contain;
  object-position: center;
  background: #050607;
}

.xp-window--skype.is-maximized .skype-video-stack > .skype-local-video,
.xp-window--skype.is-maximized .skype-video-stack > .skype-local-video:not(.has-stream) {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 4;
  display: block;
  width: clamp(160px, 20vw, 250px);
  height: auto;
  aspect-ratio: 16 / 9;
  border: 3px solid #fff;
  border-radius: 12px;
  object-fit: cover;
  background: #101114;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .46);
  transform: scaleX(-1);
}

.xp-window--skype.is-maximized .skype-video-placeholder {
  inset: 0;
  z-index: 2;
  border-radius: 14px;
}

.xp-window--skype.is-maximized .skype-connect {
  top: 50%;
}

@media (max-width: 780px) {
  .xp-window--skype.is-maximized .skype-video-stack > .skype-local-video,
  .xp-window--skype.is-maximized .skype-video-stack > .skype-local-video:not(.has-stream) {
    right: 12px;
    bottom: 12px;
    width: clamp(120px, 30vw, 180px);
    border-width: 2px;
    border-radius: 10px;
  }
}

/* Cinema reference-fidelity pass: framed burgundy glass and curved gallery. */

.cinema-window,
.cinema-window.is-active,
.cinema-window.is-maximized {
  display: grid;
  padding: clamp(18px, 4.8vh, 56px) clamp(16px, 4.4vw, 66px);
  place-items: center;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 0 48%, rgba(123, 51, 42, .76), transparent 24%),
    radial-gradient(ellipse at 100% 50%, rgba(151, 68, 47, .72), transparent 23%),
    radial-gradient(ellipse at 50% 8%, rgba(92, 39, 40, .58), transparent 42%),
    linear-gradient(135deg, #201113 0%, #090b0f 42%, #171013 100%);
}

.cinema-backdrop-glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.cinema-backdrop-glow::before,
.cinema-backdrop-glow::after {
  position: absolute;
  top: 20%;
  width: 33vw;
  height: 60vh;
  border-radius: 50%;
  content: "";
  filter: blur(70px);
  opacity: .58;
}

.cinema-backdrop-glow::before {
  left: -18vw;
  background: linear-gradient(180deg, #517392, #b36d4c 68%, #e0bc81);
}

.cinema-backdrop-glow::after {
  right: -17vw;
  background: linear-gradient(180deg, #8d594b, #d07756 60%, #ddc092);
}

.cinema-chassis {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1680px, 100%);
  height: min(920px, 100%);
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 240, 226, .26);
  border-radius: 25px;
  outline: 7px solid rgba(255, 241, 229, .07);
  background: #08090c;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .06),
    inset 0 0 0 1px rgba(255, 255, 255, .045),
    inset 0 0 44px rgba(128, 70, 58, .13),
    0 32px 90px rgba(0, 0, 0, .72),
    0 0 76px rgba(126, 62, 49, .36);
}

.cinema-chassis::after {
  position: absolute;
  inset: 8px;
  z-index: 20;
  border: 1px solid rgba(255, 255, 255, .035);
  border-radius: 17px;
  content: "";
  pointer-events: none;
}

.cinema-ticker {
  position: relative;
  z-index: 8;
  height: 23px;
  min-height: 23px;
  overflow: hidden;
  border-bottom: 1px solid rgba(237, 215, 202, .2);
  color: rgba(232, 215, 205, .6);
  background: linear-gradient(180deg, rgba(74, 40, 42, .72), rgba(29, 20, 23, .74));
  font: 500 9px/22px "Segoe UI", Arial, sans-serif;
  letter-spacing: .12em;
  white-space: nowrap;
}

.cinema-ticker > div {
  display: flex;
  width: max-content;
  min-width: 100%;
  justify-content: space-around;
}

.cinema-ticker span {
  padding: 0 clamp(22px, 3vw, 56px);
}

.cinema-header {
  height: 47px;
  min-height: 47px;
  padding: 0 12px 0 17px;
  border-bottom-color: rgba(238, 218, 205, .22);
  background: rgba(17, 15, 18, .82);
  backdrop-filter: blur(18px);
}

.cinema-wordmark {
  width: clamp(145px, 18vw, 220px);
  flex: 0 0 auto;
  gap: 8px;
}

.cinema-wordmark__icon,
.cinema-wordmark__icon img {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}

.cinema-wordmark h2 {
  font-size: 16px;
  letter-spacing: .06em;
}

.cinema-wordmark p {
  margin-top: 3px;
  font-size: 7px;
  letter-spacing: .16em;
}

.cinema-nav {
  display: grid;
  height: 100%;
  flex: 1;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
  border-right: 1px solid rgba(238, 218, 205, .18);
  border-left: 1px solid rgba(238, 218, 205, .18);
}

.cinema-nav span {
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(238, 218, 205, .18);
  color: rgba(236, 226, 219, .76);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cinema-nav span:last-child {
  border-right: 0;
}

.cinema-header__actions {
  width: clamp(112px, 15vw, 190px);
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 8px;
}

.cinema-now-playing {
  height: 30px;
  padding: 0 12px;
  font-size: 8px;
}

.cinema-close {
  width: 30px;
  height: 30px;
  padding-bottom: 3px;
  font-size: 21px;
}

.cinema-layout {
  min-height: 0;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) clamp(255px, 23vw, 345px);
  background: #07090c;
}

.cinema-main {
  border-right-color: rgba(239, 219, 207, .15);
  background:
    radial-gradient(ellipse 44% 48% at 50% 46%, rgba(29, 63, 67, .48), transparent 68%),
    radial-gradient(ellipse 62% 62% at 50% 50%, rgba(24, 42, 47, .38), transparent 72%),
    linear-gradient(100deg, rgba(64, 23, 28, .55), transparent 25%, transparent 75%, rgba(65, 25, 28, .5)),
    #090b0e;
}

.cinema-main::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.cinema-aurora::before,
.cinema-aurora::after {
  width: 44%;
  height: 72%;
  filter: blur(65px);
  opacity: .27;
}

.cinema-aurora::before {
  top: 8%;
  left: -28%;
  background: #a43d3e;
}

.cinema-aurora::after {
  right: -27%;
  bottom: 2%;
  background: #b85b40;
}

.cinema-library {
  padding: clamp(15px, 2.2vh, 24px) 0 clamp(14px, 2vh, 22px);
  grid-template-rows: 82px minmax(260px, 1fr) 122px;
}

.cinema-library__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.cinema-library__emblem {
  display: block;
  margin-bottom: 2px;
  color: rgba(239, 229, 220, .9);
  font-size: 13px;
  line-height: 1;
  text-shadow: 0 0 16px rgba(147, 211, 213, .42);
}

.cinema-library__heading p {
  color: rgba(223, 210, 201, .7);
  font-size: 7px;
  letter-spacing: .24em;
}

.cinema-library__heading h3 {
  margin-top: 4px;
  color: #f1ebe7;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 400;
  letter-spacing: -.01em;
  text-shadow: 0 0 20px rgba(172, 209, 211, .2);
}

.cinema-library__heading span:last-child {
  margin-top: 5px;
  color: rgba(185, 184, 184, .6);
  font-size: 8px;
}

.cinema-coverflow-shell {
  overflow: hidden;
}

.cinema-coverflow {
  inset: 0;
  overflow: hidden;
  perspective: 1500px;
  perspective-origin: 50% 50%;
}

.cinema-coverflow::before {
  position: absolute;
  inset: 8% 8% 2%;
  border-radius: 50%;
  content: "";
  background: radial-gradient(ellipse, rgba(65, 117, 120, .18), transparent 68%);
  filter: blur(26px);
  pointer-events: none;
}

.cinema-coverflow::after {
  right: 14%;
  bottom: 5%;
  left: 14%;
  height: 16%;
  background: radial-gradient(ellipse, rgba(188, 107, 71, .19), transparent 68%);
  filter: blur(18px);
}

.cinema-card {
  top: 50%;
  left: 50%;
  width: clamp(98px, 9.8vw, 144px);
  border-radius: 9px;
  opacity: .9;
  box-shadow: 0 20px 42px rgba(0, 0, 0, .5);
  transform: translate(-50%, -50%);
  transition: transform 560ms cubic-bezier(.19, .78, .18, 1), opacity 420ms ease, filter 420ms ease, box-shadow 420ms ease;
}

.cinema-card img {
  border-color: rgba(244, 230, 217, .3);
  border-radius: 9px;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, .06);
}

.cinema-card[data-position="-2"] {
  z-index: 4;
  opacity: .82;
  transform: translate(calc(-50% - clamp(210px, 20vw, 304px)), -50%) translateZ(-95px) rotateY(18deg) scale(.92);
}

.cinema-card[data-position="-1"] {
  z-index: 6;
  opacity: .94;
  transform: translate(calc(-50% - clamp(105px, 10vw, 153px)), -50%) translateZ(-32px) rotateY(8deg) scale(.97);
}

.cinema-card[data-position="0"] {
  z-index: 9;
  transform: translate(-50%, -50%) translateZ(20px) scale(1.04);
}

.cinema-card[data-position="1"] {
  z-index: 6;
  opacity: .94;
  transform: translate(calc(-50% + clamp(105px, 10vw, 153px)), -50%) translateZ(-32px) rotateY(-8deg) scale(.97);
}

.cinema-card[data-position="2"] {
  z-index: 4;
  opacity: .82;
  transform: translate(calc(-50% + clamp(210px, 20vw, 304px)), -50%) translateZ(-95px) rotateY(-18deg) scale(.92);
}

.cinema-card[data-position="-3"],
.cinema-card[data-position="3"] {
  top: 50%;
  z-index: 3;
  width: clamp(205px, 21vw, 315px);
  opacity: .96;
  filter: saturate(.92) brightness(.92);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 35px rgba(138, 76, 59, .16);
}

.cinema-card[data-position="-3"] {
  left: 0;
  transform: translate(-46%, -50%) translateZ(-150px) rotateY(37deg) scale(1.08);
  transform-origin: right center;
}

.cinema-card[data-position="3"] {
  left: 100%;
  transform: translate(-54%, -50%) translateZ(-150px) rotateY(-37deg) scale(1.08);
  transform-origin: left center;
}

.cinema-card.is-current {
  box-shadow:
    0 0 0 1px rgba(238, 220, 203, .32),
    0 0 32px rgba(89, 144, 147, .17),
    0 28px 60px rgba(0, 0, 0, .6);
}

.cinema-card.is-edge .cinema-card__caption,
.cinema-card:not(.is-current) .cinema-card__caption {
  display: none;
}

.cinema-card__caption {
  bottom: -22px;
  color: rgba(238, 229, 222, .84);
  font-size: 8px;
  letter-spacing: .1em;
}

.cinema-card::after {
  top: calc(100% + 2px);
  height: 24%;
  opacity: .14;
  background: linear-gradient(180deg, rgba(158, 199, 200, .24), transparent 76%);
}

.cinema-arrow {
  width: 34px;
  height: 34px;
  border-color: rgba(236, 220, 210, .17);
  color: rgba(237, 226, 217, .8);
  background: rgba(13, 14, 17, .7);
  font-size: 25px;
  backdrop-filter: blur(10px);
}

.cinema-arrow--previous { left: 16px; }
.cinema-arrow--next { right: 16px; }

.cinema-selection {
  display: flex;
  max-width: 680px;
  min-height: 0;
  margin: 0 auto;
  padding: 6px 18px 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

#cinema-selection-meta,
#cinema-selection-title,
#cinema-selection-summary,
.cinema-watch {
  grid-column: auto;
  grid-row: auto;
}

#cinema-selection-meta {
  color: rgba(199, 178, 164, .62);
  font-size: 7px;
  letter-spacing: .22em;
}

#cinema-selection-title {
  margin-top: 4px;
  color: rgba(245, 237, 231, .93);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(16px, 1.55vw, 22px);
  font-weight: 400;
}

#cinema-selection-summary {
  max-width: 590px;
  margin-top: 6px;
  color: rgba(190, 190, 193, .63);
  font-size: 8px;
  line-height: 1.45;
}

.cinema-watch {
  height: 34px;
  margin-top: 11px;
  padding: 0 16px;
  border-color: rgba(236, 218, 205, .2);
  color: rgba(244, 235, 228, .88);
  background: rgba(12, 13, 16, .76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025), 0 12px 28px rgba(0, 0, 0, .3);
  font-size: 8px;
}

.cinema-watch:hover {
  border-color: rgba(225, 183, 142, .54);
  color: #fff;
  background: rgba(71, 37, 39, .86);
}

.cinema-call-sidebar {
  padding: 11px;
  background:
    radial-gradient(ellipse at 100% 15%, rgba(99, 45, 42, .2), transparent 43%),
    linear-gradient(180deg, rgba(14, 15, 19, .98), rgba(8, 9, 12, .99));
}

.cinema-call-sidebar__topline {
  height: 25px;
  min-height: 25px;
  color: rgba(207, 196, 189, .58);
  font-size: 7px;
}

.cinema-call-stage .skype-video-stack > video,
.cinema-call-stage .skype-video-stack > #remote-video,
.cinema-call-stage .skype-video-stack > .skype-local-video,
.cinema-call-stage .skype-video-stack > .skype-local-video:not(.has-stream),
.cinema-call-stage .skype-video-placeholder {
  border-color: rgba(235, 218, 207, .16);
  border-radius: 10px;
  background: #111318;
}

.cinema-call-controls {
  height: 61px;
  min-height: 61px;
}

.cinema-call-control {
  width: 42px;
  height: 42px;
  border-color: rgba(235, 218, 207, .15);
  background: rgba(255, 255, 255, .055);
}

.cinema-call-control svg {
  width: 20px;
  height: 20px;
}

.cinema-player-view {
  padding: clamp(14px, 2vh, 22px) clamp(16px, 2.4vw, 34px) 22px;
}

.cinema-screen {
  border-color: rgba(236, 216, 201, .2);
  border-radius: 13px;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .015), 0 25px 70px rgba(0, 0, 0, .66), 0 0 60px rgba(104, 44, 41, .17);
}

@media (max-width: 980px) {
  .cinema-window,
  .cinema-window.is-active,
  .cinema-window.is-maximized {
    padding: 14px;
  }

  .cinema-chassis {
    height: 100%;
    border-radius: 18px;
  }

  .cinema-nav span:nth-child(3),
  .cinema-nav span:nth-child(4) {
    display: none;
  }

  .cinema-nav {
    grid-template-columns: repeat(2, minmax(70px, 1fr));
  }

  .cinema-layout {
    grid-template-columns: minmax(0, 1fr) clamp(215px, 28vw, 260px);
  }

  .cinema-library {
    grid-template-rows: 76px minmax(245px, 1fr) 112px;
  }

  .cinema-card[data-position="-2"] {
    transform: translate(calc(-50% - 180px), -50%) translateZ(-95px) rotateY(18deg) scale(.9);
  }

  .cinema-card[data-position="-1"] {
    transform: translate(calc(-50% - 90px), -50%) translateZ(-32px) rotateY(8deg) scale(.96);
  }

  .cinema-card[data-position="1"] {
    transform: translate(calc(-50% + 90px), -50%) translateZ(-32px) rotateY(-8deg) scale(.96);
  }

  .cinema-card[data-position="2"] {
    transform: translate(calc(-50% + 180px), -50%) translateZ(-95px) rotateY(-18deg) scale(.9);
  }
}

@media (max-width: 680px) {
  .cinema-window,
  .cinema-window.is-active,
  .cinema-window.is-maximized {
    padding: 0;
  }

  .cinema-chassis {
    border-radius: 0;
    outline: 0;
  }

  .cinema-ticker { display: none; }
  .cinema-header { height: 50px; min-height: 50px; }
  .cinema-nav { display: none; }
  .cinema-wordmark { width: auto; flex: 1; }
  .cinema-header__actions { width: auto; }
  .cinema-layout { grid-template-columns: minmax(0, 1fr) 150px; }
  .cinema-library { grid-template-rows: 72px minmax(210px, 1fr) 108px; }
  .cinema-card { width: clamp(80px, 23vw, 110px); }
  .cinema-card[data-position="-2"] { transform: translate(calc(-50% - 120px), -50%) rotateY(18deg) scale(.82); }
  .cinema-card[data-position="-1"] { transform: translate(calc(-50% - 62px), -50%) rotateY(8deg) scale(.9); }
  .cinema-card[data-position="1"] { transform: translate(calc(-50% + 62px), -50%) rotateY(-8deg) scale(.9); }
  .cinema-card[data-position="2"] { transform: translate(calc(-50% + 120px), -50%) rotateY(-18deg) scale(.82); }
  .cinema-card[data-position="-3"],
  .cinema-card[data-position="3"] { width: 150px; }
  .cinema-arrow { display: none; }
}

/* Minimal lower area and a fluid, staged cover-flow transition. */

.cinema-library {
  grid-template-rows: 82px minmax(280px, 1fr);
}

.cinema-selection {
  display: none !important;
}

.cinema-coverflow-shell {
  margin-bottom: 8px;
}

.cinema-card__visual {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
  transform: translate3d(0, 0, 0);
  transform-origin: center center;
  will-change: opacity, transform, filter;
}

.cinema-card__visual::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  background:
    linear-gradient(105deg, rgba(255, 255, 255, .14), transparent 24%),
    linear-gradient(0deg, rgba(2, 4, 7, .22), transparent 46%);
  opacity: .56;
  pointer-events: none;
}

.cinema-card.is-current .cinema-card__visual::after {
  opacity: .22;
}

.cinema-coverflow.is-moving .cinema-card__visual {
  animation: cinema-card-arrive 660ms cubic-bezier(.16, .82, .18, 1) var(--motion-delay) both;
}

.cinema-coverflow.is-moving .cinema-card__caption {
  animation: cinema-caption-arrive 540ms ease-out calc(var(--motion-delay) + 120ms) both;
}

.cinema-coverflow.is-moving::before {
  animation: cinema-gallery-glow 700ms cubic-bezier(.16, .82, .18, 1) both;
}

@keyframes cinema-card-arrive {
  0% {
    opacity: 0;
    filter: blur(7px) saturate(.7);
    transform: translate3d(var(--slide-enter-x), 12px, 0) scale(.88);
  }

  58% {
    opacity: 1;
    filter: blur(0) saturate(1.02);
  }

  100% {
    opacity: 1;
    filter: blur(0) saturate(1);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes cinema-caption-arrive {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cinema-gallery-glow {
  from { opacity: .18; transform: scale(.92); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.cinema-card:hover .cinema-card__visual {
  box-shadow: 0 0 0 1px rgba(238, 220, 203, .32), 0 18px 36px rgba(0, 0, 0, .34);
  filter: brightness(1.07) saturate(1.04);
}

@media (max-width: 980px) {
  .cinema-library {
    grid-template-rows: 76px minmax(240px, 1fr);
  }
}

@media (max-width: 680px) {
  .cinema-library {
    grid-template-rows: 72px minmax(200px, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-coverflow.is-moving .cinema-card__visual,
  .cinema-coverflow.is-moving .cinema-card__caption,
  .cinema-coverflow.is-moving::before {
    animation: none;
  }
}

/* Cinema — a fullscreen shared screening room. */

body.cinema-open .taskbar,
body.cinema-open .start-menu,
body.cinema-open .desktop-toast {
  display: none !important;
}

body.cinema-open .desktop-surface {
  inset: 0;
}

.desktop-icon--cinema .desktop-icon__image img {
  filter: saturate(1.08) contrast(1.04);
}

.cinema-window,
.cinema-window.is-active,
.cinema-window.is-maximized {
  position: fixed;
  inset: 0 !important;
  z-index: 100 !important;
  display: flex;
  width: 100vw;
  height: 100dvh;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: #f8f5ec;
  background:
    radial-gradient(circle at 40% 15%, rgba(153, 40, 57, .18), transparent 32%),
    radial-gradient(circle at 20% 84%, rgba(180, 119, 38, .09), transparent 32%),
    #07090d;
  box-shadow: none;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  resize: none;
}

.cinema-window[hidden] {
  display: none;
}

.cinema-header {
  position: relative;
  z-index: 6;
  display: flex;
  height: 76px;
  min-height: 76px;
  padding: 0 24px 0 28px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
  background: rgba(5, 7, 11, .72);
  backdrop-filter: blur(22px);
}

.cinema-wordmark,
.cinema-header__actions,
.cinema-now-playing {
  display: flex;
  align-items: center;
}

.cinema-wordmark {
  min-width: 0;
  gap: 12px;
}

.cinema-wordmark__icon,
.cinema-wordmark__icon img {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}

.cinema-wordmark h2,
.cinema-wordmark p {
  margin: 0;
}

.cinema-wordmark h2 {
  color: #fff9eb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: .03em;
  line-height: 1;
}

.cinema-wordmark p {
  margin-top: 4px;
  color: #8f9199;
  font-size: 10px;
  letter-spacing: .19em;
  line-height: 1;
  text-transform: uppercase;
}

.cinema-header__actions {
  gap: 12px;
}

.cinema-now-playing {
  height: 38px;
  padding: 0 15px;
  gap: 8px;
  border: 1px solid rgba(223, 179, 100, .23);
  border-radius: 999px;
  color: #eac98e;
  background: rgba(223, 179, 100, .075);
  font-size: 11px;
  letter-spacing: .08em;
  cursor: pointer;
}

.cinema-now-playing[hidden] {
  display: none;
}

.cinema-now-playing:hover {
  border-color: rgba(239, 194, 110, .52);
  background: rgba(223, 179, 100, .13);
}

.cinema-close {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0 0 4px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  color: #d9dadd;
  background: rgba(255, 255, 255, .045);
  font: 300 28px/1 Arial, sans-serif;
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.cinema-close:hover {
  border-color: rgba(255, 101, 101, .5);
  color: #fff;
  background: rgba(179, 36, 48, .48);
  transform: rotate(4deg);
}

.cinema-layout {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) clamp(285px, 26vw, 390px);
}

.cinema-main {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, .075);
}

.cinema-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cinema-aurora::before,
.cinema-aurora::after {
  position: absolute;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  content: "";
  filter: blur(90px);
  opacity: .2;
}

.cinema-aurora::before {
  top: -32vw;
  left: 18%;
  background: #b52745;
}

.cinema-aurora::after {
  right: -32vw;
  bottom: -34vw;
  background: #b77726;
}

.cinema-library,
.cinema-player-view {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.cinema-library {
  display: grid;
  min-height: 0;
  padding: clamp(18px, 3vh, 36px) clamp(22px, 4vw, 64px) clamp(16px, 2.7vh, 32px);
  grid-template-rows: auto minmax(240px, 1fr) auto;
}

.cinema-library[hidden] {
  display: none;
}

.cinema-library__heading {
  position: relative;
  z-index: 5;
  text-align: center;
}

.cinema-library__heading p,
.cinema-library__heading h3,
.cinema-library__heading span,
.cinema-selection p,
.cinema-selection h4 {
  margin: 0;
}

.cinema-library__heading p {
  color: #cda561;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .27em;
  text-transform: uppercase;
}

.cinema-library__heading h3 {
  margin-top: 7px;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.04;
}

.cinema-library__heading span {
  display: block;
  margin-top: 8px;
  color: #747780;
  font-size: 11px;
}

.cinema-coverflow-shell {
  position: relative;
  min-height: 0;
}

.cinema-coverflow {
  position: absolute;
  inset: 0 clamp(24px, 4vw, 58px);
  overflow: visible;
  perspective: 1200px;
  perspective-origin: 50% 48%;
  transform-style: preserve-3d;
}

.cinema-coverflow::after {
  position: absolute;
  right: 10%;
  bottom: 5%;
  left: 10%;
  height: 20%;
  border-radius: 50%;
  content: "";
  background: radial-gradient(ellipse, rgba(195, 128, 51, .17), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}

.cinema-card {
  --cover-x: 0px;
  --cover-z: 0px;
  --cover-rotate: 0deg;
  --cover-scale: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  width: clamp(132px, 16vw, 224px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 10px;
  opacity: .58;
  background: transparent;
  box-shadow: 0 26px 56px rgba(0, 0, 0, .48);
  cursor: pointer;
  transform: translate(-50%, -50%) translateX(var(--cover-x)) translateZ(var(--cover-z)) rotateY(var(--cover-rotate)) scale(var(--cover-scale));
  transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(.2, .78, .2, 1), opacity 420ms ease, filter 420ms ease, box-shadow 420ms ease;
}

.cinema-card img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  object-fit: cover;
  background: #171a20;
}

.cinema-card::after {
  position: absolute;
  top: calc(100% + 8px);
  right: 5%;
  left: 5%;
  height: 32%;
  border-radius: 10px;
  content: "";
  opacity: .23;
  background: linear-gradient(180deg, rgba(218, 170, 91, .24), transparent 75%);
  filter: blur(8px);
  transform: rotateX(76deg);
  transform-origin: top;
}

.cinema-card.is-current {
  z-index: 8;
  opacity: 1;
  filter: saturate(1.08);
  box-shadow: 0 0 0 1px rgba(239, 201, 132, .32), 0 0 44px rgba(187, 80, 49, .23), 0 34px 74px rgba(0, 0, 0, .65);
}

.cinema-card.is-playing img {
  border-color: rgba(235, 183, 92, .72);
  box-shadow: inset 0 0 0 1px rgba(255, 240, 199, .22);
}

.cinema-card:focus-visible {
  outline: 2px solid #e8b96b;
  outline-offset: 5px;
}

.cinema-card__caption {
  position: absolute;
  right: 0;
  bottom: -26px;
  left: 0;
  overflow: hidden;
  color: #e7e2d8;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  opacity: 0;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 240ms ease;
}

.cinema-card.is-current .cinema-card__caption {
  opacity: 1;
}

.cinema-arrow {
  position: absolute;
  top: 50%;
  z-index: 12;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0 0 5px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  color: #e6d6bc;
  background: rgba(17, 20, 27, .74);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .32);
  font: 300 32px/1 Georgia, serif;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

.cinema-arrow:hover {
  border-color: rgba(231, 187, 109, .55);
  color: #fff;
  background: rgba(89, 47, 42, .8);
}

.cinema-arrow--previous { left: 0; }
.cinema-arrow--next { right: 0; }

.cinema-selection {
  position: relative;
  z-index: 9;
  display: grid;
  max-width: 680px;
  min-height: 112px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  column-gap: 24px;
  text-align: left;
}

#cinema-selection-meta {
  grid-column: 1;
  color: #b79763;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

#cinema-selection-title {
  grid-column: 1;
  margin-top: 5px;
  color: #fff8ea;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.05;
}

#cinema-selection-summary {
  grid-column: 1;
  max-width: 540px;
  margin-top: 7px;
  overflow: hidden;
  color: #868891;
  font-size: 10px;
  line-height: 1.45;
}

.cinema-watch {
  display: flex;
  height: 44px;
  padding: 0 19px;
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 225, 168, .28);
  border-radius: 999px;
  color: #21150d;
  background: linear-gradient(135deg, #f2d59c, #c9934f);
  box-shadow: 0 10px 30px rgba(177, 103, 47, .24), inset 0 1px rgba(255, 255, 255, .58);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .045em;
  cursor: pointer;
}

.cinema-watch:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cinema-player-view {
  padding: clamp(20px, 3.4vh, 42px) clamp(22px, 4vw, 64px) clamp(18px, 3vh, 34px);
}

.cinema-player-view[hidden] {
  display: none;
}

.cinema-player-view__topline {
  display: flex;
  min-height: 52px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cinema-player-view__topline > button {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 999px;
  color: #b8bac1;
  background: rgba(255, 255, 255, .04);
  font-size: 10px;
  cursor: pointer;
}

.cinema-player-view__topline > button:hover {
  border-color: rgba(234, 190, 111, .42);
  color: #f0d5a5;
}

.cinema-player-view__topline > div {
  min-width: 0;
  text-align: right;
}

.cinema-player-view__topline span,
.cinema-player-view__topline strong {
  display: block;
}

.cinema-player-view__topline span {
  color: #9c7d4e;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.cinema-player-view__topline strong {
  max-width: 42vw;
  margin-top: 3px;
  overflow: hidden;
  color: #fff7e7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cinema-screen {
  position: relative;
  display: grid;
  width: 100%;
  height: calc(100% - 91px);
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 217, 151, .14);
  border-radius: 16px;
  background: #020305;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .015), 0 30px 80px rgba(0, 0, 0, .58), 0 0 70px rgba(153, 55, 47, .11);
}

.cinema-screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020305;
}

.cinema-play-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #21150d;
  background: #e6bd78;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .5);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.cinema-sync-status {
  position: absolute;
  right: clamp(22px, 4vw, 64px);
  bottom: 4px;
  margin: 0;
  color: #686b74;
  font-size: 9px;
  letter-spacing: .08em;
}

.cinema-call-sidebar {
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: 18px;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(18, 21, 28, .98), rgba(9, 11, 16, .99)),
    #0b0e13;
}

.cinema-call-sidebar__topline {
  display: flex;
  height: 32px;
  min-height: 32px;
  padding: 0 4px;
  align-items: center;
  gap: 8px;
  color: #8e929c;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.cinema-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bd71;
  box-shadow: 0 0 11px rgba(56, 189, 113, .75);
}

.cinema-call-stage {
  min-width: 0;
  min-height: 0;
  flex: 1;
}

.cinema-call-stage .skype-video-stack {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
  background: transparent;
}

.cinema-call-stage .skype-video-stack > video,
.cinema-call-stage .skype-video-stack > #remote-video,
.cinema-call-stage .skype-video-stack > .skype-local-video,
.cinema-call-stage .skype-video-stack > .skype-local-video:not(.has-stream) {
  position: static;
  inset: auto;
  z-index: auto;
  display: block;
  width: 100%;
  height: 0;
  min-height: 0;
  flex: 1 1 0;
  aspect-ratio: auto;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 12px;
  object-fit: cover;
  background: #171a20;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .23);
}

.cinema-call-stage .skype-video-stack > .skype-local-video,
.cinema-call-stage .skype-video-stack > .skype-local-video:not(.has-stream) {
  transform: scaleX(-1);
}

.cinema-call-stage .skype-video-placeholder {
  inset: 0 0 calc(50% + 2px);
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 12px;
  color: #717681;
  background: #171a20;
}

.cinema-call-stage .skype-connect {
  display: none !important;
}

.cinema-call-controls {
  display: flex;
  height: 76px;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cinema-call-control {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  color: #e5e7eb;
  background: rgba(255, 255, 255, .075);
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.cinema-call-control:hover {
  border-color: rgba(229, 190, 122, .45);
  color: #f5dcae;
  background: rgba(224, 177, 96, .12);
  transform: translateY(-2px);
}

.cinema-call-control.is-off {
  border-color: rgba(218, 74, 82, .34);
  color: #fff;
  background: rgba(156, 42, 50, .65);
}

.cinema-call-control svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 980px) {
  .cinema-layout {
    grid-template-columns: minmax(0, 1fr) clamp(230px, 30vw, 285px);
  }

  .cinema-library {
    padding-right: 24px;
    padding-left: 24px;
  }

  .cinema-card {
    width: clamp(118px, 18vw, 178px);
  }

  .cinema-selection {
    max-width: 580px;
  }
}

@media (max-width: 680px) {
  .cinema-header {
    height: 62px;
    min-height: 62px;
    padding: 0 10px 0 14px;
  }

  .cinema-wordmark__icon,
  .cinema-wordmark__icon img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .cinema-wordmark h2 { font-size: 20px; }
  .cinema-wordmark p { display: none; }
  .cinema-now-playing span:last-child { display: none; }
  .cinema-now-playing { width: 38px; padding: 0; justify-content: center; }

  .cinema-layout {
    grid-template-columns: minmax(0, 1fr) 158px;
  }

  .cinema-library {
    padding: 14px 10px 12px;
    grid-template-rows: auto minmax(200px, 1fr) auto;
  }

  .cinema-library__heading span,
  #cinema-selection-summary {
    display: none;
  }

  .cinema-coverflow {
    right: 20px;
    left: 20px;
  }

  .cinema-card { width: clamp(105px, 30vw, 135px); }
  .cinema-arrow { width: 34px; height: 34px; }

  .cinema-selection {
    min-height: 92px;
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .cinema-watch {
    height: 36px;
    margin: 9px auto 0;
    padding: 0 12px;
    grid-column: 1;
    grid-row: auto;
  }

  .cinema-call-sidebar { padding: 8px; }
  .cinema-call-sidebar__topline { height: 26px; min-height: 26px; }
  .cinema-call-controls { height: 62px; min-height: 62px; gap: 8px; }
  .cinema-call-control { width: 42px; height: 42px; }
  .cinema-call-stage .skype-video-stack { gap: 3px; }
  .cinema-call-stage .skype-video-stack > video { border-radius: 8px; }
}

@media (max-width: 780px) {
  .xp-window--skype {
    inset: auto;
    top: 8px;
    left: 16px;
    width: min(442px, calc(100% - 32px));
    height: min(706px, calc(100% - 16px));
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    border-radius: 14px;
    resize: none;
  }

  .xp-window--skype::after { display: none; }

  .xp-window--skype .xp-window__titlebar,
  .xp-window--skype.is-active .xp-window__titlebar {
    height: 54px;
    min-height: 54px;
    padding-left: 12px;
  }

  .skype-mini-logo {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 23px;
  }

  .xp-window--skype .xp-window__titlebar h2 {
    font-size: 21px;
  }

  .xp-window--skype .xp-window__controls button,
  .xp-window--skype .xp-window__controls .xp-window__close {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .skype-video-stack {
    gap: 5px;
  }

  .skype-video-stack > video,
  .skype-video-placeholder {
    border-radius: 12px;
  }

  .skype-call__controls {
    height: 86px;
    min-height: 86px;
    gap: 24px;
  }

  .skype-control,
  .skype-control--end {
    width: 58px;
    min-width: 58px;
    height: 58px;
  }

  .skype-control .skype-control__icon,
  .skype-control .skype-control__icon svg {
    width: 27px;
    height: 27px;
  }
}

/* Final Cinema cascade — keep the reference treatment above legacy rules. */

.cinema-window,
.cinema-window.is-active,
.cinema-window.is-maximized {
  display: grid;
  padding: clamp(18px, 4.8vh, 56px) clamp(16px, 4.4vw, 66px);
  place-items: center;
  background:
    radial-gradient(ellipse at 0 48%, rgba(123, 51, 42, .76), transparent 24%),
    radial-gradient(ellipse at 100% 50%, rgba(151, 68, 47, .72), transparent 23%),
    radial-gradient(ellipse at 50% 8%, rgba(92, 39, 40, .58), transparent 42%),
    linear-gradient(135deg, #201113 0%, #090b0f 42%, #171013 100%);
}

.cinema-header {
  height: 47px;
  min-height: 47px;
  padding: 0 12px 0 17px;
  border-bottom-color: rgba(238, 218, 205, .22);
  background: rgba(17, 15, 18, .82);
}

.cinema-wordmark {
  width: clamp(145px, 18vw, 220px);
  flex: 0 0 auto;
  gap: 8px;
}

.cinema-wordmark__icon,
.cinema-wordmark__icon img {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}

.cinema-wordmark h2 { font-size: 16px; letter-spacing: .06em; }
.cinema-wordmark p { margin-top: 3px; font-size: 7px; letter-spacing: .16em; }
.cinema-header__actions { width: clamp(112px, 15vw, 190px); flex: 0 0 auto; justify-content: flex-end; gap: 8px; }
.cinema-now-playing { height: 30px; padding: 0 12px; font-size: 8px; }
.cinema-close { width: 30px; height: 30px; padding-bottom: 3px; font-size: 21px; }

.cinema-layout {
  min-height: 0;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) clamp(255px, 23vw, 345px);
  background: #07090c;
}

.cinema-main {
  border-right-color: rgba(239, 219, 207, .15);
  background:
    radial-gradient(ellipse 44% 48% at 50% 46%, rgba(29, 63, 67, .48), transparent 68%),
    radial-gradient(ellipse 62% 62% at 50% 50%, rgba(24, 42, 47, .38), transparent 72%),
    linear-gradient(100deg, rgba(64, 23, 28, .55), transparent 25%, transparent 75%, rgba(65, 25, 28, .5)),
    #090b0e;
}

.cinema-library {
  padding: clamp(15px, 2.2vh, 24px) 0 clamp(14px, 2vh, 22px);
  grid-template-rows: 82px minmax(260px, 1fr) 122px;
}

.cinema-library__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.cinema-library__heading p { color: rgba(223, 210, 201, .7); font-size: 7px; letter-spacing: .24em; }
.cinema-library__heading h3 {
  margin-top: 4px;
  color: #f1ebe7;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 400;
  letter-spacing: -.01em;
}
.cinema-library__heading span:last-child { margin-top: 5px; color: rgba(185, 184, 184, .6); font-size: 8px; }

.cinema-coverflow-shell { overflow: hidden; }
.cinema-coverflow { inset: 0; overflow: hidden; perspective: 1500px; perspective-origin: 50% 50%; }

.cinema-card {
  top: 50%;
  left: 50%;
  width: clamp(98px, 9.8vw, 144px);
  border-radius: 9px;
  opacity: .9;
  box-shadow: 0 20px 42px rgba(0, 0, 0, .5);
  transform: translate(-50%, -50%);
}

.cinema-card img { border-color: rgba(244, 230, 217, .3); border-radius: 9px; }

.cinema-card[data-position="-2"] {
  z-index: 4;
  opacity: .82;
  transform: translate(calc(-50% - clamp(210px, 20vw, 304px)), -50%) translateZ(-95px) rotateY(18deg) scale(.92);
}
.cinema-card[data-position="-1"] {
  z-index: 6;
  opacity: .94;
  transform: translate(calc(-50% - clamp(105px, 10vw, 153px)), -50%) translateZ(-32px) rotateY(8deg) scale(.97);
}
.cinema-card[data-position="0"] { z-index: 9; opacity: 1; transform: translate(-50%, -50%) translateZ(20px) scale(1.04); }
.cinema-card[data-position="1"] {
  z-index: 6;
  opacity: .94;
  transform: translate(calc(-50% + clamp(105px, 10vw, 153px)), -50%) translateZ(-32px) rotateY(-8deg) scale(.97);
}
.cinema-card[data-position="2"] {
  z-index: 4;
  opacity: .82;
  transform: translate(calc(-50% + clamp(210px, 20vw, 304px)), -50%) translateZ(-95px) rotateY(-18deg) scale(.92);
}
.cinema-card[data-position="-3"],
.cinema-card[data-position="3"] {
  top: 50%;
  z-index: 3;
  width: clamp(205px, 21vw, 315px);
  opacity: .96;
  filter: saturate(.92) brightness(.92);
}
.cinema-card[data-position="-3"] {
  left: 0;
  transform: translate(-46%, -50%) translateZ(-150px) rotateY(37deg) scale(1.08);
  transform-origin: right center;
}
.cinema-card[data-position="3"] {
  left: 100%;
  transform: translate(-54%, -50%) translateZ(-150px) rotateY(-37deg) scale(1.08);
  transform-origin: left center;
}

.cinema-card__caption { bottom: -22px; color: rgba(238, 229, 222, .84); font-size: 8px; letter-spacing: .1em; }
.cinema-arrow { width: 34px; height: 34px; font-size: 25px; background: rgba(13, 14, 17, .7); }
.cinema-arrow--previous { left: 16px; }
.cinema-arrow--next { right: 16px; }

.cinema-selection {
  display: flex;
  max-width: 680px;
  min-height: 0;
  margin: 0 auto;
  padding: 6px 18px 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

#cinema-selection-meta,
#cinema-selection-title,
#cinema-selection-summary,
.cinema-watch { grid-column: auto; grid-row: auto; }
#cinema-selection-meta { color: rgba(199, 178, 164, .62); font-size: 7px; letter-spacing: .22em; }
#cinema-selection-title {
  margin-top: 4px;
  color: rgba(245, 237, 231, .93);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(16px, 1.55vw, 22px);
  font-weight: 400;
}
#cinema-selection-summary { max-width: 590px; margin-top: 6px; color: rgba(190, 190, 193, .63); font-size: 8px; line-height: 1.45; }
.cinema-watch {
  height: 34px;
  margin-top: 11px;
  padding: 0 16px;
  border-color: rgba(236, 218, 205, .2);
  color: rgba(244, 235, 228, .88);
  background: rgba(12, 13, 16, .76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025), 0 12px 28px rgba(0, 0, 0, .3);
  font-size: 8px;
}

.cinema-call-sidebar { padding: 11px; }
.cinema-call-sidebar__topline { height: 25px; min-height: 25px; font-size: 7px; }
.cinema-call-controls { height: 61px; min-height: 61px; }
.cinema-call-control { width: 42px; height: 42px; }
.cinema-call-control svg { width: 20px; height: 20px; }

@media (max-width: 980px) {
  .cinema-window,
  .cinema-window.is-active,
  .cinema-window.is-maximized { padding: 14px; }
  .cinema-layout { grid-template-columns: minmax(0, 1fr) clamp(215px, 28vw, 260px); }
  .cinema-library { grid-template-rows: 76px minmax(245px, 1fr) 112px; }
  .cinema-card[data-position="-2"] { transform: translate(calc(-50% - 180px), -50%) rotateY(18deg) scale(.9); }
  .cinema-card[data-position="-1"] { transform: translate(calc(-50% - 90px), -50%) rotateY(8deg) scale(.96); }
  .cinema-card[data-position="1"] { transform: translate(calc(-50% + 90px), -50%) rotateY(-8deg) scale(.96); }
  .cinema-card[data-position="2"] { transform: translate(calc(-50% + 180px), -50%) rotateY(-18deg) scale(.9); }
}

@media (max-width: 680px) {
  .cinema-window,
  .cinema-window.is-active,
  .cinema-window.is-maximized { padding: 0; }
  .cinema-chassis { border-radius: 0; outline: 0; }
  .cinema-ticker { display: none; }
  .cinema-header { height: 50px; min-height: 50px; }
  .cinema-nav { display: none; }
  .cinema-wordmark { width: auto; flex: 1; }
  .cinema-header__actions { width: auto; }
  .cinema-layout { grid-template-columns: minmax(0, 1fr) 150px; }
  .cinema-library { grid-template-rows: 72px minmax(210px, 1fr) 108px; }
  .cinema-card { width: clamp(80px, 23vw, 110px); }
  .cinema-card[data-position="-2"] { transform: translate(calc(-50% - 120px), -50%) rotateY(18deg) scale(.82); }
  .cinema-card[data-position="-1"] { transform: translate(calc(-50% - 62px), -50%) rotateY(8deg) scale(.9); }
  .cinema-card[data-position="1"] { transform: translate(calc(-50% + 62px), -50%) rotateY(-8deg) scale(.9); }
  .cinema-card[data-position="2"] { transform: translate(calc(-50% + 120px), -50%) rotateY(-18deg) scale(.82); }
  .cinema-card[data-position="-3"],
  .cinema-card[data-position="3"] { width: 150px; }
  .cinema-arrow { display: none; }
}
