.screens-body {
  background: #080a0f;
  color: #fff;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
}

.screens-shell {
  min-height: 100dvh;
  background: #050505;
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

.screens-top {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 12px 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.18));
  border-bottom: 0;
  box-sizing: border-box;
  min-height: 58px;
}

.screens-brand {
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.05;
  letter-spacing: 0;
}

.screens-brand span {
  color: #ffcc00;
}

.screens-tagline {
  flex: 1;
  min-width: 0;
  color: #f6d95a;
  font-size: 12px;
  line-height: 1.25;
  max-width: 190px;
}

.screens-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.screens-btn,
.screens-icon-btn,
.screens-submit {
  border: 0;
  border-radius: 8px;
  background: #ffcc00;
  color: #111;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}

.screens-btn {
  padding: 8px 10px;
  font-size: 12px;
  white-space: nowrap;
  max-width: 112px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.screens-btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.screens-feed {
  max-width: 500px;
  margin: 0 auto;
  height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  background: #090909;
  scrollbar-width: none;
}

.screens-feed::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.screen-card {
  position: relative;
  min-height: 100dvh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 10px 104px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.84)),
    #090909;
  overflow: hidden;
}

.screen-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
}

.screen-bg-1::before {
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(255, 204, 0, 0.16) 46% 54%, transparent 54%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 52px);
}

.screen-bg-2::before {
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 204, 0, 0.22), transparent 26%),
    linear-gradient(135deg, rgba(15, 120, 54, 0.34), transparent 42%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 42px);
}

.screen-bg-3::before {
  background:
    radial-gradient(circle at 50% 18%, transparent 0 42px, rgba(255, 204, 0, 0.2) 43px 45px, transparent 46px),
    linear-gradient(150deg, rgba(255, 204, 0, 0.18), transparent 36%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 38px);
}

.screen-bg-4::before {
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(255, 255, 255, 0.12) 49% 51%, transparent 51%),
    radial-gradient(circle at 50% 50%, transparent 0 68px, rgba(255, 204, 0, 0.16) 69px 72px, transparent 73px);
}

.screen-bg-5::before {
  background:
    linear-gradient(35deg, rgba(255, 204, 0, 0.2), transparent 34%),
    linear-gradient(145deg, transparent 58%, rgba(30, 150, 70, 0.25)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 34px);
}

.screen-bg-6::before {
  background:
    radial-gradient(circle at 80% 22%, rgba(255, 204, 0, 0.2), transparent 22%),
    linear-gradient(180deg, rgba(21, 92, 44, 0.3), transparent 46%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 44px);
}

.screen-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64dvh;
  padding-right: 58px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.screen-image {
  max-width: 100%;
  max-height: 72dvh;
  object-fit: contain;
  border-radius: 18px;
  background: #111;
  border: 2px solid rgba(255, 204, 0, 0.5);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.78),
    0 0 0 8px rgba(0, 0, 0, 0.28);
}

.screen-side-actions {
  position: absolute;
  right: 10px;
  bottom: 128px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}

.screen-side-actions button,
.screen-side-actions a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  border: 1px solid rgba(255, 204, 0, 0.25);
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  cursor: pointer;
}

.screen-side-actions .is-liked {
  background: #ffcc00;
  color: #111;
}

.screen-meta {
  position: absolute;
  left: 12px;
  right: 68px;
  bottom: 24px;
  padding: 10px 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.86);
  z-index: 2;
}

.screen-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  color: #ffcc00;
}

.screen-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  background: #222;
}

.screen-caption {
  margin: 7px 0 10px;
  line-height: 1.45;
  color: #f6f6f6;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.screen-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.screen-badge {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f2f2f2;
  font-size: 12px;
  font-weight: 700;
}

.screen-badge.odds {
  background: #ffcc00;
  color: #111;
}

.screens-empty,
.screens-panel {
  max-width: 500px;
  margin: 0 auto;
  min-height: 100dvh;
  padding: 82px 16px 24px;
  border-radius: 8px;
  background: linear-gradient(180deg, #141414, #050505);
  color: #fff;
  box-sizing: border-box;
  max-height: 100dvh;
  overflow-y: auto;
}

.screens-panel h1,
.screens-panel h2 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #ffcc00;
}

.screens-panel-note {
  color: #d8d8d8;
  line-height: 1.5;
  margin: -4px 0 14px;
}

.screens-form {
  display: grid;
  gap: 12px;
}

.screens-form label {
  display: grid;
  gap: 6px;
  color: #d9d9d9;
  font-size: 13px;
  font-weight: 700;
}

.screens-form input,
.screens-form textarea,
.screens-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #090c13;
  color: #fff;
  padding: 10px;
}

.screens-submit {
  padding: 11px 14px;
  font-size: 15px;
}

.screens-alert {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 204, 0, 0.12);
  border: 1px solid rgba(255, 204, 0, 0.28);
  color: #ffeb99;
}

.screens-alert.success {
  background: rgba(0, 180, 95, 0.14);
  border-color: rgba(0, 180, 95, 0.3);
  color: #bdf3d5;
}

