:root {
  --entry-ink: #101010;
  --entry-muted: #74746f;
  --entry-line: #deded8;
  --entry-paper: #fff;
  --entry-soft: #f4f4f1;
}
.word-page-body {
  background: var(--entry-paper);
  color: var(--entry-ink);
}
.premium-entry-page {
  overflow: hidden;
}
.premium-entry-hero {
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(38px, 5vw, 76px) clamp(20px, 5vw, 72px) clamp(72px, 8vw, 126px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.72fr);
  gap: clamp(52px, 8vw, 124px);
  align-items: center;
}
.entry-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(42px, 7vw, 88px);
  font-size: 0.78rem;
  font-weight: 700;
  color: #777;
}
.entry-breadcrumbs a {
  text-decoration: none;
}
.premium-entry-kicker,
.word-eyebrow,
.entry-section-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 700;
}
.premium-entry-kicker {
  color: var(--entry-muted);
}
.entry-title {
  width: 100%;
  margin: 18px 0 20px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.07em;
  white-space: nowrap;
}
.premium-language-line {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--entry-line);
  font-size: 1rem;
  color: #555;
}
.premium-language-line em {
  font-family: "DM Sans", Arial, sans-serif;
}
.premium-definition {
  padding: clamp(34px, 5vw, 58px) 0;
  border-bottom: 1px solid var(--entry-line);
}
.premium-definition .entry-section-label,
.premium-example .entry-section-label {
  color: #8a8a84;
  margin-bottom: 16px;
}
.premium-definition > p:last-child {
  margin: 0;
  max-width: 840px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.8rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.03em;
}
.premium-example {
  padding: 34px 0 0;
}
.premium-example blockquote {
  margin: 0;
  max-width: 760px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-style: normal;
  line-height: 1.7;
  color: #555;
}
.premium-entry-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  margin-top: 35px;
  color: #888;
  font-size: 0.76rem;
}
.premium-card-panel {
  position: sticky;
  top: 26px;
  min-width: 0;
}
.premium-card-frame {
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--entry-line);
  border-radius: 0px;
  background: #f7f7f3;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}
.public-card-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.public-card-stage {
  position: relative;
  width: 450px;
  margin: 0 auto;
  transform-origin: top center;
}
.card-action-bar {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 9px;
  margin-top: 17px;
}
.card-action-button {
  min-height: 49px;
  border: 1px solid #cfcfc8;
  border-radius: 0px;
  background: #fff;
  color: #111;
  font: 700 0.78rem/1 "DM Sans", sans-serif;
  cursor: pointer;
}
.card-action-primary {
  border-color: #111;
  background: #111;
  color: #fff;
}
.premium-card-note {
  margin: 12px 0 0;
  text-align: center;
  color: #8b8b85;
  font-size: 0.72rem;
}
.word-card {
  --c-bg: #fdfbf7;
  --c-text: #222;
  --c-accent: #b45309;
  width: 450px;
  height: 800px;
  padding: 58px 44px;
  background: var(--c-bg);
  color: var(--c-text);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: top left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 34px;
}
.word-block {
  margin-bottom: 24px;
}
.word-block h2 {
  width: 100%;
  white-space: nowrap;
  margin: 0;
  padding: 0 0 0.14em;
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
}
.pronunciation {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  opacity: 0.66;
}
.pos {
  font-size: 1.15rem;
  color: var(--c-accent);
  font-style: italic;
  margin-top: 7px;
}
.definition {
  font-size: 1.2em;
  line-height: 1.6;
  text-align: justify;
  margin: 0 0 34px;
}
.examples-block > span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  opacity: 0.65;
}
.examples-block ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.examples-block li {
  position: relative;
  padding-left: 22px;
  margin: 11px 0;
  line-height: 1.5;
  font-family: Georgia, serif;
  font-style: italic;
}
.examples-block li:before {
  content: "“";
  position: absolute;
  left: 0;
  top: -5px;
  font-size: 1.55em;
  color: var(--c-accent);
  font-weight: 700;
}
.watermark {
  position: absolute;
  bottom: 28px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  opacity: 0.45;
}
.layout-standard .word-block h2,
.layout-standard .definition,
.layout-standard .examples-block li {
  font-family: Georgia, serif;
}
.layout-modern {
  border-left: 12px solid var(--c-accent);
  padding-left: 32px;
}
.layout-modern .word-block h2 {
  font-family: Arial, sans-serif;
  font-weight: 900;
}
.layout-modern .pos {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 700;
}
.layout-modern .definition {
  text-align: left;
  font-family: Arial, sans-serif;
  font-weight: 500;
}
.layout-magazine .word-block h2 {
  font-family: Impact, Arial, sans-serif;
  text-transform: uppercase;
  line-height: 0.9;
}
.layout-magazine .definition {
  border-left: 5px solid var(--c-accent);
  padding-left: 14px;
  font-family: Georgia, serif;
  font-size: 1.32em;
}
.layout-minimalist {
  padding: 72px 50px;
}
.layout-minimalist .word-block h2 {
  font-family: Arial, sans-serif;
  font-weight: 300;
}
.layout-minimalist .pos {
  color: var(--c-text);
  opacity: 0.45;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}
