/* Telegram already supplies the QAQA title. Keep one clear heading per page. */
#page-home .home-controls { margin-top:5px; }
.page-title-row { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.page-title-row h1 { min-width:0; }
.page-title-row .compact-upgrade,
#page-profile .profile-identity .compact-upgrade { flex:none; }
#page-tools .page-intro,
#page-create .page-intro { padding-top:15px; }
#page-profile .profile-identity { padding-top:17px; }
#page-profile .profile-identity>div { min-width:0; }
#page-profile .profile-identity .compact-upgrade { margin-left:auto; }

/* Shared type and subscription treatment across home, discovery, studio and profile. */
#page-tools .tool-copy strong,
#page-tools .featured-skills strong,
#page-create .creation-launch strong,
#page-profile .settings-list strong { font-weight:500;letter-spacing:-.018em; }
#page-tools .tool-section-head h2,
#page-tools .featured-skills-block .section-heading h2,
#page-create .section-heading h2 { font-weight:600;letter-spacing:-.025em; }
.compact-upgrade {
  min-width:54px;
  height:36px;
  border:1px solid #e4bb6b;
  border-radius:999px;
  background:linear-gradient(110deg,#f7d88b,#ddb36a 58%,#c99653);
  color:#352411;
  box-shadow:0 8px 22px #4e652a26;
  font-size:12px;
  font-weight:700;
}
:root[data-theme=dark] .compact-upgrade {
  border-color:#d6ac62;
  background:linear-gradient(110deg,#e4c075,#be9650);
  color:#2a1d0f;
}
