:root {
  --bg: #0a0e14;
  --card-bg-light: #4f30a6;
  --card-bg-dark: #112133;
  --border-color-light: #7c81c5;
  --border-color-dark: #1d2c3d;
  --accent: #00c9d9;
  --accent-hover: #0097a7;
  --accent-rgb: 0, 201, 217;
  --accent-hover-rgb: 0, 151, 167;
  --text: #e0eefd;
  --text-muted: #7a8ca3;
  --icon-default: #1562c6;
  --btn-radius: 30px;
  --btn-padding: 10px 20px;
  --card-radius: 32px /*8px*/;
  --card-padding: 14px;
}

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

*:focus, *:focus-visible {
  /*outline-color: -webkit-focus-ring-color;
  outline-style: auto;
  outline-width: 5px;
  outline-offset: -2px;*/
  outline: none;
  box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.8);
}

html, body {
  max-width: 100vw;
  min-height: 100%;
  background-image: linear-gradient(
    45deg,
    hsl(240deg 89% 11%) 0%,
    hsl(230deg 74% 23%) 5%,
    hsl(229deg 72% 30%) 16%,
    hsl(229deg 72% 36%) 27%,
    hsl(227deg 71% 33%) 38%,
    hsl(224deg 70% 30%) 49%,
    hsl(221deg 70% 27%) 59%,
    hsl(224deg 70% 30%) 68%,
    hsl(227deg 71% 33%) 76%,
    hsl(229deg 72% 36%) 83%,
    hsl(229deg 72% 30%) 90%,
    hsl(230deg 74% 23%) 95%,
    hsl(240deg 89% 11%) 100%
  );
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro", "Helvetica Neue", Helvetica, Inter, Geist, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
  -webkit-focus-ring-color: transparent;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

body::-webkit-scrollbar {
  background: transparent;
  width: 16px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: var(--accent);
  border: 3px solid transparent;
  border-radius: 10px;
  background-clip: content-box;
}

body::-webkit-scrollbar-thumb:active {
  /*background: var(--accent-hover);*/
  border: 3px solid transparent;
  border-radius: 10px;
  background-clip: content-box;
  filter: brightness(0.8);
  -webkit-filter: brightness(0.8);
}

body::selection, *::selection {
  background: rgba(var(--accent-rgb), 0.5);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
}

input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
}

select::after {
  content: "";
  width: 20px;
  height: 20px;
  aspect-ratio: 1/1;
  background: cyan;
  position: absolute;
  top: 0;
  right: 0;
}


.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  padding-top: calc(20px + env(safe-area-inset-top));
  min-height: 100vh; /* <- dodane */
  display: flex;
  flex-direction: column;
}

.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.top-header h1 {
  cursor: pointer;
  font-family: 'Bebas Neue', cursive;
  font-size: 3rem;
  color: var(--accent);
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.7);
  user-select: none;
  -webkit-user-select: none;
}
.top-header .header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.top-header .header-actions .btn {
  cursor: pointer;
  font-size: 1rem;
  padding: 10px 22px;
}
.top-header .header-actions .avatar {
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 21px;
  /*background: var(--accent);*/
  /*background: transparent;*/
  /*background: url("/zadania-zawodowe/SVG/domyślnie.svg");
  background-size: cover;*/
  background: var(--accent);
  position: relative;
  transition: all 0.2s ease, border-radius 0s;
}
.top-header .header-actions .avatar:hover {
  transform: scale(1.1);
}
.top-header .header-actions .avatar:active {
  transform: scale(0.9);
}
/*.top-header .header-actions .avatar::before, .top-header .header-actions .avatar::after {
  *z-index: -1;*
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.top-header .header-actions .avatar::before {
  background: red;
}
.top-header .header-actions .avatar::after {
  background: blue;
}*/
.top-header .header-actions .avatar.guest::before {
  /*z-index: -1;*/
  z-index: 10;
  content: "";
  width: 100%;
  height: 100%;
  border-radius: inherit;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--icon-default);
  mask: url("/zadania-zawodowe/SVG/avatar.svg");
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
}

.modal-actions {
  height: 42px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-padding);
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--btn-radius);
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}
.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn:hover {
  /*background: var(--accent-hover);*/
  /*filter: brightness(0.8);
  -webkit-filter: brightness(0.8);*/
  filter: saturate(4) brightness(1.7);
  -webkit-filter: saturate(4) brightness(1.7);
}
.btn.ghost:hover {
  background: rgba(0, 151, 167, 0.2);
  filter: saturate(4) brightness(1.7);
  -webkit-filter: saturate(4) brightness(1.7);
}
.btn:active {
  transform: scale(0.97);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  filter: saturate(4) brightness(1.7);
  -webkit-filter: saturate(4) brightness(1.7);
}

