/* Account navigation and profile structure, without changing account actions. */
body.account-polished .page{width:calc(100% - 40px);max-width:1120px}
.account-mobile-navigation{display:none}
body.account-polished .card{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;padding:0;background:transparent;border:0;box-shadow:none;border-radius:0;overflow:visible;backdrop-filter:none;-webkit-backdrop-filter:none;animation:none}
body.account-polished .card::before{display:none}
body.account-polished .tabs{position:sticky;top:24px;align-self:start;display:flex;flex-direction:column;flex-wrap:nowrap;gap:5px;padding:10px;border:1px solid #c3b08a29;border-radius:18px;background:#1a1511ed;overflow:visible}
body.account-polished .tab{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:48px;padding:12px 15px;border:1px solid transparent;border-radius:11px;text-transform:none;letter-spacing:0;font:400 13px/1.6 Poppins,sans-serif;color:#bfb6a5;white-space:normal;text-align:left}
body.account-polished .tab::after{display:none}
body.account-polished .tab.active{border-color:#d8b77b44;background:#d7ba7f13;color:#f0dbb7;box-shadow:inset 2px 0 #d4b477}
body.account-polished .panel{grid-column:2;grid-row:1;min-width:0;padding:28px;border:1px solid #c3b08a29;border-radius:20px;background:linear-gradient(145deg,#211b15f5,#15120ff5)}
body.account-polished .panel.active{animation:none}
.account-panel-heading{margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid #c3b08a24}
.account-panel-heading h2{margin:0 0 7px;font:500 28px/1.4 'Playfair Display',Georgia,serif;color:#eee7da}
.account-panel-heading p{margin:0;color:#bcb3a3;font:400 13px/1.8 Poppins,sans-serif}
.account-profile-layout{display:grid;grid-template-columns:minmax(160px,.65fr) minmax(0,1.35fr);gap:26px;align-items:start}
.account-profile-aside{min-width:0;padding-right:22px;border-right:1px solid #c3b08a24}
body.account-polished .avatar-row{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin:0 0 22px;padding:0}
body.account-polished .avatar-wrap{flex-shrink:0}
body.account-polished .avatar-meta p{line-height:1.75}
body.account-polished .avatar-meta .hint{font-size:11px;color:#afa797}
body.account-polished .remove-link{min-height:44px;padding:8px 0;color:#d3ab92;font-size:12px}
.account-profile-frames{margin-top:14px;border-top:1px solid #c3b08a24}
.account-profile-frames>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:52px;cursor:pointer;list-style:none;font:400 12px/1.7 Poppins,sans-serif;color:#ddc398}
.account-profile-frames>summary::-webkit-details-marker{display:none}.account-profile-frames>summary::after{content:'+';font-size:20px}.account-profile-frames[open]>summary::after{content:'−'}
body.account-polished #framePicker{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important;padding-bottom:12px}
body.account-polished .frame-option{box-sizing:border-box;min-width:0;min-height:76px;padding:10px 4px;border:1px solid transparent;border-radius:12px}
body.account-polished .frame-option.selected{border-color:#d6b77960;background:#d6b7790c}
body.account-polished #profilForm{min-width:0}
.account-profile-fields{border:0;padding:0;margin:0 0 24px;min-width:0}
.account-profile-fields>legend{font:500 16px/1.7 Poppins,sans-serif;color:#e7dcc7;padding:0;margin-bottom:16px}
body.account-polished #profilForm .form-group{margin-bottom:16px}
body.account-polished #profilForm label{display:block;font:400 12px/1.6 Poppins,sans-serif;text-transform:none;letter-spacing:0;color:#c7bcaa;margin-bottom:8px}
body.account-polished #profilForm :is(input,select){width:100%;min-width:0;box-sizing:border-box;min-height:48px;border:1px solid #c3b08a38;border-radius:11px;background:#100e0bc2;color:#ece6d9;font:400 14px/1.6 Poppins,sans-serif;padding:11px 13px}
body.account-polished #profilForm :is(input,select):focus{border-color:#dcc18b;box-shadow:0 0 0 3px #dcc18b0a;outline:none}
body.account-polished #profilForm .cs-trigger{min-height:48px;border:1px solid #c3b08a38;border-radius:11px;background:#100e0bc2;color:#ece6d9;font:400 14px/1.6 Poppins,sans-serif;padding:11px 36px 11px 13px}
body.account-polished #profilForm .cs-panel{background:#211a13;border-color:#c3b08a50}
body.account-polished #profilForm .cs-option{padding:12px 14px;font-size:13px;min-height:44px}
.account-profile-save{display:flex;justify-content:flex-end;padding-top:4px}
body.account-polished #profilForm .login-btn.primary{width:auto;min-height:48px;padding:12px 22px;border:1px solid #d6b77970;border-radius:12px;background:#d5b77c;color:#20190f;font:500 13px/1.6 Poppins,sans-serif;box-shadow:none}
body.account-polished #panel-profil>.divider{margin:20px 0 10px}
body.account-polished #panel-profil>.logout{width:auto;min-height:44px;border:0;padding:10px 0;background:transparent;font-size:12px;box-shadow:none;color:#c3aa94}
body.account-polished .plus-status{margin:0 0 24px;padding:16px 18px;border-radius:13px;background:#d6b77909;border-color:#d6b77932}
body.account-polished .plus-status .ps-sub{font-size:12px;color:#b6ab99}
@media(max-width:950px){.account-profile-layout{grid-template-columns:minmax(0,1fr)}.account-profile-aside{padding-right:0;padding-bottom:20px;border-right:0;border-bottom:1px solid #c3b08a24}body.account-polished .avatar-row{flex-direction:row;align-items:center;margin-bottom:10px}body.account-polished #framePicker{grid-template-columns:repeat(auto-fit,minmax(72px,1fr))}}
@media(max-width:700px){
 body.account-polished{padding:0 14px 28px}
 body.account-polished .page{width:100%;max-width:100%;padding-top:8px;margin-inline:auto}
 body.account-polished .top-header{gap:8px 12px;margin-bottom:20px}
 body.account-polished .top-header h1{font-size:28px}
 body.account-polished .card{display:block}
 body.account-polished .tabs{display:none}
 body.account-polished .account-mobile-navigation{display:grid;gap:8px;margin:0 0 18px;font:400 12px/1.6 Poppins,sans-serif;color:#bfb39f}
 .account-mobile-navigation select{appearance:auto;box-sizing:border-box;width:100%;min-height:50px;padding:12px 14px;border:1px solid #c3b08a38;border-radius:13px;background:#19140fed;color:#efdfbf;font:400 16px/1.5 Poppins,sans-serif}
 body.account-polished .tab{justify-content:center;text-align:center;min-height:46px;padding:10px 5px;font-size:12px;border-radius:9px}
 body.account-polished .tab.active{box-shadow:none}
 body.account-polished .panel{padding:20px 14px;border-radius:17px}
 .account-panel-heading h2{font-size:25px}.account-panel-heading{margin-bottom:18px;padding-bottom:14px}
 .account-panel-heading p{font-size:12px;line-height:1.7}
 body.account-polished #profilForm :is(input,select){font-size:16px}
 body.account-polished #profilForm .cs-trigger{font-size:16px}
 body.account-polished #profilForm .login-btn.primary{width:100%}
 .account-profile-layout{gap:18px}.account-profile-fields{margin-bottom:20px}
 .account-profile-aside{padding-bottom:14px}
 body.account-polished .avatar-row{gap:14px}
 body.account-polished .avatar-wrap{width:68px;height:68px}
 body.account-polished .avatar-img{width:100%;height:100%;font-size:28px}
 body.account-polished .avatar-edit-btn{width:24px;height:24px;right:-1px;bottom:-1px}
 body.account-polished .avatar-meta{min-width:0;flex:1}
 body.account-polished .avatar-meta p{overflow-wrap:anywhere}
 body.account-polished #profilForm .form-group{margin-bottom:14px}
 body.account-polished #profilForm label{margin-bottom:6px}
 body.account-polished #framePicker{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px!important}
 body.account-polished .frame-option{min-height:70px;padding:8px 2px;font-size:10px}
 body.account-polished :is(.account-profile-fields,.account-profile-layout,.panel>* ){min-width:0;max-width:100%}
 body.account-polished .plus-status{flex-direction:row;align-items:center;gap:12px;padding:14px 12px;font-size:12px}
 body.account-polished .plus-status .ps-link{flex:0 0 auto;width:auto;min-height:44px;padding:10px 12px}
 body.account-polished .plus-status .ps-sub{display:none}
}
/* Visual refinement; account sections and actions retain their existing layout. */
body.account-polished .top-header { margin-bottom: 30px; }
body.account-polished .top-header h1 { letter-spacing: -.025em; }
body.account-polished .tabs {
  padding: 9px;
  background: linear-gradient(150deg, #241e17f2, #171410f5);
  border-color: #c9b18a26;
  box-shadow: 0 8px 28px #00000018, inset 0 1px #ffffff05;
}
body.account-polished .tab {
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
body.account-polished .tab:hover { background: #d9bc8210; color: #f2e3cb; }
body.account-polished .tab.active {
  background: linear-gradient(110deg, #d5b67d1a, #d5b67d07);
  border-color: #d8b77b2e;
  box-shadow: inset 2px 0 #d4b477;
}
body.account-polished .panel {
  border-radius: 22px;
  border-color: #cab38b29;
  background: linear-gradient(155deg, #241e17f5, #17130ff7 65%);
  box-shadow: 0 16px 50px #00000024, inset 0 1px #ffffff05;
}
.account-panel-heading { border-bottom-color: #c3b08a1b; }
.account-panel-heading h2 { letter-spacing: -.025em; color: #f1e7d5; }
.account-panel-heading p { color: #b7ad9d; }
.account-profile-aside { border-right-color: #c3b08a1b; }
body.account-polished .avatar-meta p:first-child { color: #f0e2c8; }
.account-profile-fields > legend { font-size: 14px; letter-spacing: .01em; margin-bottom: 18px; }
body.account-polished #profilForm label { color: #c4b8a6; }
body.account-polished #profilForm :is(input, select, .cs-trigger) {
  border-color: #c3b08a2d;
  background: #100e0bb0;
  border-radius: 12px;
  box-shadow: inset 0 1px 3px #00000016;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
body.account-polished #profilForm :is(input, select, .cs-trigger):hover { border-color: #c3b08a55; }
body.account-polished #profilForm :is(input, select):focus {
  background: #17130f;
  border-color: #d7b77caa;
  box-shadow: 0 0 0 3px #d7b77c0d;
}
body.account-polished #profilForm .login-btn.primary {
  background: linear-gradient(125deg, #e1c38b, #c9a86b);
  border-color: #ebcf9655;
  box-shadow: 0 4px 14px #00000020, inset 0 1px #fff2;
  transition: filter .18s ease, box-shadow .18s ease;
}
body.account-polished #profilForm .login-btn.primary:hover { filter: brightness(1.05); box-shadow: 0 6px 18px #0003; }
body.account-polished .plus-status {
  background: linear-gradient(110deg, #c6a9770c, #c6a97703);
  border-color: #d6b77926;
  box-shadow: none;
}
body.account-polished .plus-status .ps-link { border-color: #c6ab7638; }
.account-profile-frames { border-top-color: #c3b08a1b; }
body.account-polished .frame-option { transition: background-color .18s ease, border-color .18s ease; }
body.account-polished .frame-option:hover { background: #d6b7790a; }
@media (max-width:700px) {
  body.account-polished .top-header { margin-bottom: 24px; }
  body.account-polished .top-header h1 { font-size: 30px; line-height: 1.3; }
  body.account-polished .account-mobile-navigation { margin-bottom: 16px; gap: 7px; color: #c2b49d; }
  .account-mobile-navigation select { border-radius: 14px; background: linear-gradient(125deg,#261e16ed,#17130ff5); border-color: #c3b08a30; }
  body.account-polished .panel { padding: 22px 14px; border-radius: 20px; }
  .account-panel-heading { margin-bottom: 20px; padding-bottom: 16px; }
  .account-panel-heading h2 { font-size: 26px; }
  .account-profile-layout { gap: 22px; }
  .account-profile-aside { border-bottom-color: #c3b08a1b; }
  body.account-polished .avatar-row { padding: 4px 0; }
  body.account-polished .plus-status { padding: 12px; margin-bottom: 20px; border-radius: 12px; }
  body.account-polished #profilForm .form-group { margin-bottom: 17px; }
  .account-profile-fields { margin-bottom: 26px; }
  body.account-polished #profilForm .login-btn.primary { min-height: 48px; }
}
@media(prefers-reduced-motion:reduce) {
  body.account-polished :is(.tab,.frame-option),body.account-polished #profilForm :is(input,select,.cs-trigger,.login-btn.primary) { transition: none; }
}
body.account-polished::after { animation-duration: .24s; }
body.account-polished .panel.active { animation: account-panel-reveal .18s ease-out; }
@keyframes account-panel-reveal { from { opacity: .65; } to { opacity: 1; } }
@media(prefers-reduced-motion:reduce) {
  body.account-polished::after { display:none; }
  body.account-polished .panel.active { animation:none; }
}
