:root {
    --s33-bg: #06110d;
    --s33-bg-2: #0a1712;
    --s33-card: rgba(9, 24, 18, .72);
    --s33-border: rgba(255, 255, 255, .13);
    --s33-text: #f8fafc;
    --s33-muted: #a9b8ae;
    --s33-green: #16a34a;
    --s33-emerald: #10b981;
    --s33-cyan: #0891b2;
    --s33-orange: #f97316;
    --s33-gold: #f59e0b;
}

/* Player center: product-style pages, no backend action console. */
.s33-player-page {
    display: grid;
    gap: 18px;
}

.s33-player-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    gap: 22px;
    min-height: 188px;
    padding: 24px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 186, 74, .32), transparent 32%),
        linear-gradient(135deg, rgba(50, 26, 15, .96), rgba(15, 17, 21, .96));
    border: 1px solid rgba(255, 205, 128, .18);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .34);
}

.s33-player-hero h2 {
    margin: 10px 0 8px;
    font-size: clamp(30px, 6vw, 54px);
    line-height: .95;
    color: #fff;
    font-weight: 1000;
}

.s33-player-hero p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 245, 226, .72);
    line-height: 1.7;
}

.s33-player-hero img {
    width: min(32vw, 230px);
    min-width: 140px;
    object-fit: contain;
    filter: drop-shadow(0 24px 38px rgba(0, 0, 0, .42));
}

.s33-player-kicker {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    color: #ffd784;
    font-size: 12px;
    font-weight: 900;
    background: rgba(255, 186, 74, .12);
    border: 1px solid rgba(255, 205, 128, .18);
}

.s33-player-identity,
.s33-player-nav,
.s33-player-metric-grid,
.s33-player-form-grid,
.s33-player-note-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.s33-player-identity {
    margin-top: 16px;
}

.s33-player-identity span,
.s33-player-nav a {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .8);
    background: rgba(255, 255, 255, .07);
    text-decoration: none;
}

.s33-player-identity span {
    padding: 7px 11px;
    font-size: 12px;
}

.s33-player-nav {
    padding: 8px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
}

.s33-player-nav a {
    padding: 10px 16px;
    font-weight: 900;
}

.s33-player-nav a.is-active,
.s33-player-nav a:hover {
    color: #241207;
    background: linear-gradient(135deg, #ffd36c, #ff8a2a);
}

.s33-player-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.s33-player-metric-grid article,
.s33-player-data-card,
.s33-player-form-card,
.s33-player-result,
.s33-player-note-list div,
.s33-player-empty-card {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .09);
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
    box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
}

.s33-player-metric-grid article {
    padding: 18px;
}

.s33-player-metric-grid span,
.s33-player-section-head span {
    display: block;
    color: rgba(255, 213, 142, .72);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .08em;
}

.s33-player-metric-grid strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 28px;
    font-weight: 1000;
}

.s33-player-metric-grid em {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.58);
    font-style: normal;
    font-size: 12px;
}

.s33-player-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.s33-player-form-card,
.s33-player-data-card,
.s33-player-empty-card {
    padding: 20px;
}

.s33-player-section-head {
    margin-bottom: 14px;
}

.s33-player-section-head strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 20px;
    font-weight: 1000;
}

.s33-player-section-head p {
    margin: 6px 0 0;
    color: rgba(255,255,255,.62);
    line-height: 1.6;
    font-size: 13px;
}

.s33-player-fields {
    display: grid;
    gap: 12px;
}

.s33-player-field {
    display: grid;
    gap: 7px;
}

.s33-player-field span {
    color: rgba(255,255,255,.76);
    font-size: 13px;
    font-weight: 800;
}

.s33-player-field input,
.s33-player-field select,
.s33-player-field textarea {
    width: 100%;
    border: 1px solid rgba(255, 205, 128, .16);
    border-radius: 15px;
    background: rgba(0,0,0,.24);
    color: #fff;
    padding: 12px 13px;
    outline: none;
}

.s33-player-field input:focus,
.s33-player-field select:focus,
.s33-player-field textarea:focus {
    border-color: rgba(255, 177, 70, .65);
    box-shadow: 0 0 0 3px rgba(255, 143, 42, .16);
}

.s33-player-form-card button {
    width: 100%;
    margin-top: 14px;
    border: 0;
    border-radius: 16px;
    padding: 13px 16px;
    color: #271307;
    font-weight: 1000;
    background: linear-gradient(135deg, #ffd36c, #ff8a2a);
    box-shadow: 0 14px 30px rgba(255, 120, 20, .24);
}

.s33-player-result {
    padding: 15px 18px;
}

.s33-player-result.is-ok { border-color: rgba(69, 226, 147, .35); }
.s33-player-result.is-bad { border-color: rgba(255, 105, 105, .45); }
.s33-player-result strong { color: #fff; }
.s33-player-result div { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; color: rgba(255,255,255,.68); font-size: 12px; }

.s33-player-note-list div {
    padding: 14px 16px;
    color: rgba(255,255,255,.72);
}

.s33-player-table-wrap {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.07);
}

.s33-player-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.s33-player-table th,
.s33-player-table td {
    padding: 13px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,.06);
    white-space: nowrap;
}

.s33-player-table th {
    color: rgba(255, 213, 142, .72);
    font-size: 12px;
    background: rgba(0,0,0,.22);
}

.s33-player-table td {
    color: rgba(255,255,255,.82);
    font-size: 13px;
}

.s33-player-table tr:last-child td {
    border-bottom: 0;
}

.s33-player-empty,
.s33-player-empty-card {
    color: rgba(255,255,255,.6);
}

.s33-player-empty {
    padding: 24px;
    border-radius: 18px;
    background: rgba(0,0,0,.16);
    text-align: center;
}

.s33-player-empty-card strong {
    color: #fff;
    display: block;
    margin-bottom: 6px;
}

@media (max-width: 767px) {
    .s33-player-page { gap: 12px; }
    .s33-player-hero { min-height: 150px; padding: 18px; border-radius: 24px; }
    .s33-player-hero h2 { font-size: 30px; }
    .s33-player-hero p { font-size: 12px; max-width: 78%; }
    .s33-player-hero img { width: 116px; min-width: 116px; margin-right: -20px; }
    .s33-player-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .s33-player-nav::-webkit-scrollbar { display: none; }
    .s33-player-nav a { flex: 0 0 auto; padding: 9px 14px; }
    .s33-player-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .s33-player-metric-grid article,
    .s33-player-form-card,
    .s33-player-data-card { border-radius: 20px; padding: 16px; }
    .s33-player-table { min-width: 660px; }
    .s33-player-table th,
    .s33-player-table td { padding: 11px 12px; font-size: 12px; }
}

body.s33-guest-body,
.s33-hub-page {
    min-height: 100vh;
    color: var(--s33-text);
    background:
        radial-gradient(circle at 12% 8%, rgba(22, 163, 74, .26), transparent 30rem),
        radial-gradient(circle at 85% 16%, rgba(249, 115, 22, .22), transparent 27rem),
        linear-gradient(135deg, rgba(6, 17, 13, .95), rgba(6, 10, 9, .96)),
        url('/images/s33-login-bg.jpg') center / cover fixed;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.s33-hub-page::before,
.s33-guest-shell::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 82%);
}

.s33-brand-lockup { display: inline-flex; align-items: center; gap: 12px; }
.s33-brand-lockup__mark { display: inline-grid; width: 54px; height: 54px; place-items: center; border-radius: 18px; color: #07120d; font-size: 14px; font-weight: 950; letter-spacing: -.04em; background: linear-gradient(135deg, #dcfce7 0%, #86efac 46%, #facc15 100%); box-shadow: 0 14px 28px rgba(34, 197, 94, .22), inset 0 1px 0 rgba(255, 255, 255, .55); }
.s33-brand-lockup__logo { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0,0,0,.45)); }
.s33-brand-lockup__text { display: grid; line-height: 1.12; }
.s33-brand-lockup__text strong { font-size: 18px; letter-spacing: -.03em; }
.s33-brand-lockup__text small { color: var(--s33-muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.s33-hub-wrap { position: relative; z-index: 1; width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0; }
.s33-hub-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 74px; }
.s33-status-pill { border: 1px solid var(--s33-border); background: rgba(255,255,255,.08); padding: 10px 14px; border-radius: 999px; color: #dce8de; font-size: 13px; backdrop-filter: blur(18px); }
.s33-hub-hero { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: end; }
.s33-hub-eyebrow { color: #8ee4aa; text-transform: uppercase; letter-spacing: .22em; font-size: 12px; font-weight: 700; }
.s33-hub-title { margin: 12px 0 18px; font-size: clamp(44px, 7vw, 88px); letter-spacing: -.08em; line-height: .92; }
.s33-hub-title span { display: block; color: transparent; background: linear-gradient(90deg, #fff, #9af1b4 42%, #ffb066); -webkit-background-clip: text; background-clip: text; }
.s33-hub-copy { max-width: 680px; color: #cfddd2; font-size: 18px; line-height: 1.8; }
.s33-metric-panel { border: 1px solid var(--s33-border); background: rgba(7, 18, 13, .66); border-radius: 30px; padding: 22px; backdrop-filter: blur(24px); box-shadow: 0 30px 80px rgba(0,0,0,.34); }
.s33-metric-panel strong { display: block; font-size: 44px; letter-spacing: -.06em; }
.s33-metric-panel small { color: var(--s33-muted); }
.s33-metric-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 20px; }
.s33-mini-stat { padding: 14px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); }
.s33-mini-stat b { display: block; font-size: 22px; }
.s33-mini-stat span { color: var(--s33-muted); font-size: 12px; }

.s33-entry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 42px; }
.s33-entry-card { position: relative; overflow: hidden; min-height: 280px; padding: 22px; border-radius: 30px; border: 1px solid var(--s33-border); background: var(--s33-card); color: #fff; text-decoration: none; isolation: isolate; transition: transform .24s ease, border-color .24s ease, background .24s ease; box-shadow: 0 22px 70px rgba(0,0,0,.28); }
.s33-entry-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.34); background: rgba(11, 32, 24, .88); }
.s33-entry-card::before { content: ''; position: absolute; inset: auto -20% -30% -20%; height: 62%; z-index: -1; opacity: .48; background: radial-gradient(circle, var(--tone, var(--s33-green)), transparent 65%); }
.s33-entry-card--cyan { --tone: var(--s33-cyan); }
.s33-entry-card--emerald { --tone: var(--s33-emerald); }
.s33-entry-card--orange { --tone: var(--s33-orange); }
.s33-entry-card--blue { --tone: #2563eb; }
.s33-entry-card__tag { position: relative; z-index: 2; display: inline-flex; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.12); color: #dff6e6; font-size: 11px; letter-spacing: .14em; }
.s33-entry-card__content { position: relative; z-index: 2; display: block; margin-top: 34px; }
.s33-entry-card__content strong { display: block; font-size: 27px; letter-spacing: -.04em; }
.s33-entry-card__content small { display: block; margin-top: 10px; color: #c7d4cb; line-height: 1.65; }
.s33-entry-card__hero { position: absolute; right: -52px; bottom: 26px; width: 170px; max-height: 160px; object-fit: contain; opacity: .9; filter: drop-shadow(0 18px 32px rgba(0,0,0,.5)); }
.s33-entry-card__cta { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-weight: 700; }

.s33-guest-shell { min-height: 100vh; display: grid; place-items: center; padding: 32px 18px; }
.s33-login-layout { position: relative; z-index: 1; width: min(1060px, 100%); display: grid; grid-template-columns: 1fr 420px; gap: 24px; align-items: stretch; }
.s33-login-hero, .s33-login-card { border: 1px solid var(--s33-border); background: rgba(7, 18, 13, .72); backdrop-filter: blur(26px); border-radius: 32px; box-shadow: 0 30px 90px rgba(0,0,0,.36); }
.s33-login-hero { padding: 34px; overflow: hidden; position: relative; }
.s33-login-hero h1 { margin: 44px 0 16px; font-size: clamp(38px, 5vw, 72px); line-height: .94; letter-spacing: -.08em; }
.s33-login-hero p { max-width: 560px; color: #cbd8ce; line-height: 1.8; font-size: 16px; }
.s33-login-hero__art { position: absolute; right: -40px; bottom: -16px; width: 280px; max-height: 280px; object-fit: contain; opacity: .88; filter: drop-shadow(0 24px 42px rgba(0,0,0,.55)); }
.s33-login-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 36px; max-width: 500px; }
.s33-login-mini-grid a { color: #ecfff2; text-decoration: none; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.1); }
.s33-login-mini-grid a b { display: block; }
.s33-login-mini-grid a span { color: #9fb0a4; font-size: 12px; }
.s33-login-card { padding: 30px; }
.s33-login-card h2 { margin: 20px 0 6px; font-size: 30px; letter-spacing: -.05em; }
.s33-login-card p { margin: 0 0 24px; color: var(--s33-muted); line-height: 1.7; }
.s33-form-field { margin-bottom: 16px; }
.s33-form-field label { display: block; margin-bottom: 8px; color: #d8e5da; font-size: 13px; }
.s33-form-field input { width: 100%; box-sizing: border-box; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.08); color: #fff; padding: 14px 15px; outline: none; transition: border-color .2s ease, background .2s ease; }
.s33-form-field input:focus { border-color: rgba(34,197,94,.72); background: rgba(255,255,255,.12); }
.s33-form-row { display: flex; justify-content: space-between; align-items: center; color: var(--s33-muted); font-size: 13px; margin-bottom: 18px; }
.s33-login-button { width: 100%; border: 0; border-radius: 16px; padding: 15px 16px; font-weight: 800; color: #06110d; background: linear-gradient(135deg, #9af1b4, #facc15); cursor: pointer; box-shadow: 0 18px 40px rgba(22,163,74,.25); }
.s33-login-error { margin: 0 0 16px; padding: 12px 14px; border: 1px solid rgba(248,113,113,.35); background: rgba(127,29,29,.35); border-radius: 14px; color: #fecaca; }
.s33-login-footer { margin-top: 20px; color: #829387; font-size: 12px; text-align: center; }

.s33-panel-page { display: grid; gap: 18px; }
.s33-panel-hero { border-radius: 28px; padding: 28px; color: #fff; background: linear-gradient(135deg, rgba(6,17,13,.94), rgba(10,23,18,.82)), url('/images/s33-survival-bg.png') center/cover; border: 1px solid rgba(255,255,255,.12); overflow: hidden; position: relative; }
.s33-panel-hero h2 { margin: 0 0 10px; font-size: 34px; letter-spacing: -.05em; }
.s33-panel-hero p { max-width: 760px; color: #d5e0d8; line-height: 1.75; }
.s33-panel-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.s33-panel-card { padding: 18px; border-radius: 22px; background: rgba(255,255,255,.72); border: 1px solid rgba(15,23,42,.08); box-shadow: 0 12px 34px rgba(15,23,42,.08); }
.s33-panel-card b { display: block; color: #0f172a; font-size: 26px; letter-spacing: -.04em; }
.s33-panel-card span { color: #64748b; font-size: 13px; }
.s33-task-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.s33-task { border-radius: 22px; padding: 18px; background: white; border: 1px solid rgba(15,23,42,.08); }
.s33-task strong { display: block; color: #0f172a; }
.s33-task small { color: #64748b; line-height: 1.6; }

@media (max-width: 980px) {
    .s33-hub-hero, .s33-login-layout { grid-template-columns: 1fr; }
    .s33-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .s33-panel-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .s33-task-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .s33-hub-nav { margin-bottom: 40px; }
    .s33-status-pill { display: none; }
    .s33-entry-grid { grid-template-columns: 1fr; }
    .s33-entry-card { min-height: 220px; }
    .s33-login-card, .s33-login-hero { border-radius: 24px; padding: 22px; }
    .s33-login-hero__art { opacity: .28; }
    .s33-panel-cards { grid-template-columns: 1fr; }
}

/* S33 auth refinement: Filament-like wide desktop layout + mobile-first polish. */
body.s33-guest-body {
    min-height: 100svh;
    overflow-x: hidden;
}

body.s33-guest-body .fi-simple-layout {
    min-height: 100svh;
    align-items: stretch;
    background:
        radial-gradient(circle at 14% 16%, rgba(34, 197, 94, .28), transparent 29rem),
        radial-gradient(circle at 86% 10%, rgba(245, 158, 11, .22), transparent 27rem),
        radial-gradient(circle at 74% 88%, rgba(8, 145, 178, .20), transparent 28rem),
        linear-gradient(135deg, rgba(2, 6, 23, .94), rgba(6, 17, 13, .96)),
        url('/images/s33-login-bg.jpg') center / cover fixed;
}

body.s33-guest-body .fi-simple-main-ctn {
    width: 100%;
    min-height: 100svh;
    align-items: stretch;
}

body.s33-guest-body .fi-simple-main {
    width: 100%;
    max-width: none !important;
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    --tw-ring-shadow: 0 0 #0000;
}

body.s33-guest-body .fi-simple-main > div[wire\:id] {
    width: 100%;
    min-height: 100svh;
}

body.s33-guest-body .fi-simple-main::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.92), transparent 84%);
}

body.s33-guest-body .fi-simple-main::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 120%, rgba(2, 6, 23, .72), transparent 34rem),
        linear-gradient(90deg, rgba(2, 6, 23, .58), transparent 30%, transparent 70%, rgba(2, 6, 23, .62));
}

body.s33-guest-body .s33-guest-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 3.2vw, 46px);
}

body.s33-guest-body .s33-guest-shell::before {
    display: none;
}

body.s33-guest-body .s33-login-layout {
    width: min(1180px, 100%);
    min-height: min(720px, calc(100svh - 56px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 440px);
    gap: clamp(22px, 3vw, 36px);
    align-items: center;
}

body.s33-guest-body .s33-login-hero,
body.s33-guest-body .s33-login-card {
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 34px 100px rgba(0, 0, 0, .42);
}

body.s33-guest-body .s33-login-hero {
    min-height: 660px;
    padding: clamp(30px, 4vw, 52px);
    border-radius: 34px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(6, 17, 13, .78), rgba(15, 23, 42, .52)),
        radial-gradient(circle at 94% 85%, rgba(22, 163, 74, .33), transparent 24rem),
        rgba(5, 15, 12, .70);
    isolation: isolate;
}

body.s33-guest-body .s33-login-hero::before {
    content: '';
    position: absolute;
    inset: 1px;
    z-index: -2;
    border-radius: inherit;
    background: url('/images/s33-survival-bg.png') center / cover;
    opacity: .18;
}

body.s33-guest-body .s33-login-hero::after {
    content: '';
    position: absolute;
    right: -18%;
    bottom: -30%;
    z-index: -1;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(34, 197, 94, .32), transparent 65%);
}

body.s33-guest-body .s33-login-hero__top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

body.s33-guest-body .s33-login-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    color: #dff6e6;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
}

body.s33-guest-body .s33-login-hero__copy {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin-top: clamp(54px, 7vw, 96px);
}

body.s33-guest-body .s33-login-eyebrow {
    color: #8ee4aa;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

body.s33-guest-body .s33-login-hero h1 {
    margin: 14px 0 18px;
    font-size: clamp(58px, 6.5vw, 86px);
    line-height: .9;
    letter-spacing: -.09em;
    color: transparent;
    background: linear-gradient(92deg, #fff 0%, #d8ffe3 42%, #facc15 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

body.s33-guest-body .s33-login-hero p {
    max-width: 600px;
    color: #cfddd2;
    font-size: 17px;
    line-height: 1.9;
}

body.s33-guest-body .s33-login-mini-grid {
    position: relative;
    z-index: 3;
    width: min(520px, 100%);
    margin-top: clamp(36px, 5vw, 62px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.s33-guest-body .s33-login-mini-grid a {
    position: relative;
    min-height: 88px;
    padding: 16px 16px 15px;
    border-radius: 20px;
    color: #f4fff7;
    text-decoration: none;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .105);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

body.s33-guest-body .s33-login-mini-grid a:hover {
    transform: translateY(-2px);
    border-color: rgba(134, 239, 172, .45);
    background: rgba(255, 255, 255, .11);
}

body.s33-guest-body .s33-login-mini-grid a b {
    display: block;
    font-size: 15px;
    letter-spacing: -.02em;
}

body.s33-guest-body .s33-login-mini-grid a span {
    display: block;
    margin-top: 7px;
    color: #aebdb2;
    font-size: 12px;
    line-height: 1.5;
}

body.s33-guest-body .s33-login-hero__status {
    position: absolute;
    left: clamp(30px, 4vw, 52px);
    right: clamp(30px, 4vw, 52px);
    bottom: 30px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.s33-guest-body .s33-login-hero__status span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    color: #bdd1c2;
    font-size: 12px;
    background: rgba(2, 6, 23, .24);
    border: 1px solid rgba(255, 255, 255, .10);
}

body.s33-guest-body .s33-login-hero__art {
    z-index: 1;
    right: -18px;
    bottom: 38px;
    width: min(30vw, 340px);
    max-height: 420px;
    opacity: .42;
    filter: drop-shadow(0 28px 48px rgba(0, 0, 0, .66));
}

body.s33-guest-body .s33-login-card {
    align-self: center;
    width: 100%;
    padding: clamp(26px, 3vw, 34px);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .052)),
        rgba(8, 14, 18, .84);
}

body.s33-guest-body .s33-login-card__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

body.s33-guest-body .s33-login-card h2 {
    margin: 0 0 5px;
    color: #f8fafc;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -.055em;
}

body.s33-guest-body .s33-login-card p {
    margin: 0;
    color: #9fb0a4;
    font-size: 13px;
    line-height: 1.55;
}

body.s33-guest-body .s33-login-card .fi-sc,
body.s33-guest-body .s33-login-card form {
    display: grid;
    gap: 18px;
}

body.s33-guest-body .s33-login-card .fi-fo-field-wrp {
    display: grid;
    gap: 8px;
}

body.s33-guest-body .s33-login-card input[type='email'],
body.s33-guest-body .s33-login-card input[type='text'],
body.s33-guest-body .s33-login-card input[type='password'] {
    min-height: 48px;
    border-radius: 16px;
    border-color: rgba(255, 255, 255, .13);
    color: #f8fafc;
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
}

body.s33-guest-body .s33-login-card input[type='email']:focus,
body.s33-guest-body .s33-login-card input[type='text']:focus,
body.s33-guest-body .s33-login-card input[type='password']:focus {
    border-color: rgba(148, 163, 184, .58);
    box-shadow: 0 0 0 3px rgba(148, 163, 184, .12);
}

body.s33-guest-body .s33-login-card label,
body.s33-guest-body .s33-login-card .fi-fo-field-wrp-label {
    color: #dbe7de;
    font-size: 13px;
}

body.s33-guest-body .s33-login-card button[type='submit'],
body.s33-guest-body .s33-login-card .fi-btn {
    min-height: 48px;
    border-radius: 16px;
    font-weight: 850;
}

body.s33-guest-body .s33-login-card button[type='submit'] {
    color: #06110d;
    background: linear-gradient(135deg, #f8fafc 0%, #d9f99d 48%, #bef264 100%);
    box-shadow: 0 18px 42px rgba(132, 204, 22, .18);
}

body.s33-guest-body .s33-login-footer {
    margin-top: 24px;
    color: #76877c;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 1120px) {
    body.s33-guest-body .s33-login-layout {
        grid-template-columns: minmax(0, 1fr) minmax(370px, 410px);
        gap: 22px;
    }

    body.s33-guest-body .s33-login-hero {
        min-height: 620px;
    }

    body.s33-guest-body .s33-login-hero__art {
        width: 280px;
        opacity: .30;
    }
}

@media (max-width: 980px) {
    body.s33-guest-body .fi-simple-main-ctn,
    body.s33-guest-body .fi-simple-main > div[wire\:id] {
        min-height: auto;
    }

    body.s33-guest-body .s33-guest-shell {
        align-items: flex-start;
        padding: 18px;
    }

    body.s33-guest-body .s33-login-layout {
        width: min(610px, 100%);
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.s33-guest-body .s33-login-hero {
        min-height: auto;
        padding: 24px;
        border-radius: 26px;
    }

    body.s33-guest-body .s33-login-hero__copy {
        margin-top: 34px;
    }

    body.s33-guest-body .s33-login-hero h1 {
        font-size: clamp(42px, 12vw, 62px);
    }

    body.s33-guest-body .s33-login-mini-grid {
        margin-top: 28px;
    }

    body.s33-guest-body .s33-login-hero__status {
        position: static;
        margin-top: 22px;
    }

    body.s33-guest-body .s33-login-hero__art {
        right: -36px;
        bottom: 8px;
        width: 210px;
        opacity: .18;
    }

    body.s33-guest-body .s33-login-card {
        border-radius: 26px;
    }
}

@media (max-width: 560px) {
    body.s33-guest-body .s33-guest-shell {
        padding: 12px;
    }

    body.s33-guest-body .s33-login-card {
        order: 1;
    }

    body.s33-guest-body .s33-login-hero {
        order: 2;
    }

    body.s33-guest-body .s33-login-hero,
    body.s33-guest-body .s33-login-card {
        border-radius: 22px;
        padding: 20px;
    }

    body.s33-guest-body .s33-login-pill {
        display: none;
    }

    body.s33-guest-body .s33-brand-lockup__logo {
        width: 44px;
        height: 44px;
    }

    body.s33-guest-body .s33-brand-lockup__text strong {
        font-size: 16px;
    }

    body.s33-guest-body .s33-login-hero__copy {
        margin-top: 26px;
    }

    body.s33-guest-body .s33-login-hero h1 {
        font-size: clamp(34px, 11vw, 46px);
    }

    body.s33-guest-body .s33-login-hero p {
        font-size: 14px;
        line-height: 1.65;
    }

    body.s33-guest-body .s33-login-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body.s33-guest-body .s33-login-mini-grid a {
        min-height: 68px;
        padding: 12px;
        border-radius: 16px;
    }

    body.s33-guest-body .s33-login-mini-grid a span {
        margin-top: 5px;
        font-size: 11px;
        line-height: 1.35;
    }

    body.s33-guest-body .s33-login-hero__art {
        display: none;
    }

    body.s33-guest-body .s33-login-card__head {
        align-items: flex-start;
        margin-bottom: 22px;
    }
}

@media (max-width: 360px) {
    body.s33-guest-body .s33-login-mini-grid {
        grid-template-columns: 1fr;
    }
}

/* S33 auth simplification: no extra entrance cards, cleaner Filament-style composition. */
body.s33-guest-body .s33-login-layout {
    width: min(1040px, 100%);
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 430px);
    gap: clamp(20px, 3vw, 34px);
}

body.s33-guest-body .s33-login-hero {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(32px, 4vw, 54px);
    background:
        linear-gradient(135deg, rgba(7, 18, 13, .82), rgba(15, 23, 42, .58)),
        radial-gradient(circle at 86% 78%, rgba(34, 197, 94, .25), transparent 22rem),
        rgba(5, 15, 12, .72);
}

body.s33-guest-body .s33-login-hero::before {
    opacity: .13;
}

body.s33-guest-body .s33-login-hero::after {
    right: -26%;
    bottom: -42%;
    opacity: .72;
}

body.s33-guest-body .s33-login-hero__top,
body.s33-guest-body .s33-login-pill,
body.s33-guest-body .s33-login-mini-grid,
body.s33-guest-body .s33-login-hero__status,
body.s33-guest-body .s33-login-hero__art {
    display: none !important;
}

body.s33-guest-body .s33-login-brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
}

body.s33-guest-body .s33-login-brand__mark {
    display: inline-grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 18px;
    color: #07120d;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: -.04em;
    background: linear-gradient(135deg, #dcfce7 0%, #86efac 46%, #facc15 100%);
    box-shadow:
        0 18px 42px rgba(34, 197, 94, .25),
        inset 0 1px 0 rgba(255, 255, 255, .55);
}

body.s33-guest-body .s33-login-brand__mark--small {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 13px;
}

body.s33-guest-body .s33-login-brand__text {
    color: #f8fafc;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.03em;
}

body.s33-guest-body .s33-login-hero__copy {
    margin-top: 0;
    max-width: 560px;
}

body.s33-guest-body .s33-login-eyebrow {
    color: #a7f3d0;
    font-size: 12px;
    letter-spacing: .16em;
}

body.s33-guest-body .s33-login-hero h1 {
    margin: 14px 0 0;
    font-size: clamp(56px, 6.2vw, 82px);
}

body.s33-guest-body .s33-login-card {
    padding: clamp(28px, 3vw, 36px);
    border-radius: 28px;
}

body.s33-guest-body .s33-login-card__head {
    gap: 14px;
    margin-bottom: 28px;
}

body.s33-guest-body .s33-login-card h2 {
    font-size: 26px;
}

body.s33-guest-body .s33-login-card p {
    color: #93a39a;
}

@media (max-width: 980px) {
    body.s33-guest-body .s33-login-layout {
        width: min(520px, 100%);
        grid-template-columns: 1fr;
    }

    body.s33-guest-body .s33-login-card {
        order: 1;
    }

    body.s33-guest-body .s33-login-hero {
        order: 2;
        min-height: 190px;
        justify-content: center;
    }

    body.s33-guest-body .s33-login-hero h1 {
        font-size: clamp(38px, 11vw, 54px);
    }
}

@media (max-width: 560px) {
    body.s33-guest-body .s33-login-layout {
        width: 100%;
    }

    body.s33-guest-body .s33-login-hero {
        min-height: 160px;
        padding: 22px;
    }

    body.s33-guest-body .s33-login-card {
        padding: 22px;
    }

    body.s33-guest-body .s33-login-brand__mark {
        width: 46px;
        height: 46px;
        border-radius: 15px;
        font-size: 13px;
    }

    body.s33-guest-body .s33-login-brand__mark--small {
        width: 44px;
        height: 44px;
    }
}

@media (min-width: 981px) {
    body.s33-guest-body .s33-guest-shell {
        align-items: center;
    }

    body.s33-guest-body .s33-login-card {
        order: 2;
    }

    body.s33-guest-body .s33-login-hero {
        order: 1;
    }
}

/* Final auth card: one centered login card + captcha. */
body.s33-guest-body .s33-login-layout {
    width: min(440px, 100%);
    display: block;
    min-height: auto;
}

body.s33-guest-body .s33-login-hero {
    display: none !important;
}

body.s33-guest-body .s33-login-card {
    width: 100%;
    min-height: auto;
    padding: clamp(26px, 4vw, 36px);
    border-radius: 30px;
}

body.s33-guest-body .s33-login-card__head {
    margin-bottom: 26px;
}

body.s33-guest-body .s33-login-card form,
body.s33-guest-body .s33-login-card .fi-sc {
    gap: 16px;
}

body.s33-guest-body .s33-login-card .fi-sc {
    display: grid;
}

body.s33-guest-body .s33-login-card .fi-grid {
    gap: 16px;
}

body.s33-guest-body .s33-captcha-code {
    display: flex;
    align-items: end;
    height: 100%;
}

body.s33-guest-body .s33-captcha-code span {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #eaffef;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .22em;
    text-indent: .22em;
    background:
        linear-gradient(135deg, rgba(34, 197, 94, .14), rgba(250, 204, 21, .10)),
        repeating-linear-gradient(-18deg, rgba(255, 255, 255, .10) 0 1px, transparent 1px 7px),
        rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    user-select: none;
}

body.s33-guest-body .s33-login-footer {
    margin-top: 22px;
}

@media (max-width: 560px) {
    body.s33-guest-body .s33-login-layout {
        width: 100%;
    }

    body.s33-guest-body .s33-login-card {
        border-radius: 24px;
        padding: 22px;
    }
}

/* S33 feature coverage pages */
.s33-feature-page { display: grid; gap: 18px; }
.s33-feature-hero { position: relative; overflow: hidden; border-radius: 26px; padding: 26px; color: #f8fafc; background: linear-gradient(135deg, rgba(6,17,13,.94), rgba(15,23,42,.82)), url('/images/s33-survival-bg.png') center / cover; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 60px rgba(15,23,42,.14); }
.s33-feature-hero::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 280px; height: 280px; border-radius: 999px; background: radial-gradient(circle, rgba(34,197,94,.32), transparent 68%); }
.s33-feature-kicker { position: relative; z-index: 1; display: inline-flex; color: #a7f3d0; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.s33-feature-hero h2 { position: relative; z-index: 1; margin: 10px 0 8px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.055em; }
.s33-feature-hero p { position: relative; z-index: 1; max-width: 880px; margin: 0; color: #d7e2da; line-height: 1.72; }
.s33-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.s33-feature-card { min-height: 112px; border-radius: 22px; padding: 18px; background: rgba(255,255,255,.86); border: 1px solid rgba(15,23,42,.08); box-shadow: 0 14px 36px rgba(15,23,42,.08); color: #0f172a; }
.s33-feature-card span { display: block; width: 34px; height: 5px; border-radius: 99px; background: linear-gradient(90deg, #22c55e, #f59e0b); margin-bottom: 18px; }
.s33-feature-card strong { display: block; font-size: 15px; line-height: 1.45; }
.s33-feature-note { border-radius: 22px; padding: 18px; background: rgba(236,253,245,.78); border: 1px solid rgba(34,197,94,.18); color: #064e3b; }
.s33-feature-note strong { display: block; margin-bottom: 4px; }
.s33-feature-note p { margin: 0; line-height: 1.7; color: #166534; }
@media (max-width: 980px) { .s33-feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .s33-feature-grid { grid-template-columns: 1fr; } .s33-feature-hero { padding: 22px; border-radius: 22px; } }

/* Login form alignment hard-fix: desktop fields must read as a normal vertical form. */
body.s33-guest-body .s33-login-card .fi-sc-component,
body.s33-guest-body .s33-login-card .fi-fo-field-wrp,
body.s33-guest-body .s33-login-card .fi-input-wrp {
    min-width: 0;
    width: 100%;
}

body.s33-guest-body .s33-login-card .fi-grid,
body.s33-guest-body .s33-login-card .fi-sc {
    align-items: end;
}

body.s33-guest-body .s33-login-card input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
    min-height: 48px;
}

body.s33-guest-body .s33-login-card input[type="checkbox"],
body.s33-guest-body .s33-login-card input[type="radio"] {
    min-height: 0;
    width: 18px;
    height: 18px;
}

body.s33-guest-body .s33-login-card .fi-fo-field-label:has(input[type="checkbox"]),
body.s33-guest-body .s33-login-card .fi-fo-field-label:has(input[type="radio"]) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 22px;
    line-height: 1.2;
}

body.s33-guest-body .s33-login-card .fi-fo-field-label:has(input[type="checkbox"]) .fi-fo-field-label-content,
body.s33-guest-body .s33-login-card .fi-fo-field-label:has(input[type="radio"]) .fi-fo-field-label-content {
    line-height: 1.2;
}

/* Final remember-checkbox override: beat Filament defaults loaded after this stylesheet. */
body.s33-guest-body .s33-login-card .fi-checkbox-input[type="checkbox"] {
    inline-size: 18px !important;
    block-size: 18px !important;
    min-inline-size: 18px !important;
    min-block-size: 18px !important;
    max-inline-size: 18px !important;
    max-block-size: 18px !important;
    margin: 0 !important;
    flex: 0 0 18px !important;
}

/* S33 white theme override — 2026-05-05
   Keep Filament structure, switch all panels/login to a clean white-first visual. */
:root {
    --s33-bg: #f8fafc;
    --s33-bg-2: #eef2f7;
    --s33-card: rgba(255, 255, 255, .94);
    --s33-border: rgba(15, 23, 42, .10);
    --s33-text: #0f172a;
    --s33-muted: #64748b;
    --s33-green: #16a34a;
    --s33-emerald: #10b981;
    --s33-cyan: #0891b2;
    --s33-orange: #f97316;
    --s33-gold: #f59e0b;
}

html.fi,
html.fi.dark {
    color-scheme: light !important;
}

html.fi.dark body:not(.s33-guest-body),
html.fi body:not(.s33-guest-body) {
    background: #f8fafc !important;
    color: #0f172a !important;
}

.fi-layout,
.fi-main,
.fi-page,
.fi-topbar,
.fi-sidebar,
.fi-sidebar-header,
.fi-sidebar-nav,
.fi-ta,
.fi-section,
.fi-modal-window,
.fi-dropdown-panel {
    color: #0f172a;
}

html.fi.dark .fi-layout,
html.fi.dark .fi-main,
html.fi.dark .fi-page {
    background: #f8fafc !important;
}

html.fi.dark .fi-sidebar,
html.fi.dark .fi-topbar,
html.fi.dark .fi-sidebar-header {
    background: rgba(255, 255, 255, .96) !important;
    border-color: rgba(15, 23, 42, .08) !important;
    box-shadow: 0 12px 40px rgba(15, 23, 42, .06);
}

html.fi.dark .fi-sidebar-nav,
html.fi.dark .fi-sidebar-item-label,
html.fi.dark .fi-sidebar-group-label,
html.fi.dark .fi-topbar .fi-icon-btn,
html.fi.dark .fi-user-menu,
html.fi.dark .fi-breadcrumbs,
html.fi.dark .fi-header-heading,
html.fi.dark .fi-header-subheading {
    color: #0f172a !important;
}

html.fi.dark .fi-sidebar-item.fi-active .fi-sidebar-item-button,
html.fi.dark .fi-sidebar-item-button:hover {
    background: #ecfdf5 !important;
    color: #047857 !important;
}

html.fi.dark .fi-section,
html.fi.dark .fi-ta-ctn,
html.fi.dark .fi-ta-content,
html.fi.dark .fi-ta-header,
html.fi.dark .fi-ta-table,
html.fi.dark .fi-modal-window,
html.fi.dark .fi-dropdown-panel,
html.fi.dark .fi-fo-field-wrp,
html.fi.dark .fi-input-wrp {
    background-color: #ffffff !important;
    border-color: rgba(15, 23, 42, .10) !important;
    color: #0f172a !important;
}

html.fi.dark .fi-ta-row:hover,
html.fi.dark .fi-ta-summary-row:hover {
    background: #f8fafc !important;
}

html.fi.dark .fi-input,
html.fi.dark .fi-select-input,
html.fi.dark .fi-textarea,
html.fi.dark input,
html.fi.dark textarea,
html.fi.dark select {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-color: rgba(15, 23, 42, .14) !important;
}

html.fi.dark .fi-input::placeholder,
html.fi.dark input::placeholder,
html.fi.dark textarea::placeholder {
    color: #94a3b8 !important;
}

html.fi.dark .fi-ta-text,
html.fi.dark .fi-ta-cell,
html.fi.dark .fi-fo-field-label,
html.fi.dark .fi-fo-field-label-content,
html.fi.dark .fi-fieldset-legend,
html.fi.dark .fi-section-header-heading,
html.fi.dark .fi-section-header-description {
    color: #0f172a !important;
}

html.fi.dark .fi-ta-header-cell-label,
html.fi.dark .fi-ta-empty-state-heading,
html.fi.dark .fi-ta-empty-state-description,
html.fi.dark .fi-sidebar-group-label {
    color: #64748b !important;
}

.s33-panel-page,
.s33-feature-page {
    color: #0f172a;
}

.s33-panel-hero,
.s33-feature-hero {
    color: #0f172a !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.94), rgba(240,253,244,.90)),
        url('/images/s33-survival-bg.png') center / cover !important;
    border: 1px solid rgba(15,23,42,.08) !important;
    box-shadow: 0 22px 70px rgba(15,23,42,.08) !important;
}

.s33-panel-hero h2,
.s33-feature-hero h2,
.s33-feature-kicker {
    color: #0f172a !important;
}

.s33-panel-hero p,
.s33-feature-hero p {
    color: #475569 !important;
}

.s33-panel-card,
.s33-task,
.s33-feature-card,
.s33-feature-note {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: rgba(15,23,42,.08) !important;
    box-shadow: 0 16px 46px rgba(15,23,42,.07) !important;
}

.s33-task small,
.s33-panel-card span,
.s33-feature-note p {
    color: #64748b !important;
}

body.s33-guest-body,
.s33-hub-page {
    color: #0f172a !important;
    background:
        radial-gradient(circle at 15% 8%, rgba(34,197,94,.14), transparent 28rem),
        radial-gradient(circle at 86% 18%, rgba(245,158,11,.12), transparent 26rem),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 54%, #eef2ff 100%) !important;
}

body.s33-guest-body .fi-simple-layout {
    background:
        radial-gradient(circle at 14% 10%, rgba(34,197,94,.13), transparent 26rem),
        radial-gradient(circle at 84% 16%, rgba(245,158,11,.10), transparent 24rem),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 55%, #eef2ff 100%) !important;
}

body.s33-guest-body .fi-simple-main::before,
body.s33-guest-body .fi-simple-main::after,
.s33-hub-page::before,
.s33-guest-shell::before {
    display: none !important;
}

body.s33-guest-body .s33-login-card {
    background: rgba(255,255,255,.96) !important;
    border: 1px solid rgba(15,23,42,.10) !important;
    color: #0f172a !important;
    box-shadow: 0 24px 80px rgba(15,23,42,.13) !important;
}

body.s33-guest-body .s33-login-card h2,
body.s33-guest-body .s33-login-card label,
body.s33-guest-body .s33-login-card .fi-fo-field-label,
body.s33-guest-body .s33-login-card .fi-fo-field-label-content {
    color: #0f172a !important;
}

body.s33-guest-body .s33-login-card p,
body.s33-guest-body .s33-login-footer {
    color: #64748b !important;
}

body.s33-guest-body .s33-login-card .fi-input-wrp,
body.s33-guest-body .s33-login-card input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: rgba(15,23,42,.14) !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.04) !important;
}

body.s33-guest-body .s33-login-card input:focus {
    border-color: rgba(22,163,74,.60) !important;
    box-shadow: 0 0 0 3px rgba(34,197,94,.14) !important;
}

body.s33-guest-body .s33-captcha-code span {
    color: #064e3b !important;
    background:
        linear-gradient(135deg, rgba(220,252,231,.96), rgba(254,249,195,.94)),
        repeating-linear-gradient(-18deg, rgba(15,23,42,.06) 0 1px, transparent 1px 7px) !important;
    border: 1px solid rgba(34,197,94,.22) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.80), 0 8px 22px rgba(15,23,42,.06) !important;
}

body.s33-guest-body .s33-login-card button[type='submit'],
body.s33-guest-body .s33-login-card .fi-btn-color-primary {
    color: #ffffff !important;
    background: linear-gradient(135deg, #16a34a, #22c55e) !important;
    box-shadow: 0 16px 34px rgba(34,197,94,.22) !important;
}

body.s33-guest-body .s33-login-brand__mark,
body.s33-guest-body .s33-brand-lockup__mark {
    color: #064e3b !important;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 52%, #fef08a 100%) !important;
    box-shadow: 0 14px 28px rgba(34,197,94,.18), inset 0 1px 0 rgba(255,255,255,.75) !important;
}

/* S33 visual polish v2 — white Filament + 生存33天素材 + readable sidebar icons. */
:root {
    --s33-white-bg: #f6f8fb;
    --s33-white-panel: #ffffff;
    --s33-ink: #101828;
    --s33-soft: #667085;
    --s33-line: rgba(16, 24, 40, .10);
    --s33-brand: #16a34a;
    --s33-brand-2: #f59e0b;
    --s33-ring: rgba(22, 163, 74, .18);
}

html.fi,
html.fi.dark {
    color-scheme: light !important;
}

html.fi.dark body:not(.s33-guest-body),
html.fi body:not(.s33-guest-body) {
    background:
        radial-gradient(circle at 18% 0%, rgba(34, 197, 94, .10), transparent 31rem),
        radial-gradient(circle at 94% 10%, rgba(245, 158, 11, .10), transparent 28rem),
        var(--s33-white-bg) !important;
    color: var(--s33-ink) !important;
}

/* Brand: use actual 生存33天 logo, not a generic S33 letter block. */
.s33-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.s33-brand-lockup__badge {
    position: relative;
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 58%, #fff7ed 100%);
    border: 1px solid rgba(22, 163, 74, .18);
    box-shadow: 0 12px 28px rgba(16, 24, 40, .10), inset 0 1px 0 rgba(255, 255, 255, .86);
}

.s33-brand-lockup__badge img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    object-position: center;
    transform: rotate(0deg) scale(1.25);
    filter: drop-shadow(0 7px 10px rgba(16, 24, 40, .16));
}

.s33-brand-lockup__text {
    display: grid;
    min-width: 0;
    line-height: 1.08;
}

.s33-brand-lockup__text strong {
    color: var(--s33-ink);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -.04em;
    white-space: nowrap;
}

.s33-brand-lockup__text small {
    margin-top: 3px;
    color: #16a34a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    white-space: nowrap;
}

.s33-brand-lockup--compact .s33-brand-lockup__badge {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 13px;
}

.s33-brand-lockup--compact .s33-brand-lockup__badge img {
    width: 30px;
    height: 30px;
}

.s33-brand-lockup--compact .s33-brand-lockup__text strong {
    max-width: 84px;
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
}

/* Login: a single modern Filament-like card, no extra entrance cards. */
body.s33-guest-body,
body.s33-guest-body .fi-simple-layout {
    color: var(--s33-ink) !important;
    background:
        linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.84)),
        radial-gradient(circle at 14% 10%, rgba(34,197,94,.16), transparent 25rem),
        radial-gradient(circle at 86% 12%, rgba(245,158,11,.13), transparent 24rem),
        url('/images/s33-survival-bg.png') center / cover fixed,
        #f7fafc !important;
}

body.s33-guest-body .fi-simple-main,
body.s33-guest-body .fi-simple-main-ctn,
body.s33-guest-body .fi-simple-main > div[wire\:id] {
    width: 100% !important;
    max-width: none !important;
}

body.s33-guest-body .s33-guest-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px 16px;
}

body.s33-guest-body .s33-login-layout,
body.s33-guest-body .s33-login-layout--single {
    width: min(430px, 100%) !important;
    display: block !important;
}

body.s33-guest-body .s33-login-card {
    position: relative;
    overflow: hidden;
    width: 100% !important;
    padding: clamp(24px, 3.5vw, 34px) !important;
    border-radius: 28px !important;
    background: rgba(255,255,255,.94) !important;
    border: 1px solid rgba(16,24,40,.10) !important;
    box-shadow: 0 28px 84px rgba(16,24,40,.15), 0 1px 0 rgba(255,255,255,.9) inset !important;
    backdrop-filter: blur(18px);
}

body.s33-guest-body .s33-login-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #22c55e, #f59e0b, #60a5fa);
}

body.s33-guest-body .s33-login-card__head {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 24px !important;
}

body.s33-guest-body .s33-login-logo-frame {
    display: inline-flex;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #ecfdf5 62%, #fff7ed);
    border: 1px solid rgba(22, 163, 74, .20);
    box-shadow: 0 16px 34px rgba(16,24,40,.12), inset 0 1px 0 rgba(255,255,255,.9);
}

body.s33-guest-body .s33-login-logo-frame img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    object-position: center;
    transform: scale(1.22);
    filter: drop-shadow(0 7px 10px rgba(16,24,40,.16));
}

body.s33-guest-body .s33-login-title-block {
    display: grid;
    gap: 3px;
    min-width: 0;
}

body.s33-guest-body .s33-login-kicker {
    color: #16a34a !important;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
}

body.s33-guest-body .s33-login-card h2 {
    margin: 0 !important;
    color: var(--s33-ink) !important;
    font-size: 28px !important;
    font-weight: 920 !important;
    line-height: 1.12 !important;
    letter-spacing: -.055em !important;
}

body.s33-guest-body .s33-login-card form,
body.s33-guest-body .s33-login-card .fi-sc {
    display: grid !important;
    gap: 16px !important;
}

body.s33-guest-body .s33-login-card .fi-grid {
    align-items: end !important;
    gap: 14px !important;
}

body.s33-guest-body .s33-login-card .fi-fo-field-wrp,
body.s33-guest-body .s33-login-card .fi-input-wrp,
body.s33-guest-body .s33-login-card .fi-sc-component {
    width: 100% !important;
    min-width: 0 !important;
}

body.s33-guest-body .s33-login-card label,
body.s33-guest-body .s33-login-card .fi-fo-field-label,
body.s33-guest-body .s33-login-card .fi-fo-field-label-content {
    color: #344054 !important;
    font-size: 13px !important;
    font-weight: 750 !important;
}

body.s33-guest-body .s33-login-card .fi-input-wrp,
body.s33-guest-body .s33-login-card input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.s33-guest-body .s33-login-card select,
body.s33-guest-body .s33-login-card .fi-select-input {
    min-height: 50px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    color: #101828 !important;
    border-color: rgba(16,24,40,.13) !important;
    box-shadow: 0 1px 2px rgba(16,24,40,.04) !important;
    outline: none !important;
}

body.s33-guest-body .s33-login-card input:focus,
body.s33-guest-body .s33-login-card select:focus,
body.s33-guest-body .s33-login-card .fi-select-input:focus {
    border-color: rgba(22,163,74,.62) !important;
    box-shadow: 0 0 0 4px var(--s33-ring) !important;
}

body.s33-guest-body .s33-login-card select {
    appearance: auto !important;
    -webkit-appearance: menulist !important;
}

body.s33-guest-body .s33-login-card .choices,
body.s33-guest-body .s33-login-card .choices__inner,
body.s33-guest-body .s33-login-card .choices__input,
body.s33-guest-body .s33-login-card .choices__list--dropdown,
body.s33-guest-body .s33-login-card .ts-wrapper,
body.s33-guest-body .s33-login-card .ts-control,
body.s33-guest-body .s33-login-card .ts-dropdown {
    border-color: rgba(16,24,40,.13) !important;
    box-shadow: none !important;
    outline: none !important;
}

body.s33-guest-body .s33-login-card .fi-checkbox-input[type="checkbox"] {
    inline-size: 18px !important;
    block-size: 18px !important;
    min-inline-size: 18px !important;
    min-block-size: 18px !important;
    margin: 0 !important;
}

body.s33-guest-body .s33-login-card .fi-fo-field-label:has(input[type="checkbox"]) {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

body.s33-guest-body .s33-captcha-code {
    display: flex !important;
    align-items: end !important;
    height: 100%;
}

body.s33-guest-body .s33-captcha-code span {
    display: flex !important;
    width: 100% !important;
    min-height: 50px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 16px !important;
    color: #14532d !important;
    font-size: 22px !important;
    font-weight: 950 !important;
    letter-spacing: .22em !important;
    text-indent: .22em !important;
    background:
        linear-gradient(135deg, rgba(220,252,231,.98), rgba(255,247,237,.98)),
        repeating-linear-gradient(-18deg, rgba(16,24,40,.055) 0 1px, transparent 1px 7px) !important;
    border: 1px solid rgba(22,163,74,.22) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 20px rgba(16,24,40,.06) !important;
    user-select: none;
}

body.s33-guest-body .s33-login-card button[type='submit'],
body.s33-guest-body .s33-login-card .fi-btn-color-primary {
    min-height: 50px !important;
    width: 100% !important;
    justify-content: center !important;
    border-radius: 16px !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #16a34a, #22c55e) !important;
    box-shadow: 0 16px 34px rgba(22,163,74,.25) !important;
}

body.s33-guest-body .s33-login-footer {
    margin-top: 22px !important;
    color: #98a2b3 !important;
    font-size: 12px !important;
    text-align: center !important;
}

@media (max-width: 520px) {
    body.s33-guest-body .s33-guest-shell { padding: 12px; }
    body.s33-guest-body .s33-login-card { border-radius: 24px !important; padding: 22px !important; }
    body.s33-guest-body .s33-login-card__head { align-items: center !important; margin-bottom: 22px !important; }
    body.s33-guest-body .s33-login-logo-frame { width: 52px; height: 52px; flex-basis: 52px; border-radius: 18px; }
    body.s33-guest-body .s33-login-logo-frame img { width: 43px; height: 43px; }
    body.s33-guest-body .s33-login-card h2 { font-size: 25px !important; }
}

/* Filament shell: white, modern, high-contrast. */
html.fi.dark .fi-layout,
html.fi.dark .fi-main,
html.fi.dark .fi-page,
html.fi .fi-layout,
html.fi .fi-main,
html.fi .fi-page {
    background: transparent !important;
    color: var(--s33-ink) !important;
}

html.fi.dark .fi-sidebar,
html.fi.dark .fi-topbar,
html.fi.dark .fi-sidebar-header,
html.fi .fi-sidebar,
html.fi .fi-topbar,
html.fi .fi-sidebar-header {
    background: rgba(255,255,255,.94) !important;
    border-color: rgba(16,24,40,.08) !important;
    box-shadow: 0 16px 44px rgba(16,24,40,.07) !important;
    backdrop-filter: blur(16px);
}

html.fi.dark .fi-sidebar-nav,
html.fi.dark .fi-sidebar-item-label,
html.fi.dark .fi-sidebar-group-label,
html.fi.dark .fi-topbar .fi-icon-btn,
html.fi.dark .fi-user-menu,
html.fi.dark .fi-breadcrumbs,
html.fi.dark .fi-header-heading,
html.fi.dark .fi-header-subheading,
html.fi .fi-sidebar-nav,
html.fi .fi-sidebar-item-label,
html.fi .fi-sidebar-group-label,
html.fi .fi-topbar .fi-icon-btn,
html.fi .fi-user-menu,
html.fi .fi-breadcrumbs,
html.fi .fi-header-heading,
html.fi .fi-header-subheading {
    color: var(--s33-ink) !important;
}

html.fi.dark .fi-sidebar-group-label,
html.fi .fi-sidebar-group-label {
    color: #667085 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    letter-spacing: .055em !important;
}

html.fi.dark .fi-sidebar-item-button,
html.fi .fi-sidebar-item-button {
    border-radius: 12px !important;
    color: #344054 !important;
}

html.fi.dark .fi-sidebar-item-icon,
html.fi .fi-sidebar-item-icon {
    color: #667085 !important;
    stroke-width: 1.9 !important;
}

html.fi.dark .fi-sidebar-item.fi-active .fi-sidebar-item-button,
html.fi.dark .fi-sidebar-item-button:hover,
html.fi .fi-sidebar-item.fi-active .fi-sidebar-item-button,
html.fi .fi-sidebar-item-button:hover {
    background: linear-gradient(135deg, #ecfdf5, #fff7ed) !important;
    color: #047857 !important;
}

html.fi.dark .fi-sidebar-item.fi-active .fi-sidebar-item-icon,
html.fi.dark .fi-sidebar-item-button:hover .fi-sidebar-item-icon,
html.fi .fi-sidebar-item.fi-active .fi-sidebar-item-icon,
html.fi .fi-sidebar-item-button:hover .fi-sidebar-item-icon {
    color: #16a34a !important;
}

html.fi.dark .fi-section,
html.fi.dark .fi-ta-ctn,
html.fi.dark .fi-ta-content,
html.fi.dark .fi-ta-header,
html.fi.dark .fi-ta-table,
html.fi.dark .fi-modal-window,
html.fi.dark .fi-dropdown-panel,
html.fi.dark .fi-fo-field-wrp,
html.fi.dark .fi-input-wrp,
html.fi .fi-section,
html.fi .fi-ta-ctn,
html.fi .fi-ta-content,
html.fi .fi-ta-header,
html.fi .fi-ta-table,
html.fi .fi-modal-window,
html.fi .fi-dropdown-panel,
html.fi .fi-fo-field-wrp,
html.fi .fi-input-wrp {
    background-color: #ffffff !important;
    border-color: rgba(16,24,40,.09) !important;
    color: var(--s33-ink) !important;
}

html.fi.dark .fi-ta-row:hover,
html.fi .fi-ta-row:hover {
    background: #f8fafc !important;
}

html.fi.dark input,
html.fi.dark textarea,
html.fi.dark select,
html.fi .fi-input,
html.fi .fi-select-input,
html.fi .fi-textarea,
html.fi input,
html.fi textarea,
html.fi select {
    background-color: #ffffff !important;
    color: var(--s33-ink) !important;
    border-color: rgba(16,24,40,.13) !important;
}

html.fi.dark .fi-ta-text,
html.fi.dark .fi-ta-cell,
html.fi.dark .fi-fo-field-label,
html.fi.dark .fi-fo-field-label-content,
html.fi.dark .fi-section-header-heading,
html.fi.dark .fi-section-header-description,
html.fi .fi-ta-text,
html.fi .fi-ta-cell,
html.fi .fi-fo-field-label,
html.fi .fi-fo-field-label-content,
html.fi .fi-section-header-heading,
html.fi .fi-section-header-description {
    color: var(--s33-ink) !important;
}

/* Dashboard hero using S33 game assets. */
.s33-panel-page,
.s33-feature-page {
    color: var(--s33-ink) !important;
}

.s33-panel-page {
    display: grid;
    gap: 18px;
}

.s33-panel-hero,
.s33-feature-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px !important;
    border: 1px solid rgba(16,24,40,.08) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(240,253,244,.88) 56%, rgba(255,247,237,.90)),
        url('/images/s33-survival-bg.png') center / cover !important;
    box-shadow: 0 24px 70px rgba(16,24,40,.09) !important;
}

.s33-panel-hero {
    min-height: 220px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 28%);
    align-items: center;
    gap: 18px;
    padding: clamp(24px, 3vw, 34px) !important;
}

.s33-panel-hero::after,
.s33-feature-hero::after {
    content: '';
    position: absolute;
    right: -120px;
    bottom: -150px;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(34,197,94,.20), transparent 68%);
    pointer-events: none;
}

.s33-panel-hero__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.s33-panel-hero__brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    padding: 7px 10px 7px 8px;
    border-radius: 999px;
    color: #047857;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    background: rgba(236,253,245,.84);
    border: 1px solid rgba(22,163,74,.16);
}

.s33-panel-hero__brand img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transform: scale(1.18);
}

.s33-panel-hero h2,
.s33-feature-hero h2 {
    margin: 0 0 10px !important;
    color: var(--s33-ink) !important;
    font-size: clamp(32px, 4vw, 48px) !important;
    font-weight: 950 !important;
    letter-spacing: -.065em !important;
    line-height: 1.02 !important;
}

.s33-panel-hero p,
.s33-feature-hero p {
    max-width: 720px !important;
    margin: 0 !important;
    color: #475467 !important;
    font-size: 15px !important;
    line-height: 1.72 !important;
}

.s33-panel-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.s33-panel-hero__chips span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: #344054;
    font-size: 11px;
    font-weight: 850;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(16,24,40,.08);
}

.s33-panel-hero__art {
    position: relative;
    z-index: 1;
    justify-self: end;
    width: min(310px, 100%);
    max-height: 210px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 24px 32px rgba(16,24,40,.18));
}

.s33-panel-hero--agent .s33-panel-hero__art {
    max-height: 225px;
}

.s33-panel-hero--player .s33-panel-hero__art,
.s33-panel-hero--support .s33-panel-hero__art {
    max-height: 215px;
}

.s33-panel-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.s33-panel-card,
.s33-task,
.s33-feature-card,
.s33-feature-note {
    background: rgba(255,255,255,.96) !important;
    color: var(--s33-ink) !important;
    border: 1px solid rgba(16,24,40,.08) !important;
    box-shadow: 0 16px 46px rgba(16,24,40,.07) !important;
}

.s33-panel-card {
    position: relative;
    overflow: hidden;
    min-height: 104px;
    border-radius: 22px;
    padding: 20px;
}

.s33-panel-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(#22c55e, #f59e0b);
}

.s33-panel-card b {
    display: block;
    color: var(--s33-ink);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 950;
    letter-spacing: -.06em;
}

.s33-panel-card span,
.s33-task small,
.s33-feature-note p {
    color: #667085 !important;
}

.s33-task-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.s33-task {
    position: relative;
    overflow: hidden;
    min-height: 118px;
    border-radius: 22px;
    padding: 20px;
}

.s33-task::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    right: -54px;
    bottom: -64px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(34,197,94,.14), transparent 68%);
}

