.efd-today-releases-route {
  --today-retro-blue: #1247a5;
  --today-retro-red: #ef413b;
  --today-retro-paper: #fff8e9;
  background: var(--today-retro-paper);
}

.efd-today-releases-route:not(.efd-today-text-mode) {
  background-color: var(--today-retro-paper);
  background-image:
    radial-gradient(circle, rgba(255, 248, 233, 0.82) 0 2px, transparent 2.5px),
    radial-gradient(circle, rgba(18, 71, 165, 0.3) 0 1.4px, transparent 1.8px),
    linear-gradient(128deg, rgba(239, 65, 59, 0.94) 0 12%, transparent 12% 68%, rgba(18, 71, 165, 0.96) 68% 100%),
    linear-gradient(42deg, transparent 0 58%, rgba(239, 65, 59, 0.92) 58% 70%, transparent 70% 100%),
    linear-gradient(134deg, transparent 0 18%, rgba(18, 71, 165, 0.94) 18% 35%, transparent 35% 100%),
    repeating-linear-gradient(0deg, rgba(239, 65, 59, 0.04) 0 1px, transparent 1px 4px);
  background-position: 0 0, 8px 8px, center 0, center 410px, center 980px, 0 0;
  background-repeat: repeat, repeat, repeat-y, repeat-y, repeat-y, repeat;
  background-size: 18px 18px, 11px 11px, 100% 980px, 100% 760px, 100% 1120px, 100% 4px;
}

.efd-today-page {
  position: relative;
  isolation: isolate;
  max-width: 1500px;
  margin: 0 auto;
  padding: 28px 24px 80px;
  color: #191720;
}

.efd-today-page:not(.is-text-mode) {
  background: transparent;
}

.efd-today-page:not(.is-text-mode)::before,
.efd-today-page:not(.is-text-mode)::after {
  display: none;
}

.efd-today-page:not(.is-text-mode) > * {
  position: relative;
  z-index: 1;
}

.efd-today-topbar {
  position: relative;
  top: auto;
  width: min(1180px, calc(100% - 30px));
  margin: 20px auto 26px;
}

.efd-today-page:not(.is-text-mode) > .efd-today-topbar {
  position: sticky;
  top: 10px;
  z-index: 1000;
}

.efd-today-topbar .efd-person-top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.efd-today-topbar .efd-person-directory-link {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 0 15px;
  border: 2px solid #191720;
  border-radius: 999px;
  background: #fff;
  box-shadow: 3px 3px 0 #191720;
  color: #191720 !important;
  font-size: 12px;
}

.efd-today-topbar .efd-person-directory-link:hover,
.efd-today-topbar .efd-person-directory-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 4px 5px 0 #191720;
}

.efd-today-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px auto;
  align-items: end;
  gap: 24px;
  min-height: 280px;
  padding: 54px 64px;
  border: 3px solid #191720;
  border-radius: 8px;
  background: #fff;
  box-shadow: 12px 12px 0 #ff2d83;
  color: #191720;
}

.efd-today-hero p,
.efd-today-heading p {
  margin: 0 0 12px;
  color: #ff2d83;
  font-size: 18px;
  font-weight: 900;
}

.efd-today-hero p span {
  margin-left: 10px;
  color: var(--today-retro-blue);
}

.efd-today-hero h1 {
  margin: 0;
  color: #191720;
  font-size: 76px;
  line-height: 1;
  letter-spacing: 0;
}

.efd-today-hero strong {
  display: block;
  margin-top: 20px;
  font-size: 24px;
}

.efd-today-hero > b {
  color: var(--today-retro-blue);
  font-size: 72px;
  line-height: 1;
}

.efd-today-hero > b small {
  margin-left: 8px;
  color: #191720;
  font-size: 20px;
}

.efd-today-otani {
  position: relative;
  align-self: stretch;
  min-height: 220px;
}

.efd-today-otani img {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -54px;
  width: 190px;
  height: auto;
  filter: drop-shadow(6px 8px 0 rgba(255, 45, 131, 0.42));
}

