/* SEGA Saturn CSS 2026 */

@font-face {
	font-family: 'NotoSansJP';
	src: url("../font/Noto/NotoSansJP-Regular.woff2") format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
	font-family: 'NotoSansJP-Bold';
	src: url("../font/Noto/NotoSansJP-Bold.woff2") format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/*
"Noto" https://www.google.com/noto/

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
*/

@font-face {
	font-family: 'Orbitron-Black';
	src: url("../font/Orbitron/Orbitron-Black.woff2") format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/*
"Orbitron" https://fonts.google.com/specimen/Orbitron

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
*/

@font-face {
	font-family: 'ShareTechMono';
	src: url("../font/Share_Tech_Mono/ShareTechMono-Regular.woff2") format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/*
"Noto" https://fonts.google.com/specimen/Share+Tech+Mono

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
*/

:root {
  --background-base:     #192a58;
  --background-list:     #0f2153e8;
  --surface:             #0d1a2e;
  --border:              #1a3a5c;
  --border2:             #172158;
  --accent1:             #2d7de0;
  --accent2:             #4ea8ff;
  --accent3:             #7dd3fc;
  --glow:                #2d7de066;
  --text-base:           #cce4ff;
  --white:               #e8f4ff;
  --black:               #000000;
  --green:               #67ff67;
  --label:               #2d5683;
  --scroll:              #292c30;
  --titlebar:            rgba(180,210,255,0.8);
  --status:              rgba(100,160,255,0.6);
  --terminal:            rgba(103,255,103,0.85);
  --grid:                rgba(30, 111, 255, 0.08);
  --scanline:            rgba(0, 200, 255, 0.03);
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 18px;
  /* Font */
  --font-NotoSansJP:     'NotoSansJP';
  --font-NotoSansJP-Bold:'NotoSansJP-Bold';
  --font-ShareTechMono:  'ShareTechMono';
  --font-Orbitron-Black: 'Orbitron-Black';
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  color: var(--text-base);
  font-family: var(NotoSansJP);
  font-size: 16px;
}
body {
  background: var(--background-base);
  overflow: scroll;
  min-height: 100vh;
}
body a {
  text-decoration: none;
  outline: none;
}
/* scanline overlay */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      var(--scanline) 0px,
      var(--scanline) 1px,
      transparent 1px,
      transparent 3px
    );
    pointer-events: none;
    z-index: 100;
  }

/* Animated grid background */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridScroll 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}
  @keyframes gridScroll {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
  }

/* frame
#frame_top {
	top: 0px; right: 0px; width: 100%; height: 30px; position: fixed; z-index: 100;
	background-color: #000000; user-select: none;
  box-shadow: 0px 20px 10px 0px rgba(0, 0, 0, 0.3);
}
#frame_bottom {
	bottom: 0px; right: 0px; width: 100%; height: 40px; position: fixed; z-index: 100;
	background-color: #000000; user-select: none;
}
#frame_left {
	top: 0px; left: 0px; width: 30px; height: 100%; position: fixed; z-index: 105;
	background-color: #000000; user-select: none;
}
#frame_right {
	top: 0px; right: 0px; width: 30px; height: 100%; position: fixed; z-index: 105;
	background-color: #000000; user-select: none;
}
*/

/* Image viewer */

#imageviewer {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1000;
  display: none;
  image-rendering: pixelated;
}

#viewer {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

#set_image {
  max-width: 80vw;
  max-height: 80vh;
  border: 2px solid var(--border);
  box-shadow: 10px 10px 20px rgba(0,0,0,0.6);
  user-select: none;
  cursor: grab;
  touch-action: none;
}
.send_viewer { cursor: pointer; }

/*  header  */