.s33-task strong {
    display: block;
    margin-bottom: 8px;
    color: var(--s33-ink);
    font-size: 16px;
    font-weight: 900;
}

.s33-task small {
    display: block;
    line-height: 1.65;
}

.s33-feature-hero {
    padding: clamp(24px, 3vw, 32px) !important;
}

.s33-feature-kicker {
    color: #047857 !important;
    font-weight: 900 !important;
}

.s33-feature-grid {
    gap: 14px !important;
}

.s33-feature-card {
    min-height: 108px;
    border-radius: 22px !important;
}

/* Give sidebar icons different visual tones even when many share the same family icon. */
.fi-sidebar-item:nth-child(8n + 1) .fi-sidebar-item-icon { color: #16a34a !important; }
.fi-sidebar-item:nth-child(8n + 2) .fi-sidebar-item-icon { color: #2563eb !important; }
.fi-sidebar-item:nth-child(8n + 3) .fi-sidebar-item-icon { color: #f97316 !important; }
.fi-sidebar-item:nth-child(8n + 4) .fi-sidebar-item-icon { color: #7c3aed !important; }
.fi-sidebar-item:nth-child(8n + 5) .fi-sidebar-item-icon { color: #0891b2 !important; }
.fi-sidebar-item:nth-child(8n + 6) .fi-sidebar-item-icon { color: #dc2626 !important; }
.fi-sidebar-item:nth-child(8n + 7) .fi-sidebar-item-icon { color: #ca8a04 !important; }
.fi-sidebar-item:nth-child(8n) .fi-sidebar-item-icon { color: #475467 !important; }

@media (max-width: 1100px) {
    .s33-panel-hero {
        grid-template-columns: minmax(0, 1fr) 190px;
    }
    .s33-panel-hero__art { max-height: 180px; }
}

@media (max-width: 860px) {
    .s33-panel-hero {
        min-height: auto;
        grid-template-columns: 1fr;
    }
    .s33-panel-hero__art {
        position: absolute;
        right: -42px;
        bottom: -28px;
        width: 210px;
        opacity: .18;
    }
    .s33-panel-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .s33-task-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    .s33-panel-hero { border-radius: 22px !important; padding: 22px !important; }
    .s33-panel-hero h2 { font-size: 32px !important; }
    .s33-panel-cards { grid-template-columns: 1fr; }
    .s33-panel-card { min-height: 92px; }
}


/* Mobile/sidebar density refinement. */
@media (max-width: 767px) {
    .s33-panel-page { gap: 14px; }
    .s33-panel-hero {
        min-height: 176px;
        padding: 20px !important;
        border-radius: 24px !important;
    }
    .s33-panel-hero__brand { margin-bottom: 10px; }
    .s33-panel-hero h2 { font-size: 34px !important; }
    .s33-panel-hero p { font-size: 14px !important; line-height: 1.62 !important; }
    .s33-panel-hero__chips { margin-top: 13px; }
    .s33-panel-card { min-height: 90px; padding: 18px; border-radius: 20px; }
    .s33-task { min-height: 104px; padding: 18px; border-radius: 20px; }
}

.fi-sidebar .s33-brand-lockup__badge { width: 38px; height: 38px; flex-basis: 38px; }
.fi-sidebar .s33-brand-lockup__badge img { width: 31px; height: 31px; }
.fi-sidebar .s33-brand-lockup__text strong { font-size: 15px; }
.fi-sidebar .fi-sidebar-item-icon { flex: 0 0 1.25rem; }


/* Final mobile contrast fix after visual QA. */
@media (max-width: 767px) {
    .s33-panel-page,
    .s33-panel-page *:not(.fi-icon):not(svg):not(path) {
        opacity: 1 !important;
    }
    .s33-panel-hero h2,
    .s33-panel-card b,
    .s33-task strong {
        color: #101828 !important;
    }
    .s33-panel-hero p,
    .s33-panel-card span,
    .s33-task small {
        color: #475467 !important;
    }
}


/* Filament mobile sidebar overlay must not wash out closed pages. */
body:not(.fi-sidebar-open) .fi-sidebar-close-overlay {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    background: transparent !important;
}
.fi-main-ctn,
.fi-main,
.fi-page,
.fi-page > * {
    opacity: 1 !important;
    filter: none !important;
}


/* S33 horizontal wordmark fix. */
.s33-brand-lockup__badge {
    width: 72px !important;
    height: 38px !important;
    flex-basis: 72px !important;
    border-radius: 14px !important;
}
.s33-brand-lockup__badge img {
    width: 62px !important;
    height: 31px !important;
    object-fit: contain !important;
    transform: none !important;
}
.s33-brand-lockup--compact .s33-brand-lockup__badge,
.fi-sidebar .s33-brand-lockup__badge {
    width: 58px !important;
    height: 34px !important;
    flex-basis: 58px !important;
    border-radius: 13px !important;
}
.s33-brand-lockup--compact .s33-brand-lockup__badge img,
.fi-sidebar .s33-brand-lockup__badge img {
    width: 50px !important;
    height: 25px !important;
    transform: none !important;
}
body.s33-guest-body .s33-login-logo-frame {
    width: 92px !important;
    height: 58px !important;
    flex-basis: 92px !important;
    border-radius: 20px !important;
}
body.s33-guest-body .s33-login-logo-frame img {
    width: 78px !important;
    height: 39px !important;
    object-fit: contain !important;
    transform: none !important;
}
.s33-panel-hero__brand img {
    width: 42px !important;
    height: 22px !important;
    object-fit: contain !important;
    transform: none !important;
}
@media (max-width: 520px) {
    body.s33-guest-body .s33-login-logo-frame { width: 84px !important; height: 54px !important; flex-basis: 84px !important; }
    body.s33-guest-body .s33-login-logo-frame img { width: 72px !important; height: 36px !important; }
}


/* S33 final logo orientation contract — always use horizontal wordmark unrotated. */
.s33-brand-lockup {
    gap: 0 !important;
}
.s33-brand-lockup__badge {
    width: 132px !important;
    height: 54px !important;
    flex: 0 0 132px !important;
    padding: 0 !important;
    overflow: visible !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.s33-brand-lockup__badge img {
    width: 132px !important;
    height: 54px !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    rotate: 0deg !important;
    filter: drop-shadow(0 10px 16px rgba(16, 24, 40, .12)) !important;
}
.s33-brand-lockup__text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}
.s33-brand-lockup--compact .s33-brand-lockup__badge,
.fi-sidebar .s33-brand-lockup__badge {
    width: 118px !important;
    height: 48px !important;
    flex-basis: 118px !important;
}
.s33-brand-lockup--compact .s33-brand-lockup__badge img,
.fi-sidebar .s33-brand-lockup__badge img {
    width: 118px !important;
    height: 48px !important;
    transform: none !important;
    rotate: 0deg !important;
}
body.s33-guest-body .s33-login-logo-frame {
    width: 150px !important;
    height: 78px !important;
    flex: 0 0 150px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
body.s33-guest-body .s33-login-logo-frame img {
    width: 150px !important;
    height: 76px !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    rotate: 0deg !important;
    filter: drop-shadow(0 12px 16px rgba(16,24,40,.14)) !important;
}
body.s33-guest-body .s33-login-card__head {
    align-items: center !important;
    gap: 14px !important;
}
.s33-panel-hero__brand img {
    width: 64px !important;
    height: 32px !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    rotate: 0deg !important;
}
@media (max-width: 520px) {
    body.s33-guest-body .s33-login-logo-frame {
        width: 126px !important;
        height: 64px !important;
        flex-basis: 126px !important;
    }
    body.s33-guest-body .s33-login-logo-frame img {
        width: 126px !important;
        height: 63px !important;
    }
    body.s33-guest-body .s33-login-card__head {
        gap: 10px !important;
    }
}

/* Public player registration: real form, agent invite binding, white premium layout. */
body.s33-register-page {
    min-height: 100svh;
    margin: 0;
    color: #0f172a;
    background:
        radial-gradient(circle at 12% 10%, rgba(34, 197, 94, .16), transparent 28rem),
        radial-gradient(circle at 86% 14%, rgba(249, 115, 22, .14), transparent 28rem),
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(248, 250, 252, .94)),
        url('/images/s33-survival-bg.png') center / cover fixed;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.s33-register-page::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(15, 23, 42, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .028) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 82%);
}

.s33-register-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    min-height: 100svh;
    margin: 0 auto;
    padding: 34px 0;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: clamp(22px, 4vw, 54px);
}

.s33-register-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.s33-register-nav__links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.s33-register-nav a,
.s33-register-footer a {
    color: #047857;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.s33-register-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.s33-register-nav a.is-download {
    color: #ffffff;
    border-color: rgba(16, 185, 129, .38);
    background: linear-gradient(135deg, #0f172a, #10b981);
    box-shadow: 0 16px 32px rgba(16, 185, 129, .22);
}

.s33-register-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 470px);
    gap: clamp(22px, 4vw, 42px);
    align-items: center;
}

.s33-register-hero,
.s33-register-card {
    border: 1px solid rgba(148, 163, 184, .24);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 30px 90px rgba(15, 23, 42, .10);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.s33-register-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-radius: 34px;
    padding: clamp(28px, 4vw, 46px);
    isolation: isolate;
}

.s33-register-hero::before {
    content: '';
    position: absolute;
    inset: auto -16% -28% -12%;
    height: 62%;
    z-index: -1;
    background:
        radial-gradient(circle at 70% 30%, rgba(34, 197, 94, .26), transparent 32rem),
        radial-gradient(circle at 40% 60%, rgba(249, 115, 22, .20), transparent 28rem);
}

.s33-register-hero span {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.s33-register-hero h1 {
    margin: 22px 0 14px;
    max-width: 520px;
    font-size: clamp(48px, 8vw, 92px);
    line-height: .9;
    letter-spacing: -.09em;
}

.s33-register-hero p {
    max-width: 470px;
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}

.s33-register-hero img {
    position: absolute;
    right: -18px;
    bottom: 10px;
    width: min(46vw, 360px);
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 28px 42px rgba(15, 23, 42, .20));
}

.s33-register-card {
    border-radius: 32px;
    padding: clamp(24px, 3vw, 34px);
}

.s33-register-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.s33-register-card__head strong {
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -.05em;
}

.s33-register-card__head em {
    flex: 0 0 auto;
    max-width: 170px;
    overflow: hidden;
    padding: 8px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-style: normal;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.s33-register-alert {
    margin-bottom: 14px;
    padding: 12px 13px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 750;
}

.s33-register-alert.is-error {
    border: 1px solid rgba(244, 63, 94, .26);
    background: #fff1f2;
    color: #be123c;
}

.s33-register-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.s33-register-form label {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.s33-register-form label.is-full,
.s33-register-form button {
    grid-column: 1 / -1;
}

.s33-register-form span {
    color: #475569;
    font-size: 13px;
    font-weight: 850;
}

.s33-register-form input,
.s33-register-form select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid rgba(148, 163, 184, .34);
    border-radius: 17px;
    background: #f8fafc;
    color: #0f172a;
    outline: none;
    padding: 13px 14px;
    font-size: 14px;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.s33-register-form input:focus,
.s33-register-form select:focus {
    border-color: rgba(16, 185, 129, .68);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .12);
}

.s33-register-form button {
    margin-top: 4px;
    border: 0;
    border-radius: 18px;
    padding: 15px 18px;
    background: linear-gradient(135deg, #0f172a, #10b981);
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 950;
    box-shadow: 0 18px 38px rgba(16, 185, 129, .24);
}

.s33-register-form button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.s33-register-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 13px 16px;
    border: 1px solid rgba(16, 185, 129, .22);
    border-radius: 18px;
    background: rgba(236, 253, 245, .76);
    color: #047857;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.s33-register-download strong {
    color: #065f46;
    font-weight: 950;
}

.s33-register-footer {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 20px;
    color: #94a3b8;
    font-size: 13px;
}

@media (max-width: 920px) {
    .s33-register-layout {
        grid-template-columns: 1fr;
    }
    .s33-register-hero {
        min-height: 300px;
    }
    .s33-register-hero img {
        width: 230px;
        opacity: .88;
    }
}

@media (max-width: 560px) {
    .s33-register-shell {
        width: min(100% - 24px, 1180px);
        padding: 18px 0 28px;
    }
    .s33-register-nav {
        align-items: flex-start;
        flex-direction: column;
    }
    .s33-register-nav__links {
        width: 100%;
        flex-direction: column;
    }
    .s33-register-nav a {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    .s33-register-hero,
    .s33-register-card {
        border-radius: 26px;
    }
    .s33-register-hero {
        min-height: 250px;
        padding: 24px;
    }
    .s33-register-hero h1 {
        font-size: 50px;
    }
    .s33-register-hero p {
        max-width: 72%;
        font-size: 14px;
    }
    .s33-register-hero img {
        right: -48px;
        bottom: -8px;
        width: 220px;
        opacity: .58;
    }
    .s33-register-card__head {
        align-items: flex-start;
        flex-direction: column;
    }
    .s33-register-form {
        grid-template-columns: 1fr;
    }
}

/* S33 Feature workbench — turns placeholder pages into operator consoles. */
.s33-feature-console {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.s33-feature-hero--ops {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 22px;
    background:
        radial-gradient(circle at 8% 0%, rgba(16, 185, 129, .16), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 58%, #eef2ff 100%) !important;
    border: 1px solid rgba(148, 163, 184, .22) !important;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08) !important;
}
.s33-feature-hero__meta {
    min-width: 170px;
    padding: 14px 16px;
    border-radius: 22px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(148, 163, 184, .25);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.s33-feature-hero__meta b,
.s33-feature-hero__meta span { display: block; }
.s33-feature-hero__meta b { color: #0f172a; font-size: 14px; }
.s33-feature-hero__meta span { color: #64748b; font-size: 12px; margin-top: 4px; word-break: break-all; }
.s33-feature-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.s33-feature-stat {
    min-height: 104px;
    border-radius: 22px;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .2);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .06);
}
.s33-feature-stat span,
.s33-feature-stat small { display: block; color: #64748b; }
.s33-feature-stat span { font-size: 13px; font-weight: 700; }
.s33-feature-stat strong { display: block; margin-top: 7px; color: #0f172a; font-size: 28px; letter-spacing: -.04em; }
.s33-feature-stat small { margin-top: 6px; font-size: 12px; }
.s33-feature-workbench {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}
.s33-action-list,
.s33-action-panel,
.s33-result-box,
.s33-operator-tips {
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .22);
    box-shadow: 0 22px 70px rgba(15, 23, 42, .07);
}
.s33-action-list { padding: 16px; position: sticky; top: 16px; }
.s33-section-head span,
.s33-action-panel__head span,
.s33-result-box header span {
    display: block;
    color: #0ea5e9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.s33-section-head strong,
.s33-action-panel__head h3,
.s33-result-box header strong {
    display: block;
    color: #0f172a;
    font-weight: 850;
    letter-spacing: -.03em;
}
.s33-section-head strong { font-size: 18px; margin-top: 3px; }
.s33-action-list__items { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; max-height: 68vh; overflow: auto; padding-right: 2px; }
.s33-action-tab {
    width: 100%;
    text-align: left;
    padding: 13px 14px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: #f8fafc;
    color: #334155;
    transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.s33-action-tab:hover { transform: translateY(-1px); border-color: rgba(14, 165, 233, .35); background: #fff; }
.s33-action-tab.is-active {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    box-shadow: 0 16px 40px rgba(15,23,42,.2);
}
.s33-action-tab.is-danger:not(.is-active) { border-color: rgba(244, 63, 94, .24); background: #fff7f8; }
.s33-action-tab span { display: block; opacity: .72; font-size: 11px; font-weight: 800; }
.s33-action-tab strong { display: block; margin-top: 4px; font-size: 14px; }
.s33-action-panel { padding: 22px; }
.s33-action-panel__head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.s33-action-panel__head h3 { margin: 4px 0 0; font-size: 26px; }
.s33-safe-chip,
.s33-danger-chip {
    flex: 0 0 auto;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
}
.s33-safe-chip { background: #ecfdf5; color: #047857; }
.s33-danger-chip { background: #fff1f2; color: #be123c; }
.s33-action-desc { margin: 12px 0 0; color: #64748b; line-height: 1.72; }
.s33-action-form { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.s33-field { display: flex; flex-direction: column; gap: 7px; color: #334155; font-weight: 760; font-size: 13px; }
.s33-field textarea,
.s33-field input,
.s33-field select {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, .34);
    background: #f8fafc;
    color: #0f172a;
    padding: 11px 13px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
.s33-field textarea:focus,
.s33-field input:focus,
.s33-field select:focus { border-color: rgba(14, 165, 233, .65); background: #fff; box-shadow: 0 0 0 4px rgba(14,165,233,.12); }
.s33-field textarea { resize: vertical; min-height: 112px; }
.s33-field:has(textarea),
.s33-confirm-field,
.s33-action-submit-row { grid-column: 1 / -1; }
.s33-checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, .34);
    background: #f8fafc;
}
.s33-checkbox-row input { width: 18px; height: 18px; padding: 0; box-shadow: none; }
.s33-checkbox-row em { font-style: normal; color: #64748b; font-weight: 650; }
.s33-confirm-field small { color: #be123c; font-weight: 650; }
.s33-action-submit-row { display: flex; align-items: center; gap: 14px; margin-top: 2px; }
.s33-action-submit {
    border: 0;
    border-radius: 16px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
    font-weight: 860;
    box-shadow: 0 16px 34px rgba(37,99,235,.22);
}
.s33-action-submit[disabled] { opacity: .6; cursor: wait; }
.s33-action-submit-row small { color: #64748b; }
.s33-result-box { padding: 18px; overflow: hidden; }
.s33-result-box.is-ok { border-color: rgba(16,185,129,.28); }
.s33-result-box.is-bad { border-color: rgba(244,63,94,.28); }
.s33-result-box pre {
    margin: 14px 0 0;
    max-height: 420px;
    overflow: auto;
    padding: 16px;
    border-radius: 18px;
    background: #0f172a;
    color: #dbeafe;
    font-size: 12px;
    line-height: 1.65;
    white-space: pre-wrap;
    word-break: break-word;
}
.s33-feature-note--ops { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.s33-feature-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.s33-feature-links a {
    padding: 9px 11px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}
.s33-operator-tips { padding: 18px; }
.s33-operator-tips ul { margin: 12px 0 0; padding-left: 20px; color: #475569; line-height: 1.8; }
.s33-action-empty { padding: 16px; color: #64748b; background: #f8fafc; border-radius: 18px; }

@media (max-width: 1100px) {
    .s33-feature-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .s33-feature-workbench { grid-template-columns: 1fr; }
    .s33-action-list { position: static; }
    .s33-action-list__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; }
}
@media (max-width: 680px) {
    .s33-feature-hero--ops,
    .s33-feature-note--ops,
    .s33-action-panel__head,
    .s33-action-submit-row { flex-direction: column; align-items: stretch; }
    .s33-feature-stats,
    .s33-action-list__items,
    .s33-action-form { grid-template-columns: 1fr; }
    .s33-action-panel { padding: 18px; border-radius: 22px; }
    .s33-action-panel__head h3 { font-size: 22px; }
    .s33-feature-links { justify-content: flex-start; }
}

/* Agent register link card. */
.s33-agent-register-card {
    border-radius: 28px;
    padding: 22px;
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(236,253,245,.92));
    border: 1px solid rgba(16,185,129,.2);
    box-shadow: 0 22px 70px rgba(15,23,42,.08);
}
.s33-agent-register-card__head span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 850;
}
.s33-agent-register-card__head h3 {
    margin: 10px 0 6px;
    color: #0f172a;
    font-size: 24px;
    letter-spacing: -.04em;
}
.s33-agent-register-card__head p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}
.s33-agent-register-card__grid {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 14px;
    margin-top: 18px;
}
.s33-agent-register-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(148,163,184,.2);
}
.s33-agent-register-field--code {
    grid-row: span 2;
    justify-content: center;
}
.s33-agent-register-field span {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}
.s33-agent-register-field strong {
    color: #0f172a;
    font-size: 26px;
    letter-spacing: .02em;
}
.s33-agent-register-field div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
}
.s33-agent-register-field input {
    min-width: 0;
    border: 1px solid rgba(148,163,184,.28);
    border-radius: 14px;
    background: #f8fafc;
    color: #0f172a;
    padding: 10px 12px;
    font-weight: 650;
}
.s33-agent-register-field button,
.s33-agent-register-field a {
    border: 0;
    border-radius: 14px;
    padding: 10px 13px;
    background: #0f172a;
    color: #fff;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}
.s33-agent-register-field a { background: #10b981; }
@media (max-width: 720px) {
    .s33-agent-register-card__grid { grid-template-columns: 1fr; }
    .s33-agent-register-field--code { grid-row: auto; }
    .s33-agent-register-field div { grid-template-columns: 1fr; }
}

/* Final readability pass: no low-contrast fantasy colors on public/auth pages. */
.s33-hub-page {
    color: #101828 !important;
    background:
        radial-gradient(circle at 16% 8%, rgba(34, 197, 94, .10), transparent 28rem),
        radial-gradient(circle at 86% 14%, rgba(245, 158, 11, .09), transparent 26rem),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 58%, #eef2ff 100%) !important;
}

.s33-hub-page::before {
    display: none !important;
}

.s33-hub-nav {
    margin-bottom: clamp(34px, 5vw, 58px) !important;
}

.s33-status-pill {
    color: #344054 !important;
    background: rgba(255, 255, 255, .84) !important;
    border: 1px solid rgba(16, 24, 40, .10) !important;
    box-shadow: 0 10px 26px rgba(16, 24, 40, .06) !important;
}

.s33-hub-hero {
    align-items: center !important;
}

.s33-hub-eyebrow {
    color: #047857 !important;
    font-weight: 900 !important;
}

.s33-hub-title {
    color: #101828 !important;
    letter-spacing: -.075em !important;
}

.s33-hub-title span {
    color: #101828 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

.s33-hub-copy {
    max-width: 650px !important;
    color: #475467 !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
}

.s33-metric-panel {
    color: #101828 !important;
    background: rgba(255, 255, 255, .90) !important;
    border: 1px solid rgba(16, 24, 40, .10) !important;
    box-shadow: 0 22px 60px rgba(16, 24, 40, .10) !important;
}

.s33-metric-panel small,
.s33-mini-stat span {
    color: #667085 !important;
}

.s33-mini-stat {
    background: #f8fafc !important;
    border: 1px solid rgba(16, 24, 40, .08) !important;
}

.s33-mini-stat b,
.s33-metric-panel strong {
    color: #101828 !important;
}

.s33-entry-card {
    color: #101828 !important;
    background: rgba(255, 255, 255, .92) !important;
    border: 1px solid rgba(16, 24, 40, .10) !important;
    box-shadow: 0 18px 48px rgba(16, 24, 40, .10) !important;
}

.s33-entry-card:hover {
    background: #ffffff !important;
    border-color: rgba(22, 163, 74, .24) !important;
    box-shadow: 0 24px 64px rgba(16, 24, 40, .13) !important;
}

.s33-entry-card::before {
    opacity: .16 !important;
}

.s33-entry-card__tag {
    color: #047857 !important;
    background: #ecfdf5 !important;
    border: 1px solid rgba(16, 185, 129, .18) !important;
    font-weight: 900 !important;
}

.s33-entry-card__content strong {
    color: #101828 !important;
    font-weight: 920 !important;
}

.s33-entry-card__content small {
    color: #667085 !important;
}

.s33-entry-card__cta {
    color: #047857 !important;
    border-top-color: rgba(16, 24, 40, .08) !important;
}

body.s33-guest-body,
body.s33-guest-body .fi-simple-layout {
    color: #101828 !important;
    background:
        radial-gradient(circle at 14% 8%, rgba(34, 197, 94, .10), transparent 28rem),
        radial-gradient(circle at 86% 12%, rgba(245, 158, 11, .08), transparent 26rem),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 58%, #eef2ff 100%) !important;
}

body.s33-guest-body .s33-login-card {
    background: #ffffff !important;
    border: 1px solid rgba(16, 24, 40, .12) !important;
    color: #101828 !important;
    box-shadow: 0 24px 70px rgba(16, 24, 40, .12) !important;
}

body.s33-guest-body .s33-login-kicker {
    color: #047857 !important;
}

body.s33-guest-body .s33-login-card h2 {
    color: #101828 !important;
}

body.s33-guest-body .s33-login-card label,
body.s33-guest-body .s33-login-card .fi-fo-field-label,
body.s33-guest-body .s33-login-card .fi-fo-field-label-content,
body.s33-guest-body .s33-login-card .fi-checkbox label,
body.s33-guest-body .s33-login-card .fi-checkbox-list-option-label {
    color: #344054 !important;
}

body.s33-guest-body .s33-login-card p,
body.s33-guest-body .s33-login-footer,
body.s33-guest-body .s33-login-card .fi-fo-field-wrp-helper-text,
body.s33-guest-body .s33-login-card .fi-fo-field-wrp-hint {
    color: #667085 !important;
}

body.s33-guest-body .s33-login-card .fi-input-wrp {
    background: #ffffff !important;
    border: 1px solid rgba(16, 24, 40, .18) !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05) !important;
}

body.s33-guest-body .s33-login-card .fi-input,
body.s33-guest-body .s33-login-card input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
    color: #101828 !important;
    -webkit-text-fill-color: #101828 !important;
    caret-color: #16a34a !important;
    background: #ffffff !important;
    border-color: rgba(16, 24, 40, .18) !important;
}

body.s33-guest-body .s33-login-card .fi-input::placeholder,
body.s33-guest-body .s33-login-card input::placeholder {
    color: #98a2b3 !important;
    opacity: 1 !important;
}

body.s33-guest-body .s33-login-card .fi-input-wrp:focus-within,
body.s33-guest-body .s33-login-card input:focus {
    border-color: rgba(22, 163, 74, .62) !important;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .14) !important;
}

body.s33-guest-body .s33-login-card .fi-icon,
body.s33-guest-body .s33-login-card .fi-input-wrp-icon,
body.s33-guest-body .s33-login-card svg {
    color: #667085 !important;
}

body.s33-guest-body .s33-login-card .fi-checkbox-input[type="checkbox"] {
    background: #ffffff !important;
    border: 1px solid rgba(16, 24, 40, .28) !important;
    color: #16a34a !important;
}

body.s33-guest-body .s33-login-card button[type='submit'],
body.s33-guest-body .s33-login-card .fi-btn-color-primary {
    color: #ffffff !important;
    background: #16a34a !important;
    box-shadow: 0 14px 28px rgba(22, 163, 74, .22) !important;
}

body.s33-guest-body .s33-captcha-code span {
    color: #101828 !important;
    background: #f8fafc !important;
    border: 1px solid rgba(16, 24, 40, .14) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 1px 2px rgba(16,24,40,.04) !important;
}

@media (max-width: 980px) {
    .s33-hub-hero {
        grid-template-columns: 1fr !important;
    }
}

/* Product copy/readability pass: keep S33 admin calm, white and operator-friendly. */
.s33-feature-page,
.s33-feature-console,
.s33-panel-page {
    color: #101828 !important;
}

.s33-feature-hero--ops {
    color: #101828 !important;
    background:
        radial-gradient(circle at 8% 0%, rgba(34, 197, 94, .10), transparent 30%),
        radial-gradient(circle at 96% 10%, rgba(14, 165, 233, .08), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 62%, #f1f5f9 100%) !important;
}

.s33-feature-kicker,
.s33-section-head span,
.s33-action-panel__head span,
.s33-result-box header span {
    color: #047857 !important;
    text-transform: none !important;
    letter-spacing: .04em !important;
}

.s33-feature-hero h2,
.s33-feature-hero__meta b,
.s33-action-panel__head h3,
.s33-section-head strong,
.s33-result-box header strong,
.s33-feature-card strong,
.s33-feature-stat strong {
    color: #101828 !important;
}

.s33-feature-hero p,
.s33-feature-hero__meta span,
.s33-action-desc,
.s33-action-submit-row small,
.s33-feature-stat span,
.s33-feature-stat small,
.s33-operator-tips ul,
.s33-feature-note p {
    color: #667085 !important;
}

.s33-action-tab.is-active,
.s33-action-submit {
    background: #16a34a !important;
    box-shadow: 0 14px 28px rgba(22, 163, 74, .20) !important;
}

.s33-safe-chip {
    background: #ecfdf5 !important;
    color: #047857 !important;
}

.s33-danger-chip {
    background: #fff7ed !important;
    color: #c2410c !important;
}

.s33-result-box pre {
    background: #f8fafc !important;
    color: #101828 !important;
    border: 1px solid rgba(16, 24, 40, .10) !important;
}

.s33-native-login { display: none !important; }
.s33-login-error {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(220, 38, 38, .22);
    background: rgba(254, 242, 242, .96);
    color: #b91c1c;
    font-size: 13px;
    font-weight: 700;
}

/* Rolling notice publisher. */
.s33-notice-page {
    display: grid;
    gap: 18px;
    color: #101828;
}
.s33-notice-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    padding: 26px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 8% 0%, rgba(34, 197, 94, .12), transparent 32%),
        radial-gradient(circle at 96% 12%, rgba(14, 165, 233, .10), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 64%, #f1f5f9 100%);
    border: 1px solid rgba(148, 163, 184, .22);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}
.s33-notice-hero span,
.s33-notice-card header span {
    display: block;
    color: #047857;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;
}
.s33-notice-hero h2 {
    margin: 8px 0 8px;
    color: #101828;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    letter-spacing: -.055em;
}
.s33-notice-hero p {
    margin: 0;
    max-width: 720px;
    color: #667085;
    line-height: 1.7;
}
.s33-notice-hero__badge {
    flex: 0 0 auto;
    min-width: 150px;
    padding: 14px 16px;
    border-radius: 22px;
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(148, 163, 184, .24);
}
.s33-notice-hero__badge b,
.s33-notice-hero__badge small { display: block; }
.s33-notice-hero__badge b { color: #101828; font-size: 14px; }
.s33-notice-hero__badge small { margin-top: 4px; color: #667085; }
.s33-notice-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 16px;
    align-items: start;
}
.s33-notice-card,
.s33-notice-result {
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .22);
    box-shadow: 0 22px 70px rgba(15, 23, 42, .07);
}
.s33-notice-card { padding: 20px; }
.s33-notice-card header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
}
.s33-notice-card header strong {
    color: #101828;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.035em;
}
.s33-notice-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.s33-notice-form header,
.s33-field--full { grid-column: 1 / -1; }
.s33-notice-error { color: #dc2626 !important; font-weight: 700; }
.s33-segmented {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-height: 46px;
}
.s33-segmented label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 12px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, .34);
    background: #f8fafc;
    color: #475467;
    cursor: pointer;
}
.s33-segmented label.is-active {
    border-color: rgba(22, 163, 74, .45);
    background: #ecfdf5;
    color: #047857;
}
.s33-segmented input { width: 16px !important; height: 16px !important; padding: 0 !important; }
.s33-notice-switches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.s33-notice-switches label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .24);
    color: #344054;
    font-weight: 750;
}
.s33-notice-switches input { width: 16px !important; height: 16px !important; padding: 0 !important; }
.s33-notice-submit {
    display: flex;
    align-items: center;
    gap: 12px;
}
.s33-notice-submit button {
    border: 0;
    border-radius: 16px;
    padding: 13px 24px;
    background: #16a34a;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(22, 163, 74, .20);
}
.s33-notice-submit button[disabled] { opacity: .65; cursor: wait; }
.s33-zone-picker {
    position: sticky;
    top: 16px;
}
.s33-zone-list {
    display: grid;
    gap: 8px;
    max-height: 520px;
    overflow: auto;
    padding-right: 2px;
}
.s33-zone-list button {
    width: 100%;
    text-align: left;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 15px;
    padding: 10px 12px;
    color: #344054;
    background: #f8fafc;
    font-weight: 750;
}
.s33-zone-list button:hover { background: #ecfdf5; border-color: rgba(22, 163, 74, .36); color: #047857; }
.s33-zone-list p { margin: 0; color: #667085; }
.s33-notice-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
}
.s33-notice-result.is-ok { border-color: rgba(16,185,129,.32); background: #ecfdf5; color: #047857; }
.s33-notice-result.is-bad { border-color: rgba(244,63,94,.28); background: #fff1f2; color: #be123c; }
.s33-notice-table-wrap { overflow: auto; }
.s33-recent-notices table {
    width: 100%;
    border-collapse: collapse;
}
.s33-recent-notices th,
.s33-recent-notices td {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, .16);
    text-align: left;
    vertical-align: top;
}
.s33-recent-notices th {
    color: #667085;
    font-size: 12px;
    font-weight: 850;
    background: #f8fafc;
}
.s33-recent-notices td { color: #344054; }
.s33-recent-notices td b,
.s33-recent-notices td span,
.s33-recent-notices td small { display: block; }
.s33-recent-notices td b { color: #101828; font-weight: 850; }
.s33-recent-notices td small { margin-top: 4px; color: #667085; }
.s33-recent-notices em {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    font-style: normal;
    font-size: 12px;
    font-weight: 850;
}
.s33-recent-notices em.is-on { background: #ecfdf5; color: #047857; }
.s33-recent-notices em.is-off { background: #f1f5f9; color: #667085; }
@media (max-width: 1100px) {
    .s33-notice-layout { grid-template-columns: 1fr; }
    .s33-zone-picker { position: static; }
    .s33-zone-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; }
}
@media (max-width: 680px) {
    .s33-notice-hero,
    .s33-notice-card header,
    .s33-notice-result { flex-direction: column; align-items: stretch; }
    .s33-notice-form,
    .s33-zone-list { grid-template-columns: 1fr; }
    .s33-notice-card { padding: 16px; border-radius: 22px; }
    .s33-notice-hero { padding: 20px; border-radius: 22px; }
}
.s33-notice-panel-hero { margin: 0; }

/* Player center mobile polish: app-like cards, safer spacing, readable lists. */
@media (max-width: 767px) {
    html.fi body.fi-body.fi-panel-player {
        background: #f6f8fb !important;
    }

    html.fi body.fi-panel-player .fi-main,
    html.fi body.fi-panel-player .fi-page {
        background: transparent !important;
    }

    html.fi body.fi-panel-player .fi-main {
        padding-inline: 12px !important;
        padding-block: 12px 22px !important;
    }

    html.fi body.fi-panel-player .fi-page-header-heading,
    html.fi body.fi-panel-player .fi-header-heading {
        color: #101828 !important;
        font-size: 22px !important;
        line-height: 1.18 !important;
        letter-spacing: -.035em !important;
    }

    html.fi body.fi-panel-player .s33-panel-page--player {
        gap: 12px !important;
    }

    html.fi body.fi-panel-player .s33-panel-hero--player {
        min-height: 158px !important;
        padding: 18px !important;
        border-radius: 22px !important;
        background:
            linear-gradient(135deg, rgba(255,255,255,.92), rgba(240,253,244,.86)),
            radial-gradient(circle at 92% 20%, rgba(34,197,94,.18), transparent 12rem),
            #ffffff !important;
        border: 1px solid rgba(16,24,40,.08) !important;
        box-shadow: 0 14px 36px rgba(16,24,40,.08) !important;
    }

    html.fi body.fi-panel-player .s33-panel-hero--player .s33-panel-hero__brand {
        gap: 8px !important;
        margin-bottom: 9px !important;
        color: #047857 !important;
        font-size: 12px !important;
        font-weight: 900 !important;
    }

    html.fi body.fi-panel-player .s33-panel-hero--player .s33-panel-hero__brand img {
        width: 28px !important;
        height: 28px !important;
        object-fit: contain !important;
    }

    html.fi body.fi-panel-player .s33-panel-hero--player h2 {
        margin: 0 !important;
        color: #101828 !important;
        font-size: 30px !important;
        line-height: 1.05 !important;
        letter-spacing: -.055em !important;
    }

    html.fi body.fi-panel-player .s33-panel-hero--player p {
        max-width: 240px !important;
        margin-top: 8px !important;
        color: #475467 !important;
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    html.fi body.fi-panel-player .s33-panel-hero--player .s33-panel-hero__chips {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 7px !important;
        margin-top: 12px !important;
    }

    html.fi body.fi-panel-player .s33-panel-hero--player .s33-panel-hero__chips span {
        min-height: 28px !important;
        padding: 6px 10px !important;
        border-radius: 999px !important;
        color: #065f46 !important;
        background: rgba(16,185,129,.10) !important;
        border: 1px solid rgba(16,185,129,.16) !important;
        font-size: 12px !important;
        font-weight: 800 !important;
    }

    html.fi body.fi-panel-player .s33-panel-hero--player .s33-panel-hero__art {
        right: -34px !important;
        bottom: -20px !important;
        width: 168px !important;
        max-height: 168px !important;
        opacity: .18 !important;
        filter: none !important;
    }

    html.fi body.fi-panel-player .s33-panel-cards {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    html.fi body.fi-panel-player .s33-panel-card {
        min-height: 84px !important;
        padding: 15px !important;
        border-radius: 18px !important;
    }

    html.fi body.fi-panel-player .s33-panel-card b {
        font-size: 24px !important;
        line-height: 1.05 !important;
    }

    html.fi body.fi-panel-player .s33-panel-card span {
        margin-top: 6px !important;
        display: block !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    html.fi body.fi-panel-player .s33-task-grid {
        gap: 10px !important;
    }

    html.fi body.fi-panel-player .s33-task {
        min-height: auto !important;
        padding: 16px !important;
        border-radius: 18px !important;
    }

    html.fi body.fi-panel-player .s33-task strong {
        margin-bottom: 5px !important;
        font-size: 15px !important;
    }

    html.fi body.fi-panel-player .s33-task small {
        font-size: 12px !important;
        line-height: 1.55 !important;
    }

    html.fi body.fi-panel-player .fi-section,
    html.fi body.fi-panel-player .fi-ta-ctn,
    html.fi body.fi-panel-player .fi-fo-component-ctn,
    html.fi body.fi-panel-player .fi-infolist,
    html.fi body.fi-panel-player .fi-wi-widget {
        border-radius: 18px !important;
        border-color: rgba(16,24,40,.08) !important;
        box-shadow: 0 12px 32px rgba(16,24,40,.06) !important;
    }

    html.fi body.fi-panel-player .fi-btn,
    html.fi body.fi-panel-player button,
    html.fi body.fi-panel-player a.fi-btn {
        min-height: 42px;
        touch-action: manipulation;
    }

    html.fi body.fi-panel-player .fi-input,
    html.fi body.fi-panel-player .fi-select-input,
    html.fi body.fi-panel-player textarea {
        min-height: 42px !important;
        font-size: 16px !important;
    }

    html.fi body.fi-panel-player .fi-ta-content {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    html.fi body.fi-panel-player .fi-ta-table {
        min-width: 720px;
    }
}

@media (max-width: 390px) {
    html.fi body.fi-panel-player .s33-panel-cards {
        grid-template-columns: 1fr !important;
    }

    html.fi body.fi-panel-player .s33-panel-hero--player p {
        max-width: 220px !important;
    }
}

/* S33 player center: mobile game-mall skin. */
html.fi:has(.s33-panel-page--player),
body:has(.s33-panel-page--player) {
    background:
        radial-gradient(circle at 18% 0%, rgba(255,176,59,.22), transparent 34%),
        radial-gradient(circle at 100% 18%, rgba(38,208,124,.18), transparent 32%),
        linear-gradient(180deg, #162116 0%, #0d140f 42%, #080d09 100%) !important;
}
.s33-panel-page--player {
    --s33-shop-gold: #ffc14a;
    --s33-shop-gold-2: #ff8a22;
    --s33-shop-green: #24d17e;
    --s33-shop-dark: #101811;
    --s33-shop-panel: rgba(21, 31, 22, .90);
    color: #fff !important;
}
.s33-panel-page--player .s33-panel-hero {
    color: #fff !important;
    background:
        linear-gradient(110deg, rgba(13,18,11,.96) 0%, rgba(23,34,18,.86) 48%, rgba(255,139,34,.22) 100%),
        url('/images/s33-survival-bg.png') center / cover !important;
    border: 1px solid rgba(255,193,74,.30) !important;
    box-shadow: 0 18px 55px rgba(0,0,0,.38), inset 0 0 0 1px rgba(255,255,255,.06) !important;
}
.s33-panel-page--player .s33-panel-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 35%), radial-gradient(circle at 72% 35%, rgba(255,193,74,.28), transparent 28%);
    pointer-events: none;
}
.s33-panel-page--player .s33-panel-hero__brand {
    color: #241706 !important;
    background: linear-gradient(135deg, #ffe29a, #ff9f28) !important;
    border-color: rgba(255,255,255,.18) !important;
    box-shadow: 0 8px 22px rgba(255,138,34,.23);
}
.s33-panel-page--player .s33-panel-hero h2,
.s33-panel-page--player .s33-panel-hero p,
.s33-panel-page--player .s33-panel-hero__chips span {
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.s33-panel-page--player .s33-panel-hero p { color: rgba(255,255,255,.78) !important; }
.s33-panel-page--player .s33-panel-hero__chips span {
    background: rgba(255,255,255,.10) !important;
    border-color: rgba(255,193,74,.22) !important;
}
.s33-panel-page--player .s33-panel-hero__art {
    filter: drop-shadow(0 26px 34px rgba(0,0,0,.48)) saturate(1.08) contrast(1.04) !important;
}
.s33-player-shop-banner {
    position: relative;
    overflow: hidden;
    min-height: 138px;
    display: grid;
    grid-template-columns: 1fr 150px;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255,193,74,.20), rgba(36,209,126,.10)),
        linear-gradient(180deg, rgba(28,40,25,.96), rgba(10,16,10,.94));
    border: 1px solid rgba(255,193,74,.24);
    box-shadow: 0 16px 44px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.05);
}
.s33-player-shop-banner::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--s33-shop-gold), var(--s33-shop-green), transparent);
    opacity: .8;
}
.s33-player-shop-banner span,
.s33-player-product-card em {
    display: inline-flex;
    width: max-content;
    padding: 4px 9px;
    border-radius: 999px;
    color: #2a1702;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .08em;
    background: linear-gradient(135deg, #ffe29a, #ff9f28);
}
.s33-player-shop-banner h3 {
    margin: 9px 0 6px;
    color: #fff;
    font-size: clamp(23px, 5vw, 32px);
    font-weight: 950;
    letter-spacing: -.055em;
}
.s33-player-shop-banner p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.62; font-size: 14px; }
.s33-player-shop-banner img {
    position: relative;
    z-index: 1;
    width: 150px;
    max-height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 20px 22px rgba(0,0,0,.45));
}
.s33-player-shop-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}
.s33-player-shop-tabs a {
    position: relative;
    overflow: hidden;
    min-height: 78px;
    padding: 14px 12px;
    border-radius: 20px;
    text-decoration: none;
    background: linear-gradient(180deg, rgba(33,46,30,.96), rgba(13,20,13,.96));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.s33-player-shop-tabs a::before {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255,193,74,.24), transparent 66%);
}
.s33-player-shop-tabs b { display: block; color: #fff; font-weight: 950; font-size: 15px; }
.s33-player-shop-tabs small { display: block; margin-top: 5px; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.35; }
.s33-panel-page--player .s33-panel-card,
.s33-panel-page--player .s33-task,
.s33-panel-page--player .s33-feature-card,
.s33-panel-page--player .s33-feature-note {
    background: linear-gradient(180deg, rgba(33,46,30,.96), rgba(13,20,13,.97)) !important;
    color: #fff !important;
    border-color: rgba(255,193,74,.16) !important;
    box-shadow: 0 14px 36px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.04) !important;
}
.s33-panel-page--player .s33-panel-card::before {
    background: linear-gradient(#ffc14a, #24d17e) !important;
}
.s33-panel-page--player .s33-panel-card b,
.s33-panel-page--player .s33-task strong,
.s33-panel-page--player .s33-feature-card strong {
    color: #fff !important;
}
.s33-panel-page--player .s33-panel-card span,
.s33-panel-page--player .s33-task small,
.s33-panel-page--player .s33-feature-note p {
    color: rgba(255,255,255,.64) !important;
}
.s33-player-product-card {
    display: block;
    text-decoration: none !important;
}
.s33-player-product-card strong { margin-top: 14px; }
.s33-player-product-card::before {
    content: '';
    position: absolute;
    right: -38px;
    top: -44px;
    width: 132px;
    height: 132px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255,193,74,.22), transparent 70%);
}
.s33-panel-page--player .s33-feature-workbench,
.s33-panel-page--player .s33-action-list,
.s33-panel-page--player .s33-action-panel,
.s33-panel-page--player .s33-result-box,
.s33-panel-page--player .s33-operator-tips,
.s33-panel-page--player .s33-feature-note {
    background: linear-gradient(180deg, rgba(30,42,28,.96), rgba(12,18,12,.96)) !important;
    border-color: rgba(255,193,74,.16) !important;
    color: #fff !important;
}
.s33-panel-page--player .s33-action-tab,
.s33-panel-page--player .s33-field input,
.s33-panel-page--player .s33-field textarea,
.s33-panel-page--player .s33-field select {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.12) !important;
    color: #fff !important;
}
.s33-panel-page--player .s33-action-tab.is-active,
.s33-panel-page--player .s33-action-submit {
    background: linear-gradient(135deg, #ffc14a, #ff8a22) !important;
    color: #261705 !important;
    border: 0 !important;
    box-shadow: 0 12px 26px rgba(255,138,34,.25) !important;
}

@media (max-width: 767px) {
    .fi-main:has(.s33-panel-page--player) { padding-inline: 10px !important; }
    .s33-panel-page--player { gap: 12px !important; padding-bottom: 78px; }
    .s33-panel-page--player .s33-panel-hero {
        min-height: 205px !important;
        padding: 18px !important;
        border-radius: 24px !important;
    }
    .s33-panel-page--player .s33-panel-hero h2 { font-size: 31px !important; max-width: 70%; }
    .s33-panel-page--player .s33-panel-hero p { max-width: 72% !important; font-size: 13px !important; }
    .s33-panel-page--player .s33-panel-hero__art {
        opacity: 1 !important;
        width: 165px !important;
        right: -24px !important;
        bottom: -8px !important;
    }
    .s33-player-shop-banner {
        grid-template-columns: 1fr 96px;
        min-height: 128px;
        padding: 16px;
        border-radius: 22px;
    }
    .s33-player-shop-banner h3 { font-size: 24px; }
    .s33-player-shop-banner p { font-size: 12px; max-width: 210px; }
    .s33-player-shop-banner img { width: 112px; margin-right: -18px; }
    .s33-player-shop-tabs {
        grid-template-columns: repeat(5, minmax(74px, 1fr));
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: none;
    }
    .s33-player-shop-tabs::-webkit-scrollbar { display: none; }
    .s33-player-shop-tabs a { min-height: 72px; padding: 12px 10px; border-radius: 18px; }
    .s33-panel-page--player .s33-panel-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
    .s33-panel-page--player .s33-panel-card { min-height: 82px; padding: 14px 14px 14px 16px; border-radius: 18px; }
    .s33-panel-page--player .s33-panel-card b { font-size: 22px !important; }
    .s33-player-product-grid { gap: 10px !important; }
    .s33-player-product-card { min-height: 112px !important; padding: 16px !important; border-radius: 20px !important; }
    .s33-panel-page--player .s33-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
    .s33-panel-page--player .s33-feature-card { min-height: 86px !important; padding: 14px !important; border-radius: 18px !important; }
    .s33-panel-page--player .s33-feature-hero { border-radius: 24px !important; padding: 18px !important; }
    .s33-panel-page--player .s33-feature-hero h2 { font-size: 28px !important; }
    .s33-panel-page--player .s33-feature-workbench { display: grid !important; gap: 10px !important; border-radius: 22px !important; padding: 10px !important; }
    .s33-panel-page--player .s33-action-list__items { display: flex !important; overflow-x: auto; gap: 8px; padding-bottom: 3px; }
    .s33-panel-page--player .s33-action-tab { min-width: 128px; border-radius: 16px !important; }
    .s33-panel-page--player .s33-action-panel { border-radius: 18px !important; }
}

/* Player center feature pages: make every mobile page feel like the in-game shop. */
body.fi-panel-player,
html.fi body.fi-panel-player {
    background:
        radial-gradient(circle at 12% -4%, rgba(255, 193, 74, .20), transparent 30%),
        radial-gradient(circle at 100% 8%, rgba(36, 209, 126, .16), transparent 28%),
        linear-gradient(180deg, #152015 0%, #0b110d 52%, #070b08 100%) !important;
}

.s33-feature-page--player {
    --s33-shop-gold: #ffc14a;
    --s33-shop-orange: #ff8a22;
    --s33-shop-green: #24d17e;
    --s33-shop-card: rgba(23, 35, 24, .96);
    color: #fff !important;
}

.s33-feature-page--player .s33-feature-hero {
    position: relative;
    overflow: hidden;
    color: #fff !important;
    background:
        linear-gradient(112deg, rgba(8, 13, 9, .96), rgba(24, 36, 22, .90) 48%, rgba(255, 138, 34, .20)),
        url('/images/s33-survival-bg.png') center / cover !important;
    border: 1px solid rgba(255, 193, 74, .28) !important;
    box-shadow: 0 18px 54px rgba(0, 0, 0, .38), inset 0 0 0 1px rgba(255, 255, 255, .06) !important;
}

.s33-feature-page--player .s33-feature-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 26%, rgba(255, 193, 74, .30), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,.08), transparent 42%);
    pointer-events: none;
}

.s33-feature-page--player .s33-feature-hero > * {
    position: relative;
    z-index: 1;
}

.s33-feature-page--player .s33-feature-kicker,
.s33-feature-page--player .s33-feature-hero__meta {
    color: #2a1702 !important;
    background: linear-gradient(135deg, #ffe29a, #ff9f28) !important;
    border-color: rgba(255, 255, 255, .18) !important;
    box-shadow: 0 10px 24px rgba(255, 138, 34, .22);
}

.s33-feature-page--player .s33-feature-hero h2,
.s33-feature-page--player .s33-feature-hero p {
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.38);
}

.s33-feature-page--player .s33-feature-hero p {
    color: rgba(255,255,255,.76) !important;
}

.s33-feature-page--player .s33-feature-card,
.s33-feature-page--player .s33-feature-stat,
.s33-feature-page--player .s33-feature-workbench,
.s33-feature-page--player .s33-action-list,
.s33-feature-page--player .s33-action-panel,
.s33-feature-page--player .s33-result-box,
.s33-feature-page--player .s33-operator-tips,
.s33-feature-page--player .s33-feature-note {
    background: linear-gradient(180deg, rgba(34, 48, 31, .97), rgba(13, 20, 13, .97)) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 193, 74, .16) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .26), inset 0 0 0 1px rgba(255,255,255,.04) !important;
}

.s33-feature-page--player .s33-feature-card span {
    background: linear-gradient(180deg, var(--s33-shop-gold), var(--s33-shop-green)) !important;
}

.s33-feature-page--player .s33-feature-stat span,
.s33-feature-page--player .s33-feature-card strong,
.s33-feature-page--player .s33-section-head strong,
.s33-feature-page--player .s33-action-panel__head h3,
.s33-feature-page--player .s33-field span,
.s33-feature-page--player .s33-feature-note strong {
    color: #fff !important;
}

.s33-feature-page--player .s33-feature-stat strong {
    color: var(--s33-shop-gold) !important;
}

.s33-feature-page--player .s33-action-tab,
.s33-feature-page--player .s33-field input,
.s33-feature-page--player .s33-field textarea,
.s33-feature-page--player .s33-field select {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.13) !important;
    color: #fff !important;
}

.s33-feature-page--player .s33-action-tab.is-active,
.s33-feature-page--player .s33-action-submit,
.s33-feature-page--player .s33-feature-links a {
    color: #271704 !important;
    background: linear-gradient(135deg, var(--s33-shop-gold), var(--s33-shop-orange)) !important;
    border-color: transparent !important;
    box-shadow: 0 12px 26px rgba(255, 138, 34, .26) !important;
}

.s33-feature-page--player .s33-action-desc,
.s33-feature-page--player .s33-action-submit-row small,
.s33-feature-page--player .s33-operator-tips li,
.s33-feature-page--player .s33-feature-note p,
.s33-feature-page--player .s33-section-head span {
    color: rgba(255,255,255,.66) !important;
}

@media (max-width: 767px) {
    body.fi-panel-player .fi-main {
        padding-inline: max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-right)) !important;
        padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important;
    }

    .s33-feature-page--player {
        gap: 12px !important;
    }

    .s33-feature-page--player .s33-feature-hero {
        min-height: 154px;
        padding: 18px !important;
        border-radius: 24px !important;
    }

    .s33-feature-page--player .s33-feature-hero h2 {
        font-size: 29px !important;
        line-height: .98 !important;
    }

    .s33-feature-page--player .s33-feature-hero p {
        max-width: 78%;
        font-size: 12px !important;
        line-height: 1.55 !important;
    }

    .s33-feature-page--player .s33-feature-stats,
    .s33-feature-page--player .s33-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .s33-feature-page--player .s33-feature-card,
    .s33-feature-page--player .s33-feature-stat {
        min-height: 82px;
        border-radius: 18px !important;
        padding: 14px !important;
    }

    .s33-feature-page--player .s33-feature-workbench {
        display: grid !important;
        gap: 10px !important;
        padding: 10px !important;
        border-radius: 22px !important;
    }

    .s33-feature-page--player .s33-action-list__items {
        display: flex !important;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .s33-feature-page--player .s33-action-list__items::-webkit-scrollbar {
        display: none;
    }

    .s33-feature-page--player .s33-action-tab {
        min-width: 132px;
        border-radius: 16px !important;
    }

    .s33-feature-page--player .s33-action-panel,
    .s33-feature-page--player .s33-result-box,
    .s33-feature-page--player .s33-operator-tips {
        border-radius: 18px !important;
    }
}

/* 2026-05 player contrast sweep: keep player pages readable even when Filament light rules load later. */
html.fi body.fi-panel-player .s33-player-page,
html.fi body.fi-panel-player .s33-player-page * {
    box-sizing: border-box;
}

html.fi body.fi-panel-player .s33-player-page {
    color: #f8fafc !important;
}

html.fi body.fi-panel-player .s33-player-hero,
html.fi body.fi-panel-player .s33-player-metric-grid article,
html.fi body.fi-panel-player .s33-player-data-card,
html.fi body.fi-panel-player .s33-player-form-card,
html.fi body.fi-panel-player .s33-player-result,
html.fi body.fi-panel-player .s33-player-note-list div,
html.fi body.fi-panel-player .s33-player-empty-card {
    background: linear-gradient(180deg, rgba(20, 24, 31, .98), rgba(10, 14, 20, .96)) !important;
    border-color: rgba(255, 205, 128, .16) !important;
    color: #f8fafc !important;
}

html.fi body.fi-panel-player .s33-player-hero h2,
html.fi body.fi-panel-player .s33-player-hero p,
html.fi body.fi-panel-player .s33-player-identity span,
html.fi body.fi-panel-player .s33-player-metric-grid span,
html.fi body.fi-panel-player .s33-player-metric-grid strong,
html.fi body.fi-panel-player .s33-player-metric-grid em,
html.fi body.fi-panel-player .s33-player-section-head span,
html.fi body.fi-panel-player .s33-player-section-head strong,
html.fi body.fi-panel-player .s33-player-section-head p,
html.fi body.fi-panel-player .s33-player-field span,
html.fi body.fi-panel-player .s33-player-field small,
html.fi body.fi-panel-player .s33-player-empty,
html.fi body.fi-panel-player .s33-player-empty-card strong,
html.fi body.fi-panel-player .s33-player-empty-card p,
html.fi body.fi-panel-player .s33-player-result strong,
html.fi body.fi-panel-player .s33-player-result div,
html.fi body.fi-panel-player .s33-player-table th,
html.fi body.fi-panel-player .s33-player-table td {
    color: inherit;
}

html.fi body.fi-panel-player .s33-player-hero h2,
html.fi body.fi-panel-player .s33-player-metric-grid strong,
html.fi body.fi-panel-player .s33-player-section-head strong,
html.fi body.fi-panel-player .s33-player-empty-card strong,
html.fi body.fi-panel-player .s33-player-result strong {
    color: #ffffff !important;
}

html.fi body.fi-panel-player .s33-player-hero p,
html.fi body.fi-panel-player .s33-player-section-head p,
html.fi body.fi-panel-player .s33-player-metric-grid em,
html.fi body.fi-panel-player .s33-player-field small,
html.fi body.fi-panel-player .s33-player-empty,
html.fi body.fi-panel-player .s33-player-empty-card p,
html.fi body.fi-panel-player .s33-player-result div {
    color: rgba(248, 250, 252, .72) !important;
}

html.fi body.fi-panel-player .s33-player-kicker,
html.fi body.fi-panel-player .s33-player-metric-grid span,
html.fi body.fi-panel-player .s33-player-section-head span {
    color: #ffd37a !important;
}

html.fi body.fi-panel-player .s33-player-nav {
    background: rgba(16, 20, 28, .86) !important;
    border-color: rgba(255, 205, 128, .16) !important;
}

html.fi body.fi-panel-player .s33-player-nav a,
html.fi body.fi-panel-player .s33-player-identity span {
    background: rgba(255, 255, 255, .08) !important;
    color: rgba(255, 255, 255, .86) !important;
    border-color: rgba(255, 255, 255, .12) !important;
}

html.fi body.fi-panel-player .s33-player-nav a.is-active,
html.fi body.fi-panel-player .s33-player-nav a:hover,
html.fi body.fi-panel-player .s33-player-form-card > button,
html.fi body.fi-panel-player .s33-player-amount-presets button:hover,
html.fi body.fi-panel-player .s33-player-amount-presets button:focus {
    color: #241207 !important;
    background: linear-gradient(135deg, #ffd36c, #ff8a2a) !important;
}

html.fi body.fi-panel-player .s33-player-field input,
html.fi body.fi-panel-player .s33-player-field select,
html.fi body.fi-panel-player .s33-player-field textarea {
    background: #0f1720 !important;
    color: #ffffff !important;
    border-color: rgba(255, 205, 128, .24) !important;
    caret-color: #ffd36c !important;
}

html.fi body.fi-panel-player .s33-player-field input::placeholder,
html.fi body.fi-panel-player .s33-player-field textarea::placeholder {
    color: rgba(248, 250, 252, .45) !important;
}

html.fi body.fi-panel-player .s33-player-field select option {
    background: #ffffff !important;
    color: #111827 !important;
}

html.fi body.fi-panel-player .s33-player-table-wrap,
html.fi body.fi-panel-player .s33-player-empty {
    background: rgba(0, 0, 0, .22) !important;
    border-color: rgba(255, 255, 255, .08) !important;
}

html.fi body.fi-panel-player .s33-player-table th {
    background: rgba(0, 0, 0, .34) !important;
    color: #ffd37a !important;
}

html.fi body.fi-panel-player .s33-player-table td {
    background: transparent !important;
    color: rgba(255, 255, 255, .86) !important;
}

html.fi body.fi-panel-player .s33-player-amount-presets {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

html.fi body.fi-panel-player .s33-player-amount-presets button {
    border: 1px solid rgba(255, 205, 128, .22) !important;
    border-radius: 14px;
    padding: 10px 8px;
    background: rgba(255, 255, 255, .08) !important;
    color: #ffffff !important;
    font-weight: 1000;
}

html.fi body.fi-panel-player .s33-player-amount-field input {
    font-size: 18px !important;
    font-weight: 900 !important;
}

html.fi body.fi-panel-player .s33-player-pay-method-field {
    display: grid;
    gap: 10px;
}

html.fi body.fi-panel-player .s33-player-pay-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

html.fi body.fi-panel-player .s33-player-pay-methods label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    border: 1px solid rgba(255, 205, 128, .24);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
    color: #fff;
    cursor: pointer;
    overflow: hidden;
}

html.fi body.fi-panel-player .s33-player-pay-methods input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

html.fi body.fi-panel-player .s33-player-pay-methods strong {
    position: relative;
    z-index: 1;
    font-size: 16px;
    font-weight: 1000;
    color: #fff !important;
}

html.fi body.fi-panel-player .s33-player-pay-methods label:has(input:checked) {
    border-color: transparent;
    background: linear-gradient(135deg, #ffd36c, #ff8a2a) !important;
    box-shadow: 0 14px 30px rgba(255, 138, 42, .28);
}

html.fi body.fi-panel-player .s33-player-pay-methods label:has(input:checked) strong {
    color: #241207 !important;
}

html.fi body.fi-panel-player .s33-player-pay-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(2, 6, 4, .72);
    backdrop-filter: blur(10px);
}

html.fi body.fi-panel-player .s33-player-pay-dialog {
    width: min(430px, 100%);
    border: 1px solid rgba(255, 205, 128, .28);
    border-radius: 28px;
    padding: 22px;
    background:
        radial-gradient(circle at 82% 12%, rgba(255, 211, 108, .22), transparent 34%),
        linear-gradient(180deg, rgba(35, 49, 30, .98), rgba(10, 16, 10, .98));
    color: #fff;
    box-shadow: 0 30px 100px rgba(0,0,0,.52), inset 0 0 0 1px rgba(255,255,255,.05);
}

html.fi body.fi-panel-player .s33-player-pay-dialog__head {
    display: grid;
    gap: 7px;
    text-align: center;
}

html.fi body.fi-panel-player .s33-player-pay-dialog__head span {
    justify-self: center;
    border-radius: 999px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #ffd36c, #ff8a2a);
    color: #241207 !important;
    font-weight: 1000;
}

html.fi body.fi-panel-player .s33-player-pay-dialog__head strong {
    color: #fff !important;
    font-size: 22px;
    font-weight: 1000;
}

html.fi body.fi-panel-player .s33-player-pay-dialog__head p,
html.fi body.fi-panel-player .s33-player-pay-tip {
    color: rgba(255,255,255,.72) !important;
}

html.fi body.fi-panel-player .s33-player-pay-submit {
    margin-top: 18px;
}

html.fi body.fi-panel-player .s33-player-pay-submit button,
html.fi body.fi-panel-player .s33-player-pay-orders {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 17px;
    background: linear-gradient(135deg, #ffd36c, #ff8a2a) !important;
    color: #241207 !important;
    font-weight: 1000;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(255, 138, 42, .25);
}

html.fi body.fi-panel-player .s33-player-pay-orders {
    margin-top: 10px;
    background: rgba(255,255,255,.10) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: none;
}

html.fi body.fi-panel-player .s33-player-pay-tip {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

html.fi body.fi-panel-player .s33-player-pay-unavailable {
    margin-top: 16px;
    border: 1px solid rgba(248, 113, 113, .35);
    border-radius: 16px;
    padding: 14px;
    background: rgba(127, 29, 29, .28);
    color: #fecaca !important;
    text-align: center;
    font-weight: 900;
}

@media (max-width: 767px) {
    html.fi body.fi-panel-player .s33-player-amount-presets {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    html.fi body.fi-panel-player .s33-player-pay-modal {
        align-items: end;
        padding: 14px;
    }

    html.fi body.fi-panel-player .s33-player-pay-dialog {
        border-radius: 24px;
    }
}

/* 单动作页面：直接展示主界面，不显示左侧动作台。 */
.s33-feature-workbench--direct {
    grid-template-columns: minmax(0, 1fr);
}
.s33-feature-workbench--direct .s33-action-panel {
    max-width: 1120px;
    width: 100%;
}
.s33-advanced-fields {
    grid-column: 1 / -1;
    border: 1px dashed rgba(148, 163, 184, .42);
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px 14px;
}
.s33-advanced-fields summary {
    cursor: pointer;
    color: #475569;
    font-size: 13px;
    font-weight: 850;
    list-style: none;
}
.s33-advanced-fields summary::-webkit-details-marker { display: none; }
.s33-advanced-fields summary::after {
    content: '展开';
    float: right;
    color: #0ea5e9;
    font-size: 12px;
}
.s33-advanced-fields[open] summary::after { content: '收起'; }
.s33-advanced-fields__grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.s33-field small {
    color: #94a3b8;
    font-weight: 650;
}

/* Agent backend pass: practical pages, readable buttons and visible table headers. */
html.fi body.fi-panel-agent .fi-btn,
html.fi body.fi-panel-agent a.fi-btn,
html.fi body.fi-panel-agent button.fi-btn {
    border: 1px solid rgba(16, 24, 40, .12) !important;
    background: #f8fafc !important;
    color: #1f2937 !important;
    box-shadow: 0 8px 18px rgba(16, 24, 40, .06) !important;
}

html.fi body.fi-panel-agent .fi-btn *,
html.fi body.fi-panel-agent a.fi-btn *,
html.fi body.fi-panel-agent button.fi-btn * {
    color: inherit !important;
}

html.fi body.fi-panel-agent .fi-btn-color-primary,
html.fi body.fi-panel-agent .fi-btn.fi-color-primary,
html.fi body.fi-panel-agent button[type="submit"].fi-btn {
    border-color: transparent !important;
    background: linear-gradient(135deg, #16a34a, #059669) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(16, 185, 129, .24) !important;
}

html.fi body.fi-panel-agent .fi-btn-color-gray,
html.fi body.fi-panel-agent .fi-btn.fi-color-gray {
    background: #ffffff !important;
    color: #334155 !important;
}

html.fi body.fi-panel-agent .fi-btn-label,
html.fi body.fi-panel-agent .fi-ac-action .fi-btn-label,
html.fi body.fi-panel-agent .fi-form-actions .fi-btn-label,
html.fi body.fi-panel-agent .fi-modal-footer .fi-btn-label {
    color: inherit !important;
}

html.fi body.fi-panel-agent .fi-link,
html.fi body.fi-panel-agent a.fi-link,
html.fi body.fi-panel-agent button.fi-link {
    color: #047857 !important;
    font-weight: 850 !important;
}

html.fi body.fi-panel-agent .fi-form-actions,
html.fi body.fi-panel-agent .fi-ac {
    color: #1f2937 !important;
}

html.fi body.fi-panel-agent .fi-ta-table thead,
html.fi body.fi-panel-agent table.fi-ta-table thead {
    display: table-header-group !important;
    visibility: visible !important;
    opacity: 1 !important;
}

html.fi body.fi-panel-agent .fi-ta-header-cell,
html.fi body.fi-panel-agent .fi-ta-header-cell-label,
html.fi body.fi-panel-agent .fi-ta-table th,
html.fi body.fi-panel-agent table.fi-ta-table th {
    visibility: visible !important;
    opacity: 1 !important;
    color: #334155 !important;
    background: #f8fafc !important;
    font-weight: 900 !important;
}

html.fi body.fi-panel-agent .fi-ta-cell,
html.fi body.fi-panel-agent .fi-ta-text,
html.fi body.fi-panel-agent .fi-ta-table td {
    color: #101828 !important;
}

html.fi body.fi-panel-agent .fi-ta-ctn,
html.fi body.fi-panel-agent .fi-ta-table {
    border: 1px solid rgba(16,24,40,.10) !important;
    border-radius: 18px !important;
    overflow: hidden;
}

html.fi body.fi-panel-agent .s33-feature-page--agent {
    gap: 14px;
}

html.fi body.fi-panel-agent .s33-feature-page--agent .s33-feature-hero {
    min-height: 132px;
}

html.fi body.fi-panel-agent .s33-feature-page--agent .s33-feature-hero p {
    max-width: 760px;
    line-height: 1.55;
}

html.fi body.fi-panel-agent .s33-feature-workbench--agent {
    display: block !important;
}

html.fi body.fi-panel-agent .s33-agent-direct-panel {
    padding: 18px !important;
}

html.fi body.fi-panel-agent .s33-agent-direct-panel .s33-action-desc,
html.fi body.fi-panel-agent .s33-agent-direct-panel .s33-safe-chip,
html.fi body.fi-panel-agent .s33-agent-direct-panel .s33-danger-chip,
html.fi body.fi-panel-agent .s33-agent-direct-panel .s33-action-submit-row small {
    display: none !important;
}

html.fi body.fi-panel-agent .s33-agent-metric-grid,
html.fi body.fi-panel-agent .s33-agent-data-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

html.fi body.fi-panel-agent .s33-agent-metric-grid article,
html.fi body.fi-panel-agent .s33-agent-data-card {
    border: 1px solid rgba(16,24,40,.10);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(16,24,40,.06);
}

html.fi body.fi-panel-agent .s33-agent-metric-grid article {
    min-height: 96px;
    padding: 16px;
}

html.fi body.fi-panel-agent .s33-agent-metric-grid span,
html.fi body.fi-panel-agent .s33-agent-metric-grid em {
    display: block;
    color: #667085 !important;
    font-style: normal;
    font-size: 12px;
}

html.fi body.fi-panel-agent .s33-agent-metric-grid strong {
    display: block;
    margin-top: 6px;
    color: #101828 !important;
    font-size: 24px;
    font-weight: 950;
}

html.fi body.fi-panel-agent .s33-agent-quick-links {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0;
}

html.fi body.fi-panel-agent .s33-agent-quick-links a {
    flex: 0 0 auto;
    border: 1px solid rgba(16,185,129,.18);
    border-radius: 14px;
    padding: 10px 14px;
    background: #ecfdf5;
    color: #047857 !important;
    font-weight: 900;
    text-decoration: none;
}

html.fi body.fi-panel-agent .s33-agent-data-grid {
    grid-template-columns: 1fr;
}

html.fi body.fi-panel-agent .s33-agent-data-card {
    padding: 16px;
    overflow: hidden;
}

html.fi body.fi-panel-agent .s33-agent-date-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(16,24,40,.10);
    border-radius: 16px;
    background: #f8fafc;
}

html.fi body.fi-panel-agent .s33-agent-date-filter label {
    display: grid;
    gap: 5px;
}

html.fi body.fi-panel-agent .s33-agent-date-filter span {
    color: #475467 !important;
    font-size: 12px;
    font-weight: 800;
}

html.fi body.fi-panel-agent .s33-agent-date-filter input {
    min-height: 38px;
    border: 1px solid rgba(16,24,40,.16);
    border-radius: 12px;
    background: #fff;
    color: #101828 !important;
    padding: 0 10px;
    font-weight: 800;
}

html.fi body.fi-panel-agent .s33-agent-date-filter button,
html.fi body.fi-panel-agent .s33-agent-date-filter a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 0 14px;
    font-weight: 900;
    text-decoration: none;
}

html.fi body.fi-panel-agent .s33-agent-date-filter button {
    border: 0;
    background: #10b981;
    color: #fff !important;
}

html.fi body.fi-panel-agent .s33-agent-date-filter a {
    border: 1px solid rgba(16,185,129,.24);
    background: #ecfdf5;
    color: #047857 !important;
}

html.fi body.fi-panel-agent .s33-agent-table-wrap {
    margin-top: 12px;
    overflow-x: auto;
    border: 1px solid rgba(16,24,40,.10);
    border-radius: 16px;
}

html.fi body.fi-panel-agent .s33-agent-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

html.fi body.fi-panel-agent .s33-agent-table th,
html.fi body.fi-panel-agent .s33-agent-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(16,24,40,.08);
    text-align: left;
    white-space: nowrap;
}

html.fi body.fi-panel-agent .s33-agent-table th {
    background: #f8fafc;
    color: #344054 !important;
    font-weight: 950;
}

html.fi body.fi-panel-agent .s33-agent-table td {
    color: #101828 !important;
}

@media (max-width: 900px) {
    html.fi body.fi-panel-agent .s33-agent-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 2026-05-07 Android player center order fix.
   Some Android browsers/WebViews handle Filament + grid + :has() rules inconsistently.
   Keep player center as a plain top-to-bottom app page on narrow screens. */
@media (max-width: 767px) {
    html.fi body.fi-panel-player .s33-panel-page--player,
    html.fi body.fi-panel-player .s33-player-page {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    html.fi body.fi-panel-player .s33-panel-page--player > *,
    html.fi body.fi-panel-player .s33-player-page > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    html.fi body.fi-panel-player .s33-panel-page--player .s33-panel-hero--player,
    html.fi body.fi-panel-player .s33-panel-page--player .s33-panel-hero { order: 10 !important; }
    html.fi body.fi-panel-player .s33-panel-page--player .s33-panel-cards { order: 20 !important; }
    html.fi body.fi-panel-player .s33-panel-page--player .s33-player-shop-banner { order: 30 !important; }
    html.fi body.fi-panel-player .s33-panel-page--player .s33-player-shop-tabs { order: 40 !important; }
    html.fi body.fi-panel-player .s33-panel-page--player .s33-player-product-grid { order: 50 !important; }

    html.fi body.fi-panel-player .s33-panel-page--player .s33-panel-cards,
    html.fi body.fi-panel-player .s33-panel-page--player .s33-task-grid,
    html.fi body.fi-panel-player .s33-panel-page--player .s33-player-product-grid,
    html.fi body.fi-panel-player .s33-player-page .s33-player-metric-grid,
    html.fi body.fi-panel-player .s33-player-page .s33-player-form-grid,
    html.fi body.fi-panel-player .s33-player-page .s33-player-note-list {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    html.fi body.fi-panel-player .s33-panel-page--player .s33-player-shop-tabs,
    html.fi body.fi-panel-player .s33-player-page .s33-player-nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    html.fi body.fi-panel-player .s33-panel-page--player .s33-player-shop-tabs a,
    html.fi body.fi-panel-player .s33-player-page .s33-player-nav a {
        min-width: 0 !important;
        width: 100% !important;
        white-space: normal !important;
    }

    html.fi body.fi-panel-player .s33-panel-page--player .s33-panel-card,
    html.fi body.fi-panel-player .s33-panel-page--player .s33-task,
    html.fi body.fi-panel-player .s33-player-page .s33-player-metric-grid article,
    html.fi body.fi-panel-player .s33-player-page .s33-player-form-card,
    html.fi body.fi-panel-player .s33-player-page .s33-player-data-card {
        min-width: 0 !important;
        width: 100% !important;
    }
}
@media (max-width: 760px) {
    .s33-advanced-fields__grid { grid-template-columns: 1fr; }
}

/* 2026-05-07 player center final float WebView layout guard */
html.fi body.fi-panel-player .s33-panel-page--player,
html.fi body.fi-panel-player .s33-player-page {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

html.fi body.fi-panel-player .s33-panel-page--player > *,
html.fi body.fi-panel-player .s33-player-page > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

html.fi body.fi-panel-player .s33-panel-page--player .s33-panel-hero--player,
html.fi body.fi-panel-player .s33-panel-page--player .s33-panel-hero { order: 10 !important; }
html.fi body.fi-panel-player .s33-panel-page--player .s33-panel-cards { order: 20 !important; }
html.fi body.fi-panel-player .s33-panel-page--player .s33-player-shop-banner { order: 30 !important; }
html.fi body.fi-panel-player .s33-panel-page--player .s33-player-shop-tabs { order: 40 !important; }
html.fi body.fi-panel-player .s33-panel-page--player .s33-player-product-grid { order: 50 !important; }

html.fi body.fi-panel-player .s33-player-page .s33-player-hero { order: 10 !important; }
html.fi body.fi-panel-player .s33-player-page .s33-player-nav { order: 20 !important; }
html.fi body.fi-panel-player .s33-player-page .s33-player-metric-grid { order: 30 !important; }
html.fi body.fi-panel-player .s33-player-page .s33-player-result { order: 40 !important; }
html.fi body.fi-panel-player .s33-player-page .s33-player-pay-modal { order: 45 !important; }
html.fi body.fi-panel-player .s33-player-page .s33-player-form-grid { order: 50 !important; }
html.fi body.fi-panel-player .s33-player-page .s33-player-note-list { order: 60 !important; }
html.fi body.fi-panel-player .s33-player-page .s33-player-data-card { order: 70 !important; }

@media (max-width: 1024px) {
    html.fi body.fi-panel-player .fi-main {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 10px calc(84px + env(safe-area-inset-bottom)) !important;
        overflow-x: hidden !important;
    }

    html.fi body.fi-panel-player .s33-panel-page--player .s33-player-shop-tabs,
    html.fi body.fi-panel-player .s33-player-page .s33-player-nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    html.fi body.fi-panel-player .s33-panel-page--player .s33-player-shop-tabs a,
    html.fi body.fi-panel-player .s33-player-page .s33-player-nav a {
        min-width: 0 !important;
        width: 100% !important;
        white-space: normal !important;
        text-align: center !important;
    }

    html.fi body.fi-panel-player .s33-panel-page--player .s33-panel-cards,
    html.fi body.fi-panel-player .s33-panel-page--player .s33-task-grid,
    html.fi body.fi-panel-player .s33-panel-page--player .s33-player-product-grid,
    html.fi body.fi-panel-player .s33-player-page .s33-player-metric-grid,
    html.fi body.fi-panel-player .s33-player-page .s33-player-form-grid,
    html.fi body.fi-panel-player .s33-player-page .s33-player-note-list {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    html.fi body.fi-panel-player .s33-panel-page--player .s33-panel-card,
    html.fi body.fi-panel-player .s33-panel-page--player .s33-task,
    html.fi body.fi-panel-player .s33-player-page .s33-player-metric-grid article,
    html.fi body.fi-panel-player .s33-player-page .s33-player-form-card,
    html.fi body.fi-panel-player .s33-player-page .s33-player-data-card,
    html.fi body.fi-panel-player .s33-player-page .s33-player-pay-dialog {
        min-width: 0 !important;
        width: 100% !important;
    }

    html.fi body.fi-panel-player .s33-player-hero,
    html.fi body.fi-panel-player .s33-panel-hero--player,
    html.fi body.fi-panel-player .s33-player-shop-banner {
        overflow: hidden !important;
    }
}

/* 2026-05-07 player center game-skin restore.
   Remove the emergency plain white WebView fallback from normal player pages. */
html.fi body.fi-panel-player {
    background:
        radial-gradient(circle at 16% -8%, rgba(255, 193, 74, .24), transparent 32rem),
        radial-gradient(circle at 100% 4%, rgba(36, 209, 126, .18), transparent 30rem),
        linear-gradient(180deg, rgba(9, 17, 10, .96), rgba(6, 10, 8, .98)),
        url('/images/s33-login-bg.jpg') center / cover fixed !important;
    color: #f8fafc !important;
    overflow-x: hidden !important;
}

html.fi body.fi-panel-player .fi-main,
html.fi body.fi-panel-player .fi-page,
html.fi body.fi-panel-player .fi-page-main,
html.fi body.fi-panel-player .fi-page-content {
    background: transparent !important;
}

@media (min-width: 1024px) {
    html.fi body.fi-panel-player .fi-layout {
        display: flex !important;
        align-items: stretch !important;
        min-height: 100vh !important;
        width: 100% !important;
    }

    html.fi body.fi-panel-player .fi-sidebar,
    html.fi body.fi-panel-player .fi-main-sidebar {
        display: flex !important;
        flex-direction: column !important;
        position: sticky !important;
        top: 0 !important;
        width: 18rem !important;
        min-width: 18rem !important;
        max-width: 18rem !important;
        height: 100vh !important;
        min-height: 100vh !important;
        overflow-y: auto !important;
        background:
            linear-gradient(180deg, rgba(14, 24, 14, .96), rgba(7, 11, 8, .98)),
            url('/images/s33-survival-bg.png') center / cover !important;
        border-right: 1px solid rgba(255, 193, 74, .18) !important;
        box-shadow: 18px 0 50px rgba(0, 0, 0, .30) !important;
        z-index: 20 !important;
    }

    html.fi body.fi-panel-player .fi-sidebar-header-ctn,
    html.fi body.fi-panel-player .fi-sidebar-header,
    html.fi body.fi-panel-player .fi-sidebar-header-logo-ctn,
    html.fi body.fi-panel-player .fi-sidebar-nav,
    html.fi body.fi-panel-player .fi-sidebar-nav-groups,
    html.fi body.fi-panel-player .fi-sidebar-group,
    html.fi body.fi-panel-player .fi-sidebar-group-items,
    html.fi body.fi-panel-player .fi-sidebar-item,
    html.fi body.fi-panel-player .fi-sidebar-item-button,
    html.fi body.fi-panel-player .fi-sidebar-item-label {
        display: flex !important;
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    html.fi body.fi-panel-player .fi-sidebar-header,
    html.fi body.fi-panel-player .fi-sidebar-nav,
    html.fi body.fi-panel-player .fi-sidebar-nav-groups,
    html.fi body.fi-panel-player .fi-sidebar-group,
    html.fi body.fi-panel-player .fi-sidebar-group-items {
        flex-direction: column !important;
    }

    html.fi body.fi-panel-player .fi-sidebar-header {
        padding: 18px 16px !important;
        border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
        background: rgba(0, 0, 0, .16) !important;
    }

    html.fi body.fi-panel-player .fi-sidebar-nav {
        flex: 1 1 auto !important;
        padding: 14px 10px !important;
        gap: 8px !important;
        color: rgba(255, 255, 255, .82) !important;
    }

    html.fi body.fi-panel-player .fi-sidebar-item-button {
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 12px !important;
        border-radius: 14px !important;
        color: rgba(255, 255, 255, .78) !important;
        background: rgba(255, 255, 255, .04) !important;
        border: 1px solid rgba(255, 255, 255, .06) !important;
        text-decoration: none !important;
    }

    html.fi body.fi-panel-player .fi-sidebar-item.fi-active .fi-sidebar-item-button,
    html.fi body.fi-panel-player .fi-sidebar-item-button:hover {
        color: #241207 !important;
        background: linear-gradient(135deg, #ffd36c, #ff8a2a) !important;
        border-color: transparent !important;
        box-shadow: 0 12px 26px rgba(255, 138, 42, .24) !important;
    }

    html.fi body.fi-panel-player .fi-sidebar-item-label,
    html.fi body.fi-panel-player .fi-sidebar-group-label {
        color: inherit !important;
        opacity: 1 !important;
    }

    html.fi body.fi-panel-player .fi-sidebar-item-icon {
        color: #ffd37a !important;
    }

    html.fi body.fi-panel-player .fi-sidebar-item.fi-active .fi-sidebar-item-icon,
    html.fi body.fi-panel-player .fi-sidebar-item-button:hover .fi-sidebar-item-icon {
        color: #241207 !important;
    }

    html.fi body.fi-panel-player .fi-main-ctn {
        display: flex !important;
        flex: 1 1 auto !important;
        width: calc(100% - 18rem) !important;
        max-width: none !important;
        min-width: 0 !important;
        position: static !important;
        left: auto !important;
        transform: none !important;
        background: transparent !important;
    }

    html.fi body.fi-panel-player .fi-main {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 24px !important;
    }
}

html.fi body.fi-panel-player .s33-panel-page--player,
html.fi body.fi-panel-player .s33-player-page {
    display: grid !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #f8fafc !important;
}

html.fi body.fi-panel-player .s33-player-page > section,
html.fi body.fi-panel-player .s33-player-page > nav,
html.fi body.fi-panel-player .s33-panel-page--player > section {
    position: relative !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

html.fi body.fi-panel-player .s33-player-hero,
html.fi body.fi-panel-player .s33-panel-hero--player {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    min-height: 210px !important;
    padding: 28px !important;
    border-radius: 30px !important;
    overflow: hidden !important;
    color: #ffffff !important;
    background:
        linear-gradient(112deg, rgba(7, 11, 8, .98), rgba(21, 34, 18, .88) 52%, rgba(255, 138, 34, .22)),
        url('/images/s33-survival-bg.png') center / cover !important;
    border: 1px solid rgba(255, 193, 74, .28) !important;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .34), inset 0 0 0 1px rgba(255, 255, 255, .06) !important;
}

html.fi body.fi-panel-player .s33-player-hero > div,
html.fi body.fi-panel-player .s33-panel-hero__content {
    position: relative !important;
    z-index: 2 !important;
    min-width: 0 !important;
    max-width: 760px !important;
    color: inherit !important;
}

html.fi body.fi-panel-player .s33-player-hero img,
html.fi body.fi-panel-player .s33-panel-hero__art,
html.fi body.fi-panel-player .s33-player-shop-banner img {
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    object-fit: contain !important;
    opacity: 1 !important;
    filter: drop-shadow(0 24px 34px rgba(0,0,0,.45)) saturate(1.08) !important;
}

html.fi body.fi-panel-player .s33-player-hero img {
    width: min(28vw, 260px) !important;
    min-width: 160px !important;
    max-height: 220px !important;
}

html.fi body.fi-panel-player .s33-player-kicker,
html.fi body.fi-panel-player .s33-panel-hero__brand,
html.fi body.fi-panel-player .s33-player-shop-banner span,
html.fi body.fi-panel-player .s33-player-product-card em {
    display: inline-flex !important;
    width: max-content !important;
    color: #2a1702 !important;
    background: linear-gradient(135deg, #ffe29a, #ff9f28) !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 22px rgba(255, 138, 34, .22) !important;
}

html.fi body.fi-panel-player .s33-player-hero h2,
html.fi body.fi-panel-player .s33-panel-hero h2,
html.fi body.fi-panel-player .s33-player-shop-banner h3 {
    color: #ffffff !important;
    text-shadow: 0 3px 14px rgba(0,0,0,.38) !important;
}

html.fi body.fi-panel-player .s33-player-hero p,
html.fi body.fi-panel-player .s33-panel-hero p,
html.fi body.fi-panel-player .s33-player-shop-banner p {
    color: rgba(255,255,255,.76) !important;
}

html.fi body.fi-panel-player .s33-player-identity span,
html.fi body.fi-panel-player .s33-panel-hero__chips span {
    display: inline-flex !important;
    width: auto !important;
    margin: 0 !important;
    color: rgba(255,255,255,.86) !important;
    background: rgba(255,255,255,.10) !important;
    border: 1px solid rgba(255,193,74,.22) !important;
}

html.fi body.fi-panel-player .s33-player-nav,
html.fi body.fi-panel-player .s33-player-shop-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 10px !important;
    border-radius: 24px !important;
    background: rgba(8, 13, 9, .76) !important;
    border: 1px solid rgba(255,193,74,.18) !important;
    box-shadow: 0 16px 44px rgba(0,0,0,.22) !important;
    overflow: visible !important;
}

html.fi body.fi-panel-player .s33-player-nav a,
html.fi body.fi-panel-player .s33-player-shop-tabs a {
    display: inline-flex !important;
    flex: 1 1 120px !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    color: rgba(255,255,255,.88) !important;
    background: linear-gradient(180deg, rgba(34, 48, 31, .96), rgba(13, 20, 13, .96)) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 18px !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

html.fi body.fi-panel-player .s33-player-nav a.is-active,
html.fi body.fi-panel-player .s33-player-nav a:hover,
html.fi body.fi-panel-player .s33-player-shop-tabs a:hover {
    color: #241207 !important;
    background: linear-gradient(135deg, #ffd36c, #ff8a2a) !important;
    border-color: transparent !important;
}

html.fi body.fi-panel-player .s33-player-data-card,
html.fi body.fi-panel-player .s33-player-form-card,
html.fi body.fi-panel-player .s33-player-result,
html.fi body.fi-panel-player .s33-player-empty-card,
html.fi body.fi-panel-player .s33-player-note-list div,
html.fi body.fi-panel-player .s33-panel-card,
html.fi body.fi-panel-player .s33-task,
html.fi body.fi-panel-player .s33-player-shop-banner {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 20px !important;
    border-radius: 24px !important;
    color: #f8fafc !important;
    background: linear-gradient(180deg, rgba(34, 48, 31, .96), rgba(13, 20, 13, .97)) !important;
    border: 1px solid rgba(255,193,74,.16) !important;
    box-shadow: 0 16px 44px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.04) !important;
    overflow: hidden !important;
}

html.fi body.fi-panel-player .s33-panel-cards,
html.fi body.fi-panel-player .s33-task-grid,
html.fi body.fi-panel-player .s33-player-product-grid,
html.fi body.fi-panel-player .s33-player-metric-grid,
html.fi body.fi-panel-player .s33-player-form-grid,
html.fi body.fi-panel-player .s33-player-note-list {
    display: grid !important;
    gap: 14px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html.fi body.fi-panel-player .s33-panel-cards,
html.fi body.fi-panel-player .s33-player-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html.fi body.fi-panel-player .s33-task-grid,
html.fi body.fi-panel-player .s33-player-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html.fi body.fi-panel-player .s33-player-table-wrap {
    overflow-x: auto !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    background: rgba(3, 7, 5, .58) !important;
}

html.fi body.fi-panel-player .s33-player-table {
    width: 100% !important;
    min-width: 980px !important;
    border-collapse: collapse !important;
    background: transparent !important;
}

html.fi body.fi-panel-player .s33-player-table th,
html.fi body.fi-panel-player .s33-player-table td {
    padding: 13px 14px !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    text-align: left !important;
    white-space: nowrap !important;
}

html.fi body.fi-panel-player .s33-player-table th {
    color: #ffd37a !important;
    background: rgba(0, 0, 0, .34) !important;
    font-weight: 950 !important;
}

html.fi body.fi-panel-player .s33-player-table td {
    color: rgba(255,255,255,.86) !important;
    background: transparent !important;
}

html.fi body.fi-panel-player .s33-player-section-head span,
html.fi body.fi-panel-player .s33-player-metric-grid span,
html.fi body.fi-panel-player .s33-panel-card span,
html.fi body.fi-panel-player .s33-task em {
    color: #ffd37a !important;
}

html.fi body.fi-panel-player .s33-player-section-head strong,
html.fi body.fi-panel-player .s33-player-metric-grid strong,
html.fi body.fi-panel-player .s33-panel-card b,
html.fi body.fi-panel-player .s33-task strong,
html.fi body.fi-panel-player .s33-player-empty-card strong {
    color: #ffffff !important;
}

html.fi body.fi-panel-player .s33-player-section-head p,
html.fi body.fi-panel-player .s33-player-metric-grid em,
html.fi body.fi-panel-player .s33-panel-card span,
html.fi body.fi-panel-player .s33-task small,
html.fi body.fi-panel-player .s33-player-empty,
html.fi body.fi-panel-player .s33-player-empty-card p {
    color: rgba(255,255,255,.68) !important;
}

html.fi body.fi-panel-player .s33-player-field input,
html.fi body.fi-panel-player .s33-player-field select,
html.fi body.fi-panel-player .s33-player-field textarea {
    background: rgba(0,0,0,.35) !important;
    color: #ffffff !important;
    border-color: rgba(255, 205, 128, .24) !important;
}

html.fi body.fi-panel-player .s33-player-form-card button[type="submit"],
html.fi body.fi-panel-player .s33-player-amount-presets button:hover,
html.fi body.fi-panel-player .s33-player-pay-methods label:has(input:checked) {
    color: #241207 !important;
    background: linear-gradient(135deg, #ffd36c, #ff8a2a) !important;
}

@media (max-width: 1023px) {
    html.fi body.fi-panel-player .fi-main {
        padding: 12px !important;
    }

    html.fi body.fi-panel-player .s33-player-hero,
    html.fi body.fi-panel-player .s33-panel-hero--player {
        min-height: 170px !important;
        padding: 18px !important;
        border-radius: 24px !important;
    }

    html.fi body.fi-panel-player .s33-player-hero h2,
    html.fi body.fi-panel-player .s33-panel-hero h2 {
        font-size: 30px !important;
    }

    html.fi body.fi-panel-player .s33-player-hero p,
    html.fi body.fi-panel-player .s33-panel-hero p {
        max-width: 76% !important;
        font-size: 12px !important;
    }

    html.fi body.fi-panel-player .s33-player-hero img,
    html.fi body.fi-panel-player .s33-panel-hero__art {
        width: 140px !important;
        min-width: 120px !important;
        margin-right: -26px !important;
    }

    html.fi body.fi-panel-player .s33-player-nav,
    html.fi body.fi-panel-player .s33-player-shop-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }

    html.fi body.fi-panel-player .s33-player-nav::-webkit-scrollbar,
    html.fi body.fi-panel-player .s33-player-shop-tabs::-webkit-scrollbar {
        display: none !important;
    }

    html.fi body.fi-panel-player .s33-player-nav a,
    html.fi body.fi-panel-player .s33-player-shop-tabs a {
        flex: 0 0 96px !important;
        min-height: 50px !important;
    }

    html.fi body.fi-panel-player .s33-panel-cards,
    html.fi body.fi-panel-player .s33-task-grid,
    html.fi body.fi-panel-player .s33-player-product-grid,
    html.fi body.fi-panel-player .s33-player-metric-grid,
    html.fi body.fi-panel-player .s33-player-form-grid,
    html.fi body.fi-panel-player .s33-player-note-list {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    html.fi body.fi-panel-player .s33-player-table {
        min-width: 720px !important;
    }
}

/* 2026-05-07 player center final body specificity fix. */
html.fi body.fi-body.fi-panel-player,
html.fi.dark body.fi-body.fi-panel-player,
html.fi body.fi-panel-player.fi-body,
html.fi.dark body.fi-panel-player.fi-body {
    background:
        radial-gradient(circle at 16% -8%, rgba(255, 193, 74, .24), transparent 32rem),
        radial-gradient(circle at 100% 4%, rgba(36, 209, 126, .18), transparent 30rem),
        linear-gradient(180deg, rgba(9, 17, 10, .96), rgba(6, 10, 8, .98)),
        url('/images/s33-login-bg.jpg') center / cover fixed !important;
    color: #f8fafc !important;
}

html.fi body.fi-body.fi-panel-player .fi-main,
html.fi body.fi-body.fi-panel-player .fi-page,
html.fi body.fi-body.fi-panel-player .fi-page-main,
html.fi body.fi-body.fi-panel-player .fi-page-content,
html.fi body.fi-body.fi-panel-player .fi-main-ctn,
html.fi body.fi-body.fi-panel-player .fi-layout {
    background: transparent !important;
    color: #f8fafc !important;
}

html.fi body.fi-body.fi-panel-player .fi-page-header-heading,
html.fi body.fi-body.fi-panel-player .fi-header-heading,
html.fi body.fi-body.fi-panel-player .fi-page-header-subheading,
html.fi body.fi-body.fi-panel-player .fi-header-subheading {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.35) !important;
}

/* 2026-05-07 player center topbar and mobile hero polish. */
html.fi body.fi-body.fi-panel-player .fi-topbar,
html.fi body.fi-body.fi-panel-player .fi-topbar-ctn {
    background:
        linear-gradient(180deg, rgba(10, 18, 11, .98), rgba(7, 11, 8, .96)),
        url('/images/s33-survival-bg.png') center / cover !important;
    color: #f8fafc !important;
    border-color: rgba(255, 193, 74, .16) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.25) !important;
}

html.fi body.fi-body.fi-panel-player .fi-topbar .fi-icon-btn,
html.fi body.fi-body.fi-panel-player .fi-topbar button,
html.fi body.fi-body.fi-panel-player .fi-topbar a {
    color: #ffd37a !important;
}

html.fi body.fi-body.fi-panel-player .fi-topbar .fi-icon-btn:hover,
html.fi body.fi-body.fi-panel-player .fi-topbar button:hover {
    background: rgba(255, 193, 74, .12) !important;
}

@media (max-width: 1023px) {
    html.fi body.fi-body.fi-panel-player .s33-player-hero,
    html.fi body.fi-body.fi-panel-player .s33-panel-hero--player {
        display: block !important;
        position: relative !important;
    }

    html.fi body.fi-body.fi-panel-player .s33-player-hero > div,
    html.fi body.fi-body.fi-panel-player .s33-panel-hero__content {
        max-width: 78% !important;
    }

    html.fi body.fi-body.fi-panel-player .s33-player-hero img,
    html.fi body.fi-body.fi-panel-player .s33-panel-hero__art {
        position: absolute !important;
        right: -38px !important;
        bottom: -8px !important;
        width: 150px !important;
        min-width: 150px !important;
        max-height: 160px !important;
        margin: 0 !important;
        opacity: .72 !important;
        pointer-events: none !important;
    }
}

@media (min-width: 1024px) {
    html.fi body.fi-body.fi-panel-player .fi-topbar,
    html.fi body.fi-body.fi-panel-player .fi-topbar-ctn {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }
}

@media (max-width: 1023px) {
    html.fi body.fi-body.fi-panel-player .s33-player-hero > div,
    html.fi body.fi-body.fi-panel-player .s33-panel-hero__content {
        max-width: 66% !important;
    }

    html.fi body.fi-body.fi-panel-player .s33-player-hero img,
    html.fi body.fi-body.fi-panel-player .s33-panel-hero__art {
        right: 6px !important;
        bottom: -6px !important;
        width: 132px !important;
        min-width: 132px !important;
        max-height: 150px !important;
        opacity: .58 !important;
    }
}

html.fi:has(body.fi-body.fi-panel-player),
html.fi.dark:has(body.fi-body.fi-panel-player) {
    min-height: 100% !important;
    background:
        radial-gradient(circle at 16% -8%, rgba(255, 193, 74, .24), transparent 32rem),
        radial-gradient(circle at 100% 4%, rgba(36, 209, 126, .18), transparent 30rem),
        linear-gradient(180deg, rgba(9, 17, 10, .96), rgba(6, 10, 8, .98)),
        url('/images/s33-login-bg.jpg') center / cover fixed !important;
}

html.fi:has(body.fi-body.fi-panel-player),
html.fi.dark:has(body.fi-body.fi-panel-player),
html.fi:has(body.fi-body.fi-panel-player) body.fi-body.fi-panel-player,
html.fi.dark:has(body.fi-body.fi-panel-player) body.fi-body.fi-panel-player,
html.fi:has(body.fi-body.fi-panel-player) .fi-layout,
html.fi:has(body.fi-body.fi-panel-player) .fi-main-ctn {
    min-height: 100vh !important;
    background-color: #071008 !important;
}

@media (max-width: 1023px) {
    html.fi body.fi-body.fi-panel-player .s33-player-hero img,
    html.fi body.fi-body.fi-panel-player .s33-panel-hero__art {
        right: max(6px, calc(100% - 382px)) !important;
    }
}

/* 2026-05-07 emulator/sidebar SVG fallback fix.
   Some Android emulator browsers ignore Filament's SVG size utility, so sidebar SVGs fall back to 300x150. */
html.fi body.fi-body.fi-panel-player .fi-sidebar a,
html.fi body.fi-body.fi-panel-player .fi-sidebar button {
    text-decoration: none !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-group {
    list-style: none !important;
    width: 100% !important;
    min-width: 0 !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-btn,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-group-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: auto !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    color: rgba(255, 255, 255, .82) !important;
    background: rgba(255, 255, 255, .035) !important;
    border: 1px solid rgba(255, 255, 255, .06) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item.fi-active > .fi-sidebar-item-btn,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-btn:hover {
    color: #241207 !important;
    background: linear-gradient(135deg, #ffd36c, #ff8a2a) !important;
    border-color: transparent !important;
    box-shadow: 0 12px 26px rgba(255, 138, 42, .24) !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-icon,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-icon,
html.fi body.fi-body.fi-panel-player .fi-sidebar svg.fi-icon,
html.fi body.fi-body.fi-panel-player .fi-sidebar svg.fi-sidebar-item-icon {
    display: block !important;
    flex: 0 0 22px !important;
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    color: #ffd37a !important;
    stroke-width: 1.8 !important;
    overflow: visible !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item.fi-active .fi-sidebar-item-icon,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item.fi-active .fi-icon,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-btn:hover .fi-sidebar-item-icon,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-btn:hover .fi-icon {
    color: #241207 !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-label,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-group-label {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    color: inherit !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-decoration: none !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-group-label {
    color: rgba(255, 255, 255, .56) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-logo,
html.fi body.fi-body.fi-panel-player .fi-sidebar .s33-brand-lockup {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: 180px !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .s33-brand-lockup__badge,
html.fi body.fi-body.fi-panel-player .fi-sidebar .s33-brand-lockup__badge img {
    width: 96px !important;
    max-width: 120px !important;
    height: auto !important;
    max-height: 46px !important;
    object-fit: contain !important;
}

/* 2026-05-07 admin/support contrast guard.
   Filament is forced to dark mode, while this project uses a white admin theme.
   Keep every non-player backend table/header/button readable on white panels. */
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) {
    --s33-admin-bg: #f6f8fb;
    --s33-admin-panel: #ffffff;
    --s33-admin-soft: #f8fafc;
    --s33-admin-line: rgba(15, 23, 42, .12);
    --s33-admin-text: #0f172a;
    --s33-admin-muted: #475569;
    --s33-admin-subtle: #64748b;
    --s33-admin-primary: #047857;
    --s33-admin-primary-2: #16a34a;
    background: var(--s33-admin-bg) !important;
    color: var(--s33-admin-text) !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-layout,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-main,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-main-ctn,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-page,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-topbar,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-sidebar,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-sidebar-header {
    color: var(--s33-admin-text) !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-header-heading,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-page-header-heading,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-section-header-heading,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-header-heading,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-modal-heading,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-sc-heading {
    color: var(--s33-admin-text) !important;
    text-shadow: none !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-header-subheading,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-page-header-subheading,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-section-header-description,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-header-description,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-modal-description,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-sc-description,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-fo-field-wrp-helper-text,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-fo-field-wrp-error-message {
    color: var(--s33-admin-muted) !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-section,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-ctn,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-content,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-header,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-table,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-modal-window,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-dropdown-panel,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-fo-field-wrp,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-input-wrp,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-tabs,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-pagination {
    background-color: var(--s33-admin-panel) !important;
    border-color: var(--s33-admin-line) !important;
    color: var(--s33-admin-text) !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-table thead,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-table thead tr,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-header-cell,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) table.fi-ta-table th {
    background: var(--s33-admin-soft) !important;
    color: #334155 !important;
    border-color: var(--s33-admin-line) !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-header-cell *,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-header-cell-label,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-header-cell-sort-btn,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-header-cell-sort-btn *,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-header-cell-sort-icon,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) table.fi-ta-table th * {
    color: #334155 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-row,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-table tbody tr,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-cell,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) table.fi-ta-table td {
    background-color: var(--s33-admin-panel) !important;
    color: var(--s33-admin-text) !important;
    border-color: rgba(15, 23, 42, .08) !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-row:hover,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-table tbody tr:hover,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-dropdown-list-item:hover,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-tabs-item:hover {
    background-color: #f1f5f9 !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-text,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-text-item,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-empty-state-heading,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-fo-field-label,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-fo-field-label-content,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-fieldset-legend,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) label,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) legend {
    color: var(--s33-admin-text) !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-text-description,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-empty-state-description,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-breadcrumbs,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-breadcrumbs * {
    color: var(--s33-admin-muted) !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-input,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-select-input,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-textarea,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) input,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) textarea,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) select,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) option {
    background-color: #ffffff !important;
    color: var(--s33-admin-text) !important;
    border-color: rgba(15, 23, 42, .16) !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-input::placeholder,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) textarea::placeholder,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) input::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-input-wrp-icon,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-select-input + svg,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-icon-btn,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-icon-btn * {
    color: var(--s33-admin-subtle) !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-btn,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) a.fi-btn,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) button.fi-btn,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ac-action {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, .16) !important;
    color: #1f2937 !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06) !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-btn *,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) a.fi-btn *,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) button.fi-btn *,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-btn-label,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-btn-icon {
    color: inherit !important;
    opacity: 1 !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-btn-color-primary,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-btn.fi-color-primary,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-btn[class*="fi-color-primary"],
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) button[type="submit"].fi-btn {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--s33-admin-primary), var(--s33-admin-primary-2)) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(22, 163, 74, .24) !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-btn-color-danger,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-btn.fi-color-danger,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-btn[class*="fi-color-danger"] {
    border-color: transparent !important;
    background: linear-gradient(135deg, #dc2626, #ef4444) !important;
    color: #ffffff !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-btn-color-warning,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-btn.fi-color-warning,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-btn[class*="fi-color-warning"] {
    border-color: rgba(180, 83, 9, .24) !important;
    background: linear-gradient(135deg, #f59e0b, #facc15) !important;
    color: #422006 !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-link,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) a.fi-link,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) button.fi-link,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-actions a,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-actions button:not(.fi-btn) {
    color: var(--s33-admin-primary) !important;
    text-shadow: none !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-link.fi-color-danger,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) button.fi-link.fi-color-danger,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-ta-actions .fi-color-danger {
    color: #dc2626 !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-dropdown-list-item,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-dropdown-list-item-label,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-tabs-item,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-tabs-item-label,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-pagination,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-pagination * {
    color: var(--s33-admin-text) !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-tabs-item.fi-active,
html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-tabs-item[aria-selected="true"] {
    background: #ecfdf5 !important;
    color: var(--s33-admin-primary) !important;
}

html.fi body.fi-body:not(.fi-panel-player):not(.s33-guest-body) .fi-badge:not(.fi-color) {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border-color: rgba(15, 23, 42, .12) !important;
}

/* 2026-05-08 player floating-window sidebar compact pass.
   Android emulator floating WebView often reports a desktop-wide viewport but only ~460px height.
   Keep the left player menu readable, remove the oversized group header, and fit more items on screen. */
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-group-btn {
    min-height: 22px !important;
    height: auto !important;
    padding: 1px 8px 5px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, .56) !important;
    cursor: default !important;
    overflow: visible !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-group-btn .fi-sidebar-group-label {
    color: rgba(255, 255, 255, .58) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .06em !important;
    line-height: 1.2 !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-group-btn > .fi-icon,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-group-btn > svg {
    display: none !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-nav-groups,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-group-items {
    gap: 6px !important;
}

@media (min-width: 768px) and (max-height: 700px) {
    html.fi body.fi-body.fi-panel-player {
        --s33-player-sidebar-compact-w: 11.5rem;
    }

    html.fi body.fi-body.fi-panel-player .fi-sidebar,
    html.fi body.fi-body.fi-panel-player .fi-main-sidebar {
        width: var(--s33-player-sidebar-compact-w) !important;
        min-width: var(--s33-player-sidebar-compact-w) !important;
        max-width: var(--s33-player-sidebar-compact-w) !important;
        height: 100vh !important;
        min-height: 100vh !important;
        overflow-y: auto !important;
        scrollbar-width: thin;
    }

    html.fi body.fi-body.fi-panel-player .fi-main-ctn {
        width: calc(100% - var(--s33-player-sidebar-compact-w)) !important;
        min-width: 0 !important;
    }

    html.fi body.fi-body.fi-panel-player .fi-sidebar-header,
    html.fi body.fi-body.fi-panel-player .fi-sidebar-header-ctn,
    html.fi body.fi-body.fi-panel-player .fi-sidebar-header-logo-ctn {
        min-height: 0 !important;
        padding: 8px 9px !important;
    }

    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-logo,
    html.fi body.fi-body.fi-panel-player .fi-sidebar .s33-brand-lockup {
        max-width: 104px !important;
        justify-content: center !important;
    }

    html.fi body.fi-body.fi-panel-player .fi-sidebar .s33-brand-lockup__badge,
    html.fi body.fi-body.fi-panel-player .fi-sidebar .s33-brand-lockup__badge img {
        width: 74px !important;
        max-width: 84px !important;
        max-height: 34px !important;
    }

    html.fi body.fi-body.fi-panel-player .fi-sidebar .s33-brand-lockup__text {
        display: none !important;
    }

    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-nav {
        padding: 6px 7px 8px !important;
        gap: 4px !important;
    }

    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-nav-groups,
    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-group,
    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-group-items {
        gap: 4px !important;
    }

    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-group-btn {
        min-height: 16px !important;
        padding: 0 6px 2px !important;
    }

    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-group-label {
        font-size: 10px !important;
        line-height: 1.1 !important;
    }

    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-btn,
    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-button {
        gap: 7px !important;
        min-height: 34px !important;
        padding: 6px 8px !important;
        border-radius: 10px !important;
    }

    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-icon,
    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-icon,
    html.fi body.fi-body.fi-panel-player .fi-sidebar svg.fi-icon,
    html.fi body.fi-body.fi-panel-player .fi-sidebar svg.fi-sidebar-item-icon {
        flex-basis: 18px !important;
        width: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        height: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
    }

    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-label {
        font-size: 12.5px !important;
        line-height: 1.15 !important;
        font-weight: 850 !important;
    }

    html.fi body.fi-body.fi-panel-player .fi-main {
        padding: 14px 18px 18px !important;
    }

    html.fi body.fi-body.fi-panel-player .fi-header-heading,
    html.fi body.fi-body.fi-panel-player .fi-page-header-heading {
        font-size: clamp(24px, 3.2vw, 36px) !important;
        line-height: 1.05 !important;
    }
}

@media (min-width: 768px) and (max-height: 520px) {
    html.fi body.fi-body.fi-panel-player {
        --s33-player-sidebar-compact-w: 10.5rem;
    }

    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-header,
    html.fi body.fi-body.fi-panel-player .fi-sidebar-header {
        padding-block: 6px !important;
    }

    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-nav {
        padding-block: 4px 6px !important;
    }

    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-group-btn {
        display: none !important;
    }

    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-btn,
    html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-button {
        min-height: 31px !important;
        padding-block: 5px !important;
    }

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-label {
        font-size: 12px !important;
    }
}

/* 2026-05-08 兑换码物品栏：可增删、多行、可搜索选择。 */
.s33-item-repeater {
    grid-column: 1 / -1;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, .28);
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
}

.s33-item-repeater__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.s33-item-repeater__head > span {
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
}

.s33-item-repeater__head button,
.s33-item-repeater__delete {
    border: 0;
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.s33-item-repeater__head button {
    color: #064e3b;
    background: linear-gradient(135deg, #bbf7d0, #fef08a);
    box-shadow: 0 10px 24px rgba(22, 163, 74, .14);
}

.s33-item-repeater__rows {
    display: grid;
    gap: 10px;
}

.s33-item-repeater__row {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(120px, 160px) auto;
    align-items: end;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, .22);
    background: #ffffff;
}

.s33-item-repeater__row label {
    display: grid;
    gap: 7px;
}

.s33-item-repeater__row label span {
    color: #475569;
    font-size: 12px;
    font-weight: 850;
}

.s33-item-repeater__row input[type='search'] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.s33-item-repeater__delete {
    min-height: 44px;
    color: #be123c;
    background: #fff1f2;
    border: 1px solid rgba(244, 63, 94, .18);
}

.s33-item-repeater__empty {
    padding: 14px;
    border-radius: 16px;
    color: #64748b;
    background: #f1f5f9;
    border: 1px dashed rgba(148, 163, 184, .42);
    font-weight: 750;
}

@media (max-width: 760px) {
    .s33-item-repeater__head,
    .s33-item-repeater__row {
        grid-template-columns: 1fr;
    }

    .s33-item-repeater__head {
        display: grid;
    }

    .s33-item-repeater__head button,
    .s33-item-repeater__delete {
        width: 100%;
    }
}

/* 2026-05-08 兑换码生成结果：直接给码和列表入口，不再让运营看 JSON。 */
.s33-action-head-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    color: #064e3b !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 900;
    background: linear-gradient(135deg, #bbf7d0, #fef08a);
    box-shadow: 0 10px 24px rgba(22, 163, 74, .14);
}

.s33-giftcard-result {
    display: grid;
    gap: 14px;
    max-width: 1120px;
    padding: 20px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, .24);
    box-shadow: 0 18px 54px rgba(15, 23, 42, .08);
}

.s33-giftcard-result.is-bad {
    border-color: rgba(244, 63, 94, .26);
}

.s33-giftcard-result > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.s33-giftcard-result > header span {
    display: block;
    color: #047857;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

.s33-giftcard-result.is-bad > header span {
    color: #be123c;
}

.s33-giftcard-result > header strong {
    display: block;
    margin-top: 4px;
    color: #0f172a;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -.035em;
}

.s33-giftcard-result > header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.s33-giftcard-result > header button,
.s33-giftcard-result > header a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px;
    border: 0;
    border-radius: 14px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.s33-giftcard-result > header button {
    color: #ffffff;
    background: linear-gradient(135deg, #047857, #16a34a);
    box-shadow: 0 12px 26px rgba(22, 163, 74, .20);
}

.s33-giftcard-result > header a {
    color: #0f172a !important;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, .10);
}

.s33-giftcard-codebox {
    display: grid;
    gap: 8px;
}

.s33-giftcard-codebox span {
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.s33-giftcard-codebox textarea {
    width: 100%;
    min-height: 190px;
    padding: 15px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: #0f172a;
    color: #f8fafc;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.65;
    resize: vertical;
}

.s33-giftcard-meta {
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 16px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .22);
    font-size: 13px;
    line-height: 1.55;
}

.s33-giftcard-empty {
    padding: 14px;
    border-radius: 16px;
    color: #be123c;
    background: #fff1f2;
    border: 1px solid rgba(244, 63, 94, .20);
    font-weight: 850;
}

.s33-giftcard-debug {
    border-radius: 16px;
    background: #f8fafc;
    border: 1px dashed rgba(148, 163, 184, .42);
    padding: 12px;
}

.s33-giftcard-debug summary {
    cursor: pointer;
    color: #475569;
    font-size: 13px;
    font-weight: 850;
}

.s33-giftcard-debug pre {
    margin-top: 10px;
    max-height: 320px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width: 760px) {
    .s33-giftcard-result > header {
        display: grid;
    }

    .s33-giftcard-result > header nav,
    .s33-giftcard-result > header button,
    .s33-giftcard-result > header a,
    .s33-action-head-link {
        width: 100%;
    }
}

/* Codex 2026-05: productized shop cards and premium lottery presentation. */
.s33-shop-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.s33-shop-card,
.s33-lottery-stage,
.s33-lottery-pool-card,
.s33-lottery-result-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 214, 120, .18);
    background: linear-gradient(145deg, rgba(20, 22, 34, .94), rgba(10, 12, 22, .92));
    border-radius: 28px;
    box-shadow: 0 24px 68px rgba(0, 0, 0, .34);
}
.s33-shop-card::before,
.s33-lottery-stage::before,
.s33-lottery-pool-card::before,
.s33-lottery-result-card::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto auto;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(250, 204, 21, .22), transparent 68%);
    pointer-events: none;
}
.s33-shop-card { padding: 18px; display: grid; gap: 12px; }
.s33-shop-card__top,
.s33-shop-card__bottom,
.s33-lottery-offers { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.s33-shop-card__top span,
.s33-shop-card__top em,
.s33-lottery-stage__copy span,
.s33-lottery-pool-grid b,
.s33-lottery-prize em {
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
}
.s33-shop-card__top span { color: #ffe8a3; background: rgba(245, 158, 11, .15); border: 1px solid rgba(245, 158, 11, .25); }
.s33-shop-card__top em { color: #a7f3d0; background: rgba(16, 185, 129, .12); border: 1px solid rgba(16, 185, 129, .25); font-style: normal; }
.s33-shop-card h3 { margin: 0; color: #fff7ed; font-size: 20px; font-weight: 1000; }
.s33-shop-card__key { margin: -6px 0 0; color: rgba(255, 255, 255, .45); font-size: 11px; word-break: break-all; }
.s33-shop-card__duration {
    margin: -8px 0 0;
    color: #fde68a;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
}
.s33-shop-card__items,
.s33-lottery-pool-grid,
.s33-lottery-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 10px;
}
.s33-shop-card__items div,
.s33-lottery-pool-grid article,
.s33-lottery-result-grid article {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 5px;
    min-height: 126px;
    padding: 10px 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .09);
}
.s33-shop-card__items img,
.s33-lottery-pool-grid img,
.s33-lottery-result-grid img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(0,0,0,.42));
}
.s33-shop-card__items strong,
.s33-lottery-pool-grid strong,
.s33-lottery-result-grid strong {
    width: 100%;
    color: #f8fafc;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.s33-shop-card__items span,
.s33-lottery-pool-grid span,
.s33-lottery-result-grid span { color: #fbbf24; font-size: 12px; font-weight: 900; }
.s33-shop-card__items .s33-shop-card__item-note {
    grid-column: 1 / -1;
    min-height: auto;
    align-items: start;
    justify-items: start;
    padding: 10px 12px;
    background: rgba(34, 197, 94, .10);
    border-color: rgba(74, 222, 128, .22);
}
.s33-shop-card__items .s33-shop-card__item-note strong {
    text-align: left;
    color: #bbf7d0;
    -webkit-line-clamp: 1;
}
.s33-shop-card__items .s33-shop-card__item-note span {
    color: rgba(255,255,255,.78);
    font-weight: 750;
    line-height: 1.55;
}
.s33-shop-card__bottom { margin-top: 4px; }
.s33-shop-card__bottom strong { color: #fbbf24; font-size: 22px; font-weight: 1000; display: block; }
.s33-shop-card__bottom span { color: rgba(255,255,255,.55); font-size: 12px; }
.s33-shop-card__bottom button,
.s33-lottery-offers button {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    color: #261305;
    font-weight: 1000;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    box-shadow: 0 12px 24px rgba(245, 158, 11, .25);
    cursor: pointer;
}
.s33-lottery-stage { padding: 22px; display: grid; grid-template-columns: minmax(240px, .85fr) 1.15fr; gap: 18px; }
.s33-lottery-stage__copy h3 { margin: 10px 0 8px; color: #fff; font-size: clamp(28px, 4vw, 46px); font-weight: 1000; }
.s33-lottery-stage__copy p { margin: 0; color: rgba(255,255,255,.68); line-height: 1.75; }
.s33-lottery-stage__copy span { display: inline-flex; color: #fde68a; background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.22); }
.s33-lottery-offers { align-items: stretch; flex-wrap: wrap; }
.s33-lottery-offers article {
    flex: 1 1 160px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
}
.s33-lottery-offers article > span { color: #a7f3d0; font-size: 12px; font-weight: 900; }
.s33-lottery-offers strong { color: #fff; font-weight: 1000; }
.s33-lottery-offers em { color: #fbbf24; font-style: normal; font-weight: 900; }
.s33-lottery-pool-card,
.s33-lottery-result-card { padding: 18px; }
.s33-lottery-pool-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
.s33-lottery-result-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.s33-lottery-pool-grid article.is-sss,
.s33-lottery-result-grid article.is-sss { border-color: rgba(244, 114, 182, .42); background: radial-gradient(circle at 50% 0, rgba(244,114,182,.2), rgba(255,255,255,.055)); }
.s33-lottery-pool-grid article.is-ss,
.s33-lottery-result-grid article.is-ss { border-color: rgba(250, 204, 21, .42); background: radial-gradient(circle at 50% 0, rgba(250,204,21,.18), rgba(255,255,255,.055)); }
.s33-lottery-pool-grid article.is-s,
.s33-lottery-result-grid article.is-s { border-color: rgba(96, 165, 250, .36); }
.s33-lottery-pool-grid b,
.s33-lottery-prize em { color: #fef3c7; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.12); font-style: normal; }
.s33-lottery-pool-grid article.is-blocked {
    opacity: .58;
    border-color: rgba(148, 163, 184, .42);
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .78), rgba(30, 41, 59, .58)),
        rgba(255, 255, 255, .035);
}
.s33-lottery-pool-grid article.is-blocked::after {
    content: "已排除";
    position: absolute;
    top: 42px;
    right: 8px;
    border-radius: 999px;
    padding: 4px 7px;
    color: #e2e8f0;
    font-size: 10px;
    font-weight: 1000;
    background: rgba(15, 23, 42, .78);
    border: 1px solid rgba(226, 232, 240, .28);
}
.s33-lottery-skin-block-toggle {
    width: 100%;
    border: 1px solid rgba(248, 113, 113, .32);
    border-radius: 999px;
    padding: 7px 8px;
    color: #fecaca;
    font-size: 11px;
    font-weight: 1000;
    background: rgba(127, 29, 29, .22);
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.s33-lottery-skin-block-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(248, 113, 113, .62);
    background: rgba(127, 29, 29, .34);
}
.s33-lottery-skin-block-toggle.is-blocked {
    color: #bbf7d0;
    border-color: rgba(74, 222, 128, .36);
    background: rgba(22, 101, 52, .22);
}
@media (max-width: 760px) {
    .s33-lottery-stage { grid-template-columns: 1fr; }
    .s33-shop-card-grid { grid-template-columns: 1fr; }
}

/* Codex 2026-05-10: slot-machine lottery animation. */
.s33-lottery-panel {
    display: grid;
    gap: 14px;
    min-width: 0;
}
.s33-slot-help {
    margin-top: 16px;
    padding: 12px 14px;
    color: #fde68a;
    font-size: 13px;
    font-weight: 800;
    border-radius: 18px;
    background: rgba(245, 158, 11, .12);
    border: 1px solid rgba(245, 158, 11, .22);
}
.s33-slot-machine {
    position: relative;
    overflow: hidden;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid rgba(255, 214, 120, .22);
    background:
        radial-gradient(circle at 50% -20%, rgba(250, 204, 21, .2), transparent 45%),
        linear-gradient(145deg, rgba(8, 10, 22, .94), rgba(34, 20, 40, .9));
    box-shadow: inset 0 0 24px rgba(255,255,255,.05), 0 22px 54px rgba(0,0,0,.35);
}
.s33-slot-machine__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.s33-slot-machine__head span {
    color: #fbbf24;
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .12em;
}
.s33-slot-machine__head strong {
    color: #fff7ed;
    font-weight: 1000;
}
.s33-slot-window {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(76px, 1fr));
    gap: 10px;
    min-height: 118px;
    padding: 10px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(255,255,255,.06));
    border: 1px solid rgba(255,255,255,.11);
}
.s33-slot-reel {
    position: relative;
    overflow: hidden;
    height: 104px;
    border-radius: 16px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: inset 0 12px 20px rgba(0,0,0,.22), inset 0 -12px 20px rgba(0,0,0,.22);
}
.s33-slot-strip {
    display: grid;
    gap: 8px;
    padding: 8px;
    transform: translateY(-8px);
}
.s33-slot-item {
    height: 88px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.09);
}
.s33-slot-item img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,.44));
}
.s33-slot-item span {
    color: #fef3c7;
    font-size: 11px;
    font-weight: 1000;
}
.s33-slot-item.is-sss { background: radial-gradient(circle at 50% 20%, rgba(244,114,182,.24), rgba(255,255,255,.06)); border-color: rgba(244,114,182,.38); }
.s33-slot-item.is-ss { background: radial-gradient(circle at 50% 20%, rgba(250,204,21,.22), rgba(255,255,255,.06)); border-color: rgba(250,204,21,.36); }
.s33-slot-payline {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(253, 224, 71, .95), transparent);
    box-shadow: 0 0 16px rgba(250, 204, 21, .9);
    pointer-events: none;
}
.s33-slot-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    color: #fff7ed;
    text-align: center;
    background: radial-gradient(circle, rgba(15, 23, 42, .32), rgba(0,0,0,.72));
    transition: opacity .18s ease;
}
.s33-slot-overlay strong { font-size: 20px; font-weight: 1000; text-shadow: 0 0 18px rgba(250,204,21,.7); }
.s33-slot-overlay span { color: #fde68a; font-size: 13px; font-weight: 800; }
.s33-slot-overlay.is-visible { opacity: 1; }
.s33-slot-machine.is-spinning .s33-slot-strip {
    animation: s33-slot-spin var(--slot-speed, .42s) linear infinite;
    animation-delay: var(--slot-delay, 0s);
}
.s33-slot-machine.is-spinning .s33-slot-reel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.16), transparent 28%, transparent 72%, rgba(0,0,0,.28));
    animation: s33-slot-flash .22s linear infinite;
}
.s33-player-page.is-lottery-spinning [data-s33-lottery-form] button[type="submit"] {
    filter: saturate(1.35) brightness(1.08);
    box-shadow: 0 0 0 4px rgba(245,158,11,.18), 0 18px 34px rgba(245,158,11,.28);
}
.s33-lottery-prize {
    animation: s33-prize-pop .48s cubic-bezier(.2, 1.2, .2, 1) both;
}
@keyframes s33-slot-spin {
    from { transform: translateY(-8px); }
    to { transform: translateY(calc(-50% - 8px)); }
}
@keyframes s33-slot-flash {
    0%,100% { opacity: .35; }
    50% { opacity: .8; }
}
@keyframes s33-prize-pop {
    from { transform: translateY(16px) scale(.86); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .s33-slot-machine.is-spinning .s33-slot-strip,
    .s33-slot-machine.is-spinning .s33-slot-reel::after,
    .s33-lottery-prize { animation: none; }
}
@media (max-width: 760px) {
    .s33-slot-window { grid-template-columns: repeat(3, minmax(64px, 1fr)); gap: 7px; }
    .s33-slot-reel { height: 94px; }
    .s33-slot-item { height: 80px; }
    .s33-slot-item img { width: 50px; height: 50px; }
}

/* Codex 2026-05-10: direct purchase / lottery confirmation modal. */
.s33-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 99980;
    display: grid;
    place-items: center;
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}
.s33-confirm-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}
.s33-confirm-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .62);
    backdrop-filter: blur(8px);
}
.s33-confirm-modal__dialog {
    position: relative;
    width: min(460px, 100%);
    overflow: hidden;
    padding: 22px;
    border-radius: 28px;
    color: #fff7ed;
    background:
        radial-gradient(circle at 88% 10%, rgba(250, 204, 21, .25), transparent 34%),
        linear-gradient(145deg, rgba(21, 18, 32, .98), rgba(9, 13, 24, .98));
    border: 1px solid rgba(253, 224, 71, .24);
    box-shadow: 0 34px 90px rgba(0,0,0,.55);
    transform: translateY(14px) scale(.98);
    transition: transform .18s ease;
}
.s33-confirm-modal.is-open .s33-confirm-modal__dialog {
    transform: translateY(0) scale(1);
}
.s33-confirm-modal__dialog.is-insufficient {
    border-color: rgba(248, 113, 113, .32);
    background:
        radial-gradient(circle at 88% 10%, rgba(248, 113, 113, .22), transparent 34%),
        linear-gradient(145deg, rgba(35, 16, 24, .98), rgba(9, 13, 24, .98));
}
.s33-confirm-modal__head span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #fde68a;
    font-size: 12px;
    font-weight: 1000;
    background: rgba(245, 158, 11, .14);
    border: 1px solid rgba(245, 158, 11, .24);
}
.s33-confirm-modal__dialog.is-insufficient .s33-confirm-modal__head span {
    color: #fecaca;
    background: rgba(239, 68, 68, .16);
    border-color: rgba(239, 68, 68, .28);
}
.s33-confirm-modal__head strong {
    display: block;
    font-size: 24px;
    line-height: 1.18;
    font-weight: 1000;
}
.s33-confirm-modal__head p {
    margin: 8px 0 0;
    color: rgba(255,255,255,.66);
    line-height: 1.6;
}
.s33-confirm-modal__body {
    display: grid;
    gap: 10px;
    margin: 18px 0 14px;
}
.s33-confirm-modal__body div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.09);
}
.s33-confirm-modal__body span {
    color: rgba(255,255,255,.58);
    font-size: 13px;
    font-weight: 800;
}
.s33-confirm-modal__body strong {
    color: #fde68a;
    font-size: 16px;
    font-weight: 1000;
}
.s33-confirm-modal__dialog.is-insufficient .s33-confirm-modal__body strong {
    color: #fecaca;
}
.s33-confirm-modal__skip {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 6px 0 18px;
    color: rgba(255,255,255,.74);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.s33-confirm-modal__skip input {
    width: 18px;
    height: 18px;
    accent-color: #f59e0b;
}
.s33-confirm-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}
.s33-confirm-modal__actions button {
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 1000;
    cursor: pointer;
}
.s33-confirm-modal__actions .is-ghost {
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
}
.s33-confirm-modal__actions .is-primary {
    color: #261305;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    box-shadow: 0 14px 28px rgba(245, 158, 11, .24);
}
.s33-confirm-modal__dialog.is-insufficient .s33-confirm-modal__actions .is-primary {
    color: #fff;
    background: linear-gradient(135deg, #fb7185, #ef4444);
    box-shadow: 0 14px 28px rgba(239, 68, 68, .24);
}
.s33-direct-buy-btn {
    min-width: 96px;
}
@media (max-width: 640px) {
    .s33-confirm-modal__dialog { padding: 18px; border-radius: 22px; }
    .s33-confirm-modal__actions { display: grid; grid-template-columns: 1fr 1fr; }
}


/* 2026-05-11 player mobile sidebar contrast fix.
   Fix mobile drawer default white background + white unselected labels. */
html.fi body.fi-body.fi-panel-player .fi-sidebar,
html.fi body.fi-body.fi-panel-player .fi-main-sidebar,
html.fi body.fi-body.fi-panel-player .fi-sidebar-header,
html.fi body.fi-body.fi-panel-player .fi-sidebar-header-ctn,
html.fi body.fi-body.fi-panel-player .fi-sidebar-nav,
html.fi body.fi-body.fi-panel-player .fi-sidebar-nav-groups {
    background:
        linear-gradient(180deg, rgba(15, 25, 15, .98), rgba(6, 10, 8, .98)),
        url('/images/s33-survival-bg.png') center / cover !important;
    color: #e9f7ec !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar,
html.fi body.fi-body.fi-panel-player .fi-main-sidebar {
    border-right: 1px solid rgba(255, 193, 74, .18) !important;
    box-shadow: 18px 0 54px rgba(0, 0, 0, .38) !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-btn:not(:hover),
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-button:not(:hover) {
    color: #e9f7ec !important;
    background: rgba(255, 255, 255, .055) !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item:not(.fi-active) .fi-sidebar-item-label,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item:not(.fi-active) .fi-sidebar-item-btn,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item:not(.fi-active) .fi-sidebar-item-button {
    color: #e9f7ec !important;
    opacity: 1 !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item:not(.fi-active) .fi-sidebar-item-icon,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item:not(.fi-active) .fi-icon,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-group-label {
    color: #ffd37a !important;
    opacity: 1 !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item.fi-active > .fi-sidebar-item-btn,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item.fi-active > .fi-sidebar-item-button,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-btn:hover,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-button:hover {
    color: #241207 !important;
    background: linear-gradient(135deg, #ffd36c, #ff8a2a) !important;
    border-color: transparent !important;
}

html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item.fi-active .fi-sidebar-item-label,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item.fi-active .fi-sidebar-item-icon,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item.fi-active .fi-icon,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-btn:hover .fi-sidebar-item-label,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-btn:hover .fi-sidebar-item-icon,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-btn:hover .fi-icon,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-button:hover .fi-sidebar-item-label,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-button:hover .fi-sidebar-item-icon,
html.fi body.fi-body.fi-panel-player .fi-sidebar .fi-sidebar-item-button:hover .fi-icon {
    color: #241207 !important;
}



/* 2026-05-13 player center switch-account button */
.s33-switch-account-form {
    display: inline-flex;
    align-items: center;
    margin: 0;
}
.s33-switch-account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 7px 14px;
    border: 0;
    border-radius: 999px;
    color: #241207;
    font-size: 12px;
    font-weight: 1000;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: linear-gradient(135deg, #fde68a, #f59e0b 56%, #fb923c);
    box-shadow: 0 10px 24px rgba(245, 158, 11, .24);
    transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}
.s33-switch-account-btn:hover,
.s33-switch-account-btn:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 14px 28px rgba(245, 158, 11, .32);
    outline: none;
}
.s33-player-identity .s33-switch-account-form,
.s33-panel-hero__chips .s33-switch-account-form {
    flex: 0 0 auto;
}
.s33-player-identity .s33-switch-account-btn {
    min-height: 31px;
}
@media (max-width: 640px) {
    .s33-switch-account-btn {
        min-height: 34px;
        padding: 9px 14px;
        font-size: 13px;
    }
    .s33-player-identity .s33-switch-account-form,
    .s33-panel-hero__chips .s33-switch-account-form {
        width: auto;
    }
}

/* 2026-05-15 survival membership player page */
html.fi body.fi-panel-player .s33-membership-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
html.fi body.fi-panel-player .s33-member-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
    padding: 18px;
    border: 1px solid rgba(250, 204, 21, .28);
    border-radius: 24px;
    color: #fff7df;
    background:
        radial-gradient(circle at 18% 0%, rgba(250, 204, 21, .22), transparent 34%),
        radial-gradient(circle at 100% 10%, rgba(248, 113, 22, .18), transparent 34%),
        linear-gradient(145deg, rgba(20, 29, 20, .96), rgba(56, 29, 11, .94));
    box-shadow: 0 22px 58px rgba(0, 0, 0, .28);
}
html.fi body.fi-panel-player .s33-member-card.is-advanced {
    border-color: rgba(96, 165, 250, .38);
    background:
        radial-gradient(circle at 18% 0%, rgba(59, 130, 246, .22), transparent 34%),
        radial-gradient(circle at 100% 10%, rgba(250, 204, 21, .16), transparent 34%),
        linear-gradient(145deg, rgba(14, 30, 54, .96), rgba(34, 42, 18, .94));
}
html.fi body.fi-panel-player .s33-member-card.is-supreme {
    border-color: rgba(250, 204, 21, .62);
    background:
        radial-gradient(circle at 20% 0%, rgba(250, 204, 21, .32), transparent 34%),
        radial-gradient(circle at 100% 0%, rgba(239, 68, 68, .24), transparent 38%),
        linear-gradient(145deg, rgba(45, 23, 9, .98), rgba(16, 20, 22, .96));
}
html.fi body.fi-panel-player .s33-member-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 28%, transparent 68%, rgba(255,255,255,.05));
}
html.fi body.fi-panel-player .s33-member-card > * {
    position: relative;
    z-index: 1;
}
html.fi body.fi-panel-player .s33-member-card__top,
html.fi body.fi-panel-player .s33-member-card__pay,
html.fi body.fi-panel-player .s33-member-card__price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
html.fi body.fi-panel-player .s33-member-card__top span,
html.fi body.fi-panel-player .s33-member-card__top em {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}
html.fi body.fi-panel-player .s33-member-card__top span {
    color: #211207;
    background: linear-gradient(135deg, #fde68a, #f97316);
}
html.fi body.fi-panel-player .s33-member-card__top em {
    color: #fde68a;
    background: rgba(15, 23, 42, .42);
    border: 1px solid rgba(253, 230, 138, .2);
}
html.fi body.fi-panel-player .s33-member-card h3 {
    margin: 0;
    color: #fff7d6;
    font-size: 24px;
    font-weight: 1000;
    letter-spacing: .02em;
}
html.fi body.fi-panel-player .s33-member-card__tagline {
    min-height: 44px;
    margin: 0;
    color: rgba(255, 247, 223, .82);
    font-size: 13px;
    line-height: 1.7;
}
html.fi body.fi-panel-player .s33-member-card__price strong {
    color: #fde68a;
    font-size: 32px;
    font-weight: 1000;
    line-height: 1;
}
html.fi body.fi-panel-player .s33-member-card__price span {
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 800;
}
html.fi body.fi-panel-player .s33-member-service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
html.fi body.fi-panel-player .s33-member-service-list span {
    border: 1px solid rgba(250, 204, 21, .24);
    border-radius: 999px;
    padding: 6px 10px;
    color: #fff3c4;
    background: rgba(0, 0, 0, .22);
    font-size: 12px;
    font-weight: 900;
}
html.fi body.fi-panel-player .s33-member-reward-block {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    background: rgba(0, 0, 0, .20);
}
html.fi body.fi-panel-player .s33-member-reward-block > b {
    color: #fde68a;
    font-size: 13px;
    font-weight: 1000;
}
html.fi body.fi-panel-player .s33-member-reward-block.is-daily > b { color: #93c5fd; }
html.fi body.fi-panel-player .s33-member-reward-block.is-version > b { color: #fda4af; }
html.fi body.fi-panel-player .s33-product-alert {
    margin: 10px 0 12px;
    padding: 10px 12px;
    border-radius: 16px;
    color: #1b1307;
    background: linear-gradient(135deg, #fff3b0, #ffb347);
    border: 1px solid rgba(255, 255, 255, .45);
    box-shadow: 0 10px 24px rgba(255, 155, 61, .24), inset 0 0 0 1px rgba(255, 255, 255, .20);
    font-size: 13px;
    font-weight: 1000;
    line-height: 1.55;
    letter-spacing: .01em;
}
html.fi body.fi-panel-player .s33-product-alert.is-member {
    background: linear-gradient(135deg, #dbeafe, #93c5fd);
    color: #08162d;
    box-shadow: 0 10px 24px rgba(59, 130, 246, .22), inset 0 0 0 1px rgba(255, 255, 255, .20);
}
html.fi body.fi-panel-player .s33-product-alert::before {
    content: "必看";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .92);
    color: #fff7df;
    font-size: 12px;
    font-weight: 1000;
}
html.fi body.fi-panel-player .s33-super-benefit-daily-notice {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #1b1307;
    background: linear-gradient(135deg, #ffe08a, #ff9b3d);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 8px 18px rgba(255, 155, 61, .22);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .02em;
}
html.fi body.fi-panel-player .s33-member-item-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
html.fi body.fi-panel-player .s33-member-item-grid > div {
    min-width: 0;
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 8px 6px;
    border: 1px solid rgba(250, 204, 21, .16);
    border-radius: 14px;
    background: rgba(15, 23, 42, .42);
}
html.fi body.fi-panel-player .s33-member-item-grid img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,.35));
}
html.fi body.fi-panel-player .s33-member-item-grid strong {
    max-width: 100%;
    color: #fff7df;
    font-size: 11px;
    font-weight: 900;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
html.fi body.fi-panel-player .s33-member-item-grid span {
    color: #fde68a;
    font-size: 11px;
    font-weight: 1000;
}
html.fi body.fi-panel-player .s33-member-pay-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}
html.fi body.fi-panel-player .s33-member-buy-btn {
    min-height: 42px;
    border: 0;
    border-radius: 14px;
    color: #241207;
    background: linear-gradient(135deg, #fde68a, #f59e0b 55%, #fb923c);
    box-shadow: 0 14px 28px rgba(245, 158, 11, .25);
    font-weight: 1000;
    cursor: pointer;
}
html.fi body.fi-panel-player .s33-member-buy-btn:hover,
html.fi body.fi-panel-player .s33-member-buy-btn:focus-visible {
    filter: brightness(1.06);
    transform: translateY(-1px);
    outline: none;
}
@media (max-width: 1180px) {
    html.fi body.fi-panel-player .s33-membership-grid { grid-template-columns: 1fr; }
    html.fi body.fi-panel-player .s33-member-card__tagline { min-height: 0; }
}
@media (max-width: 640px) {
    html.fi body.fi-panel-player .s33-member-card { padding: 14px; border-radius: 20px; }
    html.fi body.fi-panel-player .s33-member-item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html.fi body.fi-panel-player .s33-member-card__price { align-items: flex-start; flex-direction: column; }
    html.fi body.fi-panel-player .s33-member-pay-methods { grid-template-columns: 1fr; }
    html.fi body.fi-panel-player .s33-product-alert { font-size: 12px; }
}


/* trade market showcase */
.s33-player-product-card--trade {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 191, 72, .22), transparent 42%),
        linear-gradient(135deg, rgba(39, 56, 88, .95), rgba(22, 30, 51, .98));
    border-color: rgba(255, 184, 77, .35) !important;
    box-shadow: 0 16px 30px rgba(4, 9, 20, .42), inset 0 0 0 1px rgba(255,255,255,.05);
}
.s33-player-product-card--trade::after {
    content: '';
    position: absolute;
    inset: auto -18% -38% auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 184, 77, .25), transparent 62%);
    pointer-events: none;
}
.s33-trade-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.s33-trade-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 18px;
    padding: 28px 30px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(255, 183, 76, .32), transparent 36%),
        linear-gradient(135deg, #1f2942 0%, #0f1728 58%, #111a2d 100%);
    border: 1px solid rgba(255, 191, 79, .16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .36);
}
.s33-trade-hero::after {
    content: '';
    position: absolute;
    right: -90px;
    top: -90px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 174, 53, .2), transparent 62%);
}
.s33-trade-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffd690;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    background: rgba(255, 176, 59, .11);
    border: 1px solid rgba(255, 198, 107, .16);
}
.s33-trade-hero h2 {
    margin: 14px 0 10px;
    font-size: 34px;
    line-height: 1.16;
    color: #fff3d8;
}
.s33-trade-hero p {
    margin: 0;
    max-width: 720px;
    color: rgba(236, 241, 255, .76);
    line-height: 1.75;
    font-size: 14px;
}
.s33-trade-chip-row,
.s33-trade-stat-row,
.s33-trade-filter-row,
.s33-trade-tab-row,
.s33-trade-notice-row,
.s33-trade-service-grid,
.s33-trade-card-grid,
.s33-trade-listings,
.s33-trade-flow-grid,
.s33-trade-roadmap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.s33-trade-chip-row { margin-top: 16px; }
.s33-trade-chip,
.s33-trade-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(247, 250, 255, .84);
    font-size: 13px;
}
.s33-trade-chip strong,
.s33-trade-notice strong { color: #ffe5ae; font-weight: 700; }
.s33-trade-stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
}
.s33-trade-stat {
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
}
.s33-trade-stat em {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 211, 148, .74);
    font-style: normal;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.s33-trade-stat strong {
    display: block;
    color: #fff6e3;
    font-size: 28px;
    line-height: 1.1;
}
.s33-trade-stat span {
    display: block;
    margin-top: 7px;
    color: rgba(230, 235, 248, .68);
    font-size: 12px;
}
.s33-trade-panel {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(20, 26, 43, .96), rgba(14, 18, 32, .98));
    border: 1px solid rgba(255,255,255,.07);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .24);
}
.s33-trade-panel h3,
.s33-trade-panel h4 {
    margin: 0;
    color: #fff1d0;
}
.s33-trade-panel p,
.s33-trade-panel li,
.s33-trade-panel span,
.s33-trade-panel small {
    color: rgba(230, 236, 247, .78);
}
.s33-trade-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.s33-trade-panel-head span {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 210, 143, .72);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.s33-trade-tab {
    flex: 1 1 0;
    min-width: 220px;
    padding: 18px 18px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.07);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.s33-trade-tab.is-hot {
    border-color: rgba(255, 190, 96, .28);
    box-shadow: inset 0 0 0 1px rgba(255, 183, 79, .12);
}
.s33-trade-tab em {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: #ffd892;
    font-size: 11px;
    font-style: normal;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.s33-trade-tab strong {
    display: block;
    margin-top: 12px;
    color: #fff3d7;
    font-size: 20px;
}
.s33-trade-tab p {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.72;
}
.s33-trade-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    color: rgba(241, 245, 255, .74);
    font-size: 13px;
}
.s33-trade-filter.is-active {
    background: linear-gradient(135deg, rgba(255, 184, 76, .18), rgba(255, 184, 76, .08));
    border-color: rgba(255, 196, 106, .3);
    color: #fff0cc;
}
.s33-trade-listings {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.s33-trade-listing {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    padding: 18px;
}
.s33-trade-listing::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 190, 102, .9), rgba(81, 171, 255, .6));
}
.s33-trade-listing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}
.s33-trade-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #ffe0aa;
    font-size: 12px;
}
.s33-trade-grade {
    font-size: 12px;
    color: rgba(117, 197, 255, .84);
}
.s33-trade-item-showcase {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}
.s33-trade-item-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 204, 115, .28), rgba(61, 91, 134, .2));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 0 18px rgba(255, 196, 96, .12);
    color: #fff1c9;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .04em;
}
.s33-trade-item-meta strong {
    display: block;
    color: #fff6df;
    font-size: 18px;
}
.s33-trade-item-meta span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
}
.s33-trade-price-row,
.s33-trade-seller-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 16px;
}
.s33-trade-price-row strong {
    color: #ffe198;
    font-size: 20px;
}
.s33-trade-price-row span,
.s33-trade-seller-row span { font-size: 12px; }
.s33-trade-service-grid,
.s33-trade-card-grid,
.s33-trade-flow-grid,
.s33-trade-roadmap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.s33-trade-card,
.s33-trade-flow,
.s33-trade-roadmap-item,
.s33-trade-service {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.07);
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.s33-trade-card em,
.s33-trade-flow em,
.s33-trade-roadmap-item em,
.s33-trade-service em {
    display: inline-flex;
    margin-bottom: 10px;
    color: rgba(255, 205, 138, .76);
    font-style: normal;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.s33-trade-card strong,
.s33-trade-flow strong,
.s33-trade-roadmap-item strong,
.s33-trade-service strong {
    display: block;
    color: #fff2d2;
    font-size: 17px;
}
.s33-trade-card p,
.s33-trade-flow p,
.s33-trade-roadmap-item p,
.s33-trade-service p {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.72;
}
.s33-trade-note-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.s33-trade-note {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
}
.s33-trade-note strong {
    display: block;
    margin-bottom: 8px;
    color: #ffe3ac;
}
@media (max-width: 1280px) {
    .s33-trade-listings,
    .s33-trade-service-grid,
    .s33-trade-card-grid,
    .s33-trade-flow-grid,
    .s33-trade-roadmap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 920px) {
    .s33-trade-hero {
        grid-template-columns: 1fr;
        padding: 22px;
    }
    .s33-trade-stat-row,
    .s33-trade-note-grid,
    .s33-trade-listings,
    .s33-trade-service-grid,
    .s33-trade-card-grid,
    .s33-trade-flow-grid,
    .s33-trade-roadmap {
        grid-template-columns: 1fr;
    }
}




/* trade market visual revamp */
.s33-market-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.s33-market-tab-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.s33-market-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.s33-market-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    gap: 18px;
    min-height: 320px;
    padding: 28px 30px;
    border-radius: 28px;
    background:
        linear-gradient(120deg, rgba(8, 11, 22, .92), rgba(17, 22, 38, .72)),
        var(--s33-market-bg) center/cover no-repeat;
    border: 1px solid rgba(255, 192, 98, .14);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .34);
}
.s33-market-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 28%, rgba(255, 181, 65, .24), transparent 26%), radial-gradient(circle at 18% 18%, rgba(90, 162, 255, .17), transparent 30%);
    pointer-events: none;
}
.s33-market-hero__content,
.s33-market-hero__side {
    position: relative;
    z-index: 1;
}
.s33-market-hero__kicker {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffd88d;
    background: rgba(255, 191, 87, .12);
    border: 1px solid rgba(255, 210, 135, .18);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.s33-market-hero h2 {
    margin: 14px 0 18px;
    color: #fff4d9;
    font-size: 40px;
    line-height: 1.06;
}
.s33-market-hero__chips,
.s33-market-toolbar__filters,
.s33-market-card__tags,
.s33-market-modal__taglist,
.s33-market-modal__actions,
.s33-market-publish-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.s33-market-hero__chips span,
.s33-market-toolbar__filters span,
.s33-market-card__tags span,
.s33-market-modal__taglist span,
.s33-market-section__meta span,
.s33-market-modal__actions span,
.s33-market-publish-actions span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.055);
    color: rgba(241, 246, 255, .82);
    font-size: 12px;
}
.s33-market-tab-switch {
    display: inline-flex;
    gap: 12px;
    margin-top: 16px;
}
.s33-market-tab-label {
    min-width: 158px;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.05);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.s33-market-tab-label b {
    display: block;
    color: rgba(244, 247, 255, .9);
    font-size: 16px;
}
.s33-market-tab-label small {
    display: block;
    margin-top: 6px;
    color: rgba(223, 231, 244, .62);
    font-size: 11px;
}
#s33-market-tab-local:checked ~ .s33-market-shell .s33-market-tab-label[for="s33-market-tab-local"],
#s33-market-tab-cross:checked ~ .s33-market-shell .s33-market-tab-label[for="s33-market-tab-cross"] {
    background: linear-gradient(135deg, rgba(255, 183, 74, .24), rgba(255, 183, 74, .1));
    border-color: rgba(255, 204, 133, .34);
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px rgba(255, 211, 140, .08), 0 18px 30px rgba(0, 0, 0, .18);
}
#s33-market-tab-cross:checked ~ .s33-market-shell .s33-market-section--local,
#s33-market-tab-local:checked ~ .s33-market-shell .s33-market-section--cross {
    display: none;
}
.s33-market-hero__cta {
    margin-top: 18px;
}
.s33-market-hero__publish {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 152px;
    height: 46px;
    padding: 0 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffcb6a, #ff9e2d);
    color: #2e1500;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    box-shadow: 0 18px 30px rgba(255, 152, 42, .28);
}
.s33-market-hero__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}
.s33-market-hero__art {
    width: 220px;
    max-width: 100%;
    filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .45));
}
.s33-market-hero__board {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.s33-market-hero__board article {
    padding: 16px 16px 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
}
.s33-market-hero__board strong {
    display: block;
    color: #fff2cf;
    font-size: 28px;
    line-height: 1.1;
}
.s33-market-hero__board span {
    display: block;
    margin-top: 7px;
    color: rgba(230, 236, 248, .74);
    font-size: 12px;
}
.s33-market-toolbar {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}
.s33-market-toolbar__search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 64px;
    padding: 0 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(16, 22, 35, .95), rgba(12, 17, 29, .98));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.s33-market-toolbar__search span {
    color: rgba(255, 207, 134, .76);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.s33-market-toolbar__search strong {
    margin-top: 6px;
    color: rgba(241, 246, 255, .78);
    font-size: 15px;
}
.s33-market-toolbar__filters span {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 14px;
}
.s33-market-toolbar__filters span.is-active,
.s33-market-modal__actions span.is-primary,
.s33-market-publish-actions span.is-primary {
    background: linear-gradient(135deg, rgba(255, 183, 74, .28), rgba(255, 183, 74, .12));
    border-color: rgba(255, 204, 133, .34);
    color: #fff2cf;
    box-shadow: inset 0 0 0 1px rgba(255, 211, 140, .08);
}
.s33-market-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.s33-market-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}
.s33-market-section__head em {
    display: inline-flex;
    margin-bottom: 6px;
    color: rgba(255, 209, 137, .72);
    font-size: 12px;
    font-style: normal;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.s33-market-section__head h3 {
    margin: 0;
    color: #fff1d0;
    font-size: 24px;
}
.s33-market-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.s33-market-card {
    position: relative;
    overflow: hidden;
    display: block;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(27, 35, 55, .96), rgba(13, 18, 31, .98));
    box-shadow: 0 20px 38px rgba(0, 0, 0, .26);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.s33-market-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 201, 120, .34);
    box-shadow: 0 26px 46px rgba(0, 0, 0, .34);
}
.s33-market-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 193, 94, .95), rgba(92, 160, 255, .6));
}
.s33-market-card.is-myth { box-shadow: 0 24px 44px rgba(87, 47, 141, .28); }
.s33-market-card.is-gold { box-shadow: 0 24px 44px rgba(142, 98, 27, .26); }
.s33-market-card.is-cyan { box-shadow: 0 24px 44px rgba(19, 96, 125, .24); }
.s33-market-card.is-violet { box-shadow: 0 24px 44px rgba(86, 53, 149, .24); }
.s33-market-card__top,
.s33-market-card__seller,
.s33-market-card__seller-main,
.s33-market-modal__head,
.s33-market-modal__seller-banner,
.s33-market-publish-window__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.s33-market-card__market,
.s33-market-card__state,
.s33-market-card__grade {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: .04em;
}
.s33-market-card__market {
    color: rgba(255, 235, 194, .92);
    background: rgba(255, 188, 76, .14);
    border: 1px solid rgba(255, 206, 135, .16);
}
.s33-market-card__state {
    color: rgba(219, 233, 255, .82);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.06);
}
.s33-market-card__media,
.s33-market-modal__art,
.s33-market-publish-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background:
        radial-gradient(circle at top, rgba(255, 212, 132, .18), transparent 44%),
        linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.06);
}
.s33-market-card__media {
    min-height: 196px;
    padding: 20px 18px 30px;
    margin-top: 14px;
    border-radius: 20px;
}
.s33-market-modal__art {
    min-height: 360px;
    padding: 28px 24px 40px;
    border-radius: 24px;
}
.s33-market-publish-card__media {
    min-height: 250px;
    padding: 24px 20px 36px;
    border-radius: 22px;
}
.s33-market-card__aura,
.s33-market-card__pedestal {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
.s33-market-card__aura {
    top: 50%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(2px);
    background: radial-gradient(circle, rgba(255, 201, 96, .22), rgba(255, 201, 96, 0) 70%);
}
.s33-market-card__pedestal {
    bottom: 16px;
    width: 126px;
    height: 26px;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at center, rgba(255, 244, 202, .46) 0%, rgba(255, 190, 94, .34) 42%, rgba(255, 190, 94, 0) 76%),
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0));
    box-shadow: 0 0 24px rgba(255, 189, 97, .22);
}
.s33-market-card.is-myth .s33-market-card__aura,
.is-myth .s33-market-card__aura {
    background: radial-gradient(circle, rgba(186, 122, 255, .32), rgba(186, 122, 255, 0) 72%);
}
.s33-market-card.is-gold .s33-market-card__aura,
.is-gold .s33-market-card__aura {
    background: radial-gradient(circle, rgba(255, 196, 96, .34), rgba(255, 196, 96, 0) 72%);
}
.s33-market-card.is-cyan .s33-market-card__aura,
.is-cyan .s33-market-card__aura {
    background: radial-gradient(circle, rgba(110, 208, 255, .28), rgba(110, 208, 255, 0) 72%);
}
.s33-market-card.is-violet .s33-market-card__aura,
.is-violet .s33-market-card__aura {
    background: radial-gradient(circle, rgba(170, 121, 255, .3), rgba(170, 121, 255, 0) 72%);
}
.s33-market-card__media img,
.s33-market-modal__art img,
.s33-market-publish-card__media img {
    position: relative;
    z-index: 2;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .38));
}
.s33-market-card__media img {
    max-width: 136px;
    max-height: 136px;
}
.s33-market-modal__art img {
    max-width: 220px;
    max-height: 220px;
}
.s33-market-publish-card__media img {
    max-width: 168px;
    max-height: 168px;
}
.s33-market-card__grade {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 3;
    color: #fff3d0;
    background: rgba(14, 19, 30, .72);
    border: 1px solid rgba(255,255,255,.08);
}
.s33-market-card__name {
    margin-top: 14px;
    color: #fff5dd;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
}
.s33-market-card__kind {
    margin-top: 6px;
    color: rgba(225, 232, 246, .62);
    font-size: 12px;
    letter-spacing: .06em;
}
.s33-market-card__tags {
    margin-top: 12px;
}
.s33-market-card__tags span,
.s33-market-modal__taglist span {
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.06);
    color: rgba(235, 242, 255, .72);
    font-size: 11px;
}
.s33-market-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 14px;
    color: #ffd98f;
    font-size: 26px;
    font-weight: 800;
}
.s33-market-card__price small,
.s33-market-modal__head strong small {
    color: rgba(255, 220, 148, .72);
    font-size: 12px;
    font-weight: 600;
}
.s33-market-card__seller {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.s33-market-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 202, 122, .34), rgba(93, 125, 172, .18));
    border: 1px solid rgba(255,255,255,.08);
    color: #fff2cf;
    font-weight: 700;
    flex: 0 0 auto;
}
.s33-market-card__seller strong,
.s33-market-card__seller-side strong {
    display: block;
    color: #f5f7fd;
    font-size: 13px;
}
.s33-market-card__seller span {
    display: block;
    margin-top: 3px;
    color: rgba(222, 230, 244, .6);
    font-size: 11px;
}
.s33-market-card__seller em {
    color: rgba(255, 209, 137, .74);
    font-size: 11px;
    font-style: normal;
}
.s33-market-card__seller-side {
    text-align: right;
}
.s33-market-card__seller-side strong {
    color: #ffd698;
    font-size: 12px;
}
.s33-market-card__seller-side em {
    display: block;
    margin-top: 4px;
}
.s33-market-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
}
.s33-market-modal:target {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.s33-market-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 16, .78);
    backdrop-filter: blur(8px);
}
.s33-market-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 20px;
    width: min(980px, 100%);
    padding: 22px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(19, 24, 39, .98), rgba(10, 14, 24, .99));
    box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
}
.s33-market-modal__dialog.is-publish-window {
    grid-template-columns: 1fr;
    width: min(960px, 100%);
    padding: 26px;
    border-color: rgba(255, 200, 115, .22);
    background: linear-gradient(180deg, rgba(23, 27, 42, .99), rgba(12, 15, 26, 1));
}
.s33-market-modal__dialog.is-myth { border-color: rgba(174, 116, 255, .28); }
.s33-market-modal__dialog.is-gold { border-color: rgba(255, 200, 115, .28); }
.s33-market-modal__dialog.is-cyan { border-color: rgba(124, 219, 255, .24); }
.s33-market-modal__dialog.is-violet { border-color: rgba(181, 133, 255, .24); }
.s33-market-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.76);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    text-decoration: none;
    font-size: 20px;
}
.s33-market-modal__left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.s33-market-modal__art span {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 3;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: rgba(12, 18, 30, .76);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff0ca;
    font-size: 12px;
}
.s33-market-modal__right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.s33-market-modal__head em,
.s33-market-publish-window__head em {
    display: inline-flex;
    margin-bottom: 8px;
    color: rgba(255, 209, 136, .74);
    font-size: 12px;
    font-style: normal;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.s33-market-modal__head h4,
.s33-market-publish-window__head h4 {
    margin: 0;
    color: #fff4dd;
    font-size: 32px;
    line-height: 1.08;
}
.s33-market-modal__head strong {
    color: #ffd88d;
    font-size: 34px;
    line-height: 1.1;
}
.s33-market-modal__seller-banner {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.06);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.s33-market-modal__seller-banner strong {
    display: block;
    color: #fff5de;
    font-size: 16px;
}
.s33-market-modal__seller-banner span {
    display: block;
    margin-top: 4px;
    color: rgba(223, 231, 244, .68);
    font-size: 12px;
}
.s33-market-modal__info-grid,
.s33-market-publish-form,
.s33-market-publish-slots {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.s33-market-modal__info-grid article,
.s33-market-publish-form article,
.s33-market-publish-slots article {
    padding: 14px 14px 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.06);
}
.s33-market-modal__info-grid span,
.s33-market-publish-form span,
.s33-market-publish-slots span {
    display: block;
    color: rgba(226, 233, 245, .6);
    font-size: 11px;
    letter-spacing: .06em;
}
.s33-market-modal__info-grid strong,
.s33-market-publish-form strong,
.s33-market-publish-slots strong {
    display: block;
    margin-top: 8px;
    color: #fff2d2;
    font-size: 18px;
    line-height: 1.15;
}
.s33-market-publish-window {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.s33-market-publish-window__head {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.s33-market-publish-window__cost {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 188, 76, .14);
    border: 1px solid rgba(255, 206, 135, .18);
    color: #ffe1a7;
    font-size: 12px;
}
.s33-market-publish-window__body {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px;
}
.s33-market-publish-window__left,
.s33-market-publish-window__right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.s33-market-publish-card {
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(27, 35, 55, .96), rgba(13, 18, 31, .98));
}
.s33-market-publish-card strong {
    display: block;
    margin-top: 16px;
    color: #fff5dd;
    font-size: 20px;
}
.s33-market-publish-card span {
    display: block;
    margin-top: 6px;
    color: rgba(223, 231, 244, .68);
    font-size: 12px;
}
@media (max-width: 1320px) {
    .s33-market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .s33-market-modal__info-grid,
    .s33-market-publish-form,
    .s33-market-publish-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .s33-market-hero,
    .s33-market-modal__dialog,
    .s33-market-toolbar,
    .s33-market-publish-window__body {
        grid-template-columns: 1fr;
    }
    .s33-market-hero__side { align-items: flex-start; }
    .s33-market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .s33-market-grid,
    .s33-market-hero__board,
    .s33-market-modal__info-grid,
    .s33-market-publish-form,
    .s33-market-publish-slots {
        grid-template-columns: 1fr;
    }
    .s33-market-modal { padding: 14px; }
    .s33-market-modal__dialog { padding: 16px; }
    .s33-market-hero { padding: 22px 18px; }
    .s33-market-hero h2 { font-size: 30px; }
    .s33-market-card__media { min-height: 208px; }
    .s33-market-card__media img { max-width: 142px; max-height: 142px; }
    .s33-market-modal__art { min-height: 300px; }
    .s33-market-modal__art img { max-width: 180px; max-height: 180px; }
    .s33-market-publish-card__media { min-height: 220px; }
    .s33-market-publish-card__media img { max-width: 150px; max-height: 150px; }
}

/* 2026-05-16 客服玩家中心：通用查询结果表格（管理员/客服后台均生效） */
.s33-feature-page .s33-feature-result-grid {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.s33-feature-page .s33-feature-result-card {
    border: 1px solid rgba(16,24,40,.10);
    border-radius: 18px;
    background: #ffffff;
    padding: 14px;
    overflow: hidden;
}

.s33-feature-page .s33-agent-table-wrap,
.s33-feature-page .s33-feature-result-table-wrap {
    margin-top: 12px;
    overflow-x: auto;
    border: 1px solid rgba(16,24,40,.10);
    border-radius: 16px;
    background: #fff;
}

.s33-feature-page .s33-agent-table,
.s33-feature-page .s33-feature-result-table {
    width: 100%;
    min-width: 960px;
    border-collapse: collapse;
}

.s33-feature-page .s33-agent-table th,
.s33-feature-page .s33-agent-table td,
.s33-feature-page .s33-feature-result-table th,
.s33-feature-page .s33-feature-result-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(16,24,40,.08);
    text-align: left;
    white-space: nowrap;
    color: #101828;
}

.s33-feature-page .s33-agent-table th,
.s33-feature-page .s33-feature-result-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8fafc;
    color: #344054;
    font-weight: 950;
}

