/* JOPUJA PlayFab result cards + high-contrast admin light theme. */
.pf-result{display:block;min-width:0;overflow:hidden;padding:14px;border:1px solid var(--line,#d4dbe5);border-radius:14px;background:var(--panel,#fff);color:var(--text,#172033);font:500 14px/1.5 Inter,ui-sans-serif,system-ui,sans-serif;white-space:normal;max-height:none;overflow-wrap:anywhere}
.pf-result-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px}.pf-result-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:11px;background:#e8eef8;color:#1d3558;font-weight:950;font-size:18px}.pf-result-heading{min-width:0;flex:1}.pf-result-heading>strong{display:block;font-size:15px;line-height:1.3;color:var(--text,#172033)}.pf-result-message{display:block;margin-top:3px;color:var(--muted,#536174);font-size:12px;overflow-wrap:anywhere}.pf-result-status{display:inline-flex;align-items:center;white-space:nowrap;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900;border:1px solid transparent}.pf-result-status.success{background:#e8f8ef;color:#166534;border-color:#b7e8c8}.pf-result-status.error{background:#fff0f0;color:#a31328;border-color:#fecaca}.pf-result-status.review,.pf-result-status.pending{background:#fff7e6;color:#8a4b08;border-color:#f3d59a}.pf-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pf-result-field{display:flex;flex-direction:column;gap:3px;min-width:0;padding:10px 11px;border:1px solid var(--line,#dce2eb);border-radius:10px;background:var(--panel2,#f6f8fb)}.pf-result-field.is-wide{grid-column:1/-1}.pf-result-field>span{color:var(--muted,#536174);font-size:10px;font-weight:750;letter-spacing:.03em;text-transform:uppercase}.pf-result-field>strong{color:var(--text,#172033);font-size:13px;font-weight:850;overflow-wrap:anywhere}.pf-result-warning{display:grid;gap:3px;margin-top:10px;padding:10px 11px;border:1px solid #f3d59a;border-left:3px solid #c27b14;border-radius:8px;background:#fff8e9;color:#6e3c06;font-size:12px}.pf-result-warning span{color:#835a28}.pf-result-technical{margin-top:10px;border-top:1px solid var(--line,#dce2eb);padding-top:8px}.pf-result-technical summary{cursor:pointer;color:var(--muted,#536174);font-size:11px;font-weight:800;user-select:none}.pf-result-technical pre{max-height:260px;overflow:auto;margin:8px 0 0;padding:11px;border-radius:9px;background:#101722;color:#e2e8f0;font:11px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
/* Light mode: force readable contrast across the admin dashboard without changing its dark theme. */
html[data-theme="light"] body.admin-page{color:#172033;background:#f3f5f8}
html[data-theme="light"] body.admin-page #adminContent,
html[data-theme="light"] body.admin-page #adminContent h1,
html[data-theme="light"] body.admin-page #adminContent h2,
html[data-theme="light"] body.admin-page #adminContent h3,
html[data-theme="light"] body.admin-page #adminContent h4,
html[data-theme="light"] body.admin-page #adminContent b,
html[data-theme="light"] body.admin-page #adminContent strong,
html[data-theme="light"] body.admin-page #adminContent label,
html[data-theme="light"] body.admin-page #adminContent td,
html[data-theme="light"] body.admin-page #adminContent th{color:#172033}
html[data-theme="light"] body.admin-page #adminContent .muted,
html[data-theme="light"] body.admin-page #adminContent small,
html[data-theme="light"] body.admin-page #adminContent .hint,
html[data-theme="light"] body.admin-page #adminContent .field-help,
html[data-theme="light"] body.admin-page #adminContent .feature-note{color:#536174!important}
html[data-theme="light"] body.admin-page .admin-side{background:#eef2f7!important;color:#172033;border-color:#d5dce7}
html[data-theme="light"] body.admin-page .admin-menu button,
html[data-theme="light"] body.admin-page .admin-side a,
html[data-theme="light"] body.admin-page .admin-side p,
html[data-theme="light"] body.admin-page .admin-side small{color:#344256}
html[data-theme="light"] body.admin-page .admin-menu button.active,
html[data-theme="light"] body.admin-page .admin-menu button:hover{background:#fff!important;color:#8e1020!important;border-color:#e1c0c6}
html[data-theme="light"] body.admin-page .panel,
html[data-theme="light"] body.admin-page .card,
html[data-theme="light"] body.admin-page .feature-card,
html[data-theme="light"] body.admin-page .feature-row,
html[data-theme="light"] body.admin-page .comment-admin-card{background:#fff!important;color:#172033;border-color:#d8dee8!important}
html[data-theme="light"] body.admin-page .table-wrap{border-color:#d6deea;background:#fff}
html[data-theme="light"] body.admin-page .table th{background:#e9eef5!important;color:#253247!important;border-color:#d5dce6!important}
html[data-theme="light"] body.admin-page .table td{background:#fff;color:#253247!important;border-color:#e1e6ee!important}
html[data-theme="light"] body.admin-page .table tbody tr:nth-child(even) td{background:#f8fafc}
html[data-theme="light"] body.admin-page .input,
html[data-theme="light"] body.admin-page .select,
html[data-theme="light"] body.admin-page .textarea,
html[data-theme="light"] body.admin-page input:not([type="checkbox"]):not([type="radio"]),
html[data-theme="light"] body.admin-page textarea,
html[data-theme="light"] body.admin-page select{background:#fff!important;color:#172033!important;border-color:#cbd5e1!important;caret-color:#172033}
html[data-theme="light"] body.admin-page .input::placeholder,
html[data-theme="light"] body.admin-page .textarea::placeholder,
html[data-theme="light"] body.admin-page input::placeholder,
html[data-theme="light"] body.admin-page textarea::placeholder{color:#68778b!important;opacity:1}
html[data-theme="light"] body.admin-page select option{background:#fff;color:#172033}
html[data-theme="light"] body.admin-page .btn-soft{background:#eef2f7!important;color:#253247!important;border-color:#cbd5e1!important}
html[data-theme="light"] body.admin-page .btn-primary{color:#fff!important}
html[data-theme="light"] body.admin-page .btn-gold{color:#35280b!important}
html[data-theme="light"] body.admin-page .pill.red{background:#fff0f2;color:#9f1230!important;border-color:#fecdd3}
html[data-theme="light"] body.admin-page .pill.gold{background:#fff7e6;color:#854d0e!important;border-color:#f2d18e}
html[data-theme="light"] body.admin-page .codebox,
html[data-theme="light"] body.admin-page pre.codebox{background:#111827!important;color:#e5edf7!important;border-color:#cbd5e1}
html[data-theme="light"] body.admin-page a:not(.btn){color:#174ea6}
html[data-theme="light"] body.admin-page .admin-top{background:#f3f5f8!important;border-color:#d8dee8}
html[data-theme="light"] body.admin-page .metric{background:#f8fafc!important;border-color:#d8dee8!important;color:#172033}
html[data-theme="light"] body.admin-page .metric strong{color:#172033!important}
@media(max-width:560px){.pf-result{padding:11px;border-radius:12px}.pf-result-grid{grid-template-columns:1fr}.pf-result-field.is-wide{grid-column:auto}.pf-result-head{flex-wrap:wrap}.pf-result-status{margin-left:44px;margin-top:-5px}}

html[data-theme="light"] body.admin-page .auth-shell{background:#eef2f7!important;color:#172033}
html[data-theme="light"] body.admin-page .auth-card{background:#fff!important;color:#172033;border-color:#d8dee8!important;box-shadow:0 20px 54px rgba(25,42,70,.12)}
html[data-theme="light"] body.admin-page .auth-title,html[data-theme="light"] body.admin-page .auth-sub{color:#172033!important}
html[data-theme="light"] body.admin-page .auth-sub{color:#536174!important}
html[data-theme="light"] body.admin-page .admin-menu-group-title{color:#344256!important}
html[data-theme="light"] body.admin-page .admin-menu-group-title[aria-expanded="true"]{color:#8e1020!important}
html[data-theme="light"] body.admin-page .admin-menu-group-items{color:#253247}
html[data-theme="light"] body.admin-page .admin-nav-search{color:#536174}
