.fr-pfava {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.5rem;
  height: 6.5rem;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #241c0c;
  background: linear-gradient(150deg, #f2d894 0%, #cba750 55%, #8b6914 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--white),
    0 0 0 5px rgb(var(--gold-rgb) / .45),
    0 6px 24px #00000026;
}

.fr-pfava__dot {
  position: absolute;
  right: .3125rem;
  bottom: .3125rem;
  width: 1rem;
  height: 1rem;
  background: var(--live, #4ea172);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--white);
}

.fr-pfid {
  flex: 1 1 16rem;
  min-width: 0;
  padding-bottom: .25rem;
}

.fr-pfid__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .375rem .5rem;
}

.fr-pfid__name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .01em;
  color: var(--stone-900);
}

.fr-pfid__rank {
  margin-top: .25rem;
  font-size: .8125rem;
  color: var(--stone-500);
}

.fr-pfid__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .1875rem .75rem;
  margin-top: .5rem;
  font-size: .6875rem;
  color: var(--stone-400);
}

.fr-pfid__meta b {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--stone-600);
}

.fr-pfacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding-bottom: .25rem;
}

.fr-pftabs {
  display: flex;
  gap: .125rem;
  padding: 0 .75rem;
  border-top: 1px solid var(--stone-100);
  overflow-x: auto;
  scrollbar-width: none;
}

.fr-pftabs::-webkit-scrollbar {
  display: none;
}

.fr-pftab {
  position: relative;
  flex-shrink: 0;
  padding: .75rem .75rem;
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--stone-500);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.fr-pftab:hover {
  color: var(--stone-900);
}

.fr-pftab.is-active {
  color: var(--stone-900);
}

.fr-pftab:after {
  content: "";
  position: absolute;
  right: .5rem;
  bottom: 0;
  left: .5rem;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--stone-600);
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.fr-pftab.is-active:after {
  opacity: 1;
  transform: scaleX(1);
}

.fr-pf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 1.25rem;
  align-items: start;
  margin-top: 1.5rem;
}

.fr-card {
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, var(--white) 0%, var(--bone) 100%);
  border-radius: var(--radius-xl);
  box-shadow: inset 0 1px 0 var(--has-border-inset, #fffc),
    0 0 0 1px var(--stone-200),
    0 0 0 4px var(--ivory),
    0 0 0 5px var(--stone-200),
    0 8px 30px #0000000f;
  overflow: hidden;
}

.fr-card:last-child {
  margin-bottom: 0;
}

.fr-card__head {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.125rem;
  background: linear-gradient(180deg, var(--ivory) 0%, transparent 100%);
  border-bottom: 1px solid var(--stone-200);
}

.fr-card__head svg {
  width: .875rem;
  height: .875rem;
  flex-shrink: 0;
  color: var(--gold);
  opacity: .85;
}

.fr-card__title {
  flex: 1;
  margin: 0;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone-600);
}

.fr-card__count {
  font-family: var(--font-mono);
  font-size: .625rem;
  color: var(--stone-400);
}

.fr-card__body {
  padding: 1rem 1.125rem;
}

.fr-card__foot {
  display: block;
  padding: .5rem 1rem;
  font-size: .6875rem;
  text-align: center;
  color: var(--stone-400);
  border-top: 1px solid var(--stone-100);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.fr-card__foot:hover {
  color: var(--gold);
  background: var(--ivory);
}

.fr-act {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: .875rem;
  padding: .875rem 1.125rem;
  border-bottom: 1px solid var(--stone-100);
  transition: background var(--transition-fast);
}

.fr-act:last-child {
  border-bottom: none;
}

.fr-act:hover {
  background: rgb(var(--gold-rgb) / .04);
}

.fr-act__seal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--stone-500);
  background: radial-gradient(circle at 35% 28%, var(--white), var(--ivory));
  border: 1px solid var(--stone-300);
  border-radius: 50%;
  box-shadow: inset 0 1px 2px #ffffffe6;
}

.fr-act__seal svg {
  width: .9375rem;
  height: .9375rem;
}