.layout-minimalist .definition {
  text-align: left;
  font-family: Arial, sans-serif;
  font-weight: 300;
}
.layout-typewriter {
  font-family: "Roboto Mono", monospace;
}
.layout-typewriter .word-block h2 {
  font-family: "Roboto Mono", monospace;
  border-bottom: 2px dashed currentColor;
  padding-bottom: 12px;
}
.layout-typewriter .pos {
  background: var(--c-accent);
  color: var(--c-bg);
  display: inline-block;
  padding: 3px 7px;
}
.layout-typewriter .definition,
.layout-typewriter .examples-block li {
  font-family: "Roboto Mono", monospace;
  text-align: left;
}
.layout-brutalist {
  border: 10px solid var(--c-text);
  padding: 34px;
  box-shadow: 10px 10px 0 var(--c-accent);
}
.layout-brutalist .word-block h2 {
  font-family: Impact, Arial, sans-serif;
  text-transform: uppercase;
  line-height: 0.9;
}
.layout-brutalist .pos {
  color: var(--c-text);
  border: 2px solid currentColor;
  padding: 4px 7px;
  display: inline-block;
  text-transform: uppercase;
  font-family: "Roboto Mono", monospace;
}
.layout-brutalist .definition {
  font-family: Arial, sans-serif;
  font-weight: 700;
  text-align: left;
  border-bottom: 4px solid currentColor;
  padding-bottom: 17px;
}
.layout-centered {
  text-align: center;
  align-items: center;
}
.layout-centered .word-block h2,
.layout-centered .definition,
.layout-centered .examples-block li {
  font-family: Georgia, serif;
}
.layout-centered .definition {
  text-align: center;
}
.layout-elegant .word-block h2 {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  color: var(--c-accent);
}
.layout-elegant .definition,
.layout-elegant .examples-block li {
  font-family: Georgia, serif;
  text-align: center;
}
.layout-flashcard {
  border-radius: 25px;
}
.layout-flashcard .word-block {
  text-align: center;
  border-bottom: 3px solid var(--c-accent);
  padding-bottom: 18px;
}
.layout-flashcard .definition {
  text-align: center;
  font-family: Arial, sans-serif;
}
.layout-academic .word-block h2,
.layout-academic .definition,
.layout-academic .examples-block li {
  font-family: "Times New Roman", serif;
}
.layout-academic .definition {
  text-indent: 28px;
}
.format-portrait {
  height: 562.5px;
  padding-top: 42px;
  padding-bottom: 42px;
}
.format-square {
  height: 450px;
  padding: 34px 38px;
  justify-content: flex-start;
}
.format-square .card-top {
  margin-bottom: 18px;
}
.format-square .word-block {
  margin-bottom: 15px;
}
.format-square .definition {
  font-size: 1.05em;
  line-height: 1.45;
  margin-bottom: 18px;
}
.format-square .examples-block li {
  font-size: 0.9rem;
}
.format-square .watermark {
  bottom: 18px;
}
.premium-details-wrap {
  border-top: 1px solid var(--entry-line);
  border-bottom: 1px solid var(--entry-line);
  background: var(--entry-soft);
  padding: clamp(70px, 9vw, 130px) clamp(20px, 5vw, 72px);
}
.premium-details-heading,
.premium-details-grid {
  max-width: 1320px;
  margin: 0 auto;
}
.premium-details-heading {
  display: grid;
  grid-template-columns: 0.55fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.premium-details-heading h2 {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(2.8rem, 5.7vw, 6.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.premium-details-heading > p:last-child {
  margin: 0;
  max-width: 480px;
  color: #666;
  line-height: 1.7;
}
.premium-details-grid {
  margin-top: clamp(50px, 7vw, 86px);
}
.premium-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid #cfcfc8;
}
.premium-facts div {
  padding: 22px 22px 22px 0;
  border-bottom: 1px solid #cfcfc8;
}
.premium-facts dt {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8b8b84;
}
.premium-facts dd {
  margin: 8px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}
.premium-facts a {
  text-underline-offset: 3px;
}
.premium-tags {
  display: grid;
  grid-template-columns: 0.25fr 1fr;
  gap: 25px;
  margin-top: 28px;
  align-items: start;
}
.premium-tags > span {
  padding-top: 8px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8b8b84;
}
.word-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.word-tag-list a {
  padding: 9px 13px;
  border: 1px solid #cccc c5;
  border: 1px solid #ccc;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
}
.premium-create-cta {
  max-width: 1320px;
  margin: clamp(72px, 9vw, 126px) auto;
  padding: clamp(38px, 6vw, 76px);
  border-radius: 28px;
  background: #111;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
}
.premium-create-cta h2 {
  max-width: 800px;
  margin: 12px 0 20px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(2.8rem, 5.7vw, 6.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.premium-create-cta p:not(.word-eyebrow) {
  max-width: 660px;
  margin: 0;
  color: #bdbdb8;
  line-height: 1.65;
}
.premium-cta-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-width: 210px;
  padding: 18px 20px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 700;
}
.premium-related {
  padding-top: 0;
}
.word-related {
  max-width: 1320px;
  margin: auto;
  padding: 0 clamp(20px, 5vw, 72px) clamp(80px, 10vw, 140px);
}
.word-related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.word-related-heading h2 {
  margin: 8px 0 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(2.8rem, 5.7vw, 6.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.word-related-heading > a {
  font-size: 0.82rem;
  font-weight: 700;
}
.word-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.word-related-card {
  padding: 27px;
  border: 1px solid var(--entry-line);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  transition: 0.2s;
}
.word-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
}
.word-related-card span {
  color: #777;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.78rem;
  font-style: normal;
}
.word-related-card strong {
  display: block;
  width: 100%;
  margin-top: 24px;
  overflow: hidden;
  white-space: nowrap;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}
.word-related-card p {
  margin: 17px 0 0;
  color: #666;
  font-size: 0.86rem;
  line-height: 1.55;
}
.word-toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 1000;
  transform: translate(-50%, 15px);
  padding: 11px 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
.word-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.word-not-found {
  max-width: 780px;
  margin: auto;
  padding: 120px 24px;
  text-align: center;
}
@media (max-width: 1050px) {
  .premium-entry-hero {
    grid-template-columns: 1fr 420px;
    gap: 45px;
  }
  .premium-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .word-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .premium-create-cta {
    margin-left: 24px;
    margin-right: 24px;
  }
}
@media (max-width: 820px) {
  .premium-entry-hero {
    grid-template-columns: 1fr;
  }
  .premium-card-panel {
    position: static;
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }
  .premium-details-heading {
    grid-template-columns: 1fr;
  }
  .premium-details-heading > p:last-child {
    max-width: 650px;
  }
  .premium-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .premium-create-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .premium-cta-button {
    width: 100%;
  }
}
@media (max-width: 560px) {
  .premium-entry-hero {
    padding-top: 24px;
  }
  .entry-breadcrumbs {
    margin-bottom: 48px;
  }
  .entry-title {
    font-size: 72px;
  }
  .premium-definition > p:last-child {
    font-size: 2rem;
  }
  .premium-card-frame {
    padding: 12px;
    border-radius: 0px;
  }
  .card-action-bar {
    grid-template-columns: 1fr;
  }
  .card-action-button {
    min-height: 50px;
  }
  .premium-facts {
    grid-template-columns: 1fr;
  }
  .premium-tags {
    grid-template-columns: 1fr;
  }
  .premium-create-cta {
    margin: 56px 16px;
    padding: 34px 24px;
    border-radius: 22px;
  }
  .word-related-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .word-related-grid {
    grid-template-columns: 1fr;
  }
}

/* Keep the primary download action legible against global button rules. */
.card-action-button.card-action-primary,
.card-action-button.card-action-primary:link,
.card-action-button.card-action-primary:visited {
  border-color: #111;
  background: #111;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Match the homepage typography and make public entries fully responsive. */
.word-page-body,
.word-page-body button,
.word-page-body input,
.word-page-body select,
.word-page-body textarea {
  font-family: "DM Sans", Arial, sans-serif;
}

@media (max-width: 820px) {
  .premium-entry-hero {
    padding-left: 20px;
    padding-right: 20px;
    gap: 48px;
  }
  .premium-entry-copy,
  .premium-card-panel {
    min-width: 0;
  }
  .entry-title {
    max-width: 100%;
  }
  .premium-language-line {
    flex-wrap: wrap;
  }
  .premium-card-frame {
    width: 100%;
  }
  .public-card-viewport {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
  }
  .card-action-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .card-action-button {
    padding: 0 10px;
  }
}

@media (max-width: 560px) {
  .premium-entry-hero {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 64px;
  }
  .entry-breadcrumbs {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
  }
  .entry-title {
    font-size: 64px;
    line-height: 0.9;
  }
  .premium-language-line {
    gap: 9px 14px;
  }
  .premium-definition {
    padding: 30px 0;
  }
  .premium-example {
    padding-top: 28px;
  }
  .premium-card-frame {
    padding: 10px;
    border-radius: 16px;
  }
  .card-action-bar {
    grid-template-columns: 1fr;
  }
  .premium-card-note {
    padding: 0 8px;
    line-height: 1.45;
  }
  .premium-details-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .premium-details-heading {
    gap: 18px;
  }
  .premium-facts div {
    padding-right: 0;
  }
  .word-related {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Canonical public Portrait preview with a protected watermark zone. */
.public-card-render {
  height: 562.5px;
  padding-top: 42px;
  padding-bottom: 58px;
  justify-content: flex-start;
}

.public-card-render .watermark {
  display: block;
  visibility: visible;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 9999;
  opacity: 0.45;
  background: transparent;
}

@media (max-width: 1024px) {
  .premium-entry-hero {
    grid-template-columns: 1fr;
  }

  .premium-entry-copy {
    min-width: 0;
  }

  .premium-card-panel {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }

  .premium-card-frame {
    width: 100%;
    min-width: 0;
  }

  .public-card-viewport {
    width: min(100%, 450px);
    max-width: 450px;
    margin-inline: auto;
    overflow: visible;
  }

  .public-card-stage {
    margin-inline: auto;
  }
}

/* =========================================================
   Public entry pages v2 — editorial information architecture
   Card render rules above are intentionally left unchanged.
   ========================================================= */
.entry-page {
  --entry-content: 1320px;
}

.premium-entry-hero {
  align-items: start;
  padding-bottom: clamp(62px, 7vw, 100px);
}

.entry-breadcrumbs {
  margin-bottom: clamp(34px, 5vw, 62px);
}

.premium-entry-copy {
  min-width: 0;
}

.premium-entry-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45em;
}

.premium-language-line {
  padding-bottom: 30px;
}

.premium-example {
  padding-top: 32px;
}

.entry-tags {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--entry-line);
}

.entry-tags .entry-section-label {
  margin-bottom: 13px;
  color: #8a8a84;
}

.word-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.word-tag-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #c9c9c3;
  border-radius: 0;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.word-tag-list a:hover,
.word-tag-list a:focus-visible {
  border-color: #111;
  background: #111;
  color: #fff;
}

.premium-entry-byline {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--entry-line);
}

/* Keep exploring now follows the entry while browsing intent is highest. */
.word-related {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(64px, 8vw, 108px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--entry-line);
  border-bottom: 1px solid var(--entry-line);
  background: var(--entry-soft);
}

.word-related-heading,
.word-related-grid {
  width: 100%;
  max-width: var(--entry-content);
  margin-left: auto;
  margin-right: auto;
}

.word-related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.word-related-heading h2 {
  margin: 9px 0 0;
  max-width: 900px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.word-related-heading > a {
  flex: 0 0 auto;
  padding-bottom: 5px;
  color: #111;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}

.word-related-heading > a:hover,
.word-related-heading > a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.word-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #c9c9c3;
  border-left: 1px solid #c9c9c3;
}

.word-related-card {
  position: relative;
  min-width: 0;
  min-height: 265px;
  padding: 25px 24px 58px;
  border: 0;
  border-right: 1px solid #c9c9c3;
  border-bottom: 1px solid #c9c9c3;
  border-radius: 0;
  background: transparent;
  color: #111;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.16s ease, color 0.16s ease;
}

.word-related-card:hover {
  transform: none;
  box-shadow: none;
  background: #111;
  color: #fff;
}

.word-related-card .word-related-type {
  display: block;
  color: #777;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.word-related-card:hover .word-related-type,
.word-related-card:hover p {
  color: #cfcfca;
}

.word-related-card strong {
  display: block;
  width: 100%;
  margin-top: 34px;
  overflow: hidden;
  white-space: nowrap;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}

.word-related-card p {
  margin: 17px 0 0;
  color: #666;
  font-size: 0.84rem;
  line-height: 1.55;
}

.word-related-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  font-size: 1.15rem;
  font-weight: 700;
}

/* About this word / phrase — useful information, grouped by meaning. */
.premium-details-wrap {
  padding: clamp(72px, 9vw, 126px) clamp(20px, 5vw, 72px);
  border-top: 0;
  border-bottom: 1px solid var(--entry-line);
  background: #fff;
}

.premium-details-shell {
  width: 100%;
  max-width: var(--entry-content);
  margin: 0 auto;
}

.premium-details-heading {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(38px, 8vw, 110px);
  align-items: end;
}

.premium-details-title {
  min-width: 0;
}

.premium-details-title .word-eyebrow {
  margin-bottom: 12px;
}

.premium-details-heading h2 {
  margin: 0;
  white-space: nowrap;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(2.8rem, 5.7vw, 6.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.premium-details-heading > p:last-child {
  max-width: 470px;
  margin: 0 0 4px;
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
}

.premium-detail-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(54px, 7vw, 88px);
}

.premium-detail-group {
  min-width: 0;
  padding-top: 18px;
  border-top: 3px solid #111;
}

.premium-detail-group-label {
  margin: 0 0 24px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.premium-detail-group dl {
  margin: 0;
}

.premium-detail-group dl > div {
  display: grid;
  grid-template-columns: minmax(105px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--entry-line);
}

.premium-detail-group dt {
  color: #82827c;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.premium-detail-group dd {
  min-width: 0;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.premium-detail-group a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Full-width, square Definr CTA with bounded content. */
.premium-create-cta {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: #111;
  color: #fff;
}

.premium-create-cta-inner {
  width: 100%;
  max-width: var(--entry-content);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 86px) clamp(20px, 5vw, 72px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.premium-create-cta-copy {
  min-width: 0;
}

.premium-create-cta h2 {
  max-width: 820px;
  margin: 12px 0 20px;
}

.premium-create-cta-copy > p:not(.word-eyebrow) {
  max-width: 660px;
}

.premium-cta-button {
  border-radius: 0;
}

/* Site UI is square-cornered. Generated card design itself is untouched. */
.entry-page .premium-card-frame,
.entry-page .card-action-button,
.entry-page .word-related-card,
.entry-page .word-tag-list a,
.entry-page .premium-create-cta,
.entry-page .premium-cta-button {
  border-radius: 0;
}

@media (max-width: 1120px) {
  .word-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .premium-detail-group:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .premium-entry-hero {
    gap: 52px;
  }

  .premium-details-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .premium-details-heading > p:last-child {
    max-width: 650px;
  }

  .premium-detail-groups {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .premium-detail-group:last-child {
    grid-column: auto;
  }

  .premium-create-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .premium-create-cta .premium-cta-button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .premium-entry-hero {
    padding-bottom: 54px;
  }

  .entry-breadcrumbs {
    margin-bottom: 38px;
  }

  .entry-tags {
    margin-top: 26px;
    padding-top: 22px;
  }

  .premium-card-frame {
    border-radius: 0;
  }

  .word-related {
    padding: 54px 16px;
  }

  .word-related-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .word-related-heading h2 {
    font-size: clamp(2.3rem, 12vw, 3.8rem);
  }

  .word-related-grid {
    grid-template-columns: 1fr;
  }

  .word-related-card {
    min-height: 225px;
    padding: 23px 20px 54px;
  }

  .premium-details-wrap {
    padding: 58px 16px 64px;
  }

  .premium-details-heading h2 {
    white-space: normal;
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .premium-detail-groups {
    margin-top: 44px;
  }

  .premium-detail-group dl > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .premium-create-cta-inner {
    padding: 46px 20px;
  }
}

/* v2.1 — force readable white text on black interactive hover/focus states. */
.word-tag-list a:hover,
.word-tag-list a:focus-visible {
  border-color: #111 !important;
  background: #111 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.word-related-card:hover,
.word-related-card:focus-visible {
  background: #111 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.word-related-card:hover *,
.word-related-card:focus-visible * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* =========================================================
   THE CARD — public Word/Phrase shareable-card studio
   Manual style choice only. Existing Share / Save / Edit controls untouched.
   ========================================================= */

.entry-card-intro {
  margin: 0 0 14px;
}

.entry-card-intro > div {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.entry-card-intro .word-eyebrow {
  color: #111;
}

.entry-card-intro p:last-child {
  margin: 7px 0 0;
  color: #777;
  font-size: 0.78rem;
  line-height: 1.45;
}

.entry-card-style-picker {
  margin-top: 14px;
  padding: 15px 0 2px;
  border-top: 1px solid var(--entry-line);
}

.entry-card-style-current {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 11px;
}

.entry-card-style-current > span {
  color: #7d7d77;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.entry-card-style-current strong {
  min-width: 0;
  text-align: right;
  font-size: 0.78rem;
  font-weight: 700;
}

.entry-card-style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.entry-card-style-option {
  min-width: 0;
  min-height: 44px;
  padding: 8px 9px;
  border: 1px solid #d1d1cb;
  border-radius: 0;
  background: #fff;
  color: #111;
  -webkit-text-fill-color: #111;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  font: 700 0.69rem/1.15 "DM Sans", Arial, sans-serif;
  cursor: pointer;
}

.entry-card-style-option:hover,
.entry-card-style-option:focus-visible,
.entry-card-style-option.is-active {
  border-color: #111;
  background: #111;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.entry-card-style-option:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.entry-card-style-swatch {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border: 1px solid currentColor;
  background: #fff;
}

.swatch-definr {
  background: #fff;
  box-shadow: inset 0 -5px 0 #111;
}
.swatch-dictionary {
  background: #fdfbf7;
  box-shadow: inset 4px 0 0 #b45309;
}
.swatch-social {
  background: #0f172a;
  box-shadow: inset 4px 0 0 #0ea5e9;
}
.swatch-editorial {
  background: #fff7ed;
  box-shadow: inset 0 -5px 0 #ea580c;
}
.swatch-minimal {
  background: #fff;
  box-shadow: inset 0 0 0 1px #737373;
}
.swatch-loud {
  background: #ffdf26;
  box-shadow: inset 0 0 0 3px #000;
}
.swatch-classified {
  background: #f4ecd8;
  outline: 1px dashed #4a3728;
  outline-offset: -3px;
}
.swatch-neon {
  background: #1e1b4b;
  box-shadow: inset 0 0 0 2px #f43f5e;
}
.swatch-literary {
  background: #fff1f2;
  box-shadow: inset 0 -3px 0 #be123c;
}
.swatch-receipt {
  background: #fff;
  outline: 1px dashed #777;
  outline-offset: -3px;
}
.swatch-tabloid {
  background: #f4f0e6;
  box-shadow: inset 0 -5px 0 #b91c1c, inset 0 0 0 2px #171717;
}

.entry-card-style-option:hover .entry-card-style-swatch,
.entry-card-style-option:focus-visible .entry-card-style-swatch,
.entry-card-style-option.is-active .entry-card-style-swatch {
  border-color: #fff;
}

.entry-card-more-styles {
  margin-top: 10px;
  border-top: 1px solid var(--entry-line);
}

.entry-card-more-styles > summary {
  min-height: 42px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  color: #111;
  font-size: 0.74rem;
  font-weight: 700;
}

.entry-card-more-styles > summary::-webkit-details-marker {
  display: none;
}

.entry-card-more-styles > summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  border: 1px solid #cfcfc8;
  background: #fff;
  color: #111;
  font: 600 1rem/1 "DM Sans", Arial, sans-serif;
}

.entry-card-more-styles[open] > summary::after {
  content: "\2212";
}

.entry-card-more-styles > summary small {
  margin-left: auto;
  color: #85857f;
  font-size: 0.65rem;
  font-weight: 500;
}

.entry-card-style-grid-more {
  padding: 3px 0 10px;
}

/* Definr Dictionary — the default public-card house style. */
.layout-definr-dictionary {
  justify-content: center;
  padding: 58px 44px;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: "DM Sans", Arial, sans-serif;
}

.layout-definr-dictionary.format-portrait {
  justify-content: center;
  padding: 42px 40px;
}

.layout-definr-dictionary.format-square {
  justify-content: center;
  padding: 32px 36px;
}

.layout-definr-dictionary .card-top {
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid currentColor;
  opacity: 1;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.layout-definr-dictionary .card-top > span:first-child {
  display: none !important;
}

.layout-definr-dictionary .card-top > span:last-child {
  margin-left: 0;
  margin-right: auto;
  opacity: 0.58;
}

.layout-definr-dictionary .word-block {
  margin-bottom: 28px;
}

.layout-definr-dictionary .word-block h2 {
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.layout-definr-dictionary .pronunciation {
  margin-top: 12px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.88rem;
  opacity: 0.58;
}

.layout-definr-dictionary .pos {
  margin-top: 6px;
  color: var(--c-text);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 600;
  opacity: 0.72;
}

.layout-definr-dictionary .definition {
  margin: 0 0 28px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1.13em;
  line-height: 1.52;
  text-align: left;
}

.layout-definr-dictionary .definition::before {
  content: "Definition";
  display: block;
  margin-bottom: 10px;
  font-size: 0.62rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.5;
}

.layout-definr-dictionary .examples-block {
  padding-top: 18px;
  border-top: 1px solid currentColor;
}

.layout-definr-dictionary .examples-block > span {
  padding: 0;
  border: 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.62rem;
  opacity: 0.5;
}

.layout-definr-dictionary .examples-block ul {
  margin-top: 11px;
}

.layout-definr-dictionary .examples-block li {
  padding-left: 0;
  margin: 8px 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.5;
  color: var(--c-text);
  opacity: 0.76;
}

.layout-definr-dictionary .examples-block li::before {
  display: none;
}

.layout-definr-dictionary .watermark {
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.42;
}

.layout-definr-dictionary.format-portrait .card-top {
  margin-bottom: 20px;
}

.layout-definr-dictionary.format-portrait .word-block {
  margin-bottom: 20px;
}

.layout-definr-dictionary.format-portrait .definition {
  margin-bottom: 20px;
  font-size: 1.03em;
}

.layout-definr-dictionary.format-portrait .examples-block {
  padding-top: 14px;
}

/* Additional Creator layouts available through More styles. */
.layout-receipt {
  justify-content: center;
  padding: 54px 42px;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: "Roboto Mono", monospace;
}

.layout-receipt .card-top {
  padding-bottom: 14px;
  border-bottom: 2px dashed currentColor;
  font-family: "Roboto Mono", monospace;
}

.layout-receipt .word-block h2,
.layout-receipt .definition,
.layout-receipt .examples-block li,
.layout-receipt .pos {
  font-family: "Roboto Mono", monospace;
  text-align: left;
}

.layout-receipt .word-block h2 {
  font-weight: 600;
  letter-spacing: -0.04em;
}

.layout-receipt .pos {
  color: var(--c-text);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.layout-receipt .definition {
  padding: 18px 0;
  border-top: 2px dashed currentColor;
  border-bottom: 2px dashed currentColor;
  font-size: 1em;
}

.layout-receipt .examples-block > span {
  border-bottom-style: dashed;
}

.layout-receipt .examples-block li::before {
  content: ">";
  top: 0;
  font-size: 1em;
  color: inherit;
}

.layout-tabloid {
  justify-content: center;
  padding: 48px 38px;
  border: 8px solid var(--c-text);
  background: var(--c-bg);
  color: var(--c-text);
  font-family: "DM Sans", Arial, sans-serif;
}

.layout-tabloid .card-top {
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 5px solid var(--c-text);
  opacity: 1;
  font-weight: 700;
}

.layout-tabloid .word-block h2 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.layout-tabloid .pronunciation {
  opacity: 0.7;
}

.layout-tabloid .pos {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 7px;
  background: var(--c-accent);
  color: var(--c-bg);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.layout-tabloid .definition {
  padding-left: 12px;
  border-left: 6px solid var(--c-accent);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1.12em;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

.layout-tabloid .examples-block li {
  font-family: "DM Sans", Arial, sans-serif;
  font-style: normal;
}

@media (max-width: 620px) {
  .entry-card-style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-card-more-styles > summary small {
    display: none;
  }
}

/* THE CARD: keep style selector content left-aligned on mobile, matching desktop. */
@media (max-width: 620px) {
  .entry-card-style-option {
    justify-content: flex-start;
    text-align: left;
  }

  .entry-card-style-option > span:last-child {
    min-width: 0;
    flex: 1 1 auto;
    text-align: left;
  }
}
