:root {
  --sliv-font: system-ui, -apple-system, "Segoe UI", sans-serif;
  --sliv-bg: #050505;
  --sliv-card: #121214;
  --sliv-text: #ffffff;
  --sliv-muted: rgba(255, 255, 255, 0.48);
  --sliv-soft: rgba(255, 255, 255, 0.78);
  --sliv-line: rgba(255, 255, 255, 0.1);
  --sliv-pink: #fe2c55;
  --sliv-cyan: #25f4ee;
  --sliv-field: #0a0a0c;
}

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

html.land-sliv,
html.land-sliv body {
  margin: 0;
  min-height: 100%;
}

html.land-sliv body {
  font-family: var(--sliv-font);
  color: var(--sliv-text);
  background: var(--sliv-bg);
  -webkit-font-smoothing: antialiased;
}

html.land-sliv .view { display: none; }
html.land-sliv .view.active { display: block; }

.sliv-app {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--sliv-bg);
}

.sliv-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.sliv-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.34;
}

.sliv-glow--cyan {
  top: -80px;
  left: -70px;
  background: var(--sliv-cyan);
}

.sliv-glow--pink {
  right: -90px;
  bottom: 8%;
  background: var(--sliv-pink);
}

.sliv-feed {
  position: absolute;
  inset: -8% 8%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  opacity: 0.22;
  transform: rotate(-8deg) scale(1.12);
}