.efd-today-otani > em {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: -38px;
  padding: 5px 9px;
  border: 2px solid #191720;
  border-radius: 999px;
  background: #fff;
  box-shadow: 2px 2px 0 #ff2d83;
  color: #191720;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.efd-today-otani span {
  position: absolute;
  z-index: 2;
  top: 2px;
  left: -16px;
  padding: 12px 14px;
  border: 3px solid #191720;
  border-radius: 22px;
  background: #fff;
  box-shadow: 5px 5px 0 #d9ff00;
  color: #191720;
  transform: rotate(-3deg);
}

.efd-today-otani span::before,
.efd-today-otani span::after {
  position: absolute;
  content: "";
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.efd-today-otani span::before {
  right: 18px;
  bottom: -24px;
  width: 30px;
  height: 25px;
  background: #191720;
}

.efd-today-otani span::after {
  right: 23px;
  bottom: -17px;
  width: 21px;
  height: 19px;
  background: #fff;
}

.efd-today-otani small,
.efd-today-otani b {
  display: block;
}

.efd-today-otani small {
  color: #ff2d83;
  font-size: 10px;
  font-weight: 900;
}

.efd-today-otani b {
  margin-top: 3px;
  font-size: 15px;
  line-height: 1.35;
}

@media (min-width: 1051px) {
  .efd-today-hero {
    grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1fr);
  }

  .efd-today-otani {
    width: 250px;
    justify-self: center;
  }

  .efd-today-otani img,
  .efd-today-otani > em {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .efd-today-hero > b {
    justify-self: end;
  }
}

.efd-today-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0;
}

.efd-today-filters a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 10px 14px;
  border: 3px solid #191720;
  background: #fff;
  color: #191720;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.efd-today-filters a.is-current {
  background: #d9ff00;
  box-shadow: 5px 5px 0 #191720;
}

.efd-today-catalog {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 34px;
  border: 3px solid #191720;
  background: #fff;
}

.efd-today-page:not(.is-text-mode) .efd-today-catalog {
  background: #fff;
}

.efd-today-page:not(.is-text-mode) .efd-today-catalog::before,
.efd-today-page:not(.is-text-mode) .efd-today-catalog::after {
  position: absolute;
  z-index: 0;
  width: 270px;
  aspect-ratio: 1;
  content: "";
  clip-path: polygon(50% 0, 61% 34%, 98% 35%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 35%, 39% 34%);
  pointer-events: none;
}

.efd-today-page:not(.is-text-mode) .efd-today-catalog::before {
  top: 52px;
  right: -72px;
  background: var(--today-retro-red);
  opacity: 0.34;
  transform: rotate(12deg);
}

.efd-today-page:not(.is-text-mode) .efd-today-catalog::after {
  bottom: 90px;
  left: -84px;
  background: var(--today-retro-blue);
  opacity: 0.28;
  transform: rotate(-14deg);
}

.efd-today-page:not(.is-text-mode) .efd-today-catalog > * {
  position: relative;
  z-index: 1;
}

.efd-today-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 2px solid #191720;
}

.efd-today-heading h2 {
  margin: 0;
  font-size: 38px;
  letter-spacing: 0;
}

.efd-today-heading > span {
  font-weight: 800;
}

.efd-today-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.efd-today-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 3px solid #191720;
  background: #fff;
  box-shadow: 6px 6px 0 #9bdfe9;
}

.efd-today-card.is-goods {
  box-shadow: 6px 6px 0 #ffd84a;
}

.efd-today-card.is-manga {
  box-shadow: 6px 6px 0 #d9ff00;
}

.efd-today-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border-bottom: 3px solid #191720;
}

.efd-today-card-label span {
  padding: 4px 8px;
  background: #ff2d83;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.efd-today-card.is-goods .efd-today-card-label span {
  background: #ffd84a;
  color: #191720;
}

.efd-today-card.is-manga .efd-today-card-label span {
  background: #d9ff00;
  color: #191720;
}

.efd-today-card-label small {
  min-width: 0;
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.efd-today-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f3f5;
}

.efd-today-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.efd-today-image.is-empty b {
  color: #8f8b96;
  font-size: 30px;
}

