:root {
  --main-color: #181d22;
  --nav-bg: linear-gradient(to right, #1e242b 25%, #0f1317);
  --nav-button: #43505e;
  --bg-color: #0d0f12;
  --footer-bg: #0f1215;
  --outline-color: #8098b3;
  --outline-hover: #9ebddd;
  --html-bg: linear-gradient(
    to top right,
    #15181d 5%,
    #181d22 44%,
    #050607 100%
  );
  --text-color: rgb(227, 230, 232, 0.88);
  --blog-color: #0d0f12f0;
  --link-color: #b39b80;
  --link-visited: #567290;
  --text-shadow: #181d22;
  --tile-overlay: #181d2270;
  --table-border: #262b34;
  --invert: invert(1);
  --search-border: var(--outline-color);
  --button-bg: var(--nav-button);
  --search-bg: var(--text-color);
  --HIRO: '';
  --trailer-bg: '';
}

[data-theme="light"] {
  --nav-bg: linear-gradient(to right, #cfd6dd 25%, #adb9c5);
  --nav-button: #cfd6dd;
  --bg-color: #f8f8ff;
  --footer-bg: #cfd6dd;
  --outline-color: #0d0f12;
  --outline-hover: #2e3540;
  --html-bg: linear-gradient(to bottom, #eef0f3, #ccd2da);
  --text-color: #0d0f12f0;
  --blog-color: rgb(227, 230, 232, 0.95);
  --link-color: #00418b;
  --link-visited: #8b4a00;
  --text-shadow: #eef0f3;
  --tile-overlay: #181d2270;
  --table-border: #d8dce3;
  --invert: invert(0);
  --search-bg: #f1f3f5;
}

[data-theme="game"] {
  --search-border: var(--link-color);
  --button-bg: var(--bg-color);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--outline-color) var(--bg-color);
}

*::-webkit-scrollbar {
  width: 6px;
}

*::-webkit-scrollbar-track {
  background: var(--secondary-color);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 5px;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter/Inter-VariableFont_slnt,wght.ttf");
}

@font-face {
  font-family: "Lato";
  src: url("/fonts/Lato/Lato-Regular.ttf");
}

@font-face {
  font-family: "Lato-Bold";
  src: url("/fonts/Lato/Lato-Bold.ttf");
}

@font-face {
  font-family: "Lato-Italic";
  src: url("/fonts/Lato/Lato-Italic.ttf");
}

@font-face {
  font-family: "Lato-Header";
  src: url("/fonts/Lato/Lato-Black.ttf");
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("/fonts/Noto_Sans/NotoSansJP-VariableFont_wght.ttf");
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  scroll-behavior: smooth;
  background: var(--html-bg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 100%;
  height: 100%;
  margin: 0;
  color: var(--text-color);
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

body {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 6;
  box-shadow: 0 0 15px #00000020;
}

#ichiniche_top,
footer {
  background: var(--bg-color);
  padding: 1rem 2.5rem;
  box-sizing: border-box;
  margin: auto;
}

footer {
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  background-color: var(--footer-bg);
}

a {
  color: var(--link-color);
}

a:visited:not(nav > ul > li > a, tile_title > a) {
  color: var(--link-visited);
}

select {
  cursor: pointer;
}

a:hover:not(nav > ul > li > a, .tile > a, a.tile), a:visited:hover:not(nav > ul > li > a) {
  filter: brightness(150%);
}

#ichiniche_top > div {
  display: flex;
  max-width: 113rem;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 auto;
}

#ichiniche_top > div > div > button {
  font-size: 14pt;
  display: block;
  background-color: transparent;
  border-radius: 0;
  color: inherit;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0.8rem;
  transition: 0.4s;
}

#ichiniche_top > div > div > button:hover {
  background-color: var(--nav-button);
}

#ichiniche_top > div > div > button > span,
label > span,
button.fa > span,
#podcast h1,
.rec h2 {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  padding: 0;
  margin: 0;
}

button.active {
  background-color: var(--nav-button) !important;
  transition: 0.4s;
}

.logo {
  max-width: 60px;
  filter: var(--invert);
  opacity: 90%;
}

#main_nav {
  background: var(--nav-bg);
}

