.softrora-entry, .dashboard-dialog {
  --font-ui: Helvetica, Arial, sans-serif;
  --text: #eee;
  --text-muted: #bbb;
  --accent: #fff;
  --line: #444;
  --panel: #171717;
  --panel-radius: 4px;
  --gold-line: var(--line);
  color-scheme: dark;
  font-family: var(--font-ui);
}
.softrora-entry {
  position: fixed;
  z-index: 35;
  inset: max(5px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) auto auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.softrora-entry a {
  color: #fff;
  background: #171717;
  display: grid;
  place-items: center;
  min-height: 44px;
  padding-inline: 11px;
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid #ffffff44;
  transition: background .2s;
}
.softrora-entry a:hover { background: #373737; }
.softrora-entry [hidden], .softrora-entry .mobile-login { display: none !important; }
.softrora-entry .profile { display: flex; }
.softrora-entry .profile-menu, .softrora-entry .profile-menu button { border-radius: 4px; }
.softrora-entry .profile-menu button { min-height: 44px; font-size: 14px; }
.softrora-entry :focus-visible, .dashboard-dialog :focus-visible {
  outline: 2px solid #eee;
  outline-offset: 2px;
}
.dashboard-dialog {
  box-sizing: border-box;
  line-height: 1.45;
  font-size: 16px;
  max-width: calc(100vw - max(24px, env(safe-area-inset-left) + env(safe-area-inset-right)));
  max-height: min(86dvh, 860px, calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
}
.dashboard-dialog *, .softrora-entry * { box-sizing: border-box; }
.dashboard-dialog #dashboard-content h3 { font-size: 18px; }
.dashboard-dialog .dashboard-form label, .dashboard-dialog .dashboard-form button,
.dashboard-dialog .dashboard-text-button, .dashboard-dialog .dashboard-status,
.dashboard-dialog .admin-pending-list, .dashboard-dialog .admin-state-badge,
.dashboard-dialog .admin-refresh { font-size: 14px; }
.dashboard-dialog form input, .dashboard-dialog form select { font-size: 16px; }
.dashboard-dialog .dashboard-form input, .dashboard-dialog .dashboard-form select,
.dashboard-dialog .dashboard-form button, .dashboard-dialog .admin-pending-section,
.dashboard-dialog .admin-pending-row, .dashboard-dialog .helper-item,
.dashboard-dialog .dashboard-notice { border-radius: 4px; }
.dashboard-dialog .dashboard-form input, .dashboard-dialog .dashboard-form select { min-width: 0; }
.dashboard-dialog .helper-item summary { min-height: 44px; }
.dashboard-dialog #dashboard-content { padding-bottom: max(24px, env(safe-area-inset-bottom)); overflow-wrap: anywhere; }
#header .header-container { padding-inline-end: max(156px, env(safe-area-inset-right)); }
#header a:first-child .logo-icon { visibility: hidden; }
#header a:first-child::after {
  content: "";
  width: 17px;
  height: 17px;
  position: absolute;
  left: 1rem;
  bottom: .55rem;
  background: currentColor;
  -webkit-mask: url('/assets/studio-small-mark.svg') center / contain no-repeat;
  mask: url('/assets/studio-small-mark.svg') center / contain no-repeat;
}
.works-list__thumb .inner-img { object-fit: contain !important; }
#contact .contact-footer .developed {
  justify-self: end;
  margin-inline-start: 0;
  text-align: end;
}
@media (max-width: 1023px) {
  body { --mobile-header-height: 56px; --mobile-menu-width: 72px; }
  #header { padding-top: env(safe-area-inset-top); }
  #header .header-container {
    min-height: var(--mobile-header-height);
    padding-inline-end: env(safe-area-inset-right);
  }
  #header .header-container > a:first-child {
    align-items: center;
    min-height: var(--mobile-header-height);
    padding-block: 0;
    padding-inline-start: calc(16px + env(safe-area-inset-left));
  }
  #header a:first-child::after {
    left: calc(16px + env(safe-area-inset-left));
    bottom: calc((var(--mobile-header-height) - 17px) / 2);
  }
  #header .menu-button {
    justify-self: end;
    width: var(--mobile-menu-width);
    min-height: var(--mobile-header-height);
    padding: 0 12px;
    font-size: 15px;
    text-align: center;
  }
  .softrora-entry {
    inset-block-start: calc(env(safe-area-inset-top) + (var(--mobile-header-height) - 44px) / 2);
    inset-inline-end: calc(var(--mobile-menu-width) + env(safe-area-inset-right) + 4px);
  }
  .cookies[data-v-fd5224ce] {
    inset-inline: auto max(12px, env(safe-area-inset-right));
    inset-block-end: max(12px, env(safe-area-inset-bottom));
    width: min(400px, calc(100% - 24px));
    gap: 10px;
    padding: 12px 15px;
  }
  .cookies .cookies-text { white-space: normal; }
  .cookies .cookies-actions button { min-height: 44px; }
  #contact .contact-footer .to-top-button-wrap,
  #contact .contact-footer .developed {
    grid-row: 2;
    align-self: center;
  }
  #contact .contact-footer .developed {
    display: flex;
  }
  #contact .contact-footer .to-top-button__text,
  #contact .contact-footer .developed span {
    padding-block-end: .125rem;
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
  }
}
@media (max-width: 520px) {
  .softrora-entry { gap: 4px; }
  .softrora-entry a { padding-inline: 8px; font-size: 12px; }
  .softrora-entry .profile-menu { width: min(214px, calc(100vw - 24px)); }
}
@media (max-width: 1023px) and (orientation: landscape) {
  html, body { height: auto; }
  html { overflow: visible; }
  html::before, body::before { content: none; }
  body #__nuxt { opacity: 1; }
}

.lightweight-scene {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(22px, 5vw, 64px);
  padding: clamp(32px, 7vw, 88px) max(16px, var(--padding));
  color: #eee;
  background: #151515;
  border-block-start: 1px solid #383838;
}
.lightweight-scene__figure { margin: 0; overflow: hidden; }
.lightweight-scene__figure img { display: block; width: 100%; height: auto; }
.lightweight-scene__caption, .lightweight-scene__label {
  color: #bcbcbc;
  font-size: 13px;
}
.lightweight-scene__caption { padding-block-start: 8px; }
.lightweight-scene__label { margin-block-end: 12px; }
.lightweight-scene__entry { padding-block: 14px; border-block-start: 1px solid #383838; }
.lightweight-scene__entry h2 { font-size: clamp(22px, 4vw, 36px); line-height: 1.04; }
.lightweight-scene__entry p { margin-block-start: 8px; max-width: 52ch; font-size: 16px; line-height: 1.4; }
@media (max-width: 600px) {
  .lightweight-scene { grid-template-columns: minmax(0, 1fr); }
  .lightweight-scene__entry h2 br { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .lightweight-scene__figure.is-revealed img {
    animation: scene-image-enter 700ms cubic-bezier(.2,.65,.3,1) both;
  }
  .lightweight-scene__entry.is-revealed {
    animation: scene-text-enter 360ms ease-out both;
  }
  @keyframes scene-image-enter {
    from { transform: scale(1.045); opacity: .82; }
    to { transform: scale(1); opacity: 1; }
  }
  @keyframes scene-text-enter {
    from { transform: translateY(8px); opacity: .66; }
    to { transform: translateY(0); opacity: 1; }
  }
}
