.community-section { padding-block: 16px 48px; }
.community-section .collaboration { display: block; }
.community-section .collaboration-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 64px; padding: 0; margin-bottom: 32px; }
.community-section .collaboration-copy h2 { grid-column: 1; font-size: 38px; font-weight: 600; }
.community-section .collaboration-copy .role { grid-column: 1; margin: 0; font-size: 16px; }
.community-section .collaboration-copy > p:last-child { grid-column: 2; grid-row: 1 / 3; margin: 0; font-size: 18px; }
.community-section .huawei-images { grid-template-columns: 1.334fr .686fr .764fr; gap: 24px; align-items: center; }
.community-section .huawei-images .image-link, .community-section .huawei-images img { max-height: none; }
.community-section .huawei-images img { object-fit: contain; }
#bosen { grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
#bosen .internship-year { align-self: start; white-space: nowrap; }
#bosen .bosen-badge { background: transparent; }
#bosen .bosen-badge > img { width: 100%; height: auto; object-fit: contain; }
.work { display: block; }
.design-gallery { --art-height: min(52svh, 460px); min-width: 0; }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.gallery-count { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--muted); }
.gallery-controls { display: flex; gap: 12px; }
.gallery-controls .icon-button { width: 44px; height: 44px; border-radius: 0; background: transparent; }
.gallery-controls .icon-button img { filter: invert(1); }
.gallery-controls .icon-button:disabled { opacity: .25; cursor: default; }
.design-track { position: relative; display: flex; gap: 32px; width: 100%; overflow-x: auto; overflow-y: hidden; padding: 20px 0 28px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #7d8994 #252b30; cursor: grab; }
.design-track::-webkit-scrollbar { height: 3px; }
.design-track::-webkit-scrollbar-track { background: #252b30; }
.design-track::-webkit-scrollbar-thumb { background: #7d8994; }
.design-track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.design-slide { flex: 0 0 min(82vw, calc(var(--art-height) * var(--art-ratio))); min-width: 0; margin: 0; scroll-snap-align: center; }
.design-art.image-link { display: block; width: 100%; height: var(--art-height); background: transparent; transform: scale(calc(.82 + .18 * var(--gallery-focus, 1))); transform-origin: center; }
.design-art.image-link > img { width: 100%; height: 100%; object-fit: contain; transform: none; }
.design-art.image-cropped > img { width: calc(var(--art-height) * var(--crop-ratio)); max-width: 100%; margin-inline: auto; object-fit: cover; object-position: top; }
.viewer-image.image-cropped { object-fit: cover; object-position: top; }
.design-art .image-action { right: 8px; bottom: 8px; }
.design-slide figcaption { padding: 24px 0 0; min-height: 104px; }
.design-slide figcaption h3, .design-slide figcaption h4 { font-size: 24px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.design-slide figcaption p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.design-gallery--posters { --art-height: min(60svh, 520px); }
.work .graphic-collection { margin-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  .design-art.image-link { transform: none; }
}
.shixin-feature { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.7fr); gap: 56px; align-items: center; margin-bottom: 100px; }
.shixin-poster { max-width: 320px; aspect-ratio: 2250 / 4182; }
.shixin-poster > img { object-fit: contain; }
.shixin-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.shixin-title h3 { font-size: 48px; font-weight: 600; }
.shixin-title p, .shixin-feature .film-caption p { font-size: 16px; color: #aab3bf; }
.shixin-film { min-width: 0; }
.shixin-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #080a0c; }
.app-showcase { padding: 112px 0; background: #121619; }
.app-showcase-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.app-project-copy { max-width: 500px; }
.app-category { font-size: 18px; color: #aab3bf; margin: 0 0 48px; }
.app-project-brand { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; font-size: 38px; font-weight: 600; }
.app-project-brand img { border-radius: 14px; }
.app-project-copy h2 { font-size: 64px; font-weight: 600; line-height: 1.2; margin: 0 0 36px; }
.app-project-statement { font-size: 30px; line-height: 1.5; margin-bottom: 20px; }
.app-project-description { font-size: 18px; line-height: 1.8; color: #b0bbc6; }
.app-project-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: #a0aeba; margin-top: 32px; }
.app-project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.app-download-link { width: fit-content; min-height: 44px; color: #0c1526; background: #dbe8ff; border-radius: 6px; padding: 0 14px; }
.app-download-link:hover { background: #f0f5ff; }
.app-download-link img { filter: none; }
.site-icp-link { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .contact footer .site-icp-link { grid-column: 1 / -1; } }
.phone-stage { display: flex; justify-content: center; min-width: 0; }
.phone-device { width: min(100%, 414px); padding: 7px; border: 2px solid #6a6d70; border-radius: 13.3% / 6.25%; background: #151618; overflow: hidden; box-shadow: 0 28px 70px #0005; }
.phone-screen { position: relative; width: 100%; aspect-ratio: 402 / 874; overflow: hidden; border-radius: 11.45% / 5.26%; background: #f2f2f7; }
.phone-screen video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; background: #f2f2f7; }
@media (max-width: 1000px) {
  #bosen { grid-template-columns: 140px minmax(0, 1fr); gap: 24px; }
  #bosen .bosen-badge { grid-column: 2; }
  .shixin-feature { gap: 32px; }
  .app-showcase-grid { gap: 32px; }
  .app-project-copy h2 { font-size: 48px; }
  .app-project-statement { font-size: 24px; }
}
@media (max-width: 700px) {
  .community-section { padding-block: 8px 24px; }
  .community-section .collaboration-copy { display: block; margin-bottom: 24px; }
  .community-section .collaboration-copy h2 { font-size: 30px; }
  .community-section .collaboration-copy .role { margin-top: 12px; }
  .community-section .collaboration-copy > p:last-child { margin-top: 16px; font-size: 16px; }
  .community-section .huawei-images { grid-template-columns: .686fr .764fr; gap: 16px; }
  .community-section .huawei-images .image-link:first-child { grid-column: 1 / -1; }
  #bosen { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  #bosen .bosen-badge { grid-column: 1; }
  .design-gallery { --art-height: min(48svh, 360px); }
  .design-gallery--posters { --art-height: min(56svh, 440px); }
  .design-track { gap: 16px; padding-block: 12px 20px; }
  .design-slide figcaption { min-height: 104px; padding-top: 16px; }
  .design-slide figcaption h3, .design-slide figcaption h4 { font-size: 20px; }
  .work .graphic-collection { margin-top: 48px; }
  .shixin-feature { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .shixin-poster { width: 160px; justify-self: start; }
  .shixin-title h3 { font-size: 36px; }
  .shixin-title { margin-bottom: 20px; flex-wrap: wrap; gap: 8px; }
  .shixin-feature .film-caption { align-items: start; }
  .app-showcase { padding: 64px 0; }
  .app-showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .app-category { margin-bottom: 28px; }
  .app-project-copy h2 { font-size: 44px; margin-bottom: 24px; }
  .app-project-brand { font-size: 30px; }
  .app-project-brand img { width: 48px; height: 48px; }
  .phone-device { padding: 6px; }
}