nav > ul {
  display: flex;
  list-style: none;
  justify-content: center;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

#main_nav > ul {
  justify-content: flex-end;
  max-width: 115rem;
  margin: auto;
}

nav > ul > li > a {
  display: block;
  padding: 0.5rem 1rem;
  color: inherit;
  text-decoration: none;
}

nav > ul > li > a:hover {
  background-color: var(--nav-button);
  text-decoration: underline;
  transition: 0.4s;
}

main {
  padding: 12rem 2.5rem 8rem 2.5rem;
  flex: 1 0 auto;
}

/* GENERAL PURPOSE */

.small-font {
  font-size: 1.2rem;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 1px;
}

.bold {
  font-family: "Lato-Bold", sans-serif;
}

.italic {
  font-family: "Lato-Italic", sans-serif;
  font-weight: 400;
}

.bold.italic {
  font-weight: 700;
}

.hidden {
  display: none !important;
}

.alt_main {
  padding-left: 0;
  padding-right: 0;
}

.flex_row {
  display: flex;
  flex-direction: row;
}

.flex_column {
  display: flex;
  flex-direction: column;
}

.margin_bottom_0 {
  margin-bottom: 0;
}

.container {
  box-sizing: border-box;
  max-width: 117rem;
  width: 100%;
  margin: auto;
  font-size: 14.5px;
}

hr {
  margin: 3rem auto;
  padding: 0;
  width: ;
  border-style: solid;
  border-width: 1px 0 0 0;
  border-color: var(--table-border);
}

details > div {
  overflow: hidden;
  display: grid;
  /* intentionally independent from .animation as Safari 16
  would otherwise ignore the expansion animation. */
  animation-duration: 0.2s;
}

details > .animation {
  animation-name: grid-expand;
  animation-timing-function: ease-out;
}

details > .collapsing {
  animation-direction: reverse;
  animation-timing-function: ease-in;
}

details > div > div {
  min-height: 0;
}

@keyframes grid-expand {
  0% {
    grid-template-rows: 0fr;
  }
  100% {
    grid-template-rows: 1fr;
  }
}

.tile {
  box-sizing: border-box;
  border-width: 2px;
  border-style: solid;
  border-color: var(--outline-color);
  background-color: var(--bg-color);
  box-shadow: -5px 5px var(--outline-color);
  border-radius: 5px;
  overflow: hidden;
  transition: ease 0.25s;
  filter: blur(0);
}

.tile:hover:not(#podcast_episodes.tile) {
  transform: translateY(-10px);
  transition: ease 0.25s;
  filter: blur(0);
  border-color: var(--outline-hover);
  box-shadow: -5px 5px var(--outline-hover);
}

.tile_padding {
  padding: 0.7rem 1rem;
}

.tile_preview {
  display: block;
  height: 150px;
  text-decoration: none;
}

.tile_preview > span {
  position: absolute;
  background-color: var(--bg-color);
  padding: 0.1rem 0.7rem 0.2rem 0.7rem;
  color: var(--text-color);
  border-radius: 0 0 5px 0;
  z-index: 3;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
}

.tile_text {
  padding: 1rem 2rem;
}

.tile_text p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.non_blog_tile p {
  -webkit-line-clamp: 1;
}

.tile_title {
  margin-top: 0;
}

.tile_title a, h2.tile_title  {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  font-family: "Lato-Bold", sans-serif;
  color: var(--text-color);
  text-decoration: none;
  font-size: 17px;
  font-weight: bold;
}

h2.tile_title > a {
  overflow: hidden;
  height: 30px;
  border-bottom: 1px solid var(--table-border);  
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bolder;
  text-align: center;
  font-size: 16px;
  line-height: 160%;
}

.tile_title a:hover {
  text-decoration: underline;
}

/* HOME */

#home {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  z-index: 5;
}

.home_h2 {
  border-color: var(--outline-color);
  border-width: 0 0 3px 0;
  border-style: solid;
  padding: 0.7rem 0;
  margin-bottom: -0.8rem;
  font-size: 22px;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 1px;
  font-weight: 900;
}

#home_blog_section, #recommend {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 2.5rem;
}

#HIRO {
  position: absolute;
  top: 50.85px;
  width: 100%;
  box-sizing: border-box;
  opacity: 35%;
  background: var(--HIRO);
  min-height: 600px;
  z-index: 1;
  -webkit-mask-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(0, 0, 0, 1)),
    to(rgba(0, 0, 0, 0))
  );
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 17%;
  background-attachment: fixed;
  transition: 0.5s;
}