.s33-feature-page .s33-feature-result-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 0;
}

.s33-feature-page .s33-feature-result-meta div {
    border: 1px solid rgba(16,24,40,.10);
    border-radius: 14px;
    background: #f8fafc;
    padding: 10px 12px;
}

.s33-feature-page .s33-feature-result-meta dt {
    color: #667085;
    font-size: 12px;
    font-weight: 850;
}

.s33-feature-page .s33-feature-result-meta dd {
    margin: 4px 0 0;
    color: #101828;
    font-weight: 900;
}

.s33-feature-page .s33-feature-result-json {
    margin-top: 14px;
}

.s33-feature-page .s33-feature-result-json summary {
    cursor: pointer;
    color: #047857;
    font-weight: 900;
}

@media (max-width: 900px) {
    .s33-feature-page .s33-feature-result-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Codex 2026-05-17: player center mobile shell hardening.
   Keep the existing PC Filament sidebar/dashboard untouched. On tablet/phone
   widths, force the player panel into a single-column H5 shell so Android
   WebView/emulator cannot leave the desktop sidebar/topbar occupying layout
   space or clipping the horizontal game logo. */
@media (max-width: 1023px) {
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) {
        min-width: 0 !important;
        overflow-x: hidden !important;
        background:
            radial-gradient(circle at 16% -8%, rgba(255, 193, 74, .22), transparent 30rem),
            radial-gradient(circle at 100% 8%, rgba(36, 209, 126, .16), transparent 28rem),
            linear-gradient(180deg, #101a12 0%, #08100a 100%) !important;
    }

    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-sidebar,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-sidebar-ctn,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-sidebar-close-overlay,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-topbar,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-topbar-ctn,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-sidebar-open-button,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-topbar-open-sidebar-btn,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-topbar-close-sidebar-btn,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-topbar-open-collapse-sidebar-btn,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-topbar-close-collapse-sidebar-btn {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-layout,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-main-ctn,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-main,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-page,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-page-main,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-page-content {
        display: block !important;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-main {
        padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)) !important;
    }

    /* Only hide the visual Filament header/breadcrumb content. Do not hide
       .fi-page-header-main-ctn: in this Filament build it is also the wrapper
       that contains .fi-page-main, so hiding it collapses the whole player page
       to height 0 on Android WebView. */
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-page-header,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-header,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-breadcrumbs {
        display: none !important;
    }

    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .fi-page-header-main-ctn {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-panel-page--player,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-player-page {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: transparent !important;
        box-sizing: border-box !important;
    }

    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-panel-page--player > *,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-player-page > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-panel-hero--player,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-player-hero {
        display: block !important;
        min-height: 148px !important;
        padding: 16px !important;
        border-radius: 20px !important;
        overflow: hidden !important;
    }

    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-panel-hero__content,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-player-hero > div {
        max-width: none !important;
        width: 100% !important;
        min-width: 0 !important;
        position: relative !important;
        z-index: 2 !important;
    }

    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-panel-hero__brand img {
        width: 76px !important;
        height: auto !important;
        max-height: 38px !important;
        object-fit: contain !important;
        transform: none !important;
        margin: 0 !important;
    }

    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-panel-hero__art,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-player-hero > img,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-player-shop-banner > img {
        position: absolute !important;
        right: -22px !important;
        bottom: -10px !important;
        width: 132px !important;
        min-width: 0 !important;
        max-width: 38vw !important;
        height: auto !important;
        max-height: 132px !important;
        opacity: .28 !important;
        pointer-events: none !important;
    }

    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-panel-hero h2,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-player-hero h2 {
        max-width: 100% !important;
        font-size: clamp(24px, 8vw, 34px) !important;
        line-height: 1.08 !important;
    }

    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-panel-hero p,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-player-hero p {
        max-width: 100% !important;
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-panel-cards,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-task-grid,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-player-product-grid,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-player-metric-grid,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-player-form-grid,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-player-note-list {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-player-shop-tabs,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-player-nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-player-shop-tabs a,
    html.fi body.fi-body.fi-panel-player:not(.s33-guest-body) .s33-player-nav a {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        white-space: normal !important;
        text-align: center !important;
    }
}

/* Codex 2026-05-17: player lottery result modal + slot-machine wiring. */
html.fi body.fi-panel-player .s33-lottery-offers label {
    flex: 1 1 150px;
    min-width: 150px;
    cursor: pointer;
}

html.fi body.fi-panel-player .s33-lottery-offers input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

html.fi body.fi-panel-player .s33-lottery-offers input:checked + article,
html.fi body.fi-panel-player .s33-lottery-offers label:has(input:checked) article {
    border-color: rgba(255, 193, 74, .72) !important;
    background:
        radial-gradient(circle at 50% 0, rgba(255, 193, 74, .28), transparent 58%),
        linear-gradient(180deg, rgba(45, 35, 18, .98), rgba(18, 22, 14, .98)) !important;
    box-shadow: 0 0 0 2px rgba(255, 193, 74, .18), 0 16px 34px rgba(0, 0, 0, .28) !important;
}

html.fi body.fi-panel-player .s33-lottery-offers button[type="submit"] {
    flex: 1 1 180px;
    min-height: 74px;
    border: 0;
    border-radius: 18px;
    color: #241207;
    font-weight: 1000;
    background: linear-gradient(135deg, #ffd36c, #ff8a2a);
    box-shadow: 0 16px 34px rgba(255, 138, 42, .26);
    cursor: pointer;
}

html.fi body.fi-panel-player .s33-lottery-result-modal,
html.fi body.fi-panel-player .s33-lottery-result-modal__mask {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

html.fi body.fi-panel-player .s33-lottery-result-modal[x-cloak] {
    display: none !important;
}

html.fi body.fi-panel-player .s33-lottery-result-modal {
    display: grid;
    place-items: center;
    padding: max(16px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}

html.fi body.fi-panel-player .s33-lottery-result-modal__mask {
    background:
        radial-gradient(circle at 50% 34%, rgba(255, 193, 74, .18), transparent 34rem),
        rgba(0, 0, 0, .72);
    backdrop-filter: blur(8px);
}

html.fi body.fi-panel-player .s33-lottery-result-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(82vh, 760px);
    overflow: auto;
    padding: clamp(18px, 3vw, 28px);
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 50% 0, rgba(255, 193, 74, .26), transparent 24rem),
        linear-gradient(180deg, rgba(31, 39, 27, .98), rgba(8, 12, 9, .98));
    border: 1px solid rgba(255, 193, 74, .34);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255,255,255,.06);
    animation: s33-lottery-pop .34s cubic-bezier(.2, .9, .24, 1.2) both;
}

html.fi body.fi-panel-player .s33-lottery-result-modal__dialog::before {
    content: '';
    position: absolute;
    inset: -40% auto auto 50%;
    width: 460px;
    height: 460px;
    translate: -50% 0;
    border-radius: 999px;
    background: conic-gradient(from 0deg, transparent, rgba(255, 211, 108, .28), transparent, rgba(36, 209, 126, .18), transparent);
    animation: s33-lottery-rays 5s linear infinite;
    pointer-events: none;
}

html.fi body.fi-panel-player .s33-lottery-result-modal__close {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.08);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

html.fi body.fi-panel-player .s33-lottery-result-modal__head {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 18px;
}

html.fi body.fi-panel-player .s33-lottery-result-modal__head span {
    display: inline-flex;
    min-width: 72px;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    color: #241207;
    font-size: 13px;
    font-weight: 1000;
    background: linear-gradient(135deg, #fff4b8, #ffb02e);
    box-shadow: 0 0 26px rgba(255, 193, 74, .34);
}

html.fi body.fi-panel-player .s33-lottery-result-modal__head strong {
    display: block;
    margin-top: 10px;
    color: #fff;
    font-size: clamp(26px, 5vw, 42px);
    font-weight: 1000;
    letter-spacing: -.055em;
    text-shadow: 0 0 22px rgba(255, 193, 74, .42);
}

html.fi body.fi-panel-player .s33-lottery-result-modal__head p {
    margin: 8px auto 0;
    max-width: 560px;
    color: rgba(255,255,255,.72);
    line-height: 1.6;
}

html.fi body.fi-panel-player .s33-lottery-result-modal .s33-lottery-result-grid {
    position: relative;
    z-index: 1;
    max-height: 430px;
    overflow: auto;
    padding: 2px;
}

html.fi body.fi-panel-player .s33-lottery-result-modal__actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

html.fi body.fi-panel-player .s33-lottery-result-modal__actions button,
html.fi body.fi-panel-player .s33-lottery-result-modal__actions a {
    min-width: 132px;
    border: 0;
    border-radius: 16px;
    padding: 12px 18px;
    color: #241207;
    text-decoration: none;
    text-align: center;
    font-weight: 1000;
    background: linear-gradient(135deg, #ffd36c, #ff8a2a);
    box-shadow: 0 14px 30px rgba(255, 138, 42, .25);
    cursor: pointer;
}

html.fi body.fi-panel-player .s33-lottery-result-modal__actions a {
    color: #fff;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: none;
}

@keyframes s33-lottery-pop {
    from { opacity: 0; transform: translateY(18px) scale(.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes s33-lottery-rays {
    to { rotate: 360deg; }
}

@media (max-width: 640px) {
    html.fi body.fi-panel-player .s33-lottery-offers {
        display: grid;
        grid-template-columns: 1fr;
    }

    html.fi body.fi-panel-player .s33-lottery-offers label,
    html.fi body.fi-panel-player .s33-lottery-offers button[type="submit"] {
        width: 100%;
        min-width: 0;
    }

    html.fi body.fi-panel-player .s33-lottery-result-modal__dialog {
        max-height: 86vh;
        border-radius: 24px;
    }

    html.fi body.fi-panel-player .s33-lottery-result-modal .s33-lottery-result-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: 52vh;
    }
}

/* Codex 2026-05-17: player center update-log modal styling.
   Payment-confirm style centered dialog: compact on PC, visible floating
   window on mobile, horizontal date chips, update text scrolls. */
html.fi body.fi-panel-player .s33-update-log-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99980 !important;
    display: grid !important;
    place-items: center !important;
    padding: max(18px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)) !important;
    box-sizing: border-box !important;
    color: #f8fafc !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
}

html.fi body.fi-panel-player .s33-update-log-modal__mask {
    position: absolute !important;
    inset: 0 !important;
    background:
        radial-gradient(circle at 50% 22%, rgba(255, 199, 91, .18), transparent 31rem),
        radial-gradient(circle at 14% 86%, rgba(46, 204, 113, .10), transparent 22rem),
        rgba(0, 0, 0, .68) !important;
    backdrop-filter: blur(8px) !important;
}

html.fi body.fi-panel-player .s33-update-log-dialog {
    position: relative !important;
    z-index: 1 !important;
    width: min(520px, 100%) !important;
    max-height: min(88vh, 720px) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 211, 122, .34) !important;
    border-radius: 28px !important;
    background:
        linear-gradient(180deg, rgba(255, 211, 122, .10), transparent 86px),
        linear-gradient(180deg, rgba(25, 34, 25, .98), rgba(7, 10, 8, .98)) !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .56), inset 0 0 0 1px rgba(255,255,255,.06) !important;
    animation: s33-lottery-pop .26s cubic-bezier(.2, .9, .24, 1.1) both !important;
}

html.fi body.fi-panel-player .s33-update-log-dialog::before {
    content: '生存33天' !important;
    position: absolute !important;
    top: 16px !important;
    left: 18px !important;
    z-index: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 211, 122, .22) !important;
    background: rgba(0, 0, 0, .22) !important;
    color: #ffd37a !important;
    font-size: 12px !important;
    font-weight: 1000 !important;
    letter-spacing: .08em !important;
    pointer-events: none !important;
}

html.fi body.fi-panel-player .s33-update-log-dialog::after {
    content: '☢' !important;
    position: absolute !important;
    top: 16px !important;
    right: 66px !important;
    z-index: 1 !important;
    width: 28px !important;
    height: 28px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: rgba(255, 211, 122, .12) !important;
    color: #ffd37a !important;
    font-size: 14px !important;
    pointer-events: none !important;
}

html.fi body.fi-panel-player .s33-update-log-sidebar {
    order: 2 !important;
    position: relative !important;
    z-index: 2 !important;
    padding: 0 22px 16px !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex: 0 0 auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255, 211, 122, .55) rgba(255, 255, 255, .08) !important;
}

html.fi body.fi-panel-player .s33-update-log-sidebar::-webkit-scrollbar,
html.fi body.fi-panel-player .s33-update-log-list::-webkit-scrollbar,
html.fi body.fi-panel-player .s33-update-log-content::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
}

html.fi body.fi-panel-player .s33-update-log-sidebar::-webkit-scrollbar-track,
html.fi body.fi-panel-player .s33-update-log-list::-webkit-scrollbar-track,
html.fi body.fi-panel-player .s33-update-log-content::-webkit-scrollbar-track {
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .07) !important;
}

