.tips-page-editor-section {
    padding-top: 0;
    padding-bottom: 3rem;
    margin-top: 0;
    margin-bottom: 3rem;
}

.aces-sports-tips {
    font-family: inherit;
    background-color: #f5f7fb;
    color: #1f2737;
    min-height: 100vh;
    scroll-behavior: smooth;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    box-sizing: border-box;
    position: relative;
}

.aces-sports-tips a {
    color: #1d4ed8;
    text-decoration: none;
}

.aces-sports-tips a:hover,
.aces-sports-tips a:focus {
    color: #153bbd;
}

.tips-hero {
    background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%);
    padding: 3rem 1.5rem 2.2rem;
    text-align: center;
    border-bottom: 1px solid #dbe4f3;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.tips-hero__content {
    margin: 0 auto;
    max-width: 920px;
}

.tips-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #ffffff !important;
}

.tips-hero__lead {
    font-size: clamp(1rem, 2.4vw, 1.35rem);
    margin: 0 auto 0.5rem;
    color: rgba(17, 24, 39, 0.75);
}

.tips-hero__meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    font-size: 0.95rem;
    color: rgba(17, 24, 39, 0.65);
}

.tips-hero__social {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    align-items: center;
}

.tips-hero__social-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(17, 24, 39, 0.65);
    font-weight: 600;
}

.tips-hero__social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tips-hero__social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.15);
    background: #ffffff;
    color: #111827;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.tips-hero__social-link:hover,
.tips-hero__social-link:focus {
    border-color: #1d4ed8;
    box-shadow: 0 6px 18px rgba(29, 78, 216, 0.15);
    transform: translateY(-1px);
    color: #0f172a;
}

.tips-hero__social-handle {
    font-weight: 500;
    color: rgba(17, 24, 39, 0.75);
}

.tips-hero--with-image .tips-hero__social-label {
    color: rgba(255, 255, 255, 0.85);
}

.tips-hero--with-image .tips-hero__social-link {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.tips-hero--with-image .tips-hero__social-link:hover,
.tips-hero--with-image .tips-hero__social-link:focus {
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.tips-hero--with-image .tips-hero__social-handle {
    color: rgba(255, 255, 255, 0.85);
}

/* X Follow Button Embed */
.tips-hero__x-follow-button {
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
}

.tips-hero__x-follow-button .twitter-follow-button {
    display: inline-block;
}

/* Hero image shown on the tips landing page when the page has a featured image */
.tips-hero__image {
    max-width: 75em;
    margin: 0 auto 1.25rem;
    border-radius: 12px;
    overflow: hidden;
}

.tips-hero__image-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

@media (max-width: 42em) {
    .tips-hero__image-img {
        height: 180px;
    }
}

/* Full-width hero with featured image overlay */
.tips-hero--with-image {
    position: relative;
    overflow: visible;
    /* let the image stretch edge-to-edge while keeping content centered */
    display: flex;
    align-items: center;
    padding: 0; /* spacing will be handled by .tips-hero__content */
    min-height: 360px;
    /* Match the main page background so no contrasting band shows behind the image */
    background-color: #f5f7fb;
    border-bottom: none;
    /* space under the hero so the next section doesn't butt up against the image */
    padding-bottom: 2rem;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.tips-hero--with-image .tips-hero__image {
    position: absolute;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    top: 0;
    width: 100vw;
    height: 360px;
    z-index: var(--zindex-level-0, 0);
    overflow: hidden;
}

.tips-hero--with-image .tips-hero__image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tips-hero__image {
    position: absolute;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    top: 0;
    width: 100vw;
    height: 360px;
    z-index: var(--zindex-level-0, 0);
    overflow: hidden;
}

.tips-hero__overlay {
    /* overlay is now placed INSIDE .tips-hero__image so it can just cover
       the image via inset:0 without needing viewport width math */
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: var(--zindex-level-1, 1);
    pointer-events: none;
}

.tips-hero--with-image .tips-hero__content {
    position: relative;
    z-index: var(--zindex-level-2, 2);
    color: #ffffff;
    padding: 3rem 1.5rem;
    width: 100%;
}

.tips-hero--with-image .tips-hero__title,
.tips-hero--with-image .tips-hero__lead,
.tips-hero--with-image .tips-meta__item {
    color: #ffffff;
}

@media (max-width: 62em) {
    .tips-hero--with-image {
        min-height: 220px;
        padding-top: 0;
    }
    .tips-hero--with-image .tips-hero__image {
        height: 220px;
    }
    .tips-hero--with-image .tips-hero__content {
        padding: 1.25rem 0;
        position: relative;
        top: -20px;
    }
    .tips-hero__overlay { inset: 0; }
}

@media (min-width: 62em) {
    .tips-hero--with-image {
        min-height: 400px;
        padding-top: 1.5rem;
        padding-bottom: 3rem;
    }
    
    .tips-hero--with-image .tips-hero__image {
        top: 1.5rem;
        height: 340px;
    }
}

.tips-kickoff-note {
    text-align: center;
    margin-top: 0.25rem;
    color: rgba(17,24,39,0.65);
    font-size: 0.75rem;
}

.tips-kickoff-note small {
    font-size: 0.7rem;
    font-weight: 500;
}


.tips-meta__item--success {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-pill, 999px);
    background: rgba(37, 99, 235, 0.5);
    color: #1d4ed8;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tips-hero__success-rate {
    display: inline-flex;
    align-items: baseline;
    gap: 0.45rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--border-radius-pill, 999px);
    background: rgba(29, 78, 216, 0.12);
    border: 1px solid rgba(29, 78, 216, 0.25);
}

.tips-hero__success-rate-label {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(29, 78, 216, 0.78);
}

.tips-hero__success-rate-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1d4ed8;
}

.tips-hero__success-rate-meta {
    font-size: 0.75rem;
    color: rgba(29, 78, 216, 0.7);
}

.tips-meta__item strong {
    font-size: 1.35rem;
    font-weight: 700;
    margin-right: 0.25rem;
    color: #111827;
}

.tips-meta__item--matches {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--border-radius-pill, 999px);
    background: rgba(37, 109, 253, 0.12);
    color: #1d4ed8;
    font-weight: 600;
}

.tips-collection {
    --tips-carousel-fade-rgb: 238, 242, 255;
    --tips-carousel-fade-opaque: rgba(var(--tips-carousel-fade-rgb), 1);
    --tips-carousel-fade-soft: rgba(var(--tips-carousel-fade-rgb), 0.95);
    --tips-side-padding: 2.5rem;
    padding: 1rem var(--tips-side-padding) 2.75rem;
    margin: 0 auto;
    max-width: 75em;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

#tips-results {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 100px;
}


.tips-filters {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    margin: 0.25rem 0 0.75rem;
    width: 100%;
    flex-wrap: wrap;
    padding-left: 0;
    padding-right: 0;
    justify-content: space-evenly;
}

.tips-filter__tab {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: var(--border-radius-pill, 999px);
    background: #ffffff;
    border: 1px solid #dbe4f3;
    color: #1f2737;
    font-weight: 600;
    font-size: 0.8rem;
    height: 2.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
    overflow: visible;
}

.tips-filter__tab-content {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.tips-filter__tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #eef2ff;
    overflow: hidden;
}

.tips-filter__tab-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.tips-filter__tab-label {
    line-height: 1;
}

.tips-filter__tab:not(.tips-filter__tab--active):hover,
.tips-filter__tab:not(.tips-filter__tab--active):focus {
    background: rgba(29, 78, 216, 0.08);
    border-color: rgba(29, 78, 216, 0.28);
    color: #153bbd;
    transform: translateY(-1px);
}

.tips-filter__tab--active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(19, 168, 255, 0.9));
    color: #ffffff;
    border-color: transparent;
    pointer-events: none;
}

.tips-filter__tab--active,
.tips-filter__tab--active:visited,
.tips-filter__tab--active:hover,
.tips-filter__tab--active:focus {
    color: #ffffff;
}

.tips-filter__tab--active .tips-filter__tab-icon {
    background: rgba(255, 255, 255, 0.2);
}
.tips-filters__form {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 1 1 280px;
    min-width: 220px;
    margin: 0;
    max-width: 100%;
    flex-wrap: wrap;
}

/* Layout improvements: make the overall filters container behave as a controlled flex row
   with predictable wrapping. Grouped forms will keep their internal alignment while
   allowing the search to take remaining space. */
.tips-filters {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Ensure each form is treated as a flex item with sensible min/max sizing. */
.tips-filters > .tips-filters__form {
    min-width: 0; /* allow children to shrink on narrow screens */
}

.tips-filters__form--sport {
    flex: 1 1 0;
    display: none !important;
}

.tips-filters__form--league {
    display: none !important;
}

.tips-filters__form--league:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.06);
    border-color: rgba(37, 99, 235, 0.3);
}

.tips-filters__form--date {
    flex: 0 1 auto;
    min-width: 0;
}

.tips-filters__form--search {
    display: none !important;
    flex: 1 1 260px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    border-radius: 12px;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 1px 4px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
    min-width: 0;
    min-height: 3.5rem;
    box-sizing: border-box;
}

.tips-filters__form--search:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.06);
    border-color: rgba(37, 99, 235, 0.3);
}

/* Make reset button occupy only its intrinsic size and stay vertically centered */
.tips-filters__form--reset {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-left: auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    border-radius: 12px;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 1px 4px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.tips-filters__form--reset:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.06);
    border-color: rgba(37, 99, 235, 0.3);
}

/* Ensure selects keep a compact footprint unless allowed to grow */
.tips-filters__form--league,
.tips-filters__form--sport {
    flex: 0 0 auto;
}

.tips-filters__form--date {
    flex: 1 1 auto;
    min-width: 0;
}

.tips-filters__loading {
    display: none;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1d4ed8;
    letter-spacing: 0.05em;
}

.tips-filters__loading::before {
    content: '';
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.25);
    border-top-color: #1d4ed8;
    animation: tips-inline-spin 0.8s linear infinite;
}

.tips-filters--loading .tips-filters__loading {
    display: inline-flex;
}

.tips-date-picker {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    border-radius: 12px;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 1px 4px rgba(15, 23, 42, 0.04);
    min-width: 0;
    width: 100%;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    flex-wrap: wrap;
}