.efd-today-card-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  padding: 14px;
}

.efd-today-card-copy h3 {
  display: -webkit-box;
  min-height: 4.5em;
  margin: 0;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.efd-today-card-copy time {
  display: block;
  margin: 10px 0 12px;
  color: #6b6770;
  font-size: 11px;
  font-weight: 800;
}

.efd-today-offers {
  display: grid;
  gap: 7px;
  margin-top: auto;
}

.efd-today-offers a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  padding: 7px 9px;
  border: 2px solid #191720;
  background: #ff2d83;
  color: #fff;
  text-decoration: none;
}

.efd-today-offers a.is-duga {
  background: #1976d2;
}

.efd-today-offers a.is-sokmil {
  background: #8b6b16;
}

.efd-today-offers a.is-mgs {
  background: #6640a5;
}

.efd-today-offers a.is-dlsite {
  background: #1671c5;
}

.efd-today-offers b,
.efd-today-offers span {
  min-width: 0;
  font-size: 12px;
}

.efd-today-offers b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.efd-today-offers span {
  flex: 0 0 auto;
}

.efd-today-empty {
  padding: 70px 24px;
  text-align: center;
}

.efd-today-empty b {
  font-size: 26px;
}

.efd-today-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.efd-today-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 2px solid #191720;
  background: #fff;
  color: #191720;
  font-weight: 900;
  text-decoration: none;
}

.efd-today-pagination .current {
  background: #d9ff00;
}

.efd-today-note {
  margin: 22px 0 0;
  color: #a87300;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.efd-today-page.is-text-mode {
  --crt-bg: #010501;
  --crt-panel: #061008;
  --crt-line: #2e6638;
  --crt-text: #8ff58a;
  --crt-bright: #d0ffca;
  --crt-dim: #68ad6b;
  --crt-amber: #ffc867;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 14%, #0b1c0d 0, #041006 44%, var(--crt-bg) 84%);
  box-shadow: 0 0 0 100vmax var(--crt-bg), inset 0 0 110px #000;
  clip-path: inset(0 -100vmax);
  color: var(--crt-text);
  font-family: Consolas, "Lucida Console", "Courier New", "Noto Sans Mono CJK JP", monospace;
  text-shadow: 0 0 5px rgba(118, 255, 119, 0.34);
}

.efd-today-page.is-text-mode :is(h1, h2, h3, strong, b) {
  color: var(--crt-bright);
}

.efd-today-page.is-text-mode :is(p, small, span, label, time) {
  color: var(--crt-dim);
}

.efd-today-page.is-text-mode a {
  color: var(--crt-text) !important;
}

.efd-today-page.is-text-mode a:hover {
  background-color: rgba(121, 255, 116, 0.08);
  color: var(--crt-bright) !important;
}

.efd-today-page.is-text-mode .efd-today-topbar {
  top: auto;
  display: flex;
  width: min(1180px, 100%);
  align-items: center;
  margin: 0 auto 28px;
  padding: 12px 14px;
  overflow: hidden;
  border: 1px solid var(--crt-line);
  border-radius: 0;
  background: rgba(3, 12, 5, 0.96);
  box-shadow: 0 0 16px rgba(105, 255, 112, 0.14);
}

.efd-today-page.is-text-mode .efd-person-brand {
  display: grid;
  min-width: 0;
  flex: 0 0 auto;
  grid-template-columns: max-content;
  grid-template-rows: auto auto;
  align-items: start;
  gap: 2px;
  writing-mode: horizontal-tb;
}

.efd-today-page.is-text-mode .efd-person-brand b,
.efd-today-page.is-text-mode .efd-person-brand small {
  display: block !important;
  margin: 0;
  color: var(--crt-bright);
  font-family: inherit;
  font-size: 18px !important;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
}

.efd-today-page.is-text-mode .efd-person-brand small {
  font-size: 11px !important;
}

.efd-today-page.is-text-mode .efd-person-top-actions {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: var(--crt-text) var(--crt-panel);
  scrollbar-width: thin;
}