html.fi body.fi-panel-player .s33-update-log-sidebar::-webkit-scrollbar-thumb,
html.fi body.fi-panel-player .s33-update-log-list::-webkit-scrollbar-thumb,
html.fi body.fi-panel-player .s33-update-log-content::-webkit-scrollbar-thumb {
    border-radius: 999px !important;
    background: linear-gradient(180deg, #ffd36c, #ff8a2a) !important;
}

html.fi body.fi-panel-player .s33-update-log-brand {
    display: none !important;
}

html.fi body.fi-panel-player .s33-update-log-brand span,
html.fi body.fi-panel-player .s33-update-log-head span,
html.fi body.fi-panel-player .s33-signin-card span,
html.fi body.fi-panel-player .s33-update-log-list article > span {
    display: block !important;
    color: #ffd37a !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

html.fi body.fi-panel-player .s33-update-log-sidebar button {
    appearance: none !important;
    flex: 0 0 auto !important;
    min-width: 104px !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .07) !important;
    color: #e9f7ec !important;
    padding: 9px 12px !important;
    text-align: left !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 2px 7px !important;
    align-items: center !important;
    font: inherit !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

html.fi body.fi-panel-player .s33-update-log-sidebar button.is-active {
    border-color: rgba(255, 211, 122, .62) !important;
    background: linear-gradient(135deg, #ffd36c, #ff8a2a) !important;
    color: #241207 !important;
    box-shadow: 0 10px 22px rgba(255, 138, 42, .18) !important;
}

html.fi body.fi-panel-player .s33-update-log-sidebar button b {
    grid-column: 1 / 2 !important;
    color: inherit !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
}

html.fi body.fi-panel-player .s33-update-log-sidebar button span {
    grid-column: 1 / 2 !important;
    color: currentColor !important;
    opacity: .72 !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
}

html.fi body.fi-panel-player .s33-update-log-sidebar button em {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
    min-width: 22px !important;
    padding: 3px 6px !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, .16) !important;
    color: inherit !important;
    font-style: normal !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    text-align: center !important;
}

html.fi body.fi-panel-player .s33-update-log-next {
    min-width: 148px !important;
    grid-template-columns: 1fr !important;
    justify-content: center !important;
    text-align: center !important;
    font-weight: 950 !important;
}

html.fi body.fi-panel-player .s33-update-log-main {
    order: 1 !important;
    position: relative !important;
    z-index: 2 !important;
    padding: 54px 22px 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
}

html.fi body.fi-panel-player .s33-update-log-head {
    display: flex !important;
    justify-content: space-between !important;
    gap: 14px !important;
    align-items: flex-start !important;
    text-align: left !important;
    flex: 0 0 auto !important;
}

html.fi body.fi-panel-player .s33-update-log-head h3 {
    margin: 5px 0 5px !important;
    color: #fff !important;
    font-size: clamp(24px, 4.2vw, 34px) !important;
    font-weight: 1000 !important;
    line-height: 1.08 !important;
    letter-spacing: -.04em !important;
    text-shadow: 0 0 18px rgba(255, 193, 74, .28) !important;
}

html.fi body.fi-panel-player .s33-update-log-head p,
html.fi body.fi-panel-player .s33-signin-card p,
html.fi body.fi-panel-player .s33-update-log-list p {
    margin: 0 !important;
    color: rgba(255, 255, 255, .68) !important;
    font-size: 13px !important;
    line-height: 1.58 !important;
}

html.fi body.fi-panel-player .s33-update-log-close {
    appearance: none !important;
    flex: 0 0 auto !important;
    border: 1px solid rgba(255, 211, 122, .45) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, rgba(255, 211, 122, .24), rgba(255, 138, 42, .22)) !important;
    color: #fff7ed !important;
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
    font-size: 28px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .24), 0 0 18px rgba(255, 193, 74, .16) !important;
}