.tips-date-picker:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.06);
    border-color: rgba(37, 99, 235, 0.3);
}

.tips-date-picker__wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
    width: 100%;
}

.tips-date-picker__days {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.tips-date-picker__input-wrapper {
    display: none !important;
}

.tips-date-picker__input-wrapper:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.tips-date-picker__input-wrapper:active {
    transform: scale(0.98);
}

.tips-date-picker__input-wrapper:focus-within {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12), inset 0 1px 2px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.tips-date-picker__icon {
    width: 1rem;
    height: 1rem;
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.tips-date-picker__icon svg {
    width: 100%;
    height: 100%;
}

.tips-date-picker__input {
    flex: 1;
    border: none;
    background: transparent;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0;
    outline: none;
    cursor: pointer;
    min-width: 0;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.tips-date-picker__input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 3;
    pointer-events: auto;
}

/* Ensure the input can receive clicks even with the overlay */
.tips-date-picker__input-wrapper * {
    pointer-events: auto;
}

.tips-date-picker__input::-webkit-datetime-edit {
    color: #0f172a;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.tips-date-picker__input::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

.tips-date-picker__input::-webkit-datetime-edit-text {
    color: #0f172a;
}

.tips-date-picker__input::-webkit-inner-spin-button,
.tips-date-picker__input::-webkit-clear-button {
    display: none;
}

.tips-date-picker__shortcuts {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.tips-date-picker__chip {
    border: 1px solid rgba(37, 99, 235, 0.28);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    color: rgba(15, 23, 42, 0.75);
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
    white-space: nowrap;
    flex-shrink: 0;
}

.tips-date-picker__chip--date {
    min-width: 2.5rem;
    text-align: center;
}

.tips-date-picker__chip:hover,
.tips-date-picker__chip:focus-visible {
    border-color: rgba(37, 99, 235, 0.5);
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.18);
    transform: translateY(-1px);
}

.tips-date-picker__chip:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), 0 4px 12px rgba(59, 130, 246, 0.18);
}

.tips-date-picker__chip--active {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4), 0 2px 8px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

.tips-date-picker__chip--active:hover,
.tips-date-picker__chip--active:focus-visible {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45), 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.tips-date-picker .tips-filters__reset {
    width: auto;
    min-height: auto;
    height: auto;
    padding: 0.4rem 0.85rem;
    margin-left: auto;
    border-radius: 999px;
}

.tips-filters__label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(17, 24, 39, 0.55);
    white-space: nowrap;
}

.tips-league-picker {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.tips-league-picker__header {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-right: 0.75rem;
    border-right: 1px solid rgba(37, 99, 235, 0.15);
    min-width: 100px;
    flex-shrink: 0;
}

.tips-league-picker__label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.5);
    line-height: 1;
}

.tips-league-picker__value {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
}

.tips-league-picker__wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
}

.tips-filters__select {
    min-width: unset;
    width: auto;
    padding: 0.5rem 0.75rem;
    padding-right: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(37, 99, 235, 0.25);
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.85rem;
    height: auto;
    min-height: 2.2rem;
    letter-spacing: 0.028em;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(29, 78, 216, 0.6) 50%), linear-gradient(135deg, rgba(29, 78, 216, 0.6) 50%, transparent 50%);
    background-position: calc(100% - 12px) calc(1em + 2px), calc(100% - 7px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 4px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
    flex: 0 1 auto;
    min-width: 160px;
    overflow: visible;
}

.tips-filters__input {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.75rem;
    padding-left: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(37, 99, 235, 0.25);
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.85rem;
    height: auto;
    min-height: 2.2rem;
    letter-spacing: 0.04em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 4px rgba(15, 23, 42, 0.04);
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="%231d4ed8"%3E%3Ccircle cx="11" cy="11" r="7"/%3E%3Cpath stroke-linecap="round" stroke-linejoin="round" d="M20 20l-3.5-3.5"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: 12px 50%;
    background-size: 16px 16px;
}

.tips-filters__input::placeholder {
    color: rgba(15, 23, 42, 0.45);
    font-weight: 500;
}

.tips-filters__input:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.tips-filters__input:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12), inset 0 1px 2px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.06);
}

/* Make the search input match the visual size of the date picker chips */
.tips-filters__form--search .tips-filters__input {
    height: auto;
    min-height: 1.8rem;
    padding: 0.4rem 0.75rem;
    padding-left: 2.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    box-sizing: border-box;
    line-height: 1.2;
}

.tips-filters__reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: auto;
    min-height: 3.5rem;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 1px 4px rgba(15, 23, 42, 0.04);
    color: #1d4ed8;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0.65rem 0;
    box-sizing: border-box;
}

.tips-filters__reset:hover {
    color: #1e40af;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.06);
    border-color: rgba(37, 99, 235, 0.3);
    transform: scale(1.05);
}

.tips-filters__reset:focus-visible {
    outline: none;
    color: #1e40af;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.06);
    border-color: rgba(37, 99, 235, 0.3);
    transform: scale(1.05);
}

.tips-filters__form--search .tips-filters__reset {
    display: none;
}

.tips-filters__reset-icon {
    font-size: 1rem;
    line-height: 1;
}

.tips-filters__select:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.tips-filters__select:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12), inset 0 1px 2px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.tips-loading-indicator {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid rgba(37, 99, 235, 0.2);
    border-top-color: #2563eb;
    margin: 1rem auto;
    animation: tips-loading-spin 1s ease-in-out infinite;
}

.tips-loading-indicator.htmx-request {
    display: block;
}

@keyframes tips-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes tips-inline-spin {
    to {
        transform: rotate(360deg);
    }
}

.tips-filter__tab.tips-loading,
.tips-toolbar__action.tips-loading {
    pointer-events: none;
    opacity: 0.6;
}

.tips-filters__select.tips-loading {
    cursor: progress;
    opacity: 0.7;
}

.tips-empty {
    text-align: center;
    padding: 4rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tips-empty--filters {
    padding: 3rem 1rem;
}

.tips-empty h2 {
    /* Typography uses unified heading styles */
    margin-bottom: 0.75rem;
}

.tips-empty p {
    margin: 0;
    color: rgba(17, 24, 39, 0.6);
}

.tips-grid {
    display: grid;
    overflow-y: visible !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    position: relative;
    background-color: transparent;
}

@media (max-width: 67.5em) and (min-width: 42em) {
    .tips-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Default state - show actual cards, hide placeholders */
.tips-card:not(.tips-card--placeholder) {
    opacity: 1;
    pointer-events: auto;
}

.tips-card--placeholder {
    display: none !important;
}

/* Loading state - fade out actual cards and show placeholders */
.tips-grid.htmx-request .tips-card:not(.tips-card--placeholder),
#tips-results.htmx-request .tips-grid .tips-card:not(.tips-card--placeholder),
#tips-results.htmx-swapping .tips-grid .tips-card:not(.tips-card--placeholder) {
    opacity: 0.3;
    pointer-events: none;
}

/* Show placeholder cards when loading or swapping */
.tips-grid.htmx-request .tips-card--placeholder,
#tips-results.htmx-request .tips-grid .tips-card--placeholder,
#tips-results.htmx-swapping .tips-grid .tips-card--placeholder {
    display: flex !important;
}

.tips-card--placeholder {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 16px 28px rgba(23, 45, 77, 0.12);
    border: 1px solid #dbe4f3;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    min-height: 400px;
    pointer-events: none;
}

.tips-card--placeholder .tips-card__header {
    padding: 1.25rem 1.5rem 0.75rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.tips-card--placeholder .tips-card__datetime {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tips-card--placeholder .tips-card__matchup {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.tips-card--placeholder .tips-card__body {
    padding: 1.25rem 1.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tips-card--placeholder .tips-card__footer {
    padding: 1rem 1.5rem 1.25rem;
    margin-top: auto;
}

.tips-card-placeholder__item {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.08) 25%, rgba(15, 23, 42, 0.12) 50%, rgba(15, 23, 42, 0.08) 75%);
    background-size: 200% 100%;
    animation: tips-loading-shimmer 1.5s infinite;
    border-radius: 8px;
}

.tips-card-placeholder__header-date {
    height: 14px;
    width: 100px;
    margin-bottom: 0.5rem;
}

.tips-card-placeholder__header-time {
    height: 12px;
    width: 80px;
}

.tips-card-placeholder__team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.tips-card-placeholder__team-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.tips-card-placeholder__team-name {
    height: 16px;
    width: 100px;
}

.tips-card-placeholder__meta {
    height: 12px;
    width: 120px;
}

.tips-card-placeholder__pick {
    height: 60px;
    width: 100%;
    border-radius: 14px;
}

.tips-card-placeholder__cta {
    height: 48px;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.tips-card-placeholder__bonus {
    height: 20px;
    width: 150px;
}

.tips-card-placeholder__vote {
    height: 32px;
    width: 60px;
    border-radius: 50%;
    margin-left: auto;
}



.tips-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 16px 28px rgba(23, 45, 77, 0.12);
    border: 1px solid #dbe4f3;
    display: flex;
    flex-direction: column;
    overflow: visible;
    /* Ensure absolutely positioned badges are positioned relative to each card
       rather than the grid container so badges don't stack on a single card. */
    position: relative;
    z-index: var(--zindex-level-0, 0);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tips-card--past {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.12), rgba(71, 85, 105, 0.08));
    opacity: 0.75;
    border-color: rgba(148, 163, 184, 0.25);
}

.tips-card--past .tips-team__name,
.tips-card--past .tips-card__time,
.tips-card--past .tips-card__date {
    color: rgba(71, 85, 105, 0.85);
}

.tips-card--past .tips-pick {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.15), rgba(71, 85, 105, 0.08));
    border-color: rgba(100, 116, 139, 0.25);
}


.tips-card--past .tips-pick__value {
    color: rgba(51, 65, 85, 0.90);
}

