.fc-page { padding-bottom: 6rem; }

.fc-hero { margin-top: 3rem; text-align: center; }
.fc-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand-ink);
  background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand-ink) 35%, transparent);
  padding: .4rem .8rem; border-radius: 999px;
}
.fc-title {
  font-family: var(--font-oswald), sans-serif; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; line-height: 1.05;
  font-size: clamp(2.2rem, 6vw, 4.2rem); margin: 1.25rem 0 1rem;
}
.fc-title span { color: var(--brand-ink); }
.fc-lead { max-width: 42rem; margin: 0 auto; color: var(--muted-foreground); font-size: 1.05rem; line-height: 1.7; }

.fc-section { margin-top: 5rem; }
.fc-h2 {
  font-family: var(--font-oswald), sans-serif; font-weight: 500;
  text-transform: uppercase; letter-spacing: 3px; font-size: 1.5rem; margin-bottom: 2rem;
}
.fc-h2 span { color: var(--brand-ink); }

.fc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  height: 48px; padding: 0 1.4rem; border-radius: .6rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem;
  border: 1px solid var(--border); background: transparent; color: var(--foreground);
  cursor: pointer; transition: background-color .12s, border-color .12s, transform .12s;
  text-decoration: none;
}
.fc-btn:hover { background: var(--secondary); }
.fc-btn:active { transform: translateY(1px); }
.fc-btn:focus-visible, .fc-add:focus-visible, .fc-tab:focus-visible { outline: 2px solid #ff8b1a; outline-offset: 2px; }
.fc-btn--primary { background: #e98a1e; border-color: #e98a1e; color: #160d06; }
.fc-btn--primary:hover { background: #f39830; border-color: #f39830; }
.fc-btn--primary:active { background: #bc7422; border-color: #bc7422; }
.fc-btn--block { width: 100%; }
.fc-btn[disabled] { opacity: .5; cursor: not-allowed; }

.fc-store-banner {
  position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid var(--border);
  margin-top: 2.5rem; min-height: 300px; display: flex; align-items: center;
  background: #0b0d14 url("../store-background.webp") center / cover no-repeat;
}
.fc-store-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,9,9,.92) 0%, rgba(9,9,9,.65) 45%, rgba(9,9,9,.05) 100%);
}
.fc-store-banner__body { position: relative; z-index: 1; padding: 2.5rem; color: #f7f7f7; max-width: 36rem; }
.fc-store-banner__body .fc-title { margin-top: .9rem; font-size: clamp(2rem, 5vw, 3.4rem); }
.fc-store-banner__body p { color: rgba(247,247,247,.78); line-height: 1.6; }
.fc-store-banner__mascot {
  position: absolute; right: 5%; bottom: -60px; height: 380px; width: auto; max-width: none; z-index: 1;
  transform: scaleX(-1); pointer-events: none; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6));
}
@media (max-width: 760px) { .fc-store-banner__mascot { display: none; } }