.header-inner {
  position: fixed;
  right: 50px; bottom: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 1;
}
.logo-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo-sega {
  font-family: var(--font-Orbitron-Black);
  font-size: 1rem;
  letter-spacing: 4px;
  color: var(--accent2);
  text-transform: uppercase;
  opacity: 0.8;
}
.logo-db {
  font-family: var(--font-Orbitron-Black);
  font-size: 2rem;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1;
  margin-left: 2px;
  text-shadow: 0 0 20px var(--accent1), 0 0 0 rgba(30,111,255,0.4);
}
  .logo-db span { color: var(--accent2); }

.logo-soft {
  font-size: 0.7rem;
  color: var(--accent3);
  letter-spacing: 3px;
  opacity: 0.6;
}
.mascot-sonic {
  position: fixed;
  right: 65px; bottom: 100px;
  z-index: 1;
}
.mascot-saturn {
  position: fixed; display: none;
  left: 50px; bottom: 18px;
  z-index: 1000;
}

/*  Navigation bar  */
.genre-nav-wrap {
  position: fixed;
  top: 100px; left: 30px;
  z-index: 99;
}

.genre-nav {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
	/* box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.49); */
}
.genre-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 5px 5px 5px 5px;
  font-family: var(--font-Orbitron-Black), sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-base);
  cursor: pointer;
  border: none;
    background: var(--surface);
    min-width: 100px;
    flex-shrink: 0;
    position: relative;
    transition: color 0.15s, background 0.15s;
    text-transform: uppercase;
  }
  .genre-link {
    color: var(--text-base);
  }
  .genre-btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0.4);
    opacity: 0.3;
    transition: transform 0.2s, opacity 0.2s;
    transform-origin: center;
  }
  .genre-btn:hover::after { transform: scaleX(1); opacity: 0.8; }
  .genre-btn:hover { color: var(--text); }
  .genre-btn.active { color: #fff; }
  .genre-btn.active::after { transform: scaleX(1); opacity: 1; }
  .genre-icon {
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }

/*  launcher  */
.launcher {
  position: fixed;
  bottom: 15px; left: 30px; right: 30px;
  padding: 0 0 0 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: left;
  background: linear-gradient(135deg, #1a1730 0%, #0e1420 50%, #0e1410 100%);
  z-index: 500;
}
  .launcher-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(45deg, rgba(127,119,221,0.04) 0, rgba(127,119,221,0.04) 1px, transparent 1px, transparent 50%),
      repeating-linear-gradient(-45deg, rgba(127,119,221,0.03) 0, rgba(127,119,221,0.03) 1px, transparent 1px, transparent 50%);
    background-size: 30px 30px;
  }

.launcher-btn {
  background-color: transparent;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 70px;
  padding: 5px 5px 5px 5px;
  font-family: var(--font-Orbitron-Black), sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-base);
  cursor: pointer;
  border: none;
  flex-shrink: 0;
  position: relative;
  }
  .launcher-btn:hover { opacity: 0.5; }
  .launcher-link {
    color: var(--text-base);
  }
  .launcher-icon {
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }

/* Main Content  */

#main-content__pc {
  display: block;
  width: calc(100% - 370px); /* 左右20pxずつ余白 */
  max-width: 850px;
  margin: 50px auto;
}

.game-label__top {
  font-family: var(--font-ShareTechMono);
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--text-base);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;

}
.game-label__top::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,200,255,0.4), transparent);
}

.game-label__bottom {
  font-family: var(--font-ShareTechMono);
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--text-base);
  text-transform: uppercase;
  margin-bottom: 16px;
  gap: 12px;
  margin-top: 25px;
  position: relative;
  display: none;
}

.game-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  /* box-shadow: 10px 10px 20px rgba(0,0,0,0.6); */
  z-index: 3;
}