@media (max-width: 42em) {
    .tips-collection {
        background-color: transparent;
        --tips-side-padding: 0;
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
    }
    

    .tips-grid {
        display: flex;
        /* horizontal scrolling but allow vertical overflow so shadows aren't clipped */
        overflow-x: auto;
        overflow-y: visible;
        gap: 1.1rem;
        padding: 1.25rem 0 3rem; /* extra bottom padding for shadows, match filters padding */
        margin: 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        background-color: rgba(var(--tips-carousel-fade-rgb), 0.2);
        position: relative;
    }

    .tips-grid::-webkit-scrollbar {
        display: none;
    }

    .tips-card {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: center;
        /* ensure cards create a stacking context so their shadows can escape the scroll container */
        position: relative;
        z-index: var(--zindex-level-1, 1);
    }

    .tips-grid::before,
    .tips-grid::after {
        content: '';
        position: sticky;
        top: 0;
        width: 1.25rem;
        height: 100%;
        pointer-events: none;
        z-index: var(--zindex-level-2, 2);
        flex: 0 0 auto;
        margin: 0;
    }

    .tips-grid::before {
        align-self: stretch;
        left: 0;
        background: linear-gradient(90deg, var(--tips-carousel-fade-soft) 0%, rgba(var(--tips-carousel-fade-rgb), 0));
    }

    .tips-grid::after {
        align-self: stretch;
        right: 0;
        background: linear-gradient(270deg, var(--tips-carousel-fade-soft) 0%, rgba(var(--tips-carousel-fade-rgb), 0));
    }

    /* Navigation arrows for mobile carousel */
    .tips-navigation-arrows {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .tips-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(0, 0, 0, 0.1);
        color: #374151;
        font-size: 1.5rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: var(--box-shadow);
        z-index: var(--zindex-tooltip, 1080);
    }

    .tips-arrow:hover {
        background: rgba(29, 78, 216, 0.1);
        border-color: rgba(29, 78, 216, 0.3);
        transform: scale(1.05);
        box-shadow: var(--box-shadow);
    }

    .tips-arrow:active {
        transform: scale(0.95);
    }

    .tips-arrow:disabled,
    .tips-arrow[aria-disabled="true"] {
        opacity: 0.4;
        cursor: not-allowed;
        pointer-events: none;
        background: rgba(255, 255, 255, 0.7);
        border-color: rgba(0, 0, 0, 0.05);
        box-shadow: var(--box-shadow);
    }

    .tips-arrow:disabled:hover,
    .tips-arrow[aria-disabled="true"]:hover {
        background: rgba(255, 255, 255, 0.7);
        border-color: rgba(0, 0, 0, 0.05);
        transform: none;
        box-shadow: var(--box-shadow);
    }

    .tips-arrow__icon {
        line-height: 1;
        user-select: none;
    }
}

/* Ensure match-card details link has no underline and the chevron doesn't wrap */
.tips-card__details,
.tips-card__details--small {
    /* remove visual underline */
    text-decoration: none !important;
    text-decoration-color: transparent !important;
    text-underline-offset: 0 !important;
    /* force single-line layout so the chevron stays with the label */
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
}
.tips-card__details .tips-card__details-icon,
.tips-card__details--small .tips-card__details-icon {
    flex: 0 0 auto !important;
    margin-left: 0.18rem !important;
}
.tips-card__details:hover,
.tips-card__details:focus,
.tips-card__details--small:hover,
.tips-card__details--small:focus {
    text-decoration: none !important;
    color: #153bbd !important;
}

/* Hide navigation arrows on medium and larger screens */
@media (min-width: 42em) and (max-width: 67.5em) {
    .tips-navigation-arrows {
        display: none !important;
    }
}

@media (min-width: 62em) {
    .tips-navigation-arrows {
        display: none !important;
    }
}

/* Mobile hero image - full width to match corners */
@media (max-width: 48em) {
    .tips-expanded__hero-image {
        max-width: 100%;
        margin: 0 0 1.5rem;
        border-radius: 16px;
    }

    .tips-expanded__hero-image img {
        width: 100% !important;
        height: 100px !important;
        max-width: 100% !important;
        object-fit: cover;
        display: block;
    }
}

/* HOT badge styling */
.tips-card__hot-badge {
    position: absolute;
    top: 0.1rem;
    right: -0.0625rem;
    z-index: var(--zindex-level-3, 3);
    transform: translate(50%, -50%);
}

.tips-hot-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: tips-hot-pulse 2s ease-in-out infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes tips-hot-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 2px 12px rgba(255, 71, 87, 0.4);
    }
}

/* Mobile adjustments for HOT badge */
@media (max-width: 62em) {
    .tips-card__hot-badge {
        top: 0.1rem;
        right: -0.05rem;
        transform: translate(50%, -50%);
    }

    .tips-hot-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

@media (max-width: 48em) {
    .tips-card {
        flex: 0 0 92%;
    }
}

.tips-card[data-detail-anchor] {
    cursor: pointer;
}

.tips-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(23, 45, 77, 0.18);
    border-color: rgba(29, 78, 216, 0.35);
    /* Raise hovered card above siblings so its badge and shadow are visible */
    z-index: var(--zindex-level-3, 3);
}

.tips-card[role="link"]:focus-visible {
    outline: 2px solid rgba(29, 78, 216, 0.8);
    outline-offset: 4px;
}

.tips-card__header {
    padding: 1.25rem 1.5rem 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow: visible;
}

.tips-card__datetime {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 600;
    color: #0f172a;
    flex: 1 1 auto;
    min-width: 0;
    align-items: flex-start !important;
    text-align: left !important;
}

.tips-card__datetime-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tips-card__datetime-row--secondary {
    gap: 0.6rem;
    font-size: 0.9rem;
    justify-content: flex-start;
    align-items: center;
}

.tips-card__date {
    font-size: 1rem;
}

.tips-card__time {
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.6);
    line-height: 1;
}

.tips-card__countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    font-family: "Courier New", monospace;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
    line-height: 1;
    height: 1.4rem;
}

/* When a match has passed we hide the small countdown element entirely to avoid
   duplicating the final score which is shown elsewhere in the card body. */
.tips-card__countdown--hidden {
    display: none !important;
}

.tips-card__countdown--live {
    background: transparent;
    border-color: transparent;
    color: #dc2626 !important;
    animation: tips-live-bounce 1s ease-in-out infinite;
    font-weight: 700;
}

.tips-card__countdown--live .tips-card__countdown-value {
    color: #dc2626 !important;
}

.tips-card__countdown--stress {
    background: transparent;
    border-color: transparent;
    color: #dc2626 !important;
    animation: tips-stress-bounce 0.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    font-weight: 700;
    font-size: 0.9rem;
}

.tips-card__countdown--warning {
    background: transparent;
    border-color: transparent;
    color: #f97316 !important;
    font-weight: 700;
    font-size: 0.9rem;
}

@keyframes tips-live-bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.9);
    }
}

@keyframes tips-stress-bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.tips-card__countdown-value {
    display: inline-block;
    min-width: auto;
    text-align: center;
    color: inherit;
    white-space: nowrap
}

.tips-card__badges {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}

.tips-card__badges img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
    background: #eef2ff;
    padding: 4px;
}

