.a-designs-layout {
  --design-accent: #4ca5c7;
  --design-accent-bright: #8bd2e7;
  --design-line: rgba(223, 241, 248, 0.12);
  --design-panel: rgba(6, 25, 39, 0.72);
  --txt-font: "Yrsa", "vilna", Georgia, serif;
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 22px clamp(16px, 3vw, 42px) 72px;
  color: var(--body-color, #ebd9c8);
  direction: ltr;
  text-align: left;
  position: relative;
  isolation: isolate;
}

.a-designs-layout [hidden] { display: none !important; }
.a-designs-layout.is-detail { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0; }
.a-designs-layout.is-detail > .designs-heading,
.a-designs-layout.is-detail > .designs-toolbar { display: none; }

.designs-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  padding: 4px 0 7px;
}

.designs-heading-copy { display: flex; align-items: baseline; gap: 12px; max-width: none; }
.designs-eyebrow,
.design-detail-meta,
.design-card-author,
.design-date { color: rgba(221, 236, 243, 0.64); }
.designs-eyebrow {
  display: none;
  margin: 0;
  color: var(--design-accent-bright);
  font: 700 0.74rem/1.3 var(--sans101-font, sans-serif);
  text-transform: uppercase;
}
.designs-heading h1 {
  margin: 0;
  color: #f5fbfd;
  font: 700 1.55rem/1.1 var(--txt-font, Georgia, serif);
}
.designs-heading p {
  display: none;
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(235, 217, 200, 0.76);
  line-height: 1.65;
}

.designs-toolbar {
 
  align-items: center;
  padding: 0 0 16px;
}

.design-status {
  min-height: 1.25em;
  margin: 0;
  color: rgba(221, 236, 243, 0.66);
  font-size: 0.84rem;
  text-align: right;
}
.design-status[data-state="error"] { color: #ffaaa0; }

#posts-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}
.post-card {
  position: relative;
  display: flex;
  flex: 1 1 calc(33.333% - 24px);
  flex-direction: column;
  min-width: 260px;
  max-width: 440px;
  overflow: hidden;
  border: 1px solid rgba(223, 241, 248, 0.06);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(18, 49, 68, 0.76), rgba(6, 23, 36, 0.9));
  color: inherit;
  text-align: start;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.post-card:hover,
.post-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(139, 210, 231, 0.52);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.24);
}
.post-image-wrapper {
  position: relative;
  height: 350px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
}
.post-image-bg {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: cover;
  filter: blur(22px) saturate(1.25);
}
.post-image {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.post-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 18px 16px;
}
.post-title {
  margin: 0;
  color: #f4fbfd;
  font: 600 1.28rem/1.25 var(--txt-font, Georgia, serif);
}
.design-card-author { margin: 5px 0 0; font-size: 0.8rem; }
.post-preview {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 0 16px;
  color: rgba(235, 217, 200, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.post-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-top: auto;
}
.post-tags { display: flex; flex-wrap: wrap; gap: 4px 8px; color: rgba(139, 210, 231, 0.8); font-size: 0.76rem; }
.post-date { flex: 0 0 auto; margin: 0; color: rgba(221, 236, 243, 0.5); font-size: 0.72rem; }
.design-empty,
.design-loading,
.design-inline-status {
  width: 100%;
  padding: 28px 18px;
  color: rgba(235, 217, 200, 0.7);
  text-align: center;
}

#single-post-view { max-width: 1460px; margin: 0 auto; }
.design-detail-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 30px;
  align-items: start;
}
.design-detail-sidebar {
      display: flex;
    flex-direction: column;
    overflow: visible;
    position: sticky;
    top: 140px;
    height: calc(100vh - 170px);
    align-self: start;
    transition: 0.3s;
    overflow-y: auto;
}

.design-detail-sidebar::-webkit-scrollbar {
    display:none;
}
.design-detail-actions,
.design-action-group,
.design-section-heading,
.design-zip-toolbar,
.design-comment-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.design-detail-actions { justify-content: space-between; }
.design-action-group { flex: 0 0 auto; }
.design-button,
.design-icon-button,
.design-comment-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid rgba(223, 241, 248, 0.16);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.035);
  color: #eaf6fa;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.design-button:hover,