.best::before { content: 'BEST'; }
.favorite::before { content: 'Favorite'; }
.favorite::before, .best::before {
  position: absolute;
  top: 1px;
  left: 100px;
  min-height: 22px;
  background: transparent;
  color: #fff;
  font-family: var(--font-Orbitron-Black);
  font-size: 0.6rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 2px;
  padding: 4px 30px;
  box-shadow: 0 0 5px rgba(30,111,255,0.5);
  z-index: 2;
}
    .best::before {
      color: #fff !important;
      text-shadow: 0 0 6px rgba(78,168,255,1), 0 0 15px rgba(45,125,224,0.8);
      background: linear-gradient(135deg, rgba(30,60,120,0.9), rgba(10,30,80,0.9)) !important;
      border: 1px solid rgba(78,168,255,0.5) !important;
      box-shadow: 0 0 12px rgba(45,125,224,0.5), inset 0 0 8px rgba(45,125,224,0.1) !important;
      animation: badgePulse 2.5s ease-in-out infinite;
    }
    @keyframes badgePulse {
      0%,100% { box-shadow: 0 0 8px rgba(45,125,224,0.4), inset 0 0 6px rgba(45,125,224,0.08); }
      50%      { box-shadow: 0 0 18px rgba(78,168,255,0.7), inset 0 0 12px rgba(45,125,224,0.2); }
    }

.game-screenshots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2px;
  padding: 2px;
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
}
.ss-side { width: 352px; height: 240px; border: solid 10px var(--black); aspect-ratio: 352/240; }
.ss-vertical {width: 240px; height: 352px; aspect-ratio: 240/352; }

.ss-main {
  text-align: center;
  object-fit: cover;
  display: block;
  filter: brightness(0.95) contrast(1.05);
}
.ss-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.ss-thumb {
  width: 100%;
  aspect-ratio: 352/240;
  object-fit: cover;
  display: block;
  cursor: pointer;
  padding: 0 10px 0 10px;
}
.screenshot-window {
  width: 100%;
  background: rgba(10, 14, 26, 0.88);
  border: 1px solid rgba(45,125,224,0.35);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: auto;
}
.screenshot-window .window-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  background: rgba(5, 10, 22, 0.7);
}
.screenshot-window .image-container {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.screenshot-window .ss-main,
.screenshot-window .ss-thumb {
  width: 100%;
  height: auto;
  padding: 0;
  display: block;
  cursor: pointer;
}
.screenshot-window .ss-row {
  display: flex;
  gap: 6px;
  margin: 0;
}
.screenshot-window .ss-row .image-container {
  flex: 1;
}
.screenshot-window .dwm-titlebar,
.screenshot-window .dwm-statusbar {
  cursor: default;
}
.flag {
  margin-left: 3px;
  vertical-align: middle;
}
.game-info {
  overflow: hidden;
  position: relative;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.game-platform {
  font-family: var(--font-ShareTechMono);
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: var(--text-base);
  text-transform: uppercase;
}
.game-title__jp {
  font-family: var(--font-NotoSansJP);
  font-size: 0.9rem;
  color: var(--accent3);
  letter-spacing: 3px;
  margin-bottom: 4px;
}
.game-title__en {
  font-family: var(--font-Orbitron-Black);
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1.1;
}
.game-title__al {
  font-family: var(--font-Orbitron-Black);
  font-size: 0.7rem;
  color: var(--white);
  line-height: 1.1;
  padding-top: 5px;
}
.game-title__en a {
  text-decoration: none;
  outline: none;
}
.game-title__en a:hover {
  opacity: 0.5;
}
.game-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-top: 8px;
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.meta-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--cyan);
  opacity: 0.7;
  text-transform: uppercase;
}
.meta-value {
  font-size: 13px;
  color: var(--white);
  font-weight: 400;
}
.meta-label {
  color: rgba(0,200,255,0.65);
  letter-spacing: 2px;
}
.meta-value {
  position: relative;
}
.meta-value::after {
  content: '';
  display: block;
  margin-top: 3px;
  height: 1px;
  background: linear-gradient(90deg, rgba(78,168,255,0.3), transparent);
}
.game-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  font-family: var(--font-NotoSansJP);
  font-size: 0.6rem;
  letter-spacing: 1px;
  padding: 3px 10px;
  border: 1px solid rgba(30,111,255,0.35);
  border-radius: 2px;
  color: var(--ice);
  background: rgba(30,111,255,0.08);
}
.tag.genre {
  border-color: rgba(0,200,255,0.4);
  color: var(--cyan);
  background: rgba(0,200,255,0.06);
}
.cover-art {
  border: solid 10px rgba(32, 31, 31, 0.35); width: 100px; height: 100px;
  box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.16);
}