.efd-today-page.is-text-mode .efd-person-top-actions .efd-view-mode,
.efd-today-page.is-text-mode .efd-person-top-actions .efd-person-directory-link {
  width: auto !important;
  min-width: 0 !important;
  min-height: 34px !important;
  flex: 0 0 auto;
  padding: 0 11px !important;
  border: 1px solid var(--crt-line) !important;
  border-radius: 0 !important;
  background: var(--crt-panel) !important;
  box-shadow: none !important;
  color: var(--crt-text) !important;
  font-size: 11px !important;
  white-space: nowrap;
  word-break: keep-all;
}

.efd-today-page.is-text-mode .efd-person-top-actions .efd-view-mode[aria-pressed="true"] {
  border-color: #66d974 !important;
  background: #102615 !important;
  color: var(--crt-bright) !important;
}

.efd-today-page.is-text-mode .efd-today-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 0;
  padding: 42px 18px 35px;
  border: 0;
  border-block: 1px solid var(--crt-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--crt-text);
}

.efd-today-page.is-text-mode .efd-today-hero h1 {
  color: var(--crt-bright);
  text-shadow: 0 0 8px rgba(151, 255, 145, 0.58);
}

.efd-today-page.is-text-mode .efd-today-hero h1::before {
  color: var(--crt-text);
  content: "> ";
}

.efd-today-page.is-text-mode .efd-today-hero h1::after {
  display: inline-block;
  margin-left: 0.18em;
  color: var(--crt-bright);
  content: "█";
  font-size: 0.65em;
  animation: efd-crt-cursor 0.92s steps(1, end) infinite;
}

.efd-today-page.is-text-mode .efd-today-hero p,
.efd-today-page.is-text-mode .efd-today-heading p {
  color: var(--crt-dim);
}

.efd-today-page.is-text-mode .efd-today-hero p span,
.efd-today-page.is-text-mode .efd-today-hero > b {
  color: var(--crt-amber);
}

.efd-today-page.is-text-mode .efd-today-filters {
  gap: 6px;
  margin: 24px 0;
}

.efd-today-page.is-text-mode .efd-today-filters a {
  min-height: 40px;
  border: 1px solid var(--crt-line);
  border-radius: 0;
  background: var(--crt-panel);
  box-shadow: none;
  color: var(--crt-text) !important;
}

.efd-today-page.is-text-mode .efd-today-filters a.is-current {
  background: #102615;
  color: var(--crt-bright) !important;
}

.efd-today-page.is-text-mode .efd-today-catalog {
  padding: 28px 0;
  border: 1px solid var(--crt-line);
  border-radius: 0;
  background: transparent;
}

.efd-today-page.is-text-mode .efd-today-heading {
  margin: 0 24px 14px;
  border-color: var(--crt-line);
}

.efd-today-page.is-text-mode .efd-today-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  padding: 0 24px;
}

.efd-today-page.is-text-mode .efd-today-card {
  display: block;
  border: 0;
  border-bottom: 1px solid var(--crt-line);
  border-radius: 0;
  background: rgba(5, 15, 7, 0.62);
  box-shadow: none !important;
  color: var(--crt-text);
}

.efd-today-page.is-text-mode .efd-today-card-label {
  min-height: 0;
  padding: 10px 12px 0;
  border: 0;
}

.efd-today-page.is-text-mode .efd-today-card-label span {
  background: #102615;
  color: var(--crt-bright);
}

.efd-today-page.is-text-mode .efd-today-card-label small {
  color: var(--crt-dim);
}

.efd-today-page.is-text-mode .efd-today-image {
  display: none;
}

.efd-today-page.is-text-mode .efd-today-card-copy {
  min-height: 0;
  padding: 12px;
}

.efd-today-page.is-text-mode .efd-today-card-copy h3 {
  display: block;
  min-height: 0;
  color: var(--crt-bright);
  -webkit-line-clamp: unset;
}

.efd-today-page.is-text-mode .efd-today-offers a {
  min-height: 36px;
  border: 1px solid var(--crt-line);
  border-radius: 0;
  background: var(--crt-panel) !important;
  box-shadow: none;
  color: var(--crt-text) !important;
}

