/* Content expansion: real company, platform and game material. */
.business-detail-link { display: flex; justify-content: flex-end; }
.business-cards { height: calc(100svh - 373px); }
.company-logo-large { width: 120px; height: 157px; object-fit: contain; margin-bottom: 24px; }
.company-facts dd { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid #dce2dd; }
.platform-logo { width: 224px; height: 224px; object-fit: contain; margin: 12px 0 24px; }
.platform-game-links { display:flex; flex-wrap:wrap; gap:16px 36px; }
.game-gallery figure > a { display:flex; width:100%; min-width:0; justify-content:center; }
.game-gallery figure > a > img { width:100%; }
.game-gallery-wide { grid-template-columns:minmax(0,1fr); }
.content-page .rights-note, .content-page .game-origin { font-size:14px; line-height:1.8; margin-top:28px; }
.games-section { background: #fff; padding: calc(var(--header) + 42px) 0 78px; }
.games-section .section-summary { max-width: 31em; font-size: 16px; }
.games-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; }
.game-card { display: flex; flex-direction: column; min-width: 0; border-bottom: 1px solid #d9dedb; transition: transform .2s, border-color .2s; }
.game-card:hover { transform: translateY(-2px); border-color: var(--action); }
.game-card:focus-visible { outline-offset: 7px; }
.game-cover { height: 270px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f3f4f2; }
.game-cover img { width: 100%; height: 100%; object-fit: contain; }
.game-card-body { display: flex; flex: 1; flex-direction: column; padding: 26px 0 20px; min-width: 0; }
.game-card-heading { display: flex; align-items: center; gap: 14px; }
.game-card-heading img { width: 46px; height: 46px; object-fit: contain; flex: 0 0 46px; }
.game-card-heading h3 { font-size: 24px; line-height: 1.45; letter-spacing: 0; }
.game-category { color: #646e67; font-size: 14px; line-height: 1.8; margin-top: 16px; }
.game-summary { font-size: 16px; line-height: 1.9; color: #4e5b53; margin-top: 12px; margin-bottom: 14px; }
.game-card .text-link { margin-top: auto; font-size: 15px; }
.about-identity { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.about-identity img, .about-identity img.logo { width: 72px; height: 96px; object-fit: contain; flex: 0 0 72px; }
.about-identity p { color: #4c5c51; font-size: 16px; line-height: 1.9; }
.about-intro + .about-intro { margin-top: 18px; }
.platform-preview { margin: 26px 0 0; display: flex; align-items: center; justify-content: flex-start; min-width: 0; }
.platform-preview img { width: auto; max-width: 100%; height: auto; max-height: 360px; object-fit: contain; }
.platform-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; }
.platform-links .btn { gap: 22px; }
.platform-links .text-link { font-size: 15px; }
.contact-strip { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: 48px; border-top: 1px solid #e1e5e2; padding: 40px 0; }
.contact-strip h3 { font-size: 26px; line-height: 1.5; }
.contact-strip p { max-width: 44em; font-size: 16px; line-height: 1.9; color: #526157; margin: 12px 0 16px; }
.contact-strip a { overflow-wrap: anywhere; }
.contact-qr { justify-self: end; margin: 0; }
.contact-qr img { width: 220px; height: 280px; object-fit: contain; background: #fff; }
.contact-qr p, .contact-qr figcaption { font-size: 14px; line-height: 1.8; color: #526157; text-align: center; margin: 8px 0 0; }

/* Shared document pages. */
.content-page { background: #fff; }
.content-page .header-return { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.6; color: var(--action); flex-shrink: 0; }
.content-main { padding-top: var(--header); min-height: calc(100svh - 140px); }
.content-page h1 { font-size: clamp(34px, 3.4vw, 50px); font-weight: 500; line-height: 1.45; letter-spacing: .025em; }
.content-page h2 { font-size: 30px; line-height: 1.5; letter-spacing: .025em; }
.content-page h3 { font-size: 22px; line-height: 1.6; }
.content-page p, .content-page li, .content-page dd { font-size: 16px; line-height: 1.95; color: #4d5a52; }
.content-page ul { padding-left: 1.35em; margin: 18px 0 0; }
.content-page li + li { margin-top: 8px; }
.content-page .eyebrow { font-size: 14px; line-height: 1.7; color: var(--action); }
.page-intro { padding-top: 68px; padding-bottom: 42px; border-bottom: 1px solid #e0e5e1; margin-bottom: 48px; }
.page-intro .lead { max-width: 48em; margin-top: 24px; font-size: 18px; line-height: 1.9; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 24px; font-size: 14px; line-height: 1.8; color: #5c685f; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; color: var(--action); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.content-section { margin-bottom: 64px; }
.content-section > h2 { margin-bottom: 20px; }
.content-section > p { max-width: 72em; }
.content-section > p + p { margin-top: 18px; }
.service-detail-list { margin-bottom: 72px; }
.service-detail-list > article { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 36px; padding: 42px 0; border-bottom: 1px solid #e0e5e1; }
.service-detail-list > article:first-child { padding-top: 4px; }
.service-order { font: 400 42px/1.5 Arial, sans-serif; color: var(--action); }
.service-detail-list h2 { margin-bottom: 18px; }
.service-detail-list p { max-width: 58em; }
.service-detail-list li { max-width: 58em; }
.company-detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 64px; align-items: start; }
.company-detail-grid > * { min-width: 0; }
.company-detail-grid p + p { margin-top: 18px; }
.company-detail-grid h2 { margin-bottom: 20px; }
.company-facts { background: #f7f8f6; padding: 32px; }
.company-facts dl { margin: 0; }
.company-facts dl > div { padding: 18px 0; border-bottom: 1px solid #dce2dd; }
.company-facts dl > div:first-child { padding-top: 0; }
.company-facts dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.company-facts dt { color: #5d6a60; font-size: 14px; line-height: 1.8; margin-bottom: 7px; }
.company-facts dd { margin: 0; overflow-wrap: anywhere; color: #273d30; }
.company-facts > img { width: 98px; height: 128px; object-fit: contain; margin-bottom: 24px; }
.game-intro { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 36px; padding-top: 64px; padding-bottom: 40px; border-bottom: 1px solid #e0e5e1; }
.game-intro-icon { padding-top: 12px; }
.game-intro-icon img { width: 112px; height: 112px; object-fit: contain; }
.game-intro .game-type { font-size: 14px; color: var(--action); margin-bottom: 8px; }
.game-intro p { max-width: 52em; margin-top: 18px; }
.game-tags { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; }
.game-tags span { color: #526157; font-size: 14px; line-height: 1.8; border-bottom: 1px solid #c9d0ca; padding-bottom: 4px; }
.game-description { padding-top: 40px; padding-bottom: 38px; }
.game-description h2 { margin-bottom: 18px; }
.game-description p { max-width: 64em; }
.game-description p + p { margin-top: 18px; }
.game-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-bottom: 48px; }
.game-gallery figure { margin: 0; min-width: 0; display: flex; align-items: center; justify-content: center; background: #f3f4f2; }
.game-gallery img { display: block; width: auto; max-width: 100%; height: auto; max-height: 680px; object-fit: contain; }
.related-games { padding-top: 32px; padding-bottom: 56px; border-top: 1px solid #e0e5e1; }
.related-games h2 { margin-bottom: 20px; }
.related-games nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.related-games a { color: var(--action); display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.related-games a:hover { text-decoration: underline; text-underline-offset: 5px; }
.platform-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; margin-bottom: 64px; }
.platform-detail > * { min-width: 0; }
.platform-detail figure { margin: 0; }
.platform-detail > img, .platform-detail figure img, .platform-detail .platform-preview img { width: auto; max-width: 100%; height: auto; max-height: 640px; object-fit: contain; margin: 0 auto; }
.platform-detail h2 { margin-bottom: 18px; }
.platform-detail h3 { margin-top: 28px; margin-bottom: 10px; }
.platform-detail p + p { margin-top: 18px; }
.platform-detail .platform-preview { margin-top: 0; }
.platform-detail .platform-links { margin-top: 32px; }
.content-footer { border-top: 1px solid #e0e5e1; background: #f8f9f7; }
.content-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; padding-top: 28px; padding-bottom: 28px; }
.content-footer p, .content-footer a { font-size: 14px; line-height: 1.8; color: #526157; }
.content-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.content-footer a { display: inline-flex; min-height: 32px; align-items: center; }
.content-footer a:hover { color: var(--action); }
.content-page a, .content-page p, .content-page h1, .content-page h2, .content-page h3 { overflow-wrap: break-word; }

@media (min-width:961px) and (max-width:1150px) {
  .main-nav { gap: 18px; }
  .main-nav > a { font-size: 14px; }
  .header-inner { gap: 20px; }
  .games-grid { gap: 28px; }
  .game-card-heading h3 { font-size: 21px; }
  .game-cover { height: 240px; }
}
@media (max-width:960px) {
  .business-cards { height: 560px; }
  .games-section { padding: 112px 0 64px; }
  .games-grid { gap: 24px; }
  .game-cover { height: 220px; }
  .game-card-heading { align-items: flex-start; gap: 10px; }
  .game-card-heading h3 { font-size: 20px; }
  .game-card-heading img { width: 36px; height: 36px; flex-basis: 36px; }
  .game-card-body { padding-top: 20px; }
  .game-summary { font-size: 16px; }
  .about-identity { gap: 16px; }
  .contact-strip { gap: 32px; }
  .company-detail-grid { gap: 36px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); }
  .company-facts { padding: 24px; }
  .platform-detail { gap: 36px; }
  .content-page h2 { font-size: 28px; }
  .page-intro { padding-top: 52px; }
  .service-detail-list > article { grid-template-columns: 54px minmax(0, 1fr); gap: 24px; }
  .service-order { font-size: 34px; }
}
@media (max-width:639px) {
  .business-cards { height: auto; }
  .business-detail-link { justify-content:flex-start; }
  .platform-logo { width:180px; height:180px; margin-bottom:24px; }
  .games-section { min-height: 0; padding: 92px 0 60px; }
  .games-section .eyebrow { font-size: 14px; }
  .games-section .section-summary { margin-top: 18px; }
  .games-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .game-cover { height: 300px; }
  .game-card-heading { align-items: center; gap: 14px; }
  .game-card-heading h3 { font-size: 24px; }
  .game-card-heading img { width: 44px; height: 44px; flex-basis: 44px; }
  .game-summary { max-width: none; }
  .about-identity { margin-top: 26px; }
  .platform-links { align-items: stretch; gap: 10px 18px; margin-top: 24px; }
  .platform-links .btn { max-width: 100%; gap: 18px; font-size: 14px; padding-left: 18px; padding-right: 18px; }
  .platform-links .text-link { font-size: 14px; }
  .contact-strip { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 30px 0; }
  .contact-strip h3 { font-size: 24px; }
  .contact-qr { justify-self: start; }
  .contact-qr img { width: 200px; height: 260px; }
  .content-page .header-inner { gap: 12px; }
  .content-page .brand-roman { font-size: 20px; }
  .content-page .brand-chinese { font-size: 14px; }
  .content-page .header-return { font-size: 14px; }
  .content-page h1 { font-size: 32px; line-height: 1.5; }
  .content-page h2 { font-size: 26px; }
  .content-page h3 { font-size: 21px; }
  .page-intro { padding-top: 40px; padding-bottom: 30px; margin-bottom: 32px; }
  .page-intro .lead { font-size: 16px; margin-top: 18px; }
  .breadcrumb { margin-bottom: 20px; }
  .content-section { margin-bottom: 42px; }
  .service-detail-list { margin-bottom: 42px; }
  .service-detail-list > article { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 30px 0; }
  .service-order { font-size: 28px; }
  .service-detail-list h2 { margin-bottom: 14px; }
  .company-detail-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .company-facts { padding: 24px; }
  .game-intro { grid-template-columns: 72px minmax(0, 1fr); gap: 18px; padding-top: 38px; padding-bottom: 30px; }
  .game-intro-icon { padding-top: 7px; }
  .game-intro-icon img { width: 72px; height: 72px; }
  .game-intro h1 { font-size: 28px; }
  .game-intro p { margin-top: 14px; }
  .game-tags { gap: 8px 14px; margin-top: 18px; }
  .game-description { padding-top: 30px; padding-bottom: 30px; }
  .game-gallery { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-bottom: 32px; }
  .game-gallery img { max-height: 720px; }
  .related-games { padding-top: 26px; padding-bottom: 36px; }
  .related-games nav { gap: 8px 24px; }
  .platform-detail { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-bottom: 40px; }
  .platform-detail > img, .platform-detail figure img, .platform-detail .platform-preview img { max-height: 500px; }
  .content-footer .wrap { display: block; padding-top: 24px; padding-bottom: 24px; }
  .content-footer nav { margin-top: 14px; gap: 8px 20px; }
}
@media (max-width:359px) {
  .content-page .brand { gap: 5px; }
  .content-page .brand-roman { font-size: 18px; letter-spacing: -1.3px; }
  .content-page .brand-chinese { font-size: 12px; }
  .content-page .header-inner { gap: 8px; }
  .content-page .header-return { font-size: 13px; }
  .game-cover { height: 260px; }
  .game-intro { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .game-intro-icon { padding: 0; }
}
@media print {
  .games-section { min-height: 0; padding: 40px 0; }
  .game-card, .service-detail-list > article, .game-gallery figure { break-inside: avoid; }
  .content-main { padding-top: 0; }
  .contact-strip { break-inside: avoid; }
}
