/* =========================
   DASHBOARD
========================= */
.dashboard-page {
    max-width: 1500px;
    padding-top: 12px;
}

.dashboard-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 14px;
}

.dashboard-title-row h1,
.member-panel-header h2 {
    margin: 0;
    color: var(--green);
}

.dashboard-title-row h1 {
    font-size: 40px;
}

.dashboard-title-row p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.45;
}

.hall-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 12px;
    padding: 9px 12px;
    color: #ffd15a;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid rgba(255,209,90,0.36);
    border-radius: 999px;
    background: rgba(255,209,90,0.08);
    box-shadow: 0 0 18px rgba(255,209,90,0.10);
}

.hall-link:hover {
    border-color: rgba(255,209,90,0.68);
    background: rgba(255,209,90,0.13);
    transform: translateY(-1px);
}

.hall-link-icon {
    font-size: 16px;
    line-height: 1;
}

.dashboard-period,
.scan-note {
    color: rgba(156, 163, 175, 0.72);
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    background: rgba(255,255,255,0.035);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 12px;
}

.dashboard-period-under {
    width: fit-content;
    margin: -6px 0 16px auto;
}

.weekly-board {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.weekly-card {
    position: relative;
    min-height: 178px;
    padding: 14px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(31,241,255,0.14), transparent 45%),
        rgba(21,21,21,0.82);
    border: 1px solid rgba(31,241,255,0.16);
    border-radius: 20px;
    box-shadow: 0 0 24px rgba(31,241,255,0.06);
}

a.weekly-card {
    color: inherit;
    text-decoration: none;
}

.hall-weekly-card {
    border-color: rgba(255,209,90,0.32);
    background:
        radial-gradient(circle at top right, rgba(255,209,90,0.20), transparent 46%),
        radial-gradient(circle at bottom left, rgba(31,241,255,0.10), transparent 54%),
        rgba(21,21,21,0.84);
    box-shadow: 0 0 26px rgba(255,209,90,0.10);
}

.hall-weekly-card::after {
    background: linear-gradient(90deg, transparent, rgba(255,209,90,0.72), rgba(31,241,255,0.34), transparent);
    box-shadow: 0 0 18px rgba(255,209,90,0.24);
}

.hall-weekly-card:hover {
    border-color: rgba(255,209,90,0.54);
    box-shadow: 0 0 28px rgba(255,209,90,0.16), inset 0 0 18px rgba(255,209,90,0.05);
}

.hall-card-icon {
    color: #ffd15a;
    border-color: rgba(255,209,90,0.32);
    background: rgba(255,209,90,0.10);
    box-shadow: 0 0 18px rgba(255,209,90,0.16);
}

.hall-card-body {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 96px;
    gap: 10px;
    text-align: center;
}

.hall-card-kicker {
    color: rgba(242,242,242,0.64);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hall-trophy-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
}

.hall-mini-trophy {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 17px;
    background: rgba(255,255,255,0.045);
    border: 1px solid currentColor;
    box-shadow: 0 0 14px color-mix(in srgb, currentColor 22%, transparent);
}

.hall-mini-trophy.gold { color: #ffd15a; }
.hall-mini-trophy.silver { color: #d9e4ee; }
.hall-mini-trophy.bronze { color: #c88744; }

.weekly-card::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(31,241,255,0.62), rgba(53,255,138,0.32), transparent);
    box-shadow: 0 0 18px rgba(31,241,255,0.22);
}

.weekly-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(31,241,255,0.12), transparent 42%, rgba(53,255,138,0.06));
}

.weekly-card-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    margin-bottom: 14px;
}

.weekly-card-icon {
    position: relative;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    margin: 0;
    border-radius: 12px;
    color: var(--glow-accent);
    background: rgba(31,241,255,0.09);
    border: 1px solid rgba(31,241,255,0.18);
    box-shadow: 0 0 18px rgba(31,241,255,0.12);
}

.weekly-card:hover {
    border-color: rgba(31,241,255,0.30);
    box-shadow: 0 0 26px rgba(31,241,255,0.12), inset 0 0 18px rgba(53,255,138,0.035);
    transform: translateY(-1px);
}

.weekly-card-label,
.top-card-split,
.top-card-side,
.top-card-player,
.top-card-value,
.top-card-subvalue {
    position: relative;
}

.weekly-card-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.35;
    margin-bottom: 0;
    text-align: center;
}

.top-card-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    gap: 6px;
    align-items: stretch;
    margin-top: 13px;
}

.top-card-side {
    min-width: 0;
    text-align: center;
}

