.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.build-header {
  min-height: 86px;
  margin-bottom: 12px;
  padding: 0 12px 0 0;
}

.build-kicker {
  color: white;
  font-size: 15px;
  text-transform: none;
}

.build-kicker span {
  margin-right: 10px;
  color: var(--orange);
  text-shadow: 0 0 18px rgba(255, 176, 0, 0.62);
}

.build-header h1 {
  font-size: 35px;
}

.build-header p:not(.screen-kicker) {
  margin: 0;
  color: #eef3ff;
  font-size: 16px;
}

.build-status {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 122px;
  min-height: 44px;
  margin-top: 24px;
  padding: 0 14px;
  color: white;
  border: 1px solid rgba(125, 148, 196, 0.26);
  border-radius: 10px;
  background: rgba(5, 12, 25, 0.86);
  font-size: 14px;
  font-weight: 850;
}

.build-status span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(201, 255, 0, 0.68);
}

.build-status b {
  margin-left: auto;
  color: #d7e0f1;
}

.build-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 562px);
  gap: 26px;
  align-items: start;
}

.build-main {
  display: grid;
  gap: 12px;
}

.build-panel {
  border: 1px solid rgba(116, 142, 199, 0.3);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(10, 25, 45, 0.96), rgba(6, 15, 29, 0.96)),
    var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-title h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1;
}

.step-dot {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  color: #07101c;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 17px rgba(201, 255, 0, 0.48);
  font-size: 15px;
  font-weight: 950;
}

.step-dot--purple {
  color: white;
  background: linear-gradient(135deg, #c84bff, #7336e9);
  box-shadow: 0 0 17px rgba(190, 70, 255, 0.48);
}

.source-card {
  padding: 22px 18px 16px 24px;
  border-color: rgba(201, 255, 0, 0.42);
  box-shadow: inset 0 0 0 1px rgba(201, 255, 0, 0.08);
}

.source-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 14px;
  margin-top: 20px;
}

.url-field,
.diff-field,
.cta-row label {
  position: relative;
}

.url-field {
  display: grid;
  grid-template-columns: 24px 1fr 28px;
  align-items: center;
  min-height: 56px;
  padding: 0 10px 0 18px;
  border: 1px solid rgba(92, 120, 170, 0.34);
  border-radius: 8px;
  background: rgba(2, 8, 18, 0.86);
}

.url-field i {
  color: white;
  font-style: normal;
}

.url-field input,
.diff-field textarea,
.cta-row input {
  width: 100%;
  color: white;
  border: 0;
  outline: 0;
  background: transparent;
}

.url-field input {
  font-size: 16px;
}

.url-field button {
  width: 28px;
  height: 28px;
  color: #b8c3d4;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
}

.verify-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 14px;
  color: #06101f;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--lime), #efff2f);
  box-shadow: 0 0 24px rgba(201, 255, 0, 0.36);
  font-weight: 950;
}