.sliv-clip {
  position: relative;
  min-height: 28vh;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sliv-clip span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.sliv-clip--a { background: linear-gradient(160deg, #2b0a16, #111); }
.sliv-clip--b { background: linear-gradient(160deg, #062826, #111); margin-top: 18%; }
.sliv-clip--c { background: linear-gradient(160deg, #1a1228, #111); }
.sliv-clip--d { background: linear-gradient(160deg, #24100a, #111); margin-top: 10%; }
.sliv-clip--e { background: linear-gradient(160deg, #0d1c28, #111); }
.sliv-clip--f { background: linear-gradient(160deg, #1d0a18, #111); margin-top: 22%; }

.sliv-clip::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55)),
    repeating-linear-gradient(180deg, transparent 0 7px, rgba(255, 255, 255, 0.03) 7px 8px);
}

.sliv-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 8px;
}

.sliv-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sliv-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, var(--sliv-cyan) 0 42%, transparent 42% 58%, var(--sliv-pink) 58%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.sliv-brand-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.sliv-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(254, 44, 85, 0.12);
  border: 1px solid rgba(254, 44, 85, 0.28);
  color: #ffd0da;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sliv-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sliv-pink);
  box-shadow: 0 0 0 0 rgba(254, 44, 85, 0.7);
  animation: sliv-pulse 1.6s ease-out infinite;
}

.sliv-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px 24px;
}

.sliv-card {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: min(400px, 100%);
  padding: 28px 22px 22px;
  border-radius: 24px;
  background:
    linear-gradient(var(--sliv-card), var(--sliv-card)) padding-box,
    linear-gradient(135deg, rgba(37, 244, 238, 0.7), rgba(254, 44, 85, 0.75)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.sliv-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.sliv-logo {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 6px;
  border-radius: 22px;
  background: #0a0a0c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.sliv-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 4px 0 2px;
}

.sliv-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(37, 244, 238, 0.12);
  color: #b8fffb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.sliv-chip--mute {
  background: rgba(255, 255, 255, 0.06);
  color: var(--sliv-muted);
}

.sliv-chip--live {
  background: rgba(254, 44, 85, 0.14);
  color: #ffc1cd;
}

.sliv-title {
  margin: 4px 0 0;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.sliv-handle {
  margin: 0;
  color: var(--sliv-muted);
  font-size: 13px;
}

.sliv-desc {
  margin: 4px 0 0;
  color: var(--sliv-soft);
  font-size: 14px;
  line-height: 1.45;
  max-width: 320px;
}

.pnt-desc--left {
  text-align: left;
  max-width: none;
  margin: 0 0 16px;
}

.sliv-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0 0;
}

.sliv-tile__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 0;
}
.sliv-tile--2 .sliv-tile__photo { object-position: center 12%; }
.sliv-tile--3 .sliv-tile__photo { object-position: center 42%; }
.sliv-tile {
  min-height: 118px;
  padding: 10px 8px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.sliv-tile b,
.sliv-tile em {
  position: relative;
  z-index: 1;
}

.sliv-tile b {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.sliv-tile em {
  font-style: normal;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.sliv-tile--1,
.sliv-tile--2,
.sliv-tile--3 { background: #111; }
.sliv-tile--1::after,
.sliv-tile--2::after,
.sliv-tile--3::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  z-index: 0;
  pointer-events: none;
}

.sliv-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 0;
  text-align: center;
}

.sliv-stats strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sliv-stats span {
  display: block;
  margin-top: 2px;
  color: var(--sliv-muted);
  font-size: 10px;
  line-height: 1.25;
}

.pnt-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 22px;
}

.pnt-btn,
a.pnt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(90deg, #25f4ee 0%, #fe2c55 100%);
  color: #fff;
  font: 800 16px/1.2 var(--sliv-font);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.pnt-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.pnt-spin {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sliv-spin 0.7s linear infinite;
}

.pnt-btn.loading,
.pnt-btn.is-loading {
  opacity: 1;
  cursor: wait;
  pointer-events: none;
}

.pnt-btn.loading:disabled,
.pnt-btn.is-loading:disabled { opacity: 1; }

.pnt-btn.loading .pnt-btn-text,
.pnt-btn.is-loading .pnt-btn-text { opacity: 0; }

.pnt-btn.loading .pnt-spin,
.pnt-btn.is-loading .pnt-spin {
  display: block;
  position: absolute;
}

.pnt-btn--static { cursor: default; }

.pnt-busy {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pnt-busy:not([hidden]) { display: flex; }

.pnt-busy__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  width: min(280px, 100%);
}

.pnt-busy__spin {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--sliv-cyan);
  border-right-color: var(--sliv-pink);
  border-radius: 50%;
  animation: sliv-spin 0.75s linear infinite;
}

.pnt-busy__title {
  margin: 8px 0 0;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.pnt-busy__sub {
  margin: 0;
  color: var(--sliv-soft);
  font-size: 14px;
  line-height: 1.4;
  min-height: 2.8em;
}

.pnt-busy__bar {
  width: 100%;
  height: 4px;
  margin-top: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.pnt-busy__bar i {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sliv-cyan), var(--sliv-pink));
  animation: sliv-bar 1.15s ease-in-out infinite;
}

@keyframes sliv-spin { to { transform: rotate(360deg); } }
@keyframes sliv-bar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
@keyframes sliv-pulse {
  0% { box-shadow: 0 0 0 0 rgba(254, 44, 85, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(254, 44, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(254, 44, 85, 0); }
}

.pnt-note {
  margin: 10px 0 0;
  text-align: center;
  color: var(--sliv-muted);
  font-size: 12px;
  line-height: 1.35;
}

.pnt-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.pnt-back {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--sliv-cyan);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.pnt-step-title {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
}

.pnt-label {
  display: block;
  margin: 0 0 8px;
  color: var(--sliv-muted);
  font-size: 13px;
}

.pnt-phone-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 12px;
}

.country-wrap { position: relative; flex-shrink: 0; }

.pnt-country-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 0 12px;
  border-radius: 16px;
  border: 1px solid var(--sliv-line);
  background: var(--sliv-field);
  color: var(--sliv-text);
  font: 700 15px/1 var(--sliv-font);
  cursor: pointer;
}

.country-wrap.open .pnt-country-btn,
.pnt-country-btn:focus {
  border-color: var(--sliv-cyan);
}

.country-drop {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 8;
  min-width: 240px;
  max-height: 260px;
  overflow: auto;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--sliv-line);
  background: #101012;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.country-wrap.open .country-drop,
.country-drop.open { display: block; }

.country-opt {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font: 500 14px/1.2 var(--sliv-font);
  cursor: pointer;
  text-align: left;
}

.country-opt:hover,
.country-opt.active { background: rgba(37, 244, 238, 0.12); }

.country-opt .c-cd {
  margin-left: auto;
  color: var(--sliv-muted);
}

.pnt-input,
.phone-input,
.password-input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--sliv-line);
  background: var(--sliv-field);
  color: var(--sliv-text);
  font: 700 16px/1.2 var(--sliv-font);
  outline: none;
}

.pnt-phone-row .pnt-input { margin: 0; }

.pnt-input:focus,
.phone-input:focus,
.password-input:focus {
  border-color: var(--sliv-pink);
}

.pnt-error,
.error-msg {
  min-height: 0;
  margin: 0 0 12px;
  color: #ff6b81;
  font-size: 13px;
  text-align: center;
  font-weight: 600;
}

.pnt-error:empty,
.error-msg:empty { display: none; }

.otp-grid {
  display: grid;
  gap: 8px;
  justify-content: center;
  margin: 4px 0 16px;
}

.otp-grid input,
.otp-input {
  width: 44px;
  height: 52px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid var(--sliv-line);
  background: var(--sliv-field);
  color: var(--sliv-text);
  font: 700 20px/1 var(--sliv-font);
  outline: none;
}

.otp-grid input:focus,
.otp-input:focus { border-color: var(--sliv-cyan); }

.pnt-time {
  margin: 0 0 8px;
  color: var(--sliv-muted);
  font-size: 13px;
  text-align: center;
}

.pnt-link,
#btn-resend {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 0;
  background: none;
  color: var(--sliv-cyan);
  font: 600 14px/1.3 var(--sliv-font);
  cursor: pointer;
  text-align: center;
}

html.land-sliv .sliv-app.is-busy .sliv-card {
  min-height: 360px;
}

@media (max-width: 420px) {
  .sliv-card { padding: 24px 16px 18px; }
  .sliv-title { font-size: 24px; }
  .otp-grid input,
  .otp-input { width: 40px; height: 48px; }
  .sliv-tiles { gap: 6px; }
}