.design-icon-button:hover,
.design-comment-actions button:hover { border-color: var(--design-accent); background: rgba(76, 165, 199, 0.12); }
.design-icon-button { min-width: 40px; padding: 7px 9px; }
.design-icon-button svg,
.design-comment-like svg { width: 18px; height: 18px; fill: currentColor; }
.design-icon-button.is-active,
.design-comment-like.is-active { color: #ff8d8d; }
.design-back-button { white-space: nowrap; }
.design-small-button { min-height: 32px; padding: 6px 9px; font-size: 0.82rem; }
.design-submit-button { background: rgba(76, 165, 199, 0.15); }
.post-title-single {
 color: white;
    font-size: 2.5em;
    margin: 0px;
    text-align: center;
    font-family: var(--txt-font);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-top: 10px;
}
.design-detail-meta { margin: 0 0 18px; font-size: 0.72rem; text-align: center; }
.design-feature-image {
  display: block;
  width: 100%;
  max-height: 360px;
  margin: 0 0 18px;
  border-radius: 3px;
  object-fit: contain;
}
.design-detail-description { color: rgba(235, 217, 200, 0.88); font-family: var(--txt-font, Georgia, serif); text-align: justify; overflow-wrap: anywhere; }
.design-detail-description p { margin-block: 0.6em; font-size: 24px; line-height: 1.35; text-align: start; }
.design-fonts-used { margin-top: 20px; }
.design-fonts-used h2,
.design-comments h2,
.design-zip h2 { margin: 0 0 12px; color: #f0f7fa; font-size: 1.08rem; }
.design-fonts-used > div { display: flex; flex-wrap: wrap; gap: 8px; }
.design-font-tag { color: var(--design-accent-bright); text-decoration: none; }
.design-font-tag:hover { text-decoration: underline; }
.design-detail-reading { min-width: 0; }
.design-detail { position: relative; isolation: isolate; }
.design-feature-background { position: fixed;
    z-index: 0;
    top: 0;
    left: 50%;
    width: 100vw;
    max-height: 100vh;
    pointer-events: none;
    opacity: 0.2;
    transform: translateX(-50%);
    overflow: inherit;
    height: 100vh; }
.design-feature-background img { width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(80px) saturate(1.2) brightness(0.55);
    transform: scale(1.15);
    mask-image: linear-gradient(to bottom, #000 25%, transparent 95%);
    position: relative; }
.design-pdf-viewer { margin-bottom: 24px; }
.design-pdf-pages { display: grid; gap: 18px; }
.design-pdf-pages canvas { display: block; width: 100%; height: auto; border-radius: 18px; background: #fff; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.24); }
.design-pdf-pages .design-inline-status { padding: 28px 12px; border: 1px solid var(--design-line); }
.design-inline-status a { color: var(--design-accent-bright); }
.design-image-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; cursor: zoom-in; }
.design-image-open img { display: block; width: 100%; max-height: 780px; object-fit: contain; }
.design-image-open span { display: block; padding: 8px; color: rgba(235, 217, 200, 0.62); font-size: 0.8rem; }
.design-no-preview { padding: 42px; border: 1px solid var(--design-line); color: rgba(235, 217, 200, 0.58); text-align: center; }
.post-content-single { color: var(--body-color, #ebd9c8); font: 1.1rem/1.75 var(--txt-font, Georgia, serif); overflow-wrap: anywhere; }
.post-content-single h1,
.post-content-single h2,
.post-content-single h3 { color: #f3fbfd; line-height: 1.25; }
.post-content-single p { margin: 0 0 1em; }
.post-content-single a { color: var(--design-accent-bright); }
.post-content-single img,
.post-content-single video { max-width: 100%; height: auto; border-radius: 3px; }
.post-content-single table { width: 100%; border-collapse: collapse; }
.post-content-single th,
.post-content-single td { padding: 8px; border: 1px solid var(--design-line); }
.post-content-single blockquote { margin: 1.2em 0; padding: 4px 18px; border-left: 3px solid var(--design-accent); color: rgba(235, 217, 200, 0.75); }
.post-content-single pre { overflow: auto; padding: 16px; background: rgba(0, 0, 0, 0.35); }
.post-content-single [data-text] { cursor: pointer; }

.design-zip,
.design-comments { margin-top: 25px; border-top: 1px solid var(--design-line); }
.design-section-heading { justify-content: space-between; }
.design-section-heading h2 { margin: 0; }
.design-zip { border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 8px; background: rgba(255, 255, 255, 0.03); overflow: hidden; }
.design-zip-browser { margin-top: 0; padding: 12px 15px 15px; border: 0; background: rgba(255, 255, 255, 0.02); }
.design-zip-toolbar { justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); color: rgba(235, 217, 200, 0.65); font-size: 0.82rem; }
.design-zip-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; padding-top: 10px; }
.design-zip-item { display: flex; min-height: 84px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 8px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; background: rgba(255,255,255,0.025); color: #e5f1f5; cursor: pointer; overflow-wrap: anywhere; }
.design-zip-item:hover { border-color: var(--design-accent); }
.design-zip-item > span:first-child { color: var(--design-accent-bright); font-size: 1.3rem; }

.design-comment-form { display: grid; }
.design-comment-form label { display: grid; gap: 5px; color: rgba(235, 217, 200, 0.6); font-size: 0.78rem; }
.design-comment-form input,
.design-comment-form textarea,
.design-reply-form textarea,
.design-comment-edit textarea {
  width: 100%;
  min-height: 40px;
  padding: 10px 11px;
  border: 1px solid var(--design-line);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.19);
  color: #f0f7fa;
  font: inherit;
  resize: vertical;
}
.design-comment-list { display: grid; gap: 14px; margin-top: 18px; }
.design-comments-empty { color: rgba(235, 217, 200, 0.52); font-size: 0.88rem; }
.design-comment { padding: 13px; border: 1px solid rgba(223, 241, 248, 0.09); border-radius: 3px; background: rgba(0, 0, 0, 0.13); }
.design-comment > header { display: flex; align-items: center; gap: 8px; margin: 0; text-align: left; }
.design-comment > header strong { color: var(--design-accent-bright); font-size: 0.9rem; }
.design-comment > header time { margin-left: auto; color: rgba(235, 217, 200, 0.48); font-size: 0.72rem; }
.design-admin-tag { padding: 2px 5px; border-radius: 2px; background: #b98a45; color: #111; font-size: 0.65rem; }
.design-comment-text { margin: 9px 0; overflow-wrap: anywhere; }
.design-comment-actions { flex-wrap: wrap; gap: 7px; }
.design-comment-actions button { min-height: 30px; padding: 5px 8px; font-size: 0.77rem; }
.design-comment-like { gap: 5px !important; }
.design-reply-form,
.design-comment-edit { display: grid; gap: 8px; margin-top: 10px; }
.design-comment-edit > div { display: flex; gap: 8px; }
.design-comment-replies { display: grid; gap: 8px; margin: 12px 0 0 14px; padding-left: 12px; border-left: 2px solid rgba(76, 165, 199, 0.28); }
.design-poll { margin: 18px 0; padding: 16px; border: 1px solid var(--design-line); border-radius: 3px; background: rgba(3, 17, 28, 0.42); }
.design-poll-question { margin-bottom: 12px; font: 600 1rem/1.5 var(--sans101-font, sans-serif); }
.design-poll-actions { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.design-poll-actions button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--design-line); border-radius: 3px; background: rgba(255,255,255,0.04); color: #edf8fa; cursor: pointer; }
.design-poll-actions button:hover,
.design-poll-actions button.is-active { border-color: var(--design-accent); background: rgba(76,165,199,0.2); }
.design-poll-actions button:disabled { cursor: not-allowed; opacity: 0.65; }
#image-modal { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 24px; background: rgba(1, 8, 13, 0.92); }
#image-modal[hidden] { display: none; }
#image-modal img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
#image-modal button { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.24); border-radius: 3px; background: transparent; color: #fff; font-size: 1.8rem; cursor: pointer; }
#modal-caption { margin-top: 10px; color: rgba(255,255,255,0.65); text-align: center; }
.design-sheet-handle { display: none; }

body.a-designs-route {
  color-scheme: dark;
  --body-bgcolor: #0f253a;
  --body-color: #ebd9c8;
  --main-light: #007a7a;
  background: #0f253a;
  color: #ebd9c8;
}
body.a-designs-route .a-designs-layout { background: #0f253a; }
body.a-designs-route .a-frame { background: #0f253a; }
body.a-designs-route .a-content { width: 100%; max-width: none; margin: 0; padding: 140px 20px 20px !important; background: transparent; }
body.a-designs-route .adbnr { display: none; }
body.a-designs-route #aMainContent #single-post-content {
  color: #ebd9c8;
  background: transparent;
  border: 0;
  box-shadow: none;
}
body.a-designs-route #aMainContent .post-card {
  color: inherit;
  background: linear-gradient(150deg, rgba(18, 49, 68, 0.76), rgba(6, 23, 36, 0.9));
  border-color: rgba(223, 241, 248, 0.06);
  box-shadow: none;
}
body.a-designs-route #aMainContent .post-title,
body.a-designs-route #aMainContent .post-title-single,
body.a-designs-route #aMainContent .post-content-single h1,
body.a-designs-route #aMainContent .post-content-single h2,
body.a-designs-route #aMainContent .post-content-single h3 { color: #f3fbfd; }
body.a-designs-route #aMainContent #user-name-input,
body.a-designs-route #aMainContent #new-comment-text,
body.a-designs-route #aMainContent .reply-text,
body.a-designs-route #aMainContent .edit-comment-text {
  border-color: var(--design-line);
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0;
    padding: 1.25rem 0.2rem 0.55rem;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 980px) {
  .post-card { flex-basis: calc(50% - 24px); }
  .design-detail-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 22px; }
  .design-detail-sidebar { padding: 22px; }
  .post-title-single { font-size: 2rem; }
  .design-detail-description p { font-size: 20px; }
}

@media (max-width: 700px) {
  body.a-designs-route nav .navsearch { display: none; }
  .a-designs-layout { padding: 0 14px 48px; }
  .designs-heading { display: block; padding: 4px 0 7px; }
  .designs-heading h1 { font-size: 1.45rem; }
  .designs-toolbar { grid-template-columns: 1fr; gap: 8px; padding: 0 0 14px; }
  .design-status { text-align: left; }
  #posts-container { gap: 14px; }
  .post-card { flex-basis: 100%; max-width: none; min-width: 0; }
  .post-image-wrapper { height: 300px; }
  .design-detail-grid { display: flex; flex-direction: column; gap: 18px; }
  .design-detail-sidebar { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; top: auto; width: 100%; height: auto; max-height: var(--sheet-height, 60dvh); padding: 36px 16px max(18px, env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 20px 20px 0 0; background: rgba(7, 23, 34, 0.97); backdrop-filter: blur(18px); box-shadow: 0 -14px 38px rgba(0,0,0,0.34); }
  .design-sheet-handle { position: absolute; top: 8px; left: 50%; display: grid; place-items: center; width: 68px; height: 22px; padding: 0; transform: translateX(-50%); border: 0; background: transparent; touch-action: none; cursor: grab; }
  .design-sheet-handle span { width: 40px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.48); }
  .design-detail-reading { width: 100%; padding-bottom: 60dvh; }
  .design-detail-description p { font-size: 20px; line-height: 1.6; }
  .design-detail-sidebar:has(.design-comment-form:focus-within) { --sheet-height: 90dvh; }
}

@media (max-width: 420px) {
  .design-detail-actions { align-items: flex-start; }
  .design-back-button { padding: 7px; font-size: 0.78rem; }
  .design-icon-button { min-width: 36px; min-height: 36px; padding: 6px; }
  .post-title-single { font-size: 1.8rem; }
  .design-zip-toolbar { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .a-designs-layout *, .a-designs-layout *::before, .a-designs-layout *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Original designs.html values, scoped so the alpha shell remains untouched. */
.a-designs-layout {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.1);
  --txt-font: "Yrsa", "vilna";
  --sans101-font: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

.a-designs-layout:not(.is-detail) { width: 100%; max-width: 1500px; padding: 0; }
.a-designs-layout:not(.is-detail) > .designs-heading { display: none; }
.a-designs-layout #posts-list-view { max-width: 1200px; margin: 0 auto; margin-top: 10px; padding: 20px; }
.a-designs-layout #posts-container { display: flex; flex-wrap: wrap; flex-direction: row-reverse; gap: 25px; margin: auto; justify-content: center; align-items: stretch; }
.a-designs-layout .post-card,
body.a-designs-route #aMainContent .post-card {
  flex: 1 1 calc(33% - 25px);
  max-width: 420px;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  outline: 0 solid #9cdfff00;
  background: #ffffff0d;
  box-shadow: var(--shadow-light);
  color: inherit;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}
.a-designs-layout .post-card:hover,
body.a-designs-route #aMainContent .post-card:hover {
  transform: translateY(-2px);
  outline: 1px solid #9cdfffc4;
  box-shadow: var(--shadow-hover);
}
.a-designs-layout .post-image-wrapper { width: 100%; height: 350px; overflow: visible; background: transparent; }
.a-designs-layout .post-image-bg-wrapper {
      position: absolute;
    z-index: -1;
    width: 100%;
    height: 350px;
    top: 0;
    overflow: hidden;
    transition: 0.2s;
    opacity: 0.8;
}
.a-designs-layout .post-image-bg {
      width: 125%;
    height: 110%;
    left: -13%;
    top: -5%;
    object-fit: cover;
    position: absolute;
    filter: blur(7px) saturate(2) brightness(1) opacity(0.5);
    transition: 0.2s;
}
.a-designs-layout .post-card:hover .post-image-bg { filter: blur(7px) saturate(1.5) brightness(1) opacity(0.9); }
.a-designs-layout .post-image { width: 100%; height: 100%; object-fit: contain; transition: 0.2s; }
.a-designs-layout .post-content { font-family: var(--element-font);display: flex; flex: 1; flex-direction: column; padding: 15px; text-align: start; text-wrap: pretty; }
.a-designs-layout .post-title,
body.a-designs-route #aMainContent .post-title { 
    margin-block: 0;
    color: #fff;
    font-size: 1.3em;
    font-weight: 300;
    font-family: inherit; 
}
.a-designs-layout .design-card-author { margin: 0; color: #888; font-size: 0.85em; }
.a-designs-layout .post-preview { display: -webkit-box; overflow: hidden; margin: 8px 0 6px; color: #bbb; font-size: 13px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.a-designs-layout .post-meta-row { display: flex; align-self: stretch; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-width: 0; margin-top: auto; }
.a-designs-layout .design-card-author { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.a-designs-layout .post-date { flex: 0 0 auto; margin: 0; color: #7f8c8d; font-size: 0.9em; white-space: nowrap; }
.a-designs-layout:not(.is-detail) > .designs-toolbar { display: grid; }

.a-designs-layout .design-detail-sidebar { gap:10px; top: 140px; height: calc(100vh - 170px); max-height: calc(100vh - 170px); padding: 30px; border-radius: 20px; background: #0000003b; }
.a-designs-layout .post-title-single { 
    color: white;
    font-size: 2.5em;
    margin: 0px;
    text-align: center;
    font-family: var(--txt-font);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-top: 10px; }
.a-designs-layout .design-detail-meta { margin: -10px 0 0; color: #ccc; font-size: 10px; text-align: center; }
.a-designs-layout .design-detail-description { padding: 0; color: var(--body-color); font-family: var(--txt-font); text-align: justify; }
.a-designs-layout .design-detail-description h1,
.a-designs-layout .design-detail-description h2,
.a-designs-layout .design-detail-description h3 { margin-bottom: 0.3em; color: var(--body-color); font-family: var(--txt-font); line-height: normal; }
.a-designs-layout .design-detail-description p { margin-block: 0.6em; font-size: 24px; font-family: var(--txt-font); text-align: start; }
.a-designs-layout .design-detail-description p a { color: var(--primary-color); }
.a-designs-layout .design-detail-description figure { max-width: 100%; margin: 20px auto; }
.a-designs-layout .design-detail-description figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.a-designs-layout .design-detail-description figcaption { margin-top: 5px; color: #777; font-family: var(--sans101-font); font-size: 0.9em; font-style: italic; }
.a-designs-layout .design-detail-description blockquote { margin-left: 0; padding-left: 15px; border-left: 4px solid var(--primary-color); font-style: italic; }
.a-designs-layout .design-detail-description ul,
.a-designs-layout .design-detail-description ol { padding-left: 20px; }
.a-designs-layout .design-detail-description li { margin-inline-start: 10px; font-family: var(--txt-font); font-size: 24px; }
.a-designs-layout .design-detail-description pre { overflow-x: auto; padding: 15px; border-radius: 4px; background: #2d2d2d; color: #f8f8f2; white-space: pre-wrap; word-wrap: break-word; }
.a-designs-layout .design-detail-description code { padding: 4px 7px; border-radius: 5px; background: #00000094; font-family: monospace; font-size: 0.7em; }

.a-designs-layout .design-fonts-used { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.a-designs-layout .design-fonts-used h2 { margin: 10px 0 5px; color: #fff; font-family: var(--sans101-font); font-size: 1.1em; opacity: 0.8; }
.a-designs-layout .fonts-used-list { display: flex; flex-wrap: wrap; gap: 10px; }
.a-designs-layout .font-tag { 
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 12px;
    color: #fff;
    font-size: 26px;
    text-decoration: none;
    transition: 0.2s ease;
    background: #ffffff12;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 9%); 
}
.a-designs-layout .font-tag:hover { border-color: #ffffff66; background: #ffffff33; }

.a-designs-layout .design-button,
.a-designs-layout .design-icon-button {     
    min-height: 35px;
    height: 35px;
    padding: 8px 18px;
    border: none;
    border-radius: 10px;
    background: #ffffff12;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 9%); }
.a-designs-layout .design-icon-button { display: inline-flex; align-items: center; gap: 5px; }
.a-designs-layout .design-icon-button svg { width: 20px; height: 20px; fill: #fff; }
.a-designs-layout .design-button:hover,
.a-designs-layout .design-icon-button:hover { background: #ffffff1a; color: #fff; }
.a-designs-layout .design-back-button { display: inline-flex; text-decoration: none; }
.a-designs-layout .design-small-button { height: auto; min-height: 0; padding: 4px 8px; font-size: 0.9em; }
.a-designs-layout .design-submit-button { margin-top: 8px; padding: 8px 14px; }
.a-designs-layout .design-submit-button:hover {background: #ffffff0d; }
.a-designs-layout .design-poll { width: 100%; margin-block: 20px; padding: 18px 16px; border: 0; border-radius: 12px; background: #00000033; box-shadow: 0 2px 12px #0001; text-align: center; }
.a-designs-layout .design-poll-question p { margin-block: 5px; }
.a-designs-layout .design-poll-question img { display: block; max-width: 100%; height: auto; margin: 0 auto 10px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.a-designs-layout .design-poll-actions button { border-radius: 8px; }
.a-designs-layout .design-poll-actions button:hover { background: #ffffff1a; color: #fff; }

.a-designs-layout #comments-section { font-family: var(--element-font); }
.a-designs-layout #comments-section::before { position: relative; display: flex; width: 100%; height: 3px; margin-bottom: 10px; border-radius: 30px; background: #ffffff21; content: ""; }
.a-designs-layout .design-comment-form { margin-bottom: 12px; padding: 10px; border-radius: 12px; background: #00000042; }
.a-designs-layout .design-comment-form input,
.a-designs-layout .design-comment-form textarea,
.a-designs-layout .design-reply-form textarea,
.a-designs-layout .design-comment-edit textarea { margin-block: 4px; padding: 8px; border: 0; border-radius: 6px; background: #00000042; color: #fff; font-family: inherit; }
.a-designs-layout .design-comment-form textarea { min-height: 60px; }
.a-designs-layout .design-comment { margin-block: 15px; padding: 12px 16px; border: 0; border-radius: 8px; background: #00000042; box-shadow: 0 2px 8px #0001; }
.a-designs-layout .design-comment-actions button { min-height: 0; height: auto; padding: 6px 12px; border: 0; border-radius: 8px; outline: none; background: #ffffff0d; color: #fff; font-size: 1em; text-decoration: none; transition: 0.3s; }
.a-designs-layout .design-comment-actions button:hover { background: #ffffff21; color: #fff; }
.a-designs-layout .design-comment-actions .design-comment-like { height: 30px; padding: 7px 11px; border: 1px solid #3498db; border-radius: 18px; background: #0000; color: #3498db; }
.a-designs-layout .design-comment-actions .design-comment-like svg { fill: #3498db; }
.a-designs-layout .design-comment-actions .design-comment-like:hover { background: #3498db; color: #fff; }
.a-designs-layout .design-comment-actions .design-comment-like:hover svg { fill: #fff; }
.a-designs-layout .design-comment-replies { border-inline-start: 3px solid rgba(255, 255, 255, 0.3); }

.a-designs-layout .design-zip { margin-top: 10px;  border-radius: 15px; background: #ffffff05; overflow: hidden; flex-shrink: 0; }
.a-designs-layout .design-zip-heading { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 8px 15px; border-bottom: 1px solid #ffffff15; background: #ffffff05; }
.a-designs-layout .design-zip-toggle { display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; height: 100%; padding: 4px 8px; border: 0; background: transparent; color: #fff; cursor: pointer; font-family: inherit; font-size: 1.1em; font-weight: 600; text-align: left; }
.a-designs-layout .design-zip-toggle:hover { background: transparent; color: #5dade2; }
.a-designs-layout .design-zip-toggle-chevron { display: inline-flex; align-items: center; justify-content: center; transition: transform 0.3s ease; }
.a-designs-layout .design-zip-toggle-chevron svg { height: 26px; fill: #fff; }
.a-body .a-designs-layout .design-zip-toggle-chevron svg { fill: #000; }
.a-designs-layout .design-zip-toggle-chevron.expanded { transform: rotate(180deg); }
.a-designs-layout .design-zip-download { flex: 0 0 auto; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer; font: inherit; white-space: nowrap; }
.a-designs-layout .design-zip-download:hover { background: #ffffff1a; color: #5dade2; }
.a-designs-layout .design-zip-browser { display: grid; grid-template-rows: 0fr; padding: 0 15px; overflow: hidden; border: 0; background: transparent; opacity: 0; transition: grid-template-rows 260ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 180ms ease; }
.a-designs-layout .design-zip-browser.is-open { grid-template-rows: 1fr; opacity: 1; }
.a-designs-layout .design-zip-browser-inner { min-height: 0; overflow: hidden; padding: 0; transition: padding 260ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.a-designs-layout .design-zip-browser.is-open .design-zip-browser-inner { padding: 12px 0 15px; }
.a-designs-layout .design-zip-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid #ffffff15; color: #fff; }
.a-designs-layout .design-zip-back { flex: 0 0 auto; padding: 4px 8px; border: 0; background: transparent; color: var(--design-accent-bright); cursor: pointer; font: inherit; }
.a-designs-layout .design-zip-back:hover { color: #fff; }
.a-designs-layout .design-zip-breadcrumbs { min-width: 0; flex: 1; overflow-x: auto; }
.a-designs-layout .design-zip-breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 0; margin: 0; padding: 0; list-style: none; }
.a-designs-layout .design-zip-breadcrumbs li { display: inline-flex; min-width: 0; align-items: center; }
.a-designs-layout .design-zip-breadcrumbs li + li::before { padding-inline: 8px; color: #ffffff70; content: "/"; }
.a-designs-layout .design-zip-breadcrumbs button,
.a-designs-layout .design-zip-breadcrumbs [aria-current="page"] { max-width: 220px; overflow: hidden; color: rgba(235, 217, 200, 0.72); font: inherit; text-overflow: ellipsis; white-space: nowrap; }
.a-designs-layout .design-zip-breadcrumbs button { padding: 2px 0; border: 0; background: transparent; cursor: pointer; }
.a-designs-layout .design-zip-breadcrumbs button:hover { color: var(--design-accent-bright); }
.a-designs-layout .design-zip-breadcrumbs [aria-current="page"] { color: #f2f8fa; }
.a-designs-layout .design-zip-items { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 8px; opacity: 1; transform: translateY(0); transition: opacity 140ms ease, transform 140ms ease; }
.a-designs-layout .design-zip-items.is-changing { opacity: 0; transform: translateY(5px); }
.a-designs-layout .design-zip-item {     display: grid;
    grid-template-columns: 24px minmax(0, 1fr) minmax(54px, 92px) auto;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 46px;
    padding: 6px 12px;
    overflow: hidden;
    border: none;
    border-radius: 11px;
    background: #ffffff06;
    color: #edf5f7;
    cursor: pointer;
    text-align: start;
    background: #ffffff12;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 9%); }
.a-designs-layout .design-zip-item:hover { border-color: var(--design-accent); background: #ffffff10; }
.a-designs-layout .design-zip-item-icon { display: block; width: 22px; height: 22px; object-fit: contain; }
.a-designs-layout .design-zip-item-name { min-width: 0; overflow: hidden; color: #f2f8fa; font-size: 15px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.a-designs-layout .design-zip-item-type { min-width: 0; overflow: hidden; color: rgba(221, 236, 243, 0.62); font-size: 0.75em; text-overflow: ellipsis; white-space: nowrap;text-align:center; }
.a-designs-layout .design-zip-item-action { color: var(--design-accent-bright); font-size: 0.76em; white-space: nowrap; }
.a-designs-layout .design-zip-item-action svg {
    width: 18px;
    stroke: var(--design-accent);
    fill: var(--design-accent);
}
.a-designs-layout .design-zip-empty { margin: 0; padding: 16px 8px; color: rgba(221, 236, 243, 0.62); font-size: 0.88em; text-align: center; }
.a-designs-layout .design-zip button:focus-visible,
.a-designs-layout .design-zip a:focus-visible { outline: 2px solid var(--design-accent-bright); outline-offset: 2px; }
.a-designs-layout #image-modal button { top: 30px; right: 40px; width: auto; height: auto; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 40px; }

@media (prefers-reduced-motion: reduce) {
  .a-designs-layout .design-zip-browser,
  .a-designs-layout .design-zip-items { transition: none; }
}

@media (max-width: 1100px) {
  .a-designs-layout .design-detail-grid { grid-template-columns: 1fr 1fr; }
  .a-designs-layout .post-title-single { font-size: 2em; }
  .a-designs-layout .design-detail-description p { font-size: 20px; }
  .a-designs-layout .post-image-wrapper,
  .a-designs-layout .post-image-bg-wrapper { height: 300px; }
}
@media (max-width: 930px) {
  .a-designs-layout .post-card { flex: 1 1 calc(50% - 25px); }
  .a-designs-layout .post-image-wrapper,
  .a-designs-layout .post-image-bg-wrapper { height: 350px; }
}
@media (max-width: 699px) {
  body.a-designs-route:has(.design-detail-sidebar) #floating-actions-container { display: none; }
  .a-designs-layout .post-card { flex: 1 1 calc(100% - 25px); }
  body.a-designs-route #aMainContent .post-card { flex: 1 1 calc(100% - 25px); }
  .a-designs-layout .design-detail-grid { grid-template-columns: 1fr; gap: 20px; }
  .a-designs-layout.is-detail.a-route-reveal { transform: none; }
  .a-designs-layout .design-detail-sidebar { top: auto; right: 0; bottom: 0; left: 0; z-index: 1000; width: 100%; height: var(--sheet-height, 20vh); height: var(--sheet-height, 20dvh); max-height: 90dvh; box-sizing: border-box; padding: 40px 15px max(15px, env(safe-area-inset-bottom)); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #ffffff15; border-bottom: none; border-radius: 20px 20px 0 0; background: #101b26; box-shadow: 0 -4px 20px rgba(0,0,0,0.5); backdrop-filter: blur(15px); transition: height 250ms ease; }
  .a-designs-layout .design-detail-sidebar.is-sheet-dragging { transition: none; cursor: grabbing; }
  .a-designs-layout .design-detail-reading { max-height: none; padding-bottom: 20dvh; }
.a-designs-layout .design-sheet-handle {
        height: 25px;
        border-radius: 20px 20px 0 0;
        background: #0d151e;
        width: 100%;
        top: 0;
    }
    .a-body .a-designs-layout .design-sheet-handle { background: #ffffff0d; }
    .a-body .a-designs-layout .design-sheet-handle span { background: #4242424d; }
      .a-designs-layout .design-sheet-handle span { width: 50px; height: 5px; border-radius: 3px; background: #ffffff4d; }
  .a-designs-layout .design-detail-description p { font-size: 20px; line-height: 1.6; }
  .a-designs-layout .design-detail-actions { flex-wrap: wrap; }
  .a-designs-layout .design-action-group { min-width: 0; flex-wrap: wrap; justify-content: flex-end; }
  .a-designs-layout .design-feature-background { left: 0; width: 100vw; overflow: hidden; transform: none; }
  .a-designs-layout .design-feature-background img { max-width: none; }
}

body.a-body.a-designs-route {
  --design-accent: var(--a-accent);
  --design-accent-bright: #397b83;
  --design-line: var(--a-border);
  --design-panel: var(--a-surface);
  --body-bgcolor: var(--a-page);
  --body-color: var(--a-ink);
  color-scheme: light;
  background: var(--a-page);
  color: var(--a-ink);
}
body.a-body.a-designs-route .a-frame,
body.a-body.a-designs-route .a-content,
body.a-body.a-designs-route .a-designs-layout { background: transparent; }
body.a-body.a-designs-route .a-theme-toggle { color: var(--a-ink); border-color: var(--a-border); background: var(--a-surface); }
body.a-body.a-designs-route .nav-fade { background: linear-gradient(180deg, rgb(243 246 245 / 94%), transparent); }
body.a-body.a-designs-route #aMainContent #single-post-content { color: var(--a-ink); }
body.a-body.a-designs-route #aMainContent .post-card { border-color: var(--a-border); background: var(--a-surface); box-shadow: 0 5px 20px rgb(31 55 52 / 6%); }
body.a-body.a-designs-route #aMainContent .post-title,
body.a-body.a-designs-route #aMainContent .post-title-single,
body.a-body.a-designs-route #aMainContent .post-content-single h1,
body.a-body.a-designs-route #aMainContent .post-content-single h2,
body.a-body.a-designs-route #aMainContent .post-content-single h3,
body.a-body.a-designs-route #aMainContent .design-fonts-used h2,
body.a-body.a-designs-route #aMainContent .design-comments h2 { color: var(--a-ink); }
body.a-body.a-designs-route #aMainContent .post-preview,
body.a-body.a-designs-route #aMainContent .post-date,
body.a-body.a-designs-route #aMainContent .design-card-author,
body.a-body.a-designs-route #aMainContent .design-detail-meta,
body.a-body.a-designs-route #aMainContent .design-comments-empty { color: var(--a-muted); }
body.a-body.a-designs-route #aMainContent .design-detail-sidebar { border-color: var(--a-border); background: rgb(255 255 255 / 94%); box-shadow: 0 8px 28px rgb(31 55 52 / 8%); }
body.a-body.a-designs-route #aMainContent .design-detail-description,
body.a-body.a-designs-route #aMainContent .post-content-single { color: var(--a-ink); }
body.a-body.a-designs-route #aMainContent .design-detail-description blockquote,
body.a-body.a-designs-route #aMainContent .design-detail-description figcaption { color: var(--a-muted); }
body.a-body.a-designs-route #aMainContent .design-fonts-used .font-tag { color: var(--a-accent); background: var(--a-soft-surface); box-shadow: none; }
body.a-body.a-designs-route #aMainContent .design-button,
body.a-body.a-designs-route #aMainContent .design-icon-button { border: 1px solid var(--a-border); background: var(--a-soft-surface); color: var(--a-ink); box-shadow: none; }
body.a-body.a-designs-route #aMainContent .design-button:hover,
body.a-body.a-designs-route #aMainContent .design-icon-button:hover { border-color: var(--a-accent); background: #e3efec; color: #173a3d; }
body.a-body.a-designs-route #aMainContent .design-button svg,
body.a-body.a-designs-route #aMainContent .design-icon-button svg { fill: currentColor; }
body.a-body.a-designs-route #aMainContent .design-zip,
body.a-body.a-designs-route #aMainContent .design-comment-form,
body.a-body.a-designs-route #aMainContent .design-comment { border-color: var(--a-border); background: var(--a-surface); color: var(--a-ink); box-shadow: 0 4px 16px rgb(31 55 52 / 5%); }
body.a-body.a-designs-route #aMainContent .design-zip-heading { border-color: var(--a-border); background: var(--a-soft-surface); }
body.a-body.a-designs-route #aMainContent .design-zip-toggle,
body.a-body.a-designs-route #aMainContent .design-zip-download { color: var(--a-ink); }
body.a-body.a-designs-route #aMainContent .design-zip-download:hover { background: #e3efec; color: var(--a-accent); }
body.a-body.a-designs-route #aMainContent .design-zip-toolbar { border-color: var(--a-border); color: var(--a-muted); }
body.a-body.a-designs-route #aMainContent .design-zip-back,
body.a-body.a-designs-route #aMainContent .design-zip-breadcrumbs button,
body.a-body.a-designs-route #aMainContent .design-zip-breadcrumbs [aria-current="page"] { color: var(--a-ink); }
body.a-body.a-designs-route #aMainContent .design-zip-breadcrumbs li + li::before { color: #849795; }
body.a-body.a-designs-route #aMainContent .design-zip-item { border: 1px solid var(--a-border); background: var(--a-surface); color: var(--a-ink); box-shadow: 0 2px 8px rgb(31 55 52 / 4%); }
body.a-body.a-designs-route #aMainContent .design-zip-item:hover { border-color: var(--a-accent); background: var(--a-soft-surface); }
body.a-body.a-designs-route #aMainContent .design-zip-item-name { color: var(--a-ink); }
body.a-body.a-designs-route #aMainContent .design-zip-item-type,
body.a-body.a-designs-route #aMainContent .design-zip-empty { color: var(--a-muted); }
body.a-body.a-designs-route #aMainContent .design-zip-item-action { color: var(--a-accent); }
body.a-body.a-designs-route #aMainContent .design-comment-form label { color: var(--a-muted); }
body.a-body.a-designs-route #aMainContent #user-name-input,
body.a-body.a-designs-route #aMainContent #new-comment-text,
body.a-body.a-designs-route #aMainContent .design-comment-form input,
body.a-body.a-designs-route #aMainContent .design-comment-form textarea,
body.a-body.a-designs-route #aMainContent .design-reply-form textarea,
body.a-body.a-designs-route #aMainContent .design-comment-edit textarea { color: var(--a-ink);
    border-color: var(--a-border); }
body.a-body.a-designs-route #aMainContent .design-comment > header strong { color: var(--a-accent); }
body.a-body.a-designs-route #aMainContent .design-comment > header time { color: var(--a-muted); }
body.a-body.a-designs-route #aMainContent .design-comment-actions button { border: 1px solid var(--a-border); background: var(--a-soft-surface); color: var(--a-ink); }
body.a-body.a-designs-route #aMainContent .design-comment-actions button:hover { background: #e3efec; }
body.a-body.a-designs-route #aMainContent .design-poll { border: 1px solid var(--a-border); background: var(--a-surface); color: var(--a-ink); }
body.a-body.a-designs-route #aMainContent .design-poll-actions button { border-color: var(--a-border); background: var(--a-soft-surface); color: var(--a-ink); }
body.a-body.a-designs-route #aMainContent .design-poll-actions button:hover,
body.a-body.a-designs-route #aMainContent .design-poll-actions button.is-active { border-color: var(--a-accent); background: #e3efec; }
body.a-body.a-designs-route .design-feature-background { opacity: 0.1; }
body.a-body.a-designs-route .design-feature-background img { filter: blur(80px) saturate(0.65) brightness(1.15); }
body.a-body.a-designs-route .a-route-skeleton .a-skeleton-hero { border-color: var(--a-border); background: var(--a-surface); }
body.a-body.a-designs-route .a-route-skeleton .a-skeleton-line,
body.a-body.a-designs-route .a-route-skeleton .a-skeleton-toolbar span,
body.a-body.a-designs-route .a-route-skeleton .a-skeleton-card,
body.a-body.a-designs-route .a-route-skeleton .a-skeleton-card i {
  background-color: var(--a-soft-surface);
  background-image: linear-gradient(100deg, #dfe9e6 20%, #f8fbfa 42%, #dfe9e6 64%);
  box-shadow: inset 0 0 0 1px rgb(29 52 55 / 4%);
}
body.a-body.a-designs-route .a-route-skeleton .a-skeleton-card { border: 1px solid var(--a-border); }


.post-image-bg {
  opacity: 1; /* Change from 0 to 1 */
  visibility: visible; /* Change from hidden to visible */
  /* or display: block; if it was set to display: none; */
}