/* review  */
.review-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 16px;
  background: rgba(0,0,0,0.35);
  border-top: 1px solid rgba(30,111,255,0.15);
  border: 1px solid rgba(30,111,255,0.2);
}
.review-block__label {
  font-family: var(--font-Orbitron-Black);
  font-size: 0.8rem;
  color: var(--label);
  line-height: 1;
}
.review-block__text {
  font-family: var(--font-NotoSansJP-Bold);
  font-size: 0.7rem;
  color: var(--text-base);
  line-height: 1;
  padding-left: 14px;
  border-left: 2px solid var(--border);
  margin-left: 4px;
}

.review-block__label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-block__lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-block__lang-btn {
  font-family: var(--font-Orbitron-Black);
  font-size: 0.65rem;
  color: var(--label);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.35;
  transition: opacity 0.2s;
  letter-spacing: 0.05em;
}

.review-block__lang-btn.is-active {
  opacity: 1;
}

.review-block__lang-btn:hover:not(.is-active) {
  opacity: 0.65;
}

.review-block__lang-sep {
  font-family: var(--font-Orbitron-Black);
  font-size: 0.65rem;
  color: var(--label);
  opacity: 0.35;
}
/* overview  */
#note-switch {
  position: fixed;
  user-select: none;
  bottom: 100px; left: 100px;
  font-family: var(--font-NotoSansJP);
}
#note-switch:hover {
  opacity: 0.6;
}
.note-icon {
  width: 64px; height: 64px;
  flex-shrink: 0;
  opacity: 0.75;
}
.game-note {
  border-radius: 10px;
  background: linear-gradient(135deg, #1a1730 0%, #0e1420 50%, #0e1410 100%);
  position: absolute; z-index: 30;
  padding: 10px;
  top: 150px; left: 30%;  width: 500px; height: 550px;
  box-sizing: border-box;
  overflow: hidden;
  display: none;
}
.game-note-bg-pattern {
  background-image:
    repeating-linear-gradient(45deg, rgba(127,119,221,0.04) 0, rgba(127,119,221,0.04) 1px, transparent 1px, transparent 50%),
    repeating-linear-gradient(-45deg, rgba(127,119,221,0.03) 0, rgba(127,119,221,0.03) 1px, transparent 1px, transparent 50%);
  background-size: 30px 30px;
  width: 100%; height: 90%;
  overflow-y: auto;
  overscroll-behavior: none;
  scrollbar-color: var(--scroll) var(--black);
}

#note-titlebar {
  cursor: grab;
}
.game-note-text {
  background-color: rgba(0, 0, 0, 0.7);
  margin: 20px;
  padding: 20px;
  font-family: var(--font-NotoSansJP);
  font-size: 0.7rem;
  white-space: normal;
  position: relative;
  border-radius: var(--radius-md);
}
.game-note-text::before {
  content: '';
  position: absolute;
  top: -8px; left: 10%;
  transform: translateX(-50%);
  width: 100px; height: 16px;
  background: rgba(78, 131, 223, 0.2);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* DWM Titlebar */
.dwm-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  height: 28px;
  flex-shrink: 0;
  background-image: url("../image/window_bg_close.png");
	background-repeat: no-repeat;
	background-position: top 5px right 10px;
  border-bottom: 1px solid rgba(45,125,224,0.2);
  cursor: grab;
}
  .dwm-titlebar:active { cursor: grabbing; }
