/* ==========================================================================
   FirstLook polish layer
   Loaded last on every user-facing page, so these refinements sit on top of
   each page's own styles. Same terminal look (JetBrains Mono, black/white
   with the brand blue and coral) - just more refined and consistent.
   ========================================================================== */

:root {
    --fl-blue: #1F75FE;
    --fl-blue-bright: #4d9fff;
    --fl-coral: #fd506f;
    --fl-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Page-to-page transitions: a quick crossfade between pages instead of a
   hard cut. Browsers without cross-document view transitions simply
   navigate as before.
   -------------------------------------------------------------------------- */
@view-transition {
    navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.3s;
    animation-timing-function: var(--fl-ease);
}

@media (prefers-reduced-motion: reduce) {
    @view-transition {
        navigation: none;
    }
}

/* --------------------------------------------------------------------------
   Top bar: LOGOUT (left) and BACK / HOME (right)
   Slimmer and quieter: hairline borders, soft depth instead of neon glow,
   tracked uppercase labels. LOGOUT keeps the brand coral in both themes.
   -------------------------------------------------------------------------- */
html body .back-button[data-action="handleLogoutClick"],
html body .home-button {
    /* (display is left to each page: some hide these buttons from script) */
    min-width: 84px !important;
    height: 36px !important;
    padding: 0 16px !important;
    line-height: 33px !important;
    text-align: center !important;
    border-width: 1.5px !important;
    border-style: solid !important;
    border-radius: 10px !important;
    font-family: 'JetBrains Mono', 'Courier New', Courier, monospace !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
                box-shadow 0.2s ease, transform 0.2s var(--fl-ease),
                opacity 0.3s ease !important;
}

/* Dark theme */
html.theme-dark body .back-button[data-action="handleLogoutClick"] {
    background: rgba(253, 80, 111, 0.08) !important;
    border-color: rgba(253, 80, 111, 0.55) !important;
    color: #ff6b86 !important;
    box-shadow: 0 0 14px rgba(253, 80, 111, 0.16), 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

html.theme-dark body .home-button {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.38) !important;
    color: #f0f0f0 !important;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.07), 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

/* Light theme */
html.theme-light body .back-button[data-action="handleLogoutClick"] {
    background: rgba(253, 80, 111, 0.06) !important;
    border-color: rgba(226, 61, 92, 0.5) !important;
    color: #e23d5c !important;
    box-shadow: 0 2px 10px rgba(253, 80, 111, 0.12) !important;
}

html.theme-light body .home-button {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.16) !important;
    color: #111111 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07) !important;
}

/* Hover (pointer devices) and press */
@media (hover: hover) {
    html body .back-button[data-action="handleLogoutClick"]:hover {
        background: var(--fl-coral) !important;
        border-color: var(--fl-coral) !important;
        color: #ffffff !important;
        box-shadow: 0 6px 20px rgba(253, 80, 111, 0.35) !important;
        transform: translateY(-1px) !important;
    }

    html.theme-dark body .home-button:hover {
        background: #f0f0f0 !important;
        border-color: #f0f0f0 !important;
        color: #000000 !important;
        box-shadow: 0 6px 20px rgba(255, 255, 255, 0.18) !important;
        transform: translateY(-1px) !important;
    }

    html.theme-light body .home-button:hover {
        background: #111111 !important;
        border-color: #111111 !important;
        color: #ffffff !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18) !important;
        transform: translateY(-1px) !important;
    }
}

html body .back-button[data-action="handleLogoutClick"]:active,
html body .home-button:active {
    transform: scale(0.96) !important;
}

/* --------------------------------------------------------------------------
   Page titles: one voice across the app - uppercase, tracked and bold, with
   a short coral-to-blue rule underneath
   -------------------------------------------------------------------------- */
html body .goal-content-text,
html body .match-start-title,
html body .content-container > .content-text,
html body .settings-page > h2,
html body .stats-page > h2,
html body .report-page > h2,
html body .contact-page > h2,
html body #emailInputPage > h2,
html body #verificationPage > h2 {
    font-family: 'JetBrains Mono', 'Courier New', Courier, monospace !important;
    font-size: clamp(1.05rem, 4.2vw, 1.4rem) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    line-height: 1.35 !important;
}

html.theme-dark body .goal-content-text,
html.theme-dark body .match-start-title,
html.theme-dark body .content-container > .content-text,
html.theme-dark body .settings-page > h2,
html.theme-dark body .stats-page > h2,
html.theme-dark body .report-page > h2,
html.theme-dark body .contact-page > h2,
html.theme-dark body #emailInputPage > h2,
html.theme-dark body #verificationPage > h2 {
    color: #f4f4f4 !important;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.16) !important;
}

