﻿/* ══════════════════════════════════════════════
   کارت‌بازی اف‌کوییز — UI مدرن
   فونت: KalamehWebFaNum | رنگ: #671f66 / #ffde01
   ══════════════════════════════════════════════ */

.squadactivity > .fcg,
.squadactivity #fcgRoot {
    height: 100%;
}

.fcg,
.fcg *,
.fcg-modal,
.fcg-modal * {
    box-sizing: border-box;
    font-family: KalamehWebFaNum, Arial, sans-serif;
}

.fcg {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 8px 12px;
    color: #fff;
    overflow: hidden;
    direction: rtl;
}

/* دکمه‌ها هیچ‌وقت از کادر بیرون نزنند */
.fcg button,
.fcg-modal button,
.fcg-match-card,
.fcg-lock-item,
.fcg-match__resign,
.fcg-cta,
.fcg-btn-ghost,
.fcg-card-item__btn,
.fcg-tab,
.fcg-filter-btn,
.fcg-hub-card,
.fcg-pick-tab,
.fcg-help,
.fcg-lg-btn {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* ── هیرو ── */
.fcg-hero {
    position: relative;
    flex-shrink: 0;
    margin: 0 0 12px;
    padding: 16px 14px 14px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(137, 58, 133, 0.55) 0%, rgba(30, 36, 48, 0.92) 55%, rgba(16, 23, 32, 0.95) 100%);
    border: 2px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.fcg-hero__glow {
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 70px;
    background: radial-gradient(ellipse, rgba(255, 222, 1, 0.28), transparent 70%);
    pointer-events: none;
}

.fcg-hero__row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.fcg-hero__kicker {
    font-size: 70%;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffde01;
    opacity: 0.92;
}

.fcg-hero__title {
    margin: 2px 0 0;
    font-size: 128%;
    font-weight: 900;
    line-height: 1.2;
}

.fcg-hero__gem {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 7px 11px 5px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 222, 1, 0.35);
    font-size: 92%;
    font-weight: 900;
}

.fcg-hero__gem img { display: block; }

.fcg-hero__progress {
    position: relative;
    z-index: 1;
    margin-top: 12px;
}

.fcg-hero__progress-top {
    display: flex;
    justify-content: space-between;
    font-size: 75%;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 6px;
}

.fcg-bar {
    height: 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.fcg-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffde01, #57d686);
    transition: width 0.35s ease;
}