.dwm-icon {
  width: 14px; height: 14px;
  flex-shrink: 0;
  opacity: 0.75;
}
.dwm-title {
  font-family: var(--font-ShareTechMono);
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  color: var(--titlebar);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-top: 1px;
}

/* file manager - purely decorative */
#dwm-folder {
  position: fixed;
  bottom: 170px; right: 60px;
  height: fit-content;
  width: 300px;
  background: rgba(10, 14, 26, 0.88);
  border: 1px solid rgba(45,125,224,0.35);
  border-radius: var(--radius-sm);
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
}
.folder-body {
  padding: 5px 5px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px 4px;
  background: rgba(5, 10, 22, 0.7);
}
.folder-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 2px 2px;
  border-radius: 4px;
  cursor: default;
}
.folder-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.folder-label {
  font-family: var(--font-ShareTechMono);
  font-size: 0.5rem;
  letter-spacing: 0.5px;
  color: rgba(180,210,255,0.8);
  text-align: center;
  line-height: 1.3;
  word-break: break-all;
}
.folder-statusbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  height: 20px;
  flex-shrink: 0;
  background: rgba(8,14,28,0.9);
  border-top: 1px solid rgba(45,125,224,0.15);
}
.folder-status-text {
  font-family: var(--font-ShareTechMono);
  font-size: 0.5rem;
  letter-spacing: 1px;
  color: rgba(100,160,255,0.5);
}

/* Image Viewer */
#dwm-player {
  position: fixed;
  bottom: 270px; right: 10px;
  width: 240px;
  background: rgba(10, 14, 26, 0.88);
  border: 1px solid rgba(45,125,224,0.35);
  border-radius: 6px;
  /* box-shadow: 0 0 0 1px rgba(0,0,0,0.6), 0 8px 32px rgba(0,0,0,0.7), 0 0 60px rgba(30,80,200,0.08); */
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
  transition: box-shadow 0.2s, opacity 0.25s;
}
.dwm-body {
  position: relative;
  flex: 1;
  background: #000;
  overflow: hidden;
}
#dwm-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: pixelated;
  transition: opacity 0.4s ease;
}
.dwm-crt {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient( 0deg, rgba(0,0,0,0.18) 0px,rgba(0,0,0,0.18) 1px, transparent 1px, transparent 2px );
  pointer-events: none;
  z-index: 2;
}
.dwm-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient( ellipse at center, transparent 55%, rgba(0,0,0,0.55) 100% );
  pointer-events: none;
  z-index: 3;
}
.dwm-statusbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  height: 22px;
  flex-shrink: 0;
  background: rgba(8,14,28,0.9);
  border-top: 1px solid rgba(45,125,224,0.15);
  cursor: grab;
}
.dwm-status-text {
  font-family: var(--font-ShareTechMono);
  font-size: 0.55rem;
  letter-spacing: 1px;
  color: var(--status);
  flex: 1;
}
.dwm-timecode {
  font-family: var(--font-ShareTechMono);
  font-size: 0.55rem;
  letter-spacing: 1px;
  margin-right: 5px;
  color: var(--status);
}
.dwm-resize-grip {
  position: absolute;
  bottom: 0; right: 0;
  width: 14px; height: 14px;
  cursor: nwse-resize;
  z-index: 10;
}
.dwm-resize-grip::after {
  content: '';
  position: absolute;
  bottom: 3px; right: 3px;
  width: 8px; height: 8px;
  background: repeating-linear-gradient( -45deg, rgba(78,168,255,0.4) 0px, rgba(78,168,255,0.4) 1px, transparent 1px, transparent 3px );
}

/*  Game list  */
.game-list {
  top: 50px; left: 16%;
  width: 800px; height: 660px;
  border-radius: var(--radius-lg);
  position: absolute; z-index: 30;
  padding: 5px;
  padding-bottom: 50px;
  box-sizing: border-box;
  overflow: hidden;
  background: var(--background-base);
}