.top-card-side-label {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
    text-align: center;
}

.top-card-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(31,241,255,0.28), transparent);
}

.top-card-player {
    color: var(--text);
    font-size: clamp(10px, 0.68vw, 12px);
    font-weight: 800;
    line-height: 1.15;
    min-height: 33px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.top-card-value {
    color: var(--glow-accent);
    font-size: clamp(13px, 0.98vw, 17px);
    font-weight: 900;
    margin-top: 5px;
    line-height: 1;
    text-shadow: 0 0 18px rgba(31,241,255,0.30);
    white-space: normal;
    overflow-wrap: anywhere;
}

[data-top-card="satisfaction_gain"] .top-card-value {
    font-size: clamp(13px, 0.94vw, 16px);
}

.top-card-subvalue {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.2;
    min-height: 13px;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.point-system {
    width: min(90vw, 1500px);
    margin: 0 0 18px 50%;
    transform: translateX(-50%);
    padding: 18px;
    background:
        radial-gradient(circle at top left, rgba(53,255,138,0.10), transparent 42%),
        radial-gradient(circle at bottom right, rgba(31,241,255,0.10), transparent 46%),
        rgba(21,21,21,0.82);
    border: 1px solid rgba(31,241,255,0.16);
    border-radius: 22px;
    box-shadow: 0 0 24px rgba(31,241,255,0.05);
    scroll-margin-top: 120px;
}

.point-system-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 16px;
}

.point-system-head h2 {
    margin: 0;
    color: var(--green);
    font-size: 24px;
    line-height: 1.15;
}

.point-system-head p:not(.eyebrow) {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.point-rule-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.point-rule-card {
    min-width: 0;
    display: flex;
    gap: 12px;
    padding: 14px;
    background: rgba(6,8,22,0.40);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
}

.point-rule-card > div {
    min-width: 0;
    flex: 1;
}

.point-rule-card-wide {
    grid-column: span 2;
}

.point-guide-section-title {
    margin: 16px 0 9px;
    color: rgba(242,242,242,0.78);
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.point-guide-section-title:first-of-type {
    margin-top: 0;
}

.point-rule-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.point-rule-heading h3 {
    margin: 0;
}

.point-rule-timing {
    flex: 0 0 auto;
    padding: 3px 6px;
    border: 1px solid rgba(31,241,255,0.20);
    border-radius: 999px;
    color: var(--glow-accent);
    background: rgba(31,241,255,0.07);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.07em;
    line-height: 1;
}

.point-rule-values {
    display: grid;
    gap: 5px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.point-rule-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.point-rule-values li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 7px;
    border-radius: 8px;
    color: rgba(242,242,242,0.72);
    background: rgba(255,255,255,0.035);
    font-size: 11px;
    line-height: 1.25;
}

.point-rule-values li b {
    font-weight: 700;
}

.point-rule-values li strong {
    color: rgba(242,242,242,0.86);
    font-size: 12px;
    white-space: nowrap;
}

.point-rule-values li strong.positive {
    color: var(--green);
}

.point-rule-values li strong.negative {
    color: #ff8585;
}

.point-rule-footnote {
    display: block;
    margin-top: 8px;
    color: rgba(242,242,242,0.55);
    font-size: 10px;
    line-height: 1.4;
}

.point-guide-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.point-guide-info-card {
    display: grid;
    gap: 5px;
    padding: 11px 13px;
    border: 1px solid rgba(179,92,255,0.18);
    border-radius: 12px;
    background: rgba(179,92,255,0.055);
    color: rgba(242,242,242,0.68);
    font-size: 11px;
    line-height: 1.45;
}

.point-guide-info-card > strong {
    color: #d9a8ff;
    font-size: 12px;
}

.point-rule-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(31,241,255,0.09);
    border: 1px solid rgba(31,241,255,0.18);
    box-shadow: 0 0 18px rgba(31,241,255,0.10);
}

.point-rule-card h3 {
    margin: 0 0 6px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.25;
}

.point-rule-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.point-system-note {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 14px;
    color: rgba(242,242,242,0.76);
    background: rgba(53,255,138,0.055);
    border: 1px solid rgba(53,255,138,0.16);
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.45;
}

.point-system-note strong {
    color: var(--green);
    white-space: nowrap;
}

.member-panel {
    width: min(90vw, 1500px);
    margin-left: 50%;
    transform: translateX(-50%);
    background: rgba(21,21,21,0.82);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 0 24px rgba(31,241,255,0.05);
}

.member-panel-compact-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.018);
}

