:root {
  --team-color: #7e35ae;
  --team-color-dark: #5f2783;

  --page-bg: #ffffff;
  --text-color: #222222;

  --safe-top: env(safe-area-inset-top);
  --safe-right: env(safe-area-inset-right);
  --safe-bottom: env(safe-area-inset-bottom);
  --safe-left: env(safe-area-inset-left);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background: var(--page-bg);
  color: var(--text-color);
  font-family: Arial, Helvetica, sans-serif;
  touch-action: manipulation;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
  user-select: none;
}

html {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

body {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-drag: none;
  -webkit-user-drag: none;
}

.app-shell {
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  background: #ffffff;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  position: relative;
}

.app-header {
  display: block;
  height: 160px;
  background: #ffb90c;
  background: linear-gradient(
    342deg,
    rgba(255, 185, 12, 1) 0%,
    rgba(255, 255, 255, 1) 80%
  );
  padding: 16px;
  padding-bottom: 32px;
}

.app-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.header-right {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: auto;
  height: 55px;
}

.partner-logo {
  width: auto;
  height: 75px;
}

.team-bar {
  width: 100%;
  min-height: 28px;
  margin-top: 6px;
  border-radius: 16px;
  background: var(--team-color);
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;

  position: absolute;
  top: -36px;
  padding: 4px 24px;
}

.team-name {
  display: block;
}

.team-number {
  display: block;
  font-size: 30px;
}

.main-content {
  height: calc(100dvh - 160px);
  padding-top: 48px;
  overflow: hidden;
}

.main-container {
  height: 100%;
  min-height: 0;
}

.main-iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  overflow: hidden;
  background: transparent;
}