#HIRO_content {
  z-index: 4;
  text-shadow: 1px 1px 5px var(--text-shadow), 1px 1px 5px var(--text-shadow);
  margin-bottom: 2rem;
}

#HIRO_content h1 {
  font-size: 45pt;
  font-family: "Lato-Header", sans-serif;
  font-weight: normal;
  text-align: center;
  margin-bottom: 1.25rem;
}

#HIRO_h2 {
  font-size: 2rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  margin-top: 1.25rem;
  margin-bottom: 0.3rem;
  text-align: center;
}

#HIRO_content p {
  font-size: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#HIRO_content a {
  margin-top: 1rem;
  display: block;
  font-weight: 700;
}

#HIRO_content a:hover {
  color: var(--outline-hover);
}

.search_toggle {
  text-align: center;
  background-color: var(--search-border);
  text-shadow: none;
  color: var(--blog-color);
  font-weight: 700;
  border-radius: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12.5px;
  border: none;
}

.home_filler {
  grid-area: 2 / 2 / span 1 / span 3;
  padding: 1px 2px 2px 2px;
  background-color: var(--outline-color);
  display: block;
  width: 100%;
  box-sizing: border-box;
}

#home_gamedb_section .home_filler {
  grid-area: 2 / 1 / span 1 / span 3;
}

#home_blog_archive {
  grid-area: 2 / 1 / span 1 / span 3;
  display: block;
}

#home_gamedb_section,
#home_animanga_section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 172px;
  gap: 2.5rem;
}

#home_gamedb_current {
  grid-area: 1 / 4 / span 4 / span 1;
}



#home_animanga_section {
  grid-template-columns: 168px 1fr 1fr 1fr;
}

#home_animanga_current {
  grid-area: 1 / 1 / span 3 / span 1;
}

label {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  box-sizing: border-box;
}
  
label > div {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

label > div > input {
  border-color: var(--search-border);
  border-radius: 20px 0 0 20px;
  border-width: 2px 0 2px 2px;
  border-style: solid;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--search-bg);
}

label > div > button {
  border-color: var(--search-border);;
  border-width: 2px 2px 2px 0;
  border-style: solid;
  border-radius: 0 20px 20px 0;
  background-color: var(--button-bg);
  font-family: "Lato-Bold", sans-serif;
  color: inherit;
  cursor: pointer;
  padding: 0 1rem 0 0.8rem;
  box-sizing: border-box;
}

label > div > button:hover {
  filter: brightness(88%);
}

#main_search {
  background: radial-gradient(circle, var(--search-border), var(--search-border), var(--main-color));
}

#main_search > div > .site-search, #main_search > div > button {
  border-width: 0;
  padding: 0.4rem 0.7rem;
}

#main_search > .container {
  padding: 0.2rem 2.5rem;
}


/* DATABASE PAGE */

#db_main_section {
  margin-bottom: 3rem;
  margin-top: -2rem;
  box-sizing: border-box;
}

.poster {
  border-radius: 3px;
  border-width: 3px 3px 8px 3px;
  border-style: solid;
  border-color: var(--outline-color);  
  box-shadow: 1px 1px 11px #00000090;
  margin: 0 2rem 2rem 2rem;
  overflow: unset;
  display: block;
  width: 40rem;
}

.poster:hover {
  box-shadow: 0px 6px 11px #00000090 !important;
}

.description {
  padding: 0 2rem 2rem 2rem;
}

.description h1 {
  font-family: "Lato-Header", sans-serif;
  font-size: 5rem;
  font-weight: normal;
  margin-bottom: 0;
  margin-top: 0;
}

.description p:not(.alias) {
  font-size: 1.6rem;
}

#db_description, .review_desc {
  font-size: 1.7rem;
  padding: 1.3rem;
  margin: 0;
}

