/* Meyhane Kıbrıs — üyelik (giriş, kayıt), hesabım ve üye profili
   Ortak kabuk: .account-layout (gezinme + içerik) · .account-nav · .account-main · .account-head
   Kullanım: <div class="container account-layout"> partial('front/account/_nav') + <div class="account-main"> … */

/* ---------- Hesap kabuğu (hesabım altındaki tüm sayfalar) ---------- */
.page-head:has(+ .account-layout){padding-block:clamp(16px,2.4vw,26px)}
.page-head:has(+ .account-layout) .breadcrumbs{margin-bottom:0}
.account-layout{display:grid;grid-template-columns:288px minmax(0,1fr);gap:clamp(22px,3vw,44px);align-items:start;padding-block:clamp(22px,3vw,40px) clamp(72px,8vw,120px)}
.account-main{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(18px,2.2vw,26px);align-content:start;min-width:0}
.account-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 20px}
.account-head h1{margin:0;font-size:clamp(1.7rem,3vw,2.3rem)}
.account-head p{margin:8px 0 0;max-width:640px;color:var(--muted)}
.account-head__actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}

.account-nav{min-width:0;border-radius:var(--r-lg);background:#fff;border:1px solid var(--line-soft);box-shadow:var(--shadow-sm);overflow:hidden}
.account-nav__user{position:relative;display:flex;align-items:center;gap:14px;padding:22px 20px 24px;background:radial-gradient(130% 150% at 85% 0%,#5B3D2C 0%,var(--brand-night) 68%);color:#EADCC8}
.account-nav__user::after{content:"";position:absolute;inset:auto 20px 0;height:3px;border-radius:3px 3px 0 0;background:linear-gradient(90deg,var(--gold),#D9B983,var(--gold))}
.account-nav__avatar{width:60px;height:60px;font-size:1.15rem;box-shadow:0 0 0 2px var(--brand-night),0 0 0 4px var(--gold)}
.account-nav__avatar.avatar--initials{background:var(--gold-wash);color:var(--brand-deep)}
.account-nav__who{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.account-nav__name{font-family:var(--font-display);font-size:1.18rem;font-weight:560;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-nav__handle{font-size:.84rem;color:var(--gold-soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-nav__profile{display:inline-flex;align-items:center;gap:4px;margin-top:6px;font-size:.8rem;font-weight:650;color:#F1E5D3;white-space:nowrap}
a.account-nav__profile:hover{color:var(--gold)}
.account-nav__profile--private{color:#BFAE98;font-weight:560}
.account-nav__links{display:flex;flex-direction:column;gap:2px;padding:12px}
.account-nav__link{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:12px;width:100%;padding:11px 14px;border:0;border-radius:var(--r-sm);background:none;text-align:left;font-weight:620;font-size:.95rem;line-height:1.3;color:var(--ink);white-space:nowrap;transition:background .2s,color .2s,border-color .2s}
.account-nav__link > .icon,.account-nav__link > svg{flex:0 0 auto;display:block;width:18px;height:18px}
.account-nav__link > span{min-width:0}
.account-nav__link .icon{color:var(--brand-2);transition:color .2s}
.account-nav__link:hover{background:var(--gold-wash);color:var(--brand-deep)}
.account-nav__link.is-active{background:var(--brand);color:#fff;box-shadow:0 10px 20px -12px rgba(58,38,27,.8)}
.account-nav__link.is-active .icon{color:var(--gold-soft)}
.account-nav__count{margin-left:auto;min-width:22px;padding:2px 7px;border-radius:var(--r-pill);background:var(--gold);color:#2B1F16;font-size:.72rem;font-weight:800;line-height:1.5;text-align:center}
.account-nav__link .account-nav__out{margin-left:auto;color:var(--muted-light)}
.account-nav__sep{flex:none;height:1px;margin:8px 6px;background:var(--line-soft)}
.account-nav__logout{display:contents}
.account-nav__logout .account-nav__link{color:var(--muted)}
.account-nav__logout .account-nav__link:hover{color:var(--danger);background:var(--danger-bg)}
.account-nav__logout .account-nav__link:hover .icon{color:var(--danger)}
@media (min-width:901px) and (min-height:780px){
  .account-nav{position:sticky;top:calc(var(--header-h) + 18px)}
}
@media (max-width:900px){
  .account-layout{grid-template-columns:minmax(0,1fr);gap:18px;padding-top:16px}
  .account-nav{border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
  .account-nav__user{gap:12px;padding:14px 16px;border-radius:var(--r)}
  .account-nav__user::after{display:none}
  .account-nav__avatar{width:48px;height:48px;font-size:1rem}
  .account-nav__who{flex:1;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:center}
  .account-nav__name{font-size:1.06rem}
  .account-nav__handle{grid-column:1;grid-row:2}
  .account-nav__profile{grid-column:2;grid-row:1 / span 2;margin-top:0}
  /* Gezinme: yatay kaydırılan hap şeridi */
  .account-nav__links{flex-direction:row;align-items:center;gap:8px;margin:12px calc(var(--gutter)*-1) 0;padding:2px var(--gutter) 8px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .account-nav__links::-webkit-scrollbar{display:none}
  .account-nav__link{flex:none;width:auto;gap:8px;padding:10px 16px;border:1.5px solid var(--line);border-radius:var(--r-pill);background:#fff;font-size:.9rem;scroll-snap-align:start}
  .account-nav__link.is-active{border-color:var(--brand)}
  .account-nav__logout .account-nav__link:hover{border-color:#F0CFC8}
  .account-nav__sep{width:1px;height:24px;margin:0 4px;background:var(--line)}
  .account-nav__count{margin-left:0}
  .account-nav__link .account-nav__out{display:none}
}

/* Herkese açık profil (/uye/{username}) — ProfileController styles => account.css */
.profile-hero{display:flex;gap:18px;align-items:flex-start;margin-top:8px}
.profile-hero__avatar{flex:0 0 auto;width:88px;height:88px;border-radius:999px;overflow:hidden;background:var(--ivory);border:1px solid var(--line-soft);display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--brand-deep)}
.profile-hero__avatar img{width:100%;height:100%;object-fit:cover}
.profile-hero__meta,.profile-hero__bio{margin:6px 0 0;color:var(--muted);line-height:1.55;max-width:640px}
.profile-stats{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.profile-stats li{min-width:110px;padding:12px 14px;border-radius:var(--r-sm);background:#fff;border:1px solid var(--line-soft);display:flex;flex-direction:column;gap:2px}
.profile-stats strong{font-size:1.2rem;color:var(--brand-deep)}
.profile-stats span{font-size:.82rem;color:var(--muted)}
.profile-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.8fr);gap:28px;align-items:start}
.profile-grid h2{margin:0 0 14px;font-size:1.25rem}
.profile-reviews{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.profile-reviews__head{display:flex;flex-wrap:wrap;gap:6px 12px;justify-content:space-between;margin-bottom:8px}
.profile-reviews__head span{color:var(--muted);font-size:.9rem}
.profile-reviews__rating{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.profile-reviews h3{margin:0 0 6px;font-size:1.05rem}
.profile-reviews p{margin:0;color:var(--muted);line-height:1.55}
.profile-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:24px}
.profile-photos a{aspect-ratio:1;border-radius:var(--r-sm);overflow:hidden;display:block;background:var(--ivory)}
.profile-photos img{width:100%;height:100%;object-fit:cover}
.profile-entries{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.profile-entries a{display:flex;gap:12px;align-items:center;text-decoration:none;color:inherit}
.profile-entries img{width:72px;height:72px;object-fit:cover;border-radius:var(--r-sm)}
.profile-entries strong{display:block}
.profile-entries small{color:var(--muted)}
@media (max-width:900px){
  .profile-grid{grid-template-columns:1fr}
  .profile-hero{flex-direction:column;align-items:center;text-align:center}
  .profile-stats{justify-content:center}
}

/* ---------- Genel bakış / bildirimler / ayarlar / favoriler ---------- */
.acct-verify{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px 18px;align-items:center;padding:16px 18px;border-radius:var(--r);border:1px solid #F0CFC8;background:linear-gradient(135deg,#FFF8F5,#FAEAE6);color:var(--ink)}
.acct-verify__icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#fff;color:var(--danger);border:1px solid #F0CFC8}
.acct-verify__text{display:flex;flex-direction:column;gap:4px;min-width:0}
.acct-verify__text strong{font-size:1rem}
.acct-verify__text span{font-size:.9rem;color:var(--muted);line-height:1.45}
.acct-verify__text b{color:var(--ink);font-weight:700;word-break:break-word}
.acct-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.acct-stat{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;row-gap:2px;align-items:center;padding:16px 16px 14px;border-radius:var(--r);border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm);color:inherit;text-decoration:none;transition:transform .2s var(--ease),border-color .2s,box-shadow .2s}
.acct-stat:hover{transform:translateY(-2px);border-color:var(--gold);box-shadow:var(--shadow);color:inherit;text-decoration:none}
.acct-stat__icon{grid-row:1 / span 2;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--gold-wash);color:var(--gold-deep)}
.acct-stat__num{font-family:var(--font-display);font-size:1.45rem;font-weight:560;line-height:1;color:var(--brand-deep)}
.acct-stat__label{font-size:.82rem;font-weight:650;color:var(--muted);line-height:1.25}
.acct-stat--lead{border-color:rgba(179,138,82,.35);background:linear-gradient(160deg,#FFFCF6,#F5ECDB)}
.acct-cols{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr);gap:clamp(14px,2vw,22px);align-items:start}
.acct-stack{display:grid;gap:clamp(14px,2vw,22px)}
.acct-card{padding:clamp(18px,2.4vw,26px)}
.acct-card__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.acct-card__title{display:inline-flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:10px;margin:0 0 14px;font-size:1.12rem}
.acct-card__title > .icon,.acct-card__title > svg{flex:0 0 auto}
.acct-card__head .acct-card__title{margin:0}
.acct-card__empty{margin:0;color:var(--muted);line-height:1.55}
.acct-card__more{margin-top:16px}
.acct-notifs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.acct-notifs--page{padding:6px 0;overflow:hidden}
.acct-notif{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:start;padding:12px 4px;border-bottom:1px solid var(--line-soft)}
.acct-notifs--page .acct-notif{padding:14px 18px;border-bottom:1px solid var(--line-soft)}
.acct-notif:last-child{border-bottom:0}
.acct-notif.is-unread{background:linear-gradient(90deg,rgba(245,236,219,.7),transparent 70%)}
.acct-notif__icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--ivory);color:var(--brand-2)}
.acct-notif.is-unread .acct-notif__icon{background:var(--gold-wash);color:var(--gold-deep)}
.acct-notif__body{display:flex;flex-direction:column;gap:4px;min-width:0}
.acct-notif__title{font-size:.95rem;font-weight:700;color:var(--brand-deep);text-decoration:none}
a.acct-notif__link:hover{color:var(--gold-deep)}
.acct-notif__text{margin:0;font-size:.9rem;color:var(--muted);line-height:1.45}
.acct-notif__meta{display:inline-flex;align-items:center;gap:8px;font-size:.8rem;color:var(--muted)}
.acct-notif__new{display:inline-flex;align-items:center;padding:2px 8px;border-radius:var(--r-pill);background:var(--gold);color:#2B1F16;font-size:.68rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.acct-notif__go{color:var(--muted-light);align-self:center}
.acct-facts{display:grid;gap:12px;margin:0 0 4px}
.acct-facts > div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid var(--line-soft)}
.acct-facts > div:last-child{padding-bottom:0;border-bottom:0}
.acct-facts dt{margin:0;font-size:.86rem;color:var(--muted)}
.acct-facts dd{margin:0;font-weight:650;color:var(--ink)}
.acct-quick{display:grid;gap:12px}
.acct-quick__title{margin:0;font-size:1.12rem}
.acct-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.acct-link{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:var(--r);border:1px solid var(--line-soft);background:#fff;color:var(--ink);font-weight:650;text-decoration:none;transition:border-color .2s,transform .2s var(--ease),box-shadow .2s}
.acct-link:hover{border-color:var(--gold);transform:translateY(-1px);box-shadow:var(--shadow-sm);color:var(--brand-deep);text-decoration:none}
.acct-link .icon:first-child{color:var(--gold-deep)}
.acct-link__go{margin-left:auto;color:var(--muted-light)}
.acct-panels{display:grid;gap:12px}
.acct-panel{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px 20px;border-radius:var(--r-lg);background:linear-gradient(135deg,#5B3D2C,#3A261B);color:#EADCC8;box-shadow:var(--shadow)}
.acct-panel__icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:rgba(255,255,255,.08);color:var(--gold-soft)}
.acct-panel__text h2{margin:0 0 4px;font-size:1.15rem;color:#fff}
.acct-panel__text p{margin:0;font-size:.9rem;color:#C9B59A;line-height:1.45}
.acct-empty-actions{justify-content:center}
.acct-favs{margin-top:4px}
.acct-jump{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:4px}
.acct-jump a{display:inline-flex;align-items:center;padding:8px 14px;border-radius:var(--r-pill);border:1.5px solid var(--line);background:#fff;font-size:.88rem;font-weight:650;color:var(--ink);text-decoration:none;transition:border-color .2s,background .2s,color .2s}
.acct-jump a:hover{border-color:var(--gold);background:var(--gold-wash);color:var(--brand-deep)}
.acct-section{display:grid;gap:18px;scroll-margin-top:calc(var(--header-h) + 18px)}
.acct-section__head{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-start;gap:14px}
.acct-section__icon{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;background:var(--gold-wash);color:var(--gold-deep)}
.acct-section__icon .icon,.acct-section__icon svg{display:block;width:22px;height:22px}
.acct-section__head > div{min-width:0;flex:1}
.acct-section__head h2{margin:0 0 4px;font-size:1.2rem;line-height:1.25}
.acct-section__head p{margin:0;color:var(--muted);line-height:1.5}
.acct-section__note{margin:0;color:var(--muted);line-height:1.55}
.acct-form{display:grid;gap:14px}
.acct-bio{min-height:110px}
.acct-switches{display:grid;gap:12px}
.acct-switch{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;align-items:flex-start;padding:14px 16px;border-radius:var(--r);border:1px solid var(--line-soft);background:var(--cream);cursor:pointer}
.acct-switch input{position:absolute;opacity:0;pointer-events:none}
.acct-switch__track{position:relative;width:44px;height:26px;margin-top:2px;border-radius:999px;background:#D8CBB4;transition:background .2s}
.acct-switch__track::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(51,43,37,.2);transition:transform .2s var(--ease)}
.acct-switch:has(input:checked){border-color:rgba(179,138,82,.4);background:#fff}
.acct-switch:has(input:checked) .acct-switch__track{background:var(--gold)}
.acct-switch:has(input:checked) .acct-switch__track::after{transform:translateX(18px)}
.acct-switch__text{display:flex;flex-direction:column;gap:4px;min-width:0}
.acct-switch__text strong{font-size:.95rem}
.acct-switch__text small{font-size:.84rem;line-height:1.45;color:var(--muted)}
.acct-avatar{display:grid;grid-template-columns:104px minmax(0,1fr);gap:20px;align-items:start}
.acct-avatar__img{width:104px;height:104px;border-radius:28px;object-fit:cover;display:grid;place-items:center;background:var(--brand);color:var(--gold-soft);font-family:var(--font-display);font-size:2rem;font-weight:560;border:1px solid var(--line-soft);overflow:hidden}
.acct-avatar__img img,.acct-avatar img.acct-avatar__img{width:100%;height:100%;object-fit:cover}
.acct-avatar__form{min-width:0}
.acct-file{display:block;width:100%;padding:12px 14px;border:1.5px dashed var(--line);border-radius:var(--r-sm);background:#fff;font-size:.9rem}
.acct-file:hover,.acct-file:focus{border-color:var(--gold);outline:none}
.acct-current{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;padding:12px 14px;border-radius:var(--r-sm);background:var(--ivory);border:1px solid var(--line-soft)}
.acct-current__value{font-weight:700;color:var(--brand-deep);word-break:break-word}
.acct-narrow{max-width:360px}
.acct-totp{display:grid;grid-template-columns:minmax(160px,200px) minmax(0,1fr);gap:22px;align-items:start}
.acct-totp__qr{aspect-ratio:1;display:grid;place-items:center;padding:12px;border-radius:var(--r);background:#fff;border:1px solid var(--line-soft)}
.acct-totp__qr canvas,.acct-totp__qr img{max-width:100%;height:auto}
.acct-totp__fallback{padding:12px;font-size:.86rem;color:var(--muted);text-align:center;line-height:1.45}
.acct-totp__steps{margin:0 0 16px;padding-left:1.2em;color:var(--ink);line-height:1.55}
.acct-totp__steps li{margin-bottom:10px}
.acct-key{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px}
.acct-key code{display:inline-block;padding:8px 12px;border-radius:var(--r-sm);background:var(--ivory);border:1px solid var(--line-soft);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92rem;letter-spacing:.06em;color:var(--brand-deep)}
.acct-danger{border-color:#F0CFC8;background:linear-gradient(180deg,#FFFCFB,#FAEAE6)}
.acct-danger .acct-section__icon{background:#fff;color:var(--danger);border:1px solid #F0CFC8}
.acct-danger__list{margin:0;padding-left:1.15em;color:var(--muted);line-height:1.55}
.acct-danger__list li{margin-bottom:8px}
.account-nav__link--panel{color:var(--brand-deep)}
@media (max-width:1100px){
  .acct-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .acct-cols{grid-template-columns:1fr}
}
@media (max-width:900px){
  .acct-verify{grid-template-columns:auto minmax(0,1fr);gap:12px}
  .acct-verify form{grid-column:1 / -1}
  .acct-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .acct-links{grid-template-columns:1fr}
  .acct-panel{grid-template-columns:auto minmax(0,1fr);gap:12px}
  .acct-panel .btn{grid-column:1 / -1;justify-self:start}
  .acct-avatar{grid-template-columns:80px minmax(0,1fr);gap:14px}
  .acct-avatar__img{width:80px;height:80px;border-radius:22px;font-size:1.5rem}
  .acct-totp{grid-template-columns:1fr}
  .acct-totp__qr{max-width:200px}
}
@media (max-width:560px){
  .acct-stats{grid-template-columns:1fr 1fr}
  .acct-stat{padding:14px}
  .acct-stat__num{font-size:1.25rem}
}
@media (prefers-reduced-motion:reduce){
  .acct-stat,.acct-link{transition:none}
}

/* ---------- Üyelik kapısı (giriş, üye ol, parola, 2FA) — .page-auth ---------- */
.page-auth .site-main{padding-block:clamp(28px,5vw,64px) clamp(88px,10vw,140px);background:
  radial-gradient(ellipse 70% 55% at 12% 0%,rgba(179,138,82,.14),transparent 58%),
  radial-gradient(ellipse 55% 45% at 100% 100%,rgba(86,59,43,.07),transparent 55%),
  var(--cream)}
.auth{width:100%}
.auth .container{max-width:1080px}
.auth__card{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);min-height:min(640px,calc(100vh - var(--header-h) - 120px));border-radius:var(--r-xl);overflow:hidden;background:#fff;border:1px solid var(--line-soft);box-shadow:var(--shadow-lg)}
.auth__aside{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:28px;padding:clamp(28px,4vw,44px);background:
  radial-gradient(120% 90% at 100% 0%,rgba(179,138,82,.28) 0%,transparent 48%),
  linear-gradient(165deg,#5B3D2C 0%,var(--brand-night) 62%,#1A110C 100%);color:#EADCC8;overflow:hidden}
.auth__aside::before{content:"";position:absolute;inset:auto -20% -35% 35%;height:70%;border-radius:50%;background:radial-gradient(circle,rgba(179,138,82,.18),transparent 68%);pointer-events:none}
.auth__aside::after{content:"";position:absolute;left:clamp(28px,4vw,44px);right:clamp(28px,4vw,44px);top:0;height:3px;background:linear-gradient(90deg,var(--gold),#D9B983,transparent)}
.auth__pitch{position:relative;z-index:1}
.auth__aside .eyebrow{margin-bottom:14px}
.auth__title{margin:0;font-family:var(--font-display);font-size:clamp(1.55rem,2.8vw,2.15rem);font-weight:560;line-height:1.2;letter-spacing:-.02em;color:#fff;text-wrap:balance}
.auth__points{position:relative;z-index:1;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.auth__points li{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:flex-start}
.auth__point-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.07);border:1px solid rgba(233,218,192,.18);color:var(--gold-soft)}
.auth__point-icon .icon{display:block}
.auth__points strong{display:block;margin-bottom:2px;font-size:.95rem;font-weight:700;color:#fff}
.auth__points li > div > span{display:block;font-size:.86rem;line-height:1.45;color:#C9B59A}
.auth__slogan{position:relative;z-index:1;margin:0;padding-top:16px;border-top:1px solid rgba(233,218,192,.16);font-family:var(--font-display);font-style:italic;font-size:1.02rem;line-height:1.4;color:var(--gold-soft)}
.auth__main{display:flex;flex-direction:column;justify-content:center;gap:20px;padding:clamp(28px,4.2vw,48px);min-width:0;background:#fff}
.auth__head{display:flex;flex-direction:column;gap:8px}
.auth__head h1{margin:0;font-size:clamp(1.65rem,3vw,2.15rem)}
.auth__head p{margin:0;color:var(--muted);line-height:1.55;max-width:36em}
.auth__badge{display:inline-grid;place-items:center;width:52px;height:52px;margin-bottom:4px;border-radius:16px;background:var(--gold-wash);color:var(--gold-deep);border:1px solid rgba(179,138,82,.28)}
.auth__badge--warn{background:var(--danger-bg);color:var(--danger);border-color:#F0CFC8}
.auth__form{display:flex;flex-direction:column;gap:16px}
.auth__form .field{gap:6px}
.auth__muted{color:var(--muted);font-weight:500}
.auth__alt{margin:0;text-align:center;font-size:.94rem;color:var(--muted)}
.auth__alt a{font-weight:700;text-decoration:underline;text-decoration-color:var(--gold-soft);text-underline-offset:3px}
.auth__alt a:hover{text-decoration-color:var(--gold)}
.auth__actions{display:flex;flex-direction:column;gap:10px}
.auth__note{margin:0;color:var(--muted);line-height:1.55}
.field__row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.field__link{flex:none;font-size:.84rem;font-weight:700;color:var(--gold-deep);white-space:nowrap}
.field__link:hover{color:var(--brand-deep)}
.pw{position:relative}
.pw .input{padding-right:52px}
.pw__toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--muted);line-height:0;transition:background .2s,color .2s}
.pw__toggle:hover{background:var(--ivory);color:var(--brand-deep)}
.pw__toggle[aria-pressed="true"]{color:var(--brand)}
.pw__toggle .icon{display:block}
.pw__toggle .pw__hide,.pw__toggle[aria-pressed="true"] .pw__show{display:none}
.pw__toggle[aria-pressed="true"] .pw__hide{display:block}
.affix{display:flex;align-items:stretch;min-width:0}
.affix__sign{display:grid;place-items:center;padding:0 4px 0 14px;border:1.5px solid var(--line);border-right:0;border-radius:var(--r-sm) 0 0 var(--r-sm);background:var(--gold-wash);color:var(--gold-deep);font-weight:800}
.affix .input{border-radius:0 var(--r-sm) var(--r-sm) 0}
.affix:focus-within .affix__sign{border-color:var(--gold);background:var(--gold-soft)}
.affix:focus-within .input{border-color:var(--gold);box-shadow:0 0 0 4px rgba(179,138,82,.18)}
.code-input{letter-spacing:.28em;font-weight:700;font-size:1.2rem;text-align:center;font-variant-numeric:tabular-nums}
@media (max-width:860px){
  .page-auth .site-main{padding-block:18px 96px}
  .auth__card{grid-template-columns:1fr;min-height:0}
  .auth__aside{gap:20px;padding:24px 22px 22px}
  .auth__points{display:none}
  .auth__slogan{display:none}
  .auth__title{font-size:1.35rem}
  .auth__main{padding:26px 20px 28px}
}
@media (prefers-reduced-motion:reduce){
  .page-auth .site-main,.auth__card{transition:none}
}
