:root {
  --main-font-family: "Fira Sans", "Rubik";
  --main-font-color: #a6accd;
  --main-background-color: #0b0f14;
  --main-font-size: 14px;
  --border: rgba(255, 255, 255, 0.4);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --separator: 1px solid #ffffff29;

  --navbar-bg: rgba(10, 12, 16, 0.92);
  --navbar-surface: #14171c;
  --navbar-surface-hover: #1a1e24;
  --navbar-border: #292e36;
  --navbar-border-light: #22262d;
  --navbar-text: #e5e7eb;
  --navbar-text-muted: #7f8792;
  --navbar-accent: #c4c9d1;
  --navbar-height: 68px;
}

/*================================*/
/*================================*/
/* GENERAL */
/*================================*/
/*================================*/
html {
  min-height: 100%;
  /*   background:
    radial-gradient(
      1200px 700px at 20% 10%,
      rgba(122, 162, 255, 0.18),
      transparent 50%
    ),
    radial-gradient(
      900px 600px at 80% 0%,
      rgba(45, 212, 191, 0.12),
      transparent 55%
    ),
    var(--main-background-color); */
  background:
    radial-gradient(circle at top, rgba(110, 231, 183, 0.14), transparent 30%),
    linear-gradient(180deg, #0b1220 0%, #101827 100%);
  background-repeat: no-repeat;
  background-attachment: fixed; /* keeps it consistent while scrolling */
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  box-sizing: border-box;
  color: var(--main-font-color);
  font-family: var(--main-font-family);
  font-size: 1.2rem;
  line-height: 1.6;
  padding-top: 1em;
  background-color: transparent;
  font-size: var(--main-font-size);
}

/* =========================================================
   NAVBAR
   ========================================================= */

/* Main navbar */

#my_navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  height: var(--navbar-height);

  background: var(--navbar-bg);

  border-bottom: 1px solid var(--navbar-border);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Inner container */

.navbar-inner {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 24px;
}

/* =========================================================
   BRAND
   ========================================================= */

.navbar-brand {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  padding: 0;

  border: 0;
  border-radius: 9px;

  background: transparent;

  cursor: pointer;

  transition:
    background 160ms ease,
    transform 160ms ease;
}

.navbar-brand img {
  display: block;

  width: 34px;
  height: 34px;

  object-fit: contain;

  opacity: 0.9;

  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.navbar-brand:hover {
  background: var(--navbar-surface-hover);
}

.navbar-brand:hover img {
  opacity: 1;
  transform: scale(1.04);
}

/* =========================================================
   MENU
   ========================================================= */

.navbar-menu {
  position: relative;
}

/* Remove native details marker */

.navbar-menu summary {
  list-style: none;
}

.navbar-menu summary::-webkit-details-marker {
  display: none;
}

/* Menu button */

.navbar-menu-toggle {
  display: flex;
  align-items: center;
  gap: 11px;

  height: 38px;

  padding: 0 13px;

  border: 1px solid var(--navbar-border);
  border-radius: 8px;

  background: var(--navbar-surface);

  color: var(--navbar-text-muted);

  cursor: pointer;

  user-select: none;

  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.navbar-menu-toggle:hover {
  color: var(--navbar-text);
  background: var(--navbar-surface-hover);
  border-color: #353b45;
}

/* MENU text */

.menu-label {
  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.12em;
}

/* Hamburger */

.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;

  width: 15px;
}

.menu-icon span {
  display: block;

  width: 15px;
  height: 1px;

  background: currentColor;

  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

/* Turn hamburger into X when open */

.navbar-menu[open] .menu-icon span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.navbar-menu[open] .menu-icon span:nth-child(2) {
  opacity: 0;
}

.navbar-menu[open] .menu-icon span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* =========================================================
   DROPDOWN
   ========================================================= */

.navbar-menu-items {
  position: absolute;

  top: calc(100% + 10px);
  right: 0;

  width: 250px;

  padding: 7px;

  background: #111419;

  border: 1px solid var(--navbar-border);
  border-radius: 11px;

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Individual navigation item */

.navbar-export {
  border: 1px solid currentColor;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}

.navbar-menu-item {
  width: 100%;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 11px 12px;

  border: 0;
  border-radius: 7px;

  background: transparent;

  color: var(--navbar-text-muted);

  font-family: inherit;
  font-size: 13px;
  font-weight: 500;

  text-align: left;

  cursor: pointer;

  transition:
    color 140ms ease,
    background 140ms ease;
}

.navbar-menu-item:hover {
  color: var(--navbar-text);
  background: var(--navbar-surface-hover);
}

/* Number */

.menu-item-index {
  width: 22px;

  color: #555c67;

  font-family: monospace;
  font-size: 10px;

  transition: color 140ms ease;
}

.navbar-menu-item:hover .menu-item-index {
  color: var(--navbar-accent);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
  #my_navbar {
    height: 62px;
  }

  .navbar-inner {
    padding: 0 16px;
  }

  .navbar-menu-items {
    position: fixed;

    top: 62px;
    left: 12px;
    right: 12px;

    width: auto;

    border-radius: 10px;
  }

  .navbar-menu-item {
    padding: 13px 12px;
  }
}

.site-section {
  position: absolute;
  top: 2px;
  left: 4.5rem;
  font-size: 1.8rem;
  font-weight: bold;
  font-family: "Fira Sans";
  text-transform: uppercase;
}

.site-section a {
  text-decoration: none;
  color: white;
}

#root {
  margin: 0;
  padding: 2.5rem 1rem 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  flex-direction: column;
  min-height: 90vh;
}

.flex {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
}

.flex-column {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  flex-direction: column;
}

.separator {
  border: var(--separator);
}

.pointer {
  cursor: pointer;
}

.error_icn,
.success_icn {
  position: absolute;
  left: 1rem;
}

.red_glow {
  box-shadow:
    0 0 10px rgba(236, 0, 0, 0.6),
    0 0 20px rgba(236, 0, 0, 0.5),
    0 0 40px rgba(236, 0, 0, 0.4);
}

.green_glow {
  box-shadow:
    0 0 10px rgba(0, 236, 28, 0.6),
    0 0 20px rgba(0, 236, 16, 0.5),
    0 0 40px rgba(0, 236, 55, 0.4);
}

.hidden {
  display: none;
}

.green {
  color: green !important;
}

.work-in-progress {
  text-align: center;
  padding: 20px;
  border: 1px solid;
  background-color: #ffa5003b;
  border-radius: 10px;
  color: yellow;
}

#root .okselection {
  border: 1px solid rgba(110, 231, 183, 0.38) !important;
  background: rgba(110, 231, 183, 0.04) !important;
  transition:
    border-color 160ms ease,
    background-color 160ms ease !important;
}

#root .okselection:focus {
  border-color: rgba(110, 231, 183, 0.7) !important;
  background: rgba(110, 231, 183, 0.07) !important;
}