html.theme-light body .goal-content-text,
html.theme-light body .match-start-title,
html.theme-light body .content-container > .content-text,
html.theme-light body .settings-page > h2,
html.theme-light body .stats-page > h2,
html.theme-light body .report-page > h2,
html.theme-light body .contact-page > h2,
html.theme-light body #emailInputPage > h2,
html.theme-light body #verificationPage > h2 {
    color: #111111 !important;
    text-shadow: none !important;
}

html body .goal-content-text::after,
html body .match-start-title::after,
html body .content-container > .content-text::after,
html body .stats-page > h2::after,
html body #emailInputPage > h2::after,
html body #verificationPage > h2::after,
html body .settings-page > h2::after,
html body .report-page > h2::after,
html body .contact-page > h2::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    margin: 12px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--fl-coral), var(--fl-blue-bright));
}

/* Left-aligned titles keep their rule on the left */
html body .settings-page > h2::after,
html body .report-page > h2::after,
html body .contact-page > h2::after {
    margin: 12px 0 0;
}

/* The results/requests/messages title is a flex row: hang its rule below */
html body .content-container > .content-text::after {
    position: absolute;
    left: 50%;
    bottom: -14px;
    margin: 0;
    transform: translateX(-50%);
}

/* "Choose your path" sat against the very top edge */
html body .match-start-header {
    padding-top: calc(env(safe-area-inset-top, 0px) + 36px) !important;
}

/* --------------------------------------------------------------------------
   Dashboard: greeting card
   A raised glass card with a hairline coral-to-blue accent (it was a faint
   inset panel with a backdrop blur re-rendered over the animated background
   on every frame)
   -------------------------------------------------------------------------- */
html body #user-dashboard .welcome-message {
    border-radius: 20px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    line-height: 1.55 !important;
}

html body #user-dashboard .welcome-message::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    width: 44px;
    height: 2px;
    border-radius: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--fl-coral), var(--fl-blue-bright));
    pointer-events: none;
}

html.theme-dark body #user-dashboard .welcome-message {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.11) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 14px 36px rgba(0, 0, 0, 0.5) !important;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.22) !important;
}

html.theme-light body #user-dashboard .welcome-message {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: inset 0 1px 0 #ffffff, 0 12px 32px rgba(0, 0, 0, 0.08) !important;
}

/* --------------------------------------------------------------------------
   Dashboard: settings and messages icons sit in glass discs that match the
   centre pill (icon centres stay exactly where they were)
   -------------------------------------------------------------------------- */
html body #user-dashboard .settings-icon,
html body #user-dashboard .message-icon {
    padding: 12px !important;
    bottom: 47px !important;
    border-radius: 50% !important;
    line-height: 0 !important;
    transition: transform 0.2s var(--fl-ease), box-shadow 0.2s ease, border-color 0.2s ease;
}

html body #user-dashboard .settings-icon { left: 47px !important; }
html body #user-dashboard .message-icon { right: 47px !important; }

@media (max-width: 600px) {
    html body #user-dashboard .settings-icon,
    html body #user-dashboard .message-icon {
        padding: 10px !important;
        bottom: 24px !important;
    }

    html body #user-dashboard .settings-icon { left: 24px !important; }
    html body #user-dashboard .message-icon { right: 24px !important; }
}

html.theme-dark body #user-dashboard .settings-icon,
html.theme-dark body #user-dashboard .message-icon {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 8px 22px rgba(0, 0, 0, 0.5);
}

html.theme-light body #user-dashboard .settings-icon,
html.theme-light body #user-dashboard .message-icon {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

html body #user-dashboard .settings-icon:active,
html body #user-dashboard .message-icon:active {
    transform: scale(0.94);
}

/* Dashboard, light theme: the sunset reveal as a gentle wash rather than a
   saturated, streaky band behind the buttons */
html.theme-light body #background-images-layer {
    --bg-opacity: 0.3 !important;
    filter: saturate(1.05) brightness(1.04) !important;
}

/* --------------------------------------------------------------------------
   Messages cards: DETAILS is a coral button, so its breathing ring glows
   coral too (it glowed blue, which muddied both themes); OPEN CHAT / NEW
   MESSAGE gets the same corner radius as DETAILS
   -------------------------------------------------------------------------- */
html body .details-button.active-chat-button {
    --active-glow-rgb: 253, 80, 111;
}

html body .photo-tile .clickable-timer {
    border-radius: 12px !important;
}

