

.gfd-wrap {
  --gfd-glow:      1.5;
  --gfd-btn-scale: 1;
  --gfd-mono:      ui-monospace, 'Cascadia Code', Menlo, 'DejaVu Sans Mono', monospace;
  font-family: inherit;
}
.gfd-wrap * { box-sizing: border-box; }
.gfd-btn {
  appearance: none; border: 0; background: transparent; color: inherit;
  font: inherit; cursor: pointer; text-align: inherit; padding: 0;
  font-family: inherit;
}

.amb-wrap {
  position: relative;
  padding: 36px 36px 32px;
  background: radial-gradient(ellipse at top, #131b22 0%, #0b0f13 70%);
  border-radius: 18px;
  border: 1px solid var(--gf-border, rgba(255,255,255,.08));
  overflow: hidden;
  margin: 24px 0;
}
.amb-head { text-align: center; margin-bottom: 28px; }

.amb-build-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 16px;
  border-radius: 999px;
  border: 1px solid rgba(34,197,94,.28);
  background: rgba(34,197,94,.07);
  color: var(--gf-text-dim, #a1a1aa);
  font-family: var(--gfd-mono);
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 0 12px rgba(34,197,94, calc(.08 * var(--gfd-glow)));
}
.amb-build-chip b {
  color: var(--gf-green, #22c55e);
  font-weight: 700;
  letter-spacing: .05em;
}

.amb-h2 {
  font-size: 30px; font-weight: 700;
  color: var(--gf-text, #e4e4e7); letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.25;
}
.amb-h2__accent {
  color: var(--gf-green, #22c55e);
  font-weight: 700;
}

.amb-sub { font-size: 15px; color: var(--gf-text-dim, #a1a1aa); margin-top: 12px; }

.amb-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px;
  margin-bottom: 14px;
}

.amb-btn {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  transform: scale(var(--gfd-btn-scale));
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  display: block;
  box-shadow:
    0 12px 40px rgba(34,197,94, calc(.18 * var(--gfd-glow))),
    inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform .2s cubic-bezier(.2,.8,.2,1);
  contain: layout style paint;
}
.amb-btn:hover {
  transform: scale(calc(var(--gfd-btn-scale) * 1.025));
  box-shadow:
    0 16px 50px rgba(34,197,94, calc(.28 * var(--gfd-glow))),
    inset 0 1px 0 rgba(255,255,255,.28);
}
.amb-shimmer {
  position: absolute; top: 0; bottom: 0; left: -55%;
  width: 55%;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.32) 50%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0,0,0);
}
.amb-halo {
  position: absolute; inset: -24px;
  background: radial-gradient(circle at 50% 50%, rgba(34,197,94, calc(.32 * var(--gfd-glow))) 0%, transparent 62%);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.gfd-wrap.gfd-attention .amb-shimmer,
.amb-btn:hover .amb-shimmer,
.amb-btn:focus-visible .amb-shimmer {
  opacity: 1;
  animation: gfd-sheen 2.8s ease-in-out 2;
}
.gfd-wrap.gfd-attention.gfd-attention--long .amb-shimmer {
  animation: gfd-sheen 3s ease-in-out 3;
}
.gfd-wrap.gfd-attention .amb-halo,
.amb-btn:hover .amb-halo,
.amb-btn:focus-visible .amb-halo {
  animation: gfd-pulse 2.8s ease-in-out 3;
}
.gfd-wrap.gfd-attention.gfd-attention--long .amb-halo {
  animation: gfd-pulse 3s ease-in-out 3;
}
.amb-btn-inner {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  color: #041607;
}
.amb-btn-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(0,0,0,.16);
  color: #041607;
  flex-shrink: 0;
}
.amb-btn-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.amb-btn-label {
  font-size: 16px; font-weight: 800;
  letter-spacing: -0.005em; line-height: 1.2;
}
.amb-btn-meta {
  font-size: 12.5px; font-family: var(--gfd-mono);
  opacity: .8; line-height: 1.2;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.amb-btn-arrow {
  font-size: 24px; font-weight: 800; color: #041607; opacity: .85;
  transition: transform .2s;
  flex-shrink: 0;
}
.amb-btn:hover .amb-btn-arrow { transform: translateX(4px); }

.amb-fill {
  position: absolute; top: 0; left: 0; bottom: 0; width: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,.25), rgba(255,255,255,.45));
  pointer-events: none; transition: none;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
.amb-btn.filling .amb-fill { transform: scaleX(1); transition: transform 1s cubic-bezier(.2,.8,.2,1); }

.amb-btn-size {
  display: inline-block;
  background: rgba(0,0,0,.2);
  color: #041607;
  padding: 2px 8px;
  border-radius: 5px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0;
  font-family: var(--gfd-mono);
}
.amb-btn-meta-suffix { opacity: .8; }

.amb-btn--help {
  background: rgba(245,158,11,.05);
  border: 1.5px solid rgba(245,158,11,.4);
  box-shadow:
    0 6px 20px rgba(245,158,11, calc(.08 * var(--gfd-glow))),
    inset 0 1px 0 rgba(245,158,11,.14);
}
.amb-btn--help:hover {
  background: rgba(245,158,11,.12);
  border-color: rgba(245,158,11,.7);
  box-shadow:
    0 12px 36px rgba(245,158,11, calc(.18 * var(--gfd-glow))),
    inset 0 1px 0 rgba(245,158,11,.22);
}
.amb-btn--help .amb-halo {
  background: radial-gradient(circle at 50% 50%, rgba(245,158,11, calc(.22 * var(--gfd-glow))) 0%, transparent 62%);
}
.amb-btn--help .amb-shimmer { display: none; }
.amb-btn--help .amb-btn-inner { color: #fff5e1; }
.amb-btn--help .amb-btn-icon {
  background: rgba(245,158,11,.16);
  color: #fbbf24;
  border: 1px solid rgba(245,158,11,.3);
}
.amb-btn--help .amb-btn-label { color: #fff; }
.amb-btn--help .amb-btn-meta { color: #fbbf24; opacity: .9; }
.amb-btn--help .amb-btn-arrow { color: #fbbf24; opacity: 1; }


.amb-btn--compact .amb-btn-inner { padding: 11px 14px; gap: 10px; }
.amb-btn--compact .amb-btn-icon { width: 32px; height: 32px; border-radius: 8px; }
.amb-btn--compact .amb-btn-text { gap: 3px; }
.amb-btn--compact .amb-btn-label { font-size: 14.5px; }
.amb-btn--compact .amb-btn-meta { font-size: 11.5px; }
.amb-btn--compact .amb-btn-arrow { font-size: 20px; }
.amb-btn--compact .amb-btn-size { font-size: 11px; padding: 1px 7px; }
.amb-btn--compact {
  box-shadow:
    0 6px 22px rgba(34,197,94, calc(.12 * var(--gfd-glow))),
    inset 0 1px 0 rgba(255,255,255,.22);
}
.amb-btn--compact:hover {
  transform: scale(calc(var(--gfd-btn-scale) * 1.015));
  box-shadow:
    0 10px 30px rgba(34,197,94, calc(.20 * var(--gfd-glow))),
    inset 0 1px 0 rgba(255,255,255,.22);
}

.amb-other { margin-top: 6px; }
.amb-other-head {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 13px 16px;
  background: transparent;
  border: 1px dashed var(--gf-border-hover, rgba(255,255,255,.14));
  border-radius: 10px;
  color: var(--gf-text-dim, #a1a1aa); cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.amb-other-head:hover {
  border-color: rgba(34,197,94,.35);
  color: var(--gf-text, #e4e4e7);
  background: rgba(34,197,94,.03);
}
.amb-other-chev {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  color: var(--gf-green, #22c55e);
  transition: transform .25s;
  flex-shrink: 0;
}
.amb-other-chev[data-open="true"] { transform: rotate(45deg); }
.amb-other-chev svg { display: block; }
.amb-other-label {
  font-family: var(--gfd-mono); letter-spacing: .05em; font-size: 14px;
}
.amb-other-hint { color: var(--gf-text-muted, #71717a); }
.amb-other-body { margin-top: 8px; display: none; }
.amb-other.is-open .amb-other-body { display: block; }
.amb-other-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 12px 16px;
  background: rgba(34,197,94,.05);
  border: 1px solid rgba(34,197,94,.22);
  border-radius: 10px;
  cursor: pointer; text-align: left;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.amb-other-btn:hover {
  background: rgba(34,197,94,.12);
  border-color: rgba(34,197,94,.4);
}
.amb-other-btn-icon {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 7px;
  background: rgba(34,197,94,.12); color: var(--gf-green, #22c55e);
  flex-shrink: 0;
}
.amb-other-btn-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.amb-other-btn-label { font-size: 14px; font-weight: 600; color: var(--gf-text, #e4e4e7); }
.amb-other-btn-meta { font-size: 11px; font-family: var(--gfd-mono); color: var(--gf-text-dim, #a1a1aa); }
.amb-other-btn-arrow { color: var(--gf-green, #22c55e); font-weight: 700; font-size: 16px; }

.shlep-note {
  position: relative;
  background: var(--gf-surface, #1c1c24);
  border: 1px solid rgba(34,197,94,.16);
  border-radius: 14px;
  margin-top: 20px;
  box-shadow: 0 0 30px rgba(34,197,94,.05), 0 2px 12px rgba(0,0,0,.3);
  overflow: visible;
}
.shlep-note__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0 0 20px;
  min-height: 46px;
  background: linear-gradient(135deg, rgba(34,197,94,.09) 0%, rgba(34,197,94,.02) 100%);
  border-bottom: 1px solid rgba(34,197,94,.10);
  border-radius: 14px 14px 0 0;
  position: relative;
  overflow: visible;
}
.shlep-note__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #1c1c24; background: #22c55e;
  padding: 5px 14px; border-radius: 8px;
  box-shadow: 0 0 10px rgba(34,197,94,.3);
  font-family: var(--gfd-mono);
}
.shlep-note__badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #1c1c24;
}
.shlep-note__cat-head {
  width: 100px; height: auto; flex-shrink: 0;
  margin-top: -30px; margin-bottom: -2px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.5));
  pointer-events: none;
  user-select: none;
}
.shlep-note__body {
  padding: 20px 24px; position: relative;
  max-height: none; overflow: hidden;
  transition: max-height .3s ease;
}
.shlep-note__body:not(.expanded) { max-height: 300px; }
.shlep-note__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, transparent 0%, var(--gf-surface, #1c1c24) 85%);
  pointer-events: none;
}
.shlep-note__more-wrap {
  padding: 0 24px 20px; margin-top: -8px;
  position: relative; z-index: 2;
}
.shlep-note__more {
  padding: 9px 16px;
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: 8px;
  color: var(--gf-green, #22c55e);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.shlep-note__more:hover { background: rgba(34,197,94,.16); border-color: rgba(34,197,94,.5); }


.shlep-note__body p,
.rel-content p {
  font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.78);
  margin: 8px 0; text-wrap: pretty;
}
.shlep-note__body ol, .shlep-note__body ul,
.rel-content ol, .rel-content ul {
  padding-left: 28px; margin: 10px 0;
}
.shlep-note__body li,
.rel-content li {
  font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,.78); margin-bottom: 6px;
}
.shlep-note__body ol > li::marker,
.rel-content ol > li::marker {
  color: var(--gf-green, #22c55e); font-weight: 700;
}
.shlep-note__body ul > li::marker,
.rel-content ul > li::marker {
  color: var(--gf-green, #22c55e);
}
.shlep-note__body code,
.rel-content code {
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.15);
  color: #4ade80;
  padding: 2px 7px; border-radius: 5px;
  font-size: 13px; font-family: var(--gfd-mono);
}
.shlep-note__body a,
.rel-content a {
  color: var(--gf-green, #22c55e);
  text-decoration: none;
  border-bottom: 1px solid rgba(34,197,94,.3);
  transition: border-color .2s, color .2s;
}
.shlep-note__body a:hover,
.rel-content a:hover {
  color: #4ade80;
  border-color: #4ade80;
}
.shlep-note__body strong,
.rel-content strong { color: #fff; font-weight: 700; }
.shlep-note__body em,
.rel-content em { color: rgba(255,255,255,.88); font-style: italic; }

.rel-section { margin-top: 40px; }

.rel-section__divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
}
.rel-section__divider::before,
.rel-section__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(34,197,94,.22) 30%,
    rgba(34,197,94,.22) 70%,
    transparent 100%);
}
.rel-section__divider-label {
  font-family: var(--gfd-mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gf-text-muted, #71717a);
  white-space: nowrap;
}
.rel-section__divider-label b {
  color: var(--gf-green, #22c55e);
  font-weight: 700;
  margin-right: 2px;
}

.rel-head {
  position: relative;
  margin: 0 0 18px;
  padding-left: 16px;
}
.rel-head::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: var(--gf-green, #22c55e);
  box-shadow: 0 0 10px rgba(34,197,94,.45);
}
.rel-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gf-text, #e4e4e7);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.rel-intro {
  font-size: 13px;
  color: var(--gf-text-dim, #a1a1aa);
  margin-top: 4px;
  max-width: 560px;
}

.rel-list { display: flex; flex-direction: column; gap: 10px; }

.rel-card {
  position: relative;
  background: var(--gf-surface, #1c1c24);
  border: 1px solid var(--gf-border, rgba(255,255,255,.08));
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .25s, background .25s;
}
.rel-card::before {
  content: '';
  position: absolute;
  left: 0; top: 10px; bottom: 10px;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, rgba(34,197,94,.55), rgba(34,197,94,.12));
  opacity: .6;
  transition: opacity .25s, width .25s, top .25s, bottom .25s;
}
.rel-card:hover {
  border-color: rgba(34,197,94,.22);
  background: #161c22;
}
.rel-card:hover::before {
  opacity: 1;
  width: 3px;
  top: 4px; bottom: 4px;
}
.rel-card.open {
  border-color: rgba(34,197,94,.3);
  background: #151b22;
  box-shadow:
    0 0 0 1px rgba(34,197,94, calc(.06 * var(--gfd-glow))),
    0 10px 26px rgba(0,0,0,.3);
}
.rel-card.open::before {
  opacity: 1;
  width: 3px;
  top: 0; bottom: 0;
  background: linear-gradient(180deg, var(--gf-green, #22c55e) 0%, rgba(34,197,94,.25) 100%);
}

.rel-head-btn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px 12px 22px;
  cursor: pointer;
  background:
    linear-gradient(90deg, rgba(34,197,94,.055), transparent 42%),
    transparent;
  border: 0;
  text-align: left;
  font-family: inherit;
  transition: background .2s;
}
.rel-head-btn:hover { background: rgba(34,197,94,.035); }
.rel-head-btn > .rel-version {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
}
.rel-head-btn > .rel-version + .rel-main {
  grid-column: 1;
  grid-row: 1;
  padding-right: min(250px, 38vw);
}
.rel-head-btn > .rel-version + .rel-main + .rel-author {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}
.rel-head-btn > .rel-version + .rel-main + .rel-author + .rel-chevron,
.rel-head-btn > .rel-version + .rel-main + .rel-chevron {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.rel-version {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 9px;
  font-family: var(--gfd-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gf-green, #22c55e);
  background: rgba(34,197,94,.07);
  border: 1px solid rgba(34,197,94,.2);
  border-radius: 6px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.rel-version--empty {
  color: var(--gf-text-muted, #71717a);
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.07);
}

.rel-main {
  min-width: 0;
  display: grid;
  gap: 7px;
}
.rel-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(118px, auto);
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.rel-title-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--gf-text, #e4e4e7);
  letter-spacing: -0.005em;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rel-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--gfd-mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--gf-text-muted, #71717a);
  line-height: 1.2;
  min-width: 0;
  flex-wrap: wrap;
}
.rel-meta-size {
  color: var(--gf-text-dim, #a1a1aa);
  font-weight: 600;
}
.rel-meta-dot {
  opacity: .35;
  flex-shrink: 0;
}

.rel-chevron {
  width: 30px; height: 30px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  color: var(--gf-text-muted, #71717a);
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.05);
  transition: transform .3s cubic-bezier(.2,.8,.2,1),
              color .2s, border-color .2s, background .2s;
  flex-shrink: 0;
}
.rel-chevron svg { display: block; }
.rel-card:hover .rel-chevron {
  color: var(--gf-green, #22c55e);
  border-color: rgba(34,197,94,.2);
  background: rgba(34,197,94,.06);
}
.rel-card.open .rel-chevron {
  transform: rotate(180deg);
  color: var(--gf-green, #22c55e);
  border-color: rgba(34,197,94,.32);
  background: rgba(34,197,94,.1);
}

.rel-body {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--gf-border, rgba(255,255,255,.08));
}
.rel-card.open .rel-body { display: flex; }

.rel-actions {
  padding: 14px 18px 16px;
  background: rgba(0,0,0,.18);
  border-bottom: 1px solid var(--gf-border, rgba(255,255,255,.08));
}
.rel-actions__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.rel-ufiler { margin-top: 10px; }
.rel-ufiler__summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 2px;
  color: var(--gf-text-muted, #71717a);
  font-family: var(--gfd-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  user-select: none;
  transition: color .15s;
}
.rel-ufiler__summary::-webkit-details-marker { display: none; }
.rel-ufiler__summary::marker { content: ''; }
.rel-ufiler__summary:hover { color: var(--gf-green, #22c55e); }
.rel-ufiler__plus {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px;
  color: var(--gf-green, #22c55e);
  transition: transform .2s;
}
.rel-ufiler__plus svg { display: block; }
.rel-ufiler[open] .rel-ufiler__plus { transform: rotate(45deg); }
.rel-ufiler[open] .rel-ufiler__summary { color: var(--gf-green, #22c55e); }
.rel-ufiler__link {
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(34,197,94,.18);
  background: rgba(34,197,94,.03);
  border-radius: 8px;
  color: var(--gf-text, #e4e4e7);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.rel-ufiler__link:hover {
  background: rgba(34,197,94,.08);
  border-color: rgba(34,197,94,.3);
  color: var(--gf-text, #e4e4e7);
}
.rel-ufiler__link svg { flex-shrink: 0; color: var(--gf-green, #22c55e); }
.rel-ufiler__link-meta {
  font-family: var(--gfd-mono);
  font-size: 11px; font-weight: 500;
  color: var(--gf-text-dim, #a1a1aa);
  margin-left: auto;
  white-space: nowrap;
}

.rel-content {
  padding: 22px 24px 24px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
}
.rel-content:empty { display: none; }
.rel-content > :first-child { margin-top: 0; }
.rel-content > :last-child { margin-bottom: 0; }

@keyframes gfd-sheen {
  0% { transform: translate3d(0,0,0) }
  60%, 100% { transform: translate3d(340%,0,0) }
}
@keyframes gfd-pulse {
  0%, 100% { opacity: .55; transform: scale(1) }
  50% { opacity: 1; transform: scale(1.05) }
}

@media (prefers-reduced-motion: reduce) {
  .gfd-wrap *,
  .gfd-wrap *::before,
  .gfd-wrap *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .amb-row { grid-template-columns: 1fr 1fr; }
  .amb-btn--help { grid-column: 1 / -1; }
  .amb-btn--help .amb-btn-inner { padding: 14px 22px; }
  .amb-btn--help .amb-btn-icon { width: 40px; height: 40px; }
}

.rel-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 4px;
  justify-self: end;
  min-width: 0;
  max-width: min(300px, 42vw);
}
.rel-author__sep {
  display: none;
}
.rel-author__by {
  font-family: var(--gfd-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(34,197,94,.55);
  flex-shrink: 0;
}
.rel-author__link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gf-text-dim, #a1a1aa);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: color .15s ease;
  line-height: 1;
  min-width: 0;
}
.rel-author__link:hover,
.rel-author__link:focus-visible {
  color: var(--gf-green, #22c55e);
  text-decoration: none;
  outline: none;
}
.rel-author__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: #0b0f13;
  border: 1px solid rgba(34,197,94,.32);
  box-shadow: 0 0 6px rgba(34,197,94,.15);
  transition: border-color .15s ease;
  display: block;
  flex-shrink: 0;
}
.rel-author__link:hover .rel-author__avatar,
.rel-author__link:focus-visible .rel-author__avatar {
  border-color: rgba(34,197,94,.7);
  box-shadow: 0 0 9px rgba(34,197,94,.4);
}
.rel-author__name {
  white-space: nowrap;
  min-width: 0;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--gf-text-dim, #a1a1aa);
}

@media (max-width: 720px) {
  .amb-wrap { padding: 24px 20px 20px; }
  .amb-row { grid-template-columns: 1fr; }
  .rel-head-btn { gap: 10px; padding: 11px 12px 11px 18px; }
  .rel-head-btn > .rel-version + .rel-main { padding-right: 138px; }
  .rel-title-row { grid-template-columns: minmax(0, 1fr) minmax(128px, auto); gap: 8px; }
  .rel-version { font-size: 11.5px; padding: 4px 8px; }
  .rel-title-text { font-size: 14px; white-space: normal; overflow-wrap: anywhere; }
  .rel-meta-line { font-size: 10.5px; }
  .rel-meta-dot { display: none; }
  .rel-chevron { width: 28px; height: 28px; }
  .rel-actions { padding: 12px 14px 14px; }
  .rel-actions__buttons { grid-template-columns: 1fr; }
  .rel-content { padding: 18px 16px 20px; font-size: 16px; }
  .rel-ufiler__link-meta { display: none; }
  .shlep-note__cat-head { width: 70px; margin-top: -24px; }
  .shlep-note__head { padding-left: 16px; min-height: 40px; }
  .shlep-note__badge { font-size: 11px; padding: 4px 10px; }
  .shlep-note__body { padding: 16px; }
  .shlep-note__more-wrap { padding: 0 16px 16px; }
  .rel-author { gap: 4px; max-width: 148px; }
  .rel-author__by { display: none; }
  .rel-author__name { max-width: 62px; }
}

.rel-author__guild {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  margin-left: 2px;
  border-radius: 4px;
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(34,197,94,.30);
  color: rgba(34,197,94,.85);
  font-family: var(--gfd-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.rel-author__link:hover .rel-author__guild,
.rel-author__link:focus-visible .rel-author__guild {
  background: rgba(34,197,94,.18);
  border-color: rgba(34,197,94,.55);
  color: var(--gf-green, #22c55e);
}

.rel-thanks {
  margin-top: 12px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(34,197,94,.04) 0%, rgba(34,197,94,.07) 100%);
  border: 1px solid rgba(34,197,94,.18);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rel-thanks__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rel-thanks__eyebrow {
  font-family: var(--gfd-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(34,197,94,.85);
  line-height: 1;
}
.rel-thanks__hint {
  font-size: 13px;
  color: var(--gf-text-dim, #a1a1aa);
  line-height: 1.4;
}
.rel-thanks__hint strong {
  color: #e4e4e7;
  font-weight: 700;
}
.rel-thanks__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.rel-thanks__sum {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gf-text-dim, #a1a1aa);
  line-height: 1;
}
.rel-thanks__sum strong {
  color: var(--gf-green, #22c55e);
  font-weight: 700;
}
.rel-thanks__sum--empty {
  font-style: italic;
  color: rgba(255,255,255,.45);
}
.rel-thanks__fish {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}
.rel-thanks__btn-icon .rel-thanks__fish {
  font-size: 14px;
}
.rel-thanks__btns {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}
.rel-thanks__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 11px;
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(34,197,94,.32);
  border-radius: 8px;
  color: #e4e4e7;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .1s ease;
  user-select: none;
}
.rel-thanks__btn:hover,
.rel-thanks__btn:focus-visible {
  background: rgba(34,197,94,.20);
  border-color: rgba(34,197,94,.7);
  box-shadow: 0 0 12px rgba(34,197,94,.35);
  transform: translateY(-1px);
  outline: none;
}
.rel-thanks__btn:active {
  transform: translateY(0);
  box-shadow: 0 0 6px rgba(34,197,94,.25);
}
.rel-thanks__btn-icon {
  display: inline-flex;
  align-items: center;
}
.rel-thanks__btn-amount {
  color: var(--gf-green, #22c55e);
}

.rel-thanks--done {
  opacity: .7;
}
.rel-thanks--done .rel-thanks__btns {
  display: none;
}
.rel-thanks--done::after {
  content: 'Благодарность отправлена';
  font-family: var(--gfd-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gf-green, #22c55e);
  align-self: flex-end;
}

@media (max-width: 540px) {
  .rel-thanks__row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rel-thanks__btns { width: 100%; justify-content: space-between; }
  .rel-thanks__btn { flex: 1 1 calc(50% - 3px); justify-content: center; padding: 9px 8px; }
}