/* ── تب‌ها ── */
.fcg-tabs {
    flex-shrink: 0;
    display: flex;
    gap: 0;
    margin: 0 0 12px;
    padding: 4px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.fcg-tab {
    flex: 1 1 0;
    min-width: 0;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-family: KalamehWebFaNum, Arial, sans-serif !important;
    font-size: 68%;
    font-weight: 800;
    padding: 8px 1px 6px;
    border-radius: 11px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.fcg-tab-badge {
    position: absolute;
    top: 2px;
    left: 6px;
    min-width: 14px;
    height: 14px;
    padding: 0 4px;
    border-radius: 999px;
    background: #fb7185;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    line-height: 14px;
    text-align: center;
}
.fcg-tab-badge[hidden] { display: none !important; }

.fcg-tab.is-active {
    background: linear-gradient(to bottom, #893a85, #671f66);
    color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

.fcg-panel { display: none; width: 100%; }
.fcg-panel.is-active {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
@keyframes fcgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── خانه ── */
.fcg-hub-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.fcg-hub-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 96px;
    padding: 12px 6px 10px;
    border: 2px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.12s ease, border-color 0.15s;
}

.fcg-hub-card:active { transform: scale(0.96); }
.fcg-hub-card__icon { font-size: 1.45rem; line-height: 1; }
.fcg-hub-card__title { font-size: 78%; font-weight: 900; }
.fcg-hub-card__sub { font-size: 64%; font-weight: 700; color: rgba(255, 255, 255, 0.62); line-height: 1.3; text-align: center; }

.fcg-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 8px 0 10px !important;
    padding: 12px 12px 10px;
    min-height: 48px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(to bottom, #77ffab, #57d686);
    color: #111 !important;
    font-family: KalamehWebFaNum, Arial, sans-serif !important;
    font-size: 100%;
    font-weight: 900;
    box-shadow: 0 3px 0 #0e8e3f;
    cursor: pointer;
}

.fcg-cta:disabled {
    opacity: 0.48;
    cursor: default;
    box-shadow: 0 3px 0 #3d6a4c;
}

.fcg-cta--sm {
    font-size: 90% !important;
    padding: 11px 12px 8px !important;
    min-height: 44px;
}

.fcg-cta.is-busy,
.fcg-card-item__btn.is-busy,
.fcg-btn-ghost.is-busy,
.fcg-lg-btn.is-busy {
    pointer-events: none;
    opacity: 0.85;
    min-height: inherit;
}

.fcg-btn-spin {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-top-color: #111;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin: 0 6px 0 0;
}

.fcg-cta .fcg-btn-spin {
    margin: 0;
}

.fcg-card-item__btn .fcg-btn-spin,
.fcg-btn-ghost .fcg-btn-spin {
    border-color: rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    width: 11px;
    height: 11px;
    margin: 0;
}

.fcg-muted {
    margin: 10px 0 0;
    text-align: center;
    font-size: 75%;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.55;
}

/* ── گرید ۳ ستونه ── */
.fcg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.fcg-grid--pick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
    max-height: none;
    padding-bottom: 8px;
}

.fcg-grid--pick .fcg-card-item__btn {
    width: auto;
    max-width: 48%;
    flex: 0 0 auto;
    border-radius: 8px;
    padding: 5px 8px 4px;
    font-size: 70%;
}

.fcg-grid--pick .fcg-card-item__foot {
    padding: 8px 8px 10px;
}

.fcg-card-item {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    background: #141820;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    animation: fcgCardIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fcgCardIn {
    from { opacity: 0; transform: translateY(16px) scale(0.94); }
    to { opacity: 1; transform: none; }
}

.fcg-card-item.is-owned { border-color: rgba(87, 214, 134, 0.45); }

.fcg-card-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #2c3846;
}

.fcg-card-item__ovr {
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 24px;
    height: 24px;
    padding: 0 4px;
    border-radius: 7px;
    background: rgba(10, 12, 18, 0.82);
    border: 1px solid rgba(255, 222, 1, 0.55);
    color: #ffde01;
    font-size: 64%;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.fcg-card-item__badge {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 2;
    font-size: 54%;
    font-weight: 900;
    padding: 2px 6px 1px;
    border-radius: 999px;
    background: #22c55e;
    color: #fff;
}

.fcg-card-item__foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px 5px 5px;
    background: linear-gradient(180deg, transparent 0%, rgba(8, 10, 16, 0.92) 42%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.fcg-card-item__name {
    font-size: 64%;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fcg-card-item__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    min-width: 0;
}

.fcg-card-item__btn {
    flex: 0 0 auto;
    max-width: 52%;
    min-width: 0;
    min-height: 24px;
    border: none;
    border-radius: 7px;
    padding: 4px 6px 3px;
    background: linear-gradient(to bottom, #893a85, #671f66);
    color: #fff;
    font-family: KalamehWebFaNum, Arial, sans-serif !important;
    font-size: 58%;
    font-weight: 900;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fcg-card-item__btn.is-owned {
    background: rgba(100, 116, 139, 0.55);
    color: #dbe4ee;
    cursor: default;
}

.fcg-gem {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 64%;
    font-weight: 900;
    color: #fff;
    min-width: 0;
}

.fcg-gem img,
.fcg-gem-ico {
    width: 13px;
    height: 13px;
    display: block;
    flex-shrink: 0;
}

.fcg-filter-btn .fcg-gem-ico {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: 3px;
    vertical-align: -2px;
}

.fcg-gem--free {
    font-size: 58%;
    color: #86efac;
}

/* ── تیم — گرید مدرن (بدون زمین فوتبال) ── */
.fcg-squad {
    border-radius: 20px;
    padding: 14px 12px 16px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(137, 58, 133, 0.22), transparent 48%),
        radial-gradient(ellipse at 0% 100%, rgba(255, 222, 1, 0.08), transparent 42%),
        linear-gradient(165deg, rgba(32, 38, 52, 0.98) 0%, rgba(18, 22, 32, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.fcg-squad__hero {
    margin-bottom: 14px;
}

.fcg-squad__hero-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.fcg-squad__kicker {
    font-size: 62%;
    font-weight: 800;
    color: rgba(255, 222, 1, 0.75);
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.fcg-squad__title {
    font-size: 108%;
    font-weight: 900;
    line-height: 1.2;
}

.fcg-squad__stat {
    flex: 0 0 auto;
    min-width: 52px;
    padding: 6px 10px 4px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 222, 1, 0.35);
    color: #ffde01;
    font-size: 88%;
    font-weight: 900;
    text-align: center;
}

.fcg-squad__bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.fcg-squad__bar > span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #893a85, #ffde01);
    transition: width 0.35s ease;
}

.fcg-squad__hint {
    margin: 10px 0 0;
    font-size: 72%;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    line-height: 1.5;
}

.fcg-squad__grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fcg-squad__row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.fcg-squad__row--tail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 78%;
    margin: 0 auto;
    width: 100%;
}

.fcg-slot {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4.1;
    border-radius: 16px;
    border: 1.5px dashed rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    font-family: KalamehWebFaNum, Arial, sans-serif !important;
    color: inherit;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    transition: transform 0.14s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.fcg-slot:active {
    transform: scale(0.96);
}

.fcg-slot__badge {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 3;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 8px;
    background: rgba(10, 12, 18, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.88);
    font-size: 58%;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fcg-slot.is-filled {
    border-style: solid;
    border-color: rgba(255, 222, 1, 0.55);
    background: linear-gradient(180deg, #1a2230 0%, #0e121a 100%);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 222, 1, 0.08);
}

.fcg-slot.is-filled .fcg-slot__badge {
    border-color: rgba(255, 222, 1, 0.45);
    color: #ffde01;
}

.fcg-slot__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    text-align: center;
}

.fcg-slot__plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255, 222, 1, 0.12);
    border: 1px solid rgba(255, 222, 1, 0.35);
    color: #ffde01;
    font-size: 130%;
    font-weight: 900;
    line-height: 1;
}

.fcg-slot__lbl {
    font-size: 58%;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.62);
}

.fcg-slot__img {
    width: 100%;
    height: 72%;
    object-fit: cover;
    object-position: top center;
}

.fcg-slot__ovr {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    min-width: 24px;
    padding: 2px 5px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 222, 1, 0.5);
    color: #ffde01;
    font-size: 60%;
    font-weight: 900;
}

.fcg-slot__name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 5px 6px;
    font-size: 56%;
    font-weight: 900;
    text-align: center;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: linear-gradient(180deg, transparent, rgba(8, 10, 16, 0.92) 38%);
}

/* ── فیلتر ── */
.fcg-filter {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.fcg-filter::-webkit-scrollbar { display: none; }

.fcg-filter-btn {
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    padding: 7px 12px 5px;
    font-family: KalamehWebFaNum, Arial, sans-serif !important;
    font-size: 75%;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.fcg-filter-btn.is-active {
    background: linear-gradient(to bottom, #893a85, #671f66);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

/* ── لودر / خالی ── */
.fcg-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 36px 12px;
}

.fcg-loader .fquiz-sheet-spinner {
    border-color: rgba(255, 255, 255, 0.18);
    border-top-color: #ffde01;
}

.fcg-loader__lbl {
    font-size: 75%;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
}

.fcg-sentinel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 8px 10px;
}

.fcg-sentinel[hidden] { display: none !important; }

.fcg-more-line {
    width: 56%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 222, 1, 0.45), transparent);
    margin-bottom: 2px;
}

.fcg-empty {
    text-align: center;
    padding: 36px 16px;
    color: rgba(255, 255, 255, 0.7);
}

.fcg-empty .fcg-cta {
    margin-top: 14px;
}

/* ── مودال: داخل فضای ۸۲٪ کارت‌بازی ── */
.squadactivity .fcg-modal,
.fcg-modal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    transform: none;
    z-index: 80;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.fcg-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 20, 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.fcg-modal__sheet {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background: linear-gradient(180deg, #2a3140 0%, #171c26 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    padding: 16px 14px 14px;
    box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.4);
    animation: fcgSlideUp 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.fcg-modal__sheet--pick {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 92%;
    min-height: 58%;
    padding: 10px 14px 16px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(137, 58, 133, 0.18), transparent 55%),
        linear-gradient(180deg, #2a3140 0%, #141820 100%);
}

.fcg-pick__handle {
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    margin: 2px auto 12px;
    flex: 0 0 auto;
}

.fcg-pick__head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 4px 14px;
    flex: 0 0 auto;
}

.fcg-pick__close {
    position: absolute;
    top: 0;
    left: 0;
}

.fcg-pick__slot-badge {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120%;
    font-weight: 900;
    color: #ffde01;
    background: linear-gradient(145deg, rgba(137, 58, 133, 0.55), rgba(0, 0, 0, 0.35));
    border: 1px solid rgba(255, 222, 1, 0.35);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.fcg-pick__titles {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 36px;
}

.fcg-pick__title {
    font-size: 98%;
    font-weight: 900;
    line-height: 1.25;
}

.fcg-pick__sub {
    margin-top: 3px;
    font-size: 74%;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.58);
}

.fcg-pick-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    padding: 5px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex: 0 0 auto;
}

.fcg-pick-tab {
    flex: 1;
    border: none;
    border-radius: 10px;
    padding: 10px 8px 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
    font-family: KalamehWebFaNum, Arial, sans-serif !important;
    font-size: 80%;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.fcg-pick-tab.is-active {
    background: linear-gradient(to bottom, #893a85, #671f66);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.fcg-pick-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 6px;
}

.fcg-pick-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 18px 20px;
    min-height: 220px;
}

.fcg-pick-empty__icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    margin-bottom: 14px;
    background:
        linear-gradient(145deg, rgba(137, 58, 133, 0.35), rgba(255, 222, 1, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fcg-pick-empty__icon > span {
    width: 34px;
    height: 44px;
    border-radius: 8px;
    border: 2px solid rgba(255, 222, 1, 0.45);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.2));
    position: relative;
}

.fcg-pick-empty__icon > span::after {
    content: '+';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    color: #ffde01;
}

.fcg-pick-empty__title {
    font-size: 96%;
    font-weight: 900;
    margin-bottom: 6px;
}

.fcg-pick-empty__sub {
    font-size: 76%;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.65;
    max-width: 260px;
}

.fcg-pick-empty__btn {
    margin-top: 18px;
    width: 100%;
    max-width: 280px;
    border: none;
    border-radius: 14px;
    padding: 13px 16px 11px;
    font-family: KalamehWebFaNum, Arial, sans-serif !important;
    font-size: 88%;
    font-weight: 900;
    cursor: pointer;
    color: #111;
    background: linear-gradient(180deg, #ffde01 0%, #e5c800 100%);
    box-shadow: 0 8px 20px rgba(255, 222, 1, 0.22);
}

.fcg-pick-empty--shop .fcg-pick-empty__icon {
    display: none;
}

@keyframes fcgSlideUp { from { transform: translateY(100%); } to { transform: none; } }

.fcg-modal__close {
    position: absolute;
    top: 10px;
    left: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    font-family: inherit;
}

.fcg-modal__head {
    font-weight: 900;
    margin: 0 0 12px;
    text-align: center;
    font-size: 95%;
    flex: 0 0 auto;
}

.fcg-detail {
    display: grid;
    grid-template-columns: minmax(0, 110px) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.fcg-detail__img {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #2c3846;
    border: 2px solid rgba(255, 255, 255, 0.12);
}
.fcg-detail__name { font-weight: 900; font-size: 108%; line-height: 1.3; }
.fcg-detail__stats { margin-top: 8px; }

.fcg-detail-cta { width: 100%; max-width: 100%; margin-top: 12px; }

.fcg-modal--confirm {
    align-items: center !important;
    justify-content: center !important;
}

.fcg-modal__sheet--confirm {
    width: min(86%, 340px);
    max-width: 340px;
    border-radius: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 16px 16px;
    text-align: center;
    overflow-x: hidden;
    overflow-y: auto;
    animation: fcgPop 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fcgPop {
    from { opacity: 0; transform: translateY(12px) scale(0.94); }
    to { opacity: 1; transform: none; }
}

.fcg-confirm__img {
    width: 86px;
    height: 114px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.14);
    margin: 0 auto 10px;
    display: block;
    background: #2c3846;
}
.fcg-confirm__img.is-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    padding: 8px;
    background: rgba(255, 222, 1, 0.12);
    border-color: rgba(255, 222, 1, 0.35);
}

.fcg-confirm__title {
    font-size: 105%;
    font-weight: 900;
    margin-bottom: 6px;
}

.fcg-confirm__text {
    font-size: 82%;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    margin-bottom: 14px;
}

.fcg-confirm__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fcg-btn-ghost {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-radius: 50px;
    padding: 10px 12px 8px;
    font-family: KalamehWebFaNum, Arial, sans-serif !important;
    font-size: 88%;
    font-weight: 800;
    cursor: pointer;
}

/* ── مچ ── */
.fcg.is-match {
    padding-bottom: 8px;
}
.fcg.is-match .fcg-hero,
.fcg.is-match .fcg-tabs,
.fcg.is-match .fcg-panel {
    display: none !important;
}

.fcg-match {
    position: relative;
    display: none;
    min-height: 0;
}
.fcg.is-match .fcg-match {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.fcg-match-busy {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 30;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(10, 14, 22, 0.45);
}
.fcg-match-busy.is-on { display: flex; }
.fcg-match-busy[hidden] { display: none !important; }

.fcg-busy-sheet {
    width: min(100%, 280px);
    padding: 22px 18px 18px;
    border-radius: 22px;
    text-align: center;
    background: #182030;
    border: 1px solid rgba(255, 222, 1, 0.28);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.fcg-busy-orb {
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 222, 1, 0.95), rgba(137, 58, 133, 0.55) 52%, #101720 72%);
    box-shadow: 0 0 0 6px rgba(255, 222, 1, 0.1), 0 10px 22px rgba(0, 0, 0, 0.28);
    animation: fcgBusyOrb 1.15s ease-in-out infinite;
}
.fcg-busy-cards {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 0 0 12px;
}
.fcg-busy-cards span {
    width: 22px;
    height: 30px;
    border-radius: 5px;
    background: linear-gradient(180deg, rgba(255, 222, 1, 0.55), rgba(137, 58, 133, 0.55));
    animation: fcgBusyCard 0.9s ease-in-out infinite;
}
.fcg-busy-cards span:nth-child(2) { animation-delay: 0.12s; }
.fcg-busy-cards span:nth-child(3) { animation-delay: 0.24s; }
.fcg-busy-sheet .fcg-loader__lbl {
    color: #fff;
    font-size: 82%;
    font-weight: 900;
}
.fcg-busy-sub {
    margin-top: 4px;
    font-size: 68%;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
}
@keyframes fcgBusyOrb {
    50% { transform: scale(0.9); box-shadow: 0 0 0 10px rgba(255, 222, 1, 0.06), 0 10px 22px rgba(0, 0, 0, 0.28); }
}
@keyframes fcgBusyCard {
    0%, 100% { transform: translateY(0); opacity: 0.55; }
    50% { transform: translateY(-7px); opacity: 1; }
}

.fcg-match__top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.fcg-score {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(137, 58, 133, 0.45), rgba(16, 23, 32, 0.94));
    border: 2px solid rgba(255, 255, 255, 0.12);
}
.fcg-score__side {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 80%;
    color: rgba(255, 255, 255, 0.8);
}
.fcg-score__side b {
    min-width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 222, 1, 0.16);
    border: 1px solid rgba(255, 222, 1, 0.45);
    color: #ffde01;
    font-size: 110%;
}
.fcg-score__side--opp {
    justify-content: flex-end;
}
.fcg-score__mid {
    text-align: center;
}
.fcg-match__meta #fcgMatchRound,
.fcg-score__mid #fcgMatchRound {
    display: flex;
    justify-content: flex-start;
    min-width: 0;
    flex: 1;
}
.fcg-round-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 222, 1, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    font-size: 105%;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.01em;
    line-height: 1.1;
    white-space: nowrap;
}
.fcg-round-pill--deck {
    border-color: rgba(255, 255, 255, 0.18);
}
.fcg-round-pill__lbl {
    color: rgba(255, 255, 255, 0.62);
    font-weight: 800;
}
.fcg-round-pill__num {
    color: #ffde01;
    font-variant-numeric: tabular-nums;
}
.fcg-round-pill__sep {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 700;
}
.fcg-round-pill__max {
    color: rgba(255, 255, 255, 0.78);
    font-variant-numeric: tabular-nums;
}
@keyframes fcgPulse {
    50% { opacity: 0.55; }
}
.fcg-page-busy {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 40;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(10, 14, 22, 0.45);
}
.fcg-page-busy.is-on { display: flex; }
.fcg-page-busy[hidden] { display: none !important; }

.fcg-cta.is-busy { min-height: 48px; }
.fcg-btn-ghost.is-busy { min-height: 44px; }

.fcg-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 56px;
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 18px;
    background: url('/competition/images/main/scoreboard.jpg') center center / 100% 100% no-repeat;
    color: #111;
    direction: rtl;
}
.fcg-board__you,
.fcg-board__opp {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 72%;
    font-weight: 800;
}
.fcg-board__you {
    justify-content: flex-start;
}
.fcg-board__opp {
    justify-content: flex-end;
}
.fcg-board img {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2d2d2d;
    background: #fff;
}
.fcg-board span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 72px;
}
.fcg-board__score {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 130%;
    font-weight: 900;
    color: #111;
}
.fcg-board__score b { min-width: 18px; text-align: center; }
.fcg-board__score i { font-style: normal; opacity: 0.55; }

