:root {
  --tm-blue: #005eea;
  --tm-blue-dark: #0052d1;
  --text: #1c1c1c;
  --muted: #575757;
  --line: #d7d7d7;
  --footer: #101010;
  --purple: #9a0a87;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fff;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--text);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: #0067cf;
  text-decoration: none;
}

.site-frame {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.maintenance-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 35px;
  padding: 0 3px 0 16px;
  border-bottom: 1px solid #2a2a2a;
  background: #101010;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.maintenance-dot {
  display: grid;
  width: 10px;
  height: 10px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 8px;
  font-weight: 800;
}

.maintenance-close {
  display: grid;
  width: 17px;
  height: 17px;
  margin-left: auto;
  padding: 1px;
  place-items: center;
  border: 1px solid #949494;
  border-radius: 2px;
  background: #f3f3f3;
  color: #141414;
}

.maintenance-close svg,
.icon-button svg,
.search-icon svg,
.meta-icon svg,
.tiny-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.locale-bar {
  display: flex;
  align-items: center;
  height: 41px;
  gap: 18px;
  padding: 0 18px;
  background: #111;
  color: #fff;
  font-size: 14px;
}

.locale-country,
.locale-language {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.country-flag {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    #a51931 0 20%,
    #fff 20% 33%,
    #2d2a78 33% 67%,
    #fff 67% 80%,
    #a51931 80% 100%
  );
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.tiny-icon {
  width: 14px;
  height: 14px;
}

.blue-header {
  position: relative;
  height: 108px;
  background: var(--tm-blue);
  color: #fff;
}

.header-line {
  display: flex;
  align-items: center;
  height: 51px;
  padding: 0 14px 0 18px;
}

.icon-button {
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
}

.account-button {
  width: 36px;
  height: 51px;
  margin-left: 0;
}

.account-menu-wrap {
  position: relative;
  display: flex;
  align-items: center;
  height: 51px;
  margin-left: auto;
}

.account-button.is-open {
  background: #0043b6;
}

.account-image {
  display: block;
  width: 19px;
  height: 20px;
  object-fit: contain;
}

.account-dropdown {
  position: absolute;
  z-index: 10;
  top: 51px;
  right: 0;
  width: 111px;
  overflow: hidden;
  border: 1px solid #c7c7c7;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

.account-dropdown[hidden] {
  display: none;
}

.account-name {
  min-height: 28px;
  padding: 5px 8px 4px;
  border-bottom: 1px solid #dedede;
  color: #333;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.account-menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 4px 6px;
  color: #333;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.account-menu-link:hover {
  background: #f3f5f8;
  color: #111;
}

.account-menu-signout {
  justify-content: center;
  gap: 3px;
  margin-top: 0;
  font-weight: 400;
}

.account-logout-icon {
  display: inline-block;
  width: 10px;
  height: 11px;
  flex: 0 0 auto;
}

.account-logout-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tm-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0;
}

.tm-logo {
  gap: 6px;
  margin-left: 12px;
  font-size: 15px;
  line-height: 1;
}

.tm-logo-image {
  display: block;
  width: 150px;
  height: auto;
  max-height: 28px;
  object-fit: contain;
}

.tm-mark,
.footer-mark {
  display: inline-grid;
  width: 32px;
  height: 17px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 8px;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
}

.tm-word {
  white-space: nowrap;
}

.tm-logo sup,
.footer-logo sup {
  margin-left: 1px;
  font-size: 8px;
  font-style: normal;
}

.search-box {
  display: flex;
  align-items: center;
  height: 41px;
  margin: 6px 11px 10px;
  padding: 0 10px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
}

.search-box input::placeholder {
  color: #fff;
  opacity: 1;
}

.search-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: #fff;
}

.content {
  background: #fff;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 13px 10px 0;
  color: #202020;
  font-size: 12px;
}

.crumb-separator {
  color: #767676;
}

.page-title {
  margin: 25px 10px 0;
  color: #252525;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.page-title::after {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-top: 8px;
  background: #252525;
}

.main-notice,
.repeat-notice {
  max-width: calc(100% - 52px);
  margin: 31px auto 18px;
  font-weight: 800;
  font-size: 13px;
  color: #151515;
  line-height: 1.6;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ticket-card {
  width: calc(100% - 34px);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 84, 143, 0.22), 0 0 9px rgba(0, 0, 0, 0.06);
}

.ticket-pattern {
  display: flex;
  align-items: center;
  height: 19px;
  overflow: hidden;
  background: linear-gradient(90deg, #3c91aa 0%, #5a88a2 28%, #6c558c 70%, #473256 100%);
  color: rgba(255, 255, 255, 0.58);
}

.ticket-pattern-track {
  display: flex;
  width: max-content;
  min-width: max-content;
  animation: patternScroll 8s linear infinite;
  will-change: transform;
}

.ticket-pattern-copy {
  flex: 0 0 auto;
  padding-top: 2px;
  padding-right: 16px;
  font-size: 9px;
  font-style: italic;
  font-weight: 700;
  line-height: 15px;
  white-space: nowrap;
}

@keyframes patternScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ticket-body {
  padding: 21px 9px 13px;
}

.event-title,
.event-subtitle {
  margin-left: 10px;
  color: #222;
  font-size: 13px;
}

.event-title {
  font-weight: 800;
}

.event-subtitle {
  margin-top: 2px;
  font-weight: 600;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 27px;
  margin-left: 14px;
  color: #333;
}

.event-subtitle + .event-meta {
  margin-top: 10px;
}

.meta-icon {
  width: 15px;
  height: 15px;
  color: #0067cf;
}

.ticket-divider {
  height: 1px;
  margin: 12px 0;
  background: var(--line);
}

.price-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 0 0 0 14px;
}