.description .alias {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.description .rating {
  color: var(--link-color);
}

td.rating {
  text-align: right;
}

.sub_header, .description .rating {
  font-size: 1.8rem !important;
}

.add_data {
  padding: 0 1.3rem 1.3rem 1.3rem;
  margin: 0;
}

p.add_data {
  border-bottom: 1px solid var(--table-border);
}

div.add_data {
  padding-top: 1.3rem;
}

#trailer_section {
  background: linear-gradient(
      180deg,
      rgba(48, 56, 65, 0.7),
      rgba(48, 56, 65, 0.9)
    ),
    var(--trailer-bg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  padding: 3.5rem 2rem;
  box-sizing: border-box;
  box-shadow: inset 0px 14px 10px -12px #000000a0;
}

#trailer {
  display: flex;
  flex-direction: justify-content: center;
}

#trailer > iframe, .animation-target iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 1px 1px 11px #00000090;
  border-width: 3px 3px 7px 3px;
}

#trailer > iframe:hover, .animation-target iframe:hover {
  box-shadow: 0px 6px 11px #00000090 !important;
}

.bottom_shadow {
  box-shadow: -1px -4px 17px #00000090;
  width: 100%;
  box-sizing: border-box;
}

#general_information {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem 2rem 5.5rem 2rem;
}

.column h2, #recommend h2 {
  font-family: "Lato-Bold", sans-serif;
  font-size: 2.5rem;
  
}

.tile_container > .tile, .tile_container.tile {
  padding: 0 1rem;
}

.tile-end {
  text-align: center;
  font-family: "Lato-Bold", sans-serif;
}

.info-tile, .season-facts-table {
  width: 100%;
  box-sizing: border-box;  
  font-size: 1.7rem;
}

.info-tile-label {
  padding-right: 3rem;
  text-align: left;
}

.info-tile-data {
  text-align: right;
}

.info-tile > tbody > tr:not(.info-tile > tbody > tr:last-of-type) {
  display: table;
  border-spacing: 1.3rem;
  border-bottom: 1px solid var(--table-border);
  width: 100%;
  box-sizing: border-box;
}

.info-tile > tbody > tr:last-of-type {
  display: table;
  border-spacing: 1.3rem;
  width: 100%;
  box-sizing: border-box;
}

#review_tile .small-font{
  text-align: right;
  margin-top: 0;
}

#seasons_tile {
  font-size: 1.7rem;
}

#seasons_tile h2, #nfo_downloads h2 {
  margin-top: 4rem;
}

#seasons_tile > .tile {
  padding: 1rem;
}

#seasons_tile > .tile > img {
  display: block;
  max-width: 22rem;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

#seasons_tile > .tile > img:hover {
  transform: scale(1.05);
  transition: ease 0.3s;
  filter: blur(0);
}

.season_title {
  text-align: center;
  margin-top: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid  var(--table-border);
}

.episode_list {
  margin-bottom: 0;
  padding-top: 1rem;
  border-top: 1px solid  var(--table-border);
}

.season_table {
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  margin-top: 1.2rem;
}

.season_table tr {
  display: table;
  margin: 0 auto;
  box-sizing: border-box;
  border-spacing: 0.25rem;
  max-width: 205px;
  width: 100%;
}

.season_table th {
  text-align: left;
}

.season_table td {
  text-align: right;
}

#nfo_downloads > div {
  display: grid;
  gap: 2.5rem;
}

#nfo_downloads a, 
#season_header a.tile, 
#home_blog_archive, 
.podcast_tile button, 
.podcast_tile a, 
.blog_home.tile,
#contact button.tile {
  display: flex;
  padding: 1rem;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  font-size: 1.7rem;
  color: var(--text-color);
  justify-content: center;
  font-family: "Lato-Bold", sans-serif;
}

#nfo_downloads a:hover {
  text-decoration: underline;
}

#cast_tile.tile {
  padding: 0 2rem;
  font-size: 1.7rem;
}

.cast_container {
  display: grid;
  grid-template-columns: 10rem 1fr;
  width: 100%;
  box-sizing: border-box;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--table-border);
  padding: 1.5rem 0;
}

.cast_container > div > img {
  width: 10rem;
  border-width: 2px 2px 5px 2px;
  border-style: solid;
  border-color: var(--outline-color);
  border-radius: 3px;
}

.cast_name {
  margin-top: 0;
  font-size: 2.25rem;
}

.alt_header {
  display: block;
  background-color: var(--table-border);
  padding: 0.3rem 0.7rem;
  border-radius: 3px 3px 0 0;
  font-family: "Lato-Bold", sans-serif;
}

