/* =========================================================
   Explore — continuation
   ========================================================= */

.explore-card > p {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.explore-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
  color: var(--muted);
}

.explore-card-foot span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explore-card-foot span:last-child {
  flex: 0 0 auto;
  text-align: right;
}

.explore-empty {
  padding: 74px 32px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  text-align: center;
}

.empty-big-mark {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 92px;
  font-style: italic;
  line-height: 0.75;
}

.explore-empty .mono-label {
  display: block;
  margin-top: 22px;
}

.explore-empty h2 {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.explore-empty > p:not(.mono-label) {
  max-width: 510px;
  margin: 12px auto 23px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.explore-note {
  margin-top: 42px;
}

.explore-note-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 25px 28px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 11px;
}

.explore-note-card .mono-label {
  color: rgba(242, 238, 227, 0.4);
}

.explore-note-card > p {
  max-width: 650px;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(242, 238, 227, 0.62);
}

.explore-note-card .text-link {
  color: var(--lime);
  font-size: 11px;
  text-decoration-color: rgba(223, 244, 93, 0.35);
}

/* =========================================================
   Legal pages
   ========================================================= */

.legal-main {
  padding: 28px 0 110px;
}

.legal-header {
  max-width: 900px;
  margin: 46px 0 52px;
}

.legal-header h1 {
  margin-top: 22px;
  font-size: clamp(56px, 8vw, 92px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.068em;
}

.legal-header h1 em {
  color: var(--accent);
}

.legal-deck {
  max-width: 660px;
  margin-top: 24px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  max-width: 750px;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 105px;
  display: flex;
  flex-direction: column;
  padding-top: 13px;
  border-top: 1px solid var(--ink);
}

.legal-toc .mono-label {
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.legal-toc a {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.legal-toc a:hover {
  padding-left: 4px;
  color: var(--accent-deep);
}

.legal-copy {
  max-width: 760px;
}

.legal-callout {
  margin-bottom: 27px;
  padding: 24px 26px;
  background: var(--ink);
  color: var(--paper);
  border-left: 4px solid var(--lime);
  border-radius: 3px;
}

.legal-callout .mono-label {
  color: var(--lime);
}

.legal-callout p {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(242, 238, 227, 0.7);
}

.legal-copy > section {
  padding: 27px 0 31px;
  border-top: 1px solid var(--line);
}

.legal-copy > section:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-copy h2 {
  display: flex;
  align-items: baseline;
  gap: 17px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.legal-copy h2 span {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--accent-deep);
}

.legal-copy p {
  margin-top: 13px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.legal-copy strong {
  color: var(--ink);
  font-weight: 700;
}

.legal-copy a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.legal-copy a:hover {
  color: var(--accent-deep);
  text-decoration-color: var(--accent);
}

.legal-copy ul {
  margin-top: 13px;
  padding-left: 17px;
  list-style: square;
}

.legal-copy li {
  padding: 4px 0;
  padding-left: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.legal-copy li::marker {
  color: var(--accent);
}

/* =========================================================
   Error
   ========================================================= */

.error-main {
  padding: 92px 0 110px;
}

.error-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 75px;
  align-items: center;
}

.error-copy h1 {
  max-width: 640px;
  margin-top: 21px;
  font-size: clamp(48px, 6.5vw, 80px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.error-copy > p:not(.eyebrow, .error-hint) {
  max-width: 480px;
  margin-top: 23px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.error-hint {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.error-hint code {
  padding: 2px 4px;
  background: var(--paper-deep);
  border-radius: 2px;
}

.error-art {
  position: relative;
  min-height: 390px;
}

.error-number {
  position: absolute;
  top: -20px;
  right: 0;
  color: transparent;
  font-family: var(--font-serif);
  font-size: clamp(190px, 28vw, 310px);
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.08em;
  -webkit-text-stroke: 1px var(--line-strong);
}

.error-ticket {
  position: absolute;
  top: 55px;
  left: 20px;
  display: flex;
  flex-direction: column;
  width: min(290px, 72%);
  min-height: 300px;
  padding: 23px;
  background: var(--lime);
  border: 1.5px solid var(--ink);
  border-radius: 11px;
  box-shadow: 9px 9px 0 var(--ink);
  transform: rotate(-6deg);
}

.error-ticket > span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  color: var(--ink-soft);
}

.error-ticket strong {
  margin-top: 49px;
  font-size: 29px;
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.error-ticket i {
  flex: 1;
  margin: 17px 0;
  border-top: 1px dashed rgba(20, 21, 17, 0.3);
}

.error-ticket small {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1180px) {
  .container {
    padding-inline: 28px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
    gap: 46px;
  }

  .section-heading,
  .section-aside {
    gap: 42px;
  }

  .seo-layout {
    gap: 65px;
  }

  .faq-layout {
    gap: 65px;
  }

  .login-stage {
    gap: 60px;
  }

  .dashboard-layout {
    grid-template-columns: minmax(310px, 0.8fr) minmax(0, 1.4fr);
    gap: 26px;
  }

  .link-row {
    grid-template-columns: 26px minmax(0, 1fr) 58px 82px 24px;
    gap: 10px;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 316px;
  }
}

@media (max-width: 1040px) {
  .hero {
    padding-top: 64px;
    padding-bottom: 78px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(55px, 7vw, 80px);
  }

  .hero-stats dd {
    font-size: 22px;
  }

  .feature-card--slug {
    min-height: 390px;
  }

  .feature-card--analytics {
    min-height: 390px;
  }

  .steps-head {
    gap: 45px;
  }

  .login-stage {
    gap: 48px;
  }

  .login-card {
    padding: 27px;
  }

  .login-domain-card {
    max-width: 400px;
  }

  .preview-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
  }

  .preview-card {
    padding: 34px;
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-inner {
    gap: 18px;
  }

  .mobile-nav:not([hidden]) {
    display: block;
  }

  .header-user {
    margin-left: auto;
  }

  .dash-title-row h1 {
    font-size: clamp(47px, 7vw, 64px);
  }

  .dashboard-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .create-column {
    position: static;
  }

  .create-card {
    display: flex;
    flex-direction: column;
  }

  .create-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 17px 18px;
  }

  .create-form .field:first-of-type,
  .create-form .check-row,
  .create-form .geo-note,
  .create-form .btn-block {
    grid-column: 1 / -1;
  }

  .create-form .field:nth-of-type(4) {
    grid-row: span 2;
  }

  .create-form .textarea {
    min-height: 111px;
  }

  .side-tip {
    display: none;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .qr-card {
    grid-row: span 2;
  }

  .manage-card {
    grid-column: 2;
  }

  .preview-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .preview-explore-link {
    grid-column: 1 / -1;
  }

  .legal-layout {
    gap: 48px;
  }

  .legal-toc {
    top: 92px;
  }

  .error-grid {
    gap: 35px;
  }

  .error-ticket {
    left: 0;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 54px 0 66px;
  }

  .hero::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 65px;
  }

  .hero h1 {
    max-width: 740px;
    font-size: clamp(60px, 10vw, 88px);
  }

  .hero-lede {
    max-width: 590px;
  }

  .ticket-scene {
    max-width: 560px;
    justify-self: start;
  }

  .ticket-scene::before {
    inset: 24px -12px -12px 18px;
  }

  .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-item,
  .signal-item:first-child {
    padding: 19px 20px;
    border-left: 1px solid rgba(242, 238, 227, 0.15);
    border-top: 1px solid rgba(242, 238, 227, 0.15);
  }

  .signal-item:nth-child(-n + 2) {
    border-top: 0;
  }

  .signal-item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 38px;
  }

  .section-aside {
    max-width: 500px;
    margin-top: 22px;
    padding-bottom: 0;
  }

  .feature-grid {
    gap: 13px;
  }

  .feature-card--slug,
  .feature-card--analytics,
  .feature-card--telegram,
  .feature-card--seo {
    grid-column: span 12;
    min-height: 0;
  }

  .feature-card {
    padding: 25px;
  }

  .feature-card h3 {
    max-width: 570px;
  }

  .feature-card > p {
    max-width: 560px;
  }

  .slug-showcase,
  .mini-chart,
  .search-mock {
    margin-top: 28px;
  }

  .slug-showcase {
    margin-top: 38px;
  }

  .mini-chart {
    max-width: 520px;
  }

  .search-mock {
    max-width: 570px;
  }

  .steps-head {
    display: block;
  }

  .steps-intro {
    max-width: 560px;
    margin-top: 22px;
    padding-bottom: 0;
  }

  .steps-list {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .step-item,
  .step-item:first-child,
  .step-item:last-child {
    display: grid;
    grid-template-columns: 25px 54px minmax(0, 1fr);
    gap: 19px;
    align-items: start;
    padding: 23px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .step-number {
    margin: 0;
    padding-top: 5px;
  }

  .step-icon {
    margin: 0;
  }

  .step-item h3 {
    padding-top: 3px;
  }

  .step-item p {
    grid-column: 3;
    max-width: 500px;
    margin-top: -14px;
  }

  .seo-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .seo-copy > p {
    max-width: 590px;
  }

  .checklist-card {
    max-width: 570px;
    box-shadow: 8px 8px 0 var(--lime);
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .faq-intro {
    position: static;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
  }

  .faq-intro h2 {
    font-size: clamp(40px, 6vw, 53px);
  }

  .faq-note {
    flex: 0 0 220px;
    margin-top: 0;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    gap: 33px;
    padding: 42px;
  }

  .cta-copy h2 {
    font-size: clamp(46px, 8vw, 66px);
  }

  .cta-panel::after {
    font-size: 300px;
    opacity: 0.8;
  }

  .cta-action > p {
    margin-bottom: 19px;
  }

  .login-stage {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .login-editorial {
    max-width: 650px;
  }

  .login-editorial h1 {
    font-size: clamp(55px, 9vw, 78px);
  }

  .login-card {
    width: 100%;
    max-width: 570px;
    box-shadow: 8px 8px 0 var(--lime);
  }

  .login-points {
    max-width: 570px;
  }

  .dash-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .dash-title-row {
    align-items: flex-start;
  }

  .links-head {
    align-items: flex-end;
  }

  .explore-title-row {
    grid-template-columns: 1fr;
    gap: 31px;
  }

  .explore-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
  }

  .explore-intro p {
    margin-bottom: 0;
  }

  .explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .explore-note-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 23px;
  }

  .explore-note-card .text-link {
    margin-top: 6px;
  }

  .preview-about {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 55px;
  }

  .legal-header {
    margin-bottom: 40px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3px 16px;
    padding-top: 14px;
    border-bottom: 1px solid var(--line);
  }

  .legal-toc .mono-label {
    width: 100%;
    margin-bottom: 3px;
  }

  .legal-toc a {
    padding: 7px 0;
    border-bottom: 0;
  }

  .legal-copy {
    max-width: 760px;
  }

  .error-grid {
    grid-template-columns: 1fr;
  }

  .error-art {
    min-height: 300px;
    order: -1;
  }

  .error-number {
    top: -35px;
    right: auto;
    left: 12%;
    font-size: 260px;
  }

  .error-ticket {
    top: 30px;
    left: 5%;
    min-height: 230px;
    width: 230px;
    transform: rotate(-5deg);
  }

  .error-ticket strong {
    margin-top: 28px;
    font-size: 24px;
  }
}

@media (max-width: 760px) {
  .container {
    padding-inline: 20px;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-mark {
    width: 33px;
    height: 33px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-login {
    display: none;
  }

  .mobile-nav nav {
    padding-inline: 20px;
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    padding: 44px 0 55px;
  }

  .hero h1 {
    margin-top: 21px;
    font-size: clamp(49px, 12.5vw, 68px);
    letter-spacing: -0.068em;
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 25px;
    gap: 13px;
  }

  .hero-separator {
    display: none;
  }

  .hero-auth-note {
    width: 100%;
  }

  .hero-stats {
    margin-top: 41px;
  }

  .hero-stats div {
    padding-right: 10px;
  }

  .hero-stats div + div {
    padding-left: 13px;
  }

  .hero-stats dt {
    font-size: 7.5px;
  }

  .hero-stats dd {
    font-size: 20px;
  }

  .hero-grid {
    gap: 56px;
  }

  .ticket-sticker {
    top: -22px;
    left: -9px;
    width: 62px;
    height: 62px;
    font-size: 8px;
  }

  .ticket-sticker span {
    font-size: 21px;
  }

  .shorten-form {
    padding: 19px;
    gap: 17px;
  }

  .ticket-topline {
    padding: 15px 19px;
  }

  .ticket-perforation {
    margin-inline: -19px;
  }

  .ticket-bottom {
    padding: 14px 19px 16px;
  }

  .ticket-caption {
    margin-top: 25px;
  }

  .signal-item {
    min-height: 67px;
    padding: 16px 12px;
  }

  .signal-item:nth-child(odd) {
    padding-left: 0;
  }

  .signal-item p {
    font-size: 10.5px;
  }

  .section-heading h2,
  .steps-head h2,
  .seo-copy h2 {
    font-size: clamp(39px, 9vw, 54px);
  }

  .section-heading {
    margin-bottom: 31px;
  }

  .feature-card {
    padding: 21px;
  }

  .feature-card-top {
    margin-bottom: 24px;
  }

  .feature-card h3 {
    font-size: clamp(26px, 6.5vw, 32px);
  }

  .slug-showcase {
    padding: 15px;
    font-size: 14px;
  }

  .mini-bars {
    height: 82px;
  }

  .search-result strong {
    font-size: 13px;
  }

  .search-result p {
    font-size: 8.5px;
  }

  .steps-list {
    margin-top: 31px;
  }

  .step-item,
  .step-item:first-child,
  .step-item:last-child {
    grid-template-columns: 22px 45px minmax(0, 1fr);
    gap: 13px;
    padding: 20px 0;
  }

  .step-icon {
    width: 42px;
    height: 42px;
  }

  .step-icon svg {
    width: 21px;
    height: 21px;
  }

  .step-item p {
    margin-top: -9px;
  }

  .faq-intro {
    display: block;
  }

  .faq-note {
    margin-top: 25px;
  }

  .faq-item summary {
    padding: 18px 0;
    font-size: 14.5px;
  }

  .faq-answer {
    padding-right: 20px;
  }

  .cta-panel {
    padding: 30px;
    border-radius: 14px;
  }

  .cta-copy h2 {
    font-size: clamp(41px, 9vw, 55px);
  }

  .cta-action .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1.25fr 0.75fr 1fr;
    gap: 35px;
    padding-bottom: 44px;
  }

  .footer-col--note {
    display: none;
  }

  .login-main {
    padding: 50px 0 74px;
  }

  .login-editorial h1 {
    font-size: clamp(49px, 11vw, 66px);
  }

  .login-domain-card {
    margin-top: 32px;
  }

  .login-points {
    grid-template-columns: 1fr;
    margin-top: 31px;
    border-top: 1px solid var(--line-strong);
  }

  .login-points p {
    display: grid;
    grid-template-columns: 27px 1fr;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .login-points p + p {
    padding-left: 0;
    border-left: 0;
  }

  .login-points span {
    margin: 1px 0 0;
  }

  .login-card {
    padding: 24px;
    box-shadow: 7px 7px 0 var(--lime);
  }

  .dash-hero {
    padding: 25px 0 31px;
  }

  .dash-topline {
    align-items: flex-start;
  }

  .account-copy {
    max-width: 140px;
  }

  .account-copy strong,
  .account-copy small {
    max-width: 140px;
  }

  .dash-title-row {
    display: block;
    margin-top: 37px;
  }

  .dash-title-row h1 {
    font-size: clamp(43px, 10vw, 58px);
  }

  .dash-title-row .btn {
    margin-top: 22px;
  }

  .dash-stats {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 29px;
  }

  .stat-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    padding: 17px;
  }

  .stat-label {
    grid-column: 1;
  }

  .stat-card strong {
    grid-column: 1;
    grid-row: 2;
    margin-top: 4px;
    font-size: 31px;
  }

  .stat-meta {
    grid-column: 1 / -1;
    margin-top: 5px;
  }

  .stat-index {
    top: 15px;
    right: 17px;
  }

  .dashboard-layout {
    padding-top: 31px;
    padding-bottom: 70px;
    gap: 34px;
  }

  .create-form {
    display: flex;
    gap: 16px;
  }

  .create-form .field:nth-of-type(4) {
    grid-row: auto;
  }

  .create-form .textarea {
    min-height: 80px;
  }

  .create-card-head {
    padding: 19px 20px;
  }

  .create-form {
    padding: 19px 20px;
  }

  .create-card-foot {
    padding-inline: 20px;
  }

  .links-head {
    display: block;
  }

  .search-form {
    width: 100%;
    margin-top: 15px;
    flex-basis: auto;
  }

  .link-row {
    grid-template-columns: 22px minmax(0, 1fr) 55px 25px;
    gap: 9px;
    padding: 13px;
  }

  .link-date {
    display: none;
  }

  .link-metric {
    align-self: center;
  }

  .link-dest {
    max-width: 100%;
  }

  .row-arrow {
    width: 23px;
    height: 23px;
  }

  .detail-head {
    padding: 22px 0 28px;
  }

  .detail-title-row {
    display: block;
    margin-top: 20px;
  }

  .detail-title h1 {
    font-size: clamp(27px, 8vw, 39px);
  }

  .detail-actions {
    margin-top: 20px;
  }

  .detail-actions .btn {
    flex: 1;
  }

  .created-banner {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .created-check {
    width: 34px;
    height: 34px;
  }

  .created-link {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .detail-layout {
    padding-top: 25px;
    padding-bottom: 70px;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metric-card:first-child {
    grid-column: 1 / -1;
  }

  .metric-card strong {
    font-size: 29px;
  }

  .panel {
    padding: 18px;
  }

  .bar-chart {
    gap: 6px;
    height: 190px;
  }

  .bar-track {
    max-width: 100%;
  }

  .bar-label {
    font-size: 7px;
  }

  .detail-side {
    grid-template-columns: 1fr;
  }

  .qr-card,
  .manage-card {
    grid-column: auto;
    grid-row: auto;
  }

  .preview-main {
    padding-top: 19px;
    padding-bottom: 70px;
  }

  .preview-card {
    padding: 23px;
    box-shadow: 7px 7px 0 var(--lime);
  }

  .preview-top {
    padding-bottom: 17px;
  }

  .preview-source {
    margin-top: 23px;
  }

  .preview-card h1 {
    margin-top: 23px;
    font-size: clamp(31px, 8.3vw, 42px);
  }

  .preview-desc {
    font-size: 13.5px;
  }

  .preview-action {
    margin-top: 24px;
  }

  .preview-action .btn {
    width: 100%;
  }

  .preview-side {
    grid-template-columns: 1fr;
  }

  .preview-explore-link {
    grid-column: auto;
  }

  .preview-about {
    margin-top: 43px;
    padding-top: 32px;
  }

  .preview-about-copy p {
    font-size: 12px;
  }

  .explore-head {
    padding: 24px 0 34px;
  }

  .explore-title-row {
    margin-top: 26px;
  }

  .explore-title-row h1 {
    font-size: clamp(48px, 12vw, 68px);
  }

  .explore-intro {
    display: block;
  }

  .explore-intro p {
    margin-bottom: 19px;
  }

  .explore-grid {
    grid-template-columns: 1fr;
  }

  .explore-card {
    min-height: 230px;
  }

  .explore-list-section {
    padding-top: 28px;
  }

  .explore-empty {
    padding: 55px 21px;
  }

  .explore-note {
    margin-top: 30px;
  }

  .legal-main {
    padding-top: 20px;
    padding-bottom: 70px;
  }

  .legal-header {
    margin: 35px 0 33px;
  }

  .legal-header h1 {
    font-size: clamp(49px, 13vw, 70px);
  }

  .legal-deck {
    font-size: 13px;
  }

  .legal-meta {
    display: block;
  }

  .legal-meta span {
    display: block;
  }

  .legal-meta span + span {
    margin-top: 5px;
  }

  .legal-callout {
    padding: 20px;
  }

  .legal-copy h2 {
    gap: 12px;
    font-size: 22px;
  }

  .legal-copy p,
  .legal-copy li {
    font-size: 12.5px;
    line-height: 1.8;
  }

  .error-main {
    padding: 55px 0 75px;
  }

  .error-art {
    min-height: 260px;
  }

  .error-number {
    font-size: 220px;
  }

  .error-ticket {
    top: 25px;
    left: 10%;
    width: 210px;
    min-height: 215px;
    padding: 18px;
  }

  .error-ticket strong {
    margin-top: 25px;
    font-size: 22px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    gap: 10px;
  }

  .header-cta {
    display: none;
  }

  .header-user-label {
    display: none;
  }

  .header-user {
    padding-right: 4px;
  }

  .brand-domain {
    font-size: 7.5px;
  }

  .brand-word {
    font-size: 16px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 59px);
  }

  .hero-actions {
    display: block;
  }

  .hero-auth-note {
    margin-top: 13px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats div:nth-child(3) {
    display: none;
  }

  .hero-stats div:nth-child(2) {
    border-left: 1px solid var(--line);
    padding-left: 16px;
  }

  .hero-stats dd {
    font-size: 21px;
  }

  .hero-grid {
    gap: 42px;
  }

  .ticket-sticker {
    display: none;
  }

  .shorten-ticket {
    border-radius: 12px;
  }

  .ticket-topline {
    font-size: 8.5px;
  }

  .url-input input,
  .slug-input input {
    font-size: 12px;
  }

  .slug-prefix {
    font-size: 9.5px;
  }

  .field-hint {
    font-size: 10px;
  }

  .ticket-bottom {
    display: block;
  }

  .ticket-bars {
    display: none;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .signal-item,
  .signal-item:first-child,
  .signal-item:nth-child(odd) {
    min-height: 52px;
    padding: 12px 0;
    border-left: 0;
    border-top: 1px solid rgba(242, 238, 227, 0.15);
  }

  .signal-item:first-child {
    border-top: 0;
  }

  .signal-item p {
    font-size: 10.5px;
  }

  .section-heading h2,
  .steps-head h2,
  .seo-copy h2 {
    font-size: clamp(36px, 10vw, 46px);
  }

  .feature-card {
    padding: 18px;
  }

  .feature-card h3 {
    font-size: 27px;
  }

  .feature-card > p,
  .feature-card--telegram > p,
  .feature-card--seo > p {
    font-size: 11.5px;
  }

  .slug-showcase {
    font-size: 12px;
    padding: 13px;
  }

  .slug-showcase i {
    height: 18px;
  }

  .mini-chart {
    padding-inline: 13px;
  }

  .mini-bars {
    height: 73px;
    gap: 5px;
  }

  .mini-chart-axis {
    font-size: 6px;
  }

  .search-mock {
    padding: 11px;
  }

  .search-bar {
    padding: 7px 9px;
  }

  .search-result {
    padding-top: 11px;
  }

  .search-result strong {
    font-size: 12px;
  }

  .step-item,
  .step-item:first-child,
  .step-item:last-child {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .step-icon {
    grid-column: 2;
    grid-row: 1;
    width: 39px;
    height: 39px;
    margin-bottom: 13px;
  }

  .step-number {
    grid-column: 1;
    grid-row: 1;
  }

  .step-item h3,
  .step-item p {
    grid-column: 2;
  }

  .step-item h3 {
    padding-top: 0;
  }

  .step-item p {
    margin-top: 0;
  }

  .checklist-card {
    padding: 21px;
    box-shadow: 6px 6px 0 var(--lime);
  }

  .checklist-card li {
    gap: 11px;
    font-size: 11.5px;
  }

  .checklist-foot {
    display: block;
  }

  .checklist-foot .status-ready {
    margin-bottom: 8px;
  }

  .checklist-foot p {
    max-width: none;
    text-align: left;
  }

  .faq-intro h2 {
    font-size: 40px;
  }

  .cta-panel {
    padding: 23px;
  }

  .cta-panel::after {
    display: none;
  }

  .cta-fineprint {
    line-height: 1.6;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 31px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand > p {
    margin-top: 16px;
  }

  .footer-bottom {
    display: block;
    padding-top: 17px;
    padding-bottom: 20px;
  }

  .footer-mono {
    margin-top: 5px;
  }

  .login-main {
    padding-top: 40px;
  }

  .login-editorial h1 {
    font-size: clamp(45px, 13vw, 58px);
  }

  .login-domain-url {
    font-size: 13px;
  }

  .login-card {
    padding: 20px;
  }

  .login-card h2 {
    font-size: 27px;
  }

  .dash-topline {
    display: block;
  }

  .account-chip {
    width: fit-content;
    max-width: 100%;
    margin-top: 16px;
  }

  .dash-title-row h1 {
    font-size: 43px;
  }

  .dash-title-row p {
    font-size: 11.5px;
  }

  .dash-title-row .btn {
    width: 100%;
  }

  .create-card-head h2 {
    font-size: 22px;
  }

  .create-form {
    padding: 17px;
  }

  .create-form .slug-input {
    padding-inline: 10px;
  }

  .create-form .slug-prefix {
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .create-card-foot {
    font-size: 7.5px;
  }

  .links-head h2 {
    font-size: 25px;
  }

  .link-row {
    grid-template-columns: 19px minmax(0, 1fr) 45px;
    padding: 12px;
  }

  .link-index {
    font-size: 7px;
  }

  .link-slug {
    font-size: 11px;
  }

  .link-dest {
    font-size: 9.5px;
  }

  .link-metric strong {
    font-size: 15px;
  }

  .row-arrow {
    display: none;
  }

  .link-flags {
    margin-top: 6px;
  }

  .links-empty {
    padding: 41px 18px;
  }

  .detail-head .breadcrumb {
    display: none;
  }

  .detail-title h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  .detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .created-copy h2 {
    font-size: 18px;
  }

  .created-link code {
    max-width: calc(100vw - 115px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-card:first-child {
    grid-column: auto;
  }

  .panel-head {
    display: block;
  }

  .chart-total {
    margin-top: 8px;
    text-align: left;
  }

  .chart-total strong {
    display: inline;
    margin-right: 4px;
    font-size: 18px;
  }

  .bar-chart {
    height: 165px;
    gap: 4px;
  }

  .bar-count {
    font-size: 7px;
  }

  .bar-label {
    font-size: 6.5px;
  }

  .click-table th,
  .click-table td {
    font-size: 9px;
  }

  .click-table th:nth-child(3),
  .click-table td:nth-child(3) {
    display: none;
  }

  .preview-top {
    display: block;
  }

  .preview-top .status-ready {
    margin-top: 8px;
  }

  .preview-card {
    padding: 19px;
  }

  .preview-source strong {
    font-size: 12px;
  }

  .preview-target code {
    font-size: 9px;
  }

  .preview-disclaimer p {
    font-size: 9.5px;
  }

  .preview-about h2 {
    font-size: 36px;
  }

  .preview-about {
    margin-top: 35px;
  }

  .preview-about-copy p {
    line-height: 1.75;
  }

  .explore-title-row h1 {
    font-size: clamp(44px, 13vw, 58px);
  }

  .explore-intro .btn {
    width: 100%;
  }

  .explore-card {
    padding: 18px;
  }

  .explore-card h2 {
    font-size: 19px;
  }

  .explore-card-foot {
    display: block;
  }

  .explore-card-foot span {
    display: block;
  }

  .explore-card-foot span:last-child {
    margin-top: 4px;
    text-align: left;
  }

  .explore-note-card {
    padding: 19px;
  }

  .legal-header h1 {
    font-size: clamp(43px, 13vw, 60px);
  }

  .legal-layout {
    gap: 21px;
  }

  .legal-toc {
    display: none;
  }

  .legal-copy h2 {
    font-size: 20px;
  }

  .legal-copy > section {
    padding: 23px 0 27px;
  }

  .error-main {
    padding-top: 36px;
  }

  .error-art {
    min-height: 225px;
  }

  .error-number {
    font-size: 180px;
  }

  .error-ticket {
    top: 25px;
    left: 8%;
    width: 188px;
    min-height: 188px;
    padding: 16px;
  }

  .error-ticket strong {
    margin-top: 17px;
    font-size: 19px;
  }

  .error-ticket i {
    margin: 12px 0;
  }

  .error-copy h1 {
    font-size: 42px;
  }

  .error-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   Interaction utilities
   ========================================================= */

[hidden] {
  display: none !important;
}

.flash {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-toast {
  position: fixed;
  z-index: 180;
  left: 50%;
  bottom: 26px;
  max-width: calc(100vw - 36px);
  padding: 11px 16px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgba(242, 238, 227, 0.15);
  border-radius: 6px;
  box-shadow: 0 10px 35px rgba(20, 21, 17, 0.2);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s var(--ease);
  pointer-events: none;
  text-align: center;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.nav-open {
  overflow: hidden;
}

.brand-mark {
  width: 38px;
  height: 38px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
}

.brand:hover .brand-mark {
  transform: translateY(-1px);
}

.btn > svg:last-child {
  transition: transform 0.2s var(--ease);
}

.btn:hover > svg:last-child {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn-ink:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 6px 16px rgba(20, 21, 17, 0.12);
}

.btn-lime:hover {
  box-shadow: 0 6px 16px rgba(20, 21, 17, 0.12);
}

.google-button .google-arrow {
  transition: transform 0.2s var(--ease);
}

.google-button:hover .google-arrow {
  transform: translateX(3px);
}

.account-edit {
  padding: 5px 9px;
  border-left: 1px solid rgba(242, 238, 227, 0.15);
  color: rgba(242, 238, 227, 0.68);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.account-edit:hover {
  color: var(--lime);
}

.dash-stats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
}

.dash-stats-head .mono-label {
  color: rgba(242, 238, 227, 0.4);
}

.stats-refresh {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  background: transparent;
  color: rgba(242, 238, 227, 0.62);
  border: 1px solid rgba(242, 238, 227, 0.18);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.stats-refresh:hover {
  background: rgba(242, 238, 227, 0.06);
  color: var(--lime);
  border-color: rgba(223, 244, 93, 0.45);
}

.stats-refresh:disabled {
  opacity: 0.6;
  cursor: wait;
}

.stats-refresh svg {
  width: 13px;
  height: 13px;
}

.stats-refresh.is-loading svg {
  animation: spin 0.8s linear infinite;
}

.dash-stats {
  margin-top: 14px;
}

.stat-card {
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.22s var(--ease);
}

.stat-card:hover {
  border-color: rgba(242, 238, 227, 0.32);
  transform: translateY(-1px);
}

.stat-card--accent:hover {
  border-color: var(--ink);
}

.stat-card strong.is-loading {
  display: inline-block;
  min-width: 86px;
  color: transparent;
  border-radius: 3px;
  background: linear-gradient(100deg, rgba(242, 238, 227, 0.12) 20%, rgba(242, 238, 227, 0.28) 38%, rgba(242, 238, 227, 0.12) 56%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.15s linear infinite;
  user-select: none;
}

.stat-card--accent strong.is-loading {
  background-image: linear-gradient(100deg, rgba(20, 21, 17, 0.1) 20%, rgba(20, 21, 17, 0.22) 38%, rgba(20, 21, 17, 0.1) 56%);
}

.stat-card strong.is-updated {
  animation: stat-updated 0.38s var(--ease);
}

@keyframes stat-updated {
  0% { opacity: 0.45; transform: translateY(3px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes skeleton-shimmer {
  to { background-position: -220% 0; }
}

.ticket-scene {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  perspective: 1400px;
}

.ticket-scene .shorten-ticket {
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-origin: 50% 62%;
  transition: transform 0.22s ease-out;
  will-change: transform;
}

.ticket-scene .ticket-sticker {
  transform: rotate(-9deg) translateZ(26px);
  transition: transform 0.22s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .feature-card {
    transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease), border-color 0.2s ease;
  }

  .feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: 0 24px 48px rgba(20, 21, 17, 0.1), 6px 6px 0 var(--paper-deep);
  }

  .feature-card--slug:hover {
    border-color: rgba(223, 244, 93, 0.55);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18), 6px 6px 0 rgba(223, 244, 93, 0.35);
  }

  .feature-card--analytics:hover {
    box-shadow: 0 24px 48px rgba(20, 21, 17, 0.14), 6px 6px 0 var(--ink);
  }

  .link-row:hover {
    transform: translateY(-2px);
    box-shadow: 4px 5px 0 var(--paper-deep);
  }
}

dialog {
  color: var(--ink);
}

body:has(dialog[open]) {
  overflow: hidden;
}

.gate-dialog,
.notice-dialog {
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 34px 32px 30px;
  overflow: auto;
  background: var(--surface-raised);
  border: 1px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(20, 21, 17, 0.3);
}

.gate-dialog[open],
.notice-dialog[open] {
  animation: dialog-pop 0.3s var(--ease) both;
}

.gate-dialog::backdrop,
.notice-dialog::backdrop {
  background: rgba(20, 21, 17, 0.56);
  animation: dialog-fade 0.22s ease both;
}

@keyframes dialog-pop {
  0% { opacity: 0; transform: translateY(14px) scale(0.955); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dialog-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 6px;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.dialog-close:hover {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.dialog-close svg {
  width: 16px;
  height: 16px;
}

.gate-mark,
.notice-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 19px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.gate-mark {
  background: var(--lime);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
}

.notice-symbol {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.gate-mark svg,
.notice-symbol svg {
  width: 25px;
  height: 25px;
}

.gate-dialog .mono-label,
.notice-dialog .mono-label {
  color: var(--accent-deep);
}

.gate-dialog h2,
.notice-dialog h2 {
  margin-top: 7px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.gate-dialog > p:not(.mono-label):not(.gate-footnote),
.notice-dialog > p:not(.mono-label) {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 23px;
}

.notice-actions .btn {
  flex: 1 1 auto;
}

.gate-footnote {
  margin-top: 13px;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.55;
  color: var(--muted);
}

.qr-frame {
  position: relative;
}

.qr-frame.is-loading img {
  opacity: 0;
}

.qr-frame img {
  transition: opacity 0.2s ease;
}

.image-skeleton {
  position: absolute;
  inset: 9px;
  display: none;
  background: linear-gradient(100deg, var(--paper-deep) 20%, var(--surface-raised) 38%, var(--paper-deep) 56%);
  background-size: 220% 100%;
  border-radius: 4px;
  animation: skeleton-shimmer 1.15s linear infinite;
  pointer-events: none;
}

.qr-frame.is-loading .image-skeleton {
  display: block;
}

.profile-main {
  padding-bottom: 100px;
}

.profile-hero {
  padding: 27px 0 46px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.profile-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 38px;
  margin-top: 26px;
}

.profile-title-row h1 {
  margin-top: 17px;
  font-size: clamp(48px, 6vw, 68px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.profile-title-row h1 em {
  color: var(--accent);
}

.profile-title-row > div > p:last-child {
  max-width: 560px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.profile-back {
  flex: 0 0 auto;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(285px, 0.7fr);
  gap: 22px;
  align-items: start;
  padding-top: 32px;
}

.profile-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
}

.profile-card-head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  background: var(--ink);
  color: var(--paper);
}

.profile-avatar-large {
  position: relative;
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  overflow: hidden;
  background: var(--lime);
  border: 1px solid var(--lime);
  border-radius: 18px;
  box-shadow: 6px 6px 0 rgba(223, 244, 93, 0.24);
}

.profile-avatar-large img,
.profile-avatar-large .avatar-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-large .avatar-fallback {
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 46px;
  font-style: italic;
}

.profile-avatar-large img {
  transition: opacity 0.2s ease;
}

.profile-avatar-large.is-loading img {
  opacity: 0;
}

.profile-avatar-large.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(223, 244, 93, 0.3) 20%, rgba(242, 238, 227, 0.5) 38%, rgba(223, 244, 93, 0.3) 56%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.15s linear infinite;
}

.profile-card-copy {
  min-width: 0;
}

.profile-card-copy .mono-label {
  color: rgba(242, 238, 227, 0.44);
}

.profile-card-copy h2 {
  margin-top: 7px;
  overflow: hidden;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-card-copy > p {
  margin-top: 5px;
  overflow: hidden;
  font-size: 11.5px;
  color: rgba(242, 238, 227, 0.52);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-card-copy .status-ready {
  margin-top: 13px;
  color: var(--lime);
}

.profile-card-copy .status-ready i {
  background: var(--lime);
}

.profile-form {
  padding: 26px;
}

.profile-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 19px;
}

.profile-avatar-field {
  grid-column: 1 / -1;
}

.profile-form .text-input[readonly] {
  background: var(--paper-deep);
  color: var(--muted);
  cursor: not-allowed;
}

.profile-avatar-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: -1px;
  font-size: 9.5px;
  line-height: 1.55;
  color: var(--muted);
}

.inline-reset {
  padding: 0;
  background: transparent;
  color: var(--accent-deep);
  border: 0;
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-reset:hover {
  color: var(--ink);
}

.profile-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 25px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.profile-form-foot p {
  max-width: 365px;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--muted);
}

.profile-form-foot .btn {
  flex: 0 0 auto;
}

.profile-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-side .side-card {
  padding: 22px;
}

.profile-facts {
  margin-top: 14px;
}

.profile-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.profile-facts dt {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-facts dd {
  max-width: 190px;
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 600;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-note-card > p:not(.mono-label) {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.profile-note-card .text-link {
  margin-top: 15px;
  font-size: 10.5px;
}

@media (max-width: 980px) {
  .profile-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .profile-fields {
    grid-template-columns: 1fr;
  }

  .profile-avatar-field {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .dash-stats-head {
    margin-top: 29px;
  }

  .dash-stats {
    margin-top: 10px;
  }

  .account-copy strong,
  .account-copy small {
    max-width: 112px;
  }

  .profile-hero {
    padding: 22px 0 32px;
  }

  .profile-title-row {
    display: block;
    margin-top: 21px;
  }

  .profile-title-row h1 {
    margin-top: 14px;
    font-size: clamp(43px, 12vw, 57px);
  }

  .profile-title-row > div > p:last-child {
    margin-top: 14px;
    font-size: 12px;
  }

  .profile-back {
    width: 100%;
    margin-top: 20px;
  }

  .profile-layout {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .profile-card-head {
    display: block;
    padding: 23px;
  }

  .profile-avatar-large {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
    border-radius: 15px;
    box-shadow: 5px 5px 0 rgba(223, 244, 93, 0.24);
  }

  .profile-avatar-large .avatar-fallback {
    font-size: 36px;
  }

  .profile-card-copy {
    margin-top: 20px;
  }

  .profile-card-copy h2 {
    font-size: 26px;
  }

  .profile-form {
    padding: 20px;
  }

  .profile-form-foot {
    display: block;
  }

  .profile-form-foot p {
    max-width: none;
  }

  .profile-form-foot .btn {
    width: 100%;
    margin-top: 16px;
  }

  .gate-dialog,
  .notice-dialog {
    padding: 28px 22px 24px;
    border-radius: 14px;
  }

  .gate-dialog h2,
  .notice-dialog h2 {
    padding-right: 24px;
    font-size: 27px;
  }

  .account-edit {
    padding-inline: 7px;
  }
}

@media (max-width: 420px) {
  .account-copy {
    display: none;
  }

  .profile-card-copy h2 {
    white-space: normal;
  }
}
