@import url("https://api.ssps.cajthaml.eu/file/64d9f18f79dad891e8a07c73");

body {
  margin: 0;
  padding: 0;
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  padding-top: var(--navbar-height);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  line-height: 1.2;
  margin-top: 1.5em;
  margin-bottom: 0.7em;
  color: var(--accent-dark);
}

h1 {
  font-size: 2.2em;
}

h2 {
  font-size: 1.7em;
}

h3 {
  font-size: 1.3em;
}

h4 {
  font-size: 1.1em;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 0.95em;
}

p {
  margin: 1em 0;
}

ul,
ol {
  margin: 1em 0 1em 2em;
  padding: 0;
  list-style: disc inside;
}

li {
  margin: 0.3em 0;
  padding: 0;
}

strong,
b {
  font-weight: bold;
}

em,
i {
  font-style: italic;
}

a {
  color: var(--accent-dark);
  text-decoration: underline;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent);
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 1em 0;
  width: 100%;
}

th,
td {
  border: 1px solid #ccc;
  padding: 0.5em 1em;
  text-align: left;
}

blockquote {
  margin: 1em 0;
  padding: 0.5em 1em;
  background: #fafafa;
  border-left: 4px solid var(--accent-dark);
  color: #444;
}

pre,
code {
  background: #f4f4f4;
  padding: 0.2em 0.5em;
  border-radius: 4px;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
  font-size: 0.98em;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 2em 0;
}

:root {
  --primary: #fff;
  --secondary: #111;
  --accent: #e53935;
  --accent-dark: #b71c1c;
  --bg-light: #fff;
  --bg-dark: #111;
  --text-light: #f5f5f5;
  --text-dark: #111;
  --card-bg: #fff;
  --card-bg-dark: #181818;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
  --transition: 0.3s cubic-bezier(.4, 0, .2, 1);
  --border-radius: 20px;
  --navbar-height: 64px;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

body {
  margin: 0;
  background: var(--bg-light);
  color: var(--text-dark);
  transition: background 0.5s, color 0.3s;
  padding-top: var(--navbar-height);
}

body.dark-mode {
  background: var(--bg-dark);
  color: var(--text-light);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 100;
  height: var(--navbar-height);
  border-bottom: 2px solid var(--accent);
  transition: background 0.3s;
}

body.dark-mode .navbar {
  background: var(--card-bg-dark);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#logo {
  height: 36px;
  width: 36px;
  transition: filter 0.3s;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: var(--accent-dark);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

body.dark-mode .nav-links li a {
  color: var(--text-light);
}

.nav-links li a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
  margin-top: 2px;
}

.nav-links li a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 1.5rem;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--accent-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

body.dark-mode .hamburger span {
  background: var(--accent);
}

.mode-switch-container {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 200;
}

.mode-switch-toggle {
  display: inline-block;
  width: 60px;
  height: 32px;
  position: relative;
  cursor: pointer;
}

.mode-switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.mode-switch-toggle .slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent);
  border-radius: 32px;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
}

.mode-switch-toggle .icon {
  font-size: 1.4em;
  color: #fff;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mode-switch-toggle .sun {
  opacity: 1;
}

.mode-switch-toggle .moon {
  opacity: 0.5;
}

.mode-switch-toggle input:checked+.slider {
  background: var(--accent-dark);
}

.mode-switch-toggle input:checked+.slider .sun {
  opacity: 0.5;
}

.mode-switch-toggle input:checked+.slider .moon {
  opacity: 1;
}

.mode-switch-toggle .slider:after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.3s, background 0.3s;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.12);
}

.mode-switch-toggle input:checked+.slider:after {
  left: 30px;
  background: #222;
}

main,
.content-section,
section {
  padding-top: 1.5rem;
}

.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #fff 60%, transparent 100%);
  padding-top: 80px;
  padding-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