.member-meta-line {
    flex: 0 0 auto;
    color: rgba(242,242,242,0.72);
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.member-meta-line strong,
.weekly-performance-label {
    color: var(--royal-purple-bright);
    font-size: 16px;
    text-shadow: 0 0 16px rgba(143,61,255,0.36);
}

.gift-box-hunt-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    margin-left: auto;
    padding: 6px 11px;
    border: 1px solid rgba(192,108,255,.24);
    border-radius: 999px;
    background: rgba(143,61,255,.07);
    color: #c9b0ef;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    max-width: min(100%, 280px);
    overflow: hidden;
    order: 3;
}
.gift-box-hunt-status span { overflow: hidden; text-overflow: ellipsis; }
.gift-box-hunt-status[hidden] { display: none; }
.gift-box-hunt-status strong {
    color: var(--royal-purple-bright);
    font-variant-numeric: tabular-nums;
    letter-spacing: .3px;
}
.gift-box-hunt-status.found {
    border-color: rgba(53,255,138,.28);
    background: rgba(53,255,138,.08);
}
.gift-box-hunt-status.found span,
.gift-box-hunt-status.found strong { color: var(--green); }

.member-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    min-width: 0;
    order: 2;
}

.member-search,
.member-select {
    min-height: 34px;
    background: rgba(255,255,255,0.045);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: bold;
    font-size: 12px;
    outline: none;
}

.member-search {
    width: 190px;
}

.member-search:focus,
.member-select:focus {
    border-color: rgba(31,241,255,0.55);
    box-shadow: 0 0 16px rgba(31,241,255,0.10);
}

.member-search::placeholder {
    color: rgba(156,163,175,0.7);
}

.member-select option {
    background: #151515;
    color: var(--text);
}

.member-select-native {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.member-custom-select {
    position: relative;
    min-width: 166px;
    z-index: 20;
}

.member-custom-select-button {
    width: 100%;
    min-height: 36px;
    padding: 8px 34px 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(31,241,255,0.22);
    border-radius: 10px;
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(31,241,255,0.075), rgba(143,61,255,0.055)),
        rgba(255,255,255,0.045);
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.055);
}

.member-custom-select-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-custom-select-chevron {
    position: absolute;
    right: 12px;
    color: var(--cyan);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 10px rgba(31,241,255,0.45);
    transition: transform 0.16s ease;
}

.member-custom-select.open .member-custom-select-chevron {
    transform: rotate(180deg);
}

.member-custom-select-button:hover,
.member-custom-select.open .member-custom-select-button,
.member-custom-select-button:focus-visible {
    border-color: rgba(31,241,255,0.55);
    box-shadow:
        0 0 18px rgba(31,241,255,0.11),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

.member-custom-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: min(260px, calc(100vw - 32px));
    max-height: 260px;
    padding: 6px;
    display: none;
    border: 1px solid rgba(31,241,255,0.28);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(13,22,30,0.98), rgba(24,18,33,0.98)),
        #10151c;
    box-shadow:
        0 18px 34px rgba(0,0,0,0.46),
        0 0 24px rgba(31,241,255,0.10);
    overflow: auto;
}

.member-custom-select.open .member-custom-select-menu {
    display: grid;
    gap: 3px;
}

.member-custom-select-option {
    width: 100%;
    min-height: 34px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    color: rgba(242,242,242,0.86);
    background: transparent;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.member-custom-select-option:hover,
.member-custom-select-option:focus-visible {
    color: #ffffff;
    background: rgba(31,241,255,0.10);
    outline: none;
}

.member-custom-select-option.selected {
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(31,241,255,0.18), rgba(176,97,255,0.16)),
        rgba(255,255,255,0.045);
    box-shadow:
        inset 3px 0 0 var(--cyan),
        0 0 14px rgba(31,241,255,0.12);
}

.member-list {
    width: 100%;
}

.member-list-head {
    display: none;
}

.member-list-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(166px, 1fr));
    gap: 12px;
    padding: 18px;
}

.member-row {
    --week-color: var(--sat-stable);
    --total-color: var(--sat-stable);
    --rank-color: transparent;
    position: relative;
    min-height: 116px;
    padding: 12px 16px 56px 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    border: 1px solid color-mix(in srgb, var(--total-color) 34%, rgba(255,255,255,0.08));
    border-left: 4px solid var(--total-color);
    border-radius: 14px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--week-color) 18%, transparent), transparent 48%),
        rgba(255,255,255,0.032);
    cursor: pointer;
    transition: 0.18s;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