html.fi body.fi-panel-player .s33-update-log-close:hover {
    filter: brightness(1.12) !important;
    transform: translateY(-1px) !important;
}

html.fi body.fi-panel-player .s33-signin-card {
    margin: 14px 0 0 !important;
    padding: 12px !important;
    border: 1px solid rgba(255, 211, 122, .16) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .055) !important;
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    gap: 11px !important;
    align-items: center !important;
    flex: 0 0 auto !important;
}

html.fi body.fi-panel-player .s33-signin-card__icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;
    background: rgba(255, 211, 122, .14) !important;
    color: #ffd37a !important;
}

html.fi body.fi-panel-player .s33-signin-card strong {
    display: block !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
}

html.fi body.fi-panel-player .s33-signin-card button {
    appearance: none !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #ffd36c, #ff8a2a) !important;
    color: #241207 !important;
    font-weight: 1000 !important;
    padding: 10px 14px !important;
    cursor: pointer !important;
    box-shadow: 0 12px 24px rgba(255, 138, 42, .2) !important;
    white-space: nowrap !important;
}

html.fi body.fi-panel-player .s33-signin-card button:disabled {
    opacity: .58 !important;
    cursor: not-allowed !important;
    filter: grayscale(.35) !important;
}

html.fi body.fi-panel-player .s33-update-log-list {
    display: block !important;
    margin-top: 14px !important;
    min-height: 180px !important;
    max-height: clamp(240px, 42vh, 360px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0 8px 14px 0 !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255, 211, 122, .65) rgba(255, 255, 255, .08) !important;
    -webkit-overflow-scrolling: touch !important;
    flex: 1 1 auto !important;
}

