        :root {
            --fypm-text: #0f172a;
            --fypm-muted: #64748b;
            --fypm-muted-light: #94a3b8;
            --fypm-accent: #2563eb;
            --fypm-danger: #dc2626;
            --fypm-danger-dark: #b91c1c;
            --fypm-success: #16a34a;
            --fypm-ok: #2b577c;
            --fypm-slate: #475569;
            --fypm-border: #e2e8f0;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            background: linear-gradient(165deg, #f1f5f9 0%, #e2e8f0 100%);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, sans-serif;
            padding: 24px 16px;
            min-height: 100vh;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            color: var(--fypm-text);
        }
        .app-container { max-width: 960px; width: 100%; }
        .card {
            background: #ffffff;
            border-radius: 20px;
            padding: 24px 28px;
            margin-bottom: 20px;
            box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
        }
        .card-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 16px;
        }
        .card-header--main {
            flex-direction: column;
            align-items: stretch;
            gap: 0;
        }
        .card-header h2 {
            font-weight: 600;
            font-size: 1.5rem;
            color: #0f172a;
            line-height: 1.3;
        }
        .model-basis {
            margin-top: 8px;
            font-size: 0.88rem;
            font-weight: 500;
            color: var(--fypm-muted);
            line-height: 1.45;
        }
        .card-header--main h2 > .fas { color: var(--fypm-accent); }
        .card-lead {
            color: var(--fypm-muted);
            margin-bottom: 0;
            line-height: 1.55;
        }
        .card-lead > .fas { margin-right: 0.35em; color: var(--fypm-muted-light); }
        .concept-guidance {
            margin-top: 18px;
            padding: 16px 18px;
            border-radius: 16px;
            border: 1px solid #e2e8f0;
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
        }
        .concept-guidance__title {
            margin: 0 0 10px 0;
            font-size: 0.88rem;
            font-weight: 700;
            color: var(--fypm-text);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .concept-guidance__title > .fas {
            color: #2563eb;
            opacity: 0.9;
        }
        .concept-guidance__body {
            margin: 0;
            font-size: 0.88rem;
            line-height: 1.65;
            color: var(--fypm-muted);
        }
        .concept-guidance__body strong {
            color: var(--fypm-text);
            font-weight: 600;
        }
        .input-row {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-end;
            gap: 20px 24px;
        }
        .input-field {
            flex: 1 1 180px;
            min-width: 150px;
        }
        .input-field label {
            display: block;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            color: #64748b;
            margin-bottom: 6px;
        }
        .input-field input {
            width: 100%;
            padding: 14px 16px;
            font-size: 1.3rem;
            font-weight: 500;
            font-family: 'JetBrains Mono', monospace;
            background: #f8fafc;
            border: 1.5px solid #e2e8f0;
            border-radius: 18px;
            outline: none;
            color: #0f172a;
            transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
        }
        .input-field input:hover { border-color: #cbd5e1; }
        .input-field input:focus {
            border-color: #2563eb;
            background: #fff;
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
        }
        .button-group {
            display: flex;
            gap: 12px;
            margin-top: 20px;
            flex-wrap: wrap;
        }
        .button-group--analyze-only {
            display: block;
        }
        .button-group--analyze-only .btn-primary {
            width: 100%;
            justify-content: center;
            box-sizing: border-box;
        }
        .btn {
            border: none;
            background: #f1f5f9;
            padding: 12px 24px;
            font-size: 0.95rem;
            font-weight: 600;
            border-radius: 40px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #0f172a;
            transition: transform 0.15s, background 0.2s, box-shadow 0.2s, color 0.2s;
        }
        .btn-primary {
            background: #0f172a;
            color: white;
            box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
        }
        .btn-primary:hover:not(:disabled) {
            background: #1e293b;
            transform: translateY(-2px);
            box-shadow: 0 10px 28px rgba(15, 23, 42, 0.35);
        }
        .btn-outline {
            background: #fff;
            border: 1px solid #e2e8f0;
            box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
        }
        .btn-outline:hover:not(:disabled) {
            background: #eff6ff;
            border-color: #93c5fd;
            color: #2563eb;
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
        }
        .btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
        .data-panel--wssa {
            border-left: 4px solid #2563eb;
            background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 50%);
        }
        .data-panel--manual {
            border-left: 4px solid #475569;
            background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%);
        }
        .data-panel-head {
            margin-bottom: 18px;
        }
        .data-panel-title {
            font-size: 1.12rem;
            font-weight: 700;
            color: var(--fypm-text);
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 0 0 8px 0;
        }
        .data-panel--wssa .data-panel-title > .fas { color: var(--fypm-accent); }
        .data-panel--manual .data-panel-title > .fas { color: var(--fypm-slate); }
        .manual-identity-details {
            margin-top: 16px;
            border-radius: 16px;
            border: 1px solid #e2e8f0;
            background: #f8fafc;
            overflow: hidden;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .manual-identity-details[open] {
            border-color: #cbd5e1;
            box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
        }
        .manual-identity-summary {
            list-style: none;
            cursor: pointer;
            padding: 14px 16px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px 12px;
            user-select: none;
            font-size: 0.92rem;
            font-weight: 600;
            color: var(--fypm-text);
        }
        .manual-identity-summary::-webkit-details-marker {
            display: none;
        }
        .manual-identity-summary__main {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .manual-identity-summary__main > .fas {
            color: var(--fypm-slate);
            opacity: 0.9;
        }
        .manual-identity-summary__meta {
            font-size: 0.78rem;
            font-weight: 500;
            color: var(--fypm-muted);
        }
        @media (min-width: 560px) {
            .manual-identity-summary__meta {
                flex: 1 1 auto;
            }
        }
        .manual-identity-summary__chev {
            margin-left: auto;
            color: #64748b;
            font-size: 0.8rem;
            transition: transform 0.2s ease;
        }
        .manual-identity-details[open] .manual-identity-summary__chev {
            transform: rotate(180deg);
        }
        .manual-identity-summary:hover {
            background: rgba(255, 255, 255, 0.65);
        }
        .manual-identity-summary:focus {
            outline: none;
        }
        .manual-identity-summary:focus-visible {
            outline: 2px solid #2563eb;
            outline-offset: -2px;
            border-radius: 12px;
        }
        .manual-identity-details__inner {
            padding: 0 16px 16px;
            border-top: 1px solid #e8ecf0;
            background: #fff;
        }
        .manual-identity-hint {
            font-size: 0.82rem;
            color: var(--fypm-muted);
            line-height: 1.45;
            margin: 14px 0 12px 0;
        }
        .manual-identity-row {
            margin-bottom: 0;
        }
        .input-field--text input {
            font-size: 1rem;
            font-weight: 500;
            font-family: inherit;
        }
        .data-panel-desc {
            font-size: 0.88rem;
            color: var(--fypm-muted);
            line-height: 1.55;
            margin: 0;
        }
        .data-panel-desc a {
            color: var(--fypm-accent);
            text-decoration: none;
        }
        .data-panel-desc a:hover { text-decoration: underline; }
        .wssa-way {
            margin-bottom: 18px;
        }
        .wssa-way:last-child {
            margin-bottom: 0;
        }
        .wssa-way-label {
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #1d4ed8;
            margin-bottom: 10px;
        }
        .wssa-bar {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 16px 20px;
            margin-bottom: 0;
        }
        .wssa-bar__actions {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
        }
        .wssa-status {
            font-size: 0.85rem;
            color: var(--fypm-slate);
            min-height: 1.35em;
        }
        .status-msg { display: inline; }
        .status-msg--error { color: var(--fypm-danger); }
        .status-msg--ok { color: var(--fypm-ok); }
        .status-msg--muted { opacity: 0.9; font-size: 0.88em; font-weight: 500; color: var(--fypm-slate); }
        .status-msg-line {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;
            gap: 0.35rem 0.5rem;
            max-width: 100%;
        }
        .wssa-input-group {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #f8fafc;
            padding: 6px 6px 6px 18px;
            border-radius: 48px;
            box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.06);
        }
        .wssa-input-group input {
            border: none;
            background: white;
            padding: 10px 16px;
            border-radius: 40px;
            font-size: 1rem;
            width: 140px;
            border: 1.5px solid #e2e8f0;
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .wssa-input-group input:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
        }
        .wssa-player-row {
            margin-top: 16px;
            padding-top: 14px;
            border-top: 1px solid #e2e8f0;
        }
        .player-tag {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 10px 16px;
            margin-left: 0;
        }
        .player-flag {
            width: 28px;
            height: auto;
            max-height: 21px;
            object-fit: cover;
            border-radius: 3px;
            box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.1);
            flex-shrink: 0;
            vertical-align: middle;
        }
        .wssa-pick-flag-wrap {
            flex-shrink: 0;
            width: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .wssa-pick-flag-wrap--empty { width: 24px; }
        .wssa-pick-flag {
            display: block;
            width: 22px;
            height: auto;
            max-height: 16px;
            object-fit: cover;
            border-radius: 2px;
            box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
        }
        .wssa-pick-name {
            flex: 1 1 auto;
            min-width: 0;
            text-align: left;
            font-weight: 600;
        }
        .player-name-big {
            font-weight: 700;
            font-size: 1.2rem;
            color: var(--fypm-text);
        }
        .player-local {
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--fypm-slate);
        }
        .country-badge {
            background: #eff6ff;
            padding: 4px 14px;
            border-radius: 30px;
            font-size: 0.85rem;
            font-weight: 600;
            color: #2563eb;
        }
        .wssa-search-block {
            margin-top: 0;
            padding-top: 0;
        }
        .wssa-search-bar {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 10px 12px;
            margin-bottom: 8px;
        }
        .wssa-search-bar label {
            font-size: 0.85rem;
            font-weight: 600;
            color: #475569;
        }
        .wssa-search-bar input {
            flex: 1 1 200px;
            min-width: 160px;
            max-width: 360px;
            padding: 10px 14px;
            border: 1.5px solid #e2e8f0;
            border-radius: 40px;
            font-size: 0.95rem;
            outline: none;
            background: #fff;
        }
        .wssa-search-bar input:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
        }
        .wssa-search-hint {
            font-size: 0.75rem;
            color: #94a3b8;
            margin-bottom: 10px;
            line-height: 1.4;
        }
        .wssa-search-hint a { color: #2563eb; text-decoration: none; }
        .wssa-search-hint a:hover { text-decoration: underline; }
        #wssaSearchResultsWrap:not(.is-open) {
            display: none;
        }
        #wssaSearchResultsWrap.is-open {
            display: block;
        }
        .wssa-search-results {
            margin-top: 8px;
            max-height: 220px;
            overflow-y: auto;
            border-radius: 14px;
            border: 1px solid var(--fypm-border);
            background: #fafafa;
        }
        .wssa-search-results:empty { display: none; }
        .wssa-search-results ul { list-style: none; margin: 0; padding: 0; }
        .wssa-search-results li {
            border-bottom: 1px solid #eef2f7;
        }
        .wssa-search-results li:last-child { border-bottom: none; }
        .wssa-pick {
            width: 100%;
            text-align: left;
            padding: 10px 14px;
            border: none;
            background: transparent;
            cursor: pointer;
            font-size: 0.9rem;
            color: #0f172a;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            transition: background 0.15s;
        }
        .wssa-pick:hover { background: #eff6ff; }
        .wssa-pick-id { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: #64748b; flex-shrink: 0; }
        .wssa-search-msg { padding: 12px 14px; font-size: 0.85rem; color: var(--fypm-muted); }
        .wssa-search-msg--error { color: var(--fypm-danger-dark); }
        .result-card {
            background: #ffffff;
            border-radius: 24px;
            padding: 0;
            overflow: hidden;
            box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1), 0 4px 16px rgba(15, 23, 42, 0.06);
            animation: resultFadeIn 0.45s ease-out;
        }
        @keyframes resultFadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .result-inner { padding: 24px 24px 28px; }
        .result-identity-strip {
            margin-bottom: 16px;
            padding-bottom: 14px;
            border-bottom: 1px solid #e2e8f0;
        }
        .result-wssa-id {
            font-size: 0.78rem;
            font-weight: 600;
            color: #64748b;
            font-family: 'JetBrains Mono', monospace;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .result-head {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 10px 16px;
            margin-bottom: 16px;
        }
        .result-meta {
            font-size: 0.78rem;
            color: #94a3b8;
            line-height: 1.4;
        }
        .times-strip {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
            margin-bottom: 20px;
        }
        .time-cell {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 14px;
            padding: 12px 12px 14px;
            min-width: 0;
        }
        .time-cell--anchor {
            border-color: #bfdbfe;
            background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
            box-shadow: 0 1px 0 rgba(37, 99, 235, 0.06);
        }
        .time-label {
            display: block;
            font-size: 0.68rem;
            font-weight: 700;
            color: #64748b;
            margin-bottom: 6px;
            letter-spacing: 0.02em;
        }
        .time-cell--anchor .time-label { color: #2563eb; }
        .time-val {
            font-size: 1.35rem;
            font-weight: 700;
            font-family: 'JetBrains Mono', monospace;
            color: #0f172a;
            line-height: 1.2;
        }
        .time-unit { font-size: 0.8rem; font-weight: 600; color: #94a3b8; margin-left: 2px; }
        .level-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: #eff6ff;
            color: #1e40af;
            padding: 5px 12px;
            border-radius: 999px;
            font-weight: 600;
            font-size: 0.8rem;
            border: 1px solid #bfdbfe;
        }
        .secondary-stats {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px 16px;
            background: #f8fafc;
            padding: 20px 16px;
            border-radius: 20px;
            margin: 0 0 22px;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 4px 20px rgba(15, 23, 42, 0.06);
        }
        @media (min-width: 900px) {
            .secondary-stats {
                grid-template-columns: repeat(4, minmax(11.75rem, 1fr));
            }
        }
        .stat-item {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 6px;
            min-width: 0;
            text-align: left;
        }
        .stat-label {
            display: block;
            font-size: 0.72rem;
            font-weight: 700;
            color: #64748b;
            line-height: 1.3;
            letter-spacing: 0.02em;
        }
        .stat-value {
            display: inline-block;
            font-size: 1.55rem;
            font-weight: 700;
            font-family: 'JetBrains Mono', monospace;
            color: var(--fypm-text);
            line-height: 1.2;
            white-space: nowrap;
        }
        .stat-value--dev-slow { color: var(--fypm-danger); }
        .stat-value--dev-fast { color: var(--fypm-success); }
        .stat-unit { font-size: 0.85rem; font-weight: 600; color: var(--fypm-muted); margin-left: 2px; }
        .analysis-panel {
            background: #f1f5f9;
            border-radius: 18px;
            padding: 20px;
            margin: 0 0 20px;
            box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
            border-left: 4px solid #2563eb;
        }
        .insight-line {
            margin-bottom: 14px;
            font-size: 1rem;
            line-height: 1.55;
        }
        .insight-line:last-child { margin-bottom: 0; }
        .analysis-panel .insight-line > em:first-of-type,
        .deviation-note > em:first-of-type {
            font-style: normal;
            font-weight: 600;
            color: #475569;
        }
        .fypm-weak-line { line-height: 1.6; }
        .insight-head {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px 10px;
            margin-bottom: 6px;
        }
        .type-tag {
            font-size: 0.72rem;
            font-weight: 700;
            padding: 3px 10px;
            border-radius: 999px;
            background: #e0e7ff;
            color: #3730a3;
        }
        .type-tag.pos { background: #dcfce7; color: #166534; }
        .type-tag.neg { background: #fee2e2; color: #991b1b; }
        .type-tag.neu { background: #e2e8f0; color: #475569; }
        .deviation-box {
            background: #fff;
            padding: 12px 14px;
            border-radius: 14px;
            box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
        }
        .deviation-note {
            background: #eaf1fa;
            padding: 14px 18px;
            border-radius: 16px;
            margin: 14px 0 12px;
            line-height: 1.55;
        }
        .training-split {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin-top: 4px;
        }
        .training-box {
            background: #ecfdf5;
            border-radius: 16px;
            padding: 18px;
            box-shadow: 0 4px 16px rgba(22, 163, 74, 0.08);
        }
        .training-box:last-child { background: #fffbeb; box-shadow: 0 4px 16px rgba(217, 119, 6, 0.08); }
        .training-box h4 {
            font-weight: 700;
            margin-bottom: 10px;
            color: #15803d;
        }
        .training-box:last-child h4 { color: #b45309; }
        .donate-above-footer {
            margin-top: 24px;
            display: flex;
            justify-content: center;
        }
        .site-footer {
            margin-top: 14px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 12px 20px;
        }
        .footnote {
            text-align: center;
            margin-top: 0;
            color: #64748b;
            font-size: 0.8rem;
        }
        .donate-trigger {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.8rem;
            font-weight: 600;
            color: #b45309;
            background: #fffbeb;
            border: 1px solid #fde68a;
            border-radius: 999px;
            padding: 6px 14px;
            cursor: pointer;
            font-family: inherit;
            transition: background 0.2s, box-shadow 0.2s;
        }
        .donate-trigger:hover {
            background: #fef3c7;
            box-shadow: 0 2px 8px rgba(217, 119, 6, 0.15);
        }
        .donate-trigger .fas { font-size: 0.85em; opacity: 0.9; }

        .modal-backdrop {
            position: fixed;
            inset: 0;
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px 16px;
            background: rgba(15, 23, 42, 0.45);
            -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
        }
        .modal-backdrop.is-open {
            display: flex;
        }
        .modal-backdrop[hidden] {
            display: none !important;
        }
        body.modal-open {
            overflow: hidden;
        }
        .donate-modal {
            position: relative;
            width: 100%;
            max-width: 520px;
            max-height: min(90vh, 640px);
            overflow-y: auto;
            background: #fff;
            border-radius: 20px;
            padding: 24px 22px 22px;
            box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2), 0 8px 24px rgba(15, 23, 42, 0.1);
        }
        .donate-modal__close {
            position: absolute;
            top: 12px;
            right: 14px;
            width: 40px;
            height: 40px;
            border: none;
            background: transparent;
            font-size: 1.5rem;
            line-height: 1;
            color: var(--fypm-muted);
            cursor: pointer;
            border-radius: 10px;
            transition: background 0.15s, color 0.15s;
        }
        .donate-modal__close:hover {
            background: #f1f5f9;
            color: #0f172a;
        }
        .donate-modal__title {
            font-size: 1.25rem;
            font-weight: 700;
            color: #0f172a;
            margin: 0 36px 12px 0;
            padding-bottom: 10px;
            border-bottom: 1px solid #e2e8f0;
        }
        .donate-modal__lead {
            font-size: 0.9rem;
            line-height: 1.55;
            color: var(--fypm-muted);
            margin-bottom: 16px;
        }
        .donate-strip {
            background: #fff9e6;
            border-left: 4px solid #ffc107;
            border-radius: 14px;
            padding: 14px 16px;
            margin-bottom: 18px;
        }
        .donate-strip__head {
            font-weight: 700;
            color: #92400e;
            font-size: 0.92rem;
            margin-bottom: 8px;
        }
        .donate-strip__head .fas { margin-right: 6px; color: #d97706; }
        .donate-strip__text {
            font-size: 0.85rem;
            line-height: 1.5;
            color: #78350f;
            margin: 0;
        }
        .donate-modal__grid {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            align-items: flex-start;
            justify-content: space-between;
        }
        .donate-dev {
            flex: 1 1 200px;
            min-width: 0;
            font-size: 0.88rem;
            line-height: 1.55;
            color: var(--fypm-text);
        }
        .donate-dev p { margin-bottom: 8px; }
        .donate-dev a { color: var(--fypm-accent); }
        .donate-dev__note {
            font-size: 0.76rem;
            color: var(--fypm-muted-light);
            margin-top: 10px !important;
            margin-bottom: 0 !important;
        }
        .donate-qr-wrap {
            flex: 0 0 auto;
            text-align: center;
        }
        .donate-modal__sub {
            font-size: 0.8rem;
            font-weight: 700;
            color: #2b4c7c;
            margin: 0 0 10px;
            text-align: inherit;
        }
        .donate-qr {
            position: relative;
            width: 168px;
            margin: 0 auto;
        }
        .donate-qr__img {
            display: block;
            width: 160px;
            height: 160px;
            margin: 0 auto;
            border-radius: 12px;
            object-fit: contain;
            background: #fff;
            border: 1px solid #e2e8f0;
        }
        .donate-qr__placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 160px;
            height: 160px;
            margin: 0 auto;
            border: 2px dashed #cbd5e1;
            border-radius: 12px;
            background: #f8fafc;
            padding: 10px;
        }
        .donate-qr__placeholder-inner {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--fypm-muted);
        }
        .donate-qr__hint {
            font-size: 0.65rem;
            line-height: 1.35;
            color: var(--fypm-muted-light);
            text-align: center;
        }
        .donate-qr__hint code {
            font-size: 0.62rem;
            word-break: break-all;
        }
        .result-placeholder {
            text-align: center;
            padding: 40px 24px;
            color: var(--fypm-muted);
        }
        .result-placeholder__icon {
            display: block;
            font-size: 2rem;
            opacity: 0.35;
            margin: 0 auto 12px;
            color: var(--fypm-muted-light);
        }
        .error-message {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            background: #fef2f2;
            color: var(--fypm-danger);
            padding: 22px 24px;
            border-radius: 20px;
            box-shadow: 0 8px 24px rgba(220, 38, 38, 0.12);
        }
        .error-message .fas { flex-shrink: 0; margin-top: 0.15em; }
        .error-message > span { flex: 1; min-width: 0; line-height: 1.5; }
        .footnote .fas { margin-right: 0.35em; opacity: 0.85; color: var(--fypm-muted-light); }

        .share-entry {
            margin-top: 18px;
            text-align: center;
            padding: 16px 12px 4px;
        }
        .share-entry-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 0.92rem;
            font-weight: 600;
            color: var(--fypm-accent);
            text-decoration: none;
            padding: 8px 14px;
            border-radius: 999px;
            border: 1px solid #bfdbfe;
            background: #fff;
            box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
            transition: background 0.2s, box-shadow 0.2s, color 0.2s;
        }
        .share-entry-link:hover {
            background: #eff6ff;
            box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
            text-decoration: none;
        }
        .share-entry-link.share-entry-link--muted {
            color: var(--fypm-muted-light);
            border-color: #e2e8f0;
            background: #f8fafc;
            box-shadow: none;
            pointer-events: none;
            cursor: default;
        }
        .share-entry-hint {
            margin-top: 10px;
            font-size: 0.76rem;
            color: var(--fypm-muted-light);
            line-height: 1.45;
        }
        .loading-dot {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #2563eb;
            animation: pulse 1.2s infinite;
        }
        @keyframes pulse {
            0% { opacity: 0.3; } 50% { opacity: 1; } 100% { opacity: 0.3; }
        }
        .summary-line {
            margin-top: 18px;
            padding-top: 16px;
            border-top: 1px solid #e2e8f0;
            color: #64748b;
            font-size: 0.9rem;
        }
        @media (max-width: 640px) {
            .donate-modal__grid { flex-direction: column; align-items: stretch; }
            .donate-qr-wrap { align-self: center; }
            .card { padding: 20px 16px; }
            .secondary-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .training-split { grid-template-columns: 1fr; }
            .wssa-bar { flex-direction: column; align-items: stretch; }
            .player-tag { margin-left: 0; }
            .times-strip { gap: 8px; }
            .time-val { font-size: 1.15rem; }
        }
