@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;700&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

.absolute { position: absolute; }
.fixed { position: fixed; }
.relative { position: relative; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.top-1 { top: 0.25rem; }
.top-2 { top: 0.5rem; }
.top-1\/2 { top: 50%; }
.top-1\/4 { top: 25%; }
.right-0 { right: 0; }
.right-3 { right: 0.75rem; }
.right-4 { right: 1rem; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.left-2 { left: 0.5rem; }
.left-3 { left: 0.75rem; }
.left-4 { left: 1rem; }
.left-6 { left: 1.5rem; }
.left-1\/2 { left: 50%; }
.z-50 { z-index: 50; }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-8 { margin-top: 2rem; }

.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.flex { display: flex; }
.grid { display: grid; }

.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-28 { height: 7rem; }
.h-96 { height: 24rem; }
.h-full { height: 100%; }
.h-px { height: 1px; }
.h-\[10px\] { height: 10px; }
.h-\[11px\] { height: 11px; }
.h-\[13px\] { height: 13px; }
.h-\[14px\] { height: 14px; }
.h-\[15px\] { height: 15px; }
.h-\[18px\] { height: 18px; }
.h-\[22px\] { height: 22px; }

.min-h-screen { min-height: 100vh; }

.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-60 { width: 15rem; }
.w-96 { width: 24rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.w-px { width: 1px; }
.w-\[10px\] { width: 10px; }
.w-\[11px\] { width: 11px; }
.w-\[13px\] { width: 13px; }
.w-\[14px\] { width: 14px; }
.w-\[15px\] { width: 15px; }
.w-\[18px\] { width: 18px; }
.w-\[22px\] { width: 22px; }
.w-\[45\%\] { width: 45%; }

.min-w-0 { min-width: 0; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.resize-none { resize: none; }
.cursor-pointer { cursor: pointer; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-l-2 { border-left-width: 2px; border-left-style: solid; }

.bg-background { background-color: var(--background); }
.bg-transparent { background-color: transparent; }
.text-foreground { color: var(--foreground); }

.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-20 { padding-bottom: 5rem; }
.pl-4 { padding-left: 1rem; }
.pl-10 { padding-left: 2.5rem; }
.pl-14 { padding-left: 3.5rem; }
.pr-4 { padding-right: 1rem; }
.pr-12 { padding-right: 3rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-24 { padding-top: 6rem; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }
.leading-tight { line-height: 1.25; }

#editor-visual-tab {
  border: 1px solid #d0d7de;
  border-radius: 0;
  background: #ffffff;
  color: #6b7280;
}

#editor-visual-tab[aria-pressed='true'] {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

#editor-code-tab {
  border: 1px solid #d0d7de;
  border-radius: 0;
  background: #ffffff;
  color: #6b7280;
}

#editor-code-tab[aria-pressed='true'] {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.language-meta-row {
  gap: 0.25rem;
}

.language-meta-id {
  font-size: 0.625rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.language-meta-pill {
  padding: 0.125rem 0.375rem;
  font-size: 0.625rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

[data-admin-accordion-panel] {
  padding-left: 0.85rem !important;
}

[data-admin-accordion-panel] > * + * {
  margin-top: 0.2rem !important;
}

[data-admin-accordion-panel] > a {
  padding: 0.55rem 0.75rem !important;
  font-size: 0.82rem !important;
  border-radius: 0.75rem !important;
}

[data-admin-accordion-panel] > a > span {
  gap: 0.55rem !important;
}

[data-admin-accordion-panel] > a svg {
  width: 1rem !important;
  height: 1rem !important;
}

.delete-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.delete-confirm-modal.hidden {
  display: none !important;
}

.delete-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.42);
  backdrop-filter: blur(2px);
}

.delete-confirm-dialog {
  position: relative;
  width: min(100%, 460px);
  overflow: hidden;
  border: 1px solid #dbe2ea;
  border-radius: 1.35rem;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.delete-confirm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid #dbe2ea;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.delete-confirm-title {
  margin: 0;
  color: #243c33;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.delete-confirm-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: #495057;
  cursor: pointer;
  transition: opacity 180ms ease, background-color 180ms ease;
}

.delete-confirm-close:hover {
  background: rgba(73, 80, 87, 0.08);
  opacity: 0.9;
}

.delete-confirm-body {
  padding: 1.15rem 1.2rem 1rem;
  border-bottom: 1px solid #dbe2ea;
}

.delete-confirm-message {
  margin: 0;
  color: #53627c;
  font-size: 0.9rem;
  line-height: 1.55;
}

.delete-confirm-message strong {
  color: #22304b;
  font-weight: 700;
}

.delete-confirm-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.95rem 1.2rem 1.1rem;
  background: #ffffff;
}

#delete-confirm-cancel {
  background: #eef2f7;
  border: 1px solid #d6dde6;
  border-radius: 0.8rem;
  color: #4b5563;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

#delete-confirm-cancel:hover {
  background: #e3e9f1;
  border-color: #c8d1dc;
  color: #374151;
  opacity: 1;
  transform: translateY(-1px);
}

#delete-confirm-submit {
  background: #d9534f;
  border: 1px solid #d9534f;
  border-radius: 0.8rem;
  color: #ffffff;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

#delete-confirm-submit:hover {
  background: #c64541;
  border-color: #c64541;
  color: #ffffff;
  opacity: 1;
  transform: translateY(-1px);
}

