.tp-shell {
  --tp-bg: #10121c;
  --tp-card: #191c2b;
  --tp-accent: #ff426a;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse at 95% 0%, #72234338, transparent 48%), var(--tp-bg);
  color: #f6f5fb;
  border: 1px solid #ffffff16;
  border-radius: 24px;
  padding: clamp(22px, 4vw, 52px);
  margin: 28px auto;
  max-width: 1280px;
  font:
    15px/1.6 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  box-shadow: 0 24px 80px #0002;
}
.tp-shell * {
  box-sizing: border-box;
}
.tp-shell h2 {
  color: #fff !important;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.3px;
  margin: 12px 0 28px;
}
.tp-shell h3 {
  color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 20px;
}
.tp-shell a {
  color: #ff8ea7;
  text-decoration: none;
}
.tp-eyebrow {
  color: #ff8ea7;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
}
.tp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.tp-form {
  display: grid;
  gap: 22px;
  margin: 24px 0;
}
.tp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #cbd0e1;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.7px;
}
.tp-shell input:not([type="checkbox"]):not([type="radio"]),
.tp-shell select,
.tp-shell textarea {
  width: 100%;
  color: #fff;
  background: #10121c;
  border: 1px solid #ffffff25;
  border-radius: 10px;
  padding: 12px 14px;
  font: 14px/1.4 system-ui;
  min-height: 46px;
  letter-spacing: normal;
}
.tp-shell select option {
  color: #fff;
  background: #151824;
}
.tp-shell input[type="checkbox"] {
  accent-color: var(--tp-accent);
}
.tp-shell textarea {
  min-height: 120px;
}
.tp-shell input:focus,
.tp-shell select:focus,
.tp-shell textarea:focus,
.tp-shell a:focus-visible,
.tp-shell button:focus-visible {
  outline: 2px solid #ff8ea7;
  outline-offset: 3px;
}
.tp-shell button,
.tp-button {
  background: linear-gradient(115deg, #ff426a, #d52f56);
  border: 0;
  border-radius: 10px;
  padding: 14px 22px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.9px;
  cursor: pointer;
  width: fit-content;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.tp-shell button:hover,
.tp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px #ff426a30;
}
.tp-shell [hidden] {
  display: none !important;
}
.tp-honey {
  position: absolute;
  left: -9999px;
}
.tp-auth {
  max-width: 560px;
}
.tp-notice {
  border: 1px solid #ff8ea744;
  background: #ff426a12;
  border-radius: 12px;
  padding: 18px;
}
.tp-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.tp-panel-head h2 {
  margin-bottom: 16px;
}
.tp-panel-head select {
  max-width: 230px;
}
.tp-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0;
}
.tp-metric {
  border: 1px solid #ffffff12;
  border-radius: 16px;
  background: linear-gradient(130deg, #232638, #191c2b);
  padding: 24px;
  animation: tp-enter 0.55s both;
}
.tp-metric:nth-child(2) {
  animation-delay: 0.06s;
}
.tp-metric:nth-child(3) {
  animation-delay: 0.12s;
}
.tp-metric span {
  display: block;
  font-size: 10px;
  color: #a7adc2;
  font-weight: 700;
  letter-spacing: 1px;
}
.tp-metric strong {
  font-size: 38px;
  line-height: 1.6;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.tp-score {
  border-color: #ff426a55;
}
.tp-score strong {
  color: #ff8ea7;
}
.tp-score small {
  font-size: 15px;
  color: #a7adc2;
}
.tp-chart-box {
  border: 1px solid #ffffff12;
  border-radius: 16px;
  background: #191c2b;
  padding: 24px;
  margin: 20px 0;
  overflow: auto;
}
.tp-chart {
  display: block;
  width: 100%;
  height: 240px;
}
.tp-bar {
  display: grid;
  grid-template-columns: 96px 1fr 30px;
  gap: 10px;
  align-items: center;
  margin: 14px 0;
  font-size: 10px;
}
.tp-bar progress {
  width: 100%;
  height: 8px;
  accent-color: #ff426a;
}
.tp-table {
  width: 100%;
  border-collapse: collapse;
  color: #cbd0e1;
  font-size: 12px;
  text-align: left;
}
.tp-table th,
.tp-table td {
  padding: 14px 8px;
  border-bottom: 1px solid #ffffff15;
}
.tp-table th {
  color: #a7adc2;
  font-size: 10px;
}
.tp-table img {
  width: 56px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
}
.tp-muted {
  color: #8991aa;
  font-size: 11px;
}
.tp-review {
  border: 1px solid #ffffff14;
  border-radius: 12px;
  padding: 20px;
  margin: 12px 0;
}
.tp-review b {
  color: #ff8ea7;
  margin-right: 16px;
}
.tp-review span {
  font-size: 11px;
  color: #8991aa;
}
.tp-shell summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.7px;
}
.tp-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.tp-card {
  background: #191c2b;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #ffffff17;
  transition: transform 0.25s;
}
.tp-card:hover {
  transform: translateY(-5px);
}
.tp-card img,
.tp-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.tp-placeholder {
  display: grid;
  place-items: center;
  font-size: 100px;
  color: #ff426a;
  background: linear-gradient(40deg, #292035, #151824);
}
.tp-card-body {
  padding: 22px;
}
.tp-card-body h3 {
  font-size: 23px;
  margin: 8px 0;
}
.tp-card-body p {
  font-size: 11px;
  color: #a7adc2;
}
.tp-filter {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-bottom: 30px;
}
.tp-filter label {
  flex: 1;
}
.tp-pages,
.tp-contacts,
.tp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}
.tp-chips a {
  border: 1px solid #ff426a44;
  background: #ff426a0c;
  border-radius: 24px;
  padding: 8px 14px;
  font-size: 12px;
}
.tp-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}
.tp-gallery img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.tp-shell button.tp-photo {
  position: relative;
  background: none;
  padding: 0;
  width: 100%;
  overflow: hidden;
}
.tp-photo span {
  position: absolute;
  bottom: 16px;
  left: 0;
  width: 100%;
  font-size: 9px;
  text-shadow: 0 2px 8px #000;
}
.tp-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 20px 0;
}
.tp-facts dt {
  font-size: 10px;
  color: #8991aa;
  font-weight: 700;
}
.tp-facts dd {
  margin: 4px 0;
  color: #fff;
  font-size: 13px;
}
.tp-lightbox {
  border: 1px solid #ffffff33;
  border-radius: 18px;
  background: #0b0c12;
  color: #fff;
  max-width: 95vw;
  max-height: 95vh;
  padding: 20px;
}
.tp-lightbox::backdrop {
  background: #000d;
  backdrop-filter: blur(8px);
}
.tp-lightbox img {
  display: block;
  max-width: 85vw;
  max-height: 78vh;
  object-fit: contain;
}
.tp-lightbox button {
  display: block;
  margin: 0 0 16px auto;
  background: #ff426a;
  border: 0;
  border-radius: 7px;
  padding: 10px 16px;
  color: #fff;
  cursor: pointer;
}
@keyframes tp-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 700px) {
  .tp-cards,
  .tp-metrics,
  .tp-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tp-grid {
    grid-template-columns: 1fr;
  }
  .tp-metric {
    padding: 16px;
  }
  .tp-metric strong {
    font-size: 30px;
  }
  .tp-shell {
    border-radius: 16px;
  }
  .tp-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tp-chart-box {
    padding: 16px;
  }
  .tp-filter {
    align-items: stretch;
    flex-direction: column;
  }
}
@media (max-width: 380px) {
  .tp-cards {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tp-shell * {
    animation: none !important;
    transition: none !important;
  }
}
