.tma-nav-desktop, .tma-nav-mobile { display: inline-flex; align-items: center; justify-content: center; padding: 5px 11px; border: 1px solid #8cd0bb; border-radius: 6px; background: #eaf5f0; color: #125947 !important; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
.tma-nav-desktop { min-height: 29px; font-size: .82rem; }
@media (max-width: 960px) { .tma-nav-desktop { display: none !important; } }
.tma-nav-mobile { grid-column: 1 / -1; min-height: 44px; }
.tma-match-book { display: inline-flex; align-items: center; min-height: 42px; margin: 10px 0; padding: 7px 13px; border: 1px solid #176856; border-radius: 6px; background: #fff; color: #176856; text-decoration: none; font-weight: 700; }
.tma-signout { border: 0; padding: 0; color: inherit; background: none; font: inherit; font-weight: 700; cursor: pointer; }
.tma-body { margin: 0; background: #f4f7f8; color: #142d40; font: 16px/1.55 system-ui, sans-serif; }
.tma-body * { box-sizing: border-box; }
.tma-shell { width: min(1080px, calc(100% - 36px)); margin-inline: auto; }
.tma-top { background: #142d40; color: #fff; }
.tma-nav { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tma-nav a { color: inherit; text-decoration: none; font-weight: 700; }
.tma-nav nav { display: flex; gap: 18px; }
.tma-main { padding: 28px 0 52px; }
.tma-hero h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.65rem); line-height: 1.2; }
.tma-hero p { margin: 8px 0 0; color: #4b626f; }
.tma-main h2 { margin: 0 0 8px; font-size: 1.24rem; }
.tma-main h3 { margin: 0; font-size: 1.05rem; }
.tma-main p { margin: 8px 0 12px; }
.tma-card { padding: 20px; border: 1px solid #d7e2e7; background: #fff; border-radius: 10px; }
.tma-login, .tma-stat-grid, .tma-notice, .tma-new, .tma-booking { margin: 18px 0; }
.tma-login { max-width: 470px; }
.tma-recovery summary { color: #176856; cursor: pointer; }
.tma-login p:first-child { margin-top: 0; }
.tma-login input:not([type=submit]), .tma-fields input { width: 100%; min-height: 42px; margin-top: 4px; padding: 8px 10px; color: #142d40; border: 1px solid #99adb8; border-radius: 5px; font: inherit; }
.tma-main a { color: #176856; }
.tma-stat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.tma-stat-grid strong { display: block; margin: 4px 0 0; color: #176856; font-size: clamp(1rem, 3vw, 1.6rem); white-space: nowrap; }
.tma-notice { padding: 12px 16px; background: #fff4d6; border-left: 4px solid #b98609; }
.tma-body .tma-button, .tma-login input[type=submit] { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border: 1px solid #176856; border-radius: 6px; color: #fff; background: #176856; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.tma-body .tma-outline { color: #176856; background: #fff; }
.tma-body :focus-visible { outline: 3px solid #bd8300; outline-offset: 2px; }
.tma-ticket { border: 1px solid #d7e2e7; border-radius: 6px; margin-top: 9px; padding: 12px; }
.tma-ticket summary { cursor: pointer; }
.tma-ticket-prices { display: inline-flex; gap: 8px; margin-inline-start: 8px; flex-wrap: wrap; }
.tma-ticket-action { display: inline-block; margin: 5px 0 0 8px; padding: 3px 9px; border: 1px solid #176856; border-radius: 5px; color: #176856; font-size: .875rem; font-weight: 700; }
.tma-ticket[open] .tma-ticket-action { display: none; }
.tma-credit-note { color: #63450b; background: #fff4d9; padding: 8px 12px; border-radius: 5px; }
.tma-ticket del { color: #506876; }
.tma-ticket b { color: #176856; }
.tma-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 14px; margin-top: 12px; }
.tma-fields label { font-weight: 600; }
.tma-terms { display: block; margin: 12px 0; }
.tma-submit { margin-top: 14px; }
.tma-confirm { max-width: 720px; }
.tma-confirm dl { margin: 12px 0 16px; }
.tma-confirm dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid #d7e2e7; }
.tma-confirm dd { margin: 0; overflow-wrap: anywhere; min-width: 0; }
.tma-confirm dd strong { color: #176856; }
.tma-purchase-password { grid-template-columns: minmax(0, 25rem); margin-top: 16px; }
.tma-terms input { width: 1rem; height: 1rem; vertical-align: -.125em; }
.tma-booking { overflow-wrap: anywhere; }
@media (max-width: 560px) {
    .tma-shell { width: calc(100% - 24px); }
    .tma-card { padding: 14px; }
    .tma-stat-grid { grid-template-columns: 1fr; gap: 6px; }
    .tma-stat-grid .tma-card { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; align-items: center; }
    .tma-stat-grid strong { margin: 0; }
    .tma-fields { grid-template-columns: 1fr; }
    .tma-ticket-prices { display: flex; margin: 5px 0 0; }
    .tma-ticket-action { margin-inline-start: 0; }
}