html.fi body.fi-panel-player .s33-update-log-list article {
    padding: 14px !important;
    border-radius: 18px !important;
    background: rgba(0, 0, 0, .22) !important;
    border: 1px solid rgba(255, 255, 255, .1) !important;
}

html.fi body.fi-panel-player .s33-update-log-list article + article {
    margin-top: 10px !important;
}

html.fi body.fi-panel-player .s33-update-log-list article > span {
    display: inline-flex !important;
    width: auto !important;
    padding: 4px 9px !important;
    border-radius: 999px !important;
    background: rgba(255, 211, 122, .1) !important;
}

html.fi body.fi-panel-player .s33-update-log-list h4 {
    margin: 8px 0 8px !important;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
}

html.fi body.fi-panel-player .s33-update-log-content {
    max-height: none !important;
    overflow: visible !important;
    color: rgba(255, 255, 255, .78) !important;
    font-size: 13px !important;
    line-height: 1.72 !important;
}

html.fi body.fi-panel-player .s33-update-log-content p {
    margin: 6px 0 !important;
}

html.fi body.fi-panel-player .s33-update-log-content ul,
html.fi body.fi-panel-player .s33-update-log-content ol {
    margin: 8px 0 !important;
    padding-left: 20px !important;
}

html.fi body.fi-panel-player .s33-update-log-content code {
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 7px !important;
    background: rgba(0, 0, 0, .26) !important;
    color: #ffecb5 !important;
    padding: 1px 5px !important;
}

