/* Personal account studio only; existing controls and permission checks retained. */
#member-profile .member-identity-banner{min-height:228px;padding:44px 36px 30px;gap:28px;background:radial-gradient(ellipse at 96% 0,#79603640,transparent 56%),radial-gradient(ellipse at 20% 90%,#22476b50,transparent 65%),linear-gradient(110deg,#101e2d,#101820);border-color:#aa8d5155;box-shadow:inset 0 1px #eed29818}
#member-profile .member-identity-banner::after{content:"";position:absolute;right:8%;top:-100px;width:430px;height:430px;border:1px solid #d4b57612;transform:rotate(40deg);pointer-events:none}
.member-banner-mark{position:absolute;top:18px;right:28px;font:10px/1.5 system-ui;letter-spacing:4px;color:#c1a76b;z-index:1}
#member-profile .member-identity-copy>strong{font-size:32px;letter-spacing:1px}#member-profile .member-avatar-actions{max-width:250px;align-self:center;z-index:1}
#account-page #member-profile .member-profile-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:24px;align-items:stretch}
#member-profile .profile-settings-card,#member-profile .vip-wardrobe{margin:0;padding:28px;border:1px solid #7c714747;border-radius:14px;background:linear-gradient(135deg,#142332,#0d1722 80%);min-width:0}
#member-profile .profile-settings-card h2,#member-profile .vip-wardrobe h3{font-size:22px;color:#ead6ac;margin:0;padding:0;border:0}
#member-profile .vip-wardrobe>header{margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid #ffffff10}#member-profile .vip-wardrobe>header>a{font-size:12px;color:#c9b179;text-decoration:none}
#member-profile .member-public-profile{display:flex;flex-direction:column}#member-profile .member-shop-entry{order:4;margin:26px 0 0;padding-top:20px;border-top:1px solid #ffffff12}#member-profile .member-shop-entry a{font-size:12px;text-decoration:none}
#member-profile #signature-form{margin-top:26px;gap:18px}#member-profile #member-signature{min-height:124px;line-height:1.8;background:#091520a6;border-color:#40506480}#member-profile #signature-count{position:absolute;right:0;top:0}
#member-profile .member-owned-avatars{margin-top:20px}#member-profile #vip-equipped-preview{min-height:46px;margin-top:0;padding:12px 15px;border-radius:8px;background:#080f1999;border:1px solid #ffffff09}
#member-profile #vip-cosmetics-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin:20px 0 24px}#member-profile #vip-cosmetics-form label{min-width:0}#member-profile #vip-cosmetics-form select{font-size:13px;min-width:0;min-height:44px}#member-profile #vip-cosmetics-form>button{grid-column:1/-1;justify-self:end;min-width:116px}
#member-profile .vip-custom-contact{margin-top:auto}#member-profile .vip-style-samples{gap:8px}#member-profile .vip-style-samples>small{width:100%;margin-top:4px}#member-profile #member-profile-message:empty,#member-profile #vip-cosmetic-message:empty{display:none}
#member-security .member-private-profile{max-width:860px}#member-security .settings-form{max-width:720px}#member-security #riot-form{display:grid;gap:14px;padding-bottom:28px;border-bottom:1px solid #31404c;margin-bottom:30px}#member-security #riot-form label{display:grid;gap:10px}#member-security #riot-form button{justify-self:start}#member-security .security-password-title{margin-bottom:24px}
@media(max-width:1100px){#account-page #member-profile .member-profile-grid{grid-template-columns:1fr}#member-profile .member-identity-banner{flex-wrap:wrap}#member-profile .member-avatar-actions{max-width:none;align-self:auto}}
@media(max-width:600px){#member-profile .member-identity-banner{padding:45px 20px 24px;gap:18px}#member-profile .member-identity-copy>strong{font-size:23px}#member-profile .profile-settings-card,#member-profile .vip-wardrobe{padding:20px}#member-profile #vip-cosmetics-form{grid-template-columns:1fr}#member-profile .member-avatar-actions{justify-content:flex-start}#member-profile .member-avatar-actions small{text-align:left}.member-banner-mark{font-size:9px;right:20px}#member-profile .member-identity-copy{flex-basis:150px}}
/* Compact signature editor, visual frame + plate fitting room.
 * Desktop: stretch both OUTER cards to the same row height, including the
 * left card containing team-avatar selection. Do not stretch the signature
 * textarea; its 64px height is independent. On mobile each row sizes itself.
 */
#account-page #member-profile .member-profile-grid{grid-template-columns:minmax(260px,.65fr) minmax(0,1.35fr);align-items:stretch}
#member-profile .member-public-profile{padding:24px}
#member-profile #signature-form{order:1;margin-top:18px;gap:12px}
#member-profile #signature-form label{font-size:0;gap:0}
#member-profile #signature-count{position:static;display:block;text-align:right;font-size:11px;margin-bottom:8px}
#member-profile #member-signature{min-height:64px;height:64px;max-height:96px;font-size:14px;line-height:1.65;padding:10px 12px;resize:none}
#member-profile #signature-form button{padding:8px 16px;font-size:12px;min-width:96px}
#member-profile #member-profile-message{order:2}
#member-profile .member-owned-avatars{order:3;margin:20px 0 0;padding-top:18px;border-top:1px solid #ffffff12}
#member-profile .member-owned-avatars:empty{margin:0;padding:0;border:0}
/* Fixed thumbnail slots avoid title length changing individual card heights. */
#member-profile .member-owned-avatars button{width:86px;height:128px;padding:8px;grid-template-rows:52px 18px 16px;align-content:center}
#member-profile .member-owned-avatars img{width:52px;height:52px}
#member-profile .member-owned-avatars span{max-width:68px}
#member-profile .member-shop-entry{gap:8px;margin-top:18px;padding-top:16px}
#member-profile #vip-equipped-preview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;padding:0;border:0;background:none;min-height:0}
.wardrobe-frame-preview,.wardrobe-plate-preview{min-width:0;display:flex;flex-direction:column;align-items:center;padding:17px 10px 14px;border:1px solid #a895632c;border-radius:12px;background:radial-gradient(ellipse at center,#324b6a40,transparent 80%),#0b1623}
.wardrobe-preview-label{font-size:11px;color:#a2b3c6;letter-spacing:2px}
.wardrobe-preview-stage{display:flex;align-items:center;justify-content:center;min-height:146px;width:100%;min-width:0}
.wardrobe-preview-stage .decorated-avatar{--portrait-size:94px}
.wardrobe-plate-preview .vip-badge{font-size:13px;padding:7px 9px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.wardrobe-plate-preview .vip-badge small{flex-shrink:0;white-space:nowrap}
.wardrobe-frame-preview>small,.wardrobe-plate-preview>small{font-size:11px;color:#b9a573;text-align:center;overflow-wrap:anywhere}
#member-profile .vip-custom-contact{padding-top:16px}
#member-profile .vip-style-samples{margin-top:12px}
#member-profile #vip-cosmetics-form{margin-bottom:18px}
@media(max-width:1100px){#account-page #member-profile .member-profile-grid{grid-template-columns:1fr}}
@media(max-width:430px){#member-profile #vip-equipped-preview{gap:8px}.wardrobe-preview-stage{min-height:120px}.wardrobe-preview-stage .decorated-avatar{--portrait-size:76px}.wardrobe-frame-preview,.wardrobe-plate-preview{padding-inline:7px}.wardrobe-plate-preview .vip-badge{font-size:11px;padding:5px}.wardrobe-preview-label{letter-spacing:0}}