.efd-today-page.is-text-mode .efd-today-pagination .page-numbers {
  border: 1px solid var(--crt-line);
  border-radius: 0;
  background: var(--crt-panel);
  color: var(--crt-text);
}

.efd-today-page.is-text-mode .efd-today-pagination .current {
  background: #102615;
  color: var(--crt-bright);
}

.efd-today-page.is-text-mode .efd-today-note {
  color: var(--crt-dim);
}

@media (max-width: 1050px) {
  .efd-today-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .efd-today-page {
    padding: 16px 12px 110px;
  }

  .efd-today-topbar {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .efd-today-topbar .efd-person-top-actions .efd-person-directory-link {
    display: none !important;
  }

  .efd-today-hero {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) 120px;
    min-height: 0;
    padding: 32px 24px;
  }

  .efd-today-hero > b {
    grid-column: 1;
    grid-row: 2;
  }

  .efd-today-page.is-text-mode .efd-today-hero {
    grid-template-columns: 1fr;
  }

  .efd-today-page.is-text-mode .efd-today-hero > b {
    grid-column: 1;
  }

  .efd-today-page.is-text-mode .efd-today-topbar {
    align-items: flex-start;
  }

  .efd-today-page.is-text-mode .efd-person-brand {
    align-items: flex-start;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 3px;
  }

  .efd-today-page.is-text-mode .efd-person-top-actions {
    display: grid;
    flex: 0 0 112px;
    grid-template-columns: 112px;
    overflow: visible;
  }

  .efd-today-page.is-text-mode .efd-person-top-actions .efd-view-mode {
    width: 112px !important;
  }

  .efd-today-otani {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 205px;
  }

  .efd-today-otani img {
    right: -16px;
    bottom: -32px;
    width: 118px;
  }

  .efd-today-otani > em {
    right: -5px;
    bottom: -29px;
    padding: 4px 7px;
    font-size: 9px;
  }

  .efd-today-otani span {
    top: 0;
    left: -22px;
    padding: 8px 9px;
  }

  .efd-today-otani b {
    font-size: 11px;
  }

  .efd-today-hero h1 {
    font-size: 48px;
  }

  .efd-today-hero strong {
    font-size: 17px;
  }

  .efd-today-hero > b {
    font-size: 42px;
  }

  .efd-today-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .efd-today-catalog {
    padding: 18px 12px;
  }

  .efd-today-heading {
    align-items: start;
    flex-direction: column;
  }

  .efd-today-heading h2 {
    font-size: 30px;
  }

  .efd-today-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .efd-today-page.is-text-mode .efd-today-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 12px;
  }

  .efd-today-page.is-text-mode .efd-today-heading {
    margin-inline: 12px;
  }

  .efd-today-card {
    box-shadow: 4px 4px 0 #9bdfe9;
  }

  .efd-today-card.is-goods {
    box-shadow: 4px 4px 0 #ffd84a;
  }

  .efd-today-card.is-manga {
    box-shadow: 4px 4px 0 #d9ff00;
  }

  .efd-today-card-label {
    align-items: start;
    min-height: 64px;
    flex-direction: column;
  }

  .efd-today-card-label small {
    width: 100%;
  }

  .efd-today-card-copy {
    padding: 10px;
  }

  .efd-today-card-copy h3 {
    min-height: 5.4em;
    font-size: 14px;
    line-height: 1.35;
    -webkit-line-clamp: 4;
  }

  .efd-today-offers a {
    align-items: start;
    flex-direction: column;
  }

  .efd-today-page:not(.is-text-mode)::before {
    top: 80px;
    bottom: 46px;
    width: 76%;
    opacity: 0.78;
  }

  .efd-today-page:not(.is-text-mode)::after {
    top: 112px;
    bottom: 78px;
    width: 70%;
    opacity: 0.8;
  }

  .efd-today-page:not(.is-text-mode) .efd-today-catalog::before,
  .efd-today-page:not(.is-text-mode) .efd-today-catalog::after {
    width: 180px;
  }

}