@media (max-width: 640px) {
    html.fi body.fi-panel-player .s33-update-log-modal {
        align-items: center !important;
        padding: max(14px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)) !important;
    }

    html.fi body.fi-panel-player .s33-update-log-dialog {
        width: min(94vw, 430px) !important;
        max-height: min(86vh, 680px) !important;
        border-radius: 24px !important;
    }

    html.fi body.fi-panel-player .s33-update-log-dialog::before {
        top: 13px !important;
        left: 14px !important;
        font-size: 11px !important;
        padding: 5px 9px !important;
    }

    html.fi body.fi-panel-player .s33-update-log-dialog::after {
        display: none !important;
    }

    html.fi body.fi-panel-player .s33-update-log-main {
        padding: 50px 14px 0 !important;
    }

    html.fi body.fi-panel-player .s33-update-log-sidebar {
        padding: 0 14px 12px !important;
    }

    html.fi body.fi-panel-player .s33-update-log-sidebar button {
        min-width: 94px !important;
        padding: 8px 10px !important;
    }

    html.fi body.fi-panel-player .s33-update-log-head h3 {
        font-size: 22px !important;
    }

    html.fi body.fi-panel-player .s33-update-log-head p {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    html.fi body.fi-panel-player .s33-update-log-close {
        width: 38px !important;
        height: 38px !important;
        font-size: 26px !important;
    }

    html.fi body.fi-panel-player .s33-signin-card {
        grid-template-columns: auto 1fr !important;
        padding: 11px !important;
    }

    html.fi body.fi-panel-player .s33-signin-card p {
        font-size: 12px !important;
    }

    html.fi body.fi-panel-player .s33-signin-card button {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }

    html.fi body.fi-panel-player .s33-update-log-list {
        min-height: 180px !important;
        max-height: 42vh !important;
    }
}

/* Codex 2026-05-17: player center update-log floating entry. */
html.fi body.fi-panel-player .s33-update-log-fab {
    appearance: none !important;
    border: 1px solid rgba(255, 211, 122, .38) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #ffd36c, #ff8a2a) !important;
    color: #241207 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 132px !important;
    min-height: 42px !important;
    padding: 10px 18px !important;
    font-weight: 950 !important;
    box-shadow: 0 12px 28px rgba(255, 138, 42, .24) !important;
    justify-self: flex-start !important;
}

html.fi body.fi-panel-player .s33-update-log-fab span,
html.fi body.fi-panel-player .s33-update-log-fab b {
    font-size: 14px !important;
    line-height: 1 !important;
}

@media (max-width: 640px) {
    html.fi body.fi-panel-player .s33-update-log-fab {
        align-self: stretch !important;
        width: 100% !important;
        min-width: 0 !important;
        border-radius: 18px !important;
    }
}