.tips-card__matchup {
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.tips-team {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.tips-team__logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: contain;
    background: transparent;
    border: none;
    padding: 0;
}

.tips-team__name {
    font-weight: 600;
    font-size: 1rem;
    width: min-content;
}

.tips-match-separator {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: rgba(15, 23, 42, 0.45);
}

.tips-card__body {
    padding: 1.25rem 1.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tips-card__meta {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(17, 24, 39, 0.55);
    font-weight: 400;
}

.tips-pick {
    background: linear-gradient(135deg, rgba(37, 109, 253, 0.15), rgba(19, 168, 255, 0.08));
    border: 2px solid rgba(37, 109, 253, 0.3);
    border-radius: 16px;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 2px 8px rgba(37, 109, 253, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}


.tips-pick__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: var(--border-radius-pill, 999px);
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.08);
    color: rgba(15, 23, 42, 0.55);
}

.tips-pick__status--correct {
    background: rgba(34, 197, 94, 0.16);
    color: #15803d;
}

.tips-pick__status--incorrect {
    background: rgba(239, 68, 68, 0.18);
    color: #b91c1c;
}

.tips-pick--compact {
    padding: 0.9rem 1.1rem;
    border-radius: 14px;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.tips-pick--compact .tips-pick__value {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tips-pick--compact .tips-pick__prefix {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.tips-pick--compact .tips-pick__prefix .tips-pick__status {
    flex-shrink: 0;
    margin-right: 0;
}

.tips-pick__value {
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f172a;
    letter-spacing: -0.01em;
    flex: 1;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

.tips-pick__prediction-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tips-pick__header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 0.15rem;
}

.tips-pick__prefix {
    color: #256dfd;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
}

.tips-pick__probability {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    padding: 0.15rem 0.35rem;
    border-radius: 999px;
    background: rgba(37, 109, 253, 0.12);
    color: #1d4ed8;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.tips-pick__prediction {
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f172a;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.tips-pick--compact .tips-card__details--small {
    flex-shrink: 0;
    padding: 0.25rem 0.5rem;
    background: rgba(37, 109, 253, 0.08);
    border: 1px solid rgba(37, 109, 253, 0.15);
    border-radius: 6px;
    color: #256dfd;
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    text-transform: none;
    transition: all 0.2s ease;
}

.tips-pick--compact .tips-card__details--small:hover,
.tips-pick--compact .tips-card__details--small:focus {
    background: rgba(37, 109, 253, 0.12);
    border-color: rgba(37, 109, 253, 0.25);
    color: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(37, 109, 253, 0.15);
}

.tips-pick--compact .tips-card__details--small .tips-card__details-icon {
    margin-left: 0.25rem;
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.tips-pick--compact .tips-card__details--small:hover .tips-card__details-icon,
.tips-pick--compact .tips-card__details--small:focus .tips-card__details-icon {
    transform: translateY(1px);
}

.tips-summary {
    margin: 0;
    color: rgba(15, 23, 42, 0.74);
    line-height: 1.55;
    font-size: 0.95rem;
}

.tips-card__footer {
    padding: 1.25rem 1.5rem 1.5rem;
}

.tips-card__actions {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem 0.75rem;
    margin-top: auto;
}

.tips-card__actions-main {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 0;

}

.tips-card__actions-meta {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    flex-wrap: nowrap;
    text-align: right;
}

.tips-card__meta-row {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.tips-card__bonus,
.tips-card__details,
.tips-card__bonus-label,
.tips-card__bonus-value {
    color: rgba(15, 23, 42, 0.72);
    font-size: 0.82rem;
}

.tips-card__vote {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: var(--border-radius-pill, 999px);
    border: 1px solid #d1d5db;
    background: #f9fafb;
    color: #6b7280;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    text-decoration: none;
    align-self: center;
}

.tips-card__weather {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.84rem;
    color: rgba(15, 23, 42, 0.65);
}

.tips-card__weather--inline {
    margin-top: 0;
    font-size: 0.82rem;
    color: rgba(15, 23, 42, 0.7);
    align-items: center;
    align-self: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.tips-card__weather-icon {
    font-size: 1rem;
    line-height: 1;
}

.tips-card__weather-icon .fa-sun {
    color: #fbbf24;
}

.tips-card__weather-label {
    line-height: 1.2;
    text-align: left;
}

.tips-weather-wind {
    white-space: nowrap;
    display: inline-block;
}

.tips-weather-wind .fas.fa-wind {
    margin-right: 0.25rem;
    font-size: 1.15em;
    opacity: 0.8;
}

.tips-card__bonus {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: rgba(17, 24, 39, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.tips-card__bonus--footer {
    justify-content: flex-start;
    text-align: left;
    width: auto;
}

.tips-card__bonus--link {
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border: 2px solid #2563eb;
    border-radius: 9999px;
    background-color: rgba(37, 99, 235, 0.05);
}

.tips-card__bonus--link:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    border-color: #1d4ed8;
    background-color: rgba(37, 99, 235, 0.1);
}

.tips-card__bonus--link:hover .tips-card__bonus-label {
    color: #1d4ed8;
}

.tips-card__bonus--link:hover .tips-card__bonus-value {
    color: #047857;
}

.tips-card__bonus--link:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    border-radius: 9999px;
}

.tips-card__bonus-label {
    font-weight: 700;
    font-size: 0.8rem;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tips-card__bonus--link .tips-card__bonus-label {
    color: #2563eb;
}

.tips-card__bonus-value {
    font-weight: 800;
    color: #059669;
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.95rem;
}

.tips-card__bonus--link .tips-card__bonus-value {
    color: #059669;
}


.tips-card__meta-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    text-align: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.45rem;
}

.tips-card__meta-row .tips-card__bonus--footer {
    margin-top: 0;
    flex: 0 1 auto;
}

.tips-card__details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    justify-content: center;
    text-align: center;
}

.tips-card__final-score {
    width: 100%;
    box-sizing: border-box;
}

.tips-card__final-score-label {
    width: 100%;
    justify-content: center;
}

.tips-card__final-score-label strong {
    font-weight: 700;
}

.tips-card__final-score-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: var(--border-radius-pill, 999px);
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    font-size: 1rem;
    line-height: 1;
}

.tips-card__final-score-status {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.55);
}

.tips-card__final-score-text {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.35rem;
    text-align: left;
}

.tips-card__final-score--correct .tips-card__final-score-icon {
    background: rgba(34, 197, 94, 0.16);
    color: #15803d;
}

.tips-card__final-score--incorrect .tips-card__final-score-icon {
    background: rgba(239, 68, 68, 0.18);
    color: #b91c1c;
}

.tips-card__final-score--correct .tips-card__final-score-status {
    color: #15803d;
}

.tips-card__final-score--incorrect .tips-card__final-score-status {
    color: #b91c1c;
}

.tips-card__form {
    margin-top: 0.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tips-card__form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: rgba(17, 24, 39, 0.7);
}

.tips-card__form-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(17, 24, 39, 0.5);
}

.tips-card__form-values {
    font-family: "Courier New", monospace;
    font-weight: 700;
    color: #0f172a;
}

.tips-card__form-badges,
.tips-expanded__form-badges {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.tips-form-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    cursor: help;
    transition: transform 0.2s ease;
}

.tips-form-badge:hover {
    transform: scale(1.1);
}

.tips-form-badge[data-tooltip]::before,
.tips-form-badge[data-tooltip]::after {
    content: '';
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000;
}

.tips-form-badge[data-tooltip]::before {
    content: attr(data-tooltip);
    bottom: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-0.25rem);
    background: #1f2937;
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    line-height: 1.5;
    min-width: 200px;
    max-width: 400px;
    white-space: normal;
    text-align: center;
    word-wrap: break-word;
}

.tips-form-badge[data-tooltip]::after {
    bottom: calc(100% + 0.25rem);
    left: 50%;
    transform: translateX(-50%) translateY(-0.25rem);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #1f2937;
}

.tips-form-badge[data-tooltip]:hover::before,
.tips-form-badge[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.tips-form-badge--w {
    background: #1f9d63;
}

.tips-form-badge--d {
    background: #607080;
}

.tips-form-badge--l {
    background: #d64045;
}

.tips-form-badge--meta {
    background: transparent;
    color: rgba(55, 65, 81, 0.8);
    border: 1px solid rgba(100, 116, 139, 0.25);
    cursor: default;
}

.tips-form-badge--meta:hover {
    transform: none;
}

.tips-form-badge--arrow {
    margin-left: 0.35rem;
    font-weight: 900;
    font-size: 1em;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-2px);
    animation: tips-arrow-pulse 2s ease-in-out infinite;
}

@keyframes tips-arrow-pulse {
    0%, 100% {
        transform: translateY(-2px) scale(1);
    }
    50% {
        transform: translateY(-2px) scale(1.05);
    }
}

.tips-card__market {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.4rem;
    padding: 0.4rem 0.55rem;
    border: 1px solid rgba(29, 78, 216, 0.15);
    border-radius: 10px;
    background: rgba(29, 78, 216, 0.08);
    color: #0f172a;
    font-size: 0.82rem;
    gap: 0.5rem;
}

.tips-card__market-label {
    font-weight: 600;
    text-transform: none;
}

.tips-card__market-prob {
    font-weight: 700;
    color: #0f172a;
}

.tips-card__vote:not(.tips-card__vote--active):hover,
.tips-card__vote:not(.tips-card__vote--active):focus {
    background: #efefef;
    border-color: #d1d5db;
    color: #4b5563;
    transform: translateY(-1px);
}

.tips-card__vote:focus {
    outline: none;
}

.tips-card__vote:focus-visible {
    box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.28);
}

.tips-card__vote--active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: rgba(29, 78, 216, 0.92);
    color: #ffffff;
    transform: translateY(-1px);
}

.tips-card__vote--active .tips-card__vote-icon {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.tips-card__vote--active .tips-card__vote-svg {
    width: 0.9rem;
    height: 0.9rem;
}

.tips-card__vote--active .tips-card__vote-count {
    color: #ffffff;
}

.tips-card__vote--active:hover,
.tips-card__vote--active:focus {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    border-color: rgba(29, 78, 216, 0.98);
    transform: translateY(-2px);
}

.tips-card__vote--pending {
    cursor: wait;
    opacity: 0.7;
}

.tips-card__vote:not(.tips-card__vote--active) .tips-card__vote-icon {
    background: transparent;
    color: inherit;
}

.tips-card__vote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.tips-card__vote-svg {
    width: 0.9rem;
    height: 0.9rem;
    display: block;
}

.tips-card__vote-count {
    font-weight: 700;
    transition: color 0.2s ease;
}

.tips-expanded__markets {
    margin: 1.5rem 0;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    padding: 0;
}

.tips-expanded__markets-title {
    margin: 0;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #dc2626;
    font-weight: 800;
    border-bottom: 2px solid rgba(15, 23, 42, 0.08);
    background: rgba(220, 38, 38, 0.03);
}

.tips-expanded__markets-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0rem;
}

.tips-expanded__markets-table {
    width: 100%;
    border-collapse: collapse;
}

.tips-expanded__markets-table colgroup col:first-child {
    width: 45px;
}

.tips-expanded__markets-table colgroup col:nth-child(2) {
    width: auto;
}

.tips-expanded__markets-table colgroup col:nth-child(3),
.tips-expanded__markets-table colgroup col:nth-child(4) {
    width: 80px;
}

@media (max-width: 48em) {
    .tips-expanded__markets-table colgroup col:nth-child(3),
    .tips-expanded__markets-table colgroup col:nth-child(4) {
        width: 70px;
    }
}

.tips-expanded__markets-status,
.tips-expanded__markets-row td.tips-expanded__markets-status,
.tips-expanded__markets-row--primary td.tips-expanded__markets-status,
.tips-expanded__markets-row--interactive td.tips-expanded__markets-status {
    width: 3.25rem;
    text-align: center;
    vertical-align: middle;
    background-color: inherit;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.tips-expanded__markets-status .tips-market-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: var(--border-radius-pill, 999px);
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.08);
    color: rgba(15, 23, 42, 0.6);
}

.tips-expanded__markets-status .tips-market-status--correct {
    background: rgba(34, 197, 94, 0.16);
    color: #15803d;
}

.tips-expanded__markets-status .tips-market-status--incorrect {
    background: rgba(239, 68, 68, 0.16);
    color: #dc2626;
}

.tips-expanded__markets-heading {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(17, 24, 39, 0.6);
    padding: 0.75rem 1rem;
    text-align: left;
    background: rgba(15, 23, 42, 0.04);
    font-weight: 700;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.tips-expanded__markets-heading--status {
    text-align: center;
    width: 3.25rem;
}

.tips-expanded__markets-heading--label {
    min-width: 200px;
}

.tips-expanded__markets-heading--odds {
    text-align: center;
    white-space: nowrap;
}

.tips-expanded__markets-heading--prob {
    text-align: right;
}

.tips-expanded__markets-label,
.tips-expanded__markets-odds,
.tips-expanded__markets-prob,
.tips-expanded__markets-row td.tips-expanded__markets-label,
.tips-expanded__markets-row td.tips-expanded__markets-odds,
.tips-expanded__markets-row td.tips-expanded__markets-prob,
.tips-expanded__markets-row--primary td.tips-expanded__markets-label,
.tips-expanded__markets-row--primary td.tips-expanded__markets-odds,
.tips-expanded__markets-row--primary td.tips-expanded__markets-prob,
.tips-expanded__markets-row--interactive td.tips-expanded__markets-label,
.tips-expanded__markets-row--interactive td.tips-expanded__markets-odds,
.tips-expanded__markets-row--interactive td.tips-expanded__markets-prob {
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.85);
    vertical-align: middle;
    background-color: inherit;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.tips-expanded__markets-label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 700;
    min-width: 0;
    color: rgba(15, 23, 42, 0.9);
}

