.profile-hero {
  padding: 2rem 0 2.25rem 0;
  overflow-x: clip;
}

.profile-frozen-hero {
  min-height: clamp(420px, 62vh, 760px);
}

.profile-frozen-card {
  width: min(100%, 860px);
  margin-inline: auto;
  padding: 1.25rem 1.25rem 1.35rem;
  display: grid;
  gap: 0.7rem;
  border: 1px solid rgba(249, 115, 22, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(255, 244, 230, 0.98)),
    radial-gradient(circle at 12% 0%, rgba(249, 115, 22, 0.16), transparent 42%);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
}

.profile-frozen-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: rgba(249, 115, 22, 0.18);
  border: 1px solid rgba(249, 115, 22, 0.35);
}

.profile-frozen-card h1 {
  margin: 0;
  font-size: clamp(1.4rem, 1.12rem + 0.8vw, 1.9rem);
  letter-spacing: -0.02em;
}

.profile-frozen-card p {
  margin: 0;
  color: rgba(15, 23, 42, 0.9);
  line-height: 1.6;
  font-weight: 740;
}

.profile-frozen-lead {
  font-size: 1.05rem;
  font-weight: 860;
  color: rgba(194, 65, 12, 0.95);
}

.profile-frozen-actions {
  margin-top: 0.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.profile-hero .container {
  width: min(100% - 2rem, 1480px);
  max-width: 100%;
  min-width: 0;
}

.profile-layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: start;
  min-width: 0;
}

.profile-sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.profile-card {
  padding: 1.35rem;
  min-width: 0;
}

.profile-card-grid {
  display: grid;
  grid-template-columns: minmax(520px, 620px) minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
  min-width: 0;
}

.profile-media-col {
  display: grid;
  gap: 0.75rem;
}

.profile-gallery {
  display: grid;
  gap: 0.75rem;
}

.profile-photo-wrap {
  position: relative;
  display: grid;
  gap: 0;
}

.profile-photo-xl {
  position: relative;
  display: block;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.96), rgba(17, 24, 39, 0.92));
  width: 100%;
  height: clamp(420px, 58vh, 560px);
  cursor: zoom-in;
}

.profile-photo-xl.is-empty {
  cursor: default;
}

.profile-photo-xl[type="button"] {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.96), rgba(17, 24, 39, 0.92));
  text-align: left;
}

.profile-photo-xl::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.00) 55%, rgba(2, 6, 23, 0.22) 100%);
  pointer-events: none;
}

.profile-photo-xl img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: none;
  transition: filter 220ms ease;
  filter: saturate(1.02) contrast(1.02);
}

.profile-photo-xl:hover img {
  filter: saturate(1.06) contrast(1.04);
}

.profile-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.22), transparent 55%), var(--surface-2);
}

.profile-photo-placeholder span {
  font-size: 4.2rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(29, 78, 216, 0.85);
}

.profile-vip-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 204, 128, 0.92);
  border: 1px solid rgba(255, 204, 128, 0.65);
  color: rgba(2, 6, 23, 0.92);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.30);
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(2, 6, 23, 0.38);
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gallery-btn svg {
  width: 20px;
  height: 20px;
}

.gallery-btn:hover {
  background: rgba(2, 6, 23, 0.52);
}

.gallery-btn.prev { left: 0.75rem; }
.gallery-btn.next { right: 0.75rem; }

.gallery-counter {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(2, 6, 23, 0.42);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.profile-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84px;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.profile-thumbs::-webkit-scrollbar {
  height: 8px;
}

.profile-thumbs::-webkit-scrollbar-thumb {
  background: rgba(17, 24, 39, 0.18);
  border-radius: 999px;
}

.album-caption {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(17, 24, 39, 0.72);
  font-size: 0.95rem;
}

.profile-thumb-btn {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: var(--surface-2);
  aspect-ratio: 1 / 1;
  display: block;
  transition: transform 140ms ease, box-shadow 140ms ease;
  cursor: pointer;
}

.profile-thumb-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}

.profile-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(11, 18, 32, 0.9);
  display: block;
}