.blue-dot {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border-radius: 50%;
  background: #005fe8;
}

.ticket-type,
.ticket-price {
  color: #242424;
  font-size: 13px;
}

.ticket-price {
  margin-top: 8px;
  font-weight: 700;
}

.ticket-block {
  padding-left: 10px;
}

.field-label {
  color: #005fc9;
  font-size: 14px;
  font-weight: 800;
}

.field-value {
  color: #202020;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.28;
}

.small-value {
  color: #202020;
  font-size: 14px;
  font-weight: 500;
}

.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-cell {
  min-height: 63px;
  padding-left: 10px;
}

.split-cell + .split-cell {
  border-left: 1px solid #e0e0e0;
}

.attendee-block,
.purchaser-block {
  padding-left: 10px;
}

.attendee-label,
.notes-title {
  color: #333;
  font-size: 13px;
  font-weight: 800;
}

.qr-wrap {
  margin-top: 16px;
  padding-top: 25px;
  border-top: 1px dashed #d6d6d6;
  text-align: center;
}

.qr-stage {
  position: relative;
  display: grid;
  width: 282px;
  height: 282px;
  margin: 0 auto 13px;
  place-items: center;
}

.qr-image {
  position: relative;
  z-index: 1;
  width: 236px;
  height: 236px;
  object-fit: contain;
}

.qr-corner {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke: var(--purple);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 208 768;
  stroke-dashoffset: 0;
  animation: qrLineTravel 5.4s linear infinite;
  will-change: stroke-dashoffset;
}

.qr-corner path {
  fill: none;
}

@keyframes qrLineTravel {
  to {
    stroke-dashoffset: -976px;
  }
}

.qr-caption {
  color: #2c2c2c;
  font-size: 18px;
  font-weight: 800;
}

.notes-block {
  padding: 0 10px;
  text-align: left;
}

.notes-list {
  margin: 0;
  padding-left: 14px;
  color: #333;
  font-size: 13px;
  line-height: 1.45;
}

.more-info {
  margin: 20px 0 0;
  color: #333;
  font-size: 13px;
}

.order-line {
  padding-left: 10px;
  color: #333;
  font-size: 13px;
}

.ad-section {
  padding: 14px 0 41px;
  background: #fff;
  text-align: center;
}

.repeat-notice {
  margin-top: 16px;
  margin-bottom: 68px;
}

.ad-image {
  display: block;
  width: 246px;
  height: 204px;
  margin: 0 auto;
  object-fit: cover;
}

.ad-caption {
  margin-top: 3px;
  color: #111;
  font-size: 13px;
}

.orders-empty {
  min-height: 175px;
  padding: 34px 16px 37px;
  background: #fff;
  text-align: center;
}

.orders-message {
  color: #222;
  font-size: 14px;
  line-height: 1.5;
}

.orders-detail {
  max-width: 520px;
  margin: 49px auto 0;
  color: #222;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.orders-detail a {
  color: #005fc9;
  font-weight: 800;
}

.site-footer {
  min-height: 418px;
  padding-top: 0;
  background: var(--footer);
  color: #fff;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  gap: clamp(28px, 7vw, 82px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 10px 0;
}

.footer-details {
  min-width: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
}

.footer-logo-image {
  display: block;
  width: 188px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.footer-logo {
  font-size: 22px;
  line-height: 1;
}

.footer-mark {
  width: 36px;
  height: 20px;
  font-size: 9px;
}

.footer-contact {
  margin: 28px 0 11px;
  font-size: 15px;
  font-weight: 400;
}

.socials {
  display: flex;
  gap: 17px;
  align-items: center;
  min-height: 26px;
  margin-left: 4px;
}

.social-link {
  display: grid;
  position: relative;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.social-link:first-child {
  background: #fff;
  color: #111;
  font-family: Arial, sans-serif;
  font-size: 24px;
  line-height: 22px;
}

.social-link:nth-child(2) {
  font-size: 27px;
  font-weight: 300;
}

.social-link:nth-child(3) {
  font-size: 0;
}

.social-instagram {
  position: relative;
  border: 2px solid #fff;
  border-radius: 6px;
}

.social-instagram::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.social-instagram::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
}

.social-line {
  width: 22px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 0;
}

.social-line::before {
  content: "LINE";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 6px;
  font-weight: 800;
}

.social-line::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: -3px;
  width: 6px;
  height: 6px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.social-youtube {
  width: 23px;
  height: 15px;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font-size: 0;
}

.social-youtube::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #111;
}

