.about-dialog {
  width: min(800px, calc(100vw - 32px));
  max-width: none;
  max-height: min(88vh, 900px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #8b9aa5;
  border-radius: 16px;
  background: linear-gradient(145deg, #46545f, #303c45 72%, #27333b);
  color: #f5f8fa;
  box-shadow: 0 28px 90px #000a, inset 0 1px #ffffff19;
  font: inherit;
}

.about-dialog[open] {
  display: flex;
  flex-direction: column;
}

.about-dialog::backdrop {
  background: #101820c9;
  backdrop-filter: blur(5px);
}

.about-dialog-header,
.about-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex: 0 0 auto;
  padding: 20px 26px;
}

.about-dialog-header {
  border-bottom: 1px solid #a8b6c133;
  background: radial-gradient(ellipse at 10% 0%, #80caff20, transparent 52%);
}

.about-origin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 9px;
  padding: 5px 9px;
  border: 1px solid #ef777755;
  border-radius: 999px;
  background: linear-gradient(110deg, #c83f4930, #c83f490c);
  color: #ffd7d6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1;
  text-transform: uppercase;
}

.about-origin i {
  color: #ff6c70;
  font-size: 14px;
}

.about-dialog-header h2 {
  margin: 0;
  color: #f8fbfd;
  font-size: clamp(20px, 3vw, 27px);
  letter-spacing: -.035em;
}

.about-close {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid #c6d4dd45;
  border-radius: 10px;
  background: #ffffff0d;
  color: #e6eff4;
  font-size: 16px;
}

.about-close:hover {
  border-color: #d4e7f2;
  background: #ffffff18;
}

.about-dialog-content {
  min-height: 0;
  padding: 22px 26px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #899aa5 #303c45;
}

.about-company {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 24px;
  padding: 15px 17px;
  border: 1px solid #a8c3d532;
  border-radius: 11px;
  background: linear-gradient(100deg, #a7d9fb13, #ffffff05);
}

.about-company > i {
  margin-top: 2px;
  color: #a9d7f3;
  font-size: 16px;
}

.about-company p {
  margin: 0;
  color: #dce6ec;
  font-size: 13px;
  line-height: 1.55;
}

.about-company strong {
  color: #fff;
}

.about-updated {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  color: #b9e1fa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.about-updated span {
  color: #bdcbd4;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.about-intro {
  margin: 0 0 22px;
  color: #e5edf2;
  font-size: 13px;
  line-height: 1.6;
}

.license-terms {
  display: grid;
  gap: 18px;
}

.license-terms section {
  padding-bottom: 16px;
  border-bottom: 1px solid #c2d0d922;
}

.license-terms section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.license-terms h3 {
  margin: 0 0 6px;
  color: #f5f9fb;
  font-size: 14px;
  font-weight: 750;
}

.license-terms p {
  margin: 0;
  color: #cfdae1;
  font-size: 12px;
  line-height: 1.65;
}

.about-dialog-footer {
  min-height: 68px;
  border-top: 1px solid #a8b6c133;
  background: #202b3333;
}

.about-dialog-footer > span {
  color: #c1cdd5;
  font-size: 11px;
}

.about-done {
  min-width: 86px;
  padding: 9px 16px;
  border: 1px solid #a5d6f166;
  border-radius: 7px;
  background: #8ecdf22a;
  color: #f5fbff;
  font-weight: 700;
}

.about-done:hover {
  background: #8ecdf247;
}

@media (max-width: 540px) {
  .about-dialog-header,
  .about-dialog-footer {
    padding-right: 17px;
    padding-left: 17px;
  }

  .about-dialog-content {
    padding: 18px 17px 22px;
  }

  .about-updated {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .about-dialog-footer > span {
    max-width: 210px;
    line-height: 1.4;
  }
}