/* --------------------------------------------------------------------------
   Category tiles: a crisp dark label strip with hairlines instead of a
   blurred white band (the blur smeared the artwork behind the label)
   -------------------------------------------------------------------------- */
html body .goal-tile:not(.selected) .goal-tile-label {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.5) 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55) !important;
    letter-spacing: 0.14em !important;
    font-weight: 700 !important;
    filter: none !important;
}

@media (hover: hover) {
    html body .goal-tile:not(.selected):hover .goal-tile-label {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.6) 100%) !important;
    }
}

/* --------------------------------------------------------------------------
   Empty screens (no requests / no conversations / session ended / billing):
   a slow radar pulse behind the logo - blue and coral rings, transform and
   opacity only - with the title in the same voice as the page titles
   -------------------------------------------------------------------------- */
html body .empty-state-icon {
    position: relative;
    isolation: isolate;
}

html body .empty-state-icon::before,
html body .empty-state-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(77, 159, 255, 0.5);
    opacity: 0;
    transform: scale(0.7);
    animation: flEmptyRadar 4.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
    pointer-events: none;
    z-index: -1;
}

html body .empty-state-icon::after {
    border-color: rgba(253, 80, 111, 0.45);
    animation-delay: 2.4s;
}

html.theme-light body .empty-state-icon::before {
    border-color: rgba(31, 117, 254, 0.45);
}

@keyframes flEmptyRadar {
    0%   { opacity: 0; transform: scale(0.7); }
    15%  { opacity: 1; }
    100% { opacity: 0; transform: scale(1.9); }
}

html body .empty-state-text {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 10px !important;
}

html body .empty-state-subtext {
    max-width: 30ch;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.6 !important;
    opacity: 0.72;
}

/* --------------------------------------------------------------------------
   Form fields: a clear, refined focus state - the line lights up in the
   brand blue with a soft glow beneath (same shapes as before)
   -------------------------------------------------------------------------- */
html body .terminal-input,
html body .terminal-select,
html body .terminal-textarea,
html body .college-email-input,
html body .code-square {
    transition: border-color 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease !important;
}

/* (classes doubled to outrank the pages' own .terminal-container rules) */
html.theme-dark body .terminal-input.terminal-input:focus,
html.theme-dark body .terminal-select.terminal-select:focus,
html.theme-dark body .terminal-textarea.terminal-textarea:focus,
html.theme-dark body .college-email-input.college-email-input:focus {
    outline: none !important;
    border-color: var(--fl-blue-bright) !important;
    border-bottom-color: var(--fl-blue-bright) !important;
    box-shadow: 0 10px 22px -12px rgba(77, 159, 255, 0.75) !important;
}

html.theme-light body .terminal-input.terminal-input:focus,
html.theme-light body .terminal-select.terminal-select:focus,
html.theme-light body .terminal-textarea.terminal-textarea:focus,
html.theme-light body .college-email-input.college-email-input:focus {
    outline: none !important;
    border-color: var(--fl-blue) !important;
    border-bottom-color: var(--fl-blue) !important;
    box-shadow: 0 10px 22px -12px rgba(31, 117, 254, 0.55) !important;
}

/* Verification code boxes */
html.theme-dark body .code-square.code-square:focus {
    outline: none !important;
    border-color: var(--fl-blue-bright) !important;
    box-shadow: 0 0 0 3px rgba(77, 159, 255, 0.18), 0 0 18px rgba(77, 159, 255, 0.35) !important;
}

html.theme-light body .code-square.code-square:focus {
    outline: none !important;
    border-color: var(--fl-blue) !important;
    box-shadow: 0 0 0 3px rgba(31, 117, 254, 0.14), 0 0 16px rgba(31, 117, 254, 0.25) !important;
}

/* --------------------------------------------------------------------------
   Account flows (login, forgot password, change password / email / number):
   messages float just below their step, so the form doesn't jump when one
   appears or goes
   -------------------------------------------------------------------------- */
#loginSection,
.phone-entry-section,
.verification-section,
.password-reset-section,
.email-change-section,
.confirmation-section {
    position: relative;
}

#loginSection > :is(.error-message, .success-message),
.phone-entry-section > :is(.error-message, .success-message),
.verification-section > :is(.error-message, .success-message),
.password-reset-section > :is(.error-message, .success-message),
.email-change-section > :is(.error-message, .success-message),
.confirmation-section > :is(.error-message, .success-message) {
    position: absolute !important;
    top: 100%;
    left: 50%;
    width: max-content;
    max-width: min(520px, calc(100vw - 40px));
    margin: 4px 0 0 !important;
    transform: translateX(-50%);
    z-index: 5;
    animation: flMessageIn 0.25s ease-out backwards;
}