.tips-expanded__markets-label-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.tips-expanded__markets-label-stack > .tips-market-badge {
    margin-bottom: 0.05rem;
}

.tips-expanded__markets-prob {
    text-align: right;
    font-weight: 800;
    white-space: nowrap;
    color: #256dfd;
    font-size: 0.95rem;
}

.tips-expanded__markets-odds {
    text-align: center;
    font-weight: 700;
    white-space: nowrap;
    color: rgba(15, 23, 42, 0.8);
    font-size: 0.95rem;
}

.tips-expanded__markets-table tbody tr + tr {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.tips-market-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: var(--border-radius-pill, 999px);
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.08);
    color: rgba(15, 23, 42, 0.6);
}

.tips-market-status--correct {
    background: rgba(34, 197, 94, 0.16);
    color: #15803d;
}

.tips-market-status--incorrect {
    background: rgba(239, 68, 68, 0.16);
    color: #dc2626;
}

.tips-market-status--pending {
    background: rgba(15, 23, 42, 0.4);
    color: transparent;
}



.tips-expanded__markets-row td {
    padding: 0.6rem 0.75rem;
    min-height: 40px;
}

.tips-expanded__markets-row--primary {
    background: rgba(37, 109, 253, 0.1);
    border-left: 3px solid #256dfd;
}

.tips-expanded__markets-row--primary td {
    padding: 0.6rem 0.75rem;
    background-color: inherit;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.tips-expanded__markets-row--primary .tips-expanded__markets-prob {
    color: #256dfd;
}

.tips-market-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    min-width: auto;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    background: rgba(37, 109, 253, 0.15);
    color: #1e40af;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(37, 109, 253, 0.2);
}

.tips-market-badge--link {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 0.35rem;
}

.tips-market-badge--link:hover,
.tips-market-badge--link:focus {
    background: rgba(37, 109, 253, 0.25);
    border-color: rgba(37, 109, 253, 0.4);
    color: #1e3a8a;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(37, 109, 253, 0.2);
}

.tips-expanded__markets-row--primary .tips-market-badge {
    background: rgba(37, 109, 253, 0.2);
    color: #1e40af;
    border-color: rgba(37, 109, 253, 0.3);
}

.tips-expanded__markets-row--primary .tips-market-badge--link:hover,
.tips-expanded__markets-row--primary .tips-market-badge--link:focus {
    background: rgba(37, 109, 253, 0.3);
    border-color: rgba(37, 109, 253, 0.45);
}


.tips-expanded__section-title {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(17, 24, 39, 0.6);
    font-weight: 700;
}

.tips-expanded__form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 0.85rem 0 1.25rem;
}

.tips-expanded__form-column {
    background: #ffffff;
    border: 1px solid #dbe4f3;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 12px 24px rgba(23, 45, 77, 0.08);
}

.tips-expanded__form-badges {
    padding: 0.85rem 1rem 1rem;
    display: flex;
    gap: 0.35rem;
    align-items: center;
    position: relative;
}

.tips-expanded__form-title {
    margin: 0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(17, 24, 39, 0.55);
    border-bottom: 1px solid #e2e8f5;
}


.aces-ai-bullets {
    margin: 0;
    padding-left: 1.35rem;
    list-style: disc;
}

.aces-ai-bullets li {
    margin: 0.35rem 0;
}

.tips-expanded__summary-block {
    margin: 1.8rem 0 0;
    padding: 1.6rem 1.8rem;
    background: #ffffff;
    border: 1px solid #dbe4f3;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(23, 45, 77, 0.12);
}

.tips-expanded__summary-title {
    margin: 0 0 1.1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(17, 24, 39, 0.6);
    cursor: pointer;
    user-select: none;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.tips-expanded__summary-title:hover,
.tips-expanded__summary-title:focus {
    color: #1d4ed8;
    outline: none;
}

.tips-expanded__form-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.75rem;
}

.tips-expanded__form-table tr + tr {
    border-top: 1px solid #e4ecf8;
}

.tips-expanded__form-date,
.tips-expanded__form-opponent,
.tips-expanded__form-score,
.tips-expanded__form-result {
    padding: 0.55rem 0.9rem;
    font-size: 0.88rem;
    color: rgba(17, 24, 39, 0.8);
}

.tips-expanded__form-score {
    text-align: center;
    font-weight: 600;
}

.tips-expanded__form-result {
    text-align: right;
    font-weight: 700;
    color: rgba(17, 24, 39, 0.9);
}

.tips-expanded__injuries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.tips-expanded__injuries-column {
    background: #ffffff;
    border: 1px solid #dbe4f3;
    border-radius: 16px;
    padding: 1rem 1.1rem;
    box-shadow: 0 12px 24px rgba(23, 45, 77, 0.08);
}

.tips-expanded__injuries-title {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(17, 24, 39, 0.55);
}

.tips-expanded__injuries-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.tips-expanded__injury {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #e4ecf8;
    font-size: 0.88rem;
    color: rgba(17, 24, 39, 0.82);
}

.tips-expanded__injuries-list .tips-expanded__injury:last-child {
    border-bottom: 0;
}

.tips-expanded__injury-player {
    font-weight: 600;
    color: #0f172a;
}

.tips-expanded__injury-position {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(17, 24, 39, 0.55);
}

.tips-expanded__injury-type {
    font-style: italic;
}

.tips-expanded__injury-date,
.tips-expanded__injury-updated {
    font-size: 0.75rem;
    color: rgba(17, 24, 39, 0.5);
}

.tips-expanded__standings {
    margin: 1.5rem 0;
    background: #ffffff;
    border: 1px solid #dbe4f3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(23, 45, 77, 0.08);
}

.tips-expanded__standings-title {
    margin: 0;
    padding: 0.8rem 1.1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(17, 24, 39, 0.6);
    border-bottom: 1px solid #e2e8f5;
}

.tips-expanded__standings-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tips-expanded__standings-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.tips-expanded__standings-table th,
.tips-expanded__standings-table td {
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.82);
    text-align: center;
}

.tips-expanded__standings-table th:first-child,
.tips-expanded__standings-table td:first-child {
    text-align: left;
    padding-left: 1.1rem;
}

.tips-expanded__standings-table tbody tr + tr {
    border-top: 1px solid #e4ecf8;
}

.tips-expanded__standings-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 16px;
    padding-left: 0.5rem !important;
}

.tips-expanded__standings-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 16px;
}

.tips-expanded__standings-table tbody tr:last-child td {
    border-bottom: none;
}

.tips-expanded__stats {
    margin: 2rem 0;
}

.tips-expanded__stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.tips-expanded__stats-column {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.tips-expanded__stats-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #256dfd 0%, #3b82f6 50%, #60a5fa 100%);
    opacity: 0.6;
}

.tips-expanded__stats-column:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.tips-expanded__stats-team-title {
    margin: 0 0 1.5rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(15, 23, 42, 0.1);
    letter-spacing: -0.02em;
    position: relative;
}

.tips-expanded__stats-team-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #256dfd 0%, #3b82f6 100%);
    border-radius: 2px;
}

.tips-expanded__stats-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.875rem;
    margin-top: 1rem;
}

.tips-expanded__stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    text-align: center;
    min-height: 100px;
}

.tips-expanded__stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: rgba(37, 109, 253, 0.2);
}