.cast_members, .alt_box {
  border: 2px solid var(--table-border);
  border-radius: 0 0 3px 3px;
  padding: 1rem 0.7rem;
}

.cast_members ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.flash {
  background-color: rgb(227, 230, 232);
  border-width: 2px 2px 5px 2px;
  border-style: solid;
  border-color: var(--outline-color);
  width: 10rem;
  height: 155px;
  border-box: box-sizing;
  position: absolute;
  border-radius: 3px;
  z-index: 1;
}

.HENSHIN {
  animation: fade 2s ease;
  position: relative;
  border-box: box-sizing;
  z-index: 2;
}

#recommend_section {
  background: url('/Images/ichinichebg.png'), rgba(48, 56, 65, 0.85);
  margin-bottom: -8rem;
}

#recommend {
  padding: 5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
}

#recommend p {
  margin-bottom: 0;
  padding-bottom: 0.3rem;
}

@keyframes fade {
   from {
      opacity: 0;
   }
   to {
      opactiy: 1;
   }
}

/* EPISODE LIST */

#season_header {
  gap: 3rem;
  background: var(--episode-season-header);
  text-shadow: 1px 1px 8px var(--text-shadow);
  margin-bottom: 4rem;
  align-self: center;
  justify-content: flex-start;
}

#season_header .poster {
  width: 20rem;
  margin: 0;
  align-self: center;
} 

#season_header .description {
  padding: 0;
}

#season_header h1 {
  margin-top: 0;
}

#season_header > .description > .flex_column {
  gap: 2rem;
}

#episodes {
  display: grid;
  gap: 3rem;
}

#episodes .tile {
  padding: 1rem;
  box-shadow: -3px 3px var(--outline-color);
}

#episodes .tile:hover {
  box-shadow: -3px 3px var(--outline-hover); 
}

.episode-id {
  text-align: left;  
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 1px;
}

.episode-info-tile {
  padding: 0.5rem 1.3rem;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid var(--table-border);
}

.episode-title {
  text-align: left;
  font-family: "Lato-Bold", sans-serif;
}

.episode-date, .episode-runtime {
  font-size: 1.2rem;
  text-align: right;
  width: 8rem;
  font-weight: 300;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 1px;
}

.episode-date {
  width: 13rem;
}

.episode-synopsis {
  padding: 1rem 1.5rem 0.5rem 1.5rem;
  margin: 0;
}

/* SEARCH PAGE */

#query_title_and_search {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 3rem;
  border-bottom: 1px solid #43505e;
}

#query_title_and_search > form {
  display: contents;
}

#query_count {
  color: var(--search-border);
  font-family: "Lato-Bold", sans-serif;
}

#query_results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}


#query_results .tile > a,
#home_blog_section .tile > a,
#home_youtube > a,
#home_gamedb > a,
#home_anime > a,
#home_manga > a,
#home_podcast > a,
#home_yugioh > a,
.recommend > a {
  max-height: 150px;
  display: block;
  overflow: hidden;
}

#query_results .tile > a > img,
#home_blog_section .tile > a > img,
#home_animanga_current img,
#home_gamedb_current img, 
#home_youtube.tile > a > img,
#home_gamedb.tile > a > img,
#home_anime.tile > a > img,
#home_manga.tile > a > img,
#home_podcast.tile > a > img,
#home_yugioh.tile > a > img,
.recommend > a > img {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid var(--bg-color);
  opacity: 70%;
  transition: ease 0.3s;
  min-height: 152px;
  object-fit: cover;
}

#home_animanga_current img,
#home_gamedb_current img {
  border: none;
  display: block;
}

#home_animanga_current a,
#home_gamedb_current a {
  border: 2px solid var(--bg-color);
  height: unset;
  display: block;
  overflow: hidden;
}

#query_results .tile_text {
  display: grid;
}

#query_results .rating {
  grid-area: 3 / 1 / span 1 / span 1;
  padding-bottom: 0.2rem;
  color: var(--link-color);
  margin-top: -0.2rem;
  display: flex;
  gap: 0.35rem;
  justify-content: center;
}

#query_results .tile_text p {
  margin-top: 0;
}