@keyframes flMessageIn {
    from { opacity: 0; transform: translate(-50%, -6px); }
}

/* On phones the BACK and main buttons sit side by side, main action on the
   right - as in sign-up and login (these steps stacked them, BACK first) */
@media (max-width: 768px) {
    .phone-entry-section .action-buttons,
    .password-reset-section .action-buttons,
    .email-change-section .action-buttons,
    .confirmation-section .action-buttons {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .phone-entry-section .action-buttons .terminal-button,
    .password-reset-section .action-buttons .terminal-button,
    .email-change-section .action-buttons .terminal-button,
    .confirmation-section .action-buttons .terminal-button {
        width: 100%;
        max-width: 200px;
        min-width: 120px;
        flex: 1;
        padding-left: 10px;
        padding-right: 10px;
        white-space: nowrap;
    }
}

/* --------------------------------------------------------------------------
   Dropdowns that showed no arrow: contact reason, report issue type,
   settings notification method
   -------------------------------------------------------------------------- */
html body #contactCategory,
html body #reportCategory,
html body #notificationPreference {
    -webkit-appearance: none !important;
    appearance: none !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px 12px !important;
    padding-right: 36px !important;
}

html.theme-dark body #contactCategory,
html.theme-dark body #reportCategory,
html.theme-dark body #notificationPreference {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23f0f0f0' viewBox='0 0 16 16'%3e%3cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e") !important;
}

html.theme-light body #contactCategory,
html.theme-light body #reportCategory,
html.theme-light body #notificationPreference {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%231F75FE' viewBox='0 0 16 16'%3e%3cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e") !important;
}

/* --------------------------------------------------------------------------
   Account deletion: once confirmed, DELETE looks like what it does - the
   brand coral, like LOGOUT - instead of the everyday blue
   -------------------------------------------------------------------------- */
html body .delete-button.ready-to-delete {
    background: linear-gradient(168deg, rgba(253, 80, 111, 0.3) 0%, rgba(232, 62, 94, 0.2) 50%, rgba(253, 80, 111, 0.28) 100%) !important;
    border-color: #fd506f !important;
    color: #ff6b86 !important;
    box-shadow: 0 0 0 1px rgba(253, 80, 111, 0.35), 0 6px 24px rgba(253, 80, 111, 0.28) !important;
    text-shadow: none !important;
}

html.theme-light body .delete-button.ready-to-delete {
    background: rgba(253, 80, 111, 0.08) !important;
    border-color: #e23d5c !important;
    color: #e23d5c !important;
    box-shadow: 0 4px 16px rgba(253, 80, 111, 0.22) !important;
}

html body .delete-button.ready-to-delete:hover,
html body .delete-button.ready-to-delete:focus-visible {
    background: var(--fl-coral) !important;
    border-color: var(--fl-coral) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 26px rgba(253, 80, 111, 0.4) !important;
}

/* --------------------------------------------------------------------------
   A soft fade under the fixed top bar, so content scrolling beneath it
   doesn't run into LOGOUT and BACK (pages whose bar sits directly in <body>:
   settings, billing, report, report e-mail, profile stats)
   -------------------------------------------------------------------------- */
body:has(> .home-button)::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: calc(env(safe-area-inset-top, 0px) + 66px);
    pointer-events: none;
    z-index: 1099;
}

html.theme-dark body:has(> .home-button)::after {
    background: linear-gradient(to bottom, #000000 0%, #000000 50%, rgba(0, 0, 0, 0.8) 72%, rgba(0, 0, 0, 0) 100%);
}

html.theme-light body:has(> .home-button)::after {
    background: linear-gradient(to bottom, #f8f8f8 0%, #f8f8f8 50%, rgba(248, 248, 248, 0.82) 72%, rgba(248, 248, 248, 0) 100%);
}

/* --------------------------------------------------------------------------
   Deep analysis report (js/analysis_report.js) on match results, requests
   and messages: the site's type at a comfortable measure, section titles
   with the coral-to-blue rule, numbered points as soft cards
   -------------------------------------------------------------------------- */
html body #deepAnalysisContent .fl-report {
    max-width: 640px;
    margin: 0 auto;
    padding: 6px 22px 56px;
    text-align: left;
    font-family: 'JetBrains Mono', 'Courier New', Courier, monospace !important;
    font-size: 14.5px !important;
    line-height: 1.75 !important;
    color: #d9d9de !important;
}

html body #deepAnalysisContent .fl-report h2 {
    margin: 32px 0 14px !important;
    padding: 0 0 11px !important;
    border: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase;
    text-shadow: none !important;
    color: #4d9fff !important;
    background: linear-gradient(90deg, #fd506f, #4d9fff) left bottom / 36px 2px no-repeat !important;
}

html body #deepAnalysisContent .fl-report h2:first-child {
    margin-top: 12px !important;
}