.tips-expanded__stat-box .tips-expanded__stat-label {
    font-size: 0.75rem;
    color: rgba(15, 23, 42, 0.65);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tips-expanded__stat-box .tips-expanded__stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e40af;
    letter-spacing: -0.02em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 47.99em) {
    .tips-expanded__stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .tips-expanded__stats-column {
        padding: 1.5rem 1.25rem;
    }
    
    .tips-expanded__stats-team-title {
        font-size: 1.05rem;
        margin-bottom: 1.25rem;
    }
    
    .tips-expanded__stats-boxes {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .tips-expanded__stat-box {
        padding: 1rem 0.75rem;
        min-height: 90px;
    }
    
    .tips-expanded__stat-box .tips-expanded__stat-value {
        font-size: 1.35rem;
    }
}

.tips-card__details {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.tips-card__details-icon {
    font-size: 0.75rem;
    line-height: 1;
}

.tips-card__details--small {
    font-size: 0.65rem;
    font-weight: 500;
    gap: 0.2rem;
    padding: 0.2rem 0.4rem;
}

.tips-card__details--small .tips-card__details-icon {
    font-size: 0.55rem;
}

.tips-expanded__actions {
    display: flex;
    justify-content: center;
    margin-top: -0.25rem;
}

.tips-expanded__vote {
    font-size: 0.85rem;
}

.tips-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    border-radius: 12px;
    font-weight: 700;
    padding: 0.9rem 1rem;
    transition: transform 0.2s ease;
}

.tips-card__cta:not(.tips-card__cta--secondary),
.tips-card__cta:not(.tips-card__cta--secondary):visited,
.tips-card__cta:not(.tips-card__cta--secondary):hover,
.tips-card__cta:not(.tips-card__cta--secondary):focus {
    color: #ffffff;
}

.tips-card__cta:not(.tips-card__cta--secondary) .tips-card__cta-label {
    color: #ffffff;
}

.tips-card__cta:hover {
    transform: translateY(-2px);
}

.tips-card__cta-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tips-card__cta-logo {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
    outline: solid .1rem var(--outline, var(--wp-main-color, #be2edd));
    outline-offset: 1px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.tips-card__cta--secondary {
    background: transparent;
    border: 1px solid rgba(29, 78, 216, 0.3);
    color: #1d4ed8;
}

.tips-card__cta--secondary:hover {
    border-color: rgba(29, 78, 216, 0.55);
}

.tips-card__details {
    font-size: 0.78rem;
    text-transform: none;
    letter-spacing: 0.02em;
    color: #1d4ed8 !important;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(29, 78, 216, 0.35);
    text-underline-offset: 0.3rem;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.tips-card__details:hover,
.tips-card__details:focus {
    color: #153bbd;
    text-decoration-color: rgba(21, 59, 189, 0.55);
}

.tips-card--active {
    border-color: rgba(37, 141, 255, 0.45);
    box-shadow: 0 18px 32px rgba(19, 168, 255, 0.28);
    transform: translateY(-6px);
}

.tips-card--active .tips-pick {
    border-color: rgba(37, 141, 255, 0.42);
    background: linear-gradient(135deg, rgba(37, 141, 255, 0.3), rgba(19, 168, 255, 0.08));
}

.tips-expanded {
    position: relative;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    box-sizing: border-box;
    margin: 3.5rem 0 0;
    padding: 3.5rem 1.5rem 4rem;
    background: #ffffff;
    border-radius: 0;
    border: none;
    box-shadow: none;
    color: #1f2737;
}

.tips-expanded__heading,
.tips-expanded__body {
    max-width: 1180px;
    margin: 0 auto;
}

.tips-expanded__heading {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tips-expanded__title {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #111827;
}

.tips-expanded__subtitle {
    margin: 0;
    color: rgba(17, 24, 39, 0.65);
    font-size: 1rem;
}

.tips-expanded__body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tips-expanded__card {
    background: #f8faff;
    border-radius: 24px;
    border: 1px solid #e0e7ff;
    box-shadow: 0 20px 40px rgba(23, 45, 77, 0.15);
    padding: 1.75rem 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    scroll-margin-top: 120px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: visible;
}

/* Ensure consistent spacing between expanded tip cards in all contexts */
.tips-expanded__card {
    margin-bottom: 1.25rem;
}
.tips-expanded__card + .tips-expanded__card {
    margin-top: 0.75rem;
}

.tips-expanded__card--has-image {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
}

.tips-expanded__hero-image {
    width: 100%;
    max-width: 280px;
    height: 120px;
    overflow: hidden;
    border-radius: 16px;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(23, 45, 77, 0.15);
}

.tips-expanded__hero-image img {
    width: 280px !important;
    height: 120px !important;
    max-width: 280px !important;
    object-fit: cover;
    display: block;
}

.tips-expanded__card:target,
.tips-expanded__card--highlight {
    border-color: rgba(29, 78, 216, 0.75);
    box-shadow: 0 18px 34px rgba(29, 78, 216, 0.18);
}

.tips-expanded__header {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.tips-expanded__teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: nowrap;
}

.tips-expanded__team {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tips-expanded__team-logo {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    object-fit: contain;
    background: transparent;
    border: none;
    padding: 0;
}

.tips-expanded__team-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: #0f172a;
}

.tips-expanded__vs {
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.45);
}

.tips-expanded__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1rem;
    color: rgba(17, 24, 39, 0.65);
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
}

.tips-expanded__meta-item {
    display: inline-flex;
    gap: 0.3rem;
    align-items: center;
    flex-wrap: wrap;
    flex: 0 1 auto;
    min-width: 0;
    justify-content: center;
}

.tips-expanded__meta-item--weather {
    align-items: center;
}

.tips-expanded__meta-item--location {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
}

.tips-expanded__meta-location-label {
    line-height: 1.2;
}

.tips-expanded__meta-updated {
    font-size: 0.68rem;
    color: rgba(15, 23, 42, 0.45);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tips-expanded__meta-item--weather .tips-card__weather-icon {
    font-size: 1.1rem;
}

.tips-card__final-score--enhanced,
.tips-expanded__final-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.06));
    border: 1.5px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.tips-card__final-score--enhanced::before,
.tips-expanded__final-score::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(99, 102, 241, 0.2));
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tips-card__final-score--enhanced:hover,
.tips-expanded__final-score:hover {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.tips-card__final-score--enhanced:hover::before,
.tips-expanded__final-score:hover::before {
    opacity: 1;
}

.tips-card__final-score--enhanced .tips-card__final-score-label,
.tips-expanded__final-score .tips-card__final-score-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #1e40af;
}

.tips-card__final-score--enhanced .tips-card__final-score-label strong,
.tips-expanded__final-score .tips-card__final-score-label strong {
    font-weight: 700;
    color: #1e3a8a;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tips-card__final-score--enhanced .tips-card__final-score-status,
.tips-expanded__final-score .tips-card__final-score-status {
    font-size: 0.8rem;
}

/* Add a subtle "updated" indicator */
.tips-card__final-score--enhanced::after,
.tips-expanded__final-score::after {
    content: '';
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0);
    }
}

.tips-expanded__columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    overflow: visible;
}

.tips-expanded__column-title {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    color: rgba(17, 24, 39, 0.6);
}

.tips-expanded__column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.tips-expanded__column-header .tips-expanded__column-title {
    margin: 0;
}

.tips-expanded__probabilities {
    display: flex;
    justify-content: center;
    align-items: stretch;
    overflow: visible !important;
    flex-wrap: nowrap;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    list-style: none;
    padding: 0;
}

.tips-expanded__probabilities::-webkit-scrollbar {
    display: none;
}

.tips-expanded__probability {
    background: rgba(29, 78, 216, 0.08);
    border: 1px solid rgba(29, 78, 216, 0.18);
    border-radius: 14px;
    padding: 0.7rem 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-align: center;
    font-size: 0.9rem;
    color: #0f172a;
    flex: 1 1 0;
    min-width: 0;
    text-decoration: none;
    outline: none;
}

.tips-expanded__probability-label {
    display: block;
    font-weight: 600;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(17, 24, 39, 0.55);
    line-height: 1.1;
}

.tips-expanded__probability-value {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.1;
    color: #0f172a;
}

.tips-expanded__probability--interactive {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tips-expanded__probability--interactive:hover,
.tips-expanded__probability--interactive:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(29, 78, 216, 0.35);
    box-shadow: 0 12px 26px rgba(29, 78, 216, 0.18);
}

.tips-expanded__probability--interactive:focus-visible,
.tips-expanded__markets-row--interactive:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
}


.tips-expanded__markets-row--interactive {
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.tips-expanded__markets-row--interactive td {
    padding: 0.6rem 0.75rem;
    cursor: pointer;
}

.tips-expanded__markets-row--interactive:hover,
.tips-expanded__markets-row--interactive:focus-visible {
    background: rgba(29, 78, 216, 0.12);
    box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.14);
}

.tips-expanded__markets-row--interactive:hover td,
.tips-expanded__markets-row--interactive:focus-visible td {
    background-color: inherit;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.tips-expanded__markets-row--primary.tips-expanded__markets-row--interactive:hover td,
.tips-expanded__markets-row--primary.tips-expanded__markets-row--interactive:focus-visible td {
    background-color: inherit;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.tips-expanded__markets-row--interactive:focus-visible td {
    box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.18);
}

.tips-expanded__highlights {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: grid;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.tips-expanded__highlights li {
    background: #f1f5ff;
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    color: rgba(15, 23, 42, 0.82);
}

.tips-expanded__confidence-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: var(--border-radius-pill, 999px);
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
    font-weight: 600;
    margin: 1rem 0;
}

.tips-confidence__label {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tips-confidence__value {
    font-size: 1rem;
}

.tips-expanded__metrics {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.75rem;
    margin: 1rem 0 0;
}

.tips-metric {
    flex: 1 1 160px;
    background: #ffffff;
    border: 1px solid #dbe4f3;
    border-radius: 14px;
    padding: 0.65rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    box-shadow: 0 12px 24px rgba(23, 45, 77, 0.08);
}

.tips-metric__label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(17, 24, 39, 0.55);
}

.tips-metric__value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.tips-expanded__section {
    margin-top: 1.75rem;
}

.tips-expanded__confidence {
    margin-left: 0.35rem;
    background: rgba(29, 78, 216, 0.18);
    border-radius: var(--border-radius-pill, 999px);
    padding: 0.2rem 0.6rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: #1d4ed8;
}


.tips-expanded__summary {
    margin: 0;
    line-height: 1.68;
    font-size: 1rem;
    color: rgba(15, 23, 42, 0.82);
}

.tips-expanded__summary p {
    margin: 0 0 1.1rem;
}

.tips-expanded__summary p:last-child {
    margin-bottom: 0;
}

.tips-expanded__summary ul,
.tips-expanded__summary ol {
    margin: 0 0 1.2rem 1.4rem;
    padding: 0;
}

.tips-expanded__summary ul {
    list-style: disc;
}

.tips-expanded__summary ol {
    list-style: decimal;
}

.tips-expanded__summary ul li,
.tips-expanded__summary ol li {
    margin: 0.35rem 0;
}

.tips-expanded__summary--muted {
    color: rgba(15, 23, 42, 0.45);
}

.tips-summary__preview {
    position: relative;
    max-height: 7.5rem;
    overflow: hidden;
}

.tips-summary__preview p:last-child {
    margin-bottom: 0;
}

.tips-summary__preview::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 80%);
}

.tips-expanded__summary[data-summary-state="expanded"] .tips-summary__preview {
    display: none;
}

.tips-expanded__summary[data-summary-state="collapsed"] .tips-summary__full {
    display: none;
}

.tips-expanded__summary[data-summary-state="collapsed"] ~ .tips-summary__toggle {
    display: inline-block;
}

.tips-summary__toggle {
    display: none;
    margin-top: 1rem;
    align-self: flex-start;
    border: 1px solid #dbe4f3;
    background: #f8faff;
    color: #1d4ed8;
    border-radius: var(--border-radius-pill, 999px);
    padding: 0.45rem 1.2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tips-summary__toggle:hover,
.tips-summary__toggle:focus {
    background: rgba(29, 78, 216, 0.12);
    color: #153bbd;
    transform: translateY(-1px);
}

.tips-expanded__full-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.1rem;
    border-radius: var(--border-radius-pill, 999px);
    background: linear-gradient(135deg, rgba(37, 109, 253, 0.85), rgba(19, 168, 255, 0.85));
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
    color: #ffffff;
    text-decoration: none;
    box-shadow: var(--box-shadow);
}

.tips-expanded__full-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.tips-expanded__partner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: #ffffff;
    border: 1px solid #dbe4f3;
    border-radius: 18px;
    padding: 1.25rem;
}

.tips-expanded__partner--inline {
    margin-top: 1.15rem;
}