.fr-act__seal--gold {
  color: var(--gold);
  border-color: rgb(var(--gold-rgb) / .4);
  box-shadow: inset 0 1px 2px #ffffffe6, 0 0 10px rgb(var(--gold-rgb) / .18);
}

.fr-act__seal--red {
  color: var(--red);
  border-color: rgb(var(--red-rgb) / .35);
}

.fr-act__body {
  min-width: 0;
}

.fr-act__title {
  font-size: .8125rem;
  line-height: 1.45;
  color: var(--stone-500);
}

.fr-act__title a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--stone-800);
  transition: color var(--transition-fast);
}

.fr-act__title a:hover {
  color: var(--gold);
}

.fr-act__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: .375rem;
  padding-left: .625rem;
  border-left: 2px solid var(--stone-200);
  font-size: .75rem;
  line-height: 1.5;
  color: var(--stone-400);
}

.fr-act__time {
  display: inline-block;
  margin-top: .375rem;
  font-family: var(--font-mono);
  font-size: .625rem;
  color: var(--stone-400);
}

.fr-info__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px dashed var(--stone-200);
  font-size: .8125rem;
}

.fr-info__row:last-child {
  border-bottom: none;
}

.fr-info__row dt {
  color: var(--stone-400);
}

.fr-info__row dd {
  margin: 0;
  text-align: right;
  color: var(--stone-700);
}

.fr-info__row dd b {
  font-family: var(--font-mono);
  font-weight: 700;
}

.fr-trophies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.fr-trophy {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  background: linear-gradient(180deg, var(--white) 0%, var(--ivory) 100%);
  border-radius: var(--radius-lg, .75rem);
  box-shadow: inset 0 1px 0 var(--has-border-inset, #fff),
    0 0 0 1px var(--stone-200);
}

.fr-trophy__seal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: #241c0c;
  background: linear-gradient(180deg, #f2d894 0%, #cba750 55%, #a8842f 100%);
  border-radius: 50%;
  box-shadow: inset 0 1px 0 #ffffffa6,
    0 0 0 1px rgb(var(--gold-rgb) / .45),
    0 3px 10px rgb(var(--gold-rgb) / .25);
}

.fr-trophy__seal svg {
  width: 1.125rem;
  height: 1.125rem;
}

.fr-trophy__name {
  display: block;
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--stone-800);
}

.fr-trophy__desc {
  display: block;
  margin-top: .1875rem;
  font-size: .6875rem;
  line-height: 1.4;
  color: var(--stone-400);
}

.fr-trophy__pts {
  display: inline-block;
  margin-top: .3125rem;
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 700;
  color: var(--gold);
}

.fr-trophy--locked {
  background: none;
  box-shadow: 0 0 0 1px var(--stone-200);
}

.fr-trophy--locked .fr-trophy__seal {
  color: var(--stone-400);
  background: linear-gradient(180deg, var(--ivory) 0%, var(--parchment) 100%);
  box-shadow: inset 0 1px 0 var(--has-border-inset, #fff), 0 0 0 1px var(--stone-300);
}

.fr-trophy--locked .fr-trophy__name {
  color: var(--stone-500);
}

.fr-trophy--locked .fr-trophy__pts {
  color: var(--stone-400);
}

.fr-char {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .875rem;
  padding: .875rem 1.125rem;
  border-bottom: 1px solid var(--stone-100);
  transition: background var(--transition-fast);
}

.fr-char:last-child {
  border-bottom: none;
}

.fr-char:hover {
  background: rgb(var(--gold-rgb) / .04);
}

.fr-char__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--stone-500);
  background: linear-gradient(135deg, var(--ivory), var(--parchment));
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 var(--has-border-inset, #ffffffb3);
}

.fr-char__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.fr-char--main .fr-char__icon {
  color: var(--gold);
  border-color: rgb(var(--gold-rgb) / .35);
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--gold) 12%, var(--bone)),
    var(--ivory));
}

.fr-char__name {
  display: block;
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 700;
  color: var(--stone-900);
}

.fr-char__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .1875rem .5rem;
  margin-top: .1875rem;
  font-size: .6875rem;
  color: var(--stone-400);
}

.fr-char__sub b {
  font-weight: 600;
  color: var(--stone-500);
}

