/* GModLab 21.0.10 — карточка и содержимое материала. */
.detail-page.php-shell{width:min(1440px,calc(100% - 48px));padding-top:34px;padding-bottom:100px}.detail-page .back-link{display:inline-flex;align-items:center;min-height:38px;margin-bottom:10px;color:#aeb8b0;font-size:13px}.detail-page .back-link:hover{color:var(--accent)}
.detail-page .php-material-grid{grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);min-height:540px;margin-top:12px;border-color:#354039;border-radius:10px;background:#111713;box-shadow:0 20px 70px rgba(0,0,0,.18)}.detail-page .php-material-media{position:relative;min-height:540px;overflow:hidden}.detail-page .php-material-media:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset -30px 0 60px rgba(5,8,6,.12)}.detail-page .php-material-media img{display:block;object-position:center;transition:transform .35s ease}.detail-page .php-material-grid:hover .php-material-media img{transform:scale(1.012)}
.detail-page .php-material-panel{display:flex;flex-direction:column;justify-content:center;padding:42px 44px;background:linear-gradient(145deg,#18201a 0%,#131915 100%)}.detail-page .php-material-panel>h1{max-width:620px;margin:15px 0 12px;font-size:clamp(42px,4vw,62px);line-height:.94}.detail-page .php-material-panel>p{margin:0;color:#aeb8b0;font-size:15px;line-height:1.65}.detail-page .php-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:17px}.detail-page .php-tags .php-badge{min-height:27px;padding-inline:9px;background:#111713}.detail-page .php-material-info{gap:0;margin:25px 0 20px;padding:0;border:1px solid var(--border);border-radius:7px;overflow:hidden}.detail-page .php-material-info span{min-height:70px;padding:13px 15px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);justify-content:center;font-size:11px}.detail-page .php-material-info span:nth-child(2n){border-right:0}.detail-page .php-material-info span:nth-last-child(-n+2){border-bottom:0}.detail-page .php-material-info b{margin-top:4px;font-size:15px}.detail-page .php-material-actions{grid-template-columns:1fr 1fr;gap:9px}.detail-page .php-material-actions>.php-notice{grid-column:1/-1;display:flex;align-items:center;min-height:46px;padding:11px 13px}.detail-page .php-material-actions>form{width:100%}.detail-page .php-material-actions .php-button{min-height:44px;padding-inline:13px}.detail-page .php-material-actions>a:first-child,.detail-page .php-material-actions>.php-notice:first-child{grid-column:1/-1}
.detail-page .php-material-actions>form .material-favorite-button{width:100%;min-height:58px;border-color:#3b473e;background:#111713}.detail-page .material-favorite-button .gml-icon{width:20px;height:20px;color:#c8d1ca}.detail-page .material-review-link{min-height:58px!important;display:grid;grid-template-columns:24px minmax(0,1fr) 18px;gap:10px;padding:9px 12px!important;border-color:#59703d;background:#182218;color:#f4f7f4;text-align:left}.detail-page .material-review-link>span{display:grid;gap:2px;min-width:0}.detail-page .material-review-link b{font-size:13px;line-height:1.25}.detail-page .material-review-link small{color:#99a89c;font-size:10px;line-height:1.25}.detail-page .material-review-link>.gml-icon:first-child{width:21px;height:21px;color:var(--accent)}.detail-page .material-review-link>.gml-icon:last-child{width:16px;height:16px;color:#91a087}.detail-page .material-review-link:hover{border-color:var(--accent);background:#1d291d}
.detail-page .php-material-content{grid-template-columns:minmax(0,1fr) 340px;gap:34px;padding:54px 0 34px;border-bottom:1px solid var(--border)}.detail-page .php-material-content>article{min-width:0;padding:30px 34px;border:1px solid var(--border);border-radius:9px;background:#111713;font-size:16px;line-height:1.8}.detail-page .php-material-content h2{margin:8px 0 22px!important;font-size:42px}.detail-page .php-material-content article>p{margin:0 0 18px}.detail-page .rich-content{color:#c2cbc4}.detail-page .rich-content>:first-child{margin-top:0}.detail-page .rich-content h2,.detail-page .rich-content h3{margin-top:30px!important}.detail-page .rich-content :where(p,li){font-size:16px;line-height:1.8}.detail-page .php-material-content article>.php-panel{margin-top:26px;padding:22px;border-color:#48563e;background:#151d17}.detail-page .php-material-content article>.php-panel h3{margin:0 0 14px!important}
.detail-page .php-material-side{gap:10px}.detail-page .php-material-stat{grid-template-columns:44px minmax(0,1fr);min-height:94px;align-content:center;padding:18px 20px;border-radius:8px;background:linear-gradient(135deg,#18201a,#121713)}.detail-page .php-material-stat .gml-icon{width:25px;height:25px;align-self:center}.detail-page .php-material-stat b{align-self:end;font-size:25px;line-height:1.05}.detail-page .php-material-stat small{font-size:12px}.detail-page .php-section,.detail-page .material-comments{padding-top:40px}.detail-page .php-section-head h2,.detail-page .material-comments h2{font-size:36px}.detail-page .public-gallery-grid{gap:12px}.detail-page .public-gallery-grid figure{border-radius:8px}.detail-page .public-version-list article{padding:18px 20px;border-radius:7px}
@media(max-width:1100px){.detail-page .php-material-grid{grid-template-columns:1fr;min-height:0}.detail-page .php-material-media{min-height:460px;aspect-ratio:16/9}.detail-page .php-material-panel{padding:34px}.detail-page .php-material-content{grid-template-columns:1fr}.detail-page .php-material-side{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-page .php-material-stat{min-height:88px}}
@media(max-width:720px){.detail-page.php-shell{width:min(100% - 24px,1440px);padding-top:20px}.detail-page .php-material-media{min-height:250px}.detail-page .php-material-panel{padding:23px 20px}.detail-page .php-material-panel>h1{font-size:42px}.detail-page .php-material-info{grid-template-columns:1fr 1fr}.detail-page .php-material-actions{grid-template-columns:1fr}.detail-page .php-material-actions>*{grid-column:1!important}.detail-page .php-material-content{padding-top:24px}.detail-page .php-material-content>article{padding:22px 20px}.detail-page .php-material-side{grid-template-columns:1fr}.detail-page .php-material-stat{min-height:78px}.detail-page .php-material-content h2{font-size:36px}}
@media(max-width:430px){.detail-page .php-material-info{grid-template-columns:1fr}.detail-page .php-material-info span{min-height:58px;border-right:0!important;border-bottom:1px solid var(--border)!important}.detail-page .php-material-info span:last-child{border-bottom:0!important}}

/* Material transparency and reviews workspace. */
.material-community-page{width:min(1380px,calc(100% - 56px));padding-top:42px}.material-community-page>.back-link{display:inline-flex;align-items:center;gap:8px;margin-bottom:28px;color:#9da89f;font-size:13px}.material-community-page>.back-link .gml-icon{width:16px;transform:rotate(180deg)}.material-community-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:28px}.material-community-hero>div{min-width:0}.material-community-hero .php-page-title{max-width:1080px;margin:10px 0!important;font-size:clamp(48px,5vw,72px)}.material-community-hero p{max-width:760px;margin:0;color:var(--muted);font-size:16px;line-height:1.65}.material-community-hero>span{width:72px;height:72px;display:grid;place-items:center;flex:0 0 72px;border:1px solid #51633f;border-radius:10px;background:#a8ff3e0b;color:var(--accent)}.material-community-hero>span .gml-icon{width:34px;height:34px}.material-community-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.material-summary-card{min-height:210px;padding:24px!important}.material-summary-card>header{display:flex;align-items:center;gap:13px;margin-bottom:20px}.material-summary-card>header>span{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:7px;background:#a8ff3e0c;color:var(--accent)}.material-summary-card>header .gml-icon{width:21px}.material-summary-card header small,.material-rating-summary header small{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.material-summary-card h2{margin:3px 0 0!important;font-size:22px}.material-summary-card p{color:var(--muted);line-height:1.6}.material-summary-value{display:block;margin:5px 0 12px;color:#fff;font-size:34px;line-height:1}.material-summary-value small{color:var(--muted);font-size:12px;font-weight:500}.material-review-section{padding-top:46px}.material-review-section>header{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:18px}.material-review-section>header h2{margin:5px 0 0;font-size:36px}.material-review-section>header h2 span{color:var(--accent)}.material-review-section>header>p{max-width:450px;margin:0;color:var(--muted);text-align:right}.material-review-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;align-items:stretch}.material-review-form{padding:26px!important}.material-review-form>header,.material-rating-summary>header{display:flex;align-items:center;gap:12px}.material-review-form>header>.gml-icon,.material-rating-summary>header>.gml-icon{width:40px;height:40px;padding:9px;border-radius:7px;background:#a8ff3e0c;color:var(--accent)}.material-review-form h3,.material-rating-summary h3{margin:0!important;font-size:23px}.material-review-form header p{margin:3px 0 0;color:var(--muted);font-size:12px}.material-rating-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.material-review-form textarea{min-height:125px}.material-review-form>.php-button{width:100%}.material-rating-summary{padding:26px!important}.material-rating-summary>header{margin-bottom:22px}.material-rating-summary>div{display:grid;gap:7px;margin-top:16px}.material-rating-summary>div>span{display:flex;justify-content:space-between;gap:12px}.material-rating-summary>div small{color:var(--muted)}.material-rating-summary i{height:7px;display:block;overflow:hidden;border-radius:99px;background:#090d0a}.material-rating-summary em{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#74b500,var(--accent))}.material-review-list{display:grid;gap:10px;margin-top:14px}.material-review-list article{padding:20px!important}.material-review-list article>header{display:flex;align-items:center;gap:11px}.material-review-list article>header>span{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#1d271e;color:var(--accent)}.material-review-list article header strong,.material-review-list article header small{display:block}.material-review-list article header small{margin-top:3px;color:var(--muted)}.material-review-list article>p{margin:15px 0;line-height:1.7}.material-review-list footer{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.material-review-list footer span{display:flex;justify-content:space-between;gap:8px;padding:9px 11px;border-radius:5px;background:#0e1410;color:var(--muted);font-size:11px}.material-review-list footer b{color:#fff}.material-review-login{display:grid;place-items:center;align-content:center;min-height:360px;text-align:center}.material-review-login>.gml-icon{width:36px;height:36px;color:var(--accent)}
@media(max-width:980px){.material-community-summary{grid-template-columns:1fr 1fr}.material-summary-card:last-child{grid-column:1/-1}.material-review-layout{grid-template-columns:1fr}.material-rating-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px}.material-rating-summary>header{grid-column:1/-1}.material-rating-summary>div{margin-top:5px}}
@media(max-width:680px){.material-community-page{width:min(100% - 24px,1380px);padding-top:25px}.material-community-hero>span{display:none}.material-community-summary,.material-rating-grid,.material-rating-summary{grid-template-columns:1fr}.material-summary-card:last-child,.material-rating-summary>header{grid-column:auto}.material-review-section>header{align-items:flex-start;flex-direction:column}.material-review-section>header>p{text-align:left}.material-review-list footer{grid-template-columns:1fr 1fr}}