/* .my_btn {
  display: flex;
  gap: 1rem;
  border: 1px solid;
  padding: 7px 10px;
  width: 16rem;
  justify-content: center;
  align-items: center;
  line-height: 1;
  height: 3rem;
  margin: 1rem 0;
  min-width: 180px;
  cursor: pointer;
  font-weight: 400;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
} */

/*================================*/
/*================================*/
/* OVERLAY SCREEN */
/*================================*/
/*================================*/
#overlay_screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}

#overlay_screen_card {
  position: relative;
  border: 1px solid #8f8f8f;
  height: fit-content;
  text-align: center;
  border-radius: var(--radius);
  background: #ffffff;
  gap: 0;
  width: min(35rem, 95vw); /* replaces width + max-width */
  margin: 0 0.5rem;
  font-family: "Fira Code";
  word-break: break-word;
  max-height: 75dvh;
  overflow: hidden;
}

#overlay_screen_header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #8f8f8f;
  background-color: black;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  font-size: 1.2rem;
  color: white;
}

.overlay_header_slot {
  display: flex;
  align-items: center;
}

.overlay_header_slot_right {
  justify-content: flex-end;
}

#overlay_screen_content {
  font-size: 0.8rem;
  color: white;
  padding: 1rem;
  background-color: #272626;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  text-align: justify;
  overflow-y: auto;
  flex: 1;
}

#overlay_screen_closebtn {
  position: static;
  color: white;
  font-size: 2rem;
}

#overlay_screen_closebtn:hover {
  color: rgb(248, 166, 13);
}

#my_navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.516);
  height: 3rem;
}

