.site-account{position:relative;z-index:2;display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:.65rem;padding:.55rem max(1rem,calc((100vw - 1380px)/2));background:#100f0e;border-bottom:1px solid #514126;color:#f3e5ca;font: .95rem/1.3 system-ui,sans-serif}
.site-account a,.site-account button,.site-profile-main button{display:inline-block;border:1px solid #8c703e;border-radius:5px;background:#211a10;color:#f5d695;padding:.45rem .7rem;font:inherit;cursor:pointer;text-decoration:none}
.site-account a:hover,.site-account button:hover,.site-profile-main button:hover{background:#47351c}
.site-account form{margin:0}
.site-account-name{display:grid;overflow-wrap:anywhere;min-width:0}
.site-account-name small,.site-profile-identity small{display:block;color:#d6b679}
.site-avatar{display:inline-grid;place-items:center;object-fit:cover;width:2.5rem;height:2.5rem;flex:none;border:1px solid #8c703e;border-radius:50%;background:#2e2314;color:#f6d591;font-weight:700}
.site-profile{margin:0;min-height:100vh;background:radial-gradient(ellipse at top,#322719,#100f0e 65%);color:#f3e5ca;font:1rem/1.5 system-ui,sans-serif}
.site-profile-main{width:min(43rem,calc(100% - 2rem));box-sizing:border-box;margin:2rem auto 6rem;padding:clamp(1rem,4vw,2.75rem);border:1px solid #806436;border-radius:12px;background:#191612;box-shadow:0 18px 55px #0007}
.site-profile-main h1{color:#f1d28d;font:clamp(1.8rem,5vw,2.8rem)/1.15 Georgia,serif}
.site-profile-main nav,.site-profile-grid{display:flex;flex-wrap:wrap;gap:1rem}
.site-profile-grid>label{flex:1 1 12rem}
.site-profile-main a{color:#efcc8a}
.site-profile-identity{display:flex;align-items:center;gap:1rem;padding:1rem;background:#241d13;border-radius:7px;overflow-wrap:anywhere}
.site-profile-identity .site-avatar{width:4.5rem;height:4.5rem;font-size:1.7rem}
.site-profile-main label{display:grid;gap:.35rem;margin:1rem 0}
.site-profile-main input:not([type=checkbox]),.site-profile-main textarea,.site-profile-main select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #7c6646;border-radius:5px;background:#111;color:#f3e5ca;padding:.6rem;font:inherit;color-scheme:dark}
.site-profile-main label.site-check{display:flex;align-items:center;gap:.6rem;margin:.5rem 0}
.site-profile-main fieldset{margin:0 0 1rem;border:1px solid #7c6646;border-radius:5px}
.site-profile-extra{margin-top:1.5rem;border-top:1px solid #514126;padding-top:1rem}
.site-profile-extra summary{cursor:pointer}
.site-profile-extra small{display:block;margin-bottom:.75rem}
.site-profile-main dd{margin:0 0 .75rem;white-space:pre-wrap;overflow-wrap:anywhere}
.site-profile-main dt{color:#e6c88c}
.post-author .site-avatar{margin-bottom:.25rem}
.post-author .site-forum-author{display:grid;justify-items:inherit;color:inherit;overflow-wrap:anywhere}
@media(max-width:480px){.site-account{gap:.45rem;padding:.5rem}.site-account a,.site-account button{padding:.4rem .55rem}.site-account-name{max-width:7rem}.site-profile-main{margin-top:1rem}}
#avatar-formats[hidden]{display:none}
#avatar-crop canvas{display:block;max-width:100%;height:auto;border:1px solid #8c703e;border-radius:6px}
#avatar-crop input[type=range]{padding:0;accent-color:#d6b679}
.site-profile-photo{margin:.75rem 0 1.5rem}
.site-profile-photo label:first-child{margin-top:0}
.site-profile-photo small{display:block;margin:.35rem 0;color:#d6b679}
.site-profile-photo form+form{margin-top:.75rem}
.site-profile-main button:disabled{opacity:.55;cursor:default}
.site-management{width:min(66rem,calc(100% - 2rem))}
.site-management>nav{margin-block:1rem}
.site-management section{border-top:1px solid #514126;padding:1rem 0;scroll-margin-top:1rem}
.site-management article,.site-management details{border:1px solid #514126;border-radius:8px;background:#211b13;padding:1rem;margin-block:.75rem;min-width:0;overflow-wrap:anywhere}
.site-management article h3,.site-management article p{margin-block:0 .65rem}
.site-management article form{display:inline-block;margin:.35rem .5rem .35rem 0}
.site-management .management-grid article form{display:block;margin:0}
.site-management summary{cursor:pointer;overflow-wrap:anywhere}
.site-management input[type=color]{height:3rem;padding:.25rem}
.site-management img,.site-management video,.site-management iframe{display:block;max-width:100%;width:min(100%,32rem);border:0;border-radius:6px}
.site-management img{height:auto}
.site-management iframe{aspect-ratio:16/9}
.management-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1rem}

.vip-profile-page {
  --vip-art: url("/imperium-app/vip-art.png");
  --vip-gold: #ffce72;
  background: radial-gradient(ellipse at 50% 24%, #18130c, #0c0a09 75%);
  color: #eeeae4;
}
.vip-brand {
  display: block;
  height: 107px;
  background: #100c0a var(--vip-art) no-repeat center top / 1672px auto;
}
.vip-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #0e0c0a;
  border-bottom: 1px solid #6f4c22;
}
.vip-header nav a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  min-height: 58px;
  padding: .5rem clamp(.75rem, 3vw, 3.15rem);
  border: 1px solid #483018;
  border-radius: 13px;
  background: linear-gradient(#18130d, #0b0908 70%, #171008);
  color: #ffe29b;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  text-decoration: none;
}
.vip-header nav span {
  display: inline-block;
  flex: 0 0 33px;
  height: 30px;
  color: transparent;
  background: var(--vip-art) no-repeat var(--vip-icon-x) -120px;
}
.vip-header nav a:nth-child(1) {--vip-icon-x: -253px}
.vip-header nav a:nth-child(2) {--vip-icon-x: -446px}
.vip-header nav a:nth-child(3) {--vip-icon-x: -638px}
.vip-header nav a:nth-child(4) {--vip-icon-x: -841px}
.vip-header nav a:nth-child(5) {--vip-icon-x: -1033px}
.vip-header nav a:nth-child(6) {--vip-icon-x: -1230px}
.vip-header nav a:hover,
.vip-header nav .vip-cabinet {border-color: #f5b94f; box-shadow: inset 0 0 13px #ee9f343b, 0 0 12px #ea93272e}
.vip-profile-page > .site-account {background: #120e0b; border-color: #342616}
@media(min-width: 1200px) {
  .vip-profile-page > .site-account {
    position: absolute;
    top: .3rem;
    right: .75rem;
    max-width: calc((100% - 590px)/2);
    padding: .3rem;
    border: 0;
    background: #120e0bb3;
    border-radius: 7px;
  }
}
.vip-profile-main.site-profile-main {
  width: min(1554px, calc(100% - 7vw));
  margin: 1.1rem auto 5rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.vip-profile-main > h1 {
  margin: 0 0 3rem;
  color: var(--vip-gold);
  font: bold clamp(1.7rem, 2.35vw, 2.45rem)/1.15 Georgia, serif;
  text-align: center;
}
.vip-profile-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 4vw, 4.25rem);
  margin-bottom: 3rem;
}
.vip-profile-card {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  margin-inline: auto;
  width: min(100%, 750px);
  padding: clamp(1rem, 1.8vw, 2rem);
  border: 3px solid #ffc75e;
  border-top-color: #ffe69a;
  border-radius: 19px;
  background: radial-gradient(ellipse at 54% 36%, #18130d, #100d08 75%);
  box-shadow: inset 0 0 20px #e68a2c27, 0 0 22px #ffac3c27;
}
.vip-imperial-jewel {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -28px;
  width: 175px;
  height: 60px;
  transform: translateX(-50%);
  background: var(--vip-art) no-repeat -1171px -869px;
  clip-path: polygon(0 30%, 34% 37%, 50% 0, 65% 38%, 100% 30%, 100% 60%, 64% 64%, 50% 100%, 37% 64%, 0 60%);
  pointer-events: none;
}
.vip-profile-card.standard {border: 1px solid #75542b}
.vip-profile-card.imperial {
  border-color: #ffc763;
  background:
    linear-gradient(#100d08, #100d08) padding-box,
    linear-gradient(100deg, #7a2c0c, #fff4b7 17%, #ad4e11 35%, #fff5a4 66%, #f7ad35) border-box;
  box-shadow: inset 0 0 0 3px #8a450e, inset 0 0 0 5px #ffcf74, 0 0 21px #fda63857;
}
.vip-profile-plaque {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  width: min(330px, 82%);
  transform: translate(-50%, -50%);
  color: #ffe68d;
  font: bold clamp(1rem, 1.75vw, 1.8rem)/1.2 Georgia, serif;
  text-align: center;
  text-transform: uppercase;
  filter: drop-shadow(0 0 8px #e79838a0);
}
.vip-profile-plaque span {
  --plaque-shape: polygon(7% 0, 93% 0, 100% 50%, 93% 100%, 7% 100%, 0 50%);
  position: relative;
  display: block;
  isolation: isolate;
  padding: .53rem 1.4rem;
  background: linear-gradient(#ffe397, #aa650b 55%, #f5a52d);
  clip-path: var(--plaque-shape);
}
.vip-profile-plaque span::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2px 3px;
  background: linear-gradient(#32210c, #100d08 60%, #392408);
  clip-path: var(--plaque-shape);
}
.imperial .vip-profile-plaque span::before {
  background: linear-gradient(#53130b, #190805 70%, #5e190a);
}
.imperial .vip-profile-plaque::before,
.imperial.vip-profile-card::before,
.imperial.vip-profile-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background: var(--vip-art) no-repeat;
}
.imperial .vip-profile-plaque::before {
  width: 124px;
  height: 74px;
  left: 50%;
  bottom: calc(100% - 7px);
  transform: translateX(-50%);
  background-position: -1195px -190px;
  clip-path: polygon(0 45%, 18% 60%, 26% 30%, 46% 37%, 49% 0, 54% 1%, 59% 34%, 76% 28%, 83% 54%, 100% 42%, 90% 100%, 9% 100%);
}
.imperial.vip-profile-card::before,
.imperial.vip-profile-card::after {
  top: -38px;
  width: 94px;
  height: 100px;
  clip-path: polygon(0 3%, 30% 13%, 73% 0, 82% 19%, 80% 38%, 100% 66%, 56% 65%, 25% 100%, 0 100%);
}
.imperial.vip-profile-card::before {left: -18px; background-position: -854px -241px}
.imperial.vip-profile-card::after {right: -18px; background-position: -1558px -241px; clip-path: polygon(100% 3%, 70% 13%, 27% 0, 18% 19%, 20% 38%, 0 66%, 44% 65%, 75% 100%, 100% 100%)}
.vip-profile-card .site-profile-identity {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(.75rem, 1.65vw, 1.75rem);
  min-height: 174px;
  margin-bottom: .9rem;
  padding: 0 clamp(0px, 1.25vw, 22px);
  background: none;
}
.vip-profile-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(78px, 9.7vw, 162px);
  aspect-ratio: 1;
  isolation: isolate;
}
.vip-profile-card .site-avatar {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 4px solid #eeb75a;
  box-shadow: 0 0 12px #000;
  font-size: 2rem;
}
.vip-demo-avatar {
  border-radius: 50%;
  background: var(--vip-art) no-repeat 7.55% 41.1% / 1045% auto;
}
.imperial .vip-demo-avatar {background-position: 62.12% 41.6%}
.imperial .vip-profile-avatar::after {
  content: "";
  position: absolute;
  inset: -13%;
  background: var(--vip-art) no-repeat 62.5% 40.7% / 836% auto;
  border-radius: 45%;
  mask-image: radial-gradient(circle, transparent 0 51%, black 53% 69%, transparent 72%);
  pointer-events: none;
}
.vip-profile-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  color: var(--vip-gold);
  font: bold clamp(1.45rem, 2.4vw, 2.6rem)/1.15 Georgia, serif;
}
.vip-profile-badge {
  display: inline-block;
  padding: .42rem .75rem;
  border: 2px solid #ffc750;
  border-radius: 24px;
  background: linear-gradient(#2c1c08, #140b05);
  box-shadow: inset 0 0 8px #e78a2d85, 0 0 10px #dc802a54;
  color: #ffe889;
  font: bold clamp(.8rem, 1.25vw, 1.3rem)/1.1 Georgia, serif;
}
.imperial .vip-profile-badge {border-radius: 10px; background: linear-gradient(#50130a, #1a0905)}
.vip-profile-presence {margin: .95rem 0 0; color: #ddd8d1}
.vip-profile-presence span {
  display: inline-block;
  width: .83em;
  height: .83em;
  margin-right: .75em;
  border-radius: 50%;
  background: #bdb4a3;
}
.vip-profile-presence.is-online span {background: #43e86b; box-shadow: 0 0 10px #42ff7075}
.vip-profile-presence.is-online b {color: #53ed79}
.vip-profile-panel {
  overflow: hidden;
  border: 1px solid #6b4a23;
  border-radius: 12px;
  background: linear-gradient(130deg, #17130d, #13100d);
}
.vip-profile-panel + .vip-profile-panel {margin-top: .9rem}
.vip-profile-panel h3 {
  margin: 0;
  padding: .8rem clamp(.75rem, 1.7vw, 1.8rem);
  background: linear-gradient(#30210f7d, #251b1066);
  color: #ffe28a;
  font: bold clamp(1.15rem, 1.55vw, 1.65rem)/1.2 Georgia, serif;
}
.vip-profile-panel dl {margin: 0; padding: 0 clamp(.75rem, 1.8vw, 2rem) .28rem}
.vip-profile-panel dl > div {
  display: flex;
  gap: .65rem;
  justify-content: space-between;
  align-items: baseline;
  padding: .48rem 0;
}
.vip-profile-panel dl > div + div {border-top: 1px solid #83602f70}
.vip-profile-panel dt {color: #ddd8d1}
.vip-profile-icon {
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 27px;
  margin-right: clamp(.35rem, 1.3vw, 1.4rem);
  background: var(--vip-art) no-repeat -123px var(--vip-icon-y);
  clip-path: inset(0 round 5px);
}
.vip-profile-icon.calendar {--vip-icon-y: -568px}
.vip-profile-icon.birthday {--vip-icon-y: -614px}
.vip-profile-icon.age {--vip-icon-y: -660px}
.vip-profile-icon.gender {--vip-icon-y: -706px}
.vip-profile-icon.bio {--vip-icon-y: -778px; background-position-x: -121px}
.vip-profile-panel dd {margin: 0; text-align: right; color: #fff}
.vip-profile-bio p {margin: 0; padding: .7rem clamp(.75rem, 3.8vw, 4.1rem) 1rem; white-space: pre-wrap; overflow-wrap: anywhere}
.vip-profile-card .vip-profile-panel {font-size: clamp(.9rem, 1.2vw, 1.25rem)}
.vip-profile-main > .vip-status,
.vip-profile-main > .vip-plans {margin-inline: auto; max-width: 66rem}
.vip-profile-main:not(.site-management) {max-width: 750px}
.vip-profile-main > .vip-status {box-sizing: border-box}
.vip-profile-main > .vip-profile-card + nav {margin-top: 2rem}
@media(max-width: 1050px) {
  .vip-profile-examples {grid-template-columns: minmax(0, 1fr); gap: 6.5rem}
  .vip-profile-card .site-profile-identity {min-height: 130px}
}
@media(max-width: 600px) {
  .vip-brand {height: 56px; background-size: 880px auto}
  .vip-header nav a {flex: 1 1 30%; min-height: 44px; gap: .35rem; padding-inline: .25rem; font-size: .9rem}
  .vip-header nav span {display: none}
  .vip-profile-main.site-profile-main {width: calc(100% - 2rem)}
  .vip-profile-card .site-profile-identity {min-height: 90px}
  .vip-profile-name {font-size: clamp(1rem, 5vw, 1.45rem)}
  .imperial .vip-profile-plaque::before {scale: .8; transform-origin: bottom}
  .vip-profile-presence {margin-top: .45rem; font-size: .85rem}
  .imperial.vip-profile-card::before, .imperial.vip-profile-card::after {display: none}
}

.vip-profile-main:not(.site-management):has(> .imperial) > h1,
.vip-profile-main:has(.vip-profile-examples .imperial) > h1 {
  margin-bottom: 7rem;
}
.vip-profile-id {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .75rem;
  margin: .5rem 0;
}
.vip-profile-id button[hidden] {display: none}
.site-profile-editor > summary {
  display: list-item;
  width: fit-content;
  padding: .55rem .8rem;
  border: 1px solid #926b33;
  border-radius: .35rem;
  color: var(--vip-gold);
}
.vip-header nav .vip-albums span {color:#ffe29b;background:none;text-align:center}
.profile-vip {margin-block:1.5rem;padding:.75rem 1rem;border:1px solid #806436;border-radius:8px}
.profile-vip p {margin:.3rem 0 0}
.profile-vip .profile-vip-buy {display:inline-block;padding:.45rem .7rem;border:1px solid #8c703e;border-radius:5px;background:#211a10;text-decoration:none}
.profile-vip .profile-vip-buy:hover,.profile-vip .profile-vip-buy:focus-visible {background:#47351c}
