:root {
  --atelier-ink: #152635;
  --atelier-muted: #516575;
  --atelier-line: #d6e0e5;
  --atelier-paper: #f2f5f7;
  --atelier-amber: #ffc270;
  --atelier-type: Inter, "Segoe UI", system-ui, sans-serif;
}
body.mr-ready, body.models-page {
  color: var(--atelier-ink);
  background: var(--atelier-paper);
  font-family: var(--atelier-type);
}
#viewMarkt #modellinoBrandHero {
  position: relative; display: grid; grid-template-columns: 1fr;
  width: min(calc(100% - 48px), 1232px); min-height: clamp(290px, 32vw, 400px);
  margin: 22px auto 0; overflow: hidden; border: none; border-radius: 22px;
  background: #0b1822; box-shadow: 0 9px 27px #12283917;
}
#viewMarkt #modellinoBrandHero .mna-hero-visual {
  position: absolute; inset: 0; height: 100%; max-height: none; aspect-ratio: auto;
  grid-area: auto; display: block; background: #0b1822;
}
#viewMarkt #modellinoBrandHero picture,
#viewMarkt #modellinoBrandHero .mna-hero-image {
  display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center;
}
#viewMarkt #modellinoBrandHero .mna-hero-content {
  z-index: 1; width: min(54%, 650px); grid-area: 1 / 1; align-self: stretch; justify-content: center;
  padding: clamp(24px, 4.4vw, 60px); background: linear-gradient(90deg,#08141eda, #08141e80 64%,transparent);
}
#viewMarkt #modellinoBrandHero h1 {
  color: #fff; font-size: clamp(2.2rem,4.5vw,4.25rem); font-weight: 730;
  line-height: 1.02; letter-spacing: -.055em;
}
#viewMarkt #modellinoBrandHero h1 span {display: block; color: #ffcb89;}
#viewMarkt #modellinoBrandHero .mna-description {
  display: block; color: #e0e9ee; font-size: 1rem; max-width: 36ch; line-height: 1.5; margin-top: 16px;
}
#viewMarkt #modellinoBrandHero .mna-actions {display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px;}
#viewMarkt #modellinoBrandHero .mna-action {
  flex: none; font: 680 .92rem/1.2 var(--atelier-type); padding: 12px 17px; border-radius: 8px;
  min-height: 44px; color: #251909; background: #ffc270; border: 1px solid #ffc270;
}
#viewMarkt #modellinoBrandHero .mna-action:hover {background: #ffd49a;}
#viewMarkt #modellinoBrandHero .mna-action-secondary {display:inline-flex; color: white; background: #142430db; border-color: #90a0a9;}
#viewMarkt #modellinoBrandHero .mna-action-secondary:hover {background: #2a4050;}
.mr-ready #siteChrome {border-bottom-color: var(--atelier-line);}
.mr-ready #siteChrome .mr-header-nav button[aria-current="page"] {background: #e9f0f4; color: #203b50;}
.mr-ready #siteSearch {background: #f3f6f8; border-color: #ccd7df;}
.mr-ready #viewMarkt .filters, .mr-ready #grid .card, .model-card, .models-main .model-login {
  border: 1px solid var(--atelier-line); box-shadow: 0 4px 14px #14283509; background-color: white;
}
.mr-ready #catGrid .cat-btn {background: #fff; border-color: var(--atelier-line); color: #334958;}
.mr-ready #catGrid .cat-btn.active {background: #183246; border-color: #183246; color: white; box-shadow: none;}
.mr-ready #viewMarkt .filter-sub h2 {color:var(--atelier-ink);}
.mr-ready #grid .card {border-radius: 14px;}
.mr-ready #grid .card:hover {border-color: #9cafbb; box-shadow: 0 9px 23px #17273b16;}
.mr-ready #grid .thumb {background-color: #e7ecef;}
.mr-ready #grid .mr-symbol {background: #101f2ee8; color: #fff;}
.mr-ready #grid .card-body {padding: 14px 16px;}
.mr-ready #grid .card-title {font-size: 1.025rem; line-height: 1.35; color: var(--atelier-ink);}
.mr-ready #grid .meta, .mr-ready #grid .ort {font-size: .8rem; color: var(--atelier-muted);}
.mr-ready #grid .price {color: #183247; font-variant-numeric: tabular-nums;}
.mr-ready #grid .offer-open-link {color: #244b61; text-underline-offset: .2em;}
#viewMarkt .atelier-destinations {
  position: static; width: min(calc(100% - 48px),1232px); display: grid; grid-template-columns: 1fr 1fr;
  margin: 10px auto 36px; padding:0; gap: 16px; background: transparent; border: 0; box-shadow: none;
}
.atelier-destination {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  min-height: 144px; padding: clamp(20px, 2.2vw, 32px); color: #f7fafc; text-decoration: none;
  background: #152938; border-radius: 16px;
}
.atelier-workshop {background: linear-gradient(90deg, #0a1823f5, #122739c2 62%, #16253166), url("/assets/modellino-studio.webp") center 60% / cover;}
.atelier-play {background: linear-gradient(90deg,#162d3bf7,#18364ac9), url("/assets/modellino-sammlerwelt.webp") right 68% / cover;}
.atelier-destination h2 {margin: 0 0 4px; font: 710 clamp(1.35rem,2vw,1.85rem)/1.14 var(--atelier-type); color: #fff; letter-spacing:-.035em;}
.atelier-destination p {margin:0; font: 400 .92rem/1.5 var(--atelier-type); color:#e0e9ee;}
.atelier-destination>span, .models-showroom-link {font: 650 .9rem/1.5 var(--atelier-type); text-decoration: underline; text-underline-offset: .32em;}
.atelier-destination>span {color: #ffd094;}
.atelier-destination:hover>span {color: white;}
.models-header {border-color:var(--atelier-line);}
.models-header nav a[aria-current] {color: #1d4056; background: #e8eff4;}
.models-main .models-intro {
  position: relative; isolation: isolate; overflow:hidden; padding: clamp(25px,4.3vw,56px);
  border: none; border-radius: 20px; background: linear-gradient(90deg, #0c1c2aef 5%, #142734da 48%, #172a3726),
  url("/assets/modellino-studio.webp") center 59% / cover;
}
.models-main .models-intro h1 {color: #fff; font-size: clamp(2.2rem,5vw,3.75rem); letter-spacing:-.055em; line-height:1.05;}
.models-main .models-intro p {max-width: 45ch; color: #e0e8ef; font-size: 1rem;}
.models-main .models-intro .model-primary {background:var(--atelier-amber);color:#281a0b!important;border-radius:8px;}
.models-main .models-showroom-link {display:inline-flex;align-items:center;min-height:44px;color:#fff;padding:6px 12px;}
.model-hub .model-section-heading h2 {color: var(--atelier-ink);}
.model-hub button.model-preview {background-color:#21303a;color:white;}
.model-hub .model-card .model-play {background:#203e52;color:white;border-color:#203e52;}
#viewModelGames .simple-preview, #viewModelGames #carWorkshopPanel {
  border:1px solid var(--atelier-line);border-radius:18px;padding:14px;background:#fff;color:var(--atelier-ink);
}
#viewModelGames .simple-preview #labStage {background:#152532 url("/assets/modellino-studio.webp") center/cover;}
#viewModelGames .lab-caption {background:#132333df;color:#f3f7f9;border-radius:12px;padding:4px 10px;}
#viewModelGames .model-workflow a {border-color:var(--atelier-line);}
#viewModelGames .model-workflow a:first-child {color:#1b425b;background:#e7eff5;}
#viewModelGames .simple-games .simple-primary {background:#203e52;color:white;}
#viewMarkt .atelier-destination:focus-visible, .models-intro a:focus-visible {outline:3px solid #e7ab57;outline-offset:3px;}
@media(max-width:900px) and (min-width:621px) {
  #viewMarkt #modellinoBrandHero .mna-hero-content {width:58%;padding:28px;}
}
@media(max-width:620px) {
  #viewMarkt #modellinoBrandHero {
    width:calc(100% - 24px);max-width:450px;min-height:0;aspect-ratio:1 / 1.10;margin:12px auto 0;border-radius:15px;
  }
  #viewMarkt #modellinoBrandHero .mna-hero-content {
    align-self:start;width:100%;padding:clamp(18px,5vw,26px);
    background:linear-gradient(#08131bb8, #0a18215e 62%, transparent);
  }
  #viewMarkt #modellinoBrandHero .mna-hero-image {object-position:50% 62%;}
  #viewMarkt #modellinoBrandHero h1 {font-size:clamp(1.9rem,7.7vw,2.65rem);line-height:1.04;}
  #viewMarkt #modellinoBrandHero h1 span {display:inline;}
  #viewMarkt #modellinoBrandHero .mna-description {font-size:.91rem;line-height:1.35;max-width:35ch;margin:9px 0 0;}
  #viewMarkt #modellinoBrandHero .mna-actions {margin-top:14px;gap:6px;}
  #viewMarkt #modellinoBrandHero .mna-action {padding:9px 12px;font-size:.86rem;}
  #viewMarkt .atelier-destinations {width:calc(100% - 28px);grid-template-columns:1fr;gap:10px;margin-bottom:24px;}
  .atelier-destination {min-height:110px;padding:20px;}
  .mr-ready #grid .card-body {padding:11px;}
  .models-main .models-intro {background-position:60% 60%;}
}
@media(max-height:480px) and (orientation:landscape) {
  #viewMarkt #modellinoBrandHero {min-height:200px;}
  #viewMarkt #modellinoBrandHero .mna-hero-content {padding:16px 26px;}
  #viewMarkt #modellinoBrandHero h1 {font-size:2rem;}
  #viewMarkt #modellinoBrandHero h1 span {display:inline;}
}
/* Shared product page styling on the independent permalink. */
body:has(.listing-shell) {background:var(--atelier-paper);color:var(--atelier-ink);font-family:var(--atelier-type);}
.listing-header {border-bottom-color:var(--atelier-line);}
.listing-shell .listing-gallery, .listing-shell .listing-information, .listing-shell .listing-summary {
  border-color:var(--atelier-line); border-radius:16px;
}
.listing-shell .listing-gallery {background:#e8edf0;}
.listing-shell .listing-information, .listing-shell .listing-summary {background:white;}
.listing-shell h1 {letter-spacing:-.045em;line-height:1.1;color:var(--atelier-ink);}
.listing-shell .listing-price {letter-spacing:-.045em;color:#19364b;font-variant-numeric:tabular-nums;}
.listing-shell .listing-original {background:#e7edef;}
.listing-shell .listing-other-images :is(a,button)[aria-pressed=true] {outline-color:#24566c;}