.fc-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 3rem 0 2rem; }
.fc-tab {
  border: 1px solid var(--border); background: transparent; color: var(--foreground);
  border-radius: 999px; padding: .55rem 1.1rem; font-weight: 700; font-size: .85rem; cursor: pointer;
}
.fc-tab:hover { background: var(--secondary); }
.fc-tab[aria-pressed="true"] { background: #e98a1e; border-color: #e98a1e; color: #160d06; }

.fc-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (min-width: 1024px) { .fc-grid { grid-template-columns: repeat(3, 1fr); } }

.fc-product {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: .85rem;
  transition: border-color .15s, transform .15s;
}
.fc-product[hidden] { display: none; }
.fc-product:hover { border-color: color-mix(in srgb, #e98a1e 55%, var(--border)); transform: translateY(-2px); }
.fc-product__art {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: var(--art, linear-gradient(135deg, #2a1a0c, #0d0d0d)); overflow: hidden;
}
.fc-product__art::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
.fc-product__art i { position: relative; font-size: 4.2rem; color: #fff; filter: drop-shadow(0 8px 24px rgba(0,0,0,.45)); }
.fc-badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 1;
  font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .55rem; border-radius: .35rem; background: #e98a1e; color: #160d06;
}
.fc-badge--ghost { background: rgba(0,0,0,.55); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.fc-product__body { padding: 1.25rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.fc-product__cat { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-ink); }
.fc-product__name { font-size: 1.15rem; font-weight: 800; }
.fc-product__desc { font-size: .9rem; color: var(--muted-foreground); line-height: 1.55; flex: 1; }
.fc-product__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
.fc-price { font-size: 1.35rem; font-weight: 900; }
.fc-price s { font-size: .85rem; font-weight: 600; color: var(--muted-foreground); margin-left: .35rem; }
.fc-add {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  height: 42px; padding: 0 1rem; border-radius: .55rem; cursor: pointer;
  border: 1px solid #e98a1e; color: var(--brand-ink); background: transparent;
  font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em;
  transition: background-color .12s, color .12s;
}
.fc-add:hover, .fc-add.is-added { background: #e98a1e; color: #160d06; }

.fc-perks { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fc-perk { display: flex; gap: 1rem; align-items: flex-start; }
.fc-perk i { font-size: 1.6rem; color: #e98a1e; width: 2rem; text-align: center; margin-top: .15rem; }
.fc-perk h3 { font-weight: 800; margin-bottom: .25rem; }
.fc-perk p { font-size: .9rem; color: var(--muted-foreground); line-height: 1.55; }

.fc-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.55);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.fc-overlay.is-open { opacity: 1; pointer-events: auto; }
.fc-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(420px, 100%);
  background: var(--background); border-left: 1px solid var(--border);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease, visibility .25s;
  color: var(--foreground); visibility: hidden;
}
.fc-drawer.is-open { transform: translateX(0); visibility: visible; }
.fc-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.fc-drawer__head h2 { font-family: var(--font-oswald), sans-serif; text-transform: uppercase; letter-spacing: 3px; font-size: 1.2rem; }
.fc-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: .5rem; border: 1px solid var(--border); background: transparent; color: var(--foreground); cursor: pointer;
}
.fc-icon-btn:hover { background: var(--secondary); }
.fc-drawer__list { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.fc-line { display: grid; grid-template-columns: 56px 1fr auto; gap: .9rem; align-items: center; }
.fc-line__art { width: 56px; height: 56px; border-radius: .5rem; display: grid; place-items: center; background: var(--art); }
.fc-line__art i { color: #fff; font-size: 1.4rem; }
.fc-line__name { font-weight: 800; font-size: .95rem; }
.fc-line__price { font-size: .85rem; color: var(--muted-foreground); }
.fc-qty { display: inline-flex; align-items: center; gap: .4rem; margin-top: .35rem; }
.fc-qty button {
  width: 26px; height: 26px; border-radius: .35rem; border: 1px solid var(--border);
  background: transparent; color: var(--foreground); cursor: pointer; font-weight: 800;
}
.fc-qty span { min-width: 1.4rem; text-align: center; font-variant-numeric: tabular-nums; font-weight: 700; }
.fc-line__total { font-weight: 800; }
.fc-empty { text-align: center; color: var(--muted-foreground); padding: 3rem 1rem; }
.fc-empty i { font-size: 2.4rem; margin-bottom: 1rem; display: block; opacity: .6; }
.fc-drawer__foot { border-top: 1px solid var(--border); padding: 1.25rem 1.5rem; display: grid; gap: .9rem; }
.fc-total { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 900; }
.fc-note { font-size: .78rem; color: var(--muted-foreground); line-height: 1.5; }

.fc-toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 120; transform: translate(-50%, 200%);
  background: var(--card); color: var(--foreground); border: 1px solid var(--border);
  border-left: 4px solid #e98a1e; border-radius: .6rem; padding: .85rem 1.2rem;
  font-weight: 700; font-size: .9rem; box-shadow: 0 12px 40px rgba(0,0,0,.35);
  transition: transform .25s ease; max-width: calc(100% - 2rem);
}
.fc-toast.is-visible { transform: translate(-50%, 0); }

.fc-contact { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-top: 3.5rem; }
@media (min-width: 960px) { .fc-contact { grid-template-columns: 5fr 7fr; gap: 3rem; } }
.fc-cards { display: grid; gap: 1rem; align-content: start; }
.fc-card {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem;
  background: var(--card); border: 1px solid var(--border); border-radius: .85rem;
  color: inherit; text-decoration: none; transition: border-color .15s;
}
a.fc-card:hover { border-color: #e98a1e; }
.fc-card__icon {
  flex: none; width: 46px; height: 46px; border-radius: .6rem; display: grid; place-items: center;
  background: var(--brand-soft); color: #e98a1e; font-size: 1.25rem;
}
.fc-card h3 { font-weight: 800; margin-bottom: .2rem; }
.fc-card p { font-size: .9rem; color: var(--muted-foreground); line-height: 1.5; }
.fc-card .fc-link { color: var(--brand-ink); font-weight: 700; font-size: .9rem; margin-top: .35rem; display: inline-block; }

.fc-form { background: var(--card); border: 1px solid var(--border); border-radius: .85rem; padding: 1.75rem; display: grid; gap: 1.1rem; }
.fc-form h2 { font-family: var(--font-oswald), sans-serif; text-transform: uppercase; letter-spacing: 3px; font-size: 1.3rem; }
.fc-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fc-row { grid-template-columns: 1fr 1fr; } }
.fc-field { display: grid; gap: .4rem; align-content: start; }
.fc-field label { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.fc-field label small { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--muted-foreground); }
.fc-input {
  width: 100%; border-radius: .55rem; border: 1px solid var(--border);
  background: var(--background); color: var(--foreground); padding: .8rem .9rem; font: inherit; font-size: .95rem;
}
.fc-input:focus { outline: none; border-color: #e98a1e; box-shadow: 0 0 0 3px color-mix(in srgb, #e98a1e 25%, transparent); }
textarea.fc-input { min-height: 160px; resize: vertical; line-height: 1.5; }
select.fc-input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem;
}
.fc-input[aria-invalid="true"] { border-color: #e5484d; }
.fc-error { font-size: .78rem; color: #e5484d; min-height: 1em; }
.fc-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted-foreground); line-height: 1.5; }
.fc-check input { margin-top: .2rem; accent-color: #e98a1e; width: 16px; height: 16px; flex: none; }
.fc-check a { color: var(--brand-ink); text-decoration: underline; }
.fc-success { display: none; text-align: center; padding: 2rem 1rem; }
.fc-success i { font-size: 2.6rem; color: #e98a1e; margin-bottom: 1rem; }
.fc-success h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .5rem; }
.fc-success p { color: var(--muted-foreground); }
.fc-form.is-sent .fc-success { display: block; }
.fc-form.is-sent > :not(.fc-success) { display: none; }

.fc-legal { display: grid; gap: 3rem; grid-template-columns: 1fr; margin-top: 3rem; }
@media (min-width: 1024px) { .fc-legal { grid-template-columns: 260px 1fr; } }
.fc-toc { align-self: start; }
@media (min-width: 1024px) { .fc-toc { position: sticky; top: 2rem; } }
.fc-toc p { font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; }
.fc-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; border-left: 1px solid var(--border); }
.fc-toc a {
  display: block; padding: .4rem 0 .4rem 1rem; margin-left: -1px; border-left: 2px solid transparent;
  font-size: .88rem; color: var(--muted-foreground); text-decoration: none;
}
.fc-toc a:hover { color: var(--foreground); }
.fc-toc a.is-active { color: var(--brand-ink); border-left-color: #e98a1e; font-weight: 700; }
.fc-prose { max-width: 48rem; line-height: 1.75; }
.fc-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .85rem; color: var(--muted-foreground); padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.fc-prose section { padding-top: 1.75rem; scroll-margin-top: 1.5rem; }
.fc-prose h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: .75rem; }
.fc-prose h2 .n { color: var(--brand-ink); margin-right: .5rem; font-variant-numeric: tabular-nums; }
.fc-prose p, .fc-prose li { color: color-mix(in srgb, var(--foreground) 82%, var(--background)); }
.fc-prose p + p { margin-top: .9rem; }
.fc-prose ul { list-style: disc; padding-left: 1.3rem; margin: .75rem 0; display: grid; gap: .4rem; }
.fc-prose a { color: var(--brand-ink); text-decoration: underline; }
.fc-prose strong { color: var(--foreground); }
.fc-callout {
  margin-top: 1rem; padding: 1rem 1.2rem; border-radius: .6rem;
  background: var(--brand-soft); border: 1px solid color-mix(in srgb, #e98a1e 35%, transparent); font-size: .92rem;
}
.fc-table-wrap { overflow-x: auto; }
.fc-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .9rem; }
.fc-table th, .fc-table td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.fc-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-foreground); }

.fc-mobile-nav {
  display: none; flex-direction: column; gap: .25rem; padding: 1rem; margin-bottom: 1rem;
  background: var(--card); border: 1px solid var(--border); border-radius: .75rem;
}
.fc-mobile-nav.is-open { display: flex; }
.fc-mobile-nav a { padding: .75rem .5rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; border-radius: .4rem; }
.fc-mobile-nav a:hover, .fc-mobile-nav a[aria-current="page"] { background: var(--secondary); }
@media (min-width: 1024px) { .fc-mobile-nav { display: none !important; } }

.fc-menu-wrap { position: relative; }
.fc-menu {
  position: absolute; right: 0; top: calc(100% + .4rem); z-index: 60; min-width: 160px;
  background: var(--card); border: 1px solid var(--border); border-radius: .6rem; padding: .35rem;
  display: none; box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.fc-menu.is-open { display: block; }
.fc-menu button {
  display: flex; align-items: center; gap: .6rem; width: 100%; padding: .55rem .7rem; border-radius: .4rem;
  background: transparent; border: 0; color: var(--foreground); font: inherit; font-size: .88rem; cursor: pointer; text-align: left;
}
.fc-menu button:hover { background: var(--secondary); }
.fc-menu button[aria-checked="true"] { color: var(--brand-ink); font-weight: 800; }
.fc-menu i { width: 1rem; text-align: center; }

img[src*="magmad/icon.png"] { image-rendering: pixelated; }
html:not(.dark) img[src*="magmad/icon.png"] { filter: drop-shadow(0 0 1.5px rgba(0,0,0,.6)); }

.fc-auth { display: grid; place-items: start center; margin-top: 2.5rem; }
.fc-auth-card {
  width: min(460px, 100%); background: var(--card); border: 1px solid var(--border);
  border-radius: 1rem; padding: 2rem; box-shadow: 0 20px 60px rgba(0,0,0,.18);
}
.fc-auth-card__logo { display: flex; justify-content: center; margin-bottom: 1rem; }
.fc-auth-card__logo img { width: 56px; height: 56px; }
.fc-auth-card h1 { font-family: var(--font-oswald), sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: 1.7rem; text-align: center; }
.fc-auth-card h1 span { color: var(--brand-ink); }
.fc-auth-card .fc-auth-sub { text-align: center; color: var(--muted-foreground); font-size: .92rem; margin: .4rem 0 1.5rem; }
.fc-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; padding: .3rem; border-radius: .7rem; background: var(--secondary); margin-bottom: 1.5rem; }
.fc-auth-tabs button {
  height: 40px; border: 0; border-radius: .5rem; background: transparent; color: var(--muted-foreground);
  font: inherit; font-weight: 800; font-size: .85rem; cursor: pointer;
}
.fc-auth-tabs button[aria-selected="true"] { background: var(--background); color: var(--foreground); box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.fc-auth-form { display: grid; gap: 1rem; }
.fc-auth-form[hidden] { display: none; }
.fc-auth-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .85rem; }
.fc-auth-row a, .fc-auth-alt a { color: var(--brand-ink); font-weight: 700; }
.fc-auth-alt { text-align: center; font-size: .88rem; color: var(--muted-foreground); margin-top: 1.25rem; }
.fc-auth-msg { font-size: .88rem; line-height: 1.5; border-radius: .55rem; display: none; }
.fc-auth-msg.is-error, .fc-auth-msg.is-success { display: block; padding: .75rem .9rem; }
.fc-auth-msg.is-error { background: color-mix(in srgb, #e5484d 12%, transparent); border: 1px solid color-mix(in srgb, #e5484d 40%, transparent); color: #e5484d; }
.fc-auth-msg.is-success { background: color-mix(in srgb, #30a46c 12%, transparent); border: 1px solid color-mix(in srgb, #30a46c 40%, transparent); color: #30a46c; }
.fc-auth-notice {
  display: flex; gap: .8rem; align-items: flex-start; padding: 1rem; border-radius: .7rem; margin-bottom: 1.25rem;
  background: var(--brand-soft); border: 1px solid color-mix(in srgb, #e98a1e 35%, transparent); font-size: .9rem; line-height: 1.5;
}
.fc-auth-notice[hidden] { display: none; }
.fc-auth-notice i { color: #e98a1e; font-size: 1.1rem; margin-top: .15rem; }
.fc-pw { position: relative; }
.fc-pw .fc-input { padding-right: 3rem; }
.fc-pw button { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted-foreground); cursor: pointer; border-radius: .4rem; }
.fc-pw button:hover { color: var(--foreground); background: var(--secondary); }

.fc-account { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
.fc-account[hidden], [data-account-loading][hidden] { display: none; }
.fc-acc-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; padding: 1.5rem;
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem;
}
.fc-acc-head img { width: 72px; height: 72px; border-radius: .8rem; image-rendering: pixelated; background: var(--secondary); }
.fc-acc-head img.is-logo { image-rendering: pixelated; padding: .6rem; background: #0c0e1a; filter: none; }
.fc-acc-head .fc-acc-meta { flex: 1; min-width: 200px; }
.fc-acc-head h1 { font-family: var(--font-oswald), sans-serif; font-weight: 500; text-transform: none; letter-spacing: .04em; font-size: 1.8rem; line-height: 1.1; }
.fc-acc-head p { color: var(--muted-foreground); font-size: .9rem; }
.fc-acc-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .fc-acc-grid { grid-template-columns: 1fr 1fr; } }
.fc-panel { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 1.5rem; display: grid; gap: 1rem; align-content: start; }
.fc-panel h2 { font-family: var(--font-oswald), sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: 3px; font-size: 1.15rem; display: flex; align-items: center; gap: .6rem; }
.fc-panel h2 i { color: #e98a1e; font-size: 1rem; }
.fc-panel--wide { grid-column: 1 / -1; }
.fc-input[readonly] { opacity: .7; cursor: not-allowed; }
.fc-hint { font-size: .78rem; color: var(--muted-foreground); }
.fc-auth-empty { color: var(--muted-foreground); text-align: center; padding: 1.5rem 1rem; }
.fc-auth-empty i { display: block; font-size: 1.8rem; margin-bottom: .6rem; opacity: .6; }
.fc-auth-empty a { color: var(--brand-ink); font-weight: 700; }
.fc-order { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.fc-order:last-child { border-bottom: 0; }
.fc-order__id { font-weight: 800; }
.fc-order__items { font-size: .88rem; color: var(--muted-foreground); }
.fc-order__right { text-align: right; }
.fc-order__total { font-weight: 900; }
.fc-status { display: inline-block; margin-top: .25rem; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .2rem .5rem; border-radius: .35rem; background: var(--secondary); }
.fc-status.is-paid, .fc-status.is-delivered { background: color-mix(in srgb, #30a46c 18%, transparent); color: #30a46c; }
.fc-status.is-refunded, .fc-status.is-cancelled { background: color-mix(in srgb, #e5484d 15%, transparent); color: #e5484d; }
.fc-danger { color: #e5484d; border-color: color-mix(in srgb, #e5484d 45%, var(--border)); }
.fc-danger:hover { background: color-mix(in srgb, #e5484d 12%, transparent); }
.fc-auth-notice.is-success { background: color-mix(in srgb, #30a46c 12%, transparent); border-color: color-mix(in srgb, #30a46c 40%, transparent); }
.fc-auth-notice.is-success i { color: #30a46c; }
.fc-auth-msg .fc-btn { color: var(--foreground); }

.fc-role { display: inline-flex; align-items: center; gap: .3rem; font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  padding: .22rem .5rem; border-radius: .35rem; background: var(--secondary); color: var(--muted-foreground); vertical-align: middle; }
.fc-status.is-open { background: color-mix(in srgb, #e98a1e 20%, transparent); color: var(--brand-ink); }
.fc-status.is-answered { background: color-mix(in srgb, #3b82f6 18%, transparent); color: #4f8ff7; }
.fc-status.is-closed { background: var(--secondary); color: var(--muted-foreground); }
.fc-status.is-pending { background: color-mix(in srgb, #e98a1e 20%, transparent); color: var(--brand-ink); }
.fc-kind { font-size: .66rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; padding: .2rem .45rem; border-radius: .3rem; background: var(--secondary); }
.fc-kind.is-update { color: #30a46c; } .fc-kind.is-maintenance { color: #e5484d; } .fc-kind.is-event { color: #7b61ff; } .fc-kind.is-info { color: var(--brand-ink); }

.fc-acc-staff { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.fc-acc-staff[hidden] { display: none; }
.fc-ticket { border: 1px solid var(--border); border-radius: .7rem; margin-bottom: .6rem; overflow: hidden; }
.fc-ticket__sum { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; }
.fc-ticket__sum::-webkit-details-marker { display: none; }
.fc-ticket__sum:hover { background: var(--secondary); }
.fc-ticket__id { font-weight: 900; font-variant-numeric: tabular-nums; color: var(--muted-foreground); }
.fc-ticket__topic { flex: 1; font-weight: 700; }
.fc-ticket__body { padding: 0 1rem 1rem; display: grid; gap: .75rem; }
.fc-thread { display: grid; gap: .6rem; }
.fc-msg { padding: .8rem 1rem; border-radius: .6rem; background: var(--secondary); border: 1px solid var(--border); }
.fc-msg.is-staff { background: color-mix(in srgb, #3b82f6 9%, var(--card)); border-color: color-mix(in srgb, #3b82f6 30%, var(--border)); }
.fc-msg__meta { font-size: .76rem; color: var(--muted-foreground); margin-bottom: .3rem; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.fc-msg__body { white-space: pre-wrap; word-break: break-word; line-height: 1.55; font-size: .93rem; }
.fc-reply { display: grid; gap: .6rem; }
.fc-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

.fc-staff { margin-top: 2rem; display: grid; gap: 1.25rem; }
.fc-staff[hidden] { display: none; }
.fc-staff__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.fc-staff__title { font-family: var(--font-oswald), sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: .6rem; }
.fc-staff__title span { color: var(--brand-ink); }
.fc-staff__me { display: flex; align-items: center; gap: .6rem; font-weight: 800; padding: .6rem .9rem; border: 1px solid var(--border); border-radius: .7rem; background: var(--card); }
.fc-staff-tabs { display: flex; gap: .35rem; overflow-x: auto; padding: .3rem; border-radius: .8rem; background: var(--secondary); scrollbar-width: none; }
.fc-staff-tabs button { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; height: 42px; padding: 0 1rem; border: 0; border-radius: .55rem;
  background: transparent; color: var(--muted-foreground); font: inherit; font-weight: 800; font-size: .86rem; cursor: pointer; }
.fc-staff-tabs button:hover { color: var(--foreground); }
.fc-staff-tabs button[aria-selected="true"] { background: var(--background); color: var(--foreground); box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.fc-staff-tabs button:focus-visible, .fc-stat:focus-visible, .fc-ticket-item:focus-visible, .fc-listrow:focus-visible { outline: 2px solid #ff8b1a; outline-offset: 2px; }
.fc-stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.fc-stat { display: grid; gap: .2rem; justify-items: start; text-align: left; padding: 1.25rem; border-radius: .9rem; border: 1px solid var(--border);
  background: var(--card); color: var(--foreground); font: inherit; cursor: pointer; transition: border-color .15s, transform .15s; }
.fc-stat:hover { border-color: #e98a1e; transform: translateY(-2px); }
.fc-stat i { color: #e98a1e; font-size: 1.2rem; margin-bottom: .4rem; }
.fc-stat__n { font-size: 2rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.fc-stat__l { font-size: .82rem; color: var(--muted-foreground); font-weight: 700; }
.fc-listrow { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .75rem .5rem; border: 0; border-bottom: 1px solid var(--border);
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.fc-listrow:last-child { border-bottom: 0; }
.fc-listrow:hover { background: var(--secondary); }
.fc-listrow__main { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-toolbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.fc-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.fc-chips .fc-tab { padding: .45rem .9rem; }
.fc-input--sm { padding: .55rem .75rem; font-size: .88rem; width: auto; min-width: 0; }
.fc-toolbar .fc-input--sm[type="search"] { flex: 1; min-width: 200px; }
.fc-split { display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .fc-split { grid-template-columns: 340px 1fr; } }
.fc-ticket-list { display: grid; gap: .5rem; max-height: 70vh; overflow-y: auto; padding-right: .2rem; }
.fc-ticket-item { display: grid; gap: .25rem; text-align: left; padding: .85rem 1rem; border-radius: .7rem; border: 1px solid var(--border);
  background: var(--card); color: inherit; font: inherit; cursor: pointer; }
.fc-ticket-item:hover { border-color: color-mix(in srgb, #e98a1e 50%, var(--border)); }
.fc-ticket-item.is-active { border-color: #e98a1e; box-shadow: 0 0 0 1px #e98a1e; }
.fc-ticket-item__top { display: flex; justify-content: space-between; align-items: center; }
.fc-ticket-item__topic { font-weight: 800; }
.fc-ticket-item__meta { font-size: .78rem; color: var(--muted-foreground); }
.fc-detail { min-height: 300px; }
.fc-detail__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.fc-detail__head h3 { font-size: 1.15rem; font-weight: 800; }
.fc-meta-list { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; font-size: .86rem; padding: .8rem 1rem; border-radius: .6rem; background: var(--secondary); }
.fc-meta-list dt { color: var(--muted-foreground); font-weight: 700; }
.fc-meta-list dd { word-break: break-word; }
.fc-table--data td { vertical-align: middle; }
.fc-user { display: flex; align-items: center; gap: .6rem; }
.fc-user img { width: 32px; height: 32px; border-radius: .4rem; image-rendering: pixelated; background: #0c0e1a; }
.fc-ann-row { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.fc-ann-row:last-child { border-bottom: 0; }
.fc-ann-row.is-off { opacity: .6; }
.fc-ann-row__main { display: grid; gap: .3rem; min-width: 0; }
.fc-ann-row__top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.fc-btn--sm { height: 34px; padding: 0 .8rem; font-size: .74rem; }
.fc-toast.is-error { border-left-color: #e5484d; }

.fc-attended { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: 0 0 .9rem; padding: .6rem .8rem; border: 1px solid var(--color-border, rgba(255,255,255,.12)); border-radius: .6rem; font-size: .85rem; }
.fc-attended i { color: var(--brand-ink, #e98a1e); }
.fc-attended { border-color: var(--border); background: var(--card); }

.fc-nick { display: block; font-size: .78rem; }

.fc-role { --rk: #9ca3af; background: color-mix(in srgb, var(--rk) 18%, transparent); color: var(--rk); }
.fc-role.g-creator  { --rk: #e98a1e; }
.fc-role.g-directiva{ --rk: #ef4444; }
.fc-role.g-alta     { --rk: #a855f7; }
.fc-role.g-prog     { --rk: #06b6d4; }
.fc-role.g-cupula   { --rk: #3b82f6; }
.fc-role.g-staff    { --rk: #60a5fa; }
.fc-role.g-test     { --rk: #22c55e; }
.fc-role.g-user     { --rk: #9ca3af; }
html:not(.dark) .fc-role.g-creator { --rk: #b45f05; }
html:not(.dark) .fc-role.g-staff { --rk: #2563eb; }
html:not(.dark) .fc-role.g-test { --rk: #15803d; }
.fc-msg.is-staff { --rk: #60a5fa; background: color-mix(in srgb, var(--rk) 9%, var(--card)); border-color: color-mix(in srgb, var(--rk) 32%, var(--border)); }
.fc-msg.is-staff.g-creator { --rk: #e98a1e; } .fc-msg.is-staff.g-directiva { --rk: #ef4444; } .fc-msg.is-staff.g-alta { --rk: #a855f7; }
.fc-msg.is-staff.g-prog { --rk: #06b6d4; } .fc-msg.is-staff.g-cupula { --rk: #3b82f6; }

.fc-tab-count, .fc-chip-n { display: inline-flex; align-items: center; justify-content: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .4rem;
  margin-left: .35rem; border-radius: 999px; font-size: .7rem; font-weight: 800; background: var(--secondary, rgba(127,127,127,.18)); color: inherit; }
.fc-tab-count[hidden], .fc-chip-n[hidden] { display: none; }
.fc-tab-count.is-hot { background: #e98a1e; color: #1a0e00; }

.fc-team { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }
.fc-team__group { border-top: 3px solid var(--rk, #9ca3af); }
.fc-team__group.g-creator { --rk: #e98a1e; } .fc-team__group.g-directiva { --rk: #ef4444; } .fc-team__group.g-alta { --rk: #a855f7; }
.fc-team__group.g-prog { --rk: #06b6d4; } .fc-team__group.g-cupula { --rk: #3b82f6; } .fc-team__group.g-staff { --rk: #60a5fa; } .fc-team__group.g-test { --rk: #22c55e; }
.fc-team__group h2 { color: var(--rk); }
.fc-team__rank { padding: .7rem 0; border-top: 1px solid var(--border); }
.fc-team__rank:first-of-type { border-top: 0; }
.fc-team__head { display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.fc-team__members { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.fc-member { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .55rem .2rem .25rem; border: 1px solid var(--border); border-radius: 999px; font-size: .82rem; }
.fc-member img { border-radius: 4px; image-rendering: pixelated; }
.fc-team__empty { font-style: italic; }
.fc-staff-tabs { flex-wrap: wrap; }

.fc-live { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .7rem; font-size: .75rem; color: var(--muted-foreground); }
.fc-live__dot { width: .55rem; height: .55rem; border-radius: 50%; background: #9ca3af; }
.fc-live.is-on .fc-live__dot { background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: fc-pulse 1.8s infinite; }
.fc-live.is-on { color: #22c55e; }
.fc-live.is-poll .fc-live__dot { background: #e98a1e; }
@keyframes fc-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.fc-msg.is-new { animation: fc-new-msg 1.6s ease-out; }
@keyframes fc-new-msg { 0% { transform: translateY(6px); opacity: 0; box-shadow: 0 0 0 2px #e98a1e; } 30% { transform: none; opacity: 1; } 100% { box-shadow: 0 0 0 0 transparent; } }
.fc-status.is-ping { animation: fc-ping 1s ease-out 3; }
@keyframes fc-ping { 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .fc-live.is-on .fc-live__dot, .fc-msg.is-new, .fc-status.is-ping { animation: none; } }

html.fc-tx-open { overflow: hidden; }
.fc-tx-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 2.5vh 2vw;
  background: rgba(0,0,0,.72); backdrop-filter: blur(3px); animation: fc-fade .15s ease-out; }
.fc-tx-dialog { display: flex; flex-direction: column; width: min(940px, 100%); height: 95vh; border: 1px solid var(--border); border-radius: .9rem;
  overflow: hidden; background: #0b0b0d; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.fc-tx-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; padding: .7rem .9rem;
  border-bottom: 1px solid var(--border); background: var(--card); }
.fc-tx-bar .fc-actions { margin: 0; }
.fc-tx-frame { flex: 1; width: 100%; border: 0; background: #0b0b0d; }
@keyframes fc-fade { from { opacity: 0; } }
@media (max-width: 600px) { .fc-tx-overlay { padding: 0; } .fc-tx-dialog { height: 100vh; border-radius: 0; } }

.fc-staff { grid-template-columns: minmax(0, 1fr); }
.fc-staff > * { min-width: 0; }
.fc-stats { grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.fc-card h2 { font-weight: 800; margin-bottom: .2rem; }
.fc-tab[aria-pressed="true"] .fc-chip-n { background: rgba(26, 14, 0, .85); color: #ffb35c; }
.fc-toast:not(.is-visible) { visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.fc-check input { width: 20px; height: 20px; margin-top: 0; }
footer .flex-col.gap-5 > a.text-xs { padding: .5rem 0; margin: -.5rem 0; }
@media (max-width: 560px) {
  .fc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .fc-stat { padding: 1rem; }
  .fc-stat__n { font-size: 1.7rem; }
  .fc-staff-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; }
  .fc-staff-tabs button { justify-content: center; gap: .35rem; padding: 0 .4rem; font-size: .78rem; }
  .fc-staff__me { width: 100%; justify-content: space-between; }
}
@media (max-width: 640px) {
  .fc-panel.fc-table-wrap { overflow-x: visible; }
  .fc-table--data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .fc-table--data, .fc-table--data tbody, .fc-table--data tr { display: block; width: 100%; }
  .fc-table--data { margin-top: 0; }
  .fc-table--data tr { padding: .85rem 0; border-bottom: 1px solid var(--border); }
  .fc-table--data tr:last-child { border-bottom: 0; }
  .fc-table--data td { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .75rem; align-items: center; padding: .3rem 0; border: 0; overflow-wrap: anywhere; }
  .fc-table--data td::before { content: attr(data-label); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); }
  .fc-table--data td:first-child { display: block; padding-bottom: .5rem; }
  .fc-table--data td:first-child::before, .fc-table--data td[colspan]::before { display: none; }
  .fc-table--data td[colspan] { display: block; }
  .fc-table--data select.fc-input { width: 100%; }
}
.fc-acc-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .fc-acc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 959px) { .fc-detail { min-height: 0; } .fc-detail > .fc-auth-empty { padding: 1.5rem .5rem; } [data-ticket-detail] { scroll-margin-top: 1rem; } }
.fc-panel__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.fc-panel__bar .fc-link { font-size: .85rem; font-weight: 700; color: var(--brand-ink); }
.fc-panel__bar .fc-link:hover { text-decoration: underline; }
footer img[src*="creador-skin"]{transition:transform .4s cubic-bezier(.3,1.6,.5,1);cursor:default}footer img[src*="creador-skin"]:hover{transform:translateY(-8px) rotate(4deg)}@media (prefers-reduced-motion:reduce){footer img[src*="creador-skin"]{transition:none}footer img[src*="creador-skin"]:hover{transform:none}}
.fc-panel { grid-template-columns: minmax(0, 1fr); } .fc-panel > * { min-width: 0; } .fc-panel h2 { flex-wrap: wrap; overflow-wrap: anywhere; }