.import-status { grid-column: 1 / -1; margin: 0; color: #d8c98f; font-size: 12px; }
.import-attestation { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; color: #b9c5d8; font-size: 12px; }
.import-attestation input { width: 18px; height: 18px; flex: 0 0 auto; }

.import-result { grid-column: 1 / -1; padding: 18px; border: 1px solid rgba(24, 167, 255, 0.42); border-radius: 8px; background: rgba(5, 18, 34, 0.82); }
.import-result__header, .import-result__grid { display: flex; justify-content: space-between; gap: 14px; }
.import-result__header h3 { margin: 10px 0 0; }
.import-result__grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.local-badge { color: #06101f; padding: 4px 7px; border-radius: 4px; background: var(--lime); font-size: 10px; font-weight: 900; }
.import-result details { margin-top: 14px; color: #d5ddea; }
.import-result summary { cursor: pointer; color: #9fdcff; font-weight: 800; }
.import-routes { display: grid; gap: 5px; margin-top: 14px; color: #d5ddea; font-size: 12px; }
.import-routes span, .import-routes li { overflow-wrap: anywhere; color: #a8b3c7; }
.import-result__note { margin-bottom: 0; color: #a8b3c7; font-size: 12px; }

.more-ideas {
  width: 100%;
  min-height: 40px;
  color: white;
  border: 1px solid rgba(118, 148, 203, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  font-weight: 800;
}

.rights-row {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.rights-row article {
  display: grid;
  grid-template-columns: 24px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  min-height: 70px;
  padding: 13px 15px;
  border: 1px solid rgba(104, 132, 184, 0.28);
  border-radius: 8px;
  background: rgba(8, 18, 34, 0.7);
}

.rights-row span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #06101f;
  border-radius: 50%;
  background: var(--lime);
  font-size: 13px;
  font-weight: 950;
}

.rights-row strong {
  font-size: 13px;
}

.rights-row small {
  color: #d7ddeb;
  font-size: 13px;
}

.edit-card {
  padding: 20px 18px 12px 24px;
  border-color: rgba(166, 82, 255, 0.48);
}

.edit-grid {
  display: grid;
  grid-template-columns: 140px minmax(330px, 1fr) 224px;
  gap: 16px;
  margin-top: 22px;
}

.field-list {
  display: grid;
  gap: 7px;
  padding-right: 14px;
  border-right: 1px solid rgba(117, 142, 193, 0.16);
}

.field-list button {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  min-height: 41px;
  padding: 0 11px;
  color: #eaf0fb;
  text-align: left;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-weight: 780;
}

.field-list .is-active {
  background: linear-gradient(90deg, rgba(126, 58, 231, 0.76), rgba(72, 31, 132, 0.78));
}

.field-list span {
  color: #d9d2ff;
  font-size: 18px;
}

.diff-editor {
  min-width: 0;
}

.field-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.field-heading h3 {
  margin: 0;
  font-size: 16px;
}

.field-heading span {
  padding: 2px 8px;
  color: var(--lime);
  border: 1px solid rgba(201, 255, 0, 0.5);
  border-radius: 6px;
  background: rgba(201, 255, 0, 0.12);
  font-size: 12px;
  font-weight: 850;
}

.diff-field {
  display: block;
}

.diff-field span {
  display: block;
  margin-bottom: 6px;
  color: #c9d3e6;
  font-size: 12px;
}

.diff-field textarea {
  min-height: 66px;
  padding: 15px 42px 12px 18px;
  resize: none;
  border: 1px solid rgba(101, 131, 186, 0.32);
  border-radius: 8px;
  background: rgba(3, 10, 22, 0.72);
  font-size: 17px;
  line-height: 1.35;
}

.diff-field b,
.cta-row b {
  position: absolute;
  right: 16px;
  bottom: 18px;
  color: #ecf3ff;
  font-size: 18px;
}

.diff-field--active textarea {
  min-height: 74px;
  border-color: rgba(201, 255, 0, 0.86);
  box-shadow: 0 0 16px rgba(201, 255, 0, 0.17);
}

.diff-field--active b,
.cta-row b {
  color: var(--lime);
}

.diff-arrow {
  margin: 5px 0 3px 51%;
  color: #78869d;
  font-size: 22px;
}

.char-count {
  margin: 5px 16px 26px 0;
  color: #c8d0df;
  text-align: right;
  font-size: 13px;
}

.cta-row {
  display: grid;
  grid-template-columns: 26px 112px 1fr;
  align-items: center;
  gap: 12px;
}

.cta-row strong {
  font-size: 16px;
}

.cta-row label {
  min-height: 48px;
  border: 1px solid rgba(201, 255, 0, 0.86);
  border-radius: 8px;
  background: rgba(3, 10, 22, 0.78);
  box-shadow: 0 0 18px rgba(201, 255, 0, 0.13);
}

.cta-row input {
  height: 48px;
  padding: 0 42px 0 16px;
}

.suggest-card {
  padding: 5px 0 0 0;
  border-left: 1px solid rgba(117, 142, 193, 0.14);
  padding-left: 15px;
}

.suggest-card h3 {
  margin: 0 0 18px;
  font-size: 14px;
}

.suggest-card h3 span {
  color: #d24cff;
  font-size: 20px;
}

.suggest-card article {
  display: grid;
  grid-template-columns: 1fr 46px;
  align-items: center;
  min-height: 76px;
  margin-bottom: 14px;
  padding: 12px 12px 12px 16px;
  border: 1px solid rgba(154, 82, 255, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(101, 47, 169, 0.76), rgba(54, 23, 94, 0.74));
}

.suggest-card article span {
  color: white;
  font-size: 14px;
  line-height: 1.35;
}

.suggest-card article button {
  min-height: 34px;
  color: white;
  border: 0;
  border-radius: 8px;
  background: rgba(130, 73, 229, 0.86);
  font-weight: 850;
}

.suggest-card p {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 9px;
  margin: 16px 0 0;
  color: #cbd4e6;
  font-size: 13px;
}

.suggest-card p span {
  color: var(--orange);
  font-size: 20px;
}

.preview-card {
  min-height: 684px;
  padding: 26px 16px 18px;
  border-color: rgba(24, 167, 255, 0.2);
  background: linear-gradient(180deg, rgba(7, 20, 40, 0.98), rgba(8, 20, 38, 0.98));
}

.preview-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.preview-top h2 {
  margin-bottom: 18px;
  font-size: 18px;
}

.preview-top h2 span {
  color: #71b9ff;
  font-weight: 500;
}

.device-toggle {
  display: inline-flex;
  gap: 0;
  padding: 2px;
  border: 1px solid rgba(101, 131, 186, 0.26);
  border-radius: 8px;
  background: rgba(4, 10, 22, 0.8);
}

.device-toggle button {
  width: 66px;
  height: 34px;
  color: white;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-size: 20px;
}

.device-toggle .is-active {
  color: #06101f;
  background: var(--lime);
  box-shadow: 0 0 19px rgba(201, 255, 0, 0.42);
}

.preview-card[data-preview="mobile"] .runtime-frame {
  max-width: 360px;
  margin-inline: auto;
}

.open-preview {
  align-self: start;
  min-height: 42px;
  padding: 0 15px;
  color: white;
  border: 1px solid rgba(112, 139, 190, 0.28);
  border-radius: 8px;
  background: rgba(5, 12, 25, 0.8);
  font-weight: 800;
}

.runtime-frame {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(111, 139, 196, 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 83% 28%, rgba(94, 141, 202, 0.22), transparent 17rem),
    radial-gradient(circle at 80% 71%, rgba(89, 142, 67, 0.34), transparent 12rem),
    linear-gradient(125deg, #101b2e 0%, #0a1323 54%, #07101e 100%);
}

.runtime-frame::before {
  content: "";
  position: absolute;
  inset: 44% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.54));
}

.runtime-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 31px 31px 0;
  color: #e9f1ff;
  font-size: 12px;
}

.runtime-nav strong {
  margin-right: auto;
}

.runtime-nav strong span,
.runtime-copy mark {
  color: var(--lime);
}

.runtime-copy {
  position: relative;
  z-index: 2;
  width: 58%;
  padding: 46px 0 0 31px;
}

.runtime-copy h3 {
  margin-bottom: 24px;
  color: white;
  font-size: 35px;
  line-height: 1.16;
}

.runtime-copy mark {
  display: block;
  background: transparent;
}

.runtime-copy p {
  max-width: 355px;
  margin-bottom: 30px;
  color: white;
  font-size: 15px;
}

.runtime-copy button {
  min-width: 183px;
  min-height: 46px;
  color: #07101c;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--lime), #efff2d);
  box-shadow: 0 0 24px rgba(201, 255, 0, 0.36);
  font-weight: 950;
}

.runtime-frame img {
  position: absolute;
  right: 28px;
  bottom: 34px;
  width: 245px;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.58));
}

.rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 42px;
  color: white;
  font-size: 13px;
}

.rating b {
  color: var(--lime);
  letter-spacing: 0;
}

.preview-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 17px 0;
  color: #d8e0ee;
  font-size: 13px;
}

.preview-note span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.preview-note i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(201, 255, 0, 0.68);
}

@media (max-width: 1279px) {
  .build-header {
    min-height: 0;
    padding-right: 0;
  }

  .build-header h1 {
    font-size: 30px;
  }

  .build-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .source-grid {
    grid-template-columns: minmax(280px, 1fr) minmax(148px, auto);
  }

  .edit-grid {
    grid-template-columns: minmax(144px, 0.28fr) minmax(0, 1fr);
  }

  .url-field input,
  .diff-field textarea,
  .cta-row input {
    min-width: 0;
    text-overflow: ellipsis;
  }

  .suggest-card {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid rgba(117, 142, 193, 0.14);
    padding: 16px 0 0;
  }

  .suggest-card article {
    grid-template-columns: minmax(0, 1fr) 58px;
  }

  .preview-card {
    min-height: 0;
  }

  .runtime-frame {
    min-height: 420px;
  }

  .runtime-copy {
    width: min(62%, 420px);
  }
}

@media (max-width: 720px) {
  .build-header {
    gap: 12px;
  }

  .build-header p:not(.screen-kicker) {
    max-width: 100%;
  }

  .build-header h1 {
    font-size: 27px;
  }

  .build-status {
    width: 100%;
    margin-top: 14px;
  }

  .source-card,
  .edit-card,
  .preview-card {
    width: 100%;
    max-width: 100%;
    padding: 16px 14px;
    overflow: hidden;
  }

  .section-title {
    gap: 10px;
  }

  .source-grid,
  .edit-grid,
  .cta-row,
  .preview-top,
  .preview-note {
    grid-template-columns: 1fr;
  }

  .source-grid,
  .edit-grid {
    gap: 12px;
  }

  .url-field {
    grid-template-columns: 22px minmax(0, 1fr) 32px;
    padding-left: 12px;
  }

  .url-field input,
  .diff-field textarea,
  .cta-row input {
    max-width: 100%;
  }

  .verify-button {
    width: 100%;
  }

  .field-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 6px;
    border-right: 0;
  }

  .field-list button {
    flex: 0 0 auto;
    min-height: 44px;
    white-space: nowrap;
  }

  .diff-field textarea {
    min-height: 96px;
    padding-right: 36px;
    resize: vertical;
  }

  .diff-arrow {
    margin-left: 0;
    text-align: center;
  }

  .char-count {
    margin-right: 0;
  }

  
  .url-field,
  .verify-button,
  .more-ideas,
  .suggest-card article button,
  .open-preview,
  .runtime-copy button {
    min-height: 44px;
  }

  .cta-row {
    gap: 8px;
  }

  .cta-row label {
    width: 100%;
  }

  .preview-top {
    display: grid;
  }

  .device-toggle,
  .open-preview {
    width: 100%;
  }

  .device-toggle button {
    flex: 1;
    min-height: 40px;
  }

  .runtime-frame {
    min-height: 460px;
    overflow: hidden;
  }

  .runtime-nav {
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 18px 18px 0;
  }

  .runtime-copy {
    position: relative;
    z-index: 3;
    width: auto;
    padding: 30px 18px 0;
  }

  .runtime-copy h3 {
    max-width: 290px;
    font-size: 28px;
  }

  .runtime-copy p {
    max-width: min(260px, 62vw);
  }

  .runtime-frame img {
    right: 10px;
    bottom: 18px;
    width: min(38vw, 150px);
    opacity: 0.82;
  }

  .rating,
  .preview-note {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
  }

  .preview-note span {
    min-width: 0;
  }
}