.tips-partner-card__info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1 1 320px;
    min-width: 0;
}

.tips-partner-card__logo-wrap {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(78, 97, 255, 0.18);
    overflow: hidden;
}

.tips-partner-card__logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.tips-partner-card__logo-fallback {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1d4ed8;
}

.tips-partner-card__text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.tips-partner-card__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(17, 24, 39, 0.55);
    font-weight: 700;
}

.tips-partner-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.tips-partner-card__domain {
    font-size: 0.82rem;
    color: rgba(15, 23, 42, 0.55);
}

.tips-partner-card__bonus {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.08);
    color: #1d4ed8;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    width: fit-content;
}

.tips-partner-card__bonus span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(29, 78, 216, 0.8);
}

.tips-partner-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    flex: 0 0 auto;
}

.tips-partner-card__cta,
.tips-partner-card__cta:link,
.tips-partner-card__cta:visited,
.tips-partner-card__cta:hover,
.tips-partner-card__cta:focus,
.tips-partner-card__cta:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    border-radius: 12px;
    font-weight: 700;
    padding: 0.9rem 1rem;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.tips-partner-card__cta:hover,
.tips-partner-card__cta:focus {
    transform: translateY(-2px);
}

.tips-partner-card__cta-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ffffff;
}

.tips-partner-card__cta .tips-partner-card__cta-label {
    color: #ffffff;
}

.tips-partner-card__site {
    font-size: 0.85rem;
    color: #1d4ed8;
    text-decoration: underline;
    text-underline-offset: 0.18rem;
    text-align: center;
    width: 100%;
}

.tips-partner-card__site:hover,
.tips-partner-card__site:focus {
    color: #153bbd;
}

@media (max-width: 56em) {
    .tips-expanded__partner {
        flex-direction: column;
        align-items: stretch;
    }

    .tips-expanded__partner--inline {
        margin-top: 0.75rem;
    }

    .tips-partner-card__info {
        flex: 0 0 auto;
        width: 100%;
    }

    .tips-partner-card__actions {
        width: 100%;
        align-items: center;
    }

    .tips-partner-card__cta {
        width: 100%;
        justify-content: center;
    }

    .tips-partner-card__site {
        text-align: center;
    }
}

.tips-expanded__empty {
    margin: 0;
    color: rgba(17, 24, 39, 0.55);
    text-align: center;
}