#write-error-ok {
  min-width: 96px;
  background: #d9534f;
  border: 1px solid #d9534f;
  border-radius: 0.8rem;
  color: #ffffff;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

#write-error-ok:hover {
  background: #c64541;
  border-color: #c64541;
  color: #ffffff;
  opacity: 1;
  transform: translateY(-1px);
}
.leading-relaxed { line-height: 1.625; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.whitespace-nowrap { white-space: nowrap; }
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opacity-0 { opacity: 0; }
.opacity-5 { opacity: 0.05; }
.opacity-10 { opacity: 0.1; }

.outline-none { outline: none; }
.blur-3xl { filter: blur(64px); }

.-translate-x-1\/2 { --tw-translate-x: -50%; }
.group:hover .group-hover\:translate-x-1 { --tw-translate-x: 0.25rem; }
.hover\:-translate-y-1:hover { --tw-translate-y: -0.25rem; }
.-translate-y-1\/2 { --tw-translate-y: -50%; }
.group:hover .group-hover\:scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.hover\:scale-105:hover { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }

.-translate-x-1\/2,
.-translate-y-1\/2,
.group-hover\:translate-x-1,
.group-hover\:scale-105,
.hover\:-translate-y-1,
.hover\:scale-105 {
  transform:
    translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0))
    scaleX(var(--tw-scale-x, 1))
    scaleY(var(--tw-scale-y, 1));
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

.group:hover .group-hover\:opacity-100 { opacity: 1; }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:gap-3:hover { gap: 0.75rem; }
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:shadow-md:hover { box-shadow: 0 10px 30px rgba(28, 13, 5, 0.12); }
.hover\:shadow-lg:hover { box-shadow: 0 16px 40px rgba(28, 13, 5, 0.16); }
.hover\:shadow-xl:hover { box-shadow: 0 22px 60px rgba(28, 13, 5, 0.2); }

.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:flex { display: flex; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:w-28 { width: 7rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:hidden { display: none !important; }
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:col-span-1 { grid-column: span 1 / span 1; }
  .md\:p-12 { padding: 3rem; }
  .md\:px-20 { padding-left: 5rem; padding-right: 5rem; }
}

@media (min-width: 1024px) {
  .lg\:hidden { display: none !important; }
  .lg\:flex { display: flex; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
}

:root {
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', system-ui, sans-serif;
  --font-size: 16px;
  --background: #fbf6ee;
  --foreground: #2c1206;
  --card: #fff9f2;
  --card-foreground: #2c1206;
  --popover: #fff9f2;
  --popover-foreground: #2c1206;
  --primary: #3d1a08;
  --primary-foreground: #fbf6ee;
  --secondary: #f5e6cc;
  --secondary-foreground: #3d1a08;
  --muted: #efe3cc;
  --muted-foreground: #7a5c3a;
  --accent: #c4973a;
  --accent-foreground: #fbf6ee;
  --destructive: #d4183d;
  --destructive-foreground: #ffffff;
  --border: rgba(196, 151, 58, 0.25);
  --input: transparent;
  --input-background: #f5e6cc;
  --switch-background: #c4973a;
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --ring: #c4973a;
  --radius: 0.5rem;
  --sidebar: #fff9f2;
  --sidebar-foreground: #2c1206;
  --sidebar-primary: #3d1a08;
  --sidebar-primary-foreground: #fbf6ee;
  --sidebar-accent: #f5e6cc;
  --sidebar-accent-foreground: #3d1a08;
  --sidebar-border: rgba(196, 151, 58, 0.25);
  --sidebar-ring: #c4973a;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: var(--font-size);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

.genre-card,
.group img,
.group span,
a {
  transition: all 0.3s ease;
}

svg {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  #site-header > div:first-child {
    position: relative;
    z-index: 2;
  }

  #mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(61, 26, 8, 0.985) !important;
    box-shadow: 0 18px 48px rgba(24, 10, 3, 0.32);
  }

  #mobile-menu.hidden {
    display: none;
  }

  #mobile-menu > a {
    padding: 1.05rem 0;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(196, 151, 58, 0.22);
  }

  #mobile-menu > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    padding-top: 1.1rem;
  }

  #mobile-menu > div a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    border-radius: 0.55rem;
    font-size: 0.8rem;
    font-weight: 700;
  }
}

