@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/fonts/SpaceGrotesk-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/fonts/SpaceGrotesk-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/fonts/SpaceGrotesk-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Molend";
  src: url("./assets/fonts/Molend.otf") format("opentype");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg: #000;
  --text: #fafafa;
  --muted: #a1a1a1;
  --line: rgba(255, 255, 255, 0.2);
  --glass: rgba(255, 255, 255, 0.1);
  --glass-soft: rgba(255, 255, 255, 0.06);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --primary-grad: linear-gradient(164deg, #155dfc 0%, #9810fa 100%);
  --title: "Molend", "Space Grotesk", sans-serif;
  --body: "Space Grotesk", sans-serif;
  --connect-tile-height: 82px;
  --connect-tile-gap: 10px;
  --skills-target-height: calc((var(--connect-tile-height) * 2) + var(--connect-tile-gap));
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, rgba(118, 0, 255, 0.2), transparent 50%), radial-gradient(circle at 80% 30%, rgba(0, 194, 255, 0.18), transparent 45%), radial-gradient(circle at 50% 80%, rgba(255, 84, 84, 0.12), transparent 48%), #000;
  min-height: 100vh;
}

.photo-bg {
  position: fixed;
  top: var(--photo-bg-vv-top, 0px);
  left: var(--photo-bg-vv-left, 0px);
  width: var(--photo-bg-vv-width, 100vw);
  height: var(--photo-bg-vv-height, 100vh);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: top, left, width, height;
}

.photo-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(7, 5, 18, 0.7) 0%, rgba(19, 7, 47, 0.5) 48%, rgba(0, 0, 0, 0.7) 100%);
}

body.has-photo .photo-bg {
  opacity: 1;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}