/*================================*/
/*================================*/
/* SAVE/LOAD POP-UP */
/*================================*/
/*================================*/
.popup_storage_line {
  justify-content: space-between;
  padding: 0.75rem 1rem; /* was: 10px 20px */
  font-family: "Fira Code";
  border-bottom: 1px solid #ffffff38;
  flex-wrap: wrap;
  align-items: center; /* vertically center button with content */
  gap: 0.5rem;
}

.popup_storage_line:last-child {
  border-bottom: none;
}

.storage_status {
  padding: 3px 10px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.storage_status_empty {
  border: 1px solid #00fffd;
  background: #40e0d05c;
  color: #00fffd;
}

.storage_status_used {
  border: 1px solid #efff00;
  background: #e0bd405c;
  color: #efff00;
}

.popup_storage_line_left {
  padding-right: 0; /* remove fixed padding, let gap handle spacing */
  flex: 1;
  min-width: 0; /* prevents overflow of long storage key text */
}

.storage_key {
  font-size: 0.8rem;
  color: #a1a1a1;
  font-family: "Fira Code";
  overflow-wrap: anywhere; /* breaks long strings */
  word-break: break-all;
}

.popup_btn {
  margin: auto 0;
  border-radius: var(--radius);
  min-height: 44px; /* WCAG touch target size */
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.4rem 1rem;
}

.popup_save_btn,
.save_btn {
  border: 1px solid #8bdbff;
  background-color: #0074ff;
  color: #8bdbff;
}

.popup_save_btn:hover,
.save_btn:hover {
  border-color: rgba(0, 149, 255, 0.644);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.12);
}

.popup_overwrite_btn {
  border: 1px solid #ff7b7b;
  background-color: #713131;
  color: #ff7b7b;
}

.popup_overwrite_btn:hover {
  border-color: rgba(255, 0, 0, 0.644);
  box-shadow: 0 0 0 3px rgba(212, 45, 45, 0.12);
}

.popup_load_btn {
  border: 1px solid #efff00;
  background: #e0bd405c;
  color: #efff00;
}

.popup_load_btn:hover {
  border-color: rgba(255, 196, 0, 0.644);
  box-shadow: 0 0 0 3px rgba(212, 159, 45, 0.12);
}

.popup_storage_line_left_index {
  color: gray;
}

.popup_storage_line_left_namestatus {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.session_name_card_content {
  padding: 0 20px;
  text-align: left;
}

#session_name_input {
  cursor: text;
  background-color: rgb(33, 37, 41);
  color: white;
  border-radius: 4px;
}

#overwrite_warning {
  border: 1px solid;
  padding: 5px 10px;
  border-radius: var(--radius);
  text-align: center;
  color: red;
  background-color: #82262666;
}

/*================================*/
/*================================*/
/* READY SET GO SCREEN */
/*================================*/
/*================================*/

#readysetgo_overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--main-background-color);
}

#readysetgo_text {
  font-size: 5rem;
  font-weight: 700;
  color: #72ddfd;
  letter-spacing: 0.1em;
}

/*================================*/
/*================================*/
/* MOVE OVERVIEW SCREEN */
/*================================*/
/*================================*/

