.profile-lines-entry {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  margin-top: 10px;
  padding: 6px 10px;
  border: 1px solid #e8bb7730;
  border-radius: 11px;
  background: linear-gradient(120deg, #30251c, #221c1a);
  color: #f9e8cd;
  font-size: 13px;
}

.profile-lines-icon,
.profile-lines-arrow {
  display: grid;
  place-items: center;
  color: var(--brand-gold-soft);
}

.profile-lines-icon {
  --icon: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid #e8bb773b;
  border-radius: 8px;
  background: #65452652;
}

.profile-lines-arrow {
  --icon: 15px;
}

.lines-page {
  --line-text: #faead5;
  --line-muted: #cebba8;
  --line-gold: #ffda90;
  width: 100%;
  max-width: 440px;
  min-height: 70vh;
  margin: 0 auto;
  padding: 0 1px 18px;
}

.lines-header {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) 39px;
  align-items: center;
  min-height: 45px;
  margin-bottom: 12px;
  color: var(--line-text);
}

.lines-header h1 {
  font-size: 21px;
  text-align: center;
}

.lines-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 106px;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid #f0c58164;
  border-radius: 15px;
  background:
    radial-gradient(ellipse at 98% 2%, #ae76445c, transparent 72%),
    linear-gradient(122deg, #3e2b1c, #251b18);
  box-shadow: inset 0 1px 0 #fff0c013, 0 9px 29px #07050342;
}

.lines-hero::after {
  position: absolute;
  z-index: -1;
  top: -71px;
  right: -41px;
  width: 174px;
  aspect-ratio: 1;
  border: 1px solid #f1c38245;
  border-radius: 50%;
  box-shadow: 0 0 0 11px #f1c38212, 0 0 0 22px #f1c3820e;
  content: '';
  pointer-events: none;
}

.lines-hero-icon {
  --icon: 26px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid #edc5816b;
  border-radius: 13px;
  background: linear-gradient(155deg, #825537, #4d3629);
  color: var(--line-gold);
}

.lines-hero h2 {
  color: var(--line-text);
  font-size: clamp(17px, 4.8vw, 21px);
}

.lines-hero p {
  margin-top: 5px;
  color: var(--line-muted);
  font-size: 13px;
  line-height: 1.4;
}

.lines-selector {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.lines-tools {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  color: var(--line-muted);
  font-size: 12px;
}

.lines-retry {
  flex: none;
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid #e1b47945;
  border-radius: 8px;
  background: #ac76441a;
  color: var(--line-gold);
  font-size: 12px;
  font-weight: 700;
}

.lines-selector fieldset {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.lines-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  min-height: 78px;
  padding: 9px 12px;
  border: 1px solid #e1b47939;
  border-radius: 10px;
  background: #211a18;
  cursor: pointer;
}

.lines-option:has(input:checked) {
  border-color: #fed080cb;
  background: linear-gradient(122deg, #42301e, #30201a);
  box-shadow: inset 0 0 0 1px #f4bf7327;
}

.lines-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.lines-option-content {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.lines-option-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--line-text);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.lines-recommended {
  padding: 2px 6px;
  border-radius: 4px;
  background: #e2b973;
  color: #372007;
  font-size: 10px;
  font-weight: 800;
}

.lines-domain,
.lines-status {
  min-width: 0;
  color: var(--line-muted);
  font-size: 11px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.lines-status.available {
  color: #a6e0b3;
  font-variant-numeric: tabular-nums;
}

.lines-choice {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid #b99a7b;
  border-radius: 50%;
}

.lines-option input:checked ~ .lines-choice {
  border-color: var(--line-gold);
}

.lines-option input:checked ~ .lines-choice::after {
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--line-gold);
  content: '';
}

.lines-option input:focus-visible ~ .lines-choice {
  outline: 2px solid var(--line-gold);
  outline-offset: 3px;
}

.lines-notice {
  padding: 8px 10px;
  border: 1px solid #e1b47939;
  border-radius: 8px;
  background: #6d48252b;
  color: #e7c8a4;
  font-size: 12px;
  line-height: 1.55;
}

.lines-submit {
  min-height: 44px;
  border-radius: 999px;
  background: var(--brand-gold-grad);
  color: var(--brand-gold-ink);
  font-size: 14px;
  font-weight: 800;
}

.lines-current-link {
  justify-self: center;
  padding: 5px 8px;
  color: var(--line-muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
