.gx-port .detailhero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(1rem,3vw,2.5rem); align-items:start; }
.gx-port .detail-art { min-width:0; }
.gx-port .detail-art > img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; border-radius:1rem; display:block; }
.gx-port .detailhero .actions { display:flex; flex-wrap:wrap; align-items:center; gap:.55rem; }
.gx-port .detailhero .actions .download:not(:disabled) { background:#116747; border-color:#268764; color:white; }
.gx-port .detailhero .actions .download:not(:disabled):hover { background:#197c56; }
.gx-port .detailhero .gx-catalog-back { background:#121723; border:1px solid #596476; }
.gx-port .gx-tutorial-note { width:fit-content; padding:.55rem .75rem; background:#241521; border:1px solid #69394b; border-radius:.65rem; }
.gx-port .tutorial-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:1rem; }
.gx-port .tutorial-layout:has(> .gx-tutorial-ad .gx-ad-creative iframe) { grid-template-columns:minmax(0,1fr) 300px; align-items:start; }
.gx-port .tutorial-layout > .tutorial-video { grid-column:1; grid-row:1; }
.gx-port .tutorial-layout > :is(.tutorial-chapters,p) { grid-column:1; min-width:0; }
.gx-port .tutorial-layout > .gx-tutorial-ad { grid-column:2; grid-row:1; width:300px; position:static; transform:none; margin:0; }
.gx-port .tutorial-layout > .gx-tutorial-ad:not(:has(.gx-ad-creative iframe)) { grid-column:1; grid-row:auto; min-height:0; }
.gx-port .tutorial-layout .chapter-list { display:flex; overflow-x:auto; min-width:0; gap:.55rem; }
.gx-port .tutorial-layout .chapter-list li { min-width:min(12rem,70vw); }
.gx-port .gx-download-list { display:grid; gap:.25rem; }
.gx-port .gx-download-list p { margin:.2rem 0; }
@media(max-width:760px) {
  .gx-port .detailhero, .gx-port .tutorial-layout:has(> .gx-tutorial-ad .gx-ad-creative iframe) { grid-template-columns:minmax(0,1fr); }
  .gx-port .tutorial-layout > .gx-tutorial-ad { grid-column:1; grid-row:auto; max-width:100%; justify-self:center; }
}
