@font-face {
    font-family: ArenaHeading;
    src: url("/users/assets/fonts/heading.ttf") format("truetype");
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: ArenaTeam;
    src: url("/users/assets/fonts/team.ttf") format("truetype");
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Anybody Bold";
    src: url("/users/assets/fonts/seat.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: Roboto;
    src: url("/users/assets/fonts/roboto-regular.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: Roboto;
    src: url("/users/assets/fonts/roboto-bold.woff") format("woff");
    font-weight: 700;
    font-display: swap;
}

:root {
    color-scheme: light;
    --body: Roboto, Arial, sans-serif;
    --heading: ArenaHeading, Arial, sans-serif;
    --team: ArenaTeam, var(--heading);
    --seat-font: "Anybody Bold", Arial, sans-serif;
    --ink: #07112c;
    --navy: #0c1740;
    --gold: #ffbf3e;
    --paper: #f7f6f1;
    --stock: #fffef9;
    --line: #d5dce1;
    --muted: #536079;
    --slate: #243740;
    font-family: var(--body);
    background: var(--paper);
    color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.profile-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid #365ac1;
    outline-offset: 3px;
}

.profile-icon {
    width: 18px;
    height: 18px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shell { width: min(1304px, calc(100% - clamp(32px, 9vw, 136px))); margin-inline: auto; }
.site-header { position: relative; z-index: 1; background: var(--navy); color: #edf0fb; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; }
.site-logo { display: flex; align-items: center; flex-shrink: 0; min-height: 44px; }
.site-logo img { display: block; width: clamp(124px, 30vw, 178px); height: auto; }
.nav-join { margin-inline-start: 4px; white-space: nowrap; }
.site-actions { display: flex; align-items: center; gap: 4px; }
.site-header :focus-visible { outline-color: var(--gold); }
.nav-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding-inline: 15px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: 700 14px/1 var(--body);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.nav-action:hover, .share[open] > .nav-action { background: #233052; }
.share { position: relative; }
.share summary { list-style: none; }
.share summary::-webkit-details-marker { display: none; }
.share-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: max-content;
    min-width: 170px;
    margin: 0;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--stock);
    color: var(--navy);
    box-shadow: 0 8px 22px rgb(12 23 64 / 15%);
    list-style: none;
}
.share-options a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding-inline: 11px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.share-options a:hover { background: #e8edf8; }
.share-options a:focus-visible { outline-color: #365ac1; outline-offset: -2px; }

.profile { margin-block: clamp(20px, 3vw, 38px) 64px; }
.profile-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    min-height: 135px;
    padding: 20px clamp(20px, 2.4vw, 32px) 23px;
    border: 1px solid #acb6b5;
    border-radius: 8px;
    background:
        linear-gradient(104deg, transparent 13%, #6d878a22 13% calc(13% + 1px), transparent calc(13% + 1px)),
        linear-gradient(104deg, transparent 32%, #6d878a22 32% calc(32% + 1px), transparent calc(32% + 1px)),
        linear-gradient(104deg, transparent 44%, #6d878a22 44% calc(44% + 1px), transparent calc(44% + 1px)),
        linear-gradient(105deg, #edf0e8, #fbfcf6 44%, #dfe5e2);
    box-shadow: 0 3px 0 #c4ccca, 0 6px 14px rgb(20 37 49 / 7%);
}
.profile-summary:not(.missing) {
    background: #f8faf4 url("./community-scoreboard.svg") center / cover no-repeat;
}
.profile-summary:not(.missing)::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 34%;
    height: 5px;
    background: linear-gradient(90deg, #1b303d 66%, #a8b4b6 66% 75%, var(--gold) 75%);
}
.identity { display: flex; align-items: center; gap: clamp(13px, 2vw, 20px); min-width: 0; }
.identity-text { min-width: 0; }
.avatar {
    position: relative;
    display: grid;
    place-items: center;
    flex: none;
    width: clamp(54px, 7vw, 76px);
    aspect-ratio: 1;
    overflow: hidden;
    border: 2px solid #f8faf4;
    border-radius: 50%;
    background: #e2e8e4;
    box-shadow: 0 0 0 1px #9dadaf;
    color: var(--slate);
    font: 700 clamp(22px, 4vw, 34px)/1 var(--body);
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
h1, h2, h3 { margin: 0; font-family: var(--heading); font-weight: 800; }
h1 { color: #101f2a; font-size: clamp(32px, 4.7vw, 54px); line-height: 1.05; overflow-wrap: anywhere; }
.identity h1 {
    color: var(--navy);
    font: 800 46px/49px var(--heading);
    letter-spacing: -.9px;
}
.profile-summary .buy-panel__badges { margin-top: 8px; }
.counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 260px); margin: 0; }
.counts > div { display: flex; flex-direction: column-reverse; gap: 3px; min-width: 0; padding-inline: 8px; }
.counts > div + div { border-inline-start: 1px solid #acb9b9; }
.counts dd {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    color: var(--slate);
    font-size: 34px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 36px;
}
.counts dd span { min-width: 0; overflow-wrap: anywhere; }
.counts dt { color: #364851; font-size: 14px; font-weight: 700; line-height: 18px; }
.counts .profile-icon { width: 13px; height: 13px; color: #364851; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 7px 13px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 700;
    text-decoration: none;
}
.button-gold { border-color: #e0a12a; background: var(--gold); color: var(--ink); box-shadow: 0 2px 0 #dca029; font-size: 14px; }
.button-gold:hover { background: #ffcd64; }
.button-gold .profile-icon { width: 16px; height: 16px; }
.notice { margin: 22px 0 0; padding: 12px 16px; border: 1px solid #e0c987; border-radius: 8px; background: #fff0ce; }
.missing { grid-template-columns: 1fr; justify-items: start; gap: 14px; }
.missing p { margin: 0; color: var(--muted); }

.profile-sections { display: grid; align-items: start; gap: clamp(24px, 2.6vw, 38px); margin-top: clamp(25px, 3vw, 36px); }
.profile-section {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #aebabb;
    border-bottom-width: 3px;
    border-radius: 8px;
    background: var(--stock);
}
#teams { scroll-margin-top: 18px; }
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px 8px;
    padding: 13px 15px;
    border-bottom: 1px solid #b8c3bd;
    background: #f1f3ed;
}
.section-heading h2 { color: #122334; font-size: 23px; line-height: 26px; text-transform: uppercase; }
.listing-count { color: var(--muted); font: 400 11px/1.2 ui-monospace, monospace; }

.team-intro {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    padding: 14px 15px;
    border-bottom: 1px solid var(--line);
    background: #fafbf7;
    color: #3d4c67;
    font-size: 13px;
    line-height: 1.4;
}
.team-intro .profile-icon { width: 16px; height: 16px; margin-top: 1px; color: #344e82; }
.team-list, .ticket-list { margin: 0; padding: 0; list-style: none; }
.team-row { display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 10px 14px; }
.team-row + .team-row { border-top: 1px solid var(--line); }
.team-mark {
    display: grid;
    flex: 0 0 40px;
    place-items: center;
    width: 40px;
    height: 40px;
    border-bottom: 3px solid var(--team-accent);
    border-radius: 6px;
    background: var(--team-color);
    color: var(--team-ink);
    font: italic 800 14px/1 var(--team);
}
.team-name { display: grid; flex: 1; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.team-name strong { font-size: 14px; }
.team-name > span { color: var(--muted); font-size: 12px; }
.team-action { min-width: 88px; padding-inline: 9px; border-color: #c6d1df; background: #f1f4fa; color: var(--navy); font-size: 13px; }
.team-action:hover { background: #e4ebf8; }
.team-action.is-following { border-color: #b9d3ca; background: #e7f2ed; color: #245543; }
.team-action.is-following:hover { background: #d7ebe2; }
.team-action .profile-icon, .team-sign-in .profile-icon { width: 15px; height: 15px; }
.team-sign-in { padding: 7px 12px; border-top: 1px solid var(--line); }
.team-sign-in .button { width: 100%; color: var(--navy); background: transparent; font-size: 13px; }
.team-sign-in .button:hover { background: #e8edf8; }
.empty-tickets { display: flex; align-items: center; gap: 12px; padding: 20px; color: var(--muted); }
.empty-tickets p { margin: 0; }
.empty-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 8px; background: #e8edf8; color: var(--navy); }

.ticket-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 312px), 1fr));
    gap: 12px;
    padding: clamp(10px, 1.3vw, 15px);
}
.ticket-list > li { min-width: 0; }
.profile-ticket {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #adbabe;
    border-radius: 8px;
    background: var(--stock);
    text-decoration: none;
}
.profile-ticket:hover { border-color: #728090; box-shadow: 0 3px 9px rgb(20 37 49 / 10%); }
.profile-ticket:focus-visible { outline-offset: 2px; }
.profile-ticket .buy-board {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 138px;
    border-radius: 7px 7px 0 0;
    color: #fffdf2;
}
.profile-ticket .buy-board-meta { gap: 6px 12px; padding: 12px 13px 0; }
.profile-ticket .buy-date-ribbon { padding-inline-start: 7px; font-size: clamp(.72rem, 1.2vw, .85rem); }
.profile-ticket .buy-date-ribbon svg { width: 12px; height: 12px; }
.profile-ticket .buy-date { padding-block: 5px; }
.profile-ticket .buy-game-time { margin-inline-start: 2px; padding: 5px 5px 5px 7px; }
.profile-ticket .buy-game-time::before { inset-inline-end: -5px; }
.profile-ticket .buy-event-kind { padding: 3px 4px; font-size: .62rem; }
.profile-ticket .buy-faceoff { flex: 1; gap: clamp(5px, 1.05vw, 12px); padding: 16px 14px 19px; }
.profile-ticket .buy-city { font-size: clamp(.58rem, 1vw, .67rem); }
.profile-ticket .buy-nickname { font-size: clamp(1.6rem, 3.3vw, 2.6rem); }
.profile-ticket .buy-versus { padding: 4px 6px 3px; font-size: clamp(.83rem, 1.4vw, 1.05rem); }
.profile-ticket .buy-team i { width: 28px; height: 3px; }
.profile-ticket .buy-event-title { display: grid; flex: 1; align-content: center; padding: 16px 14px 19px; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.ticket-venue {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-top: 1px solid #ffffff38;
    background: #172731;
    color: #fffdf2;
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.ticket-venue .profile-icon { width: 14px; height: 14px; color: var(--gold); }
.ticket-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
}
.ticket-seats, .ticket-price { display: grid; gap: 3px; overflow-wrap: anywhere; }
.ticket-seats > strong { font-size: 14px; }
.ticket-seats > span, .ticket-price > span { color: var(--muted); font-size: 12px; }
.ticket-price { padding-inline-start: 10px; border-inline-start: 1px solid var(--line); }
.ticket-price > strong { font-size: 19px; line-height: 1; letter-spacing: -.035em; }
.ticket-arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: #e8edf8; color: var(--navy); }
.profile-ticket:hover .ticket-arrow { background: var(--gold); }
.ticket-arrow .profile-icon { width: 16px; height: 16px; }

@media (min-width: 900px) {
    .profile-sections.has-teams { grid-template-columns: minmax(0, 1fr) minmax(285px, .43fr); }
}
@media (min-width: 920px) {
    .profile-summary:not(.missing) { grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 24px; }
}
@media (max-width: 620px) {
    .site-header-inner { min-height: 56px; gap: 8px; }
    .site-actions { gap: 2px; }
    .nav-action { min-height: 44px; padding-inline: 8px; gap: 5px; font-size: 13px; }
    .nav-action .profile-icon { width: 16px; height: 16px; }
    .profile-summary { grid-template-columns: 1fr; gap: 14px; padding: 16px 16px 19px; }
    .identity { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 11px 13px; }
    .identity-text { display: contents; }
    .profile-summary .buy-panel__badges { grid-column: 1 / -1; margin-top: 0; }
}
@media (width < 540px) {
    .identity h1 { font-size: 33px; line-height: 37px; letter-spacing: -.5px; }
    .counts > div { padding-inline: 3px; }
    .counts dd { font-size: 25px; line-height: 28px; }
    .counts dt { font-size: 12px; line-height: 16px; }
    .counts .profile-icon { width: 10px; height: 10px; }
}
@media (max-width: 520px) {
    .has-join .nav-action { width: 44px; padding-inline: 0; }
    .has-join .nav-action span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .has-join .nav-join { padding-inline: 9px; font-size: 12px; margin-inline-start: 1px; }
    .has-join .share-options { left: 0; right: auto; width: 170px; }
}
@media (max-width: 375px) {
    .has-join .site-logo { width: 28px; overflow: hidden; }
    .has-join .site-logo img { width: auto; max-width: none; height: 27px; }
    .ticket-price > strong { font-size: 17px; }
}