.orb-1 {
  width: 280px;
  height: 280px;
  right: 8%;
  top: 14%;
  background: radial-gradient(circle, #00d3f3, transparent 70%);
}

.orb-2 {
  width: 210px;
  height: 210px;
  left: 22%;
  top: 8%;
  background: radial-gradient(circle, #ff6b4a, transparent 70%);
}

.orb-3 {
  width: 220px;
  height: 220px;
  left: 48%;
  bottom: 8%;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
}

.shell,
.editor-shell {
  max-width: 1024px;
  margin: 32px auto 40px;
  padding: 0 14px;
  position: relative;
  z-index: 2;
}

.page-frame {
  width: 960px;
  max-width: 100%;
  margin: 0 auto;
}

.glass {
  background: var(--glass-soft);
  border: 1px solid var(--line);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3), 0 4px 6px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.topbar {
  height: 72px;
  border-radius: var(--radius-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
  margin-bottom: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  font-weight: 700;
  opacity: 0.9;
}

h1,
.section-title,
h2,
h3,
h4,
.btn,
.pill,
.stat span,
.link-content strong {
  font-family: var(--title);
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.shell .topbar-title {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transform: translateY(2.75px);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
}

.grid-main {
  display: grid;
  grid-template-columns: 632px 304px;
  gap: 24px;
  width: 100%;
}

.left-column {
  display: contents;
}

.hero-block {
  grid-column: 1 / -1;
  grid-row: 1;
}

.work-block,
.skills-block {
  grid-column: 1;
}

.right-column {
  grid-column: 2;
  grid-row: 2 / span 2;
  display: flex;
  flex-direction: column;
  align-self: start;
}

.work-block {
  grid-row: 3;
}

.skills-block {
  grid-row: 2;
}

.hero-card {
  border-radius: var(--radius-xl);
  padding: 33px;
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 24px;
}

.avatar-wrap {
  position: relative;
  width: 128px;
  height: 128px;
}

.avatar-glow,
.avatar {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
}

.avatar-glow {
  background: linear-gradient(135deg, #2b7fff 0%, #ad46ff 50%, #f6339a 100%);
  opacity: 0.6;
  filter: blur(24px);
}

.avatar {
  background: linear-gradient(135deg, #155dfc 0%, #9810fa 100%);
  display: grid;
  place-items: center;
  font-family: var(--title);
  font-size: 48px;
  font-weight: 700;
}

.badge-row,
.cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

.pill-gradient {
  border: none;
  background: var(--primary-grad);
}

.hero-body h2 {
  margin: 14px 0 8px;
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.hero-body p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  max-width: 520px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0 24px;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary-grad);
  color: #fff;
  box-shadow: 0 10px 15px rgba(43, 127, 255, 0.3), 0 4px 6px rgba(43, 127, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--line);
  color: var(--text);
}

.btn-block {
  width: 100%;
  height: 36px;
}

.section-title {
  margin: 20px 0 10px;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.work-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  min-height: 255px;
  transition: transform 200ms ease;
}

.work-card:hover,
.link-item:hover,
.btn:hover {
  transform: translateY(-2px);
}

.work-visual {
  position: relative;
  height: 172px;
  overflow: hidden;
  isolation: isolate;
}

.work-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 180ms ease;
}

.work-preview.is-ready {
  opacity: 1;
}

.work-meta {
  padding: 16px;
  background: linear-gradient(180deg, rgba(30, 26, 34, 0.8), rgba(18, 18, 18, 0.92));
}

.work-meta h4 {
  margin: 0;
  font-size: 25px;
  line-height: 1;
}

.work-meta p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.stats {
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 8px;
}

.stat {
  margin-bottom: 10px;
}

.stat strong {
  display: block;
  font-family: var(--title);
  font-size: 48px;
  line-height: 1;
}

.stat span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: var(--connect-tile-gap, 10px);
}

.link-item {
  border-radius: var(--radius-lg);
  height: var(--connect-tile-height, 82px);
  min-height: var(--connect-tile-height, 82px);
  padding: 17px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  text-decoration: none;
  color: var(--text);
  transition: transform 200ms ease;
}

.link-item.featured {
  background: linear-gradient(165deg, rgba(21, 93, 252, 0.9), rgba(152, 16, 250, 0.9));
}

.link-icon {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-family: var(--title);
  font-size: 14px;
}

.link-icon svg,
.link-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.link-icon svg {
  color: #fafafa;
}

.link-icon-text {
  font-family: var(--title);
  font-size: 14px;
}

.link-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.link-content strong {
  font-size: 24px;
  line-height: 1;
}

.link-content small {
  color: var(--muted);
  font-size: 13px;
}

.featured .link-content small {
  color: rgba(255, 255, 255, 0.85);
}

.contact {
  border-radius: var(--radius-xl);
  padding: 21px;
  display: grid;
  gap: 12px;
}

.contact-input {
  min-height: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--muted);
  text-decoration: none;
}

.contact textarea.contact-input {
  display: block;
  min-height: 124px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.4;
}

.contact-status {
  margin: 2px 2px 0;
  min-height: 16px;
  font-size: 12px;
  color: var(--muted);
}

.contact-status.is-success {
  color: #b6ffcb;
}

.contact-status.is-error {
  color: #ffc0c0;
}

.skills {
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  height: var(--skills-target-height);
  min-height: var(--skills-target-height);
  align-items: center;
}

.skill-item {
  height: 100%;
  display: grid;
  grid-template-rows: 46px 34px 56px;
  align-content: center;
  justify-items: center;
  row-gap: 8px;
  text-align: center;
  padding: 0 6px;
}

.skill-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin: 0;
  background: var(--primary-grad);
  display: grid;
  place-items: center;
}

.skill-icon svg {
  width: 20px;
  height: 20px;
  color: #f6f7ff;
  display: block;
}

.skill-item h4 {
  margin: 0;
  font-size: 17px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-item p {
  margin: 0;
  font-size: 10px;
  line-height: 1.2;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.footer {
  margin-top: 30px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.editor-card {
  border-radius: var(--radius-xl);
  padding: 20px;
  display: grid;
  gap: 10px;
}

.editor-card h2 {
  margin: 0 0 4px;
  font-size: 32px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-family: var(--body);
  padding: 10px 12px;
}

select {
  cursor: pointer;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

.repeater {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.repeater h3 {
  margin: 0 0 8px;
}

.reorder-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0;
}

.reorder-btn {
  height: 38px;
  font-size: 11px;
  padding: 0 10px;
}

.reorder-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.icon-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  min-height: 46px;
  padding: 8px 10px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-image-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  min-height: 52px;
  padding: 8px 10px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-image-preview {
  width: 76px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-transform: none;
  letter-spacing: 0;
}

.project-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.link-preview {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.link-preview svg,
.link-preview img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.link-preview svg {
  color: #fafafa;
}

.editor-actions {
  align-content: center;
}

.crop-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.crop-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.crop-modal {
  width: min(720px, 100%);
  border-radius: 22px;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.crop-modal-head h2 {
  margin: 0 0 4px;
  font-size: 28px;
}

.crop-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  touch-action: none;
  user-select: none;
  cursor: grab;
}

.crop-stage.is-dragging {
  cursor: grabbing;
}

.crop-image {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  will-change: transform;
  pointer-events: none;
}

.crop-selection {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
}

.crop-selection.is-square {
  border-radius: 16px;
}

.crop-handle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(22, 101, 255, 0.95);
  position: absolute;
  margin: -6px 0 0 -6px;
  padding: 0;
}

.crop-handle-nw {
  left: 0;
  top: 0;
  cursor: nwse-resize;
}

.crop-handle-n {
  left: 50%;
  top: 0;
  cursor: ns-resize;
}

.crop-handle-ne {
  left: 100%;
  top: 0;
  cursor: nesw-resize;
}

.crop-handle-e {
  left: 100%;
  top: 50%;
  cursor: ew-resize;
}

.crop-handle-se {
  left: 100%;
  top: 100%;
  cursor: nwse-resize;
}

.crop-handle-s {
  left: 50%;
  top: 100%;
  cursor: ns-resize;
}

.crop-handle-sw {
  left: 0;
  top: 100%;
  cursor: nesw-resize;
}

.crop-handle-w {
  left: 0;
  top: 50%;
  cursor: ew-resize;
}

.crop-selection.is-square .crop-handle {
  display: none;
}

.crop-aspect {
  display: grid;
  gap: 6px;
}

.crop-aspect-label {
  font-family: var(--title);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
  color: var(--muted);
}

.crop-aspect-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.aspect-btn {
  height: 38px;
  padding: 0 12px;
  font-size: 11px;
}

.aspect-btn.is-active {
  background: var(--primary-grad);
  border-color: transparent;
  color: #fff;
}

.crop-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

.crop-toolbar label {
  margin: 0;
}

.crop-toolbar input[type="range"] {
  min-height: 26px;
  padding: 0;
}

.crop-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.reveal {
  animation: reveal 520ms ease both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .shell {
    max-width: 720px;
  }

  .shell .grid-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .shell .left-column,
  .shell .right-column {
    display: contents;
  }

  .shell .hero-block {
    order: 1;
  }

  .shell .work-block {
    order: 3;
  }

  .shell .connect-block {
    order: 3;
  }

  .shell .skills-block {
    order: 2;
  }

  .shell .message-block {
    order: 5;
  }

  .shell .hero-card {
    grid-template-columns: 96px 1fr;
    padding: 24px;
  }

  .shell .avatar-wrap {
    width: 96px;
    height: 96px;
  }

  .shell .avatar {
    font-size: 32px;
  }

  .shell .hero-body h2 {
    font-size: 34px;
  }

  .shell .skills {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
    min-height: 0;
  }

  .shell .skill-item {
    height: auto;
    grid-template-rows: auto auto auto;
    row-gap: 8px;
    padding: 8px;
  }

  .shell .link-item {
    height: auto;
  }

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

@media (max-width: 640px) {
  .shell {
    margin: 20px auto 28px;
    padding: 0 12px;
  }

  .shell .topbar {
    height: 64px;
    padding: 0 16px;
    margin-bottom: 14px;
  }

  .shell h1 {
    font-size: 20px;
  }

  .shell .topbar-title {
    line-height: 1;
    transform: translateY(2px);
  }

  .shell .section-title {
    font-size: 18px;
    margin: 10px 0 8px;
  }

  .shell .hero-card {
    padding: 18px;
    gap: 14px;
    border-radius: 20px;
    grid-template-columns: 1fr;
  }

  .shell .hero-body h2 {
    font-size: 24px;
    line-height: 1.02;
    margin: 8px 0 6px;
  }

  .shell .hero-body p {
    font-size: 15px;
    line-height: 1.45;
    max-width: none;
  }

  .shell .pill {
    height: 34px;
    padding: 0 12px;
    font-size: 11px;
  }

  .shell .btn {
    height: 44px;
    padding: 0 16px;
    font-size: 11px;
  }

  .shell .cta-row {
    gap: 8px;
  }

  .shell .cta-row .btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .shell .stats,
  .shell .contact,
  .shell .skills,
  .shell .work-card,
  .shell .link-item {
    border-radius: 20px;
  }

  .shell .stats,
  .shell .contact,
  .shell .skills {
    padding: 16px;
  }

  .shell .work-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .shell .work-visual {
    height: 168px;
  }

  .shell .work-meta h4 {
    font-size: 20px;
  }

  .shell .work-meta p {
    font-size: 12px;
  }

  .shell .link-item {
    min-height: 76px;
    padding: 14px;
    gap: 12px;
  }

  .shell .link-content strong {
    font-size: 20px;
  }

  .shell .contact-input {
    min-height: 46px;
    padding: 0 14px;
  }

  .shell .contact textarea.contact-input {
    min-height: 112px;
    padding: 12px 14px;
  }

  .shell .btn-block {
    height: 40px;
  }

  .orb {
    opacity: 0.35;
    filter: blur(22px);
  }

  .orb-1 {
    width: 220px;
    height: 220px;
  }

  .orb-2 {
    width: 165px;
    height: 165px;
  }

  .orb-3 {
    width: 172px;
    height: 172px;
  }

  .crop-modal {
    border-radius: 18px;
    padding: 14px;
  }

  .crop-modal-head h2 {
    font-size: 22px;
  }

  .crop-stage {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  .crop-toolbar {
    grid-template-columns: 1fr;
  }

  .crop-aspect-buttons {
    grid-template-columns: 1fr;
  }

  .crop-actions {
    justify-content: stretch;
  }

  .crop-actions .btn {
    flex: 1 1 0;
  }
}

@media (max-width: 380px) {
  .shell {
    padding: 0 10px;
  }

  .shell .topbar {
    height: 60px;
    padding: 0 12px;
  }

  .shell .brand {
    gap: 8px;
  }

  .shell .icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .shell h1 {
    font-size: 18px;
  }

  .shell .section-title {
    font-size: 17px;
    margin: 8px 0 7px;
  }

  .shell .hero-card {
    padding: 16px;
    gap: 12px;
  }

  .shell .hero-body h2 {
    font-size: 22px;
    line-height: 1;
    margin: 6px 0 5px;
  }

  .shell .hero-body p {
    font-size: 14px;
    line-height: 1.4;
  }

  .shell .pill {
    height: 32px;
    padding: 0 10px;
    font-size: 10px;
  }

  .shell .cta-row {
    flex-direction: column;
  }

  .shell .cta-row .btn {
    width: 100%;
  }

  .shell .stats {
    padding: 14px;
  }

  .shell .stat strong {
    font-size: 40px;
  }

  .shell .work-meta {
    padding: 14px;
  }

  .shell .work-meta h4 {
    font-size: 18px;
  }

  .shell .link-item {
    min-height: 72px;
    padding: 12px;
    gap: 10px;
    grid-template-columns: 42px 1fr;
  }

  .shell .link-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .shell .link-content strong {
    font-size: 18px;
  }

  .shell .link-content small {
    font-size: 12px;
  }

  .shell .contact {
    padding: 14px;
  }

  .shell .contact-input {
    min-height: 44px;
    padding: 0 12px;
  }

  .shell .contact textarea.contact-input {
    min-height: 104px;
    padding: 12px;
  }
}

@media (max-width: 640px) {
  .editor-shell h1 {
    font-size: 22px;
  }
}