@media (max-width: 62em) {
    .tips-card__matchup {
        flex-wrap: nowrap;
        gap: 0.9rem;
    }
    .tips-team {
        min-width: 0;
        flex: 1 1 0;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        text-align: left;
    }
    .tips-team__name {
        word-break: break-word;
        max-width: 120px;
        font-size: 0.95rem;
    }
    .tips-match-separator {
        margin: 0 0.35rem;
    }

    .tips-expanded__team-logo {
        width: 30px;
        height: 30px;
    }

    .tips-expanded {
        padding: 2.75rem 1.75rem 3.25rem;
    }

    .tips-expanded__teams {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .tips-expanded__partner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }

    .tips-expanded__partner--inline {
        width: 100%;
    }

    .tips-expanded__partner-actions {
        align-items: stretch;
        width: 100%;
        margin-left: 0;
        gap: 0.5rem;
    }

    .tips-expanded__partner-bonus {
        width: auto;
        justify-content: flex-start;
    }

    .tips-expanded__partner-cta {
        width: 100%;
        justify-content: center;
    }

    .tips-expanded__partner-site {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    .tips-expanded__metrics {
        gap: 0.6rem;
    }

    .tips-metric {
        flex: 1 1 140px;
    }

    .tips-expanded__confidence-chip {
        justify-content: center;
        width: 100%;
    }
}

@media (min-width: 48em) and (max-width: 62em) {
    .tips-filters {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 62em) {
    .tips-card__matchup {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap; /* keep both teams on the same row */
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    .tips-team {
        display: flex;
        flex-direction: column; /* stack logo above name */
        align-items: center;
        gap: 0.35rem;
        width: auto;
        flex: 0 0 auto; /* do not stretch; keep intrinsic width so two teams fit */
        justify-content: center;
        text-align: center;
    }
    .tips-team__logo {
        width: 34px;
        height: 34px;
    }
    .tips-team__name {
        font-size: 0.85rem;
        max-width: 120px;
        word-break: normal;
        display: block;
        text-align: center;
        margin-top: 0.15rem;
    }
    .tips-match-separator {
        margin: 0 0.6rem; /* more horizontal breathing room on mobile */
        position: relative;
        /* Show the actual separator text on mobile (e.g. "VS"). */
        font-size: 0.85rem;
        line-height: 1;
        color: rgba(15, 23, 42, 0.45);
        text-transform: uppercase;
    }
    /* Remove decorative dot on mobile — display the separator text only. */
    .tips-match-separator::after {
        content: none;
    }
}
    .tips-expanded {
        margin-top: 2.25rem;
        padding: 2.25rem 1.25rem 2.75rem;
    }

    .tips-expanded__card {
        padding: 1.3rem 1.1rem;
        gap: 1.2rem;
    }

    .tips-expanded__columns {
        gap: 1.1rem;
    }


@media (max-width: 48em) {
    .tips-hero {
        padding: 2.1rem 1.1rem 1.6rem;
    }

    .tips-hero--with-image {
        border-radius: 0;
    }

    .tips-hero--with-image .tips-hero__image {
        border-radius: 0;
    }

    .tips-collection {
        --tips-side-padding: 1rem;
        padding: 0;
    }
    

    .tips-filters {
        margin-top: 1rem;
        margin-bottom: 0.55rem;
        gap: 0.55rem;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .tips-grid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .tips-filters__form {
        flex: 0 1 auto;
        min-width: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        flex-wrap: nowrap;
    }

    .tips-filters__label {
        font-size: 0.7rem;
        text-align: left;
    }

    .tips-filters__select {
        width: auto;
        min-width: 120px;
    }

    .tips-filters__form--date,
    .tips-filters__form--sport {
        flex: 0 1 auto;
    }

    .tips-filters__form--search {
        flex: 1 1 200px;
        min-width: 0;
        max-width: 100%;
        flex-wrap: nowrap !important;
        padding: 0.45rem 0.6rem;
        gap: 0.4rem;
        overflow: hidden;
        min-height: 2.8rem;
        box-sizing: border-box;
    }

    .tips-date-picker {
        width: 100%;
        min-width: 0;
        padding: 0.6rem 0.85rem;
        gap: 0.6rem;
        flex-wrap: wrap;
    }

    .tips-date-picker__wrapper {
        flex: 1;
        min-width: 0;
        gap: 0.5rem;
    }

    .tips-date-picker__input-wrapper {
        padding: 0.45rem 0.65rem;
        min-width: 140px;
        flex: 1 1 auto;
    }

    .tips-date-picker__days {
        width: 100%;
        gap: 0.35rem;
        justify-content: flex-start;
    }

    .tips-date-picker__chip {
        padding: 0.35rem 0.7rem;
        font-size: 0.7rem;
        flex: 0 0 auto;
    }

    .tips-date-picker__chip--date {
        min-width: 2.2rem;
    }

    .tips-date-picker .tips-filters__reset {
        padding: 0.35rem 0.7rem;
        width: auto;
        min-height: auto;
    }

    .tips-filters__form--search .tips-filters__input {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        padding: 0.35rem 0.4rem;
        padding-left: 1.6rem;
        font-size: 0.75rem;
        min-height: 1.9rem;
        background-position: 7px 50%;
        background-size: 13px 13px;
        box-sizing: border-box;
    }

    .tips-filters__form--reset {
        flex: 0 0 auto;
        justify-content: center;
    }

    .tips-filters__reset {
        width: 1.9rem;
        height: auto;
        min-height: 2.8rem;
        border-radius: 10px;
        padding: 0.45rem 0;
    }
    
    .tips-filters__reset-icon {
        font-size: 0.9rem;
    }

    .tips-expanded__teams {
        gap: 0.75rem;
    }

    .tips-expanded__team {
        gap: 0.45rem;
    }

    .tips-expanded__team-logo {
        width: 30px;
        height: 30px;
    }

    .tips-expanded__team-name {
        font-size: 1.05rem;
        text-align: center;
    }

    .tips-expanded__partner {
        gap: 0.75rem;
    }

    .tips-expanded__partner--inline {
        gap: 0.75rem;
    }

    .tips-expanded__partner-actions {
        align-items: stretch;
        width: 100%;
    }

    .tips-expanded__partner-cta {
        width: 100%;
    }

    .tips-expanded__partner-site {
        width: 100%;
    }

    .tips-expanded__probabilities {
        gap: 0.5rem;
    }

    .tips-expanded__probability {
        padding: 0.65rem 0.7rem 0.75rem;
        font-size: 0.85rem;
        gap: 0.22rem;
    }

    .tips-expanded__probability-label {
        font-size: 0.5rem;
        letter-spacing: 0.16em;
    }

    .tips-expanded__probability-value {
        font-size: 1rem;
    }

    .tips-expanded__markets-heading--label {
        min-width: 0;
    }

    .tips-expanded__markets-table colgroup col:nth-child(2) {
        width: auto;
    }

    .tips-expanded__metrics {
        flex-direction: column;
        gap: 0.55rem;
    }

    .tips-metric {
        width: 100%;
        flex: 0 1 auto;
        padding: 0.5rem 0.85rem;
    }

    .tips-metric__value {
        font-size: 1rem;
    }

    .tips-expanded__meta {
        justify-content: center;
        gap: 0.6rem 0.75rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .tips-expanded__meta-item {
        justify-content: center;
        width: 100%;
    }
    
    .tips-expanded__meta-item:not(:last-child) {
        margin-bottom: 0.25rem;
    }

    .tips-expanded__meta-item--location {
        align-items: center;
    }

    .tips-card__datetime {
        gap: 0.25rem;
        align-items: flex-start;
    }

    .tips-card__date {
        font-size: 0.95rem;
    }

    .tips-card__time {
        font-size: 0.82rem;
    }

    .tips-toolbar {
        flex-direction: column;
        align-items: stretch;
        /* Use the shared side padding variable so toolbar aligns with container */
        padding: 1.25rem var(--tips-side-padding, 1.1rem) 1.4rem;
        gap: 0.85rem;
    }

    .tips-toolbar__summary {
        width: 100%;
        justify-content: center;
    }

    .tips-toolbar__chip {
        flex: 1 1 140px;
    }

    .tips-toolbar__actions {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .tips-toolbar__action {
        width: 100%;
        justify-content: center;
    }

    .tips-card__matchup {
        flex-direction: row; /* keep teams on same row */
        align-items: center;
        padding: 0 1.1rem;
        gap: 0.8rem;
        flex-wrap: nowrap;
    }

    .tips-card__matchup .tips-team {
        width: auto; /* allow intrinsic width so two teams fit */
        justify-content: center;
        gap: 0.55rem;
        flex: 0 0 auto;
    }

    .tips-team__logo {
        width: 34px;
        height: 34px;
        padding: 0;
    }

    .tips-team__name {
        font-size: 0.95rem;
        text-align: center;
    }

    .tips-card__body {
        padding: 1rem 1.1rem 0.35rem;
        gap: 0.6rem;
    }

    .tips-card__weather {
        width: 100%;
        justify-content: left;
    }

    .tips-card__details,
    .tips-card__bonus {
        text-align: left;
        width: auto;
        justify-content: flex-start;
    }

    .tips-pick {
        padding: 0.6rem 0.75rem;
        gap: 0.55rem;
    }

    .tips-pick__value {
        font-size: 0.88rem;
    }

    .tips-card__actions {
        flex-direction: column;
        gap: 0.55rem;
    }

    .tips-card__actions-main {
        width: 100%;
    }

    .tips-card__vote {
        width: auto; /* do not force full width on mobile */
        justify-content: center;
        order: 3;
    }

    .tips-card__actions-meta {
        justify-content: center;
        align-items: center;
        gap: 0.65rem;
    }
    
    .tips-card__vote {
        align-items: center;
    }

    .tips-expanded__actions {
        margin-top: 0.5rem;
    }

    .tips-expanded__column-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .tips-expanded__column-header .tips-expanded__actions {
        align-self: flex-end;
        margin-top: 0;
    }

    .tips-card__cta {
        font-size: 0.95rem;
        padding: 0.75rem 0.85rem;
    }

    .tips-card__cta-logo {
        width: 36px;
        height: 36px;
    }

    .tips-card__details {
        font-size: 0.72rem;
        letter-spacing: 0.01em;
    }

    .tips-market-badge {
        font-size: 0.6rem;
        padding: 0.08rem 0.35rem;
    }
}

/* Loading states and lazy loading */
.tips-expanded__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem 1rem;
    text-align: center;
    pointer-events: none;
    position: relative;
    min-height: 400px;
    animation: tips-loading-fade-in 0.3s ease-in;
}

/* Hide loading container when content is present */
.tips-expanded__body:has(.tips-expanded__matches) .tips-expanded__loading,
.tips-expanded__body .tips-expanded__matches ~ .tips-expanded__loading {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* Fallback for browsers that don't support :has() - hide loading when matches exist */
.tips-expanded__matches ~ .tips-expanded__loading {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* Additional safety: hide loading container when it's a sibling of matches */
.tips-expanded__body .tips-expanded__matches + .tips-expanded__loading,
.tips-expanded__body .tips-expanded__loading:has(+ .tips-expanded__matches) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

@media (max-width: 47.99em) {
    .tips-expanded__loading {
        padding: 2rem 1rem;
        gap: 1.5rem;
        min-height: 300px;
    }
}

.tips-expanded__loading-indicator {
    display: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 4px solid rgba(37, 109, 253, 0.15);
    border-top-color: #256dfd;
    border-right-color: #256dfd;
    animation: tips-loading-spin 0.8s linear infinite, tips-loading-pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 10;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(37, 109, 253, 0.2), 0 0 0 4px rgba(37, 109, 253, 0.05);
    flex-shrink: 0;
}

.tips-expanded__loading-indicator.htmx-request {
    display: block;
}

@media (max-width: 47.99em) {
    .tips-expanded__loading-indicator {
        width: 48px;
        height: 48px;
        border-width: 3px;
    }
}

@keyframes tips-loading-pulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(37, 109, 253, 0.2), 0 0 0 4px rgba(37, 109, 253, 0.05);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 24px rgba(37, 109, 253, 0.3), 0 0 0 8px rgba(37, 109, 253, 0.08);
        transform: scale(1.05);
    }
}

@keyframes tips-loading-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tips-loading-skeleton {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 36em;
}

.tips-loading-skeleton__item {
    height: 120px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: tips-loading-shimmer 1.5s infinite;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tips-loading-text {
    color: rgba(15, 23, 42, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.01em;
    animation: tips-loading-text-pulse 2s ease-in-out infinite;
}

@keyframes tips-loading-text-pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

@keyframes tips-loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Loading Card Placeholders */
.tips-loading-cards {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 1200px;
}

/* Staggered animation for loading cards */
.tips-loading-cards .tips-expanded__card--loading:nth-child(1) {
    animation-delay: 0.1s;
}

.tips-loading-cards .tips-expanded__card--loading:nth-child(2) {
    animation-delay: 0.2s;
}

.tips-loading-cards .tips-expanded__card--loading:nth-child(3) {
    animation-delay: 0.3s;
}

.tips-loading-cards .tips-expanded__card--loading:nth-child(4) {
    animation-delay: 0.4s;
}

.tips-loading-cards .tips-expanded__card--loading:nth-child(5) {
    animation-delay: 0.5s;
}

.tips-loading-cards .tips-expanded__card--loading:nth-child(6) {
    animation-delay: 0.6s;
}

.tips-expanded__card--loading {
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    overflow: hidden;
    padding: 2rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(10px);
    animation: tips-loading-card-fade-in 0.4s ease-out;
    position: relative;
}

.tips-expanded__card--loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: tips-loading-card-shine 2.5s infinite;
}

@keyframes tips-loading-card-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tips-loading-card-shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.tips-loading-placeholder {
    background: linear-gradient(90deg, rgba(226, 232, 240, 0.4) 25%, rgba(241, 245, 249, 0.7) 50%, rgba(226, 232, 240, 0.4) 75%);
    background-size: 200% 100%;
    animation: tips-loading-shimmer 1.8s ease-in-out infinite;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

/* Header placeholders */
.tips-loading-placeholder--logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(226, 232, 240, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tips-loading-placeholder--team-name {
    height: 20px;
    width: 120px;
    margin-top: 8px;
}

.tips-loading-placeholder--meta {
    height: 16px;
    width: 100px;
}

/* Column content placeholders */
.tips-loading-placeholder--title {
    height: 24px;
    width: 200px;
    margin-bottom: 1rem;
}

.tips-loading-placeholder--probability-label {
    height: 16px;
    width: 80px;
}

.tips-loading-placeholder--probability-value {
    height: 16px;
    width: 50px;
    margin-left: auto;
}

.tips-expanded__probability .tips-loading-placeholder--probability-label {
    margin-bottom: 4px;
}

.tips-expanded__probability .tips-loading-placeholder--probability-value {
    margin-bottom: 4px;
}

/* Markets placeholders */
.tips-loading-placeholder--markets-title {
    height: 20px;
    width: 180px;
    margin-bottom: 1rem;
}

.tips-loading-placeholder--markets-table {
    height: 120px;
    width: 100%;
    border-radius: 8px;
}

/* Partner placeholders */
.tips-loading-placeholder--partner-label {
    height: 14px;
    width: 120px;
    margin-bottom: 4px;
}

.tips-loading-placeholder--partner-name {
    height: 18px;
    width: 100px;
}

.tips-loading-placeholder--partner-cta {
    height: 40px;
    width: 120px;
    border-radius: 8px;
}

/* Metrics placeholders */
.tips-loading-placeholder--metric-label {
    height: 14px;
    width: 100px;
    margin-bottom: 4px;
}

.tips-loading-placeholder--metric-value {
    height: 16px;
    width: 60px;
}

/* Form placeholders */
.tips-loading-placeholder--section-title {
    height: 20px;
    width: 140px;
    margin-bottom: 1rem;
}

.tips-loading-placeholder--form-title {
    height: 16px;
    width: 80px;
    margin-bottom: 8px;
}

.tips-loading-placeholder--form-badges {
    height: 24px;
    width: 160px;
}

/* Standings placeholders */
.tips-loading-placeholder--standings-title {
    height: 18px;
    width: 160px;
    margin-bottom: 1rem;
}

.tips-loading-placeholder--standings-table {
    height: 80px;
    width: 100%;
    border-radius: 8px;
}

/* Confidence placeholders */
.tips-loading-placeholder--confidence-label {
    height: 14px;
    width: 120px;
    margin-bottom: 4px;
}

.tips-loading-placeholder--confidence-value {
    height: 16px;
    width: 50px;
}

/* Summary placeholders */
.tips-loading-placeholder--summary-title {
    height: 20px;
    width: 180px;
    margin-bottom: 1rem;
}

.tips-loading-placeholder--summary-text {
    height: 14px;
    width: 100%;
    margin-bottom: 8px;
}

.tips-loading-placeholder--summary-text:nth-child(2) {
    width: 90%;
}

.tips-loading-placeholder--summary-text:nth-child(3) {
    width: 70%;
}

/* Load More Button */
.tips-load-more {
    text-align: center;
    margin: 2rem 0;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: auto !important;
    display: block !important;
    z-index: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

.tips-load-more__button {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tips-load-more__button:hover:not(:disabled) {
    background: #27ae60;
}

.tips-load-more__button:disabled,
.tips-load-more__button.htmx-request {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.tips-load-more__loading {
    display: none;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.tips-load-more__loading i {
    font-size: 1rem;
    color: inherit;
}

.tips-load-more__button.htmx-request .tips-load-more__loading,
.tips-load-more__button:disabled .tips-load-more__loading {
    display: inline-block;
}

.tips-load-more__button.htmx-request .tips-load-more__text,
.tips-load-more__button:disabled .tips-load-more__text {
    opacity: 0.8;
}

@media (max-width: 48em) {
    .tips-load-more {
        /* Hide load more button on mobile devices */
        display: none !important;
    }
}