#downloadBtn {
  background: url("/zadania-zawodowe/SVG/Pobierz.svg") var(--accent);
  background-size: auto 55%;
  background-position: center;
  background-repeat: no-repeat;
  width: 62px;
  height: 42px;
}

#openBtn {
  background: url("/zadania-zawodowe/SVG/Nowe Okno.svg") var(--accent);
  background-size: auto 55%;
  background-position: center;
  background-repeat: no-repeat;
  width: 62px;
  height: 42px;
}

.upload-area .drop {
  background: var(--card-bg-light);
  border: 2px dashed var(--accent);
  border-radius: var(--card-radius);
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
}
body.dark-theme .upload-area .drop {
  background: var(--card-bg-dark);
}
.upload-area .controls .btn {
  margin: 8px 4px;
}

.file-list-controls {
  position: static;
  top: 0;
  z-index: 100;
  padding: 26px 28px; /* większe odstępy */
  border-radius: 32px;
  margin-bottom: 20px;
  transition:
    transform 0.25s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

/* Efekt hover dla całego panelu filtrów */
.file-list-controls:hover {
  transform: scale(1.02); /* delikatne powiększenie */
  box-shadow: 0 0 25px rgba(0, 201, 217, 0.35); /* turkusowy glow */
}
.file-list-controls .tools {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 25px 0;
}
/*input,
.file-list-controls input[type="search"],
.file-list-controls select,
.file-list-controls input[type="date"] {*/
input,
select {
  padding: 12px 18px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border-color-light);
  background: var(--card-bg-light) !important;
  color: var(--text);
  font-size: 1rem;
  min-width: 180px;
}
/*body.dark-theme input,
body.dark-theme .file-list-controls input[type="search"],
body.dark-theme .file-list-controls select,
body.dark-theme .file-list-controls input[type="date"] {*/
body.dark-theme input,
body.dark-theme select {
  border: 1px solid var(--border-color-dark);
  background: var(--card-bg-dark) !important;
}
input, .file-list-controls input[type="search"] {
  flex: 1;
}
.file-list-controls label {
  color: var(--text);
}
.file-list-controls input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  cursor: pointer;
  max-width: calc(100vw - 40px);
  background: var(--card-bg-light);
  /*background: transparent;*/
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;

  position: relative;
}
.card:hover {
  /*background: #1a2b3e;*/
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 201, 217, 0.15);
}
.card * {
  z-index: 10;
}
body.dark-theme  .card {
  background: var(--card-bg-dark);
}

/*.card::after {
  z-index: 0;
  content: "";
  background: var(--card-bg-light);
  width: 100%;
  height: 100%;
  border-radius: inherit;
  position: absolute;
  top: 0;
  left: 0;
}
.card.dark-theme::after {
  background: var(--card-bg-dark);
}*/