html body #deepAnalysisContent .fl-report h3 {
    margin: 24px 0 8px !important;
    padding: 0 !important;
    border: none !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-shadow: none !important;
    color: #f0f0f0 !important;
}

html body #deepAnalysisContent .fl-report p {
    margin: 0 0 14px !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
}

html body #deepAnalysisContent .fl-report strong,
html body #deepAnalysisContent .fl-report-item-title {
    font-weight: 700 !important;
    color: #ffffff !important;
}

html body #deepAnalysisContent .fl-report-list {
    margin: 4px 0 20px !important;
    padding: 0 !important;
    list-style: none !important;
}

html body #deepAnalysisContent .fl-report ol > li {
    position: relative;
    display: block;
    margin: 0 0 10px !important;
    padding: 13px 15px 13px 50px !important;
    border-radius: 12px;
    background: rgba(77, 159, 255, 0.06) !important;
    border: 1px solid rgba(77, 159, 255, 0.16) !important;
    color: inherit !important;
}

html body #deepAnalysisContent .fl-report ol > li > div {
    color: inherit !important;
}

html body #deepAnalysisContent .fl-report-n {
    position: absolute;
    left: 14px;
    top: 14px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #fd506f, #4d9fff);
}

html body #deepAnalysisContent .fl-report-item-title {
    display: block;
    margin-bottom: 2px;
}

html body #deepAnalysisContent .fl-report-item-text {
    display: block;
    color: inherit !important;
}

html body #deepAnalysisContent .fl-report ul > li {
    position: relative;
    margin: 0 0 8px !important;
    padding: 0 0 0 20px !important;
    color: inherit !important;
}

html body #deepAnalysisContent .fl-report ul > li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fd506f;
}

html.theme-light body #deepAnalysisContent .fl-report,
html.theme-light body #deepAnalysisContent .fl-report p,
html.theme-light body #deepAnalysisContent .fl-report li,
html.theme-light body #deepAnalysisContent .fl-report div,
html.theme-light body #deepAnalysisContent .fl-report-item-text {
    color: #2b2b30 !important;
}

html.theme-light body #deepAnalysisContent .fl-report h2 {
    color: #1F75FE !important;
    background-image: linear-gradient(90deg, #fd506f, #1F75FE) !important;
}

html.theme-light body #deepAnalysisContent .fl-report h3,
html.theme-light body #deepAnalysisContent .fl-report strong,
html.theme-light body #deepAnalysisContent .fl-report-item-title {
    color: #000000 !important;
}

html.theme-light body #deepAnalysisContent .fl-report ol > li {
    background: rgba(31, 117, 254, 0.05) !important;
    border-color: rgba(31, 117, 254, 0.16) !important;
}

html.theme-light body #deepAnalysisContent .fl-report-n {
    color: #ffffff !important;
    background: linear-gradient(135deg, #fd506f, #1F75FE);
}

/* --------------------------------------------------------------------------
   'View photo full size' on a match's photo (match results, requests,
   messages): a frosted chip with white corners and one coral corner,
   legible on light and dark photos alike
   -------------------------------------------------------------------------- */
html body .fullscreen-icon,
html body .photo-tile-landscape .fullscreen-icon,
html body .photo-tile-landscape .tile-photo-area::before {
    width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
    background: rgba(0, 0, 0, 0.36) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9V5.5A1.5 1.5 0 0 1 5.5 4H9' stroke='white'/%3E%3Cpath d='M15 4h3.5A1.5 1.5 0 0 1 20 5.5V9' stroke='%23fd506f'/%3E%3Cpath d='M20 15v3.5a1.5 1.5 0 0 1-1.5 1.5H15' stroke='white'/%3E%3Cpath d='M9 20H5.5A1.5 1.5 0 0 1 4 18.5V15' stroke='white'/%3E%3C/svg%3E") center / 18px 18px no-repeat !important;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 2px 8px rgba(0, 0, 0, 0.25) !important;
    opacity: 0.92 !important;
}

@media (hover: hover) {
    html body .fullscreen-icon:hover {
        opacity: 1 !important;
        background-color: rgba(0, 0, 0, 0.5) !important;
    }
}
