/* V07 focused production candidate — preserve backend and existing field order */
/* Always keep paired fields paired on phone as requested. */
body.design-two .gh-settings-page .profile-settings-form .form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:clamp(8px,1.6vw,18px)!important;row-gap:6px!important}
body.design-two .gh-settings-page .profile-settings-form .form-grid>label{grid-column:auto!important;min-width:0!important;overflow-wrap:anywhere!important}
body.design-two .gh-settings-page .profile-settings-form .form-grid>label.wide,body.design-two .gh-settings-page .profile-settings-form .form-grid>.wide{grid-column:1/-1!important}
body.design-two .gh-settings-page .profile-settings-form label{line-height:1.3!important}
body.design-two .gh-settings-page .profile-settings-form :is(input,select,textarea){min-width:0!important;width:100%!important;box-sizing:border-box!important}
@media(max-width:540px){
 body.design-two .gh-settings-page .profile-settings-form fieldset{padding:14px 10px!important}
 body.design-two .gh-settings-page .profile-settings-form .form-grid{column-gap:8px!important}
 body.design-two .gh-settings-page .profile-settings-form :is(input,select){padding:8px!important;font-size:13px!important;min-height:43px!important}
 body.design-two .gh-settings-page .profile-settings-form label{font-size:9px!important;letter-spacing:0!important}
 body.design-two .gh-settings-page .profile-settings-form legend{font-size:12px!important}
}
/* Your own profile: keep both columns instead of vertically stacking every card on phones. */
body.design-two .player-profile-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body.design-two .player-profile-grid>.panel{min-width:0!important;margin:0!important;overflow-wrap:anywhere!important;box-sizing:border-box!important}
body.design-two .player-profile-grid>.player-about-card{grid-column:1!important}
body.design-two .player-profile-grid>.player-id-card{grid-column:2!important}
body.design-two .player-profile-grid>.player-account-card{grid-column:1/-1!important}
body.design-two .profile-home-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body.design-two .profile-home-grid>.panel{min-width:0!important;overflow-wrap:anywhere!important}
@media(max-width:540px){
 body.design-two .player-profile-grid>.panel,body.design-two .profile-home-grid>.panel{padding:11px 9px!important}
 body.design-two .player-profile-grid .panel-title,body.design-two .profile-home-grid .panel-title{font-size:clamp(18px,5vw,25px)!important}
 body.design-two .player-profile-grid .panel-head{flex-wrap:wrap;gap:5px}
 body.design-two .player-id-number{font-size:clamp(14px,5vw,25px)!important;overflow-wrap:anywhere!important;word-break:break-all!important}
 body.design-two .player-profile-grid .profile-account-lines b{overflow-wrap:anywhere!important}
}
/* Alert thread summaries remain compact until expanded, with readable touch targets. */
body.design-two .gh-notification-thread{min-width:0!important}
body.design-two .gh-notification-details>summary{cursor:pointer;min-height:56px!important}
body.design-two .gh-notification-thread-controls{flex-wrap:wrap}

/* Four compact notification destinations, one content section shown at once. */
body.design-two .gh-alert-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}
body.design-two .gh-alert-category{display:grid;min-width:0;gap:5px;align-content:start;text-decoration:none;text-align:left;padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text);cursor:pointer}
body.design-two .gh-alert-category span{font-size:22px;color:var(--yellow)}
body.design-two .gh-alert-category strong{font-size:13px}
body.design-two .gh-alert-category small{color:var(--muted);font-size:10px;line-height:1.45}
body.design-two .gh-alert-category.is-selected{border-color:var(--yellow);box-shadow:inset 0 2px 0 var(--yellow)}
body.design-two [data-view="notifications"] .panel[hidden]{display:none!important}
@media(max-width:620px){body.design-two .gh-alert-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.design-two .gh-alert-category{padding:11px;min-height:100px}}