body {
  top: 0 !important;
}

.gtranslate-shell {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  min-width: 5.2rem;
  max-width: 5.6rem;
  padding: 0.18rem 0.55rem;
  border: 1px solid rgba(196, 151, 58, 0.4);
  border-radius: 0.55rem;
  background: rgba(251, 246, 238, 0.12);
  overflow: visible;
  transition: background 0.2s ease, border-color 0.2s ease;
  color: var(--primary);
}

.gtranslate-shell-mobile {
  width: 100%;
  max-width: none;
  justify-content: flex-start;
  min-height: 2.8rem;
  padding: 0.4rem 0.7rem;
}

.gtranslate-shell:hover {
  background: rgba(251, 246, 238, 0.18);
  border-color: rgba(196, 151, 58, 0.62);
}

.gtranslate-shell .gtranslate_wrapper,
.gtranslate-shell .gt_float_switcher {
  width: 100%;
  min-width: 0;
  overflow: visible !important;
}

.gtranslate-shell .gt_float_switcher {
  position: relative !important;
  display: block !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  font-family: inherit !important;
  overflow: visible !important;
}

.gtranslate-shell .gt_selector {
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.gtranslate-shell .gt_selected {
  background: transparent !important;
  border: 0 !important;
}

.gtranslate-shell .gt_float_switcher .gt-selected,
.gtranslate-shell .gt_float_switcher .gt-selected .gt-current-lang,
.gtranslate-shell .gt_float_switcher .gt-selected a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.45rem !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 1.5rem !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

.gtranslate-shell-mobile .gt_float_switcher .gt-selected,
.gtranslate-shell-mobile .gt_float_switcher .gt-selected .gt-current-lang,
.gtranslate-shell-mobile .gt_float_switcher .gt-selected a {
  min-height: 2rem !important;
}

.gtranslate-shell .gt_float_switcher .gt-selected .gt-current-lang span,
.gtranslate-shell .gt_float_switcher .gt-selected a span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: inherit !important;
}

.gtranslate-shell .gt_float_switcher .gt-selected .gt-current-lang:after,
.gtranslate-shell .gt_float_switcher .gt-selected a:after {
  flex: 0 0 auto !important;
  color: inherit !important;
  font-size: 0.8rem !important;
}

.gtranslate-shell .gt_float_switcher .gt-selected svg,
.gtranslate-shell .gt_float_switcher .gt-selected i,
.gtranslate-shell .gt_float_switcher .gt-selected path,
.gtranslate-shell .gt_float_switcher .gt-selected .gt_arrow {
  color: inherit !important;
  fill: currentColor !important;
  stroke: currentColor !important;
  border-top-color: currentColor !important;
}

#site-header.header-light .gtranslate-shell {
  color: #fbf6ee;
}

#site-header.header-light .gtranslate-shell .gt_float_switcher .gt-selected,
#site-header.header-light .gtranslate-shell .gt_float_switcher .gt-selected .gt-current-lang,
#site-header.header-light .gtranslate-shell .gt_float_switcher .gt-selected a,
#site-header.header-light .gtranslate-shell .gt_float_switcher .gt-selected .gt-current-lang span,
#site-header.header-light .gtranslate-shell .gt_float_switcher .gt-selected a span,
#site-header.header-light .gtranslate-shell .gt_float_switcher .gt-selected .gt-current-lang:after,
#site-header.header-light .gtranslate-shell .gt_float_switcher .gt-selected a:after,
#site-header.header-light .gtranslate-shell .gt_float_switcher .gt-selected svg,
#site-header.header-light .gtranslate-shell .gt_float_switcher .gt-selected i,
#site-header.header-light .gtranslate-shell .gt_float_switcher .gt-selected path,
#site-header.header-light .gtranslate-shell .gt_float_switcher .gt-selected .gt_arrow {
  color: #fbf6ee !important;
  fill: #fbf6ee !important;
  stroke: #fbf6ee !important;
  border-top-color: #fbf6ee !important;
}

.gtranslate-shell .gt_float_switcher .gt_options {
  position: absolute !important;
  top: calc(100% + 0.5rem) !important;
  right: 0 !important;
  left: auto !important;
  z-index: 120 !important;
  display: none;
  width: 14.5rem !important;
  max-height: 16.5rem !important;
  overflow-y: auto !important;
  padding: 0.45rem !important;
  border: 1px solid rgba(196, 151, 58, 0.22) !important;
  border-radius: 0.9rem !important;
  background: rgba(46, 19, 8, 0.98) !important;
  box-shadow: 0 18px 48px rgba(20, 8, 3, 0.34) !important;
}