.profile-thumb-btn.is-main {
  box-shadow: var(--accent-glow);
  border-color: rgba(255, 204, 128, 0.55);
}

.profile-body-col {
  display: grid;
  gap: 0.95rem;
  min-width: 0;
}

.profile-head {
  display: grid;
  gap: 0.25rem;
}

.profile-name {
  margin: 0;
  font-size: clamp(1.55rem, 1.1rem + 1.2vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.profile-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.6rem;
  justify-content: space-between;
}

.profile-head-right {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.profile-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-xs);
  color: rgba(2, 6, 23, 0.92);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  white-space: nowrap;
}

.profile-phone:hover {
  border-color: rgba(37, 99, 235, 0.30);
}

.profile-meta {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.profile-headline {
  margin: 0.25rem 0 0 0;
  padding: 0.62rem 0.82rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(37, 99, 235, 0.24);
  background: rgba(37, 99, 235, 0.10);
  color: rgba(17, 24, 39, 0.95);
  font-size: clamp(1.02rem, 0.92rem + 0.32vw, 1.16rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.profile-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-inline: 0.85rem;
}

.tg-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tg-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.profile-owner-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.profile-owner-actions form {
  margin: 0;
}

.owner-note {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 750;
}

.profile-panels {
  margin-top: 0.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.profile-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-xs);
  padding: 0.75rem 0.85rem;
  display: grid;
  gap: 0.55rem;
}

.profile-panel::before,
.profile-panel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  pointer-events: none;
}

.profile-panel::before {
  left: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.055), transparent);
}

.profile-panel::after {
  right: 0;
  background: linear-gradient(270deg, rgba(2, 6, 23, 0.045), transparent);
}

.profile-panel > * {
  position: relative;
  z-index: 1;
}

.panel-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.kv-list {
  display: grid;
  gap: 0.55rem;
}

.kv {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: baseline;
  gap: 0.6rem;
}

.kv .k {
  color: var(--muted-2);
  font-weight: 800;
  font-size: 0.9rem;
}

.kv .v {
  color: rgba(2, 6, 23, 0.92);
  font-weight: 900;
  font-size: 0.98rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.kv .v a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.24);
}

.kv .v a:hover {
  border-bottom-color: rgba(15, 23, 42, 0.45);
}

.panel-actions {
  display: none;
}

.profile-tags {
  gap: 0.5rem;
}

.profile-section {
  margin-top: 0.25rem;
}

.profile-section h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.profile-about-section {
  margin-top: 0.35rem;
}

.profile-about-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.58rem 0;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.profile-about-title::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.95), rgba(37, 99, 235, 0.9));
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.14);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.section-head h3 {
  margin: 0;
}

.updated-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  background: rgba(37, 99, 235, 0.10);
  color: rgba(17, 24, 39, 0.78);
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
}

.profile-about {
  color: rgba(15, 23, 42, 0.92);
  line-height: 1.72;
  margin: 0;
  white-space: pre-line;
  font-size: 1.06rem;
  font-weight: 720;
  text-wrap: pretty;
}

.profile-about-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(100, 116, 139, 0.28);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(240, 244, 249, 0.98));
  padding: 1.02rem 1.1rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.profile-about-box:hover {
  border-color: rgba(59, 130, 246, 0.42);
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.99), rgba(239, 246, 255, 0.99));
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.14);
}

.profile-about-box::before,
.profile-about-box::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 84px;
  pointer-events: none;
}

.profile-about-box::before {
  left: 0;
  background: linear-gradient(90deg, rgba(71, 85, 105, 0.16), transparent);
}

.profile-about-box::after {
  right: 0;
  background: linear-gradient(270deg, rgba(71, 85, 105, 0.12), transparent);
}

.profile-about-box > * {
  position: relative;
  z-index: 1;
}

.profile-about-empty {
  margin: 0;
  color: rgba(71, 85, 105, 0.95);
  font-weight: 750;
}

.info-card {
  display: grid;
  gap: 0.75rem;
}

.info-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.info-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.75rem;
  font-size: 0.95rem;
}