#results_and_filters {
  display: grid;  
  grid-template-columns: 150px auto;
  gap: 3rem;
  margin-top: -3rem;
}

#filters {
  border-right: 1px solid #43505e;
  text-shadow: 1px 1px 5px var(--text-shadow);
  grid-row: 1 / 4;
}

#filters h2 {
  margin-top: 2rem;
  font-size: 18px;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

#filters details:not(#filters details:first-of-type) {
  margin-top: 1rem;
}

#filters summary {
  font-family: "Noto Sans JP", sans-serif;;
  font-weight: 700;
  cursor: pointer;
  margin-left: 0.25rem;
}

#filters ul {
  margin: 1rem 0 0 0;
  padding: 0;
  list-style: none;
  font-family: "Noto Sans JP", sans-serif;
}

#filters li {
  display: flex;
  gap: 0.5rem;
}

#filters li > label {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#filters input[type="range"] {
  writing-mode: vertical-lr;
  margin: 1.2rem 0 0 0;
}

datalist {
  display: flex;
  position: absolute;
  margin-top: -16.5rem;
  flex-direction: column;
  gap: 1.4rem;
  margin-left: 2.8rem;  
}

option:before {
  font-family: "FontAwesome";
  content: "\f005\00a0\f006\00a0\f006\00a0\f006\00a0\f006";
  display: flex;
  gap: 1rem;
  color: var(--link-color);
}

.option2:before {
  font-family: "FontAwesome";
  content: "\f005\00a0\f005\00a0\f006\00a0\f006\00a0\f006"
}

.option3:before {
  font-family: "FontAwesome";
  content: "\f005\00a0\f005\00a0\f005\00a0\f006\00a0\f006"
}

.option4:before {
  font-family: "FontAwesome";
  content: "\f005\00a0\f005\00a0\f005\00a0\f005\00a0\f006"
}

.option5:before {
  font-family: "FontAwesome";
  content: "\f005\00a0\f005\00a0\f005\00a0\f005\00a0\f005"
}

.game_status {
  text-align: center;
}

.notstarted {
  filter: grayscale(1);
}

/* PODCAST */

#podcast {
  display: grid;
  gap: 3rem;
  width: 100%;
  box-sizing: border-box;
}

#podcast_latest {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tv_frame {  
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 880px;
  box-sizing: border-box;
  margin: auto;
  background: radial-gradient(rgba(0,0,0,0.7) 50%, transparent 100%), linear-gradient(rgba(0,0,0,0.1) 10%, transparent);
  background-color: #333;
  padding: 1.5rem;
  border-radius: 2px;
  border: 1px solid #b39b80;
  outline: 2px solid #111;
  box-shadow: 0 17px 17px -5px #11111180;
}

.tv_bezel::before {
  content: " ";
  position: absolute;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  max-width: 876px;
  border-radius: 3px;
  border-style: solid;
  border-width: 85px 70px 85px 70px;
  border-color: rgba(0,0,0,0.4) rgba(0,0,0,0.2) rgba(0,0,0,0.0) rgba(0,0,0,0.2);
  z-index: 1;
  aspect-ratio: 16 / 9;
  top: 12.2rem;
  margin-left: -1.4rem;
}

.tv_bezel {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 50% 50% / 5% 5%;
}

.tv_bezel > iframe {
  border: none;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 25px / 270px;
  position: relative;
  z-index: 2;  
  box-shadow: inset 0 5px 25px rgba(255,255,255,0.2), inset 5px 0 15px rgba(255,255,255,0.2), inset -5px 0 15px rgba(255,255,255,0.1), 0 0 10px rgba(0,0,0,0.4), inset 0 200px 5px rgba(255,255,255,0.05);
}

#podcast_latest h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  margin-top: 0;
  font-family: "Lato-Header", sans-serif;
  font-weight: normal;
}

#podcast_latest h2 {
  padding: 0.5rem 0.7rem;
  font-size: 2.2rem;
  margin-top: 0;
  font-family: "Lato-Header", sans-serif;
  font-weight: normal;
}

#podcast_latest p {
  font-size: 1.8rem;
  text-align: left;
}

#podcast_episodes {
  padding: 1.5rem;
  box-shadow: unset;
}

#podcast_episodes summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.8rem;
  font-family: "Lato-Bold", sans-serif;
  padding: 1rem;
  list-style: none;
  cursor: pointer;
}