.fr-char__bar {
  position: relative;
  height: 3px;
  margin-top: .4375rem;
  background: var(--stone-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.fr-char__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, #8b6914, #e8c96a);
  border-radius: var(--radius-full);
}

.fr-char__lvl {
  text-align: center;
}

.fr-char__lvl b {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  color: var(--stone-800);
}

.fr-char--main .fr-char__lvl b {
  color: var(--gold);
}

.fr-char__lvl span {
  display: block;
  margin-top: .1875rem;
  font-family: var(--font-heading);
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone-400);
}

.fr-visitors {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
}

.fr-visitors a {
  transition: transform var(--transition-base);
}

.fr-visitors a:hover {
  transform: translateY(-2px);
}

.fr-clan {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.fr-clan__crest {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  color: var(--gold);
  background: linear-gradient(180deg, var(--bone), var(--ivory));
  border: 1px solid rgb(var(--gold-rgb) / .3);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 var(--has-border-inset, #fff);
}

.fr-clan__crest svg {
  width: 1.25rem;
  height: 1.25rem;
}

.fr-clan__name {
  display: block;
  font-family: var(--font-heading);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--stone-900);
}

.fr-clan__role {
  display: block;
  margin-top: .125rem;
  font-size: .75rem;
  color: var(--stone-400);
}

.fr-pfbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  height: 2.375rem;
  padding: 0 .9375rem 0 .8125rem;
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--stone-600);
  background: linear-gradient(180deg, var(--white) 0%, var(--ivory) 100%);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: inset 0 1px 0 var(--has-border-inset, #fff),
    0 0 0 1px var(--stone-200),
    0 1px 2px #0000000f,
    0 4px 12px #0000000a;
  transition: color var(--transition-fast), box-shadow var(--transition-base),
    transform .18s cubic-bezier(.16, 1, .3, 1);
}

.fr-pfbtn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}

.fr-pfbtn:hover {
  color: var(--stone-900);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 var(--has-border-inset, #fff),
    0 0 0 1px var(--stone-300),
    0 2px 4px #00000014,
    0 8px 20px #0000000f;
}

.fr-pfbtn:active {
  transform: translateY(0) scale(.97);
  box-shadow: inset 0 1px 3px #00000014,
    0 0 0 1px var(--stone-300);
}

.fr-pfbtn--icon {
  width: 2.375rem;
  padding: 0;
  justify-content: center;
}

.fr-pfbtn--more:hover svg {
  transform: rotate(90deg);
}

.fr-pfbtn--write:hover svg {
  transform: scale(1.12) translateY(-1px);
}

.fr-pfbtn--watch:hover svg {
  animation: frBellSwing .6s ease;
  transform-origin: 50% 15%;
}

@keyframes frBellSwing {
  0%, 100% {
    transform: rotate(0);
  }

  20% {
    transform: rotate(-13deg);
  }

  45% {
    transform: rotate(10deg);
  }

  70% {
    transform: rotate(-5deg);
  }

  88% {
    transform: rotate(2deg);
  }
}

.fr-pfbtn--primary {
  color: #e8c96a;
  background: linear-gradient(180deg, #2e2519 0%, #1a1611 100%);
  box-shadow: inset 0 1px 0 #ffffff17,
    0 0 0 1px rgb(var(--gold-rgb) / .45),
    0 2px 5px #00000038,
    0 6px 18px #00000026;
}

.fr-pfbtn--primary:hover {
  color: #f6e2ab;
  box-shadow: inset 0 1px 0 #ffffff24,
    0 0 0 1px rgb(var(--gold-rgb) / .7),
    0 3px 8px #00000042,
    0 10px 24px rgb(var(--gold-rgb) / .2);
}

.fr-pfbtn--primary:active {
  box-shadow: inset 0 2px 6px #00000059,
    0 0 0 1px rgb(var(--gold-rgb) / .5);
}

.fr-pfbtn.is-on {
  color: var(--gold);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--gold) 10%, var(--white)) 0%,
    color-mix(in srgb, var(--gold) 20%, var(--ivory)) 100%);
  box-shadow: inset 0 1px 0 var(--has-border-inset, #fff),
    0 0 0 1px rgb(var(--gold-rgb) / .45),
    0 2px 4px rgb(var(--gold-rgb) / .12),
    0 6px 16px rgb(var(--gold-rgb) / .18);
}