.info-label {
  color: var(--muted-2);
  font-weight: 700;
}

.info-value {
  color: var(--text);
}

.side-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  transition: opacity 140ms ease;
}

.back-link:hover {
  opacity: 0.75;
}

.side-card-title {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.6rem;
}

.side-card-title h3 {
  margin: 0;
  font-size: 1.05rem;
}

.side-ico {
  width: 22px;
  height: 22px;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.side-ico svg {
  width: 22px;
  height: 22px;
}

.side-links {
  display: grid;
  gap: 0.55rem;
}

.side-link {
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-secondary);
  font-weight: 700;
  line-height: 1.35;
  transition: border-color 140ms ease, transform 140ms ease;
}

.side-link:hover {
  border-color: var(--border-2);
  transform: translateY(-1px);
}

.side-card-warm {
  background: linear-gradient(180deg, rgba(255, 204, 128, 0.08), rgba(255, 204, 128, 0.04));
  border-color: rgba(255, 204, 128, 0.20);
}

.side-card-warm .side-ico {
  color: rgba(255, 204, 128, 0.95);
}

.reactions-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.95rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.reactions-box::before,
.reactions-box::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 84px;
  pointer-events: none;
}

.reactions-box::before {
  left: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.06), transparent);
}

.reactions-box::after {
  right: 0;
  background: linear-gradient(270deg, rgba(2, 6, 23, 0.05), transparent);
}

.reactions-box > * {
  position: relative;
  z-index: 1;
}

.reactions-form {
  margin: 0;
}

.reaction-item {
  appearance: none;
  -webkit-appearance: none;
  min-width: 86px;
  padding: 0.58rem 0.72rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.reaction-item:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.36);
  background: rgba(37, 99, 235, 0.10);
}

.reaction-item.is-active {
  border-color: rgba(16, 185, 129, 0.42);
  background: rgba(16, 185, 129, 0.16);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.20);
}

.reaction-emoji {
  font-size: 1.02rem;
  line-height: 1;
}

.reaction-count {
  font-size: 0.98rem;
  color: rgba(2, 6, 23, 0.92);
}

.reaction-note {
  margin: 0.5rem 0 0 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.owner-modal.hidden {
  display: none;
}

.owner-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.owner-modal-card {
  width: min(560px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(11, 18, 32, 0.95);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.55);
  padding: 1.05rem;
  position: relative;
  display: grid;
  gap: 0.75rem;
}

.owner-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.owner-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.24);
  border: 1px solid rgba(96, 165, 250, 0.42);
  font-size: 1.22rem;
  font-weight: 900;
}

.owner-modal-card h3 {
  margin: 0;
  letter-spacing: -0.02em;
  font-size: 1.28rem;
}

.owner-modal-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.owner-form {
  display: grid;
  gap: 0.7rem;
}

.owner-form .control label {
  color: rgba(255, 255, 255, 0.85);
}

.owner-form .input {
  background: rgba(255, 255, 255, 0.95);
}

.owner-form-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.owner-result-card {
  text-align: center;
  justify-items: center;
}

.owner-result-card .owner-modal-text {
  max-width: 42ch;
}

.owner-result-card.is-success .owner-result-badge {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.42);
}

.owner-result-card.is-error .owner-result-badge {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.45);
}

body.owner-open {
  overflow: hidden;
}

.profile-strips {
  padding: 0 0 2.4rem 0;
  overflow-x: clip;
}

.profile-strips-wrap {
  width: min(100% - 2rem, 1480px);
  margin-inline: auto;
  display: grid;
  gap: 1rem;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.strip-block {
  padding: 0.95rem;
  min-width: 0;
  overflow: hidden;
}

.strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.72rem;
}

.strip-head h2 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.strip-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 290px);
  gap: 0.72rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  width: 100%;
  max-width: 100%;
  padding: 0.15rem 0.1rem 0.55rem;
  scrollbar-gutter: stable both-edges;
}

.strip-scroll::-webkit-scrollbar {
  height: 10px;
}

.strip-scroll::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
}