#podcast_episodes summary:hover {
  background-color: var(--nav-button);
}

#podcast_episodes summary:not(.first-podcast) {
  border-bottom: 1px solid var(--table-border);
}

.podcast_tile {
  padding: 2rem 1rem 2rem 1rem;
  display: grid;
  grid-template-columns: 325px 1fr;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  border-bottom: 1px solid var(--table-border);
}

.podcast_tile img {
  aspect-ratio: 16 / 9;
  width: 325px;
  align-self: center;
  margin: 0 auto;
  height: unset;
  box-sizing: border-box;
  border-radius: 3px;
  border-style: solid;
  border-width: 2px 2px 6px 2px;
  border-color: var(--table-border);
  box-shadow: inset 0px 14px 10px -12px #000000a0;
  display: block;
}

.podcast_tile .description {
  padding: 0;
}

.podcast_tile button {
  grid-area: 2 / 1 / span 1 / span 2;
  cursor: pointer;
}

.podcast_tile a {
  grid-area: 3 / 1 / span 1 / span 2;
}

#podcast .alt_header {
  display: block;
  padding: 0.5rem;
  font-size: 1.6rem;
  text-align: center;
}

#podcast .alt_box {
  font-size: 16px;
}

#podcast_episodes summary.active {
  border: 3px solid #b39b80;
}

.alt_box p {
  margin: 0
}

.fa-plus, .fa-minus {
  align-self: center;
  font-size: 14px !important;
}


/* BLOG REVIEW PAGE */

#blog h1, #contact h1 {
  font-family: "Lato-Header", sans-serif;
  font-weight: normal;
  font-size: 4rem;
  margin-bottom: 0.3rem;
}

#blog p:not(.small-font), #contact p {
  font-size: 1.8rem;
  font-family: "Noto Sans JP"
}

#blog .small-font {
  margin-top: 0;
  font-weight: 700;
  font-style: italic;
}

.date_published {
  margin-bottom: 3rem;
}

.blog_tab {
  display: block;
  margin-left: auto;
  margin-bottom: -5.2rem;
  background-color: var(--text-color);
  width: fit-content;
  border-radius: 0px 3px 0 3px;
  color: var(--blog-color);
  padding: 0.25rem 1rem;
  position: relative;
  font-size: 1.2rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
}

#blog section, #contact form  {
  border-width: 2px 2px 2px 4px;
  border-style: solid solid solid dashed;
  border-color: var(--text-color);
  padding: 2rem;
  border-radius: 0px 5px 5px 0px;
  box-shadow: -6px 2px;
  margin-top: 3rem;
  margin-bottom: 3rem;
  background-color: var(--bg-color);
}

#blog section p:first-of-type {
  margin-top: 0.5rem;
}


#blog .float {
  float: left;
  max-width: 200px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 3px;
  margin: 0.7rem 1.1rem 0 0;
  border-width: 2px 2px 4px 2px;
  border-style: solid;
  border-color: var(--text-color);
  box-shadow: 0px 0px 8px #00000070;
}

#blog .float img {
  width: 100%;
  box-sizing: border-box;
  display:block;
}

#blog .float.right {
  float: right;
  margin: 0.4rem 0 0 1.1rem;
}

#blog figcaption {
  text-align: center;
  padding: 0.3rem;
  border-top: 2px solid var(--text-color);
  font-size: 14px;
  color: var(--link-color);
}

.blog_full_img {
  max-width: 700px;
  width: 100%;
  box-sizing: border-box;
  margin: 2rem auto;
  border-width: 2px 2px 4px 2px;
  border-style: solid;
  border-color: var(--text-color);
  border-radius: 4px;
  box-shadow: 0px 0px 8px #00000070;
}

.blog_full_img img {
  width: 100%;
  display: block;
}

.signature {
  box-sizing: border-box;
  width: 100%;
  max-width: 4rem;
  display: block;
  margin-left: auto;
  margin-top: 1rem;
  filter: var(--invert);
}


/* CONTACT */

#contact p {
  margin-top: 0.5rem;
}

#contact form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

#contact input, #contact select, #contact textarea {
  background-color: var(--search-bg);  
  box-sizing: border-box;
  border: none;
  padding: 4px;
  border-radius: 3px;
  border: 1px solid var(--outline-color);
}

