main .hero {
  min-height: 380px;
  background: radial-gradient(ellipse at 82% 24%, #466945, #192921 60%, #121b16);
}
main .hero-copy { max-width: 36rem; }
main .hero-copy > p:not(.eyebrow) { max-width: 32rem; font-size: 1rem; }
main [data-answer-aspect], main #author-next {
  margin-block: 16px;
  padding: clamp(16px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
main [data-answer-aspect] h2, main #author-next h2 { margin-bottom: 12px; }
main [data-answer-aspect] p, main #author-next p { margin-bottom: 0; }
main .article-intro { margin-bottom: 24px; }
main .article-intro p { max-width: 68ch; }
.quick-nav a { min-width: 0; overflow-wrap: anywhere; }
.topbar .mobile-menu { margin-left: auto; }
@media (max-width: 480px) {
  main .hero { min-height: 0; }
  main .hero-copy { padding: 26px 20px; }
}
main .article-intro h1 { overflow-wrap: anywhere; hyphens: auto; }
main .home-lead { max-width: 62ch; margin: 24px 0; }
main [data-answer-aspect] h2 { overflow-wrap: anywhere; hyphens: auto; }

body { --muted: #dcd1ef; --line: #514262; --casombie-surface: #1c142b; }
body, .shell > .topbar { background: var(--bg); }
.sidebar, .preview-bar, footer, .mobile-menu nav { background: var(--casombie-surface); }
.sidebar nav a { color: var(--text); }
.sidebar nav a[aria-current] { background: var(--panel); }
.brand img, .header-brand img { display: block; max-width: 100%; height: auto; }
.header-brand { display: none; }
.topbar .header-cta { background: var(--accent); color: var(--bg); }
.brand-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  margin-bottom: 24px;
}
.brand-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; z-index: -2; }
.brand-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #161024 0%, #161024cc 72%, #16102420 92%); z-index: -1; }
.brand-hero > [data-commercial-hero] { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(18px,4vw,54px); min-height: 355px; max-width: 64%; }
.brand-hero h1 { overflow-wrap: anywhere; font-size: clamp(30px,4.6vw,64px); line-height: 1.04; margin: 0 0 20px; }
[data-commercial-offer] { color: var(--accent); font-size: clamp(20px,2.4vw,34px); font-weight: 800; margin: 0; }
[data-offer-terms] { color: var(--text); font-size: 14px; margin: 8px 0 16px; }
main [data-answer-aspect] a, main #author-next a { text-decoration: underline; text-underline-offset: .2em; }
.table-scroll { overflow-x: auto; margin-top: 18px; }
.table-scroll table { border-collapse: collapse; width: 100%; }
.table-scroll :is(td,th) { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.table-scroll caption { text-align: left; padding: 8px 12px; }
@media(max-width:980px) {
  .header-brand { display: block; min-width: 0; max-width: 125px; margin-right: auto; }
  .topbar .locale,.topbar .top-button,.topbar .top-links { display: none; }
  .topbar .mobile-menu { margin-left: 0; }
  .mobile-menu nav { max-height: calc(100dvh - 90px); overflow-y: auto; }
}
@media(max-width:620px) {
  .brand-hero > [data-commercial-hero] { max-width: 100%; min-height: 305px; }
  .brand-hero::after { background: linear-gradient(90deg,#161024f5,#161024cc); }
  .topbar { gap: 8px; }
  .topbar .header-cta,.mobile-menu summary { padding-inline: 8px; }
}
main .detail-section { margin-block: 24px; }
main .detail-section h2 { overflow-wrap: anywhere; hyphens: auto; margin-bottom: 14px; }
main .detail-section p { max-width: 76ch; }
.quick-nav a { background: var(--panel); }

body[data-canonical-layout] main .canonical-games .slot-art { aspect-ratio: 16/9; background: var(--bg); }
body[data-canonical-layout] main .canonical-games .slot-cover { object-fit: contain; }

@media (min-width: 761px) and (max-width: 980px) {
  body[data-canonical-layout] .shell { margin-left: 0; }
  body[data-canonical-layout] .topbar .header-brand { display: block; }
  body[data-canonical-layout] .topbar .top-links { display: none; }
  body[data-canonical-layout] .mobile-menu > nav { max-height: 70vh; }
}

body[data-canonical-layout] main .canonical-games .slot-title { min-height: 0; }
body[data-canonical-layout] main .canonical-brand-cards > .bonus-card p { color: var(--bg); }
footer .brand img { width: 156px; }

/* The partner wordmark is taller than the preview's former wordmark. */
body[data-canonical-layout] :is(.sidebar .brand, footer .brand) img[data-brand-logo] {
  width: min(100%, 180px);
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

main .depth-section dl { display: grid; gap: 0.5rem; max-width: 65ch; }
main .depth-section dt { font-weight: 700; color: var(--accent); }
main .depth-section dd { margin: 0 0 0.6rem; }
main .depth-section li { margin-bottom: 0.5rem; }
main .depth-section [data-example-input],
main .depth-section [data-example-result] {
  border-inline-start: 3px solid var(--accent);
  padding: 0.65rem 1rem;
  background: var(--panel);
}

main .topic-section { margin-block: 2.25rem; }
main .topic-section .prose-section { margin-block: 0.9rem; }
main .topic-section h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
  hyphens: auto;
}
main .topic-section > .topic-intro { max-width: 76ch; }

.shell main .lite-editor,
.shell main .tool {
  background: var(--panel);
  border-color: var(--line);
  color: var(--text);
}
.shell main .tool :is(label, input, select, textarea, button, .formula) {
  color: var(--text);
}
.shell main .tool :is(input, select, textarea) {
  background: var(--bg);
  border-color: #9b85b8;
  color-scheme: dark;
}
.shell main .tool :is(input, textarea)::placeholder,
.shell main .tool :is(label small, .tool-note, .tool-result dt, .copy-status) {
  color: #d8c8ec;
}
.shell main .tool button {
  border-color: #9b85b8;
}
.shell main .tool button:hover {
  background: #37274d;
}
.shell main .tool button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.shell main .tool button.primary:hover {
  background: #ddff9c;
  border-color: #ddff9c;
}
.shell main .tool :is(input, select, textarea, button, a):focus-visible,
.shell main .lite-editor a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.shell main .tool [aria-invalid="true"] {
  border-color: #ffada4;
}
.shell main .tool :is(.tool-result, .tool-result dl > div, details) {
  border-color: var(--line);
}
.shell main .tool :is(.tool-label, .result-value, summary),
.shell main .lite-editor :is(.lite-editor-role, a) {
  color: var(--accent);
}
.shell main .lite-editor .editor-linkedin {
  background: var(--bg);
  border-color: #9b85b8;
  color: var(--text);
}
.shell main .lite-editor .editor-linkedin:hover {
  background: #37274d;
}

main .licence-record [data-answer-aspect] {
  margin-block: 0.65rem;
  padding: 0;
  border: 0;
  background: transparent;
}