.footer-company {
  margin-top: 28px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.footer-address {
  margin-top: 17px;
  color: #fff;
  font-size: 13px;
  line-height: 1.8;
}

.footer-contact-details {
  max-width: 280px;
  margin-top: 17px;
  color: #fff;
  font-size: 13px;
  line-height: 1.8;
}

.footer-terms {
  max-width: 300px;
  margin: 30px 0 32px;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}

.footer-menu {
  min-width: 0;
  padding-top: 24px;
}

.footer-accordion {
  border-top: 1px solid #717171;
}

.footer-accordion:last-of-type {
  border-bottom: 1px solid #717171;
}

.footer-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  list-style: none;
}

.footer-accordion summary::-webkit-details-marker {
  display: none;
}

.footer-accordion summary::after {
  content: "⌄";
  color: #fff;
  font-size: 17px;
  font-weight: 300;
}

.footer-list {
  margin: 0;
  padding: 0 14px 14px;
  color: #dcdcdc;
  list-style: none;
}

.footer-legal {
  padding: 24px 16px 39px;
  text-align: center;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.legal-links a {
  color: #fff;
}

.legal-divider {
  color: #fff;
}

.copyright {
  margin-top: 20px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 600px) {
  .footer-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    padding-right: 0;
  }

  .footer-menu {
    padding-top: 24px;
  }

  .footer-accordion summary {
    padding-left: 14px;
    padding-right: 10px;
    font-size: 14px;
  }
}

@media (max-width: 430px) {
  .locale-bar {
    padding: 0 16px;
  }

  .header-line {
    padding-left: 15px;
    padding-right: 12px;
  }

  .tm-logo {
    gap: 5px;
    margin-left: 9px;
    font-size: 14px;
  }

  .tm-logo-image {
    width: 134px;
    max-height: 24px;
  }

  .tm-mark {
    width: 29px;
  }

  .footer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 14px;
    padding: 38px 0 0 10px;
  }

  .footer-menu {
    margin-top: 0;
    padding-top: 24px;
  }
}

.admin-body {
  background: #f4f6f8;
  color: #17202a;
}

.admin-shell {
  width: min(1080px, calc(100vw - 32px));
  margin: 28px auto 80px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-header h1 {
  margin: 2px 0 0;
  font-size: 28px;
}

.admin-kicker {
  margin: 0;
  color: #005fc9;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-page-manager {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  background: #fff;
}

.admin-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.admin-section-heading h2 {
  margin: 2px 0 0;
  font-size: 18px;
}

.admin-page-count {
  color: #637286;
  font-size: 13px;
  font-weight: 800;
}

.admin-page-create {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5eaf0;
}

.admin-page-create .admin-field {
  margin-bottom: 0;
}

.admin-page-create select,
.admin-page-create input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  padding: 8px 10px;
  color: #17202a;
  background: #fff;
  font-size: 14px;
  font-weight: 400;
}

.admin-copy,
.admin-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #b9c7d5;
  border-radius: 6px;
  background: #fff;
  color: #17446f;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-copy,
.admin-page-button-primary {
  border-color: var(--tm-blue);
  background: var(--tm-blue);
  color: #fff;
}

.admin-page-button-danger {
  border-color: #c9323b;
  background: #fff;
  color: #b4232c;
}

.admin-page-button-danger:hover:not(:disabled) {
  background: #fff1f2;
}

.admin-copy:disabled,
.admin-page-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.admin-page-button-danger:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.admin-page-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.admin-page-item {
  padding: 12px;
  border: 1px solid #e0e6ed;
  border-radius: 6px;
  background: #fbfcfd;
}

.admin-page-item-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.admin-page-item-heading strong {
  color: #17202a;
  font-size: 15px;
}

.admin-page-item-heading a {
  overflow: hidden;
  color: #0067cf;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-page-item-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.admin-page-item-fields .admin-field {
  margin-bottom: 0;
}

.admin-page-item-fields input:disabled {
  color: #697586;
  background: #eef2f5;
}

.admin-page-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.admin-preview,
.admin-save {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: var(--tm-blue);
  color: #fff;
  font-weight: 800;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-section {
  padding: 18px;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  background: #fff;
}

.admin-section h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.admin-field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  color: #27313d;
  font-size: 13px;
  font-weight: 800;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  padding: 9px 10px;
  color: #17202a;
  background: #fff;
  font-size: 14px;
  font-weight: 400;
}

.admin-field textarea {
  resize: vertical;
}

.checkbox-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
}

.admin-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 0;
  background: #f4f6f8;
}

.admin-save:disabled {
  opacity: 0.6;
}

.admin-status {
  color: #243244;
  font-weight: 800;
}

@media (max-width: 760px) {
  .admin-page-create {
    grid-template-columns: 1fr;
  }

  .admin-page-create .admin-copy {
    width: 100%;
  }

  .admin-page-item-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .admin-page-item-heading a {
    max-width: 100%;
  }

  .admin-page-item-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .admin-form {
    grid-template-columns: 1fr;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
