:root {
    --blue: #087bff;
    --blue-deep: #0058a8;
    --cyan: #05a6da;
    --ink: #111315;
    --muted: #818181;
    --surface: #ffffff;
    --soft-surface: #f4f4f4;
    --line: #e1e1e1;
    --pink: #ff4f9a;
    --miniapp-gradient: url("/miniapp/gopay/img/bggradient.png");
}

* {
    box-sizing: border-box;
}

html {
    background: #eaf0f6;
    color: var(--ink);
    font-family: "Google Sans", sans-serif;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background: #eaf0f6;
}

button,
input,
select {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

.phone-shell {
    position: relative;
    width: min(100%, 390px);
    min-height: 100dvh;
    margin: 0 auto;
    overflow-x: hidden;
    background-color: #087fbd;
    background-image: var(--miniapp-gradient);
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100% 741px;
    box-shadow: 0 0 40px rgba(27, 54, 80, .14);
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

.phone-shell.without-bottom-nav {
    padding-bottom: 0;
}

.gopay-chrome {
    height: 103px;
    padding: calc(14px + env(safe-area-inset-top)) 20px 12px;
    color: #fff;
    background: #121416;
}

.status-bar,
.provider-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-bar {
    height: 26px;
    padding: 0 19px 0 20px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.4px;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.signal {
    display: flex;
    align-items: end;
    gap: 2px;
    height: 13px;
}

.signal i {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: #f4f4f4;
}

.signal i:nth-child(1) {
    height: 4px;
    opacity: .55;
}

.signal i:nth-child(2) {
    height: 7px;
    opacity: .7;
}

.signal i:nth-child(3) {
    height: 10px;
    opacity: .85;
}

.signal i:nth-child(4) {
    height: 13px;
}

.battery {
    display: inline-flex;
    align-items: center;
    min-width: 27px;
    height: 15px;
    padding: 0 4px;
    border-radius: 4px;
    color: #181a1c;
    background: linear-gradient(90deg, #ffd523 0 28%, #d9d9d9 28% 100%);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.provider-bar {
    justify-content: flex-start;
    gap: 18px;
    height: 50px;
    padding-top: 12px;
}

.close-button {
    display: grid;
    width: 24px;
    height: 24px;
    padding: 0;
    place-items: center;
    color: #a7adb1;
    border: 0;
    background: transparent;
}

.provider-name {
    font-size: 20px;
    font-weight: 700;
}

.hero {
    position: relative;
    min-height: 120px;
    padding: 18px 16px 16px;
    color: #fff;
    background-color: #087fbd;
    background-image: var(--miniapp-gradient);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 390px 741px;
}

.page-title {
    margin: 0 0 18px;
    text-align: center;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -.5px;
}

.ticket-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 42px;
    padding: 2px;
    border-radius: 10px;
    background: rgba(0, 55, 107, .9);
    box-shadow: 0 2px 5px rgba(0, 29, 72, .18);
}

.ticket-tab {
    min-height: 38px;
    padding: 7px 10px;
    color: rgba(255, 255, 255, .6);
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.ticket-tab[aria-selected="true"] {
    color: #065a9e;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 35, 65, .2);
    font-weight: 700;
}

.filters {
    position: relative;
    z-index: 2;
    padding: 16px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(28, 46, 66, .11);
}

.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 39px;
    padding: 0 13px;
    border-radius: 9px;
    color: #858585;
    background: #f1f1f1;
}

.search-field:focus-within {
    outline: 2px solid rgba(8, 123, 255, .28);
    outline-offset: 1px;
}

.search-field input {
    width: 100%;
    min-width: 0;
    padding: 0;
    color: #222;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 14px;
}

.search-field input::placeholder {
    color: #b9b9b9;
    opacity: 1;
}

.filter-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.select-wrap {
    position: relative;
    min-width: 0;
}

.filter-source {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.filter-trigger {
    display: flex;
    width: 100%;
    height: 31px;
    padding: 0 9px 0 11px;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    overflow: hidden;
    color: #777;
    border: 1px solid #d7d7d7;
    border-radius: 999px;
    outline: 0;
    background: #fff;
    font-size: 13px;
    line-height: 1;
}

.filter-trigger>span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-trigger.has-value {
    color: #075eac;
    border-color: #86bdf4;
    background: #f4f9ff;
}

.filter-trigger:focus-visible {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(8, 123, 255, .14);
}

.filter-trigger svg {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    pointer-events: none;
}

.content-panel {
    padding: 23px 16px 20px;
    background-color: #fff;
    min-height: 100vh;
}

.ticket-list {
    display: grid;
    gap: 18px;
}

.ticket-item {
    position: relative;
    display: block;
    padding-bottom: 31px;
    color: inherit;
    border-radius: 12px;
    background: #f4f4f4;
    box-shadow: 0 3px 13px rgba(24, 37, 49, .09);
    text-decoration: none;
}

.ticket-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid #ededed;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 6px 14px rgba(24, 37, 49, .12);
}

.event-title {
    min-height: 35px;
    padding: 9px 42px 7px;
    color: #fff;
    background: linear-gradient(to right,#0099DB 0%,#20ADE5 50%,#84D9FF 100%);
    text-align: center;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}

.category-pill {
    position: absolute;
    z-index: 2;
    top: 35px;
    left: 50%;
    min-width: 64px;
    padding: 3px 13px 4px;
    transform: translateX(-50%);
    border-radius: 0 0 17px 17px;
    color: #fff;
    background: var(--pink);
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;
    line-height: 100%;
    font-weight: 500;
    letter-spacing: 8%;
}

.ticket-item[data-gender="boys"] .category-pill {
    background: linear-gradient(#1687cb, #064c91);
}

.ticket-item[data-gender="girls"] .category-pill {
    background: linear-gradient(#f7b8d2, #FF4D97);
}

.match-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr);
    align-items: end;
    gap: 4px;
    min-height: 115px;
    padding: 20px 11px 14px;
}

.team {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    justify-content: flex-end;
    text-align: center;
}

.team-logo {
    display: block;
    width: 46px;
    height: 46px;
    margin-bottom: 7px;
    object-fit: contain;
}

.team-name {
    margin: 0;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 700;
}

.match-time {
    padding-bottom: 1px;
    text-align: center;
    font-size: 13px;
    line-height: 1.2;
}

.match-time strong,
.match-time span {
    display: block;
}

.match-time strong {
    margin-bottom: 3px;
    font-weight: 700;
}

.match-time span {
    color: #8b8b8b;
}

.ticket-non-match {
    padding-top: 10%;
    padding-bottom: 10%;
    text-align: center
}

.ticket-name{
    margin: 0;
    font-size: 16px;
    line-height: 1.15;
    font-weight: 700;
}

.location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 45px;
    margin: 0 11px;
    padding: 11px 6px 10px;
    color: #8b8b8b;
    border-top: 1px dashed #d9d9d9;
    text-align: center;
    font-size: 12px;
    line-height: 1.2;
}

.location svg {
    flex: 0 0 auto;
}

.price-strip {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 31px;
    padding: 7px 10px 4px;
    color: #888;
    font-size: 11px;
}

.price-strip strong {
    color: #075eac;
    font-weight: 700;
}

.ticket-item.is-sold-out .ticket-card {
    filter: grayscale(1);
}

.ticket-item.is-sold-out .ticket-card::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: rgba(255, 255, 255, .47);
}

.ticket-item.is-sold-out .price-strip {
    color: #777;
    font-weight: 500;
    letter-spacing: .2px;
}

.ticket-item[hidden] {
    display: none;
}

.empty-state {
    display: none;
    min-height: 235px;
    padding: 45px 28px;
    place-items: center;
    border: 1px solid #ededed;
    border-radius: 14px;
    color: #7b7b7b;
    background: #fff;
    text-align: center;
    box-shadow: 0 5px 16px rgba(24, 37, 49, .07);
}

.empty-state.is-visible {
    display: grid;
}

.empty-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    place-items: center;
    border-radius: 50%;
    color: #4d9de2;
    background: #eaf5ff;
}

.empty-state h2 {
    margin: 0 0 7px;
    color: #222;
    font-size: 18px;
}

.empty-state p {
    max-width: 260px;
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

body.filter-sheet-open {
    overflow: hidden;
}

.filter-sheet-backdrop {
    position: fixed;
    z-index: 50;
    top: 0;
    bottom: 0;
    left: 50%;
    display: flex;
    width: min(100%, 390px);
    align-items: flex-end;
    transform: translateX(-50%);
    background: rgba(17, 19, 21, .52);
    opacity: 0;
    transition: opacity .18s ease;
}

.filter-sheet-backdrop[hidden] {
    display: none;
}

.filter-sheet-backdrop.is-visible {
    opacity: 1;
}

.filter-sheet {
    width: 100%;
    max-height: min(76dvh, 610px);
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    background: #fff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .13);
    transform: translateY(24px);
    transition: transform .18s ease;
}

.filter-sheet-backdrop.is-visible .filter-sheet {
    transform: translateY(0);
}

.filter-sheet-handle {
    width: 36px;
    height: 4px;
    margin: 7px auto 8px;
    border-radius: 999px;
    background: #d7d7d7;
}

.filter-sheet form {
    display: flex;
    max-height: calc(min(76dvh, 610px) - 19px);
    padding: 6px 14px 16px;
    flex-direction: column;
}

.filter-sheet h2 {
    margin: 0;
    padding: 7px 0 10px;
    flex: 0 0 auto;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.filter-sheet-options {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.filter-sheet-option {
    display: flex;
    min-height: 42px;
    padding: 8px 2px 8px 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #ededed;
    font-size: 13px;
    line-height: 1.3;
    cursor: pointer;
}

.filter-sheet-option:last-child {
    border-bottom: 0;
}

.filter-sheet-option input {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 18px;
    accent-color: #0167ff;
    cursor: pointer;
}

.filter-sheet-save {
    width: 100%;
    min-height: 35px;
    margin-top: 17px;
    padding: 8px 14px;
    flex: 0 0 auto;
    color: #fff;
    border: 0;
    border-radius: 4px;
    background: #0167ff;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
}

.filter-sheet-save:focus-visible {
    outline: 3px solid rgba(1, 103, 255, .3);
    outline-offset: 2px;
}

.bottom-nav {
    position: fixed;
    z-index: 10;
    right: 0;
    bottom: 0;
    left: 50%;
    display: grid;
    width: min(100%, 390px);
    min-height: calc(70px + env(safe-area-inset-bottom));
    padding: 9px 10px calc(7px + env(safe-area-inset-bottom));
    grid-template-columns: repeat(5, 1fr);
    transform: translateX(-50%);
    border-top: 1px solid #ececec;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -4px 14px rgba(26, 42, 60, .08);
    backdrop-filter: blur(12px);
}

.nav-item {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 53px;
    padding: 2px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    color: #818181;
    border: 0;
    background: transparent;
    font-size: 12px;
    line-height: 1;
}

.nav-item img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.nav-item.is-active {
    color: #fff;
}

.nav-item span {
    margin-bottom: 10px;
}

.nav-item.is-active::before {
    position: absolute;
    z-index: -1;
    bottom: -1px;
    left: 50%;
    width: 65px;
    height: 65px;
    content: "";
    transform: translateX(-50%);
    border: 4px solid #b9dbff;
    border-radius: 50%;
    background: #087bff;
    box-shadow: 0 2px 6px rgba(0, 92, 214, .2);
}

.nav-item.is-active img {
    width: 26px;
    height: 20px;
    margin-bottom: 2px;
}

.toast {
    position: fixed;
    z-index: 20;
    bottom: calc(87px + env(safe-area-inset-bottom));
    left: 50%;
    width: max-content;
    max-width: calc(min(100%, 390px) - 32px);
    padding: 9px 13px;
    transform: translate(-50%, 12px);
    border-radius: 9px;
    color: #fff;
    background: rgba(18, 20, 22, .94);
    font-size: 13px;
    line-height: 1.3;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.toast.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ticket-detail {
    min-height: 100dvh;
    color: #111315;
    background: #f7f7f7;
}

.ticket-detail-hero {
    position: relative;
    height: 149px;
    overflow: hidden;
    background: #07136f;
}

.ticket-detail-hero>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticket-detail-back {
    position: absolute;
    top: 16px;
    left: 16px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #0668a9;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.ticket-detail-back:focus-visible,
.ticket-terms-toggle:focus-visible,
.ticket-select-button:focus-visible {
    outline: 3px solid rgba(1, 103, 255, .3);
    outline-offset: 2px;
}

.ticket-detail-summary {
    position: relative;
    padding: 24px 16px 16px;
    background: #fff;
    box-shadow: 0 5px 13px rgba(26, 42, 60, .08);
}

.ticket-detail-gender {
    position: absolute;
    top: 0;
    left: 16px;
    min-width: 64px;
    padding: 5px 14px 6px;
    transform: translateY(-1px);
    color: #fff;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(#ff78af, #ff4d97);
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

.ticket-detail-teams {
    display: grid;
    gap: 8px;
}

.ticket-detail-team {
    display: flex;
    min-height: 36px;
    align-items: center;
    gap: 12px;
}

.ticket-detail-team img {
    display: block;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    object-fit: contain;
}

.ticket-detail-team strong {
    font-size: 16px;
    line-height: 1.18;
    font-weight: 700;
}

.ticket-detail-meta {
    margin-top: 17px;
    padding: 15px 14px 13px;
    color: #8b8b8b;
    border-top: 1px dashed #dadada;
}

.ticket-detail-meta p {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
}

.ticket-detail-meta p+p {
    margin-top: 8px;
}

.ticket-detail-meta svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
}

.ticket-terms-toggle {
    display: flex;
    width: 100%;
    min-height: 36px;
    padding: 6px 12px;
    align-items: center;
    justify-content: space-between;
    color: #161616;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    text-align: left;
    font-size: 14px;
}

.ticket-terms-toggle svg {
    width: 7px;
    height: 13px;
    color: #818181;
    transition: transform .18s ease;
}

.ticket-terms-toggle[aria-expanded="true"] svg {
    transform: rotate(90deg);
}

.ticket-terms-content {
    margin-top: 8px;
    padding: 11px 12px;
    color: #747474;
    border-radius: 8px;
    background: #f5f5f5;
    font-size: 12px;
    line-height: 1.45;
}

.ticket-category-section {
    padding: 17px 16px 30px;
}

.ticket-category-section h2 {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
}

.ticket-category-list {
    display: grid;
    gap: 15px;
}

.ticket-category-card {
    position: relative;
}

.ticket-category-card.is-selected .ticket-category-body,
.ticket-category-card.is-selected .ticket-category-footer-shell {
    border-color: #0167ff;
    box-shadow: 0 6px 24px rgba(1, 103, 255, .18);
}

.ticket-category-body {
    position: relative;
    overflow: hidden;
    padding: 7px 7px 10px;
    border: 1px solid #f0f0f0;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(31, 46, 63, .1);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.ticket-category-body::before,
.ticket-category-body::after,
.ticket-category-footer-shell::before,
.ticket-category-footer-shell::after {
    position: absolute;
    z-index: 3;
    width: 16px;
    height: 16px;
    content: "";
    border-radius: 50%;
    background: #f7f7f7;
}

.ticket-category-body::before {
    bottom: -8px;
    left: -8px;
}

.ticket-category-body::after {
    right: -8px;
    bottom: -8px;
}

.ticket-category-image {
    display: block;
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
}

.ticket-category-notes {
    margin: 12px 8px 0;
    padding-left: 14px;
    color: #8b8b8b;
    font-size: 12px;
    line-height: 1.3;
}

.ticket-category-footer-shell {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding: 4px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(31, 46, 63, .1);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.ticket-category-footer-shell::before {
    top: -8px;
    left: -8px;
}

.ticket-category-footer-shell::after {
    top: -8px;
    right: -8px;
}

.ticket-category-footer {
    position: relative;
    display: flex;
    min-height: 62px;
    padding: 9px 10px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 7px;
    background: #f1f1f1;
}

.ticket-category-footer::before {
    position: absolute;
    top: -4px;
    right: 10px;
    left: 10px;
    content: "";
    border-top: 1px dashed #d2d2d2;
}

.ticket-category-price {
    min-width: 0;
}

.ticket-category-price>span {
    display: block;
    margin-bottom: 2px;
    color: #8b8b8b;
    font-size: 11px;
    line-height: 1;
}

.ticket-category-price>div {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.ticket-category-price strong {
    color: #f7070b;
    font-size: 17px;
    line-height: 1;
    font-weight: 700;
}

.ticket-category-price small,
.ticket-category-price b {
    color: #353535;
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
}

.ticket-coin {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.ticket-select-button {
    display: inline-flex;
    min-width: 82px;
    min-height: 31px;
    padding: 6px 10px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 0;
    border-radius: 5px;
    background: #0167ff;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 500;
    text-decoration: none;
}

.ticket-category-card.is-selected .ticket-select-button {
    background: #064fba;
}

/* GoPay ticket checkout */
.checkout-page {
    min-height: 100dvh;
    color: #151515;
    background: #f6f6f6;
}

.checkout-page.has-fixed-action {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

.checkout-long-page {
    padding-bottom: 18px;
}

.checkout-header {
    position: relative;
    display: flex;
    height: 72px;
    padding: 0 56px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #087fbd;
    background-image: var(--miniapp-gradient);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 390px 741px;
}

.checkout-header h1 {
    margin: 0;
    overflow: hidden;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-back {
    position: absolute;
    top: 18px;
    left: 16px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #087bff;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 7px rgba(0, 34, 83, .18);
}

.checkout-back svg {
    width: 22px;
    height: 22px;
}

.checkout-stepper {
    display: flex;
    min-height: 56px;
    margin: 0;
    padding: 0 14px;
    align-items: center;
    justify-content: center;
    list-style: none;
    background: #fff;
}

.checkout-stepper li {
    display: flex;
    min-width: 0;
    align-items: center;
    color: #ababab;
    text-align: center;
}

.checkout-stepper li:not(:last-child)::after {
    width: 15px;
    height: 1.5px;
    margin: 0 10px;
    flex: 0 0 15px;
    content: "";
    background: #929292;
}

.checkout-step-dot {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    border: 1.5px solid #929292;
    border-radius: 5px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}

.checkout-step-dot svg {
    width: 16px;
    height: 16px;
}

.checkout-stepper .is-active {
    color: #111;
}

.checkout-stepper .is-active .checkout-step-dot {
    color: #fff;
    border-color: #087bff;
    background: #087bff;
}

.checkout-stepper .is-complete .checkout-step-dot {
    color: #087bff;
    border-color: #087bff;
    background: #fff;
}

.checkout-step-label {
    margin-left: 7px;
    font-size: 11px;
    line-height: 1;
    font-weight: 500;
    white-space: nowrap;
}

.checkout-stepper .is-active .checkout-step-label {
    font-weight: 600;
}

.checkout-content {
    padding: 10px 12px 14px;
}

.checkout-event-card,
.checkout-panel {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .055);
}

.checkout-event-card {
    position: relative;
    overflow: hidden;
    padding: 9px 9px 10px;
}

.checkout-ticket-banner {
    display: block;
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 9px;
    background: #08147b;
}

.checkout-category-pill {
    position: absolute;
    top: 132px;
    left: 16px;
    min-width: 62px;
    padding: 3px 12px;
    transform: none;
    color: #fff;
    border-radius: 12px;
    background: #ef62a4;
    font-size: 9px;
    line-height: 1;
    font-weight: 600;
    text-align: center;
}

.checkout-matchup {
    display: flex;
    min-height: 114px;
    padding: 22px 8px 9px;
    align-items: stretch;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.checkout-team {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    text-align: left;
}

.checkout-team img {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    object-fit: contain;
}

.checkout-team strong {
    display: block;
    overflow: hidden;
    color: #161616;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-vs {
    display: none;
}

.checkout-event-meta {
    padding: 9px 7px 0;
    border-top: 1px dashed #cfcfcf;
}

.checkout-event-meta p {
    display: flex;
    margin: 0 0 4px;
    align-items: flex-start;
    gap: 7px;
    color: #777;
    font-size: 10px;
    line-height: 1.35;
}

.checkout-event-meta svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    color: #919191;
}

.checkout-reservation-content .checkout-buyer-panel {
    margin-top: 10px;
}

.checkout-panel {
    padding: 15px;
}

.checkout-panel h2,
.checkout-panel h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}

.checkout-quantity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout-counter {
    display: flex;
    align-items: center;
    gap: 17px;
}

.checkout-counter button {
    display: grid;
    width: 29px;
    height: 29px;
    padding: 0 0 2px;
    place-items: center;
    color: #fff;
    border: 1.5px solid #087bff;
    border-radius: 6px;
    background: #087bff;
    font-size: 23px;
    line-height: 1;
}

.checkout-counter button:last-child {
    color: #fff;
    border-color: #909090;
    background: #909090;
}

.checkout-counter strong {
    min-width: 12px;
    font-size: 15px;
    text-align: center;
}

.checkout-viewer-list {
    display: grid;
    margin-top: 17px;
    gap: 10px;
}

.checkout-viewer-row {
    display: flex;
    width: 100%;
    min-height: 49px;
    padding: 8px 13px;
    align-items: center;
    justify-content: space-between;
    color: #242424;
    border: 1px solid #d7d7d7;
    border-radius: 7px;
    background: #fff;
    text-align: left;
    text-decoration: none;
}

.checkout-viewer-row span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.checkout-viewer-row strong {
    font-size: 12px;
    line-height: 1.25;
    font-weight: 500;
}

.checkout-viewer-row small {
    margin-bottom: 3px;
    color: #8b8b8b;
    font-size: 9px;
    line-height: 1;
}

.checkout-viewer-row.is-filled strong {
    font-size: 13px;
    font-weight: 700;
}

.checkout-viewer-row svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #777;
}

.checkout-fixed-action {
    position: fixed;
    z-index: 40;
    right: 50%;
    bottom: 0;
    display: flex;
    width: min(100%, 390px);
    min-height: 78px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    transform: translateX(50%);
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid #e7e7e7;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, .06);
}

.checkout-total-copy>span,
.checkout-payment-total>span {
    display: block;
    margin-bottom: 3px;
    color: #8b8b8b;
    font-size: 11px;
}

.checkout-total-copy>div {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.checkout-total-copy strong,
.checkout-payment-total strong {
    color: #f70009;
    font-size: 18px;
    line-height: 1;
}

.checkout-total-copy small,
.checkout-total-copy b {
    font-size: 12px;
    font-weight: 400;
}

.checkout-coin {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    vertical-align: middle;
}

.checkout-primary-button,
.checkout-secondary-button {
    display: inline-flex;
    min-height: 42px;
    padding: 10px 19px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.checkout-primary-button {
    color: #fff;
    border: 1px solid #087bff;
    background: #087bff;
}

.checkout-secondary-button {
    color: #087bff;
    border: 1px solid #087bff;
    background: #fff;
}

.checkout-total-action .checkout-primary-button {
    min-width: 126px;
}

.checkout-page-underlay {
    min-height: 100dvh;
    overflow: hidden;
}

.checkout-modal,
.checkout-modal-backdrop {
    position: fixed;
    z-index: 70;
    top: 0;
    right: 50%;
    bottom: 0;
    width: min(100%, 390px);
    transform: translateX(50%);
}

.checkout-modal {
    pointer-events: none;
}

.checkout-modal-backdrop {
    z-index: 0;
    display: block;
    background: rgba(0, 0, 0, .48);
    pointer-events: auto;
}

.checkout-bottom-sheet {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 445px;
    padding: 25px 20px calc(20px + env(safe-area-inset-bottom));
    border-radius: 19px 19px 0 0;
    background: #fff;
    pointer-events: auto;
}

.checkout-sheet-handle {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 38px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 5px;
    background: #d3d3d3;
}

.checkout-bottom-sheet h2 {
    margin: 0 0 17px;
    font-size: 16px;
    line-height: 1.2;
}

.checkout-field {
    display: block;
    margin-bottom: 12px;
}

.checkout-field>span,
.checkout-gender-field legend {
    display: block;
    margin-bottom: 6px;
    color: #494949;
    font-size: 11px;
    line-height: 1.2;
}

.checkout-field input {
    width: 100%;
    height: 43px;
    padding: 0 12px;
    color: #222;
    border: 1px solid #d6d6d6;
    border-radius: 7px;
    outline: none;
    background: #fff;
    font-size: 12px;
}

.checkout-field input:focus {
    border-color: #087bff;
    box-shadow: 0 0 0 2px rgba(8, 123, 255, .1);
}

.checkout-date-field {
    position: relative;
}

.checkout-date-field input {
    padding-right: 42px;
}

.checkout-date-field svg {
    position: absolute;
    right: 12px;
    bottom: 11px;
    width: 20px;
    height: 20px;
    color: #087bff;
}

.checkout-gender-field {
    display: grid;
    margin: 0 0 16px;
    padding: 0;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border: 0;
}

.checkout-gender-field legend {
    float: left;
    width: 100%;
    grid-column: 1 / -1;
}

.checkout-gender-field label {
    display: flex;
    height: 42px;
    padding: 0 12px;
    align-items: center;
    gap: 9px;
    border: 1px solid #d6d6d6;
    border-radius: 7px;
    font-size: 12px;
}

.checkout-gender-field input,
.checkout-tribune-option input,
.checkout-payment-option input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #087bff;
}

.checkout-save-button {
    width: 100%;
    border: 0;
}

.checkout-tribune-panel {
    padding: 16px 14px 14px;
}

.checkout-buyer-cards {
    display: grid;
    margin-top: 14px;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.checkout-buyer-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 83px;
    padding: 17px 8px 9px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: #252525;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.checkout-buyer-card.is-selected {
    border: 1.5px solid #087bff;
    background: #eef7ff;
}

.checkout-buyer-number {
    position: absolute;
    top: -8px;
    left: 50%;
    display: grid;
    width: 22px;
    height: 22px;
    transform: translateX(-50%);
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: #087bff;
    font-size: 10px;
    font-weight: 700;
}

.checkout-buyer-card strong {
    overflow: hidden;
    width: 100%;
    font-size: 12px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-buyer-card small {
    margin-top: 4px;
    color: #777;
    font-size: 10px;
}

.checkout-tribune-map {
    display: block;
    width: 100%;
    height: auto;
    margin: 18px auto 15px;
    border-radius: 9px;
}

.checkout-tribune-choices h3 {
    margin-bottom: 9px;
}

.checkout-tribune-option {
    display: grid;
    min-height: 53px;
    padding: 7px 11px;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #ededed;
}

.checkout-tribune-option:last-child {
    border-bottom: 1px solid #ededed;
}

.checkout-seat-icon {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    color: #575757;
    border-radius: 5px;
    background: #f2f2f2;
}

.checkout-seat-icon svg {
    width: 23px;
    height: 23px;
}

.checkout-tribune-option>span:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.checkout-tribune-option strong {
    font-size: 12px;
    font-weight: 600;
}

.checkout-tribune-option small {
    margin-top: 2px;
    color: #a5a5a5;
    font-size: 9px;
}

.checkout-tribune-option small.is-available {
    color: #19a55a;
}

.checkout-tribune-option.is-disabled {
    color: #aaa;
}

.checkout-inline-actions {
    display: grid;
    margin-top: 18px;
    grid-template-columns: 102px 1fr;
    gap: 10px;
}

.checkout-inline-actions .checkout-primary-button,
.checkout-inline-actions .checkout-secondary-button {
    min-height: 44px;
}

.checkout-summary-content {
    display: grid;
    gap: 10px;
}

.checkout-summary-content .checkout-event-card {
    margin: 0;
}

.checkout-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout-section-heading>a {
    color: #087bff;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.checkout-summary-buyers .checkout-buyer-cards {
    margin-top: 16px;
}

.checkout-promo-panel h2,
.checkout-price-panel h2 {
    margin-bottom: 13px;
}

.checkout-voucher-row {
    display: grid;
    grid-template-columns: 1fr 88px;
    gap: 8px;
}

.checkout-voucher-row input {
    min-width: 0;
    height: 42px;
    padding: 0 11px;
    border: 1px solid #dadada;
    border-radius: 7px;
    font-size: 11px;
}

.checkout-voucher-row button {
    color: #087bff;
    border: 1px solid #087bff;
    border-radius: 7px;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
}

.checkout-price-panel {
    padding-bottom: 0;
    overflow: hidden;
}

.checkout-price-panel dl {
    margin: 0;
}

.checkout-price-panel dl>div {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
}

.checkout-price-panel dt,
.checkout-price-panel dd {
    margin: 0;
}

.checkout-price-panel dd {
    font-weight: 600;
}

.checkout-grand-total {
    display: flex;
    margin-top: 3px;
    padding: 13px 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px dashed #cfcfcf;
}

.checkout-grand-total>span {
    font-size: 12px;
    font-weight: 600;
}

.checkout-grand-total>div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkout-grand-total strong {
    color: #f70009;
    font-size: 16px;
}

.checkout-grand-total small,
.checkout-grand-total b {
    font-size: 11px;
    font-weight: 400;
}

.checkout-coins-option {
    display: flex;
    margin: 0 -15px;
    min-height: 62px;
    padding: 10px 15px;
    align-items: center;
    justify-content: space-between;
    background: #eaf7ff;
}

.checkout-coins-option>span {
    display: flex;
    flex-direction: column;
}

.checkout-coins-option strong {
    font-size: 12px;
}

.checkout-coins-option small {
    display: flex;
    margin-top: 4px;
    align-items: center;
    gap: 3px;
    color: #777;
    font-size: 9px;
}

.checkout-coins-option small .checkout-coin {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
}

.checkout-coins-option input {
    position: absolute;
    opacity: 0;
}

.checkout-coins-option i {
    position: relative;
    width: 38px;
    height: 22px;
    flex: 0 0 38px;
    border-radius: 20px;
    background: #c8c8c8;
    transition: background .2s ease;
}

.checkout-coins-option i::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    content: "";
    border-radius: 50%;
    background: #fff;
    transition: transform .2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .22);
}

.checkout-coins-option input:checked+i {
    background: #087bff;
}

.checkout-coins-option input:checked+i::after {
    transform: translateX(16px);
}

.checkout-terms-check {
    display: flex;
    padding: 13px 15px;
    align-items: flex-start;
    gap: 10px;
    color: #646464;
    font-size: 10px;
    line-height: 1.4;
}

.checkout-terms-check input {
    width: 17px;
    height: 17px;
    margin: 0;
    flex: 0 0 17px;
    accent-color: #087bff;
}

.checkout-terms-check a {
    color: #087bff;
    font-weight: 600;
    text-decoration: none;
}

.checkout-summary-actions {
    margin: 0;
}

.checkout-primary-button.is-disabled {
    border-color: #b7d4ef;
    background: #b7d4ef;
    cursor: not-allowed;
}

.checkout-payment-page {
    min-height: max(100dvh, 844px);
    background: #fff;
}

.checkout-countdown {
    display: flex;
    min-height: 43px;
    padding: 8px 15px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #554500;
    background: #ffd00a;
    font-size: 10px;
}

.checkout-countdown svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.checkout-countdown strong {
    color: #ed1b24;
    font-size: 11px;
}

.checkout-payment-content {
    padding-bottom: 100px;
}

.checkout-payment-methods {
    margin-top: 10px;
}

.checkout-payment-methods h2 {
    margin-bottom: 14px;
}

.checkout-payment-option {
    display: flex;
    min-height: 55px;
    padding: 9px 12px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
}

.checkout-payment-option img {
    width: 96px;
    height: 30px;
    object-fit: contain;
    object-position: left center;
}

.checkout-payment-action {
    min-height: 82px;
}

.checkout-payment-action .checkout-primary-button {
    min-width: 155px;
    border: 0;
}

.checkout-payment-total {
    position: relative;
    min-width: 118px;
    padding: 0 25px 0 0;
    color: inherit;
    border: 0;
    background: transparent;
    text-align: left;
    text-decoration: none;
}

.checkout-payment-total svg {
    position: absolute;
    right: 0;
    bottom: 1px;
    width: 18px;
    height: 18px;
    color: #666;
}

.checkout-invoice-modal,
.checkout-invoice-backdrop {
    position: fixed;
    z-index: 80;
    top: 0;
    right: 50%;
    bottom: 0;
    width: min(100%, 390px);
    transform: translateX(50%);
}

.checkout-invoice-modal {
    pointer-events: none;
}

.checkout-invoice-backdrop {
    z-index: 0;
    display: block;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, .2);
    pointer-events: auto;
}

.checkout-invoice-sheet {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 208px;
    padding: 40px 16px 24px;
    border-radius: 13px 13px 0 0;
    background: #fff;
    pointer-events: auto;
}

.checkout-invoice-sheet h2 {
    margin: 0 0 17px;
    font-size: 16px;
    line-height: 1.15;
    font-weight: 700;
}

.checkout-invoice-sheet dl {
    display: grid;
    margin: 0;
    gap: 9px;
}

.checkout-invoice-sheet dl>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #858585;
    font-size: 13px;
    line-height: 1.15;
}

.checkout-invoice-sheet dt,
.checkout-invoice-sheet dd {
    margin: 0;
}

.checkout-invoice-sheet dd {
    color: #242424;
}

.checkout-invoice-total {
    display: flex;
    margin-top: 13px;
    padding-top: 17px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px dashed #cfcfcf;
    font-size: 16px;
}

.checkout-invoice-total strong {
    font-weight: 700;
}

.checkout-invoice-total b {
    color: #f90008;
    font-weight: 700;
}

/* Post-payment and My Ticket */
.payment-success-page {
    min-height: 100dvh;
    padding: 36px 16px 0;
    color: #fff;
    background-color: #087fbd;
    background-image: var(--miniapp-gradient);
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100% 741px;
}

.payment-success-heading {
    text-align: center;
}

.payment-success-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    place-items: center;
    color: #fff;
    border: 10px solid rgba(72, 221, 122, .45);
    border-radius: 50%;
    background: #31de57;
}

.payment-success-icon svg {
    width: 31px;
    height: 31px;
}

.payment-success-heading h1 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
}

.payment-success-heading p {
    margin: 5px 0 0;
    font-size: 9px;
}

.payment-success-ticket {
    position: relative;
    min-height: 519px;
    margin-top: 52px;
    padding: 38px 12px 14px;
    color: #171717;
    background: #fff;
}

.payment-success-perforation {
    position: absolute;
    top: -1px;
    right: 0;
    left: 0;
    height: 10px;
    overflow: hidden;
}

.payment-success-perforation::before {
    position: absolute;
    top: -6px;
    left: 7px;
    width: 12px;
    height: 12px;
    content: "";
    border-radius: 50%;
    background: #0a6eaf;
    box-shadow: 24px 0 #0a6eaf, 48px 0 #0a6eaf, 72px 0 #0a6eaf, 96px 0 #0a6eaf, 120px 0 #0a6eaf, 144px 0 #0a6eaf, 168px 0 #0a6eaf, 192px 0 #0a6eaf, 216px 0 #0a6eaf, 240px 0 #0a6eaf, 264px 0 #0a6eaf, 288px 0 #0a6eaf, 312px 0 #0a6eaf, 336px 0 #0a6eaf;
}

.payment-success-category,
.paid-ticket-category {
    display: inline-flex;
    min-width: 63px;
    min-height: 17px;
    padding: 2px 12px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 12px;
    background: linear-gradient(90deg, #ff4e9b, #ff76b4);
    font-size: 9px;
    line-height: 1;
    letter-spacing: .3px;
}

.payment-success-category {
    margin-bottom: 12px;
}

.payment-success-team {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
}

.payment-success-team img {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    object-fit: contain;
}

.payment-success-team strong {
    overflow: hidden;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.payment-success-meta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #d3d3d3;
}

.payment-success-meta p {
    display: flex;
    margin: 0 0 7px;
    align-items: center;
    gap: 7px;
    color: #8b8b8b;
    font-size: 12px;
}

.payment-success-meta svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.payment-success-details {
    margin-top: 32px;
    padding: 17px 12px;
    background: #f3f3f3;
}

.payment-success-details h2 {
    margin: 0 0 22px;
    font-size: 13px;
}

.payment-success-details dl {
    display: grid;
    margin: 0;
    gap: 12px;
}

.payment-success-details dl>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 12px;
}

.payment-success-details dt,
.payment-success-details dd {
    margin: 0;
}

.payment-success-details dt {
    color: #8b8b8b;
}

.payment-success-details dd:last-child {
    text-align: right;
}

.payment-success-details dl>div:last-child dd {
    color: #f40008;
    font-size: 15px;
    font-weight: 700;
}

.payment-success-primary,
.payment-success-home {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.payment-success-primary {
    min-height: 35px;
    margin-top: 27px;
    color: #fff;
    border-radius: 4px;
    background: #087bff;
    font-size: 12px;
    font-weight: 600;
}

.payment-success-home {
    margin-top: 17px;
    color: #202020;
    font-size: 12px;
}

.my-ticket-hero {
    min-height: 120px;
    padding: 18px 16px 16px;
    color: #fff;
    background-color: #087fbd;
    background-image: var(--miniapp-gradient);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 390px 741px;
}

.my-ticket-hero h1 {
    margin: 0 0 18px;
    font-size: 23px;
    line-height: 1.1;
    text-align: center;
}

.my-ticket-tabs {
    display: grid;
    min-height: 42px;
    padding: 2px;
    grid-template-columns: 1fr 1fr;
    border-radius: 7px;
    background: rgba(0, 65, 125, .82);
}

.my-ticket-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .58);
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.my-ticket-tabs a.is-active {
    color: #075794;
    border: 2px solid #064f83;
    background: #fff;
}

.my-ticket-filters {
    display: flex;
    min-height: 57px;
    padding: 16px 17px 12px;
    overflow: hidden;
    gap: 8px;
    border-bottom: 1px solid #dedede;
    background: #fff;
    white-space: nowrap;
}

.my-ticket-filters a,
.my-ticket-filters span {
    display: inline-flex;
    min-height: 29px;
    padding: 5px 11px;
    align-items: center;
    gap: 5px;
    color: #989898;
    border: 1px solid #dedede;
    border-radius: 16px;
    font-size: 11px;
    line-height: 1;
    text-decoration: none;
}

.my-ticket-filters a.is-active {
    color: #087bff;
    border-color: #087bff;
}

.my-ticket-filters b {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: #fb0010;
    font-size: 10px;
}

.my-ticket-content {
    padding: 21px 16px 90px;
    background-color: #fff;
    min-height: 100vh;
}

.my-ticket-section-title {
    display: flex;
    margin: 0 0 12px;
    align-items: center;
    gap: 5px;
    font-size: 18px;
    line-height: 1.1;
}

.my-ticket-section-title svg {
    width: 19px;
    height: 19px;
}

.my-ticket-section-title.is-active svg {
    color: #17af3e;
}

.my-ticket-section-title.is-pending svg {
    color: #ff9500;
}

.my-ticket-card {
    position: relative;
}

.my-ticket-card-body,
.my-ticket-footer-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

.my-ticket-card-body {
    padding: 4px;
    border-radius: 12px;
}

.my-ticket-card-body::before,
.my-ticket-card-body::after,
.my-ticket-footer-shell::before,
.my-ticket-footer-shell::after {
    position: absolute;
    z-index: 4;
    width: 16px;
    height: 16px;
    content: "";
    border-radius: 50%;
    background: #f7f7f7;
}

.my-ticket-card-body::before {
    bottom: -8px;
    left: -8px;
}

.my-ticket-card-body::after {
    right: -8px;
    bottom: -8px;
}

.my-ticket-footer-shell {
    margin-top: 0;
    padding: 4px;
    border-radius: 10px;
}

.my-ticket-footer-shell::before {
    top: -8px;
    left: -8px;
}

.my-ticket-footer-shell::after {
    top: -8px;
    right: -8px;
}

.my-ticket-card-body>header {
    display: flex;
    min-height: 53px;
    padding: 8px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(100deg, #00a5d9, #57c5ec);
}

.my-ticket-card-body>header strong {
    font-size: 12px;
    line-height: 1.2;
}

.my-ticket-card-body>header small {
    margin-top: 4px;
    font-size: 8px;
}

.my-ticket-match {
    position: relative;
    display: grid;
    min-height: 108px;
    padding: 18px 8px 8px;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
    gap: 4px;
}

.my-ticket-category {
    position: absolute;
    top: 0;
    left: 50%;
    min-width: 65px;
    padding: 3px 12px;
    transform: translateX(-50%);
    color: #fff;
    border-radius: 0 0 12px 12px;
    background: #f45ba2;
    font-size: 9px;
    line-height: 1;
    text-align: center;
}

.my-ticket-team {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.my-ticket-team img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.my-ticket-team strong {
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.15;
    font-weight: 500;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.my-ticket-date {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.my-ticket-date strong {
    font-size: 11px;
}

.my-ticket-date span {
    margin-top: 3px;
    color: #888;
    font-size: 9px;
}

.my-ticket-footer {
    position: relative;
    overflow: hidden;
    padding-bottom: 8px;
    border-radius: 7px;
    background: #f1f1f1;
}

.my-ticket-footer::before {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 10px;
    left: 10px;
    content: "";
    border-top: 1px dashed #d2d2d2;
}

.my-ticket-location {
    display: flex;
    min-height: 42px;
    padding: 10px 15px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #8a8a8a;
    background: transparent;
    font-size: 10px;
}

.my-ticket-location svg {
    width: 13px;
    height: 13px;
}

.my-ticket-detail-button {
    display: flex;
    min-height: 34px;
    margin: 0 8px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 4px;
    background: #087bff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.my-ticket-pending-wrap {
    position: relative;
    padding-top: 36px;
}

.my-ticket-pending-time {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    min-height: 49px;
    padding: 8px 22px 14px;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    color: #8d8d8d;
    border: 1px solid #dedede;
    border-radius: 11px 11px 0 0;
    background: #f5f5f5;
    font-size: 10px;
}

.my-ticket-pending-time strong {
    color: #f40008;
    font-size: 12px;
}

.my-ticket-card.is-pending {
    position: relative;
    z-index: 3;
}

.paid-ticket-page {
    min-height: 100dvh;
    padding-bottom: 20px;
    background-color: #087fbd;
    background-image: var(--miniapp-gradient);
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100% 741px;
}

.paid-ticket-carousel {
    display: flex;
    width: calc(100% - 15px);
    margin-left: 15px;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    cursor: grab;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.paid-ticket-carousel.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}

.paid-ticket-carousel::-webkit-scrollbar {
    display: none;
}

.paid-ticket-slide {
    width: calc(100% - 18px);
    flex: 0 0 calc(100% - 18px);
    scroll-snap-align: start;
}

.paid-ticket-owner,
.paid-ticket-event-shell,
.paid-ticket-event {
    position: relative;
}

.paid-ticket-owner {
    min-height: 378px;
    padding: 31px 23px 13px;
    border-radius: 12px 12px 11px 11px;
    background: #fff;
    text-align: center;
}

.paid-ticket-class {
    position: absolute;
    top: 0;
    left: 50%;
    min-width: 103px;
    padding: 4px 14px;
    transform: translateX(-50%);
    color: #fff;
    border-radius: 0 0 11px 11px;
    background: #04a3d9;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 1px;
}

.paid-ticket-owner h2 {
    margin: 0;
    font-size: 15px;
}

.paid-ticket-owner>p {
    margin: 6px 0 16px;
    font-size: 13px;
}

.paid-ticket-owner>p b {
    margin: 0 7px;
    color: #087bff;
    font-size: 21px;
    line-height: 0;
}

.paid-ticket-qr {
    display: block;
    width: 148px;
    height: 148px;
    margin: 0 auto 16px;
}

.paid-ticket-owner dl {
    margin: 0;
}

.paid-ticket-owner dl>div {
    display: flex;
    min-height: 28px;
    padding: 6px 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #dedede;
    font-size: 11px;
}

.paid-ticket-owner dl>div:last-child {
    border-bottom: 0;
}

.paid-ticket-owner dt,
.paid-ticket-owner dd {
    margin: 0;
}

.paid-ticket-owner dt {
    color: #898989;
}

.paid-ticket-event-shell {
    min-height: 238px;
    margin-top: 0;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
}

.paid-ticket-event-shell::before,
.paid-ticket-event-shell::after {
    position: absolute;
    z-index: 3;
    top: -10px;
    width: 20px;
    height: 20px;
    content: "";
    border-radius: 50%;
    background: #087eb8;
}

.paid-ticket-event-shell::before {
    left: -10px;
}

.paid-ticket-event-shell::after {
    right: -10px;
}

.paid-ticket-event {
    min-height: 226px;
    padding: 19px 18px 9px;
    overflow: hidden;
    border-radius: 7px;
    background: #efefef;
}

.paid-ticket-event::before {
    position: absolute;
    top: 0;
    right: 10px;
    left: 10px;
    content: "";
    border-top: 1px dashed #c7c7c7;
}

.paid-ticket-category {
    margin-bottom: 7px;
}

.paid-ticket-team {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
}

.paid-ticket-team img {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    object-fit: contain;
}

.paid-ticket-team strong {
    overflow: hidden;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.paid-ticket-meta {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed #d5d5d5;
}

.paid-ticket-meta p {
    display: flex;
    margin: 0 0 8px;
    align-items: center;
    gap: 7px;
    color: #8a8a8a;
    font-size: 11px;
}

.paid-ticket-meta p span {
    width: 13px;
    color: #929292;
    text-align: center;
}

.paid-ticket-pagination {
    display: flex;
    min-height: 37px;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
}

.paid-ticket-pagination span {
    width: 52px;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .24);
}

.paid-ticket-pagination span.is-active {
    background: #fff;
}

@media (max-width: 350px) {
    .ticket-category-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .ticket-select-button {
        width: 100%;
    }
}

@media (min-width: 520px) {
    .phone-shell {
        margin-top: 20px;
        margin-bottom: 20px;
        border-radius: 24px;
        min-height: calc(100dvh - 40px);
    }

    .gopay-chrome {
        border-radius: 24px 24px 0 0;
    }

    .bottom-nav {
        /* bottom: 20px; */
        border-radius: 0 0 24px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
