html,body{min-width:320px}
.r2hc-account-page{
    margin:0;
    color:#eee1cd;
    background:
        radial-gradient(circle at 16% 0,rgba(214,168,81,.075),transparent 27%),
        radial-gradient(circle at 84% 8%,rgba(120,65,25,.07),transparent 24%),
        linear-gradient(180deg,#17130f 0%,#0b0908 46%,#070605 100%);
}
.r2hc-account-page .container{
    width:min(1240px,calc(100% - 40px));
    max-width:none;
    margin:0 auto;
    padding:0;
}

/* Шапка — тот же визуальный ритм, что на основной странице */
.r2hc-account-page .section[data-section="navigation"].header-elegant{
    position:sticky;
    top:0;
    z-index:1000;
    border-bottom:1px solid rgba(214,168,81,.15);
    background:linear-gradient(180deg,rgba(24,20,16,.97),rgba(13,11,9,.94));
    box-shadow:0 12px 32px rgba(0,0,0,.24);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}
.r2hc-account-page .header-elegant:before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:radial-gradient(circle at 12% 0,rgba(214,168,81,.09),transparent 20%),linear-gradient(90deg,transparent,rgba(214,168,81,.035),transparent);
}
.r2hc-account-page .header-elegant .container{position:relative;z-index:2}
.r2hc-account-page .header-elegant .navigation{
    min-height:82px;
    display:flex;
    align-items:center;
    gap:28px;
}
.r2hc-account-page .header-elegant .navigation__logotype{flex:0 0 auto}
.r2hc-account-page .header-elegant .logo{display:inline-flex;align-items:center;gap:15px;text-decoration:none}
.r2hc-account-page .header-elegant .logo__pic,
.r2hc-account-page .header-elegant .logo__img{width:60px;height:60px;object-fit:contain}
.r2hc-account-page .header-elegant .logo__img{filter:drop-shadow(0 0 14px rgba(255,160,35,.22))}
.r2hc-account-page .header-elegant .logo__text{
    color:#f1dfb2;
    font-family:"Cormorant SC",serif;
    font-size:29px;
    line-height:1;
    font-weight:700;
    letter-spacing:.09em;
    text-transform:uppercase;
    white-space:nowrap;
}
.r2hc-account-page .header-elegant .navigation__menu{flex:1 1 auto}
.r2hc-account-page .header-elegant .menu__content{display:flex;justify-content:center}
.r2hc-account-page .header-elegant .menu__list{display:flex;align-items:center;justify-content:center;gap:30px;margin:0;padding:0;list-style:none}
.r2hc-account-page .header-elegant .menu__item{
    position:relative;
    min-height:42px;
    display:inline-flex;
    align-items:center;
    color:rgba(236,224,202,.78);
    text-decoration:none;
    font-size:13px;
    font-weight:900;
    letter-spacing:.09em;
    text-transform:uppercase;
    transition:color .2s ease;
}
.r2hc-account-page .header-elegant .menu__item:after{
    content:"";
    position:absolute;
    left:50%;
    bottom:4px;
    width:0;
    height:1px;
    transform:translateX(-50%);
    background:linear-gradient(90deg,transparent,#d6a851,transparent);
    transition:width .22s ease;
}
.r2hc-account-page .header-elegant .menu__item:hover{color:#f3cf72}
.r2hc-account-page .header-elegant .menu__item:hover:after{width:100%}
.r2hc-account-page .header-elegant .navigation__el_scl{flex:0 0 auto}
.r2hc-account-page .header-elegant .scl__list{display:flex;align-items:center;gap:8px}
.r2hc-account-page .header-elegant .scl__item{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:0;background:transparent;color:inherit;text-decoration:none;filter:none}
.r2hc-account-page .header-elegant .navigation__el_lang{position:relative;flex:0 0 54px;width:54px;display:flex;justify-content:center}
.r2hc-account-page .header-elegant .lang{position:relative;width:50px;height:50px;display:flex;align-items:center;justify-content:center}
.r2hc-account-page .header-elegant .lang__current,
.r2hc-account-page .header-elegant .lang__link{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;background:transparent}
.r2hc-account-page .header-elegant .lang img{display:block;width:40px;height:40px;border-radius:50%;object-fit:cover;box-shadow:0 2px 9px rgba(0,0,0,.42)}
.r2hc-account-page .header-elegant .lang__list{position:absolute;left:50%;top:50px;z-index:20;display:grid;gap:7px;padding:8px 6px 10px;border-radius:0 0 8px 8px;background:rgba(21,18,13,.97);box-shadow:0 14px 28px rgba(0,0,0,.32);opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-50%) translateY(-8px);transition:.16s ease}
.r2hc-account-page .header-elegant .lang:hover .lang__list,
.r2hc-account-page .header-elegant .lang:focus-within .lang__list{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}
.r2hc-account-page .header-elegant .btn_auth{min-width:184px;min-height:46px;border:1px solid rgba(214,168,81,.32);background:linear-gradient(180deg,rgba(86,45,20,.9),rgba(42,17,11,.95));box-shadow:0 10px 24px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.055)}
.r2hc-account-page .header-elegant .btn_auth .btn__content{color:#fff1c9;font-size:13px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}

/* Основная часть */
.account-page-main{padding:34px 0 50px}
.account-page-title{margin:0 0 22px;text-align:center}
.account-page-title span{display:inline-flex;padding:7px 12px;border:1px solid rgba(219,173,79,.18);border-radius:999px;background:rgba(219,173,79,.055);color:#dbb45f;font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.account-page-title h1{margin:13px 0 0;color:#d5a84a;font-family:"Cormorant SC",Georgia,serif;font-size:clamp(44px,4.4vw,62px);font-weight:600;line-height:.98}
.account-page-title p{max-width:680px;margin:9px auto 0;color:#a89882;font-size:13px;line-height:1.55}
.account-page-frame-wrap{width:100%;overflow:hidden;border-radius:20px;background:transparent}
.account-page-frame{display:block;width:100%;height:940px;min-height:760px;border:0;background:transparent}

/* Футер — как на основной странице */
.footer-clean.account-footer{
    position:relative;
    padding:38px 0 28px;
    border-top:1px solid rgba(214,168,81,.15);
    background:linear-gradient(180deg,rgba(18,14,11,.94),rgba(8,7,6,.99));
}
.footer-clean.account-footer:before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:radial-gradient(circle at 18% 20%,rgba(214,168,81,.07),transparent 24%),radial-gradient(circle at 84% 10%,rgba(214,168,81,.045),transparent 22%);
}
.footer-clean.account-footer .container{position:relative;z-index:1}
.footer-clean__wrap{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:36px;align-items:start}
.footer-clean__brand{display:grid;gap:12px}
.footer-clean__logo{display:inline-flex;align-items:center;gap:14px;text-decoration:none}
.footer-clean__logo img{width:66px;height:66px;object-fit:contain;filter:drop-shadow(0 0 14px rgba(255,160,35,.22))}
.footer-clean__logo-text{color:#f0dfb4;font-family:"Cormorant SC",serif;font-size:31px;line-height:1;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.footer-clean__desc{max-width:350px;color:rgba(224,210,184,.66);font-size:14px;line-height:1.65}
.footer-clean__copy{color:rgba(214,194,150,.43);font-size:13px}
.footer-clean__title{margin:4px 0 14px;color:#f2cf72;font-family:"Cormorant SC",serif;font-size:24px;line-height:1;letter-spacing:.06em;text-transform:uppercase}
.footer-clean__title--community{margin-top:19px}
.footer-clean__list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.footer-clean__link{display:inline-flex;align-items:center;gap:9px;color:rgba(232,220,200,.74);text-decoration:none;font-size:14px;font-weight:700;line-height:1.4;transition:.2s ease}
.footer-clean__link:hover{color:#ffd77a;transform:translateX(3px)}
.footer-clean__icon{width:27px;height:27px;flex:0 0 27px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;border:1px solid rgba(214,168,81,.18);background:rgba(214,168,81,.06);color:#f2cf72;font-size:12px}
.footer-clean__socials{display:flex;flex-wrap:wrap;gap:9px}
.footer-clean__social{min-width:118px;min-height:42px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;border:1px solid rgba(214,168,81,.14);background:rgba(255,255,255,.025);color:#eadfc6;text-decoration:none;font-size:14px;font-weight:800;transition:.2s ease}
.footer-clean__social:hover{transform:translateY(-2px);background:rgba(214,168,81,.07);border-color:rgba(214,168,81,.28);color:#ffd77a}
.footer-clean__bottom{margin-top:27px;padding-top:18px;border-top:1px solid rgba(214,168,81,.09);color:rgba(214,194,150,.44);font-size:13px}

.account-burger{display:none}
.account-mobile-menu{display:none}

@media(max-width:1180px){
    .r2hc-account-page .header-elegant .navigation{gap:18px}
    .r2hc-account-page .header-elegant .menu__list{gap:20px}
    .r2hc-account-page .header-elegant .menu__item{font-size:12px}
    .r2hc-account-page .header-elegant .btn_auth{min-width:160px}
}
@media(max-width:1023px){
    .r2hc-account-page .container{width:calc(100% - 24px)}
    .r2hc-account-page .header-elegant .navigation{min-height:74px;justify-content:space-between}
    .r2hc-account-page .header-elegant .navigation__menu,
    .r2hc-account-page .header-elegant .navigation__el_desktop,
    .r2hc-account-page .header-elegant .navigation__el_lang{display:none}
    .r2hc-account-page .header-elegant .logo__pic,
    .r2hc-account-page .header-elegant .logo__img{width:52px;height:52px}
    .r2hc-account-page .header-elegant .logo__text{font-size:23px}
    .account-burger{display:flex;width:44px;height:44px;padding:10px;flex-direction:column;justify-content:center;gap:5px;border:1px solid rgba(219,173,79,.19);border-radius:12px;background:rgba(219,173,79,.06);cursor:pointer}
    .account-burger span{display:block;width:100%;height:2px;border-radius:2px;background:#d9b45e}
    .account-mobile-menu{display:block;position:fixed;inset:0;z-index:1100;visibility:hidden;opacity:0;transition:.18s ease}
    .account-mobile-menu.is-open{visibility:visible;opacity:1}
    .account-mobile-menu__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(4px)}
    .account-mobile-menu__panel{position:absolute;right:10px;top:84px;width:min(330px,calc(100vw - 20px));max-height:calc(100svh - 94px);overflow:auto;padding:14px;border:1px solid rgba(219,173,79,.18);border-radius:18px;background:linear-gradient(180deg,#17120e,#0d0b09);box-shadow:0 24px 60px rgba(0,0,0,.5);display:flex;flex-direction:column;gap:8px}
    .account-mobile-menu__panel>a{padding:13px 14px;border:1px solid rgba(255,255,255,.06);border-radius:11px;color:#e7dbc8;text-decoration:none;font-weight:800}
    .account-mobile-menu__langs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:8px}
    .account-mobile-menu__langs a{padding:10px;border:1px solid rgba(255,255,255,.065);border-radius:9px;color:#d9b45e;text-align:center;text-decoration:none;font-size:12px;font-weight:800}
    .account-menu-open{overflow:hidden}
    .footer-clean__wrap{grid-template-columns:1fr 1fr}
    .footer-clean__brand{grid-column:1/-1}
}
@media(max-width:700px){
    .r2hc-account-page .container{width:calc(100% - 14px)}
    .account-page-main{padding:24px 0 34px}
    .account-page-title{margin-bottom:16px}
    .account-page-title h1{font-size:42px}
    .account-page-title p{font-size:12px}
    .account-page-frame-wrap{border-radius:15px}
    .account-page-frame{min-height:820px}
    .footer-clean.account-footer{padding:30px 0 24px}
    .footer-clean__wrap{grid-template-columns:1fr;gap:24px}
    .footer-clean__brand{grid-column:auto}
    .footer-clean__logo-text{font-size:27px}
}


/* ===== Account viewport compact v4 ===== */
.account-page-main{padding:16px 0 18px!important}
.account-page-title{display:none!important}
.account-page-frame-wrap{border-radius:18px}
.account-page-frame{height:640px;min-height:540px}
.footer-clean.account-footer{padding:24px 0 18px}
.footer-clean__wrap{grid-template-columns:1.1fr .85fr 1fr;gap:26px}
.footer-clean__brand{gap:8px}
.footer-clean__logo{gap:11px}
.footer-clean__logo img{width:52px;height:52px}
.footer-clean__logo-text{font-size:25px}
.footer-clean__desc{max-width:330px;font-size:12px;line-height:1.5}
.footer-clean__copy{font-size:11px}
.footer-clean__title{margin:2px 0 10px;font-size:20px}
.footer-clean__title--community{margin-top:12px}
.footer-clean__list{gap:7px}
.footer-clean__link{font-size:12px}
.footer-clean__icon{width:23px;height:23px;flex-basis:23px;font-size:10px}
.footer-clean__social{min-width:100px;min-height:36px;font-size:12px}
.footer-clean__bottom{margin-top:17px;padding-top:12px;font-size:11px}
@media(min-width:1024px) and (max-height:900px){
  .r2hc-account-page .header-elegant .navigation{min-height:72px}
  .r2hc-account-page .header-elegant .logo__pic,.r2hc-account-page .header-elegant .logo__img{width:52px;height:52px}
  .r2hc-account-page .header-elegant .logo__text{font-size:26px}
  .account-page-main{padding:12px 0 14px!important}
}
@media(max-width:700px){
  .account-page-main{padding:12px 0 16px!important}
  .account-page-frame{height:700px;min-height:560px}
  .footer-clean.account-footer{padding:24px 0 18px}
}

/* ===== Final readable account page v5 ===== */
.r2hc-account-page .container{
    width:min(1360px,calc(100% - 36px))!important;
}
.account-page-main{
    padding:14px 0 16px!important;
}
.account-page-frame-wrap{
    border-radius:18px!important;
}
.account-page-frame{
    height:670px;
    min-height:560px;
}
.footer-clean.account-footer{
    padding:26px 0 20px!important;
}
.footer-clean__wrap{
    grid-template-columns:1.1fr .85fr 1fr!important;
    gap:30px!important;
}
.footer-clean__brand{gap:9px!important}
.footer-clean__logo{gap:12px!important}
.footer-clean__logo img{width:56px!important;height:56px!important}
.footer-clean__logo-text{font-size:28px!important}
.footer-clean__desc{max-width:370px!important;font-size:14px!important;line-height:1.55!important}
.footer-clean__copy{font-size:12px!important}
.footer-clean__title{margin:2px 0 11px!important;font-size:22px!important}
.footer-clean__title--community{margin-top:14px!important}
.footer-clean__list{gap:8px!important}
.footer-clean__link{font-size:14px!important}
.footer-clean__icon{width:25px!important;height:25px!important;flex-basis:25px!important;font-size:11px!important}
.footer-clean__social{min-width:108px!important;min-height:38px!important;font-size:13px!important}
.footer-clean__bottom{margin-top:18px!important;padding-top:13px!important;font-size:12px!important}
@media(min-width:1024px) and (max-height:900px){
    .r2hc-account-page .header-elegant .navigation{min-height:74px!important}
    .r2hc-account-page .header-elegant .logo__pic,
    .r2hc-account-page .header-elegant .logo__img{width:54px!important;height:54px!important}
    .r2hc-account-page .header-elegant .logo__text{font-size:27px!important}
    .account-page-main{padding:10px 0 12px!important}
    .footer-clean.account-footer{padding:22px 0 17px!important}
}
@media(max-width:1023px){
    .r2hc-account-page .container{width:calc(100% - 22px)!important}
    .footer-clean__wrap{grid-template-columns:1fr 1fr!important}
    .footer-clean__brand{grid-column:1/-1}
}
@media(max-width:700px){
    .r2hc-account-page .container{width:calc(100% - 14px)!important}
    .account-page-main{padding:10px 0 14px!important}
    .account-page-frame{height:760px;min-height:590px}
    .footer-clean.account-footer{padding:24px 0 18px!important}
    .footer-clean__wrap{grid-template-columns:1fr!important;gap:22px!important}
    .footer-clean__brand{grid-column:auto}
}
@media(min-width:1024px){
  .account-page-frame{height:610px;min-height:520px}
}