.member-row:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--total-color) 58%, rgba(255,255,255,0.10));
    box-shadow: 0 0 18px color-mix(in srgb, var(--week-color) 18%, transparent);
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--week-color) 24%, transparent), transparent 50%),
        rgba(255,255,255,0.052);
}

.member-row.is-afk {
    --week-color: #9aa4b2;
    background:
        radial-gradient(circle at top right, rgba(154,164,178,0.18), transparent 50%),
        repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 6px, transparent 6px 12px),
        rgba(255,255,255,0.026);
}

.member-row.is-afk .member-name,
.member-row.is-afk .satisfaction-pill {
    opacity: 0.82;
}

.member-row.week-critical { --week-color: var(--sat-critical); }
.member-row.week-low { --week-color: var(--sat-low); }
.member-row.week-watch { --week-color: var(--sat-watch); }
.member-row.week-stable { --week-color: var(--sat-stable); }
.member-row.week-active { --week-color: var(--sat-active); }
.member-row.week-strong { --week-color: var(--sat-strong); }
.member-row.week-top { --week-color: var(--sat-top); }

.member-row.total-critical { --total-color: var(--sat-critical); }
.member-row.total-low { --total-color: var(--sat-low); }
.member-row.total-watch { --total-color: var(--sat-watch); }
.member-row.total-stable { --total-color: var(--sat-stable); }
.member-row.total-active { --total-color: var(--sat-active); }
.member-row.total-strong { --total-color: var(--sat-strong); }
.member-row.total-top { --total-color: var(--sat-top); }

.member-row.rank-hero {
    --rank-color: #ffd15a;
}

.member-row.rank-elite {
    --rank-color: #d9e4ee;
}

.member-row.rank-strong-week {
    --rank-color: #c88744;
}

.member-rank-mark {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--rank-color);
    font-size: 14px;
    line-height: 1;
    text-shadow: 0 0 12px color-mix(in srgb, var(--rank-color) 58%, transparent);
}

.member-afk-corner-badge {
    position: absolute;
    top: 11px;
    right: 11px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dce7f3;
    border: 1px solid rgba(220,231,243,0.48);
    border-radius: 8px;
    background:
        radial-gradient(circle at 30% 24%, rgba(255,255,255,0.22), transparent 44%),
        rgba(120,132,148,0.24);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.22),
        0 0 13px rgba(180,200,220,0.20);
    z-index: 3;
    cursor: help;
}

.member-afk-corner-badge svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.member-afk-corner-badge.is-password-required {
    color: #ff4d61;
    border-color: rgba(255,77,97,0.72);
    background:
        radial-gradient(circle at 30% 24%, rgba(255,255,255,0.20), transparent 44%),
        rgba(118,20,34,0.48);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        0 0 15px rgba(255,45,74,0.42);
}

.member-row.rank-at-risk .member-rank-mark {
    font-size: 15px;
    font-weight: bold;
    text-shadow: none;
}

.member-name {
    width: calc(100% - 6px);
    min-width: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform: translateY(-2px);
}

