.prototype-screen {
    --blue: #0077bb;
    --deep: #00466e;
    --pale: #bbe6ff;
    --yellow: #ffd31a;
    --ink: #111111;
    --muted: #52636f;
    --line: #d5e6ef;
    min-height: 100%;
    padding-bottom: 24px;
    color: var(--ink);
    background: #ffffff;
    font-family: "Geist", Arial, sans-serif;
}

.prototype-app-header {
    height: calc(98px + env(safe-area-inset-top, 0px));
    min-height: calc(98px + env(safe-area-inset-top, 0px));
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 8;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 14px;
    color: #ffffff;
    background: linear-gradient(110deg, var(--deep), var(--blue));
}

.prototype-app-header .brand {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.prototype-app-header .brand strong {
    overflow: hidden;
    font-size: 20px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prototype-app-header .brand span {
    margin-top: 2px;
    font-size: 11px;
    opacity: 0.8;
}

.prototype-icon-button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.33);
    border-radius: 15px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.prototype-breadcrumbs {
    min-height: 49px;
    display: flex;
    overflow-x: auto;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-bottom: 1px solid var(--line);
    background: #f5fbff;
    white-space: nowrap;
    scrollbar-width: none;
}

.prototype-breadcrumbs a {
    padding: 6px 2px;
    color: var(--blue);
    text-decoration: none;
    font-size: 12px;
}

.prototype-breadcrumbs a.current {
    color: var(--ink);
    font-weight: 800;
}

.prototype-breadcrumbs b {
    color: #8fa7b6;
}

.prototype-content {
    padding: 24px 22px 20px;
}

.prototype-content > h1 {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
    font-size: 29px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.prototype-content > h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 54px;
    height: 4px;
    border-radius: 99px;
    background: var(--yellow);
}

.prototype-list {
    display: grid;
    gap: 11px;
}

.prototype-list-link {
    width: 100%;
    min-height: 82px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: var(--ink);
    text-align: left;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
}

.prototype-list-link:hover,
.prototype-list-link:focus-visible {
    color: var(--ink);
    border-color: var(--blue);
    outline: 0;
}

.prototype-shirt {
    position: relative;
    width: 48px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--deep);
}

.prototype-shirt i {
    position: absolute;
    color: var(--pale);
    font-size: 46px;
    -webkit-text-stroke: 1px #7fb9d5;
}

.prototype-shirt b {
    position: relative;
    z-index: 1;
    margin-top: 3px;
    color: var(--deep);
    font-size: 13px;
    font-weight: 950;
}

.prototype-list-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prototype-list-copy strong {
    font-size: 15px;
}

.prototype-list-copy small {
    color: var(--muted);
    font-size: 12px;
}

.prototype-list-arrow {
    color: var(--blue);
    font-weight: 900;
}

.prototype-section-title {
    min-height: 42px;
    margin: 11px 0 1px;
    padding: 8px 11px;
    display: flex;
    align-items: center;
    border-left: 4px solid var(--blue);
    border-radius: 0 10px 10px 0;
    background: #edf8fd;
}

.prototype-section-title h2 {
    margin: 0;
    font-size: 18px;
}

.prototype-info-card {
    margin-bottom: 13px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 7px 18px rgba(0, 70, 110, 0.04);
}

.prototype-info-card.accented {
    border-top: 5px solid var(--yellow);
    background: linear-gradient(160deg, #ffffff, #f5fbff);
}

.prototype-card-kicker {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--blue);
    font-size: 10px;
    letter-spacing: 0.1em;
    font-weight: 850;
    text-transform: uppercase;
}

.prototype-info-card h2 {
    margin: 4px 0 9px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--line);
    font-size: 19px;
}