body.dark-mode .hero {
  background: linear-gradient(to bottom, #111 60%, transparent 100%);
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 1s;
}

.hero h1 {
  font-size: 2.8rem;
  margin: 0 0 1rem 0;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.hero .highlight {
  color: var(--accent-dark);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.9em 2.2em;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.cta-btn:hover {
  background: var(--accent-dark);
  color: #fff;
}

.cta-btn.secondary {
  background: transparent;
  color: var(--accent-dark);
  border: 2px solid var(--accent-dark);
}

.cta-btn.secondary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.content-section {
  max-width: 1100px;
  margin: 60px auto 0 auto;
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: background 0.3s;
  position: relative;
}

body.dark-mode .content-section {
  background: var(--card-bg-dark);
}

.content-section h2 {
  font-size: 2.1rem;
  margin-bottom: 1.5rem;
  color: var(--accent-dark);
  letter-spacing: 1px;
}

body.dark-mode .content-section h2 {
  color: var(--accent);
}

.tips-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tip-card {
  flex: 1 1 220px;
  background: #f8f8f8;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(229, 57, 53, 0.07);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: background 0.3s;
  border-left: 4px solid var(--accent);
}

body.dark-mode .tip-card {
  background: #181818;
  border-left: 4px solid var(--accent-dark);
}

.tip-card h3 {
  margin-top: 0;
  color: var(--accent-dark);
}

body.dark-mode .tip-card h3 {
  color: var(--accent);
}

.tip-card ul {
  margin: 0.5rem 0 0 1rem;
  padding: 0;
  font-size: 1rem;
}

.builds-categories {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.build-category {
  flex: 1 1 220px;
  background: #f8f8f8;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(229, 57, 53, 0.07);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
  transition: background 0.3s;
  position: relative;
  border-top: 4px solid var(--accent);
}

body.dark-mode .build-category {
  background: #181818;
  border-top: 4px solid var(--accent-dark);
}

.build-category img {
  width: 64px;
  height: 64px;
  margin-bottom: 0.5rem;
}

.build-category h3 {
  margin: 0.5rem 0;
  color: var(--accent-dark);
}

body.dark-mode .build-category h3 {
  color: var(--accent);
}

.show-all-btn {
  margin-top: 1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.6em 1.4em;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.show-all-btn:hover {
  background: var(--accent-dark);
  color: #fff;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 32, 40, 0.75);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 18px;
  max-width: 450px;
  width: 98vw;
  box-shadow: var(--shadow);
  position: relative;
  animation: fadeInUp 0.4s;
}

body.dark-mode .modal-content {
  background: var(--card-bg-dark);
}

.close {
  position: absolute;
  right: 18px;
  top: 10px;
  font-size: 2rem;
  color: var(--accent-dark);
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}

body.dark-mode .close {
  color: var(--accent);
}

#buildCalculator {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 500;
}

.form-group select {
  padding: 0.5em;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background: #fff;
  transition: border 0.2s;
}

body.dark-mode .form-group select {
  background: #23272f;
  color: var(--text-light);
  border: 1px solid #444;
}

.calc-result {
  padding: 1.2rem;
  border-radius: 14px;
  background: rgba(245, 247, 250, 0.97);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
  font-size: 1.1rem;
  min-height: 44px;
  transition: background 0.3s;
  margin-top: 1rem;
}

body.dark-mode .calc-result {
  background: rgba(30, 32, 40, 0.95);
}

.about-content {
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-content ul {
  margin: 1rem 0 1rem 1.1rem;
  padding: 0;
}

.about-content li {
  margin-bottom: 0.5rem;
}

.about-content em {
  color: var(--accent-dark);
}

body.dark-mode .about-content em {
  color: var(--accent);
}

footer {
  margin-top: 60px;
  padding: 2rem 1rem 1rem 1rem;
  background: var(--card-bg);
  border-top: 2px solid var(--accent);
  text-align: center;
  font-size: 1rem;
  color: var(--text-dark);
  transition: background 0.3s;
}

body.dark-mode footer {
  background: var(--card-bg-dark);
  color: var(--text-light);
  border-top: 2px solid var(--accent-dark);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 0.7rem;
}

.footer-nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--accent-dark);
}

body.dark-mode .footer-nav a:hover {
  color: var(--accent);
}

.footer-info {
  font-size: 0.95rem;
  opacity: 0.8;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s, transform 0.7s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {

  .tips-grid,
  .builds-categories {
    flex-direction: column;
    gap: 1.2rem;
  }

  .navbar {
    padding: 0 1rem;
  }

  .content-section {
    padding: 1.5rem 0.7rem 1.5rem 0.7rem;
  }
}

@media (max-width: 700px) {
  .navbar {
    height: 56px;
  }

  body {
    padding-top: 56px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    right: 0;
    background: var(--card-bg);
    flex-direction: column;
    width: 180px;
    padding: 1.2rem 0;
    box-shadow: var(--shadow);
    border-radius: 0 0 0 16px;
    animation: fadeInUp 0.4s;
  }

  body.dark-mode .nav-links {
    background: var(--card-bg-dark);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .footer-nav {
    flex-direction: column;
    gap: 0.7rem;
  }

  .mode-switch-container {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 500px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .content-section h2 {
    font-size: 1.2rem;
  }

  .cta-btn,
  .show-all-btn {
    font-size: 0.95rem;
    padding: 0.6em 1.2em;
  }
}

.lockable .input-lock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lock-checkbox {
  display: flex;
  align-items: center;
  font-size: 1.2em;
  margin-left: 0.25em;
  cursor: pointer;
}

.lock-checkbox input[type="checkbox"] {
  margin-right: 0.2em;
  accent-color: var(--accent);
}

html,
body {
  height: 100%;
  min-height: 100dvh;
}

body {
  display: flex;
  flex-direction: column;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  flex: 1 1 auto;
}

main {
  flex: 1 1 auto;
}

footer {
  margin-top: auto;
}

.visual-select-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.visual-select-group {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.visual-select {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.visual-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #222;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  width: 80px;
  min-height: 100px;
  padding: 0.5rem 0.5rem 0.3rem 0.5rem;
  transition: border 0.2s, background 0.2s;
  position: relative;
  color: #fff;
}

.visual-tile.selected {
  border: 2px solid var(--accent);
  background: #333;
}

.visual-tile.locked {
  border: 2px solid var(--accent-dark);
  background: #181818;
  opacity: 0.7;
  cursor: not-allowed;
}

.visual-tile img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.3rem;
}

.visual-tile-label {
  font-size: 0.9em;
  font-weight: 600;
  text-align: center;
  color: #fff;
  word-break: break-word;
}

body.dark-mode .visual-tile {
  background: #181818;
  color: #fff;
}

body.dark-mode .visual-tile.selected {
  background: #23272f;
}

body.dark-mode .visual-tile.locked {
  background: #111;
}

.lockable .input-lock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lock-checkbox {
  display: flex;
  align-items: center;
  font-size: 1.2em;
  margin-left: 0.25em;
  cursor: pointer;
}

.lock-checkbox input[type="checkbox"] {
  margin-right: 0.2em;
  accent-color: var(--accent);
}

.visual-select-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.visual-select-group {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.visual-select {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.visual-select-multiselect {
  min-width: 250px;
}

.visual-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #222;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  width: 80px;
  min-height: 100px;
  padding: 0.5rem 0.5rem 0.3rem 0.5rem;
  transition: border 0.2s, background 0.2s;
  position: relative;
  color: #fff;
  user-select: none;
}

.visual-tile.selected {
  border: 2px solid var(--accent);
  background: #333;
}

.visual-tile.locked {
  border: 2px solid var(--accent-dark);
  background: #181818;
  opacity: 0.7;
  cursor: not-allowed;
}

.visual-tile img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.3rem;
}

.visual-tile-label {
  font-size: 0.9em;
  font-weight: 600;
  text-align: center;
  color: #fff;
  word-break: break-word;
}

body.dark-mode .visual-tile {
  background: #181818;
  color: #fff;
}

body.dark-mode .visual-tile.selected {
  background: #23272f;
}

body.dark-mode .visual-tile.locked {
  background: #111;
}

footer {
  margin-top: auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-link:focus {
  outline: 2px solid var(--accent);
}

.visual-select-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.visual-select-group {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.visual-select {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.visual-select-multiselect {
  min-width: 250px;
}

.visual-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #222;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  width: 80px;
  min-height: 100px;
  padding: 0.5rem 0.5rem 0.3rem 0.5rem;
  transition: border 0.2s, background 0.2s;
  position: relative;
  color: #fff;
  user-select: none;
}

.visual-tile.selected {
  border: 2px solid var(--accent);
  background: #333;
}

.visual-tile.locked {
  border: 2px solid var(--accent-dark);
  background: #181818;
  opacity: 0.7;
  cursor: not-allowed;
}

.visual-tile img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.3rem;
}

.visual-tile-label {
  font-size: 0.9em;
  font-weight: 600;
  text-align: center;
  color: #fff;
  word-break: break-word;
}

body.dark-mode .visual-tile {
  background: #181818;
  color: #fff;
}

body.dark-mode .visual-tile.selected {
  background: #23272f;
}

body.dark-mode .visual-tile.locked {
  background: #111;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  flex: 1 1 auto;
}

main {
  flex: 1 1 auto;
}

footer {
  margin-top: auto;
}

.visual-select-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.visual-select-group {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.visual-select {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.visual-select-multiselect {
  min-width: 250px;
}

.visual-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #222;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  width: 80px;
  min-height: 100px;
  padding: 0.5rem 0.5rem 0.3rem 0.5rem;
  transition: border 0.2s, background 0.2s;
  position: relative;
  color: #fff;
  user-select: none;
}

.visual-tile.selected {
  border: 2px solid var(--accent);
  background: #333;
}

.visual-tile.locked {
  border: 2px solid var(--accent-dark);
  background: #181818;
  opacity: 0.7;
  cursor: not-allowed;
}

.visual-tile img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.3rem;
}

.visual-tile-label {
  font-size: 0.9em;
  font-weight: 600;
  text-align: center;
  color: #fff;
  word-break: break-word;
}

body.dark-mode .visual-tile {
  background: #181818;
  color: #fff;
}

body.dark-mode .visual-tile.selected {
  background: #23272f;
}

body.dark-mode .visual-tile.locked {
  background: #111;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-link:focus {
  outline: 2px solid var(--accent);
}

.visual-select {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.visual-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #181818;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  width: 120px;
  height: 160px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: border 0.2s, background 0.2s;
}

.visual-tile.selected {
  border: 2px solid var(--accent);
  background: #222;
}

.visual-tile.locked {
  border: 2px solid var(--accent-dark);
  background: #151515;
  opacity: 0.7;
  cursor: not-allowed;
}

.visual-tile-img-frame {
  flex: 1 1 auto;
  width: 100%;
  height: 0;
  padding-bottom: 100px;
  position: relative;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.visual-tile-label {
  display: block;
  width: 100%;
  background: #c00;
  color: #fff;
  font-weight: 800;
  font-size: 1.08em;
  text-align: center;
  padding: 0.5em 0 0.3em 0;
  letter-spacing: 0.04em;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  margin-top: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

@media (max-width: 700px) {
  .visual-tile {
    width: 90px;
    height: 120px;
  }

  .visual-tile-img-frame {
    padding-bottom: 60px;
  }
}

.visual-select {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.visual-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #181818;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  width: 88px;
  height: 115px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: border 0.2s, background 0.2s;
}

.visual-tile.selected {
  border: 2px solid var(--accent);
  background: #222;
}

.visual-tile.locked {
  border: 2px solid var(--accent-dark);
  background: #151515;
  opacity: 0.7;
  cursor: not-allowed;
}

.visual-tile-img-frame {
  flex: 1 1 auto;
  width: 100%;
  height: 0;
  padding-bottom: 67px;
  position: relative;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.visual-tile-label {
  display: block;
  width: 100%;
  background: #c00;
  color: #fff;
  font-weight: 800;
  font-size: 0.97em;
  text-align: center;
  padding: 0.32em 0 0.22em 0;
  letter-spacing: 0.04em;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  margin-top: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

@media (max-width: 700px) {
  .visual-tile {
    width: 64px;
    height: 85px;
  }

  .visual-tile-img-frame {
    padding-bottom: 45px;
  }

  .visual-tile-label {
    font-size: 0.85em;
    padding: 0.23em 0 0.18em 0;
  }
}

.content-section {
  max-width: 1350px;
  margin: 40px auto 0 auto;
  padding: 2.5rem 2.5rem 1.5rem 2.5rem;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: background 0.3s;
  position: relative;
}