.gtranslate-shell .gt_float_switcher:hover .gt_options,
.gtranslate-shell .gt_float_switcher.open .gt_options,
.gtranslate-shell .gt_float_switcher .gt-selected:hover + .gt_options,
.gtranslate-shell .gt_float_switcher .gt_options:hover {
  display: block !important;
}

.gtranslate-shell .gt_float_switcher .gt_options::-webkit-scrollbar {
  width: 0.45rem;
}

.gtranslate-shell .gt_float_switcher .gt_options::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(196, 151, 58, 0.35);
}

.gtranslate-shell-mobile .gt_float_switcher .gt_options {
  position: static !important;
  width: 100% !important;
  margin-top: 0.55rem !important;
  background: rgba(46, 19, 8, 0.98) !important;
  box-shadow: none !important;
}

.gtranslate-shell .gt_float_switcher .gt_options a[data-gt-lang=""],
.gtranslate-shell .gt_float_switcher .gt_options a[title="undefined"],
.gtranslate-shell .gt_float_switcher .gt_options a[href*="undefined"] {
  display: none !important;
}

.gtranslate-shell .gt_float_switcher .gt_options a {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0.6rem 0.72rem !important;
  border: 0 !important;
  border-radius: 0.75rem !important;
  background: transparent !important;
  color: #fbf6ee !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  transition: background 0.18s ease, color 0.18s ease !important;
}

.gtranslate-shell .gt_float_switcher .gt_options a + a {
  margin-top: 0.12rem !important;
}

.gtranslate-shell .gt_float_switcher .gt_options a:hover {
  background: rgba(251, 246, 238, 0.09) !important;
}

.gtranslate-shell .gt_float_switcher .gt_options a.gt-current {
  background: #4069e8 !important;
  color: #ffffff !important;
}

.gtranslate-shell .gt_float_switcher .gt_options a img,
.gtranslate-shell .gt_float_switcher .gt-selected img,
.gtranslate-shell .gt_float_switcher .gt-selected .gt-current-lang img {
  width: 18px !important;
  height: 18px !important;
  border-radius: 999px;
  object-fit: cover;
}

.gtranslate-shell img {
  vertical-align: middle;
}

.gtranslate-shell img.is-hidden {
  display: none !important;
}

.gtranslate-fallback-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  min-width: 18px;
  font-size: 15px;
  line-height: 1;
}

.translate-control {
  position: relative;
}

.translate-control-mobile {
  width: 100%;
  margin-top: 0.2rem;
}

.translate-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2rem;
  padding: 0.34rem 0.7rem;
  border: 1px solid rgba(196, 151, 58, 0.4);
  border-radius: 0.55rem;
  background: rgba(251, 246, 238, 0.12);
  color: #fbf6ee;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.translate-trigger-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.translate-trigger-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  font-size: 0.92rem;
  line-height: 1;
}

.translate-trigger:hover {
  background: rgba(251, 246, 238, 0.18);
  border-color: rgba(196, 151, 58, 0.62);
}

.translate-trigger-mobile {
  width: 100%;
  justify-content: space-between;
  min-height: 2.8rem;
  padding-inline: 0.95rem;
}

.translate-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 70;
  width: 14.5rem;
  padding: 0.9rem;
  border: 1px solid rgba(196, 151, 58, 0.22);
  border-radius: 0.9rem;
  background: rgba(46, 19, 8, 0.98);
  box-shadow: 0 18px 48px rgba(20, 8, 3, 0.34);
}

.translate-menu-mobile {
  position: static;
  width: 100%;
  margin-top: 0.55rem;
  background: rgba(251, 246, 238, 0.08);
  box-shadow: none;
}

.translate-menu-title {
  margin: 0 0 0.55rem;
  color: rgba(251, 246, 238, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.translate-loading {
  margin: 0;
  padding: 0.65rem 0.15rem;
  color: rgba(251, 246, 238, 0.72);
  font-size: 0.82rem;
}

.translate-options {
  max-height: 16.5rem;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.translate-options::-webkit-scrollbar {
  width: 0.45rem;
}

.translate-options::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(196, 151, 58, 0.35);
}

.translate-option {
  display: grid;
  grid-template-columns: 1.4rem 1fr auto;
  align-items: center;
  width: 100%;
  gap: 0.55rem;
  margin: 0;
  padding: 0.6rem 0.72rem;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  color: #fbf6ee;
  text-align: left;
  transition: background 0.18s ease, color 0.18s ease;
}

.translate-option + .translate-option {
  margin-top: 0.12rem;
}

.translate-option:hover {
  background: rgba(251, 246, 238, 0.09);
}

.translate-option.is-active {
  background: #4069e8;
  color: #ffffff;
}

.translate-option-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  font-size: 1rem;
  line-height: 1;
}

.translate-option-text {
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.translate-option-check {
  opacity: 0;
  font-size: 1rem;
  font-weight: 700;
}

.translate-option.is-active .translate-option-check {
  opacity: 1;
}
