:root {
  color-scheme: dark;
  font: 100%/1.5 "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color: #f0eaf2;
  --page: #202020;
  --panel: #282828;
  background: var(--page);
  --line: #3c3144;
  --muted: #c0b5c7;
  --gold: #edbf7c;
}
* { box-sizing: border-box; }
body { margin: 0; }
.seo-preview { padding-block: 1rem; }
.seo-preview img { display: block; max-width: 100%; height: auto; }
.site-footer { margin-block-start: 2rem; border-top: 1px solid var(--panel); }
.site-footer-inner, .site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer-inner { justify-content: space-between; align-items: center; padding-block: 1rem; color: var(--muted); }
.site-footer a { color: inherit; font-size: 0.875rem; }
.site-footer a:hover { color: var(--gold); }
.privacy-page { max-width: 48rem; padding-block: 2rem; }
.privacy-page a, .account-privacy a, .cookie-banner a { color: var(--gold); }
.cookie-inventory dt { margin-block-start: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.cookie-inventory dd { margin-inline-start: 0; }
.cookie-banner {
  position: fixed;
  inset-inline-end: 1rem;
  inset-block-end: 1rem;
  z-index: 5;
  width: min(28rem, calc(100% - 2rem));
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--panel);
  box-shadow: 0 0.5rem 2rem rgb(0 0 0 / 35%);
}
.cookie-banner h2 { margin: 0; font-size: 1.25rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-status:empty { display: none; }
.shell { width: min(calc(100% - 3rem), 1390px); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--page);
  backdrop-filter: blur(0);
  transition: background-color 250ms ease, backdrop-filter 250ms ease;
}
.site-header.is-scrolled {
  background-color: rgb(40 40 40 / 78%);
  backdrop-filter: blur(12px);
}
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  padding-block: 1rem;
}
.wordmark {
  font: 400 1.5rem/1 "Josefin Sans", "Segoe UI", sans-serif;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 1.75rem;
  margin-inline-end: .35rem;
  vertical-align: middle;
  background: url("/forevermogs-icon.png") center / contain no-repeat;
}
.wordmark span { color: var(--gold); }
.header-login {
  padding: .4rem .85rem;
  border: 1px solid #525252;
  border-radius: .35rem;
  background: var(--panel);
  color: inherit;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}
.header-login:hover, .header-login[aria-current="page"] { color: var(--gold); }
.header-account-actions { display: flex; align-items: center; gap: .65rem; }
.header-profile-link { display: block; }
.header-profile-link[hidden] { display: none; }
.header-profile-link img { display: block; object-fit: cover; border-radius: .25rem; }
.submitted, .gear-source { color: var(--muted); font-size: .875rem; }
.outfit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block: 2rem 1.15rem;
}
.outfit-hearts {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex: none;
  margin: 0;
  padding: .5rem;
  border-radius: .4rem;
  background: var(--panel);
  font-variant-numeric: tabular-nums;
}
.heart-count {
  min-width: 1.5rem;
  padding: .15rem .3rem;
  border-radius: .25rem;
  background: var(--page);
  color: #aaa;
  font-size: .8rem;
  text-align: center;
}
.heart-icon { color: #979797; font-size: 1.25rem; line-height: 1; }
.outfit-reactions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; }
.outfit-reactions button { border: 0; cursor: pointer; font-family: inherit; color: inherit; }
.outfit-reactions button:disabled { cursor: default; }
#transmog-like[aria-pressed="true"] .heart-icon { color: #f57979; }
.bookmark-icon {
  display: inline-block;
  width: .72em;
  height: 1em;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}
#transmog-bookmark .bookmark-icon { color: #979797; }
#transmog-bookmark[aria-pressed="true"] .bookmark-icon { color: var(--gold); }
#transmog-like-status, #transmog-bookmark-status { margin: 0 0 .65rem; color: var(--muted); }
.post-view-count { margin: -.5rem 0 .75rem; color: var(--muted); font-size: .875rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
h1, h2 { margin: 0; }
h1 { font: 400 48px/1.05 "Josefin Sans", "Segoe UI", sans-serif; color: #f3dfc0; }
h2 { font-size: 1.4rem; font-weight: 600; }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 340px));
  gap: 10px;
}
.gallery:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 340 / 570;
  object-fit: cover;
  border-radius: .6rem;
  background: #171717;
}
.outfit-meta {
  display: flex;
  justify-content: flex-end;
  margin-top: .6rem;
}
.submitted { margin: 0 0 0 auto; }
.report-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: .875rem;
  text-decoration: underline;
  cursor: pointer;
}
.report-link:disabled { text-decoration: none; cursor: default; }
#transmog-report-status { margin: .35rem 0 0; color: var(--muted); font-size: .875rem; }
.submitted time { color: #f0eaf2; margin-inline-start: .25rem; }
.outfit-details {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
  padding-block: 1.65rem 2.5rem;
}
.gear-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: .65rem;
}
.gear-header span, .slot, dt { color: var(--muted); font-size: .875rem; }
.description { margin-bottom: 1.5rem; }
.description p {
  margin: .65rem 0 0;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: var(--panel);
}
.gear-list { display: grid; gap: .32rem; list-style: none; padding: 0; margin: 0; }
.gear-list a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: var(--panel);
  text-decoration: none;
}
.gear-list a:hover, .gear-list a:focus-visible { background: #302438; }
.gear-list a:hover .item, .gear-list a:focus-visible .item { text-decoration: underline; }
.gear-list .slot { text-align: right; }
.item-icon {
  display: block;
  border: 1px solid var(--line);
  border-radius: .3rem;
}
a:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.rare { color: #9bc6ff; }
.epic { color: #d9adff; }
.uncommon { color: #a5daad; }
.gear-source { margin: .65rem 0 0; }
.gear-source a { color: inherit; }
.outfit-sidebar { display: grid; gap: 1rem; }
.creator-details {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
}
.creator-avatar {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .4rem;
}
.creator-avatar img {
  position: absolute;
  width: 650%;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-49%, -30%);
}
.creator-name, .creator-server { margin: 0; overflow-wrap: anywhere; }
.creator-name { font-weight: 600; }
.published-creator-avatar { object-fit: cover; border-radius: .4rem; }
#post-creator { color: inherit; text-decoration: none; }
#post-creator:hover .creator-name { color: var(--gold); text-decoration: underline; }
.creator-server { color: var(--muted); font-size: .875rem; }
.profile {
  margin: .65rem 0 0;
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: var(--panel);
  padding: .9rem 1rem;
}
dl.profile div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  padding-block: .45rem;
}
dl.profile div:has(~ div) { border-bottom: 1px solid var(--line); }
dl.profile .character-name:has(dd:empty) { display: none; }
dd { margin: 0; text-align: right; }
@media (max-width: 45rem) {
  .outfit-details { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
  .gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .gallery img {
    flex: 0 0 min(340px, calc(100% - 24px));
    scroll-snap-align: start;
  }
  .gallery img:only-child { flex-basis: min(340px, 100%); }
}
@media (max-width: 34rem) {
  .shell { width: calc(100% - 2rem); }
}