.screen-report-link {
  display: inline-flex;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  padding: 0;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

.screen-comments,
.screen-report,
.screen-share-menu {
  margin-top: 12px;
  display: none;
  padding: 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.68);
  border: 1px solid rgba(255, 204, 0, 0.16);
  max-height: 38dvh;
  overflow-y: auto;
}

.screen-comments.is-open,
.screen-report.is-open,
.screen-share-menu.is-open {
  display: block;
}

.screen-share-menu {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.screen-share-menu.is-open {
  display: grid;
}

.screen-share-menu a {
  display: block;
  padding: 9px 7px;
  border-radius: 8px;
  background: rgba(255, 204, 0, 0.92);
  color: #111;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.screen-comment-list {
  max-height: 132px;
  overflow-y: auto;
  margin-bottom: 8px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
}

.screen-comment {
  margin-bottom: 8px;
  font-size: 13px;
}

.screen-comment strong {
  color: #ffcc00;
}

.screen-comment-form {
  display: flex;
  gap: 6px;
  align-items: stretch;
}

.screen-comment-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #080a0f;
  color: #fff;
  padding: 9px;
}

.screen-comment-form select {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #080a0f;
  color: #fff;
  padding: 9px;
}

.screen-comment-form button {
  border: 0;
  border-radius: 8px;
  background: #ffcc00;
  color: #111;
  font-weight: 800;
  padding: 0 12px;
}

.screens-profile-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.screens-profile-head img {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.screens-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}

.screens-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.screens-admin-table th,
.screens-admin-table td {
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  vertical-align: top;
}

.screens-admin-table img {
  width: 72px;
  border-radius: 6px;
}

.screens-disclaimer {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
}

.screens-toast {
  position: fixed;
  left: 50%;
  top: 64px;
  transform: translateX(-50%);
  z-index: 50;
  max-width: 460px;
  width: calc(100% - 28px);
  padding: 10px 12px;
  border-radius: 8px;
  background: #ffcc00;
  color: #111;
  box-sizing: border-box;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

@media (min-width: 760px) {
  .screens-shell {
    padding-bottom: 24px;
  }

  .screens-feed {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 430px) and (orientation: portrait) {
  .screens-top {
    align-items: flex-start;
    gap: 8px;
    padding: 9px 9px 7px;
    min-height: 54px;
  }

  .screens-brand {
    font-size: 18px;
  }

  .screens-tagline {
    display: none;
  }

  .screens-actions {
    margin-left: auto;
    gap: 6px;
  }

  .screens-btn {
    padding: 7px 8px;
    font-size: 11px;
    max-width: 96px;
  }

  .screen-card {
    padding: 54px 8px 92px;
  }

  .screen-image-wrap {
    min-height: 67dvh;
    padding-right: 50px;
  }

  .screen-image {
    max-height: 70dvh;
    border-radius: 15px;
    box-shadow:
      0 14px 36px rgba(0, 0, 0, 0.76),
      0 0 0 5px rgba(0, 0, 0, 0.3);
  }

  .screen-side-actions {
    right: 7px;
    bottom: 120px;
    gap: 8px;
  }

  .screen-side-actions button,
  .screen-side-actions a {
    width: 42px;
    min-height: 42px;
    font-size: 9px;
  }

  .screen-meta {
    left: 10px;
    right: 58px;
    bottom: 22px;
  }

  .screen-user {
    font-size: 13px;
  }

  .screen-avatar {
    width: 28px;
    height: 28px;
  }

  .screen-caption {
    margin: 6px 0 8px;
    font-size: 13px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  .screen-badges {
    gap: 5px;
  }

  .screen-badge {
    padding: 4px 6px;
    font-size: 10px;
  }

  .screen-comments {
    max-height: 34dvh;
    padding: 7px;
  }

  .screen-report,
  .screen-share-menu {
    max-height: 34dvh;
    padding: 7px;
  }

  .screen-share-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-comment-list {
    max-height: 112px;
    font-size: 12px;
  }

  .screen-comment-form {
    gap: 5px;
  }

  .screen-comment-form input,
  .screen-comment-form select {
    padding: 8px;
    font-size: 12px;
  }

  .screen-comment-form button {
    padding: 0 9px;
    font-size: 12px;
  }

  .screens-disclaimer {
    padding: 4px 9px;
    font-size: 9px;
  }
}

@media (max-width: 360px) and (orientation: portrait) {
  .screen-image-wrap {
    padding-right: 46px;
  }

  .screen-side-actions button,
  .screen-side-actions a {
    width: 39px;
    min-height: 39px;
  }

  .screen-meta {
    right: 54px;
  }

  .screens-btn.secondary {
    display: none;
  }
}

@media (max-height: 680px) and (orientation: portrait) {
  .screen-card {
    padding-top: 48px;
    padding-bottom: 78px;
  }

  .screen-image-wrap {
    min-height: 62dvh;
  }

  .screen-image {
    max-height: 64dvh;
  }

  .screen-side-actions {
    bottom: 104px;
  }

  .screen-meta {
    bottom: 16px;
  }

  .screen-caption {
    -webkit-line-clamp: 2;
  }
}
