/* Desktop-only refinements. Mobile geometry remains in its existing styles. */
@media(min-width:781px){
 .ed-shell .mf-presave,.ed-shell .mf-listen{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box;height:auto!important;min-height:40px;line-height:18px!important;padding:10px 16px!important;font-size:12px!important;vertical-align:middle;white-space:normal;text-align:center;margin-top:0}
 .ed-shell .ed-identity{display:grid;grid-template-columns:110px minmax(0,1fr) minmax(180px,.8fr);gap:18px;padding:0 4px}
 .ed-shell .ed-identity>img,.ed-shell .ed-identity>.ed-avatar{width:110px;height:110px}
 .ed-profile-links{padding-top:18px;min-width:0}
 .ed-profile-links>[data-edit]{width:100%;margin-bottom:12px}
 .ed-shell .ed-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}
 .ed-shell .ed-stats>div,.ed-shell .ed-stats>button{padding:14px 6px;border:1px solid #193640;border-radius:10px;background:#03171e;color:#a5bdc7;text-align:center;font:12px/1.5 Arial,sans-serif;box-shadow:none}
 .ed-shell .ed-stats b{font-size:24px;color:#fff}
 .ed-shell .et-card-wrap{position:relative}
 .ed-shell .et-card-wrap>.et-list-card{grid-area:1/1}
 .ed-shell .et-card-wrap>.et-card-rules{grid-area:1/1;align-self:end;justify-self:end;margin:20px;z-index:2;background:#031820e8}
 .ed-shell .et-list-card{padding-bottom:80px}
 .ed-shell .et-main-hero>img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;max-height:none;object-fit:cover}
 .ed-shell .et-main-hero:after{display:block;background:linear-gradient(90deg,#00121be8,#00121b45)}
 .ed-shell .et-main-hero{min-height:300px}
 .ed-shell .ed-comment-thread{width:100%;min-width:0}
 .ed-thread-back{margin-bottom:14px}
 .ed-comment-thread .official-comments-modal{position:static!important;inset:auto!important;display:block!important;width:100%;height:auto!important;padding:0!important;background:none!important;backdrop-filter:none!important}
 .ed-comment-thread .official-comments-sheet{width:100%!important;max-width:none!important;max-height:none!important;height:auto!important;display:block!important;border-radius:12px;margin-top:16px}
 .ed-comment-thread .official-comments-list{max-height:none!important;overflow:visible!important;flex:none}
 .ed-comment-thread .official-comment-composer{position:static!important}
 .ed-profile-editor{position:fixed!important;inset:0!important;z-index:1000!important;display:grid!important;place-items:center;background:#000b;padding:24px;color:#dce8ec}
 .ed-profile-editor form{width:min(680px,100%)!important;max-height:90vh!important;overflow:auto;background:#061b23;padding:24px;border:1px solid #294751;border-radius:14px;box-sizing:border-box}
 .ed-profile-editor header{display:flex;align-items:center;justify-content:space-between}
 .ed-profile-editor label{display:block;margin-top:12px}
 .ed-profile-editor input,.ed-profile-editor textarea{box-sizing:border-box;width:100%;padding:10px;margin:6px 0;background:#03171e;border:1px solid #294751;border-radius:8px;color:#fff}
 .ed-profile-editor input[type=checkbox]{width:auto}
 .ed-profile-editor button{padding:10px 14px;border:1px solid #294751;border-radius:8px;background:#15313a;color:#fff;cursor:pointer}
 .ed-profile-editor [data-account-settings]{margin-top:20px}
 @media(max-width:1199px){.ed-shell .ed-identity{grid-template-columns:90px minmax(0,1fr)}.ed-shell .ed-identity>img{width:90px;height:90px}.ed-profile-links{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px}.ed-profile-links>[data-edit]{width:auto}.ed-link-group{flex:1}}
}
/* The desktop cover follows the content height, ending just above statistics. */
@media(min-width:781px){
 .ed-shell .ed-profile-hero{position:relative;isolation:isolate;padding-top:210px;border-radius:12px 12px 0 0}
 .ed-shell .ed-profile-hero>.ed-profile-cover{position:absolute;inset:0;height:auto;z-index:-1;pointer-events:none;background-position:center top;border-radius:inherit;mask-image:linear-gradient(to bottom,#000 0%,#000 30%,#000b 58%,#0004 82%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 30%,#000b 58%,#0004 82%,transparent 100%)}
 .ed-shell .ed-profile-hero>.ed-profile-cover::after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(to bottom,transparent 15%,#00131b55 40%,#00131bb3 75%,#00131be6 100%)}
 .ed-shell .ed-profile-hero>.ed-identity{position:relative;margin-bottom:0;padding-bottom:22px;text-shadow:0 1px 8px #0009}
}