.fcg-scoreboard {
    width: 100% !important;
    margin: 0 0 8px !important;
    min-height: 54px;
}
.fcg-scoreboard .onlinefirstfullnameboard img,
.fcg-scoreboard .onlinesecondfullnameboard img {
    width: 28px;
    height: 28px;
    min-width: 28px;
    object-fit: cover;
}
.fcg-scoreboard .onlinefirstfullnameboard span,
.fcg-scoreboard .onlinesecondfullnameboard span {
    font-size: 72%;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 72px;
}
.fcg-match__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 2px 10px;
    font-size: 78%;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.78);
}
.fcg-timer {
    position: relative;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    margin: 0;
    font-variant-numeric: tabular-nums;
}
.fcg-timer__ring {
    display: block;
    width: 54px;
    height: 54px;
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 8px rgba(255, 222, 1, 0.28));
}
.fcg-timer__track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 3.1;
}
.fcg-timer__bar {
    fill: none;
    stroke: #ffde01;
    stroke-width: 3.1;
    stroke-linecap: round;
    stroke-dasharray: 97.4;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.35s linear, stroke 0.2s ease;
}
.fcg-timer.is-low .fcg-timer__bar { stroke: #fb7185; }
.fcg-timer.is-off .fcg-timer__bar { stroke: rgba(255, 255, 255, 0.22); }
.fcg-timer__val {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1px;
    font-family: KalamehWebFaNum, Arial, sans-serif;
    font-size: 108%;
    font-weight: 900;
    color: #ffde01;
    line-height: 1;
}
.fcg-timer.is-low .fcg-timer__val {
    color: #fb7185;
    animation: fcgPulse 0.8s ease-in-out infinite;
}
.fcg-timer.is-off .fcg-timer__val { color: rgba(255, 255, 255, 0.45); }
.fcg-match__search {
    text-align: center;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 28px 16px 16px;
    position: relative;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.fcg-match__search:not([hidden]) { display: flex; }
.fcg-search-spin {
    width: 28px;
    height: 28px;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-top-color: #ffde01;
    animation: fcgSearchSpin 0.7s linear infinite;
}
@keyframes fcgSearchSpin {
    to { transform: rotate(360deg); }
}
.fcg-search-orb { display: none; }
.fcg-search-title {
    font-size: 108%;
    font-weight: 900;
    color: #fff;
}
.fcg-search-desc {
    margin: 6px auto 0;
    max-width: 240px;
    font-size: 74%;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}
.fcg-search-timer {
    margin: 10px 0 0;
    font-size: 80%;
    font-weight: 800;
    color: rgba(255, 222, 1, 0.8);
    font-variant-numeric: tabular-nums;
}
.fcg-search-timer[hidden] { display: none !important; }
.fcg-search-cancel {
    margin-top: 18px !important;
    max-width: 200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.fcg-search-cancel[hidden] { display: none !important; }
.fcg-search-gif { display: none !important; }
.fcg-resign {
    display: none;
    width: 100%;
    margin-top: 14px;
    border: 0;
    border-radius: 14px;
    padding: 11px 12px 9px;
    background: linear-gradient(180deg, #fb7185, #e11d48);
    color: #fff;
    font-family: KalamehWebFaNum, Arial, sans-serif !important;
    font-size: 90%;
    font-weight: 900;
    cursor: pointer;
}
.fcg-resign.is-on { display: block; }

#fcgMatchPlay {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}
#fcgScoreboard { order: 1; flex-shrink: 0; }
.fcg-match__meta { order: 2; flex-shrink: 0; }
#fcgMatchPrompt { order: 3; flex-shrink: 0; }
.fcg-helps { order: 4; flex-shrink: 0; }
#fcgOppWait { order: 4; flex-shrink: 0; }
.fcg-match__body,
#fcgMatchBody {
    order: 5;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.fcg-match-dock {
    display: none;
    order: 8;
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 6;
    margin: 8px 0 0;
    padding: 10px 10px 8px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(16, 20, 30, 0.98), rgba(10, 12, 18, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
    flex-shrink: 0;
}
.fcg-action-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    direction: ltr;
}
.fcg-action-bar--single { grid-template-columns: 1fr; }
.fcg-action-bar--float { width: 100%; }
.fcg-action-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 12px 9px;
    border: 0;
    border-radius: 14px;
    font-family: KalamehWebFaNum, Arial, sans-serif !important;
    font-size: 82%;
    font-weight: 900;
    cursor: pointer;
    width: 100%;
}
.fcg-action-bar__btn--go {
    background: linear-gradient(180deg, #57d686, #2dd4a0);
    color: #062616;
    box-shadow: 0 8px 18px rgba(87, 214, 134, 0.28);
}
.fcg-action-bar__btn--go:disabled {
    opacity: 0.42;
    cursor: default;
}
.fcg-action-bar__btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.fcg-float-actions {
    display: none;
    order: 9;
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 6;
    pointer-events: auto;
    margin: 8px 0 0;
    flex-shrink: 0;
}
.fcg-float-actions.is-on { display: block; }
.fcg-float-actions[hidden] { display: none !important; }
.fcg-float-actions .fcg-action-bar { pointer-events: auto; }
.fcg-match-dock.is-on { display: block; }
.fcg-match-dock[hidden] { display: none !important; }
.fcg-match-dock__count {
    text-align: center;
    font-size: 82%;
    font-weight: 900;
    color: #ffde01;
    margin-bottom: 8px;
}
.fcg-cmp-scoreboard {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px 10px 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.fcg-cmp-scoreboard__side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 12px;
    opacity: 0.72;
}
.fcg-cmp-scoreboard__side.is-you { align-items: flex-end; text-align: right; }
.fcg-cmp-scoreboard__side.is-opp { align-items: flex-start; text-align: left; }
.fcg-cmp-scoreboard__side.is-win {
    opacity: 1;
    background: rgba(87, 214, 134, 0.12);
    border: 1px solid rgba(87, 214, 134, 0.35);
}
.fcg-cmp-scoreboard__name {
    font-size: 72%;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.82);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fcg-cmp-scoreboard__val b {
    font-size: 140%;
    font-weight: 900;
    color: #ffde01;
    line-height: 1;
}
.fcg-cmp-scoreboard__side.is-win .fcg-cmp-scoreboard__val b { color: #57d686; }
.fcg-cmp-scoreboard__val small {
    display: block;
    margin-top: 2px;
    font-size: 62%;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.55);
}
.fcg-cmp-scoreboard__mid {
    font-size: 68%;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.08em;
}
.fcg-compare__col {
    position: relative;
}
.fcg-compare__col.is-in.is-card-win .fcg-match-card.is-compare.is-round-win,
.fcg-compare__col.is-card-win .fcg-match-card.is-round-win {
    border-color: rgba(87, 214, 134, 0.85);
    box-shadow: inset 0 0 0 2px rgba(87, 214, 134, 0.55), inset 0 0 16px rgba(87, 214, 134, 0.15);
    transform: scale(1.03);
}
.fcg-match-card__win {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 3;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(180deg, #4ade80, #16a34a);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.42);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.fcg-match-card__win svg {
    width: 14px;
    height: 14px;
    display: block;
}
.fcg-resign { order: 7; }
.fcg-history {
    margin-top: 22px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.fcg-history__title {
    font-weight: 900;
    margin-bottom: 10px;
    font-size: 90%;
}
.fcg-history-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.fcg-history-item img {
    width: 40px;
    height: 40px;
    border-radius: 28%;
    object-fit: cover;
    border: 2px solid #2d2d2d;
    background: #fff;
}
.fcg-history-item__name { font-weight: 800; font-size: 84%; }
.fcg-history-item__meta { font-size: 68%; color: rgba(255,255,255,.55); margin-top: 3px; }
.fcg-history-item__score { font-weight: 900; font-size: 92%; text-align: left; }
.fcg-history-pill {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px 0;
    border-radius: 999px;
    font-size: 62%;
    font-weight: 900;
    vertical-align: 1px;
}
.fcg-history-item.is-win .fcg-history-pill { background: rgba(87, 214, 134, 0.18); color: #57d686; }
.fcg-history-item.is-lose .fcg-history-pill { background: rgba(251, 113, 133, 0.18); color: #fb7185; }
.fcg-history-item.is-draw .fcg-history-pill { background: rgba(255, 222, 1, 0.16); color: #ffde01; }
.fcg-history-item__score { font-weight: 900; font-size: 90%; }
.fcg-history-item.is-win .fcg-history-item__score { color: #57d686; }
.fcg-history-item.is-lose .fcg-history-item__score { color: #fb7185; }
.fcg-history-item.is-draw .fcg-history-item__score { color: #ffde01; }
.fcg-match__prompt {
    text-align: center;
    font-weight: 900;
    font-size: 95%;
    margin: 4px 0 12px;
    color: #fff;
}
.fcg-match__prompt[hidden] { display: none !important; }
.fcg-match-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 6px;
    padding: 2px 0;
}
.fcg-match-card {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: #141820;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
    transform-origin: center center;
}
.fcg-match-card.is-selected {
    border-color: #ffde01;
    box-shadow: inset 0 0 0 2px rgba(255, 222, 1, 0.85), inset 0 0 18px rgba(255, 222, 1, 0.12);
    transform: scale(1.02);
}
.fcg-match-card.is-used {
    opacity: 0.38;
    pointer-events: none;
    filter: grayscale(0.6);
}
.fcg-match-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fcg-match-card__ovr {
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 24px;
    height: 22px;
    padding: 0 4px;
    border-radius: 7px;
    background: rgba(10, 12, 18, 0.82);
    border: 1px solid rgba(255, 222, 1, 0.55);
    color: #ffde01;
    font-size: 70%;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fcg-match-card__name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 4px 5px;
    background: linear-gradient(180deg, transparent, rgba(8, 10, 16, 0.92));
    font-size: 64%;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fcg-match-count {
    text-align: center;
    font-size: 80%;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.72);
    margin: 10px 0 8px;
}
.fcg-lock-wrap {
    display: grid;
    gap: 8px;
}
.fcg-lock-wrap--wait {
    pointer-events: none;
}
.fcg-lock-pending {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 12px;
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 222, 1, 0.22);
}
.fcg-lock-pending__img {
    width: 88px;
    height: 118px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: block;
}
.fcg-lock-pending__name {
    font-size: 92%;
    font-weight: 900;
    margin-bottom: 8px;
}
.fcg-lock-pending__sub {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 74%;
    font-weight: 800;
    color: rgba(255, 222, 1, 0.9);
}
.fcg-compare__col.is-skip-flip .fcg-match-card.is-compare {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
}
.fcg-compare.is-from-pending .fcg-compare__col[data-side="you"] .fcg-match-card.is-compare {
    transform: none;
    opacity: 1;
}
.fcg-lock-hero {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.fcg-lock-hero img {
    width: 52px;
    height: 68px;
    object-fit: cover;
    border-radius: 9px;
    border: 2px solid rgba(255, 222, 1, 0.4);
}
.fcg-lock-hero__name {
    font-weight: 900;
    font-size: 92%;
    line-height: 1.25;
}
.fcg-lock-hero__sub {
    margin-top: 2px;
    font-size: 75%;
    font-weight: 800;
    color: #ffde01;
}
.fcg-lock-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.fcg-lock-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 8px;
    align-items: center;
    padding: 9px 10px 8px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    color: inherit;
    font: inherit;
    width: 100%;
    text-align: right;
    appearance: none;
    -webkit-appearance: none;
}
.fcg-lock-item.is-on {
    border-color: #ffde01;
    background: rgba(255, 222, 1, 0.14);
    box-shadow: 0 0 0 1px rgba(255, 222, 1, 0.28);
}
.fcg-lock-item__name {
    font-weight: 800;
    font-size: 82%;
    line-height: 1.2;
}
.fcg-lock-item b {
    color: #ffde01;
    font-weight: 900;
    font-size: 90%;
}
.fcg-lock-item i {
    grid-column: 1 / -1;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    font-style: normal;
}
.fcg-lock-item i em {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #57d686, #ffde01);
}
.fcg-lock-item__ord {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffde01;
    color: #111;
    font-size: 70%;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fcg-lock-ready {
    text-align: center;
    font-size: 78%;
    font-weight: 800;
    color: rgba(255, 222, 1, 0.9);
}

/* ── حلقه‌های قدرت (یکدست در بازی) ── */
.fcg-ring {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: center;
}
.fcg-ring.is-selectable {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.fcg-ring__graph {
    position: relative;
    width: 76px;
    height: 76px;
}
.fcg-ring__graph svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    display: block;
}
.fcg-ring__num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    margin: 0;
    padding: 0;
    font-family: KalamehWebFaNum, Arial, sans-serif;
    font-size: 108%;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    pointer-events: none;
}
.fcg-ring__track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 4.5;
}
.fcg-ring__val {
    fill: none;
    stroke: rgba(255, 255, 255, 0.42);
    stroke-width: 4.5;
    stroke-linecap: round;
    transition: stroke 0.25s ease, stroke-dashoffset 0.45s ease;
}
.fcg-ring.is-unknown .fcg-ring__val { opacity: 0; }
.fcg-ring.is-unknown .fcg-ring__track {
    stroke: rgba(255, 255, 255, 0.22);
    stroke-dasharray: 3.5 3.2;
}
.fcg-ring.is-unknown .fcg-ring__num {
    color: rgba(255, 255, 255, 0.62);
    font-size: 118%;
}
.fcg-ring__lbl {
    display: block;
    max-width: 84px;
    font-size: 68%;
    font-weight: 800;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.78);
    overflow: hidden;
    text-overflow: ellipsis;
}
.fcg-ring__ord {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffde01;
    color: #111;
    font-size: 68%;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.fcg-ring__tick {
    position: absolute;
    top: -4px;
    right: -2px;
    z-index: 3;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, #57d686, #2dd4a0);
    color: #0a2e1c;
    font-size: 72%;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(87, 214, 134, 0.45);
    animation: fcgRingTickIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes fcgRingTickIn {
    from { transform: scale(0.4); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.fcg-ring.is-on .fcg-ring__val {
    stroke: url(#fcgRingGrad);
    stroke: #ffde01;
}
.fcg-ring.is-on {
    filter: drop-shadow(0 0 10px rgba(255, 222, 1, 0.28));
}
.fcg-ring.is-on .fcg-ring__num { color: #ffde01; }
.fcg-ring.is-hint .fcg-ring__val {
    stroke: #7dd3fc;
}
.fcg-ring.is-hint .fcg-ring__lbl { color: #7dd3fc; }
.fcg-ring.is-win .fcg-ring__val {
    stroke: #57d686;
}
.fcg-ring.is-win .fcg-ring__num { color: #57d686; }
.fcg-ring.is-lose {
    opacity: 0.52;
}
.fcg-ring.is-lose .fcg-ring__val {
    stroke: rgba(255, 255, 255, 0.18);
}
.fcg-ring--xs .fcg-ring__graph { width: 52px; height: 52px; }
.fcg-ring--xs .fcg-ring__num { font-size: 88%; }
.fcg-ring--xs .fcg-ring__lbl { font-size: 62%; max-width: 58px; }
.fcg-ring--sm .fcg-ring__graph { width: 64px; height: 64px; }
.fcg-ring--sm .fcg-ring__num { font-size: 96%; }
.fcg-ring--sm .fcg-ring__lbl { font-size: 64%; max-width: 72px; }
.fcg-ring--cmp .fcg-ring__graph { width: 72px; height: 72px; }
.fcg-ring--cmp .fcg-ring__num { font-size: 100%; }
.fcg-ring-orbit {
    position: relative;
    width: min(100%, 320px);
    height: 268px;
    margin: 4px auto 0;
}
.fcg-ring-orbit__item {
    --angle: calc(var(--i) * 60deg - 90deg);
    position: absolute;
    left: 50%;
    top: 50%;
    width: 88px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-108px) rotate(calc(-1 * var(--angle)));
}
.fcg-ring-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 8px;
    justify-items: center;
    margin-top: 6px;
}
.fcg-ring-grid--sm .fcg-ring__lbl { max-width: 72px; }
.fcg-ring-grid--lock {
    gap: 12px 6px;
    margin: 6px 0 2px;
    width: 100%;
}
.fcg-ring-grid--lock .fcg-ring__graph {
    width: 68px;
    height: 68px;
}
.fcg-ring-grid--lock .fcg-ring__num { font-size: 102%; }
.fcg-ring-grid--lock .fcg-ring__lbl {
    max-width: 96px;
    font-size: 70%;
}
.fcg-locked-rings {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(255, 222, 1, 0.06);
    border: 1px solid rgba(255, 222, 1, 0.2);
}
.fcg-locked-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 10px;
}
.fcg-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 222, 1, 0.12);
    border: 1px solid rgba(255, 222, 1, 0.35);
    font-size: 72%;
    font-weight: 800;
}
.fcg-card-back {
    background:
        repeating-linear-gradient(135deg, rgba(137, 58, 133, 0.35) 0 10px, rgba(16, 23, 32, 0.9) 10px 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #ffde01;
    font-size: 80%;
}

.fcg-compare {
    display: grid;
    gap: 12px;
    padding-bottom: 8px;
}
.fcg-compare__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: end;
}
.fcg-compare__col {
    position: relative;
    text-align: center;
    opacity: 0;
    transform: translateY(18px) scale(0.9);
    perspective: 640px;
}
.fcg-compare__col.is-in {
    opacity: 1;
    transform: none;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}
.fcg-compare__col .fcg-match-card.is-compare {
    transform: rotateY(82deg) scale(0.94);
    opacity: 0.2;
    transform-origin: center center;
}
.fcg-compare__col.is-in .fcg-match-card.is-compare {
    transform: none;
    opacity: 1;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.fcg-compare__col.is-in.is-card-win .fcg-match-card.is-compare.is-round-win {
    transform: scale(1.03);
}
.fcg-compare__col label {
    display: block;
    font-size: 72%;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}
.fcg-compare__cards .fcg-match-card {
    width: 100%;
    cursor: default;
    pointer-events: none;
}
.fcg-match-card.is-back {
    background: linear-gradient(160deg, #671f66, #1a1024);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffde01;
    font-size: 160%;
    font-weight: 900;
    border-color: rgba(255, 222, 1, 0.4);
}
.fcg-match-card.is-back img,
.fcg-match-card.is-back .fcg-match-card__name,
.fcg-match-card.is-back .fcg-match-card__ovr { display: none; }
.fcg-compare.is-pending .fcg-compare__col { opacity: 1; transform: none; }
.fcg-compare.is-pending .fcg-compare__col[data-side="you"] .fcg-match-card.is-compare {
    transform: none;
    opacity: 1;
}
.fcg-compare.is-pending .fcg-compare__col[data-side="opp"] .fcg-match-card.is-compare,
.fcg-compare.is-pending .fcg-match-card.is-back {
    animation: fcgPendingBack 1.15s ease-in-out infinite;
}
@keyframes fcgPendingBack {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.22); }
}
.fcg-compare__banner,
.fcg-compare__banner.is-on,
.fcg-compare__banner.is-goal,
.fcg-compare__banner.is-nogoal { display: none !important; }
.fcg-compare__stats { display: grid; gap: 10px; }
.fcg-cmp-row {
    opacity: 0;
    transform: translateY(10px);
    padding: 10px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.fcg-cmp-row.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.fcg-cmp-row.is-you-win {
    border-color: rgba(87, 214, 134, 0.55);
    box-shadow: 0 0 0 1px rgba(87, 214, 134, 0.2);
    background: rgba(87, 214, 134, 0.1);
}
.fcg-cmp-row.is-opp-win {
    border-color: rgba(251, 113, 133, 0.5);
    box-shadow: 0 0 0 1px rgba(251, 113, 133, 0.18);
    background: rgba(251, 113, 133, 0.1);
}
.fcg-cmp-duel {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
}
.fcg-cmp-duel__side {
    display: flex;
    justify-content: center;
    position: relative;
}
.fcg-cmp-duel__side.is-you { justify-content: flex-end; }
.fcg-cmp-duel__side.is-opp { justify-content: flex-start; }
.fcg-cmp-duel__mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 72px;
    max-width: 92px;
    text-align: center;
}
.fcg-cmp-duel__name {
    font-size: 76%;
    font-weight: 900;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.88);
}
.fcg-cmp-pill {
    flex-shrink: 0;
    padding: 3px 8px 2px;
    border-radius: 999px;
    font-size: 62%;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fcg-cmp-row.is-you-win .fcg-cmp-pill {
    background: rgba(87, 214, 134, 0.22);
    color: #57d686;
}
.fcg-cmp-row.is-opp-win .fcg-cmp-pill {
    background: rgba(251, 113, 133, 0.22);
    color: #fb7185;
}
.fcg-cmp-row__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.fcg-cmp-row__name {
    font-size: 82%;
    font-weight: 900;
}
.fcg-cmp-pill {
    flex-shrink: 0;
    padding: 3px 8px 2px;
    border-radius: 999px;
    font-size: 68%;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
}
.fcg-cmp-row.is-you-win .fcg-cmp-pill {
    background: rgba(87, 214, 134, 0.22);
    color: #57d686;
}
.fcg-cmp-row.is-opp-win .fcg-cmp-pill {
    background: rgba(251, 113, 133, 0.22);
    color: #fb7185;
}
.fcg-cmp-lane {
    display: grid;
    grid-template-columns: 42px 1fr 36px;
    gap: 8px;
    align-items: center;
    margin-top: 5px;
}
.fcg-cmp-lane__who {
    font-size: 68%;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.62);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fcg-cmp-lane b {
    font-size: 90%;
    font-weight: 900;
    text-align: center;
}
.fcg-cmp-lane__bar {
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}
.fcg-cmp-lane__bar em {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.28);
    font-style: normal;
}
.fcg-cmp-lane.is-you.is-win b,
.fcg-cmp-lane.is-you.is-win .fcg-cmp-lane__who { color: #57d686; }
.fcg-cmp-lane.is-you.is-win .fcg-cmp-lane__bar em {
    background: linear-gradient(90deg, #2dd4a0, #57d686);
}
.fcg-cmp-lane.is-opp.is-win b,
.fcg-cmp-lane.is-opp.is-win .fcg-cmp-lane__who { color: #fb7185; }
.fcg-cmp-lane.is-opp.is-win .fcg-cmp-lane__bar em {
    background: linear-gradient(90deg, #fb7185, #f43f5e);
}
.fcg-cmp-lane.is-lose {
    opacity: 0.55;
}
.fcg-board__score b.is-goal {
    animation: fcgScorePulse 0.7s ease-in-out 2;
    color: #0e8e3f;
}
@keyframes fcgScorePulse {
    50% { transform: scale(1.35); }
}
.fcg-helps {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 12px;
}
.fcg-helps.is-on { display: grid; }
.fcg-helps[hidden] { display: none !important; }
.fcg-help {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 4px 5px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    font: inherit;
}
.fcg-help img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    pointer-events: none;
}
.fcg-help span {
    font-size: 68%;
    font-weight: 800;
}
.fcg-help.is-on {
    border-color: rgba(255, 214, 64, 0.85);
    box-shadow: 0 0 10px rgba(255, 200, 40, 0.35);
}
.fcg-help.is-off {
    opacity: 0.42;
    filter: grayscale(0.85);
    pointer-events: none;
}
.fcg-help.is-wait {
    pointer-events: none;
    opacity: 0.75;
}
.fcg-help.is-busy .fcg-btn-spin {
    width: 18px;
    height: 18px;
}
.fcg-spy {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(103, 31, 102, 0.55), rgba(16, 23, 32, 0.94));
    border: 1px solid rgba(255, 222, 1, 0.4);
    overflow: hidden;
}
.fcg-spy.is-scanning {
    border-color: rgba(255, 222, 1, 0.7);
    box-shadow: 0 0 0 1px rgba(255, 222, 1, 0.12);
}
.fcg-spy__card {
    width: 68px;
    height: 90px;
    perspective: 480px;
}
.fcg-spy__inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.fcg-spy.is-open .fcg-spy__inner { transform: rotateY(180deg); }
.fcg-spy__front,
.fcg-spy__back {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}
.fcg-spy__back {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(160deg, #7a2a78, #1a1024);
    border: 1px solid rgba(255, 222, 1, 0.45);
    color: #ffde01;
    font-size: 120%;
    font-weight: 900;
}
.fcg-spy.is-scanning .fcg-spy__back {
    animation: fcgSpyScan 1.1s ease-in-out infinite;
}
.fcg-spy__scan {
    display: block;
    font-size: 52%;
    font-weight: 800;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    line-height: 1.3;
    padding: 0 4px;
}
@keyframes fcgSpyScan {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.35); }
}
.fcg-spy__front { transform: rotateY(180deg); }
.fcg-spy__front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fcg-spy__kicker {
    font-size: 68%;
    font-weight: 800;
    color: #ffde01;
}
.fcg-spy__name { font-weight: 900; }
.fcg-spy__meta {
    font-size: 72%;
    color: rgba(255, 255, 255, 0.7);
}
.fcg-spy__txt { min-width: 0; }
.fcg-assist-tip {
    text-align: center;
    font-size: 75%;
    font-weight: 800;
    color: #ffde01;
    margin-bottom: 8px;
}
.fcg-match-card.is-hint {
    border-color: #ffde01;
    box-shadow: inset 0 0 0 2px rgba(255, 222, 1, 0.65), inset 0 0 14px rgba(255, 222, 1, 0.1);
}
.fcg-lock-item.is-hint {
    border-color: #57d686;
    box-shadow: 0 0 0 1px rgba(87, 214, 134, 0.35);
}
.fcg-goal {
    text-align: center;
    font-size: 160%;
    font-weight: 900;
    color: #ffde01;
    animation: fcgGoalIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes fcgGoalIn {
    from { transform: scale(0.4); opacity: 0; }
    to { transform: none; opacity: 1; }
}
.fcg-nogoal {
    text-align: center;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
}
.fcg-result {
    position: relative;
    text-align: center;
    padding: 22px 12px 14px;
    margin: 8px 0 0;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(12, 14, 22, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.fcg-result__glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 160px;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 222, 1, 0.28), transparent 70%);
}
.fcg-result.is-win .fcg-result__glow {
    background: radial-gradient(ellipse at 50% 0%, rgba(87, 214, 134, 0.35), transparent 70%);
}
.fcg-result.is-lose .fcg-result__glow {
    background: radial-gradient(ellipse at 50% 0%, rgba(251, 113, 133, 0.32), transparent 70%);
}
.fcg-result__kicker {
    position: relative;
    font-size: 72%;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 4px;
}
.fcg-result__title {
    position: relative;
    font-size: 170%;
    font-weight: 900;
    margin-bottom: 14px;
}
.fcg-result.is-win .fcg-result__title { color: #57d686; }
.fcg-result.is-lose .fcg-result__title { color: #fb7185; }
.fcg-result.is-draw .fcg-result__title { color: #ffde01; }
.fcg-result__duel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
}
.fcg-result__side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.fcg-result__side img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.85);
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}
.fcg-result.is-win .fcg-result__side:first-child img { border-color: #57d686; }
.fcg-result.is-lose .fcg-result__side:last-child img { border-color: #fb7185; }
.fcg-result__side span {
    max-width: 92px;
    font-size: 72%;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fcg-result__score {
    font-size: 210%;
    font-weight: 900;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.fcg-result__score i { font-style: normal; opacity: 0.45; font-size: 70%; }
.fcg-result__reward {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 auto 12px;
    padding: 8px 14px 6px;
    border-radius: 999px;
    background: rgba(255, 222, 1, 0.16);
    border: 1px solid rgba(255, 222, 1, 0.45);
    color: #ffde01;
    font-weight: 900;
    font-size: 92%;
}
.fcg-result__reward img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.fcg-match .fcg-cta { margin-top: 12px; }

.fcg-result__league {
    margin: 0 auto 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(137, 58, 133, 0.28);
    border: 1px solid rgba(255, 222, 1, 0.28);
    color: #ffde01;
    font-weight: 800;
    font-size: 78%;
}

/* انتظار نوبت حریف */
.fcg-opp-wait {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 12px 18px;
    margin: 0 0 8px;
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(137, 58, 133, 0.28), rgba(16, 23, 32, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}
.fcg-opp-wait.is-on,
.fcg-opp-wait:not([hidden]) { display: flex; }
.fcg-opp-wait[hidden] { display: none !important; }
.fcg-opp-wait__ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(255, 222, 1, 0.18);
    animation: fcgPulse 1.6s ease-in-out infinite;
    pointer-events: none;
}
.fcg-opp-wait img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffde01;
    background: #fff;
    position: relative;
    z-index: 1;
}
.fcg-opp-wait__title {
    margin-top: 10px;
    font-weight: 900;
    font-size: 108%;
}
.fcg-opp-wait__sub {
    margin-top: 4px;
    font-size: 78%;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.62);
}

/* لیگ */
.fcg-lg-block {
    margin-bottom: 14px;
}
.fcg-lg-kicker {
    font-size: 72%;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 8px;
}
.fcg-lg-card {
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 8px;
}
.fcg-lg-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
/* ── تیم — هم‌استایل با کلکسیون ── */
.fcg-squad-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px 12px 10px;
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.fcg-squad-head__kicker {
    font-size: 62%;
    font-weight: 800;
    color: rgba(255, 222, 1, 0.75);
    margin-bottom: 2px;
}
.fcg-squad-head__title {
    margin: 0;
    font-size: 112%;
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
}
.fcg-squad-head__status {
    margin: 4px 0 0;
    font-size: 72%;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.62);
}
.fcg-squad-head__count {
    flex: 0 0 auto;
    min-width: 56px;
    padding: 8px 12px 6px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 222, 1, 0.35);
    color: #ffde01;
    font-size: 92%;
    font-weight: 900;
    text-align: center;
}
.fcg-squad-head__count.is-complete {
    border-color: rgba(87, 214, 134, 0.55);
    color: #57d686;
    background: rgba(87, 214, 134, 0.12);
}
.fcg-squad__bar-wrap { margin-bottom: 12px; }
.fcg-squad__bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.fcg-squad__bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #57d686, #ffde01);
    transition: width 0.35s ease;
}
.fcg-grid--squad { margin-bottom: 8px; }
.fcg-squad-slot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-width: 0;
}
.fcg-slot-num {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 22px;
    padding: 0 9px 1px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(28, 34, 48, 0.95), rgba(12, 14, 22, 0.92));
    border: 1px solid rgba(255, 222, 1, 0.42);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #ffde01;
    font-size: 70%;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}
.fcg-squad-slot .fcg-card-item--slot {
    width: 100%;
}
.fcg-card-item--slot {
    cursor: pointer;
    border-style: solid;
}
.fcg-card-item--slot.is-empty {
    border-style: dashed;
    border-color: rgba(255, 222, 1, 0.35);
    background: rgba(255, 222, 1, 0.04);
}
.fcg-card-item--slot.is-filled {
    border-color: rgba(87, 214, 134, 0.45);
}
.fcg-card-item--slot .fcg-slot__badge {
    display: none;
}
.fcg-card-item--slot.is-empty .fcg-slot__empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fcg-card-item--slot.is-empty .fcg-slot__plus {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 222, 1, 0.14);
    border: 1px solid rgba(255, 222, 1, 0.4);
    color: #ffde01;
    font-size: 140%;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.fcg-card-item--slot .fcg-card-item__foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 6px 8px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
}
.fcg-card-item--slot .fcg-card-item__name {
    font-size: 68%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fcg-assign__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.fcg-assign__slot {
    border: 1px solid rgba(255, 222, 1, 0.35);
    background: rgba(255, 222, 1, 0.08);
    color: #ffde01;
    border-radius: 12px;
    min-height: 42px;
    font-family: KalamehWebFaNum, Arial, sans-serif !important;
    font-size: 92%;
    font-weight: 900;
    cursor: pointer;
}
.fcg-lg-myleague {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
    padding: 12px 12px 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 222, 1, 0.28);
    background: linear-gradient(135deg, rgba(137, 58, 133, 0.32), rgba(16, 23, 32, 0.92));
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    color: inherit;
    font: inherit;
    text-align: right;
    appearance: none;
    -webkit-appearance: none;
}
.fcg-lg-myleague__name {
    font-size: 92%;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
}
.fcg-lg-myleague__meta {
    margin-top: 3px;
    font-size: 68%;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.72);
}
.fcg-lg-myleague__pts {
    text-align: center;
    min-width: 52px;
    padding: 6px 8px 4px;
    border-radius: 12px;
    background: rgba(255, 222, 1, 0.12);
    border: 1px solid rgba(255, 222, 1, 0.35);
}
.fcg-lg-myleague__pts b {
    display: block;
    font-size: 108%;
    font-weight: 900;
    color: #ffde01;
    line-height: 1.1;
}
.fcg-lg-myleague__pts span {
    display: block;
    margin-top: 2px;
    font-size: 58%;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.65);
}
.fcg-lg-myleague__go {
    font-size: 68%;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 10px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.fcg-lg-empty {
    text-align: center;
    padding: 18px 12px 16px !important;
}
.fcg-lg-empty__icon { font-size: 180%; margin-bottom: 6px; }
.fcg-lg-empty__title {
    font-size: 88%;
    font-weight: 900;
    color: #fff;
    margin-bottom: 4px;
}
.fcg-lg-empty__sub {
    font-size: 72%;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.5;
}
.fcg-lg-row__name { font-weight: 900; font-size: 86%; color: #fff; }
.fcg-lg-row__meta { font-size: 68%; color: rgba(255, 255, 255, 0.72); margin-top: 2px; }
.fcg-lg-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.fcg-lg-btn {
    border: 0;
    border-radius: 999px;
    padding: 7px 12px 6px;
    min-height: 32px;
    font-family: KalamehWebFaNum, Arial, sans-serif !important;
    font-size: 72%;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(to bottom, #77ffab, #57d686);
    color: #111;
}
.fcg-lg-btn.is-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.fcg-lg-btn.is-danger {
    background: linear-gradient(180deg, #fb7185, #e11d48);
    color: #fff;
}
.fcg-lg-input,
.fcg-lg-search {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    border-radius: 12px;
    padding: 10px 12px 8px;
    font-family: KalamehWebFaNum, Arial, sans-serif !important;
    font-size: 90%;
    outline: none;
}
.fcg-lg-input:focus,
.fcg-lg-search:focus {
    border-color: rgba(255, 222, 1, 0.55);
}
.fcg-lg-form {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}
.fcg-lg-form--row {
    grid-template-columns: 1fr auto;
    align-items: center;
}
.fcg-lg-code {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 222, 1, 0.12);
    border: 1px dashed rgba(255, 222, 1, 0.45);
    color: #ffde01;
    font-weight: 900;
    letter-spacing: 0.12em;
    font-size: 92%;
}
.fcg-lg-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}
.fcg-lg-head h2 {
    margin: 0;
    font-size: 118%;
    font-weight: 900;
}
.fcg-stand {
    width: 100%;
    border-collapse: collapse;
    font-size: 78%;
}
.fcg-stand th {
    text-align: right;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    padding: 6px 4px;
    font-size: 68%;
}
.fcg-stand td {
    padding: 8px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: middle;
}
.fcg-stand__who {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}
.fcg-stand__who img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2d2d2d;
    background: #fff;
}
.fcg-stand tr.is-me td { background: rgba(255, 222, 1, 0.08); }
.fcg-stand__pts { font-weight: 900; color: #ffde01; }
.fcg-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 5px;
    background: #64748b;
    vertical-align: 1px;
}
.fcg-dot.is-on { background: #57d686; box-shadow: 0 0 0 3px rgba(87, 214, 134, 0.22); }
.fcg-lg-hint {
    font-size: 72%;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.55;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.fcg-invite {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 6px;
    border-radius: 14px;
    background: rgba(137, 58, 133, 0.22);
    border: 1px solid rgba(255, 222, 1, 0.18);
}
.fcg-invite img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}
.fcg-search-hit {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    margin-top: 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}
.fcg-search-hit img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

.fcg-match-grid.is-stagger .fcg-match-card {
    animation: fcgCardIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.fcg-match-grid.is-stagger .fcg-match-card:nth-child(1) { animation-delay: 0.03s; }
.fcg-match-grid.is-stagger .fcg-match-card:nth-child(2) { animation-delay: 0.07s; }
.fcg-match-grid.is-stagger .fcg-match-card:nth-child(3) { animation-delay: 0.11s; }
.fcg-match-grid.is-stagger .fcg-match-card:nth-child(4) { animation-delay: 0.15s; }
.fcg-match-grid.is-stagger .fcg-match-card:nth-child(5) { animation-delay: 0.19s; }
.fcg-match-grid.is-stagger .fcg-match-card:nth-child(6) { animation-delay: 0.23s; }
.fcg-match-grid.is-assist-focus .fcg-match-card {
    opacity: 0.32;
    transform: scale(0.92);
    filter: grayscale(0.45);
    transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
}
.fcg-match-grid.is-assist-focus .fcg-match-card.is-assist-pick {
    opacity: 1;
    filter: none;
    z-index: 3;
    border-color: #ffde01;
    box-shadow: inset 0 0 0 2px rgba(255, 222, 1, 0.75), inset 0 0 16px rgba(255, 222, 1, 0.12);
    animation: fcgAssistLift 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes fcgAssistLift {
    0% { transform: scale(0.94); opacity: 0.6; }
    55% { transform: scale(1.04); }
    100% { transform: scale(1.02); }
}
.fcg-ring.is-hint-pop {
    animation: fcgHintPop 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes fcgHintPop {
    0% { transform: scale(0.78); }
    70% { transform: scale(1.12); }
    100% { transform: none; }
}
.fcg-assist-tip.is-pop {
    animation: fcgHintPop 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.fcg-board__score b.is-bump {
    animation: fcgScorePulse 0.7s ease-in-out 2;
}
.fcg-loader--play {
    gap: 8px;
    padding: 48px 12px;
}
.fcg-loader--play .fcg-busy-orb { margin-bottom: 8px; }

.fcg-action-pulse {
    position: absolute;
    top: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    z-index: 12;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}
.fcg-action-pulse[hidden] { display: none !important; }
.fcg-action-pulse::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, #ffde01, transparent);
    animation: fcgPulseBar 0.85s ease-in-out infinite;
}
@keyframes fcgPulseBar {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(350%); }
}

#fcgMatchBody {
    transition: opacity 0.16s ease, transform 0.16s ease;
}
#fcgMatchBody.fcg-body-leave {
    opacity: 0;
    transform: translateY(8px);
}
#fcgMatchBody.fcg-body-enter {
    animation: fcgBodyIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes fcgBodyIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.fcg-match.is-action-pending .fcg-match-card:not(.is-pending):not(.is-used) {
    opacity: 0.42;
    pointer-events: none;
    transition: opacity 0.18s ease;
}
.fcg-match-grid.is-card-pending .fcg-match-card:not(.is-pending) {
    opacity: 0.42;
    pointer-events: none;
}
.fcg-match-grid.is-card-pending {
    position: relative;
}
.fcg-match-grid.is-card-pending::after {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: 4;
    border-radius: 14px;
    background: rgba(8, 10, 16, 0.28);
    pointer-events: none;
}
.fcg-match-grid.is-card-pending .fcg-match-card.is-pending::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border-radius: 50%;
    border: 2px solid rgba(255, 222, 1, 0.25);
    border-top-color: #ffde01;
    animation: fcgCardSpin 0.7s linear infinite;
    z-index: 6;
    pointer-events: none;
}
@keyframes fcgCardSpin {
    to { transform: rotate(360deg); }
}
.fcg-lock-wrap.is-pending::after {
    content: "در حال ارسال…";
    display: block;
    text-align: center;
    font-size: 72%;
    font-weight: 800;
    color: #ffde01;
    margin-top: 4px;
    animation: fcgPulse 1s ease-in-out infinite;
}
.fcg-match-card.is-pending,
.fcg-action-bar__btn.is-pending,
.fcg-ring.is-pending {
    position: relative;
    pointer-events: none;
    box-shadow: inset 0 0 0 2px rgba(255, 222, 1, 0.85), inset 0 0 14px rgba(255, 222, 1, 0.12);
    animation: fcgPendingGlow 0.7s ease-in-out infinite;
}
@keyframes fcgPendingGlow {
    50% { box-shadow: inset 0 0 0 2px rgba(255, 222, 1, 0.45), inset 0 0 10px rgba(255, 222, 1, 0.06); }
}

.fcg-result { animation: fcgCardIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }

.fcg-peek {
    display: grid;
    gap: 8px;
}
.fcg-peek__back {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: inherit;
    font-size: 78%;
    font-weight: 800;
    border-radius: 12px;
    padding: 8px 10px 7px;
    cursor: pointer;
}
.fcg-lock-wrap.is-pending,
.fcg-peek.is-pending {
    pointer-events: none;
    opacity: 0.78;
}
.fcg-ring.is-dim {
    opacity: 0.28;
    filter: grayscale(0.7);
    pointer-events: none;
}
.fcg-ring.is-selectable:disabled {
    cursor: default;
}
.fcg-ring-grid.is-complete .fcg-ring.is-on {
    filter: drop-shadow(0 0 10px rgba(255, 222, 1, 0.28));
}
.fcg-compare__col.is-reveal-win .fcg-match-card {
    animation: fcgWinReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes fcgWinReveal {
    0% { transform: scale(1); }
    38% { transform: scale(1.06); }
    100% { transform: scale(1.03); }
}

@media (max-width: 360px) {
    .fcg-tab { font-size: 62%; padding: 7px 0 5px; }
}