/* Codex 2026-05-18: player super benefit direct-purchase cards. */
html.fi body.fi-panel-player .s33-super-benefit-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 260px !important;
    gap: 18px !important;
    margin: 18px 0 !important;
    padding: 24px !important;
    border: 1px solid rgba(255, 214, 121, .28) !important;
    border-radius: 28px !important;
    background: radial-gradient(circle at 78% 20%, rgba(42, 170, 255, .22), transparent 34%), linear-gradient(135deg, rgba(16, 24, 44, .96), rgba(42, 23, 15, .96)) !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.04) !important;
    color: #fff7df !important;
    overflow: hidden !important;
}
html.fi body.fi-panel-player .s33-super-benefit-hero span { color:#ffd36c !important; font-weight:900 !important; letter-spacing:.08em !important; }
html.fi body.fi-panel-player .s33-super-benefit-hero h2 { margin:8px 0 !important; font-size:34px !important; font-weight:1000 !important; color:#fff !important; }
html.fi body.fi-panel-player .s33-super-benefit-hero p { max-width:780px !important; color:rgba(255,247,223,.82) !important; line-height:1.7 !important; }
html.fi body.fi-panel-player .s33-super-benefit-hero b { color:#7fe7ff !important; }
html.fi body.fi-panel-player .s33-super-benefit-skin { display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important; border-radius:24px !important; padding:16px !important; background:linear-gradient(180deg, rgba(50,180,255,.18), rgba(255,211,108,.10)) !important; border:1px solid rgba(127,231,255,.28) !important; }
html.fi body.fi-panel-player .s33-super-benefit-skin img { width:96px !important; height:96px !important; object-fit:contain !important; filter:drop-shadow(0 12px 22px rgba(55,190,255,.38)) !important; }
html.fi body.fi-panel-player .s33-super-benefit-skin strong { margin-top:8px !important; color:#fff !important; font-size:18px !important; }
html.fi body.fi-panel-player .s33-super-benefit-skin small { color:#ffd36c !important; font-weight:800 !important; }
html.fi body.fi-panel-player .s33-super-benefit-grid { display:grid !important; grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:18px !important; margin:18px 0 !important; }
html.fi body.fi-panel-player .s33-super-benefit-card { border-radius:26px !important; padding:20px !important; background:linear-gradient(145deg, rgba(15,23,42,.96), rgba(39,25,13,.94)) !important; border:1px solid rgba(255,211,108,.22) !important; box-shadow:0 18px 46px rgba(0,0,0,.22) !important; color:#fff7df !important; }
html.fi body.fi-panel-player .s33-super-benefit-card__top { display:flex !important; justify-content:space-between !important; gap:12px !important; align-items:center !important; }
html.fi body.fi-panel-player .s33-super-benefit-card__top span { color:#1b1307 !important; background:linear-gradient(135deg,#ffe08a,#ff9b3d) !important; border-radius:999px !important; padding:6px 12px !important; font-weight:1000 !important; }
html.fi body.fi-panel-player .s33-super-benefit-card__top em { color:#7fe7ff !important; font-style:normal !important; font-weight:900 !important; }
html.fi body.fi-panel-player .s33-super-benefit-card h3 { margin:14px 0 8px !important; font-size:24px !important; font-weight:1000 !important; color:#fff !important; }
html.fi body.fi-panel-player .s33-super-benefit-card p { min-height:48px !important; color:rgba(255,247,223,.76) !important; line-height:1.6 !important; }
html.fi body.fi-panel-player .s33-super-benefit-price { display:flex !important; align-items:flex-end !important; justify-content:space-between !important; gap:12px !important; padding:14px 0 !important; border-top:1px solid rgba(255,255,255,.08) !important; border-bottom:1px solid rgba(255,255,255,.08) !important; }
html.fi body.fi-panel-player .s33-super-benefit-price strong { color:#ffd36c !important; font-size:32px !important; line-height:1 !important; }
html.fi body.fi-panel-player .s33-super-benefit-price span { color:rgba(255,247,223,.72) !important; font-weight:800 !important; }
html.fi body.fi-panel-player .s33-super-benefit-bonus { margin:14px 0 !important; padding:14px !important; border-radius:20px !important; background:rgba(45, 183, 255, .10) !important; border:1px solid rgba(127,231,255,.20) !important; }
html.fi body.fi-panel-player .s33-super-benefit-bonus > b { display:block !important; color:#7fe7ff !important; margin-bottom:10px !important; }
html.fi body.fi-panel-player .s33-super-benefit-bonus > div { display:grid !important; grid-template-columns:54px 1fr auto !important; gap:10px !important; align-items:center !important; }
html.fi body.fi-panel-player .s33-super-benefit-bonus img { width:54px !important; height:54px !important; object-fit:contain !important; }
html.fi body.fi-panel-player .s33-super-benefit-bonus strong { color:#fff !important; }
html.fi body.fi-panel-player .s33-super-benefit-bonus span { color:#ffd36c !important; font-weight:1000 !important; }
@media (max-width: 900px) {
    html.fi body.fi-panel-player .s33-super-benefit-hero { grid-template-columns:1fr !important; }
    html.fi body.fi-panel-player .s33-super-benefit-grid { grid-template-columns:1fr !important; }
}
@media (max-width: 640px) {
    html.fi body.fi-panel-player .s33-super-benefit-hero { padding:16px !important; border-radius:22px !important; }
    html.fi body.fi-panel-player .s33-super-benefit-hero h2 { font-size:26px !important; }
    html.fi body.fi-panel-player .s33-super-benefit-card { padding:16px !important; border-radius:22px !important; }
    html.fi body.fi-panel-player .s33-super-benefit-price { align-items:flex-start !important; flex-direction:column !important; }
}

/* Codex 2026-05-18: player dashboard super benefit promotion popup. */
html.fi body.fi-panel-player .s33-super-benefit-popup {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100500 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px !important;
}
html.fi body.fi-panel-player .s33-super-benefit-popup__mask {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(2, 6, 18, .72) !important;
    backdrop-filter: blur(6px) !important;
}
html.fi body.fi-panel-player .s33-super-benefit-popup__dialog {
    position: relative !important;
    z-index: 1 !important;
    width: min(520px, 94vw) !important;
    border-radius: 30px !important;
    padding: 20px 22px 22px !important;
    border: 1px solid rgba(255, 218, 118, .38) !important;
    background: radial-gradient(circle at 50% 6%, rgba(57, 205, 255, .26), transparent 38%), linear-gradient(145deg, rgba(12, 20, 38, .98), rgba(37, 21, 11, .98)) !important;
    box-shadow: 0 36px 100px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255,255,255,.05) !important;
    color: #fff7df !important;
    text-align: center !important;
    overflow: hidden !important;
}
html.fi body.fi-panel-player .s33-super-benefit-popup__close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    background: rgba(0,0,0,.28) !important;
    color: #fff !important;
    font-size: 26px !important;
    line-height: 1 !important;
}
html.fi body.fi-panel-player .s33-super-benefit-popup__skin {
    width: min(330px, 80vw) !important;
    height: auto !important;
    max-height: 330px !important;
    object-fit: contain !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 44px rgba(48, 204, 255, .22) !important;
}
html.fi body.fi-panel-player .s33-super-benefit-popup__dialog > span {
    display: block !important;
    margin-top: 12px !important;
    color: #7fe7ff !important;
    font-weight: 1000 !important;
    letter-spacing: .08em !important;
    font-size: 12px !important;
}
html.fi body.fi-panel-player .s33-super-benefit-popup__dialog h3 {
    margin: 8px 0 !important;
    color: #fff !important;
    font-size: 28px !important;
    font-weight: 1000 !important;
}
html.fi body.fi-panel-player .s33-super-benefit-popup__dialog p {
    color: rgba(255,247,223,.82) !important;
    line-height: 1.7 !important;
    margin: 0 auto 16px !important;
    max-width: 440px !important;
}
html.fi body.fi-panel-player .s33-super-benefit-popup__dialog p b { color: #ffd36c !important; }
html.fi body.fi-panel-player .s33-super-benefit-popup__actions {
    display: flex !important;
    gap: 10px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}
html.fi body.fi-panel-player .s33-super-benefit-popup__actions a,
html.fi body.fi-panel-player .s33-super-benefit-popup__actions button {
    border-radius: 999px !important;
    padding: 12px 18px !important;
    font-weight: 1000 !important;
    border: 1px solid rgba(255,255,255,.16) !important;
}
html.fi body.fi-panel-player .s33-super-benefit-popup__actions a {
    min-width: 210px !important;
    background: linear-gradient(135deg, #ffd36c, #ff8a2a) !important;
    color: #261306 !important;
    text-decoration: none !important;
    box-shadow: 0 14px 28px rgba(255, 138, 42, .24) !important;
}
html.fi body.fi-panel-player .s33-super-benefit-popup__actions button {
    background: rgba(255,255,255,.08) !important;
    color: #fff7df !important;
}
html.fi body.fi-panel-player .s33-super-benefit-popup__never {
    margin-top: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: rgba(255,247,223,.72) !important;
}
@media (max-width: 640px) {
    html.fi body.fi-panel-player .s33-super-benefit-popup__dialog { padding: 16px !important; border-radius: 24px !important; }
    html.fi body.fi-panel-player .s33-super-benefit-popup__dialog h3 { font-size: 23px !important; }
    html.fi body.fi-panel-player .s33-super-benefit-popup__actions a,
    html.fi body.fi-panel-player .s33-super-benefit-popup__actions button { width: 100% !important; }
}

html.fi body.fi-panel-player .s33-limited-reward-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr) !important;
    gap: 22px !important;
    align-items: stretch !important;
    margin: 18px 0 !important;
    padding: 24px !important;
    border-radius: 30px !important;
    color: #fff7ed !important;
    background:
        radial-gradient(circle at 78% 8%, rgba(248, 113, 113, .28), transparent 34%),
        radial-gradient(circle at 18% 18%, rgba(251, 191, 36, .20), transparent 36%),
        linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(44, 18, 35, .96) 54%, rgba(17, 24, 39, .98)) !important;
    border: 1px solid rgba(251, 191, 36, .30) !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .34) !important;
    overflow: hidden !important;
}
html.fi body.fi-panel-player .s33-limited-reward-hero__copy { position: relative !important; z-index: 2 !important; }
html.fi body.fi-panel-player .s33-limited-reward-hero__copy > span {
    display: inline-flex !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    color: #2a1307 !important;
    background: linear-gradient(135deg, #fde68a, #fb7185) !important;
    font-weight: 1000 !important;
    letter-spacing: .08em !important;
}
html.fi body.fi-panel-player .s33-limited-reward-hero__copy h3 {
    margin: 14px 0 8px !important;
    color: #fff !important;
    font-size: 34px !important;
    line-height: 1.12 !important;
    font-weight: 1000 !important;
}
html.fi body.fi-panel-player .s33-limited-reward-hero__copy p {
    max-width: 820px !important;
    color: rgba(255, 247, 237, .82) !important;
    line-height: 1.75 !important;
}
html.fi body.fi-panel-player .s33-limited-reward-status {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 18px 0 !important;
}
html.fi body.fi-panel-player .s33-limited-reward-status > div {
    padding: 13px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
}
html.fi body.fi-panel-player .s33-limited-reward-status span {
    display: block !important;
    color: rgba(255, 247, 237, .62) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}
html.fi body.fi-panel-player .s33-limited-reward-status strong {
    display: block !important;
    margin-top: 4px !important;
    color: #fde68a !important;
    font-size: 22px !important;
    font-weight: 1000 !important;
}
html.fi body.fi-panel-player .s33-limited-reward-qualified {
    display: inline-flex !important;
    margin: 0 0 14px !important;
    padding: 8px 12px !important;
    border-radius: 14px !important;
    color: #bbf7d0 !important;
    background: rgba(22, 163, 74, .14) !important;
    border: 1px solid rgba(74, 222, 128, .22) !important;
    font-weight: 900 !important;
}
html.fi body.fi-panel-player .s33-limited-reward-qualified.is-locked {
    color: #fecaca !important;
    background: rgba(239, 68, 68, .14) !important;
    border-color: rgba(248, 113, 113, .22) !important;
}
html.fi body.fi-panel-player .s33-limited-reward-claim-btn,
html.fi body.fi-panel-player .s33-limited-reward-tier button {
    border: 0 !important;
    border-radius: 999px !important;
    padding: 12px 18px !important;
    color: rgba(255, 247, 237, .82) !important;
    background: linear-gradient(135deg, rgba(148, 163, 184, .28), rgba(100, 116, 139, .20)) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14) !important;
    font-weight: 1000 !important;
    cursor: not-allowed !important;
}
html.fi body.fi-panel-player .s33-limited-reward-claim-btn.is-active {
    color: #2b1600 !important;
    background: linear-gradient(135deg, #fde68a, #fb923c 52%, #f97316) !important;
    box-shadow: 0 18px 44px rgba(251, 146, 60, .24), inset 0 0 0 1px rgba(255, 255, 255, .36) !important;
    cursor: pointer !important;
}
html.fi body.fi-panel-player .s33-limited-reward-claim-btn.is-active:hover {
    transform: translateY(-1px) !important;
    filter: brightness(1.05) !important;
}
html.fi body.fi-panel-player .s33-limited-reward-claim-btn.is-active[disabled] {
    opacity: .72 !important;
    cursor: wait !important;
}
html.fi body.fi-panel-player .s33-limited-reward-mail {
    margin: 10px 0 0 !important;
    color: #fed7aa !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}
html.fi body.fi-panel-player .s33-limited-reward-hero__visual {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    align-items: end !important;
}
html.fi body.fi-panel-player .s33-limited-reward-hero__visual img {
    width: 100% !important;
    min-height: 260px !important;
    max-height: 360px !important;
    object-fit: contain !important;
    border-radius: 24px !important;
    padding: 10px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03)) !important;
    filter: drop-shadow(0 22px 32px rgba(251, 113, 133, .28)) !important;
}
html.fi body.fi-panel-player .s33-limited-reward-tier-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin: 18px 0 !important;
}
html.fi body.fi-panel-player .s33-limited-reward-tier {
    padding: 18px !important;
    border-radius: 24px !important;
    color: #fff7ed !important;
    background: linear-gradient(145deg, rgba(17, 24, 39, .96), rgba(45, 21, 35, .92)) !important;
    border: 1px solid rgba(251, 191, 36, .20) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .20) !important;
}
html.fi body.fi-panel-player .s33-limited-reward-tier.is-current {
    border-color: rgba(253, 224, 71, .62) !important;
    box-shadow: 0 0 0 1px rgba(253, 224, 71, .22), 0 24px 52px rgba(251, 191, 36, .18) !important;
}
html.fi body.fi-panel-player .s33-limited-reward-tier__head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
}
html.fi body.fi-panel-player .s33-limited-reward-tier__head span {
    color: #2a1307 !important;
    background: linear-gradient(135deg, #fde68a, #f97316) !important;
    border-radius: 999px !important;
    padding: 6px 12px !important;
    font-weight: 1000 !important;
}
html.fi body.fi-panel-player .s33-limited-reward-tier__head em {
    color: #fda4af !important;
    font-style: normal !important;
    font-weight: 900 !important;
}
html.fi body.fi-panel-player .s33-limited-reward-tier h4 {
    margin: 14px 0 6px !important;
    color: #fff !important;
    font-size: 21px !important;
    font-weight: 1000 !important;
}
html.fi body.fi-panel-player .s33-limited-reward-tier p {
    min-height: 44px !important;
    color: rgba(255, 247, 237, .70) !important;
    line-height: 1.6 !important;
}
html.fi body.fi-panel-player .s33-limited-reward-items {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 14px 0 !important;
}
html.fi body.fi-panel-player .s33-limited-reward-items > div {
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) auto !important;
    gap: 9px !important;
    align-items: center !important;
    padding: 9px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .07) !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
}
html.fi body.fi-panel-player .s33-limited-reward-items img {
    width: 46px !important;
    height: 46px !important;
    object-fit: contain !important;
}
html.fi body.fi-panel-player .s33-limited-reward-items strong {
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
html.fi body.fi-panel-player .s33-limited-reward-items span {
    color: #fde68a !important;
    font-weight: 1000 !important;
}
@media (max-width: 980px) {
    html.fi body.fi-panel-player .s33-limited-reward-hero,
    html.fi body.fi-panel-player .s33-limited-reward-tier-grid {
        grid-template-columns: 1fr !important;
    }
    html.fi body.fi-panel-player .s33-limited-reward-status {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 640px) {
    html.fi body.fi-panel-player .s33-limited-reward-hero {
        padding: 16px !important;
        border-radius: 22px !important;
    }
    html.fi body.fi-panel-player .s33-limited-reward-hero__copy h3 {
        font-size: 26px !important;
    }
    html.fi body.fi-panel-player .s33-limited-reward-hero__visual img {
        min-height: 180px !important;
        max-height: 230px !important;
    }
    html.fi body.fi-panel-player .s33-limited-reward-items {
        grid-template-columns: 1fr !important;
    }
}

/* Register captcha: lightweight image challenge to slow scripted signups. */
.s33-register-form .s33-register-captcha {
    grid-column: 1 / -1;
}
.s33-register-captcha__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 10px;
    align-items: center;
}
.s33-register-captcha__image {
    width: 132px;
    height: 46px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(16, 185, 129, .28);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #ecfdf5;
    box-shadow: 0 12px 24px rgba(16, 185, 129, .12);
}
.s33-register-captcha__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 560px) {
    .s33-register-captcha__row {
        grid-template-columns: 1fr;
    }
    .s33-register-captcha__image {
        width: 100%;
    }
}

/* Player self zone transfer high-risk confirm */
html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) {
    font-size: 16px !important;
}
html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-hero p,
html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-section-head p,
html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-note-list div,
html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-table th,
html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-table td,
html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-field span,
html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-field small {
    font-size: 15px !important;
    line-height: 1.75 !important;
}
html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-section-head strong {
    font-size: 24px !important;
}
html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-field input,
html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-field select,
html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-field textarea {
    min-height: 48px !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
}
html.fi body.fi-panel-player .s33-player-danger-confirm {
    border: 1px solid rgba(248, 113, 113, .55) !important;
    background: linear-gradient(135deg, rgba(255, 247, 237, .98), rgba(255, 237, 213, .96)) !important;
    box-shadow: 0 14px 28px rgba(127, 29, 29, .10) !important;
}
html.fi body.fi-panel-player .s33-player-danger-confirm > span {
    color: #991b1b !important;
    font-weight: 1000 !important;
    font-size: 16px !important;
}
html.fi body.fi-panel-player .s33-player-danger-confirm input {
    border-color: rgba(248, 113, 113, .70) !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    caret-color: #b91c1c !important;
}
html.fi body.fi-panel-player .s33-player-danger-confirm input::placeholder {
    color: #7f1d1d !important;
    opacity: .82 !important;
}
html.fi body.fi-panel-player .s33-player-danger-confirm small {
    display: block !important;
    color: #7f1d1d !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.7 !important;
}
html.fi body.fi-panel-player .s33-player-danger-confirm small b {
    color: #b91c1c !important;
    font-weight: 1000 !important;
}
@media (max-width: 640px) {
    html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-hero p,
    html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-section-head p,
    html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-note-list div,
    html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-table th,
    html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-table td,
    html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-field span,
    html.fi body.fi-panel-player .s33-player-page:has(.s33-player-danger-confirm) .s33-player-field small {
        font-size: 14px !important;
    }
}

/* 自助转区：大字体、卡片化资格检查、弹窗确认，避免高风险输入框误操作 */
html.fi body.fi-panel-player .s33-zone-transfer-board {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(34, 211, 238, .26);
    border-radius: 28px;
    background:
        radial-gradient(circle at 10% 0%, rgba(34, 211, 238, .2), transparent 36%),
        linear-gradient(135deg, rgba(8, 20, 38, .96), rgba(19, 26, 50, .94));
    box-shadow: 0 22px 54px rgba(2, 6, 23, .28);
}
html.fi body.fi-panel-player .s33-zone-transfer-board.is-locked {
    border-color: rgba(251, 191, 36, .35);
    background:
        radial-gradient(circle at 10% 0%, rgba(251, 191, 36, .22), transparent 36%),
        linear-gradient(135deg, rgba(38, 25, 8, .96), rgba(50, 29, 19, .94));
}
html.fi body.fi-panel-player .s33-zone-transfer-badge {
    display: inline-flex;
    width: max-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(34, 211, 238, .15);
    color: #a5f3fc;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}
html.fi body.fi-panel-player .s33-zone-transfer-board h3 {
    margin: 12px 0 8px;
    color: #f8fafc;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 950;
    line-height: 1.08;
}
html.fi body.fi-panel-player .s33-zone-transfer-board p {
    margin: 0;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.75;
}
html.fi body.fi-panel-player .s33-zone-transfer-shortfall b {
    color: #fde68a;
    font-size: 1.18em;
}
html.fi body.fi-panel-player .s33-zone-transfer-recharge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 12px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(239, 68, 68, .24);
}
html.fi body.fi-panel-player .s33-zone-transfer-board__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
html.fi body.fi-panel-player .s33-zone-transfer-board__stats div {
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 18px;
    background: rgba(15, 23, 42, .56);
}
html.fi body.fi-panel-player .s33-zone-transfer-board__stats span,
html.fi body.fi-panel-player .s33-zone-transfer-target__meta span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 850;
}
html.fi body.fi-panel-player .s33-zone-transfer-board__stats strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 24px;
    font-weight: 950;
}
html.fi body.fi-panel-player .s33-zone-transfer-board__stats em {
    display: block;
    margin-top: 3px;
    color: #67e8f9;
    font-size: 12px;
    font-style: normal;
}
html.fi body.fi-panel-player .s33-zone-transfer-rule-card {
    padding: 18px 20px;
    border: 1px solid rgba(251, 191, 36, .34);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(120, 53, 15, .22), rgba(15, 23, 42, .86));
}
html.fi body.fi-panel-player .s33-zone-transfer-rule-card strong {
    display: block;
    color: #fde68a;
    font-size: 18px;
    font-weight: 950;
}
html.fi body.fi-panel-player .s33-zone-transfer-rule-card p {
    margin: 8px 0 0;
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.7;
}
html.fi body.fi-panel-player .s33-zone-transfer-rule-card .is-danger {
    color: #fecaca;
    font-weight: 900;
}
html.fi body.fi-panel-player .s33-zone-transfer-target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
html.fi body.fi-panel-player .s33-zone-transfer-target,
html.fi body.fi-panel-player .s33-zone-transfer-empty {
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(15, 23, 42, .94), rgba(30, 41, 59, .9));
    box-shadow: 0 14px 34px rgba(2, 6, 23, .18);
}
html.fi body.fi-panel-player .s33-zone-transfer-target.is-ready {
    border-color: rgba(34, 197, 94, .46);
    box-shadow: 0 16px 40px rgba(34, 197, 94, .12);
}
html.fi body.fi-panel-player .s33-zone-transfer-target.is-disabled {
    opacity: .86;
}
html.fi body.fi-panel-player .s33-zone-transfer-target__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
html.fi body.fi-panel-player .s33-zone-transfer-target__head span {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(14, 165, 233, .18);
    color: #bae6fd;
    font-size: 12px;
    font-weight: 950;
}
html.fi body.fi-panel-player .s33-zone-transfer-target__head strong {
    color: #f8fafc;
    font-size: 18px;
    font-weight: 950;
    text-align: right;
}
html.fi body.fi-panel-player .s33-zone-transfer-target__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}
html.fi body.fi-panel-player .s33-zone-transfer-target__meta div {
    min-width: 0;
    padding: 11px;
    border-radius: 16px;
    background: rgba(2, 6, 23, .34);
}
html.fi body.fi-panel-player .s33-zone-transfer-target__meta b {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    word-break: break-all;
}
html.fi body.fi-panel-player .s33-zone-transfer-target__status {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(251, 191, 36, .12);
    color: #fde68a;
    font-size: 13px;
    font-weight: 850;
}
html.fi body.fi-panel-player .s33-zone-transfer-target__status.is-ok {
    background: rgba(34, 197, 94, .12);
    color: #bbf7d0;
}
html.fi body.fi-panel-player .s33-zone-transfer-confirm-btn {
    width: 100%;
    margin-top: 14px;
    padding: 13px 16px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #22c55e, #06b6d4);
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(6, 182, 212, .22);
}
html.fi body.fi-panel-player .s33-zone-transfer-confirm-btn:disabled {
    background: rgba(71, 85, 105, .72);
    color: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
}
html.fi body.fi-panel-player .s33-zone-transfer-empty {
    grid-column: 1 / -1;
    text-align: center;
}
html.fi body.fi-panel-player .s33-zone-transfer-empty strong {
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}
html.fi body.fi-panel-player .s33-zone-transfer-empty p {
    margin: 8px 0 0;
    color: #cbd5e1;
}
.s33-confirm-modal__dialog.is-zone-transfer {
    border-color: rgba(251, 191, 36, .42);
}
.s33-confirm-modal__dialog.is-zone-transfer .s33-confirm-modal__head span {
    background: rgba(239, 68, 68, .16);
    color: #fecaca;
}
.s33-zone-transfer-modal-warning {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(239, 68, 68, .32);
    border-radius: 16px;
    background: rgba(127, 29, 29, .18);
    color: #fecaca;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.55;
}
@media (max-width: 760px) {
    html.fi body.fi-panel-player .s33-zone-transfer-board {
        grid-template-columns: 1fr;
        padding: 18px;
        border-radius: 22px;
    }
    html.fi body.fi-panel-player .s33-zone-transfer-target-grid {
        grid-template-columns: 1fr;
    }
    html.fi body.fi-panel-player .s33-zone-transfer-target__meta {
        grid-template-columns: 1fr;
    }
    html.fi body.fi-panel-player .s33-zone-transfer-board h3 {
        font-size: 24px;
    }
}


/* S33 top whale player center */
html.fi body.fi-panel-player .s33-top-whale-hero,
html.fi body.fi-panel-player .s33-top-whale-section {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    border: 1px solid rgba(252, 211, 77, .22) !important;
    background: linear-gradient(135deg, rgba(15, 23, 42, .96), rgba(69, 26, 3, .9)), url('/images/s33-survival-bg.png') center/cover !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255,255,255,.08) !important;
    color: #fff7ed !important;
}
html.fi body.fi-panel-player .s33-top-whale-hero { display:grid !important; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr) !important; gap: 20px !important; padding: 28px !important; }
html.fi body.fi-panel-player .s33-top-whale-hero::before,
html.fi body.fi-panel-player .s33-top-whale-section::before { content:''; position:absolute; inset:-40%; background: radial-gradient(circle at 20% 10%, rgba(251,191,36,.24), transparent 28%), radial-gradient(circle at 88% 8%, rgba(239,68,68,.18), transparent 22%), radial-gradient(circle at 50% 105%, rgba(34,197,94,.16), transparent 26%); pointer-events:none; }
html.fi body.fi-panel-player .s33-top-whale-hero > *,
html.fi body.fi-panel-player .s33-top-whale-section > * { position:relative; z-index:1; }
html.fi body.fi-panel-player .s33-top-whale-hero__copy span { display:inline-flex !important; align-items:center !important; gap:8px !important; color:#fde68a !important; font-weight:1000 !important; letter-spacing:.11em !important; font-size:12px !important; }
html.fi body.fi-panel-player .s33-top-whale-hero__copy h2 { margin:10px 0 8px !important; font-size: clamp(34px, 5vw, 62px) !important; line-height:1 !important; font-weight:1000 !important; letter-spacing:-.06em !important; color:#fff !important; text-shadow:0 0 30px rgba(251,191,36,.36) !important; }
html.fi body.fi-panel-player .s33-top-whale-hero__copy p { max-width: 820px !important; color:#ffedd5 !important; line-height:1.82 !important; margin:0 !important; font-weight:700 !important; }
html.fi body.fi-panel-player .s33-top-whale-hero__tags { display:flex !important; flex-wrap:wrap !important; gap:10px !important; margin-top:18px !important; }
html.fi body.fi-panel-player .s33-top-whale-hero__tags b { display:inline-flex !important; border-radius:999px !important; padding:8px 13px !important; background:rgba(251,191,36,.14) !important; border:1px solid rgba(253,230,138,.22) !important; color:#fef3c7 !important; font-size:12px !important; }
html.fi body.fi-panel-player .s33-top-whale-hero__terminal { align-self:stretch !important; display:grid !important; place-items:center !important; text-align:center !important; padding:22px !important; border-radius:24px !important; background:linear-gradient(160deg, rgba(0,0,0,.32), rgba(120,53,15,.25)) !important; border:1px solid rgba(253,230,138,.24) !important; }
html.fi body.fi-panel-player .s33-top-whale-hero__terminal strong { display:block !important; font-size:24px !important; color:#fef3c7 !important; }
html.fi body.fi-panel-player .s33-top-whale-hero__terminal span,
html.fi body.fi-panel-player .s33-top-whale-hero__terminal em { display:block !important; margin-top:8px !important; color:#fed7aa !important; font-style:normal !important; }
html.fi body.fi-panel-player .s33-top-whale-section { padding:24px !important; display:grid !important; gap:18px !important; }
html.fi body.fi-panel-player .s33-top-whale-style-grid { display:grid !important; grid-template-columns: repeat(4, minmax(0,1fr)) !important; gap:14px !important; }
html.fi body.fi-panel-player .s33-top-whale-style-card,
html.fi body.fi-panel-player .s33-top-whale-title-card,
html.fi body.fi-panel-player .s33-top-whale-worship-card,
html.fi body.fi-panel-player .s33-top-whale-channel-card,
html.fi body.fi-panel-player .s33-top-whale-empty { background:rgba(15,23,42,.72) !important; border:1px solid rgba(253,230,138,.18) !important; border-radius:22px !important; box-shadow:0 18px 50px rgba(0,0,0,.24) !important; }
html.fi body.fi-panel-player .s33-top-whale-style-card { display:grid !important; gap:10px !important; padding:12px !important; }
html.fi body.fi-panel-player .s33-top-whale-style-card img { width:100% !important; height:110px !important; object-fit:contain !important; border-radius:16px !important; background:radial-gradient(circle, rgba(251,191,36,.18), rgba(15,23,42,.55)) !important; }
html.fi body.fi-panel-player .s33-top-whale-style-card strong { color:#fff7ed !important; font-size:16px !important; }
html.fi body.fi-panel-player .s33-top-whale-style-card span { display:block !important; color:#fed7aa !important; font-size:12px !important; margin-top:2px !important; }
html.fi body.fi-panel-player .s33-top-whale-style-card em { display:inline-block !important; margin-top:7px !important; font-style:normal !important; font-weight:1000 !important; background:linear-gradient(90deg, var(--tw-a), var(--tw-b)) !important; -webkit-background-clip:text !important; background-clip:text !important; color:transparent !important; }
html.fi body.fi-panel-player .s33-top-whale-title-grid { display:grid !important; grid-template-columns: repeat(4, minmax(0,1fr)) !important; gap:16px !important; overflow:visible !important; padding-right:0 !important; }
html.fi body.fi-panel-player .s33-top-whale-title-grid::-webkit-scrollbar { width:8px !important; }
html.fi body.fi-panel-player .s33-top-whale-title-grid::-webkit-scrollbar-thumb { background:rgba(251,191,36,.45) !important; border-radius:99px !important; }
html.fi body.fi-panel-player .s33-top-whale-title-card { padding:12px !important; display:grid !important; gap:10px !important; }
html.fi body.fi-panel-player .s33-top-whale-title-card__preview { position:relative !important; min-height:230px !important; display:grid !important; place-items:center !important; overflow:hidden !important; border-radius:20px !important; isolation:isolate !important; background:radial-gradient(circle at center, rgba(251,191,36,.13), transparent 62%), linear-gradient(180deg, rgba(2,6,23,.76), rgba(69,26,3,.30)) !important; }
html.fi body.fi-panel-player .s33-top-whale-title-card__preview::before { content:"" !important; position:absolute !important; inset:12px !important; border-radius:18px !important; background:radial-gradient(circle at center, rgba(255,255,255,.12), transparent 58%) !important; z-index:0 !important; }
html.fi body.fi-panel-player .s33-top-whale-title-card__preview img { position:absolute !important; left:50% !important; top:50% !important; width:min(132%, 760px) !important; height:auto !important; max-height:228px !important; transform:translate(-50%, -50%) !important; object-fit:contain !important; opacity:.98 !important; filter:none !important; image-rendering:auto !important; z-index:1 !important; }
html.fi body.fi-panel-player .s33-top-whale-title-card__preview strong { position:relative !important; z-index:2 !important; display:inline-block !important; max-width:92% !important; text-align:center !important; font-size: clamp(18px, 1.32vw, 24px) !important; line-height:1.05 !important; font-weight:1000 !important; letter-spacing:.03em !important; white-space:nowrap !important; transform:translate(var(--tw-x, 0), var(--tw-y, 0)) !important; background-image:linear-gradient(180deg, var(--tw-a) 8%, var(--tw-b) 94%), linear-gradient(105deg, transparent 0%, transparent 38%, rgba(255,255,255,.95) 48%, transparent 58%, transparent 100%) !important; background-size:100% 100%, 260% 100% !important; background-position:0 0, -170% 0 !important; background-repeat:no-repeat !important; -webkit-background-clip:text !important; background-clip:text !important; color:transparent !important; -webkit-text-stroke:.58px var(--tw-outline-a, #280C01) !important; text-shadow:1px 0 0 var(--tw-outline-b, #280C01), -1px 0 0 var(--tw-outline-b, #280C01), 0 1px 0 var(--tw-outline-b, #280C01), 0 -1px 0 var(--tw-outline-b, #280C01), 0 0 4px var(--tw-outline2-a, #E5A557), 0 0 9px var(--tw-outline2-b, #E5A557), 0 0 18px var(--tw-flow, #FCFCC6), 0 3px 8px rgba(0,0,0,.72) !important; filter:drop-shadow(0 0 5px var(--tw-flow, #FCFCC6)) !important; animation:s33-top-whale-title-flow 2.15s linear infinite !important; overflow:hidden !important; }
html.fi body.fi-panel-player .s33-top-whale-title-card.is-style-2 .s33-top-whale-title-card__preview strong { font-size: clamp(17px, 1.22vw, 22px) !important; }
html.fi body.fi-panel-player .s33-top-whale-title-card__preview strong::after { content:none !important; display:none !important; }
@keyframes s33-top-whale-title-flow { from { background-position:0 0, -170% 0; } to { background-position:0 0, 170% 0; } }
html.fi body.fi-panel-player .s33-top-whale-title-card__meta { text-align:center !important; }
html.fi body.fi-panel-player .s33-top-whale-title-card__meta span { display:block !important; color:#fef3c7 !important; font-size:13px !important; font-style:normal !important; font-weight:1000 !important; letter-spacing:.02em !important; }
html.fi body.fi-panel-player .s33-top-whale-title-card__meta em { display:block !important; margin-top:4px !important; color:#fed7aa !important; font-size:12px !important; font-style:normal !important; font-weight:800 !important; opacity:.88 !important; }
html.fi body.fi-panel-player .s33-top-whale-worship-card__foot { width:100% !important; border-radius:14px !important; padding:10px 12px !important; background:linear-gradient(135deg, rgba(251,191,36,.16), rgba(120,53,15,.28)) !important; border:1px solid rgba(253,230,138,.2) !important; color:#fde68a !important; font-weight:1000 !important; text-align:center !important; }
html.fi body.fi-panel-player .s33-top-whale-worship-grid { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:16px !important; }
html.fi body.fi-panel-player .s33-top-whale-worship-card { padding:18px !important; display:grid !important; gap:14px !important; }
html.fi body.fi-panel-player .s33-top-whale-worship-card__head span { display:inline-flex !important; border-radius:999px !important; padding:5px 10px !important; background:rgba(251,191,36,.16) !important; color:#fde68a !important; font-size:12px !important; font-weight:1000 !important; }
html.fi body.fi-panel-player .s33-top-whale-worship-card__head strong { display:block !important; margin-top:8px !important; font-size:22px !important; color:#fff !important; }
html.fi body.fi-panel-player .s33-top-whale-worship-card__head p { margin:5px 0 0 !important; color:#fed7aa !important; line-height:1.65 !important; }
html.fi body.fi-panel-player .s33-top-whale-worship-card input,
html.fi body.fi-panel-player .s33-top-whale-channel-card textarea { width:100% !important; border-radius:16px !important; border:1px solid rgba(253,230,138,.2) !important; background:rgba(2,6,23,.58) !important; color:#fff7ed !important; padding:12px 14px !important; outline:none !important; }
html.fi body.fi-panel-player .s33-top-whale-worship-card input::placeholder,
html.fi body.fi-panel-player .s33-top-whale-channel-card textarea::placeholder { color:rgba(254,215,170,.72) !important; }
html.fi body.fi-panel-player .s33-top-whale-reward-grid { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:9px !important; }
html.fi body.fi-panel-player .s33-top-whale-reward-grid div { display:grid !important; place-items:center !important; text-align:center !important; min-height:104px !important; border-radius:16px !important; background:rgba(255,247,237,.08) !important; border:1px solid rgba(253,230,138,.13) !important; padding:8px !important; }
html.fi body.fi-panel-player .s33-top-whale-reward-grid img { width:42px !important; height:42px !important; object-fit:contain !important; }
html.fi body.fi-panel-player .s33-top-whale-reward-grid strong { display:block !important; color:#fff7ed !important; font-size:12px !important; margin-top:4px !important; }
html.fi body.fi-panel-player .s33-top-whale-reward-grid span { color:#fde68a !important; font-size:12px !important; font-weight:900 !important; }
html.fi body.fi-panel-player .s33-top-whale-channel-grid { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:14px !important; }
html.fi body.fi-panel-player .s33-top-whale-channel-card { padding:16px !important; }
html.fi body.fi-panel-player .s33-top-whale-channel-card strong { display:block !important; color:#fff !important; margin-bottom:10px !important; font-size:18px !important; }
html.fi body.fi-panel-player .s33-top-whale-submit-row { display:flex !important; align-items:center !important; gap:12px !important; border-radius:16px !important; padding:12px 14px !important; background:rgba(251,191,36,.09) !important; border:1px solid rgba(253,230,138,.16) !important; }
html.fi body.fi-panel-player .s33-top-whale-submit-row span { color:#fed7aa !important; font-size:13px !important; font-weight:800 !important; }
html.fi body.fi-panel-player .s33-top-whale-empty { padding:18px !important; color:#fed7aa !important; }
@media (max-width: 1100px) {
    html.fi body.fi-panel-player .s33-top-whale-style-grid,
    html.fi body.fi-panel-player .s33-top-whale-title-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 720px) {
    html.fi body.fi-panel-player .s33-top-whale-hero,
    html.fi body.fi-panel-player .s33-top-whale-worship-grid,
    html.fi body.fi-panel-player .s33-top-whale-channel-grid { grid-template-columns:1fr !important; }
    html.fi body.fi-panel-player .s33-top-whale-hero,
    html.fi body.fi-panel-player .s33-top-whale-section { border-radius:22px !important; padding:16px !important; }
    html.fi body.fi-panel-player .s33-top-whale-title-grid { grid-template-columns:1fr !important; max-height:820px !important; }
    html.fi body.fi-panel-player .s33-top-whale-reward-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
    html.fi body.fi-panel-player .s33-top-whale-submit-row { display:grid !important; }
}