.game-list-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  height: 28px;
  flex-shrink: 0;
}

.game-list-tabs {
  display: flex;
  gap: 2px;
  padding: 8px 10px 0;
  user-select: none;
}
.game-list-tab {
  padding: 6px 16px;
  margin-bottom: 30px;
  background: rgba(30, 40, 60, 0.6);
  border: 1px solid var(--border);
  border-radius: 4px 4px 4px 4px;
  color: var(--label);
  font-family: var(--font-Orbitron-Black);
  font-size: 0.7rem;
  cursor: pointer;
  letter-spacing: 1px;
}

.game-list-tab:hover {
  background: rgba(45, 125, 224, 0.2);
  color: var(--white);
}

.game-list-tab.active {
  background: rgba(45, 125, 224, 0.3);
  color: var(--white);
  border-color: rgba(78, 168, 255, 0.5);
  box-shadow: inset 0 2px 0 0 rgba(78, 168, 255, 0.8);
}

.game-list-content {
  display: none;
  padding: 15px 15px 50px 15px;
}
.game-list-content.active {
  display: block;
}

.game-list-bg-pattern {
  background-image:
    repeating-linear-gradient(45deg, rgba(127,119,221,0.04) 0, rgba(127,119,221,0.04) 1px, transparent 1px, transparent 50%),
    repeating-linear-gradient(-45deg, rgba(127,119,221,0.03) 0, rgba(127,119,221,0.03) 1px, transparent 1px, transparent 50%);
  background-size: 30px 30px;
  width: 100%; height: 90%;
    padding-bottom: 50px;
  overflow-y: auto;
  overscroll-behavior: none;
  -ms-overflow-style: none;
  scrollbar-gutter: stable;
  scrollbar-color: var(--border) var(--border2);
}

.list-genre-header {
  padding: 18px 15px 4px 6px;
  font-family: var(--font-Orbitron-Black), var(--font-NotoSansJP);
  font-size: 1rem;
  color: var(--text-base);
  margin-top: 5px;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--glow);
}

.list-group-header {
  padding: 18px 15px 4px 6px;
  font-family: var(--font-Orbitron-Black), var(--font-NotoSansJP);
  font-size: 1.1rem;
  color: var(--accent2);
  border-bottom: 1px solid rgba(45, 125, 224, 0.3);
  margin: 5px;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--glow);
}

.list-item, .list-item-header {
  display: grid;
  grid-template-columns: minmax(200px, 3fr) 150px 80px;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
  border-bottom: 1px solid rgba(45, 125, 224, 0.15);
}

a.list-item {
  text-decoration: none;
  color: inherit;
  display: grid;
}
.list-item {
  cursor: pointer;
  border-radius: 2px;
}

.list-item:hover {
  background: rgba(45, 125, 224, 0.15);
  border-left: 3px solid rgba(78, 168, 255, 0.8);
  padding-left: 12px;
}

.list-item-header {
  border-bottom: 2px solid rgba(78, 168, 255, 0.4);
  font-family: var(--font-ShareTechMono);
  font-size: 0.6rem;
  color: var(--status);
  letter-spacing: 2px;
  border-radius: 4px 4px 0 0;
  padding: 0px 15px 10px 0px;
}

.header-title {
  font-family: var(--font-Orbitron-Black), var(--font-NotoSansJP);
  font-size: 1rem;
  letter-spacing: 1px;
}
.col-title {
  font-family: var(--font-NotoSansJP);
  color: var(--text-base);
  font-size: 0.75rem;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.col-publisher, .col-year {
  font-family: var(--font-ShareTechMono), var(--font-NotoSansJP);
  color: var(--text-base);
  font-size: 0.7rem;
}

.list-item-header .col-title,
.list-item-header .col-publisher,
.list-item-header .col-year {
  color: var(--status);
  font-size: 0.7rem;
  font-family: var(--font-ShareTechMono), var(--font-NotoSansJP);
}