/* Display each high-resolution photo directly, without magnifying the page mockup. */
.product:not([data-detail="遊戲設計"]) .photo .subject img.sharp-service-photo{position:static;display:block;width:100%;height:100%;max-width:none;left:auto;top:auto;object-fit:cover;object-position:center;mask-image:none;-webkit-mask-image:none}
.product:not([data-detail="遊戲設計"]) .photo .subject{mask-image:linear-gradient(to bottom,transparent,#000 4%);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 4%)}
.help-photo .subject{inset:auto 0 0;height:52%;mask-image:linear-gradient(to bottom,transparent,#000 4%);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 4%)}
.help-photo .subject img.sharp-help-photo{position:static;display:block;width:100%;height:100%;max-width:none;left:auto;top:auto;object-fit:contain;object-position:center bottom;mask-image:none;-webkit-mask-image:none}
.help-item[data-detail="API 與 AI"] .help-photo{background:linear-gradient(#e6e3d8,#ddd9d6)}
/* Equal columns, optically centred illustrations, and a separate caption row. */
.categories{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));column-gap:16px;row-gap:0;align-items:start;padding:18px 0 34px;overflow:visible}
.category{display:grid;grid-template-rows:96px auto;justify-items:center;align-items:start;text-align:center;min-width:0;padding:0}
.category .icon-stage{display:grid;place-items:center;width:100%;height:96px;aspect-ratio:auto;margin:0}
.category .icon-float{display:block;width:112px;height:90px;margin:0}
.category .sprite{display:block;position:relative;width:112px;height:90px;margin:0;overflow:hidden}
.category .sprite .preferred-icon{position:absolute;width:var(--sheet-width);left:var(--sheet-left);top:var(--sheet-top);height:auto;max-width:none}
.category>span:last-child{display:block;width:100%;margin:10px 0 0;text-align:center;font-size:14px;line-height:1.5;font-weight:800;white-space:nowrap}
.category.game-category .sprite{background-size:128% auto;background-position:center;overflow:hidden}
@media(max-width:1050px){.categories{grid-template-columns:repeat(8,110px);column-gap:18px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;padding:18px 0 28px}.category{scroll-snap-align:center}}
@media(max-width:700px){.categories{grid-template-columns:repeat(8,104px);column-gap:18px}.category>span:last-child{font-size:14px}}

/* Widen only the panther symbol; preserve original wordmark proportions. */
.original-brand .brand-full{width:258px;height:auto;max-width:100%}
.original-footer .footer-brand>.footer-logo{width:252.735px;height:auto;max-width:100%}
@media(max-width:1450px){.original-brand .brand-full{width:231.674px}}
@media(max-width:700px){.original-brand .brand-full{width:221.143px}.original-footer .footer-brand>.footer-logo{width:258px}}
@media(max-width:360px){.original-brand .brand-full{width:200.082px}}

@media(max-width:1050px) and (min-width:701px){.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;scroll-snap-type:none}.product{min-width:0}}
@media(max-width:700px){
 .cards,.help-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;overflow:visible;scroll-snap-type:none;padding:0}
 .product,.help-item{width:100%;min-width:0;max-width:none;flex:none;scroll-snap-align:none}
 .categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px;overflow:visible;scroll-snap-type:none;padding:18px 0 30px}
}
.hero-carousel-controls{position:absolute;z-index:5;bottom:15px;right:24px;display:flex;align-items:center;gap:8px}
.hero-carousel-controls button{min-width:36px;min-height:36px;border:1px solid #ffffff80;background:#182019c9;color:white;border-radius:24px;padding:6px 10px}
.hero-carousel-controls button[aria-current=true]{background:var(--brand-accent,#C6F332);color:#182019}
.launch-hero.is-original-slide h1{font-size:clamp(30px,3.4vw,49px);line-height:1.3}
@media(max-width:700px){.hero-carousel-controls{left:20px;right:20px;justify-content:center;gap:5px}.hero-carousel-controls button{min-width:30px;min-height:34px;padding:5px 8px}.launch-hero.is-original-slide .launch-hero-inner{padding-bottom:320px}.launch-hero.is-original-slide .hero-summary{font-size:14px}.launch-hero.is-original-slide{min-height:760px}}

.category .sprite img.sharp-category-icon{position:static;display:block;width:112px;height:90px;max-width:none;object-fit:contain}
@media(max-width:700px){.launch-hero.is-original-slide{min-height:0}.launch-hero.is-original-slide::after{background:linear-gradient(to bottom,#0c2030 0%,#0c2030 calc(100% - 305px),#0c203000 calc(100% - 265px))}}