#movercises_overview_wrapper {
  --mo-panel: var(--panel, rgba(18, 25, 37, 0.94));
  --mo-raised: var(--panel-raised, #192231);
  --mo-hover: var(--panel-hover, #202b3b);
  --mo-border: var(--border, rgba(148, 163, 184, 0.14));
  --mo-border-hover: var(--border-hover, rgba(148, 163, 184, 0.28));
  --mo-text: var(--text, #e5eaf1);
  --mo-secondary: var(--text-secondary, #a0acbc);
  --mo-muted: var(--text-muted, #778498);
  --mo-accent: var(--accent, #6ee7b7);

  width: 100%;
  max-width: var(--content-width, 1100px);
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.move_overview {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mo-border);
  border-radius: 16px;
  background: var(--mo-panel);
  color: var(--mo-text);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  font-family: var(--main-font-family, inherit);
  transition: border-color 160ms ease;
}

.move_overview:hover {
  border-color: var(--mo-border-hover);
}

.move_overview_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--mo-raised);
  color: var(--mo-text);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.move_overview_header > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.move_overview_header > div:first-child {
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 0 6px;
  overflow-wrap: anywhere;
}

.move_overview_header > div:last-child {
  flex: 0 0 auto;
}

.move_overview_index {
  color: var(--mo-muted);
  font-family: "Fira Code", ui-monospace, monospace;
  font-size: 0.78em;
  font-weight: 400;
}

.move_overview_cat {
  padding: 3px 10px;
  border: 1px solid rgba(110, 231, 183, 0.28);
  border-radius: 99px;
  background: rgba(110, 231, 183, 0.08);
  color: var(--mo-accent);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.move_overview_visibility_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--mo-border);
  border-radius: 10px;
  background: var(--mo-panel);
  color: var(--mo-secondary);
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.move_overview_visibility_icon:hover {
  color: var(--mo-accent);
  border-color: var(--mo-border-hover);
  background: var(--mo-hover);
}

.move_overview_content {
  margin: 0;
  padding: 18px;
  border: 0;
  border-top: 1px solid var(--mo-border);
  border-radius: 0;
  background: transparent;
  color: var(--mo-secondary);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.move_overview_content_description {
  flex: 1 1 280px;
  max-width: none;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

.move_overview_content_media {
  flex: 0 0 225px;
  width: 225px;
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: 400px;
  display: flex;
}

.move_overview_content_media > * {
  max-width: 100%;
}

.move_overview_content_nomedia {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px dashed var(--mo-border-hover);
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.06);
  color: var(--mo-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
}

.move_overview_content_nomedia::before,
.move_overview_content_nomedia::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 0;
  border-top: 1px dashed rgba(148, 163, 184, 0.16);
}

.move_overview_content_nomedia::before {
  transform: translate(-50%, -50%) rotate(60deg);
}

.move_overview_content_nomedia::after {
  transform: translate(-50%, -50%) rotate(-60deg);
}

@media (max-width: 800px) {
  .move_overview_content_media {
    flex-basis: 200px;
    width: 200px;
  }
}

@media (max-width: 520px) {
  #movercises_overview_wrapper {
    gap: 10px;
  }

  .move_overview {
    border-radius: 13px;
  }

  .move_overview_header {
    align-items: flex-start;
    padding: 12px 14px;
  }

  .move_overview_header > div:last-child {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 8px;
  }

  .move_overview_content {
    flex-direction: column;
    gap: 16px;
    padding: 14px;
  }

  .move_overview_content_description {
    flex: 0 0 auto;
    width: 100%;
    font-size: 0.9rem;
  }

  .move_overview_content_media {
    flex: 0 0 auto;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    max-height: none;
  }
}
/*================================*/
/*================================*/
/* SAVED SESSIONS SCREEN */
/*================================*/

#saved_session_wrapper {
  margin-top: 2rem;
}

.saved_session {
  --ss-panel: var(--panel, rgba(18, 25, 37, 0.94));
  --ss-raised: var(--panel-raised, #192231);
  --ss-hover: var(--panel-hover, #202b3b);
  --ss-border: var(--border, rgba(148, 163, 184, 0.14));
  --ss-border-hover: var(--border-hover, rgba(148, 163, 184, 0.28));
  --ss-text: var(--text, #e5eaf1);
  --ss-secondary: var(--text-secondary, #a0acbc);
  --ss-muted: var(--text-muted, #778498);
  --ss-accent: var(--accent, #6ee7b7);
  --ss-danger: var(--danger, #f28b8b);
  --ss-danger-bg: var(--danger-bg, rgba(242, 139, 139, 0.1));

  width: 100%;
  max-width: var(--content-width, 1100px);
  margin: 1.5rem auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ss-border);
  border-radius: 16px;
  background: var(--ss-panel);
  color: var(--ss-text);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  font-family: var(--main-font-family, inherit);
  transition: border-color 160ms ease;
}

.saved_session:hover {
  border-color: var(--ss-border-hover);
}

.saved_session_header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--ss-raised);
  color: var(--ss-text);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.saved_session_bin,
.saved_session_visibility_icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ss-border);
  border-radius: 10px;
  background: var(--ss-panel);
  color: var(--ss-secondary);
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.saved_session_bin {
  padding: 0;
}

.saved_session_bin:hover {
  color: var(--ss-danger);
  border-color: rgba(242, 139, 139, 0.4);
  background: var(--ss-danger-bg);
}

.saved_session_visibility_icon:hover {
  color: var(--ss-accent);
  border-color: var(--ss-border-hover);
  background: var(--ss-hover);
}

.saved_session_index {
  flex: 0 0 auto;
  color: var(--ss-muted);
  font-family: "Fira Code", ui-monospace, monospace;
  font-size: 0.78em;
  font-weight: 400;
}

.saved_session_header_right {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.saved_session_header_right > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.saved_session_content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 18px;
  border: 0;
  border-top: 1px solid var(--ss-border);
  border-radius: 0;
  background: transparent;
  color: var(--ss-secondary);
  font-family: "Fira Code", ui-monospace, monospace;
  word-break: break-word;
}

.saved_session_content div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-width: 0;
}

.saved_session_content_json {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ss-border);
}

.saved_session_content_left {
  flex: 0 0 4.5rem;
  width: auto;
  align-self: flex-start;
  padding: 3px 10px;
  border: 1px solid rgba(110, 231, 183, 0.28);
  border-radius: 99px;
  background: rgba(110, 231, 183, 0.08);
  color: var(--ss-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.4;
}

.saved_session_content_right {
  flex: 1 1 260px;
  min-width: 0;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--ss-border);
  border-radius: 12px;
  background: rgba(11, 18, 32, 0.7);
  color: var(--ss-text);
  font-family: "Fira Code", ui-monospace, monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow-x: auto;
}

.saved_session_content_base64string {
  cursor: pointer;
  color: var(--ss-secondary);
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.saved_session_content_base64string:hover {
  color: var(--ss-accent);
  border-color: rgba(110, 231, 183, 0.4);
}

.nosavedsession_window {
  width: 100%;
  max-width: var(--content-width, 1100px);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--border-hover, rgba(148, 163, 184, 0.28));
  border-radius: 16px;
  background: var(--panel, rgba(18, 25, 37, 0.94));
  color: var(--text-secondary, #a0acbc);
  font-family: var(--main-font-family, inherit);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
}

.no-loading-data {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
}

@media (max-width: 520px) {
  .saved_session {
    border-radius: 13px;
  }

  .saved_session_header {
    gap: 8px;
    padding: 10px 12px;
  }

  .saved_session_header_right {
    gap: 8px;
    font-size: 0.9rem;
  }

  .saved_session_content {
    gap: 14px;
    padding: 14px;
  }

  .saved_session_content div {
    flex-direction: column;
    gap: 8px;
  }

  .saved_session_content_left {
    flex: 0 0 auto;
  }

  .saved_session_content_right {
    flex: 0 0 auto;
    width: 100%;
    padding: 10px 12px;
    font-size: 0.74rem;
  }

  .nosavedsession_window {
    padding: 2rem 1rem;
    font-size: 0.95rem;
  }
}
/*================================*/
/*================================*/
/* FOOTER */
/*================================*/
/*================================*/

/* #footer-root {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
} */

#footer-root {
  margin-top: auto;
  width: 100%;
  flex-shrink: 0;
}

.app-footer {
  width: 100%;
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: rgba(10, 12, 16, 0.7);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 20px;

  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.01em;
}

.footer-copy {
  color: var(--text-muted);
}

.footer-separator {
  color: var(--border);
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.footer-link:hover {
  color: var(--text);
}

@media (max-width: 600px) {
  .footer-inner {
    min-height: 52px;
    padding: 0 16px;
    font-size: 11px;
  }
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.footer-social-link svg {
  display: block;
  width: 18px;
  height: 18px;
}

.footer-social-link:hover {
  color: #ffffff;
  border-color: currentColor;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.footer-social-link[aria-label="YouTube"]:hover {
  color: #ff0033;
  background: rgba(255, 0, 51, 0.12);
}

.footer-social-link[aria-label="Instagram"]:hover {
  color: #e4405f;
  background: linear-gradient(
    135deg,
    rgba(131, 58, 180, 0.2),
    rgba(225, 48, 108, 0.2),
    rgba(252, 175, 69, 0.2)
  );
}

.footer-social-link[aria-label="GitHub"]:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.footer-social-link:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .footer-social-link {
    transition: none;
  }

  .footer-social-link:hover {
    transform: none;
  }
}
