.fk-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: var(--gray-1);
}

.fk-brand b {
  color: var(--fk-accent);
  font-weight: 800;
}

.fk-brand:hover {
  text-decoration: none;
  color: var(--gray-1);
}

.fk-auth-hero {
  background-color: var(--brand-8);
  background-image:
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--fk-accent) 30%, transparent) 0, transparent 34%),
    radial-gradient(circle at 8% 96%, color-mix(in srgb, var(--brand-5) 70%, transparent) 0, transparent 46%),
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.5px),
    linear-gradient(155deg, var(--brand-8) 0%, var(--brand-7) 45%, var(--brand-6) 100%);
  background-size: auto, auto, 22px 22px, auto;
}

.fk-auth-hero .auth-hero-inner {
  gap: var(--space-xl);
}

.fk-auth-brand {
  gap: 12px;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.fk-auth-brand img,
.auth-hero-brand.fk-auth-brand img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.fk-auth-hero .auth-hero-copy {
  margin-top: 0;
}

.fk-auth-hero .auth-hero-eyebrow::before {
  background-color: var(--fk-accent);
}

.fk-auth-hero .auth-hero-title em {
  color: var(--fk-accent);
  box-shadow: none;
}

.fk-showcase {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.fk-show-deal,
.fk-show-coupon,
.fk-show-stat {
  background-color: var(--gray-1);
  color: var(--gray-10);
  border-radius: 14px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.45);
}

.fk-showcase p {
  margin: 0;
}

.fk-show-deal {
  width: 300px;
  overflow: hidden;
  transform: rotate(-3deg);
}

.fk-show-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 118px;
  background: linear-gradient(135deg, var(--fk-accent), var(--brand-5));
  color: var(--gray-1);
  font-size: 54px;
}

.fk-show-off {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: var(--gray-1);
  color: var(--fk-accent-dark);
  font-size: 0.85rem;
  font-weight: 800;
}

.fk-show-body {
  padding: 14px 16px 16px;
}

.fk-show-cat {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-tertiary);
}

.fk-show-name {
  margin-top: 4px !important;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.fk-show-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px !important;
}

.fk-show-price s {
  font-size: 0.8rem;
  color: var(--color-text-tertiary);
}

.fk-show-price b {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-6);
}

.fk-show-coupon {
  position: absolute;
  top: calc(50% - 158px);
  left: calc(50% - 270px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  transform: rotate(-4deg);
}

.fk-show-coupon-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: var(--color-success-bg);
  color: var(--color-success);
  font-size: 22px;
}

.fk-show-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-tertiary);
}

.fk-show-code {
  font-family: var(--font-family-code);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fk-show-stat {
  position: absolute;
  top: calc(50% + 64px);
  left: calc(50% + 86px);
  width: 196px;
  padding: 14px 16px;
  transform: rotate(4deg);
}

.fk-show-figure {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px !important;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-6);
}

.fk-show-figure span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-success);
}

.fk-show-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 40px;
  margin-top: 10px;
}

.fk-show-bars i {
  flex: 1 1 0;
  border-radius: 3px 3px 0 0;
  background-color: var(--brand-2);
}

.fk-show-bars i:nth-child(1) { height: 35%; }
.fk-show-bars i:nth-child(2) { height: 55%; }
.fk-show-bars i:nth-child(3) { height: 42%; }
.fk-show-bars i:nth-child(4) { height: 70%; }
.fk-show-bars i:nth-child(5) { height: 60%; }
.fk-show-bars i:nth-child(6) { height: 82%; }

.fk-show-bars i:nth-child(7) {
  height: 100%;
  background-color: var(--fk-accent);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .fk-show-coupon {
    left: calc(50% - 220px);
  }

  .fk-show-stat {
    left: calc(50% + 50px);
  }
}

@media (max-height: 820px), (max-width: 991.98px) {
  .fk-showcase {
    display: none;
  }

  .fk-auth-hero .auth-hero-copy {
    margin-top: auto;
  }
}

@media (max-width: 991.98px) {
  .fk-auth-brand {
    font-size: 1.35rem;
  }

  .fk-auth-brand img,
  .auth-hero-brand.fk-auth-brand img {
    width: 40px;
    height: 40px;
  }
}

.fk-kpi {
  height: 100%;
}

.fk-kpi-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.fk-kpi-head .ti {
  font-size: 1.3rem;
  color: var(--brand-5);
}

.fk-kpi-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gray-8);
}

.fk-kpi-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-6);
  line-height: 1.2;
}

.fk-bars {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 6px;
  align-items: end;
  height: 180px;
}

.fk-bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  gap: 4px;
}

.fk-bar-fill {
  display: block;
  width: 100%;
  min-height: 3px;
  height: 3px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--fk-accent), var(--brand-5));
  transition: height 0.4s;
}

.fk-bar-label {
  font-size: 0.7rem;
  color: var(--gray-8);
}

.fk-code-input,
.fk-mono {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
}

.fk-code-input {
  text-transform: uppercase;
  font-size: 1.1rem;
}

.fk-ellipsis {
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.fk-thumb {
  width: 72px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.fk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fk-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gray-1);
  border: 1px solid var(--gray-6);
  color: var(--gray-9);
  font-weight: 600;
  text-decoration: none;
}

.fk-tab span {
  color: var(--gray-8);
  font-weight: 500;
}

.fk-tab:hover {
  text-decoration: none;
  border-color: var(--brand-5);
}

.fk-tab.is-active {
  background: var(--brand-6);
  border-color: var(--brand-6);
  color: var(--gray-1);
}

.fk-tab.is-active span {
  color: var(--brand-2);
}

.fk-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.fk-gallery-item {
  margin: 0;
  display: grid;
  gap: 4px;
}

.fk-gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.fk-option-row {
  display: grid;
  grid-template-columns: minmax(200px, 3fr) 110px 110px 56px 90px 64px 110px auto;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
}

.fk-option-new {
  background: var(--brand-1);
}

.fk-narrow {
  max-width: 110px;
}

@media (max-width: 991.98px) {
  .fk-option-row {
    grid-template-columns: 1fr 1fr;
  }

  .fk-option-row > input[name="title"] {
    grid-column: 1 / -1;
  }

  .fk-ellipsis {
    max-width: 220px;
  }
}
