/* Scoped to DreamPartGen's opt-in preview. */
.page-project.project-studio.studio-dreampartgen main { padding-top: 104px; }
.studio-dreampartgen main > .studio-header { padding-bottom: 28px; }
.studio-dreampartgen .studio-name { font-size: clamp(40px,6vw,76px); }
.studio-dreampartgen .studio-subtitle { max-width: 900px; margin-inline: auto; text-wrap: balance; }
.studio-dreampartgen .dreampartgen-title-phrase { white-space: nowrap; }
.studio-dreampartgen main > .section { padding-block: 16px; }
.studio-dreampartgen .section > .container.is-max-desktop { padding: clamp(24px,3vw,36px); }
.studio-dreampartgen .section h2.title { margin-bottom: 20px; }
.studio-dreampartgen .dreampartgen-feature { margin-top: 24px; margin-bottom: 16px; padding: 28px 32px; background: #09162bef; }
.studio-dreampartgen .dreampartgen-label { color: #a9ccff; font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .075em; text-transform: uppercase; }
.studio-dreampartgen .dreampartgen-feature h2 { color: #f1f5fc; font-size: clamp(23px,2.6vw,32px); line-height: 1.3; margin: 10px 0 14px; text-wrap: balance; }
.studio-dreampartgen .dreampartgen-feature-intro { color: #c2d0e3; font-size: 15px; line-height: 1.8; max-width: 820px; margin: 0 0 24px; }
.studio-dreampartgen .dreampartgen-figure { margin: 24px 0; padding: 0; }
.studio-dreampartgen .dreampartgen-feature .dreampartgen-figure { margin: 0; }
.studio-dreampartgen main .dreampartgen-figure > img { display: block; width: 100%; max-width: 100%; height: auto !important; margin: 0; border: 0; border-radius: 6px; box-shadow: none; }
.studio-dreampartgen .dreampartgen-figure figcaption { margin-top: 12px; color: #b5c4d9; font-size: 13px; line-height: 1.8; text-align: left; }
.studio-dreampartgen .dreampartgen-figure-toolbar { display: flex; justify-content: flex-end; padding-top: 8px; }
.studio-dreampartgen .dreampartgen-figure-toolbar .studio-zoom { position: static; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.studio-dreampartgen main .section p,
.studio-dreampartgen main .section .content p { text-align: left !important; }
.studio-dreampartgen main .section[data-studio-section="abstract"] .content p,
.studio-dreampartgen main .section[data-studio-section="contributions"] .content .studio-contribution-list > li { text-align: justify !important; text-align-last: left; }
.studio-dreampartgen .section .model-name,
.studio-dreampartgen .section .dataset-name { background: none; -webkit-text-fill-color: currentColor; color: inherit; font-weight: 650; }
.studio-dreampartgen .dreampartgen-schema { display: grid; grid-template-columns: 210px minmax(0,1fr); margin: 24px 0 0; text-align: left; }
.studio-dreampartgen .dreampartgen-schema dt,
.studio-dreampartgen .dreampartgen-schema dd { margin: 0; padding: 18px 0; border-top: 1px solid #ffffff20; }
.studio-dreampartgen .dreampartgen-schema dt { color: #ff915b; font-weight: 650; font-size: 16px; }
.studio-dreampartgen .dreampartgen-schema .dreampartgen-dpl { color: #1ba1e2; }
.studio-dreampartgen .dreampartgen-schema .dreampartgen-rsl { color: #dfa7e6; }
.studio-dreampartgen .dreampartgen-schema dd { padding-left: 18px; line-height: 1.8; font-size: 15px; }
.studio-dreampartgen .dreampartgen-dataset-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin: 24px 0; text-align: left; }
.studio-dreampartgen .dreampartgen-dataset-stats dt { color: #ff915b; font-size: 28px; font-weight: 700; }
.studio-dreampartgen .dreampartgen-dataset-stats dd { margin: 6px 0 0; color: #c2d0e3; font-size: 14px; }
.studio-dreampartgen main .studio-native-result { margin: 24px 0 40px; }
.studio-dreampartgen main .studio-native-table thead th { background: #713c27 !important; color: #fff3e9 !important; border-bottom-color: #ff915b; }
.studio-dreampartgen main .studio-native-table thead { border-bottom-color: #ff915b; }
.studio-dreampartgen main .studio-native-table tr.studio-ours { background: #ff915b22 !important; }
.studio-dreampartgen main .studio-native-table tr.studio-ours > th { color: #ff915b !important; font-weight: 700 !important; box-shadow: inset 3px 0 0 #ff915b; }
.studio-dreampartgen main .studio-native-table tr.studio-group > th { color: #a9ccff !important; background: #13294b !important; box-shadow: inset 3px 0 0 #83afd9; border-color: #83afd940; }
.studio-dreampartgen main .studio-native-table .dreampartgen-best { color: #f1f5fc !important; font-weight: 800 !important; }
.studio-dreampartgen main .studio-native-table .dreampartgen-second { color: #e2e9f4; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.studio-dreampartgen main .studio-native-table { min-width: 620px; }
.studio-dreampartgen main .dreampartgen-generation-result table { min-width: 1000px; }
.studio-dreampartgen main .dreampartgen-generation-result th,
.studio-dreampartgen main .dreampartgen-generation-result td { padding-inline: 8px; white-space: nowrap; }
.studio-dreampartgen main .dreampartgen-generation-result thead tr:first-child th { text-transform: none; }
.studio-dreampartgen .section p.dreampartgen-result-caption { margin: 0 0 24px !important; text-align: left !important; font-size: 14px; }
.studio-dreampartgen .dreampartgen-result-takeaway { padding: 18px 20px; border-left: 3px solid #ff915b; border-radius: 0 8px 8px 0; background: #ff915b12; font-size: 15px; line-height: 1.8; }
.studio-dreampartgen .dreampartgen-model-instructions { color: #c2d0e3; font-size: 14px; line-height: 1.8; margin: 0 0 24px; }
.studio-dreampartgen .dreampartgen-model-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.studio-dreampartgen .dreampartgen-model-card { background: transparent; border: 0; border-radius: 0; min-width: 0; text-align: center; }
.studio-dreampartgen .dreampartgen-model-card model-viewer { display: block; width: 100%; height: 280px; border-radius: 0; background: transparent; --poster-color: transparent; }
.studio-dreampartgen .dreampartgen-model-card button { margin: 8px 0 12px; min-height: 36px; }
.studio-dreampartgen .dreampartgen-model-card button:disabled { opacity: .5; cursor: default; }
.studio-dreampartgen .video-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 20px; }
.studio-dreampartgen .video-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; min-width: 0; }
.studio-dreampartgen .video-pair video { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 6px; }
.studio-dreampartgen .section[data-studio-section="bibtex"] pre,
.studio-dreampartgen .section[data-studio-section="bibtex"] pre code { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 1035px) {
 .studio-dreampartgen .dreampartgen-model-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .studio-dreampartgen .video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 768px) {
 .page-project.project-studio.studio-dreampartgen main { padding-top: 45px; }
 .studio-dreampartgen .studio-name { font-size: clamp(30px,7.5vw,46px); }
 .studio-dreampartgen .dreampartgen-feature { padding: 20px; }
 .studio-dreampartgen .dreampartgen-schema { grid-template-columns: 1fr; }
 .studio-dreampartgen .dreampartgen-schema dt { padding: 16px 0 4px; }
 .studio-dreampartgen .dreampartgen-schema dd { border-top: 0; padding: 4px 0 18px; }
 .studio-dreampartgen .dreampartgen-model-grid { gap: 14px; }
 .studio-dreampartgen .dreampartgen-model-card model-viewer { height: 240px; }
}
@media (max-width: 500px) {
 .studio-dreampartgen .dreampartgen-model-grid,
 .studio-dreampartgen .video-grid { grid-template-columns: 1fr; }
}