.member-award-row {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 7px;
    transform: translateX(-50%);
    min-height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.member-showroom-badge {
    width: 17px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: rgba(242,242,242,0.78);
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 0 8px rgba(0,0,0,0.24);
    cursor: help;
    transition: filter 0.16s ease, transform 0.16s ease;
}

.member-showroom-badge:hover {
    filter: brightness(1.12);
    transform: translateY(-1px) scale(1.08);
}

.member-showroom-badge svg {
    width: 12px;
    height: 12px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.member-showroom-badge.fort {
    width: 36px;
    height: 36px;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    transform: translateY(5px);
}

.member-showroom-badge.fort img {
    width: 36px;
    height: 36px;
    display: block;
    object-fit: contain;
    filter:
        drop-shadow(0 0 4px rgba(255,255,255,0.14))
        drop-shadow(0 0 7px rgba(31,241,255,0.12));
}

.member-showroom-badge.fort:hover {
    transform: translateY(3px) scale(1.08);
}

.member-showroom-badge.help {
    width: 27px;
    height: 22px;
    color: #fff4f4;
    border-color: transparent;
    background: transparent;
    box-shadow: 0 0 11px rgba(255,88,102,0.24);
}

.member-showroom-badge.help svg {
    width: 25px;
    height: 20px;
    stroke-width: 2.35;
    filter:
        drop-shadow(0 0 4px rgba(255,255,255,0.24))
        drop-shadow(0 0 7px rgba(255,64,93,0.24));
}

.member-showroom-badge.help .badge-red-stroke {
    stroke: #ff405d;
    stroke-width: 2.5;
}

.member-showroom-badge.hof-week {
    color: rgba(255,209,90,0.58);
    border-color: rgba(255,209,90,0.18);
    background: rgba(255,209,90,0.05);
}

.member-showroom-badge.hof-month {
    color: rgba(217,228,238,0.78);
    border-color: rgba(217,228,238,0.24);
    background: rgba(217,228,238,0.07);
}

.member-showroom-badge.hof-year {
    width: 18px;
    height: 18px;
    color: #3b2500;
    border-color: rgba(255,236,154,0.72);
    background:
        radial-gradient(circle at 30% 25%, #fff3a8, #ffd15a 42%, #b97817 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.55),
        0 0 12px rgba(255,209,90,0.46);
}

.member-showroom-badge.hof-year svg {
    width: 13px;
    height: 13px;
    stroke-width: 2.4;
}

.member-prestige-row {
    position: absolute;
    left: 14px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.member-prestige-badge {
    position: relative;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.member-prestige-badge svg {
    width: 17px;
    height: 17px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.member-prestige-badge.hof-week-gold,
.member-prestige-badge.hof-year-gold {
    color: #2f1d00;
    border: 1px solid rgba(255,244,179,0.78);
    background:
        radial-gradient(circle at 30% 24%, #fff7b8, #ffd15a 38%, #b97817 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.58),
        0 0 16px rgba(255,209,90,0.52);
}

.member-prestige-badge.hof-week-silver,
.member-prestige-badge.hof-year-silver {
    color: #16202a;
    border: 1px solid rgba(242,248,255,0.68);
    background:
        radial-gradient(circle at 30% 24%, #ffffff, #d9e4ee 42%, #7d8b99 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.60),
        0 0 14px rgba(217,228,238,0.36);
}

.member-prestige-badge.hof-week-bronze,
.member-prestige-badge.hof-year-bronze {
    color: #2e1705;
    border: 1px solid rgba(239,170,94,0.68);
    background:
        radial-gradient(circle at 30% 24%, #ffd19a, #c88744 44%, #7b4318 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.44),
        0 0 13px rgba(200,135,68,0.34);
}

.member-gift-badge {
    position: relative;
    right: auto;
    bottom: auto;
    width: 15px;
    height: 14px;
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px 4px 6px 6px;
    border: 1px solid rgba(255,209,90,0.62);
    background:
        linear-gradient(90deg, transparent 42%, rgba(117,54,15,0.74) 42% 58%, transparent 58%),
        linear-gradient(0deg, rgba(255,231,140,0.95) 0 30%, rgba(117,54,15,0.78) 30% 42%, transparent 42%),
        linear-gradient(135deg, #ffe174, #ff9d34 62%, #d75f20);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.30),
        0 0 9px rgba(255,209,90,0.30);
}

.member-gift-badge::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 2px;
    width: 11px;
    height: 7px;
    border-radius: 999px 999px 2px 2px;
    background:
        radial-gradient(ellipse at 30% 58%, transparent 34%, #ffe174 36% 62%, transparent 64%),
        radial-gradient(ellipse at 72% 58%, transparent 34%, #ffe174 36% 62%, transparent 64%);
    filter: drop-shadow(0 0 5px rgba(255,209,90,0.34));
}

.member-gift-badge::after {
    content: "";
    position: absolute;
    top: -3px;
    left: 6px;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #ffe174;
    box-shadow: 0 0 6px rgba(255,209,90,0.44);
}

.member-gift-badge span {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 13px;
    height: 13px;
    padding: 0 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 999px;
    color: #fff;
    background: #e0182d;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

.satisfaction-pill {
    position: absolute;
    left: 50%;
    top: 51%;
    bottom: auto;
    transform: translate(-50%, -50%);
    align-self: auto;
    min-width: 94px;
    text-align: left;
    padding: 6px 8px;
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 3px;
    border-radius: 10px;
    color: var(--total-color);
    background: color-mix(in srgb, var(--total-color) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--total-color) 28%, transparent);
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 0 12px color-mix(in srgb, var(--total-color) 10%, transparent);
}

.satisfaction-pill span {
    display: grid;
    grid-template-columns: 42px minmax(24px, 1fr);
    align-items: baseline;
    gap: 6px;
    line-height: 1.05;
}

.satisfaction-pill b {
    color: rgba(242,242,242,0.66);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.satisfaction-pill strong {
    color: var(--total-color);
    font-size: 12px;
    font-weight: 900;
    text-align: right;
    white-space: nowrap;
}
