:root {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    Meiryo,
    sans-serif;

  color: #201a1b;
  background: #f5f3f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f5f3f3;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.video-header {
  background: #76142a;
  color: #ffffff;
}

.video-header__inner {
  width: min(100%, 760px);
  margin: 0 auto;
  padding:
    calc(14px + env(safe-area-inset-top))
    16px
    18px;
}

.video-header__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.video-header__back span {
  font-size: 24px;
  line-height: 1;
}

.video-header__title {
  display: grid;
  gap: 2px;
}

.video-header__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.8;
}

.video-header h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
}

.video-main {
  width: min(100%, 760px);
  margin: 0 auto;
  padding:
    18px
    14px
    calc(40px + env(safe-area-inset-bottom));
}

.video-intro {
  padding: 0 2px 16px;
}

.video-intro__lead {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.video-intro__note {
  margin: 4px 0 0;
  color: #6f6668;
  font-size: 13px;
  line-height: 1.6;
}

.video-status,
.video-empty,
.video-error {
  padding: 28px 18px;
  border: 1px solid #e1dcdd;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
  text-align: center;
}

.video-status {
  color: #6f6668;
  font-size: 14px;
}

.video-empty h2,
.video-error h2 {
  margin: 0;
  font-size: 17px;
}

.video-empty p,
.video-error p {
  margin: 8px 0 0;
  color: #6f6668;
  font-size: 14px;
  line-height: 1.6;
}

.video-error button {
  margin-top: 18px;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: #76142a;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.video-days {
  display: grid;
  gap: 18px;
}

.video-day {
  overflow: hidden;
  border: 1px solid #e1dcdd;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
}

.video-day__header {
  display: grid;
  gap: 3px;
  padding: 15px 16px;
  border-bottom: 1px solid #ece7e8;
  background: #fffafa;
}

.video-day__date {
  color: #76142a;
  font-size: 16px;
  font-weight: 900;
}

.video-day__activity {
  color: #756c6e;
  font-size: 12px;
  font-weight: 700;
}

.video-games {
  display: grid;
}

.video-game {
  padding: 16px;
}

.video-game + .video-game {
  border-top: 1px solid #ece7e8;
}

.video-game__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.video-game__copy {
  min-width: 0;
}

.video-game__number {
  margin: 0 0 3px;
  color: #8d7d80;
  font-size: 11px;
  font-weight: 800;
}

.video-game__title {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.video-game__competition {
  margin: 4px 0 0;
  color: #736a6c;
  font-size: 12px;
  line-height: 1.5;
}

.video-game__count {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f3e6e9;
  color: #76142a;
  font-size: 11px;
  font-weight: 900;
}

.video-list {
  display: grid;
  gap: 9px;
  margin-top: 13px;
}

.video-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 11px 12px;
  border: 1px solid #e7dfe1;
  border-radius: 13px;
  background: #ffffff;
  text-decoration: none;
}

.video-link:active {
  transform: translateY(1px);
}

.video-link__play {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #76142a;
  color: #ffffff;
  font-size: 13px;
}

.video-link__copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.video-link__title {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.video-link__service {
  color: #84797b;
  font-size: 11px;
}

.video-game__message {
  margin: 12px 0 0;
  color: #776e70;
  font-size: 13px;
}

.video-game__message.is-error {
  color: #a1293f;
}

@media (min-width: 640px) {
  .video-main {
    padding-top: 24px;
  }

  .video-game {
    padding: 19px 20px;
  }

  .video-day__header {
    padding: 17px 20px;
  }
}