#contact label {
  margin-bottom: -1.5rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
}



@media only screen and (max-width: 935px) {
  .tv_bezel::before {
    content: unset;
  }
  
  .tv_frame {
    box-shadow: inset 0 5px 25px rgba(10,10,10,0.75), 0 17px 17px -5px #11111180;
  }
  
}


@media only screen and (max-width: 815px) {
  #home_blog_section {
    display: grid;
    grid-template-columns: auto;
    gap: 2.5rem;
  }

  #home_animanga_section,
  #home_gamedb_section {
    grid-template-columns: 1fr 1fr;
  }
  
  #home_animanga_current a,
  #home_gamedb_current a {
    border: 2px solid var(--bg-color);
    max-height: 191px;
  }

  #home_blog_archive,
  #home_animanga_current,
  #home_gamedb_current {
    grid-area: unset;
  }
  
  .home_filler {
    display: none;
  }
  
  #db_main_section > .flex_row {
    flex-direction: column;
    align-items: center;
  }
  
  .mobile_padding {
    padding: 0 2rem;
  }
  
  .poster {
    max-width: 40rem;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }
  
  #db_main_section .description h1, #db_main_section .alias, .description .rating {
    text-align: center;
  }
  
  #db_main_section .description {
    margin-top: 2rem;
  }
  
}

@media only screen and (max-width: 700px) {
  
  .description h1 {
    font-size: 3.5rem;
  }
  
  #general_information {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  #season_header {
    flex-direction: column;
    text-align: center;
  }
  
  #season_header .poster {
    max-width: 32rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .mobile-shift {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  
  #query_title_and_search {
    grid-template-columns: 1fr;
    padding-bottom: 2rem;
    border-bottom: 1px solid #43505e;
  }
  
  .episode-date, .episode-runtime {
    text-align: left;
  }
  
  #results_and_filters {
    grid-template-columns: auto;
  }

  #filters {
    border-right: unset;
    border-bottom: 1px solid #43505e;
    padding-top: 1rem;
    padding-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  #anime_filters, #game_filters {
    display: grid;
    gap: 2rem;
  }
  
  #filters h2 {
    margin-bottom: 0;
  }

  #filters details:not(#filters details:first-of-type) {
    margin-top: unset;
  } 

  #filters summary {
    border: 2px solid var(--outline-color);
    padding: 0.7rem;
    text-align: center;
    background-color: var(--bg-color);
    box-shadow: -5px 5px var(--outline-color);
    border-radius: 5px;
  }
  
  #filters summary:hover {
    transform: translateY(-10px);
    transition: ease 0.25s;
    filter: blur(0);
    border-color: var(--outline-hover);
    box-shadow: -5px 5px var(--outline-hover);
  }
  
  .podcast_tile {
    grid-template-columns: 1fr;    
  }
  
  .podcast_tile img {
    max-width: 325px;
    width: 100%;
  }
  
  .podcast_tile button, .podcast_tile a {
    grid-area: unset;
  }
  
}

@media only screen and (max-width: 500px) {
  #HIRO_content h1 {
    font-size: 28pt;
  }

  #HIRO_content h2 {
    font-size: 18pt;
  }

  #home_animanga_section,
  #home_gamedb_section {
    grid-template-columns: auto;
  }
  
  #home_animanga_current,
  #home_gamedb_current {
    height: 210px;
  }
  
  #home_animanga_current a, #home_gamedb_current a {
    max-height: 202px;
  }

  #main_nav > ul {
    flex-direction: column;
    font-size: 13px;
  }

  #main_nav > ul > li,
  #main_nav > ul > li > a {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  nav > ul > li > a:hover {
    background-color: var(--nav-button);
    text-decoration: underline;
    transition: 0.4s;
  }
  
  .sub_header {
    font-size: 1.6rem !important;
  }
  
  #query_results {
    grid-template-columns: auto;
  }
  
  #query_title_and_search h1 {
    font-size: 2.25rem;
  }

  #podcast_latest h1 {
    font-size: 3rem;
  }

  #podcast_latest h2 {
    font-size: 1.8rem;
    text-align: left;
  }
  
  #blog h1, #contact h1 {
    font-size: 2.8rem;
  }
}