.prototype-info-card p,
.prototype-intro {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.prototype-action {
    min-height: 46px;
    margin-top: 16px;
    padding: 11px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 11px;
    color: #ffffff;
    background: var(--blue);
    text-decoration: none;
    font-weight: 750;
}

.prototype-action:hover,
.prototype-action:focus-visible {
    color: #ffffff;
    background: var(--deep);
}

.prototype-club-hero,
.prototype-shop-hero {
    margin-bottom: 14px;
    padding: 20px;
    overflow: hidden;
    position: relative;
    border-radius: 19px;
    color: #ffffff;
    background: linear-gradient(125deg, #08131a, #0b3044);
}

.prototype-club-hero::after,
.prototype-shop-hero::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -65px;
    width: 160px;
    height: 160px;
    border: 24px solid rgba(255, 211, 26, 0.12);
    border-radius: 50%;
}

.prototype-club-hero strong,
.prototype-shop-hero strong {
    display: block;
    max-width: 270px;
    font-size: 24px;
    line-height: 1.15;
}

.prototype-club-hero p,
.prototype-shop-hero p {
    max-width: 285px;
    margin: 10px 0 0;
    color: #c7dce7;
    font-size: 13px;
    line-height: 1.45;
}

.prototype-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.prototype-benefits ul {
    margin: 9px 0 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.prototype-external-note {
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 10px;
}

.prototype-team-title {
    margin-bottom: 18px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 5px solid var(--blue);
    border-radius: 0 15px 15px 0;
    background: linear-gradient(90deg, #e8f6fd, #ffffff);
}

.prototype-team-title img {
    flex: 0 0 auto;
    width: 58px;
    height: 76px;
    object-fit: contain;
}

.prototype-team-title h1 {
    margin: 0 0 4px;
    font-size: 27px;
    line-height: 1.05;
}

.prototype-team-title span {
    color: var(--muted);
    font-size: 13px;
}

.prototype-tabs {
    margin: 0 0 17px;
    padding: 4px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    border-radius: 13px;
    background: #edf7fc;
}

.prototype-tabs button {
    min-width: 0;
    padding: 10px 4px;
    border: 0;
    border-radius: 10px;
    color: #31596f;
    background: transparent;
    font-size: 12px;
}

.prototype-tabs button.selected {
    color: var(--blue);
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 70, 110, 0.08);
    font-weight: 800;
}

.prototype-league-table {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
}

.prototype-league-table header,
.prototype-league-table > div {
    min-height: 45px;
    padding: 8px 10px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 32px 34px 38px;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
}

.prototype-league-table header {
    color: var(--deep);
    background: #edf7fc;
    font-size: 10px;
    font-weight: 850;
}

.prototype-league-table > div.own-team {
    border-left: 5px solid var(--yellow);
    background: #fffbea;
}

.prototype-league-table > div strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prototype-schedule-list {
    display: grid;
    gap: 10px;
}

.prototype-schedule-list article {
    min-height: 78px;
    padding: 12px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #ffffff;
}

.prototype-schedule-list time {
    color: var(--blue);
    text-align: center;
    font-size: 10px;
    font-weight: 800;
}

.prototype-schedule-list time b {
    font-size: 14px;
}

.prototype-schedule-list article > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.prototype-schedule-list small {
    color: var(--blue);
    font-size: 9px;
    font-weight: 850;
}

.prototype-schedule-list strong {
    font-size: 12px;
}

.prototype-schedule-list span {
    color: var(--muted);
    font-size: 10px;
}

.prototype-schedule-list article > b {
    color: var(--blue);
}

.prototype-fixtures {
    display: grid;
    gap: 10px;
    margin: 10px 0 18px;
}

.prototype-fixtures h3 {
    margin: 5px 2px 0;
    color: var(--blue);
    font-size: 10px;
    letter-spacing: 0.08em;
    font-weight: 850;
}

.prototype-fixture-row {
    min-height: 82px;
    padding: 13px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #ffffff;
}

.prototype-fixture-team {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 7px;
}

.prototype-fixture-team.away {
    flex-direction: row-reverse;
    text-align: right;
}

.prototype-fixture-team strong {
    overflow: hidden;
    font-size: 11px;
    line-height: 1.2;
    text-overflow: ellipsis;
}

.prototype-fixture-score {
    min-width: 52px;
    padding: 7px;
    display: grid;
    place-items: center;
    gap: 2px;
    border-radius: 9px;
    color: var(--deep);
    background: var(--pale);
    font-size: 13px;
    font-weight: 900;
}

.prototype-fixture-score small {
    color: var(--muted);
    font-size: 8px;
}

@media (max-width: 380px) {
    .prototype-app-header {
        grid-template-columns: 46px minmax(0, 1fr) auto;
        gap: 7px;
        padding-inline: 10px;
    }

    .prototype-icon-button {
        width: 42px;
        height: 42px;
    }

    .prototype-content {
        padding-inline: 16px;
    }

    .prototype-benefits {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 701px) {
    .prototype-content {
        width: min(100%, 780px);
        margin-inline: auto;
        padding-inline: 28px;
    }
}

@media (min-width: 840px) {
    .prototype-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .prototype-list > .prototype-section-title {
        grid-column: 1 / -1;
    }
}

/* Accessible public type scale. Relative units respect browser and OS text
   enlargement while keeping dense match data visually subordinate. */
.prototype-app-header .brand span {
    font-size: 0.8125rem;
}

.prototype-breadcrumbs a,
.prototype-card-kicker,
.prototype-fixtures h3 {
    font-size: 0.8125rem;
}

.prototype-list-copy strong {
    font-size: 1.0625rem;
}

.prototype-list-copy small,
.prototype-team-title span,
.prototype-tabs button,
.prototype-league-table > div,
.prototype-schedule-list span,
.prototype-fixture-team strong {
    font-size: 0.875rem;
}

.prototype-section-title h2,
.prototype-info-card h2 {
    font-size: 1.25rem;
}

.prototype-info-card p,
.prototype-intro {
    font-size: 1rem;
}

.prototype-club-hero p,
.prototype-shop-hero p,
.prototype-benefits ul {
    font-size: 0.9375rem;
}

.prototype-external-note,
.prototype-league-table header,
.prototype-schedule-list time,
.prototype-schedule-list small {
    font-size: 0.75rem;
}

.prototype-schedule-list time b {
    font-size: 1rem;
}

.prototype-schedule-list strong {
    font-size: 0.9375rem;
}

.prototype-fixture-score {
    font-size: 1rem;
}

.prototype-fixture-score small {
    font-size: 0.6875rem;
}