.fr-pfbtn.is-on svg {
  fill: color-mix(in srgb, var(--gold) 22%, transparent);
}

[data-theme="dark"] .fr-card {
  background: linear-gradient(180deg, var(--bone) 0%, var(--white) 100%);
  box-shadow: inset 0 1px 0 #ffffff08,
    0 0 0 1px var(--stone-200),
    0 0 0 4px var(--ivory),
    0 0 0 5px var(--stone-200),
    0 8px 30px #0003;
}

[data-theme="dark"] .fr-card__head {
  background: var(--ivory);
  border-bottom-color: var(--stone-200);
}

[data-theme="dark"] .fr-act,
[data-theme="dark"] .fr-char,
[data-theme="dark"] .fr-card__foot,
[data-theme="dark"] .fr-about,
[data-theme="dark"] .fr-pftabs {
  border-color: var(--stone-200);
}

[data-theme="dark"] .fr-info__row {
  border-bottom-color: var(--stone-300);
}

[data-theme="dark"] .fr-pfava {
  box-shadow: 0 0 0 4px var(--white),
    0 0 0 5px rgb(var(--gold-rgb) / .45),
    0 6px 24px #00000059;
}

[data-theme="dark"] .fr-pfava__dot {
  box-shadow: 0 0 0 3px var(--bone);
}

[data-theme="dark"] .fr-act__seal,
[data-theme="dark"] .fr-char__icon,
[data-theme="dark"] .fr-trophy,
[data-theme="dark"] .fr-clan__crest {
  background: linear-gradient(180deg, var(--parchment) 0%, var(--ivory) 100%);
  border-color: var(--stone-300);
}

[data-theme="dark"] .fr-trophy {
  border: none;
  box-shadow: inset 0 1px 0 #ffffff0f, 0 0 0 1px var(--stone-300);
}

[data-theme="dark"] .fr-trophy--locked {
  background: none;
  box-shadow: 0 0 0 1px var(--stone-200);
}

[data-theme="dark"] .fr-pfbtn {
  background: linear-gradient(180deg, var(--parchment) 0%, var(--ivory) 100%);
  box-shadow: inset 0 1px 0 #ffffff0f,
    0 0 0 1px var(--stone-300),
    0 1px 2px #00000040,
    0 4px 12px #00000026;
}

[data-theme="dark"] .fr-pfbtn:hover {
  box-shadow: inset 0 1px 0 #ffffff14,
    0 0 0 1px var(--stone-400),
    0 2px 4px #00000059,
    0 8px 20px #00000033;
}

[data-theme="dark"] .fr-pfbtn--primary {
  background: linear-gradient(180deg, #33291b 0%, #1d1913 100%);
  box-shadow: inset 0 1px 0 #ffffff1f,
    0 0 0 1px rgb(var(--gold-rgb) / .45),
    0 6px 18px #00000059;
}

[data-theme="dark"] .fr-pfbtn.is-on {
  box-shadow: inset 0 1px 0 #ffffff1a,
    0 0 0 1px rgb(var(--gold-rgb) / .45),
    0 6px 16px rgb(var(--gold-rgb) / .16);
}

[data-theme="dark"] .fr-act__text {
  border-left-color: var(--stone-300);
}

[data-theme="dark"] .fr-char__bar {
  background: var(--stone-300);
}

@media (max-width: 64rem) {
  .fr-pf {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 40rem) {
  .fr-pfava {
    width: 5rem;
    height: 5rem;
    font-size: 1.5rem;
  }
  .fr-pfid__name {
    font-size: 1.25rem;
  }
  .fr-pfacts {
    width: 100%;
  }
  .fr-pfbtn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .fr-trophies {
    grid-template-columns: minmax(0, 1fr);
  }
  .fr-act,
  .fr-char {
    padding: .75rem 1rem;
  }
  .fr-card__body {
    padding: .875rem 1rem;
  }
}