.strip-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.7), rgba(56, 189, 248, 0.7));
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.strip-card {
  display: grid;
  grid-template-rows: 178px auto;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.98));
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  min-width: 0;
  max-width: 100%;
  scroll-snap-align: start;
}

.strip-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.16);
}

.strip-card.is-vip {
  border-color: rgba(255, 204, 128, 0.55);
  background: linear-gradient(180deg, rgba(10, 12, 18, 0.98), rgba(18, 22, 32, 0.98));
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.44), 0 0 0 1px rgba(255, 204, 128, 0.18) inset;
}

.strip-card.is-vip:hover {
  border-color: rgba(255, 214, 153, 0.72);
  box-shadow: 0 22px 44px rgba(2, 6, 23, 0.52), 0 0 0 1px rgba(255, 214, 153, 0.28) inset;
}

.strip-card.is-vip .strip-photo-wrap {
  background: rgba(0, 0, 0, 0.92);
}

.strip-photo-wrap {
  position: relative;
  background: rgba(15, 23, 42, 0.96);
}

.strip-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.strip-photo-placeholder {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 2.2rem;
  font-weight: 900;
}

.strip-vip-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 204, 128, 0.75);
  background: rgba(255, 204, 128, 0.92);
  color: rgba(15, 23, 42, 0.95);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.38);
}

.strip-body {
  display: grid;
  gap: 0.34rem;
  padding: 0.68rem 0.76rem 0.78rem;
  min-width: 0;
}

.strip-name {
  color: rgba(15, 23, 42, 0.95);
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.strip-meta {
  color: rgba(71, 85, 105, 0.96);
  font-size: 0.88rem;
  font-weight: 750;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.strip-desc {
  margin: 0;
  color: rgba(51, 65, 85, 0.95);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  min-height: 2.9em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.strip-card.is-vip .strip-name {
  color: rgba(255, 255, 255, 0.96);
}

.strip-card.is-vip .strip-meta {
  color: rgba(226, 232, 240, 0.86);
}

.strip-card.is-vip .strip-desc {
  color: rgba(226, 232, 240, 0.92);
}

.strip-empty {
  margin: 0;
  color: rgba(71, 85, 105, 0.95);
  font-size: 0.95rem;
  font-weight: 750;
  padding: 0.25rem 0.1rem 0.15rem;
}

@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .profile-card-grid {
    grid-template-columns: 1fr;
  }
  .profile-photo-xl,
  .profile-photo-placeholder {
    height: clamp(360px, 48vh, 520px);
  }
  .profile-thumbs {
    grid-auto-columns: 74px;
  }
  .profile-panels {
    grid-template-columns: 1fr;
  }
  .kv {
    grid-template-columns: 120px minmax(0, 1fr);
  }
  .section-head {
    flex-wrap: wrap;
  }
  .updated-badge {
    width: 100%;
    justify-content: flex-start;
  }
  .owner-form-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .profile-frozen-card {
    padding: 1rem;
  }
  .profile-frozen-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .strip-scroll {
    grid-auto-columns: minmax(210px, 80vw);
    padding: 0.1rem 0.05rem 0.52rem;
  }
}

/* Lightbox */
.lb-overlay[hidden] {
  display: none;
}

.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(2, 6, 23, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lb-dialog {
  width: min(1100px, 100%);
  height: min(76vh, 820px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 18, 32, 0.92);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
  display: grid;
}

.lb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(2, 6, 23, 0.35);
}

.lb-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lb-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  padding: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.62), transparent);
  pointer-events: none;
}

.lb-counter {
  pointer-events: auto;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.lb-btn {
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lb-btn:hover {
  background: rgba(255, 255, 255, 0.10);
}

.lb-btn svg {
  width: 20px;
  height: 20px;
}

.lb-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 0.85rem;
  pointer-events: none;
}

.lb-nav .lb-btn {
  width: 46px;
  height: 46px;
}

body.lb-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .lb-dialog {
    height: min(80vh, 760px);
    border-radius: 18px;
  }
  .lb-nav {
    padding: 0 0.5rem;
  }
}