.card .thumb {
  width: 100%;
  height: 150px;
  background: var(--border-color-light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 48px;
  overflow: hidden;
  position: relative;
}
body.dark-theme  .card .thumb {
  background: var(--border-color-dark);
}
.card .thumb .icon /*.card .thumb img*/ {
  background: var(--icon-default);
  width: 70px;
  height: 70px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.card .thumb .icon.folder {
  mask: url('/zadania-zawodowe/SVG/folder.png');
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
}
.card .thumb .icon.document {
  mask: url('/zadania-zawodowe/SVG/document.png');
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
}
.card .thumb .icon.gif {
  cursor: pointer;
  color: white;
  font-family: monospace;
  font-size: 16px;
  line-height: 16px;
  font-weight: 800;
  letter-spacing: 8%;
  text-shadow: 0 2px 0 black;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.5);
  width: unset;
  height: 24px;
  max-width: unset;
  max-height: 24px;
  padding: 4px 6px;
  border-radius: 6px;
  position: absolute;
  bottom: 10px;
  left: 10px;
  user-select: none;
  -webkit-user-select: none;
}
.card .thumb video {
  width: 100%;
  height: unset;
  transition: 0.5s ease;
}
.card .thumb video:hover {
  width: unset;
  height: 100%;
}
.card .thumb .pin-button {
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: absolute;
  top: 0;
  left: 0;
}
.card .thumb .pin-button[data-pinned="false"] {
  background: white;
  mask: url("/zadania-zawodowe/SVG/pin.svg");
  mask-size: 65%;
  mask-position: center;
  mask-repeat: no-repeat;
}
.card .thumb .pin-button[data-pinned="false"]:hover {
  background: var(--accent);
  mask: url("/zadania-zawodowe/SVG/pin.svg");
  mask-size: 65%;
  mask-position: center;
  mask-repeat: no-repeat;
}
.card .thumb .pin-button[data-pinned="true"] {
  background: var(--accent);
  mask: url("/zadania-zawodowe/SVG/pinned.svg");
  mask-size: 65%;
  mask-position: center;
  mask-repeat: no-repeat;
}
.card .info {
  flex: 1;
  margin: 10px 0;
}
.card .info .display-name {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  word-break: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.card .info .meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.card .info .meta span {
  color: var(--text);
}
.card .actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.card .actions a.btn,
.card .actions button.btn {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  border-radius: var(--btn-radius);
  font-size: 0.95rem;
  text-decoration: none;
}
.card .actions button.preview-btn {
  background: url("/zadania-zawodowe/SVG/Podgląd.svg") var(--accent);
  background-size: 24px 24px;
  background-position: center;
  background-repeat: no-repeat;
}
.card .actions a.download-btn {
  background: url("/zadania-zawodowe/SVG/Pobierz.svg") var(--accent);
  background-size: 24px 24px;
  background-position: center;
  background-repeat: no-repeat;
}
.card .actions button.save-btn, .card .actions button.save-btn[data-saved="false"] {
  background: url("/zadania-zawodowe/SVG/Zapisz.svg") var(--accent);
  background-size: 24px 24px;
  background-position: center;
  background-repeat: no-repeat;
}
.card .actions button.save-btn[data-saved="true"] {
  background: transparent;
  box-shadow: 0 0 0 2px var(--accent) inset;
}
.card .actions button.save-btn[data-saved="true"]::after {
  content: "";
  width: 100%;
  height: 100%;
  background: var(--accent);
  mask: url("/zadania-zawodowe/SVG/Zapisano.svg");
  mask-size: 24px 24px;
  mask-position: center;
  mask-repeat: no-repeat;
}
.card .actions button.delete-btn {
  background: url("/zadania-zawodowe/SVG/Usuń.svg") var(--accent);
  background-size: 24px 24px;
  background-position: center;
  background-repeat: no-repeat;
}
.card .actions button.delete-btn:hover {
  background: url("/zadania-zawodowe/SVG/Usuń.svg") red;
  background-size: 24px 24px;
  background-position: center;
  background-repeat: no-repeat;
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.show {
  display: flex;
  opacity: 1;
  /*animation: modalShowAnimation 0.5s ease forwards;*/
}

/*@keyframes modalShowAnimation {
  0% {
    display: flex;
    transform: scale(0);
    opacity: 1;
  }
  100% {
    display: flex;
    transform: scale(1);
    opacity: 1;
  }
}*/

/*.modal.hidden {
  opacity: 0;
  animation: modalHiddenAnimation 0.5s ease forwards;
}

@keyframes modalHiddenAnimation {
  0% {
    display: flex;
    transform: scale(1);
    opacity: 1;
  }
  99% {
    display: flex;
    transform: scale(0);
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}*/

.modal-content {
  background: rgba(17,33,51,0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--card-radius);
  max-width: 90vw;
  width: 600px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.modal-content .close-button {
  cursor: pointer;
  background: var(--accent);
  mask: url("/zadania-zawodowe/SVG/Zamknij.svg") center/contain no-repeat, linear-gradient(#000 0 0);
  mask-composite: exclude;
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  position: absolute;
  top: 16px;
  right: 16px;
}

.custom-alert,
.custom-confirm {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.custom-alert-box,
.custom-confirm-box {
  background: var(--card-bg-light);
  padding: 20px 30px;
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
body.dark-theme .custom-alert-box,
body.dark-theme .custom-confirm-box {
  background: var(--card-bg-dark);
  padding: 20px 30px;
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.custom-alert-box p,
.custom-confirm-box p {
  margin-bottom: 16px;
  font-size: 1rem;
}
.custom-confirm-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.custom-alert.hidden,
.custom-confirm.hidden {
  display: none !important;
}

.renameInput {
  background: var(--border-color-dark);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
}
.renameInput::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

@media (max-width: 600px) {
  .file-list-controls .tools {
    flex-direction: column;
    gap: 12px;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.pretty-delete {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.pretty-delete:hover {
  /*background: var(--accent-hover);*/
  filter: brightness(0.8);
  -webkit-filter: brightness(0.8);
}
.pretty-delete:active {
  transform: scale(0.95);
}

.custom-alert,
.custom-confirm {
  opacity: 1;
  transition: opacity 1s ease;
}
.custom-alert.fading-out,
.custom-confirm.fading-out {
  opacity: 0;
}
.file-list-controls {
  position: static;
  top: 0;
  z-index: 100;
  padding: 20px;
  border-radius: 32px; /* 🔵 zaokrąglenie */
  background-image: linear-gradient(
    45deg,
    hsl(228deg 96% 43%) 0%,
    hsl(237deg 69% 55%) 8%,
    hsl(240deg 68% 60%) 17%,
    hsl(242deg 69% 64%) 25%,
    hsl(244deg 70% 67%) 33%,
    hsl(246deg 71% 70%) 42%,
    hsl(248deg 73% 72%) 50%,
    hsl(250deg 75% 75%) 58%,
    hsl(253deg 78% 77%) 67%,
    hsl(255deg 81% 79%) 75%,
    hsl(257deg 85% 82%) 83%,
    hsl(259deg 91% 84%) 92%,
    hsl(262deg 97% 86%) 100%
  );
  box-shadow: 0 4px 20px rgba(0,0,0,0.3); /* 💡 opcjonalny cień */
}
body.dark-theme  .file-list-controls {
  background-image: linear-gradient(
    45deg,
    hsl(240deg 89% 11%) 0%,
    hsl(230deg 74% 23%) 5%,
    hsl(229deg 72% 30%) 16%,
    hsl(229deg 72% 36%) 27%,
    hsl(227deg 71% 33%) 38%,
    hsl(224deg 70% 30%) 49%,
    hsl(221deg 70% 27%) 59%,
    hsl(224deg 70% 30%) 68%,
    hsl(227deg 71% 33%) 76%,
    hsl(229deg 72% 36%) 83%,
    hsl(229deg 72% 30%) 90%,
    hsl(230deg 74% 23%) 95%,
    hsl(240deg 89% 11%) 100%
  );
}


.upload-area {
  background-image: linear-gradient(
    45deg,
  hsl(228deg 96% 43%) 0%,
  hsl(237deg 69% 55%) 8%,
  hsl(240deg 68% 60%) 17%,
  hsl(242deg 69% 64%) 25%,
  hsl(244deg 70% 67%) 33%,
  hsl(246deg 71% 70%) 42%,
  hsl(248deg 73% 72%) 50%,
  hsl(250deg 75% 75%) 58%,
  hsl(253deg 78% 77%) 67%,
  hsl(255deg 81% 79%) 75%,
  hsl(257deg 85% 82%) 83%,
  hsl(259deg 91% 84%) 92%,
  hsl(262deg 97% 86%) 100%
  );
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 24px;
}
body.dark-theme  .upload-area {
  background-image: linear-gradient(
    45deg,
    hsl(240deg 89% 11%) 0%,
    hsl(230deg 74% 23%) 5%,
    hsl(229deg 72% 30%) 16%,
    hsl(229deg 72% 36%) 27%,
    hsl(227deg 71% 33%) 38%,
    hsl(224deg 70% 30%) 49%,
    hsl(221deg 70% 27%) 59%,
    hsl(224deg 70% 30%) 68%,
    hsl(227deg 71% 33%) 76%,
    hsl(229deg 72% 36%) 83%,
    hsl(229deg 72% 30%) 90%,
    hsl(230deg 74% 23%) 95%,
    hsl(240deg 89% 11%) 100%
  );
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 24px;
}

.upload-area .drop {
  background: rgba(255, 255, 255, 0.4);
  border: 2px dashed var(--accent);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  backdrop-filter: blur(4px);
  transition: background-color 0.3s ease;
}
body.dark-theme .upload-area .drop {
  background: rgba(0, 0, 0, 0.4);
}
.gif-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  pointer-events: none; /* klik działa wszędzie */
}
.pagination {
    display: flex;
    flex-direction: column;
    align-items: center;   /* ⭐ centruje poziomo */
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.page-controls {
    display: flex;
    gap: 12px;
    justify-content: center;  /* ⭐ strzałki też na środku */
    align-items: center;
}


@media only screen and (max-width: 1245px) {
    .header-actions {
      /*margin-right: 90px;*/
      position: absolute;
      top: 35px;
      right: 95px;
    }
}

@media only screen and (max-width: 666px) {
    .top-header h1 {
      width: 100vw;
      margin-top: 35px /*calc(35px + env(safe-area-inset-top))*/;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .top-header .header-actions {
      z-index: 1000;
      /*background: red;*/
      /*flex-direction: column;
      justify-content: flex-start;*/
      position: fixed;
      top: calc(14px + env(safe-area-inset-top));
      right: 70px;
      /*transform: rotateZ(180deg);*/
    }

    /*.top-header .header-actions * {
      transform: rotateZ(180deg);
    }

    .top-header .header-actions .avatar:hover {
      transform: rotateZ(180deg) scale(1.1);
    }
    .top-header .header-actions .avatar:active {
      transform: rotateZ(180deg) scale(0.9);
    }
    .switch * {
      transform: none;
    }*/

    .toggle {
      top: calc(14px + env(safe-area-inset-top)) !important;
      right: 14px !important;
    }

    #panel {
      top: calc(68px + env(safe-area-inset-top)) !important;
      right: 8px !important;
    }
}