.format-lanes {
  --feature-height: clamp(22rem, 32vw, 27rem);
  --feature-inset: clamp(20px, 3.3vw, 48px);
  --feature-gap: clamp(26px, 5vw, 64px);
  margin: clamp(50px, 8vw, 108px) 0 clamp(45px, 7vw, 92px);
  padding-inline: clamp(4px, 1.8vw, 24px);
}
.format-lanes, .format-collection, .catalog-section { scroll-margin-top: 92px }
.catalog-heading, .format-collection-head, .format-collection-actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px 20px;
}
.catalog-heading { border-bottom: 1px solid #e2e7dc; padding-bottom: 16px; margin-bottom: 26px }
#lane-title {
  margin: 0;
  color: #20271b;
  font: 800 clamp(2rem, 4.7vw, 3.6rem)/1 Manrope, Inter, Arial, sans-serif;
  letter-spacing: -.055em;
}
.catalog-heading nav { display: flex; flex-wrap: wrap; gap: 6px 16px }
.catalog-heading nav a {
  color: #384a30;
  font-size: .92rem;
  font-weight: 700;
  padding-block: 6px;
  text-underline-offset: .25em;
}
#style-shelves { display: grid; gap: clamp(26px, 5vw, 64px) }
.format-collection-head { margin-bottom: 14px }
.format-collection-head h3, .catalog-section > h3 {
  margin: 0;
  color: #20271b;
  font: 800 clamp(1.53rem, 3vw, 2.72rem)/1.06 Manrope, Inter, Arial, sans-serif;
  letter-spacing: -.045em;
}
.format-collection-head p { margin: 7px 0 0; color: #50604b; line-height: 1.45 }
.format-collection-actions { align-items: center; justify-content: end; flex-wrap: wrap }
.format-collection-actions .format-start-price { margin: 0 }
.format-collection-reels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(9px, 1.65vw, 22px);
}
.format-collection-reels .discovery-play { opacity: 1 }
.catalog-section { margin-top: clamp(42px, 6vw, 80px) }
.catalog-section > h3 { margin-bottom: 13px }
.format-pricing-note { margin: 0 0 16px; color: #52614b; font-size: .9rem; line-height: 1.4 }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(13px, 2vw, 25px) }
.catalog-product {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: clip;
  border: 1px solid #dce5d5;
  border-radius: 19px;
  background: #fff;
}
.catalog-cover { min-width: 0; aspect-ratio: 2 / 1; overflow: hidden; background: #e8ede3 }
.catalog-cover img { display: block; height: 100%; width: 100%; object-fit: cover }
.catalog-product-copy { display: flex; flex-direction: column; align-items: start; min-width: 0; padding: clamp(14px, 2vw, 23px) }
.catalog-product h4 {
  margin: 0;
  max-width: 100%;
  font: 800 clamp(1.13rem, 1.7vw, 1.62rem)/1.1 Manrope, Inter, Arial, sans-serif;
  color: #20271b;
  letter-spacing: -.034em;
  overflow-wrap: anywhere;
}
.catalog-product-description { margin: 8px 0 0; color: #52614b; font-size: .94rem; line-height: 1.45 }
.catalog-product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
}
.format-start-price { color: #3d5436; font-size: .88rem; font-weight: 700; line-height: 1.35 }
.format-create, .catalog-preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #1d2715;
  background: #d9fa63;
  font: 750 .9rem/1.25 Inter, Arial, sans-serif;
  cursor: pointer;
}
.format-create:hover { background: #cbe950 }
.catalog-preview-button { margin-left: auto; border-color: #d9e4d3; background: #f2f6ed }
.catalog-preview-button:hover { background: #e8f0e0 }
.catalog-credit { margin-top: 9px; color: #4d6744; font-size: .78rem; text-underline-offset: 3px }
.catalog-dialog {
  width: min(480px, calc(100vw - 24px));
  border: 1px solid #dce5d5;
  border-radius: 20px;
  padding: 0;
  color: #20271b;
  background: #fff;
}
.catalog-dialog::backdrop { background: #172117aa }
.catalog-dialog-copy { padding: 42px 22px 22px; position: relative }
.catalog-dialog h3 { margin: 0 0 12px; font-size: 1.55rem }
.catalog-dialog p { margin: 10px 0; color: #495942; line-height: 1.45 }
#format-details-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px }
.catalog-cover[data-art] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.5vw, 16px);
  padding: 10px 14px;
  background: #dce7d5;
}
.catalog-sample-shape { display: block; height: 63%; width: 19%; border-radius: 9px; background: #789070 }
.catalog-sample-shape:nth-child(2) { background: #9fbd91; height: 75% }
.catalog-sample-shape:nth-child(3) { background: #c0d3b7 }
.catalog-cover[data-art="game"] { background: #eadbd0 }
.catalog-cover[data-art="game"] span { height: 70%; background: #ae765a; transform: skewY(-11deg) }
.catalog-cover[data-art="game"] span:nth-child(2) { background: #d9a678 }
.catalog-cover[data-art="episodes"], .catalog-cover[data-art="chat"] { background: #dae4f0 }
.catalog-cover[data-art="episodes"] span { background: #93a9c3 }
.catalog-cover[data-art="episodes"] span:nth-child(2) { background: #b6a3c0 }
.catalog-cover[data-art="episodes"] span:nth-child(3) { background: #a5bbaa }
.catalog-cover[data-art="ugc"], .catalog-cover[data-art="swatches"] { background: #e7e0ef }
.catalog-cover[data-art="ugc"] span, .catalog-cover[data-art="swatches"] span { background: #9f8daf }
.catalog-cover[data-art="ugc"] span:nth-child(2), .catalog-cover[data-art="swatches"] span:nth-child(2) { background: #ccc0dc }
.catalog-cover[data-art="upscale"] { background: linear-gradient(125deg, #c1ccd1 0 50%, #a0b4bf 50%) }
.catalog-cover[data-art="stats"] { align-items: end; padding-bottom: 12% }
.catalog-cover[data-art="stats"] span { width: 14%; height: 35%; border-radius: 5px 5px 0 0 }
.catalog-cover[data-art="stats"] span:nth-child(2) { height: 57% }
.catalog-cover[data-art="stats"] span:nth-child(3) { height: 78% }
.catalog-cover[data-art="timeline"] { flex-direction: column; background: #dde4d8 }
.catalog-cover[data-art="timeline"] span { height: 10%; width: 70%; border-radius: 4px }
.catalog-cover[data-art="timeline"] span:nth-child(2) { width: 46%; margin-right: 20% }
.catalog-cover[data-art="timeline"] span:nth-child(3) { width: 60%; margin-left: 15% }
.catalog-cover[data-art="chat"] { display: grid; align-content: center; gap: 7px }
.catalog-sample-text { grid-column: 1 / -1; color: #263525; font-size: .92rem; font-weight: 750 }
.catalog-sample-chip, .catalog-sample-bubble {
  border-radius: 8px;
  padding: 6px 10px;
  color: #263525;
  background: #ffffffbd;
  font-size: .82rem;
  line-height: 1.3;
}
.catalog-sample-chip:last-child { background: #c8db9c }
.catalog-sample-bubble:last-child { margin-left: 8px; background: #f7faf3 }
@media (max-width: 920px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 650px) {
  .catalog-heading, .format-collection-head { align-items: start; flex-direction: column; gap: 12px }
  .format-collection-actions { justify-content: start }
  .format-collection-reels { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 540px) {
  .catalog-grid { grid-template-columns: minmax(0, 1fr) }
}

.format-collection-premium {
  background: #151e19;
  border-radius: 24px;
  padding: clamp(13px, 2.4vw, 30px);
  color: #f1f6ec;
}
#studio-3d.format-collection-premium { background: #0c0c0d }
.format-collection-premium .format-collection-head h3 { color: #f6f9f2 }
.format-collection-premium .discovery-card:focus-visible { outline-color: #d9fa63 }
.format-collection-premium .format-collection-head p { color: #cfddcb }
.format-collection-reels .discovery-card {
  aspect-ratio: 9 / 16;
}
.format-collection-reels .discovery-card:is([data-format="stick"],[data-format="studio"]) :is(img,video) { object-fit: contain }
#featured-game { margin-bottom: var(--feature-gap) }
.catalog-game-banner {
  display: grid;
  align-items: end;
  padding: var(--feature-inset);
  border-radius: 21px;
  background: linear-gradient(90deg,#14201cf2 8%,#192620bd 42%,transparent 87%), #1b241f url('frames/game-city.webp') center 63% / cover no-repeat;
  color: #fff;
}
.catalog-game-copy { max-width: 37rem }
.catalog-game-logo { display: block; width: clamp(75px, 8vw, 112px); height: auto; margin-bottom: clamp(13px, 1.8vw, 24px); filter: drop-shadow(0 2px 7px #10121570) }
.catalog-game-banner h3 { margin: 0; font: 800 clamp(1.9rem,5vw,4rem)/1.02 Manrope,Arial,sans-serif; letter-spacing: -.045em }
.catalog-game-banner p { margin: 9px 0 0; color: #edf3e9; font-size: 1rem; line-height: 1.4 }
.catalog-game-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; color: #f0f6e6 }
@media (max-width: 650px) {
  .catalog-game-banner {
    background-image: linear-gradient(0deg,#151f19fa 4%,#14201c91 69%,#14201c27),url('frames/game-city.webp');
    background-position: center, 68% 62%;
  }
}
.catalog-game-banner { grid-template-columns: minmax(0,1fr) minmax(0,37%); align-items: center; gap: clamp(16px,4vw,56px) }
.catalog-game-previews { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(8px,1.2vw,18px); }
.catalog-game-previews .discovery-card { aspect-ratio: 9 / 16; border: 1px solid #ffffff90; }
.catalog-game-previews .discovery-play { opacity: 1; }
@media (max-width:650px) {
 .catalog-game-banner { grid-template-columns: minmax(0,1fr); align-items: end; gap: 18px; }
 .catalog-game-previews { justify-self: start; }
}

#format-products {
  display: grid;
  gap: clamp(26px, 5vw, 64px);
  margin-top: clamp(26px, 5vw, 64px);
}
.catalog-format-row { min-width: 0 }
.catalog-format-row .catalog-cover {
  border-radius: clamp(12px, 1.8vw, 22px);
  aspect-ratio: 3 / 1;
}
.catalog-format-row .catalog-cover[data-art] {
  min-height: 170px;
  aspect-ratio: 4.4 / 1;
  padding: clamp(18px, 3vw, 38px);
}
.catalog-format-row .catalog-sample-text {
  font-size: clamp(1rem, 2.5vw, 2rem);
  color: #f5faf7;
  margin-bottom: 5px;
}
.catalog-format-row .catalog-sample-chip {
  text-align: center; padding: 12px; border-radius: 9px;
  background: #254047; color: white; font-size: clamp(.88rem, 1.3vw, 1.1rem);
}
.catalog-format-row .catalog-sample-chip:nth-child(2) { background: #9ae7c9; color: #142d24 }
.catalog-format-row .catalog-cover[data-art="chat"] { background: #172235; justify-content: center; gap: 8px }
.catalog-format-row .catalog-sample-bubble {
  width: fit-content; max-width: 85%; padding: 8px 14px; border-radius: 16px 16px 16px 4px;
  font-size: clamp(.86rem, 1.35vw, 1.1rem); background: #344256; color: #fff;
}
.catalog-format-row .catalog-sample-bubble:nth-child(2) {
  justify-self: end; margin-left: clamp(16px, 9vw, 140px);
  border-radius: 16px 16px 4px 16px; background: #d6efab; color: #1e3020;
}
.catalog-format-row .catalog-sample-bubble:last-child { margin-left: 0 }
@media (max-width:650px) {
 .catalog-format-row .catalog-cover { aspect-ratio: 2.65 / 1 }
 .catalog-format-row .catalog-cover[data-art] { aspect-ratio: auto }
}

.format-collection .format-collection-reels {
 --gap:clamp(10px,1.6vw,20px);
 position:relative;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:calc((100% - 3 * var(--gap))/4);gap:var(--gap);
 overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;
}
.format-collection-reels .discovery-card {scroll-snap-align:start}
.shelf-controls {display:flex;justify-content:flex-end;align-items:center;gap:6px;margin-top:8px;color:#26311d}
#studio-3d .shelf-controls {color:white}
.shelf-controls button {width:44px;height:44px;background:transparent;border:1px solid #838383;border-radius:50%;color:inherit;cursor:pointer;font:20px/1 Arial,sans-serif}
@media(max-width:800px){
 .format-collection .format-collection-reels,#studio-3d .format-collection-reels {
  position:relative;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:calc((100% - 12px)/2);
  gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;
 }
 .format-collection-reels .discovery-card {scroll-snap-align:start}
}
@media(min-width:560px) and (max-width:800px){
 .format-collection .format-collection-reels,#studio-3d .format-collection-reels{grid-auto-columns:calc((100% - 24px)/3)}
}

#story-game{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1.27fr) minmax(220px,.92fr) minmax(148px,.6fr);gap:clamp(14px,3vw,42px);align-items:center;position:relative;overflow:hidden;isolation:isolate;margin:20px 0 30px;padding:clamp(18px,3vw,40px);border:1px solid #dae5c8;border-radius:26px;background:linear-gradient(105deg,#e4efcd,#f2f5df 54%,#dce9cf);color:#193b2b}
.story-game-map img{display:block;width:100%;height:auto;image-rendering:pixelated}
#story-game h3{margin:0;font-family:inherit;font-weight:800;font-size:clamp(1.9rem,3.65vw,3.7rem);line-height:.98;letter-spacing:-.055em;color:#1b3828}
.story-game-copy p{font-size:clamp(.94rem,1.32vw,1.14rem);line-height:1.4;color:#3f5745;margin:14px 0 18px}
#play-story-example{background:#214530;color:white}
.story-game-phone{justify-self:center;width:clamp(130px,13vw,174px);box-sizing:border-box;border:5px solid #203527;border-radius:23px;background:#203527;box-shadow:6px 9px 0 #69866a30;overflow:hidden;position:relative}
.phone-speaker{position:absolute;top:2px;left:38%;width:24%;height:5px;background:#203527;border-radius:0 0 5px 5px}
.phone-screen{padding:15px 8px 10px;border-radius:17px;overflow:hidden;background:#f6f7db;color:#203b2b;display:grid;gap:7px}
.phone-screen small{font-size:.64rem;font-weight:700}.phone-screen strong{font-size:.83rem;line-height:1.2}.phone-screen>span{font-size:.68rem;background:#d8e9c3;border-radius:5px;padding:5px}
.phone-map{height:clamp(85px,9vw,124px);position:relative;background:#cbdca8 url('frames/story-game-map.webp') 6% 52%/210% auto no-repeat;image-rendering:pixelated;animation:game-camera 10s steps(32) infinite alternate}
.pixel-marker{position:absolute;left:47%;top:30%;width:6px;height:6px;background:#fff791;box-shadow:3px 0 #8b622b,-3px 0 #8b622b,0 3px #8b622b;animation:pixel-hop 1.6s steps(3) infinite}
@keyframes game-camera{0%,18%{background-position:6% 52%}82%,100%{background-position:88% 52%}}
@keyframes pixel-hop{50%{transform:translateY(-5px)}}
@media(max-width:720px){#story-game{grid-template-columns:minmax(0,1fr) minmax(105px,.62fr);gap:12px;padding:22px 16px}.story-game-map{grid-column:1;grid-row:1}.story-game-copy{grid-column:1;grid-row:2}.story-game-phone{grid-column:2;grid-row:1 / 3;width:min(100%,150px)}.story-game-copy p{margin:8px 0 12px}}
@media(prefers-reduced-motion:reduce){.phone-map,.pixel-marker{animation:none}}

#story-game{grid-template-columns:minmax(210px,.9fr) minmax(200px,1.24fr) minmax(150px,.52fr);grid-template-areas:"copy meadow phone";padding:0 0 0 var(--feature-inset);gap:clamp(12px,2.6vw,40px);min-height:270px}
.story-game-copy{grid-area:copy;padding-block:24px}.story-game-map{grid-area:meadow}
.story-game-phone{grid-area:phone;align-self:stretch;justify-self:end;width:100%;max-width:210px;display:flex;min-height:100%;box-shadow:none}
.phone-screen{flex:1;grid-template-rows:auto minmax(75px,1fr) auto auto}.phone-map{height:auto}
@media(max-width:720px){#story-game{grid-template-columns:minmax(0,1fr) minmax(100px,29%);grid-template-areas:"copy phone" "meadow phone";padding:0 0 0 16px;gap:0 10px;min-height:240px}.story-game-copy{padding:17px 0 8px}.story-game-map{padding:0 0 14px}.story-game-phone{width:100%;min-width:0}.phone-screen{padding-inline:5px}}
/* A live type layer keeps the cover consistent with the other featured formats. */
.family-film-banner{position:relative;isolation:isolate;overflow:hidden;border-radius:26px;margin:0 0 30px;display:flex;align-items:center;background:#f6eddf;color:#302a21}
.family-film-banner>img{position:absolute;right:0;top:0;width:100%;height:100%;object-fit:cover;object-position:right top;z-index:-2}
.family-film-banner::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#f6eddf 0%,#f6eddf 23%,rgba(246,237,223,.94) 31%,rgba(246,237,223,0) 53%)}
.family-film-copy{position:relative;box-sizing:border-box;width:43%;max-width:560px;padding:var(--feature-inset)}
.family-film-copy h3{font:800 clamp(1.9rem,3.65vw,3.7rem)/1.02 Manrope,Inter,Arial,sans-serif;letter-spacing:-.052em;margin:0;color:#302a21;text-wrap:balance}
.family-film-copy p{line-height:1.45;margin:12px 0 20px;color:#493e30}
#film-open{background:#fffaf1;color:#302a21;box-shadow:0 0 0 1px #493e3030}
#film-open:hover{background:#fff}
#film-dialog{box-sizing:border-box;width:min(590px,94vw);max-height:88dvh;overflow:auto;overscroll-behavior:contain;border:1px solid #dbe3d4;border-radius:22px;padding:clamp(20px,4vw,34px);background:#fffefa;color:#233423;box-shadow:0 24px 70px #11271135}
#film-dialog::backdrop{background:#13241dc7}#film-dialog [hidden]{display:none!important}
#film-heading{font-size:clamp(1.4rem,3vw,2rem);line-height:1.1;margin:8px 40px 18px 0}
#film-close{position:absolute;right:12px;top:12px;border:0;background:#eef2e6;border-radius:50%;color:#354335;width:42px;height:42px;font-size:24px;cursor:pointer}
#film-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#film-choices button{display:flex;flex-direction:column;align-items:start;text-align:left;padding:18px 14px;gap:10px;background:#f2f5eb;border:1px solid #cbd7c2;border-radius:14px;color:#203522;cursor:pointer}
#film-choices strong{font-size:1.1rem}#film-choices small{font-weight:bold;margin-top:auto;color:#3c602f}#film-choices button:hover{border-color:#425f36}
#film-dialog p{margin:10px 0 16px}#film-dialog label{display:grid;gap:6px;font-weight:650;margin:12px 0}
#film-dialog textarea,#film-dialog input{box-sizing:border-box;display:block;width:100%;padding:11px;border:1px solid #b9c7af;border-radius:10px;font:inherit;color:#213320;background:#fff}
#film-scenes{padding-left:24px}#film-scenes li{padding:3px 0 8px}#film-scenes button,.film-secondary{border:1px solid #cdd6c5;border-radius:9px;padding:8px 12px;margin:4px 5px 4px 0;background:#fff;color:#315833;cursor:pointer}
#film-status:empty{display:none}
@media(max-width:650px){
 .family-film-banner{flex-direction:column;align-items:stretch;justify-content:flex-end}
 .family-film-banner>img{right:0;width:145%;max-width:none;height:65%;object-position:right top}
 .family-film-banner::before{background:linear-gradient(0deg,#f6eddf 0%,#f6eddf 37%,transparent 54%)}
 .family-film-copy{width:100%;max-width:none;padding:var(--feature-inset)}
 .family-film-copy h3{font-size:clamp(1.85rem,6vw,2.4rem)}
 .family-film-copy p{margin:8px 0 13px}
 #film-choices{grid-template-columns:1fr}
}

/* The three featured formats share the same silhouette at every viewport width. */
#formats :is(.catalog-game-banner,#story-game,#family-film){
  box-sizing:border-box;
  inline-size:100%;
  block-size:var(--feature-height);
  min-block-size:0;
  border-radius:clamp(18px,2vw,26px);
}
#formats #story-game{margin:0 0 var(--feature-gap)}
#formats #family-film{margin:var(--feature-gap) 0 0}
.catalog-game-previews{
  width:100%;
  max-width:calc((var(--feature-height) - 2 * var(--feature-inset)) * 1.1);
  justify-self:end;
}
@media(max-width:650px){
  .format-lanes{--feature-height:clamp(29rem,118vw,32rem);--feature-inset:20px}
  .catalog-game-banner{grid-template-rows:auto minmax(0,1fr);align-content:center}
  .catalog-game-logo{width:60px;margin-bottom:8px}
  .catalog-game-actions{margin-top:12px}
  .catalog-game-previews{align-self:stretch;justify-self:start;width:auto;max-width:100%;height:100%;grid-template-columns:repeat(2,auto);justify-content:start}
  .catalog-game-previews .discovery-card{height:100%;width:auto;max-width:100%;aspect-ratio:9/16}
  #formats #story-game{padding-inline-start:var(--feature-inset)}
}

#play-story-example{text-decoration:none}#play-story-example::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit}#story-game:focus-within{outline:3px solid #467640;outline-offset:3px}

/* Shared dimensions for the three featured actions, including button and link elements. */
#formats :is(.catalog-game-actions .format-create,#play-story-example,#film-open){
 box-sizing:border-box;inline-size:14rem;max-inline-size:100%;min-block-size:3.25rem;
 padding:.55rem .85rem;text-align:center;font:750 1rem/1.2 Manrope,Inter,Arial,sans-serif;
}
