/* Outfit: Google Fonts (index.php / panel / admin <head>) — sunucuda assets/fonts yoksa kırılmaz */
:root {
  --bg-primary: #030303;
  --bg-secondary: #050505;
  --bg-secondary-scrolled: #050505c5;
  --bg-card: #0a0a0b;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-dimmed: #71717a;
  --accent: #dc2626;
  --accent-soft: rgba(220, 38, 38, 0.4);
  --accent-alpha: rgba(220, 38, 38, 0.1);
  --accent-strong: #dc2626;
  --accent-hover: #dc2626c4;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.05);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-highlight: rgba(255, 255, 255, 0.05);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-5: rgba(255, 255, 255, 0.05);
  --white-25: rgba(255, 255, 255, 0.25);
  --white-40: rgba(255, 255, 255, 0.4);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-65: rgba(255, 255, 255, 0.65);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-fixed: #ffffff;
  --black-fixed: #000000;
  --shadow-accent: rgba(220, 38, 38, 0.15);
  --shadow-dark: rgba(0, 0, 0, 0);
  --shadow-soft: rgba(0, 0, 0, 0.04);
  --shadow-medium: rgba(0, 0, 0, 0.08);
  --shadow-strong: rgba(0, 0, 0, 0.3);
  --shadow-overlay: rgba(0, 0, 0, 0.9);
  --scroll-thumb: rgba(255, 255, 255, 0.15);
  --overlay-bg: rgba(4, 4, 4, 0.5);
  --preloader-bg: #030303;
  --mesh-bg-1: rgba(220, 38, 38, 0.1);
  --mesh-bg-2: rgba(220, 38, 38, 0.1);
  /* Opak: yarı saydam + arkadaki içerik mobil menü altında bulanık görünüyordu */
  --mobile-nav-bg: #0a0a0b;
  --section-card-bg: rgb(10 10 11);
  --ui-border: none;
  --ui-border-soft: none;
  --ui-border-dashed: none;
  --auth-bg: linear-gradient(160deg, var(--bg-secondary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 50%, var(--bg-primary) 100%);
  --transition-base: 0.3s ease;
  --cursor-size: 8px;
  --outline-size: 30px;
  --bg-primary-alpha: rgba(3, 3, 3, 0.85);
  --color-success: #34d399;
  --color-success-bg: rgba(52, 211, 153, 0.08);
  --color-info: #60a5fa;
  --color-info-bg: rgba(96, 165, 250, 0.08);
  --color-warning: #fbbf24;
  --color-warning-bg: rgba(251, 191, 36, 0.08);
  --color-danger: #f87171;
  --color-danger-bg: rgba(248, 113, 113, 0.08);
  --color-hot: #fb923c;
  --color-digital: #c084fc;
  --color-star: #fbbf24;
  --stripe-color: rgba(255, 255, 255, 0.02);
  --glass-bg-accent: rgba(255, 255, 255, 0.05);
  --site-header-offset: 122px;
  --header-bar-bg: var(--bg-secondary);
  --header-cta-orange: var(--color-hot);
  --header-cta-orange-hover: #fb923c;
  --header-cta-green: var(--color-success);
  --header-cta-green-hover: #34d399;
  --header-cta-gold: var(--color-warning);
  --header-cta-gold-hover: #fcd34d;
  --header-search-fill: var(--glass-bg);
  --header-search-border: var(--border-color);
  --header-pattern-overlay: linear-gradient(180deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.94));
  --header-pattern-image: url("/assets/img/arka.webp");
  --sidebar-pattern-overlay: linear-gradient(180deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.94));
  --sidebar-pattern-image: url("/assets/img/sidebar.webp");
}
[data-theme="light"] {
  --bg-primary: #f6f6f7;
  --bg-secondary: #ffffff;
  --bg-secondary-scrolled: #ffffffb0;
  --bg-card: #ffffff;
  --text-primary: #0b111f;
  --text-secondary: #334155;
  --text-dimmed: #0b111f;
  --accent: #dc2626;
  --accent-soft: rgba(220, 38, 38, 0.15);
  --accent-alpha: rgba(220, 38, 38, 0.05);
  --accent-strong: #dc2626;
  --accent-hover: #dc262675;
  --border-color: rgba(15, 23, 42, 0.08);
  --border-soft: rgba(15, 23, 42, 0.04);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-highlight: rgba(255, 255, 255, 0.9);
  --white-10: rgba(15, 23, 42, 0.08);
  --white-5: rgba(15, 23, 42, 0.04);
  --white-25: rgba(15, 23, 42, 0.15);
  --white-40: rgba(15, 23, 42, 0.3);
  --white-50: rgba(15, 23, 42, 0.4);
  --white-60: rgba(15, 23, 42, 0.5);
  --white-65: rgba(15, 23, 42, 0.55);
  --white-70: rgba(15, 23, 42, 0.6);
  --white-fixed: #ffffff;
  --black-fixed: #000000;
  --shadow-accent: rgba(220, 38, 38, 0.12);
  --shadow-dark: rgba(15, 23, 42, 0.08);
  --stripe-color: rgba(0, 0, 0, 0.035);
  --shadow-soft: rgba(15, 23, 42, 0.03);
  --shadow-medium: rgba(15, 23, 42, 0.06);
  --shadow-strong: rgba(15, 23, 42, 0.12);
  --shadow-overlay: rgba(255, 255, 255, 0.95);
  --scroll-thumb: rgba(15, 23, 42, 0.6);
  --overlay-bg: rgba(255, 255, 255, 0.85);
  --bg-primary-alpha: rgba(246, 246, 247, 0.85);
  --preloader-bg: #ffffff;
  --mesh-bg-1: rgba(220, 38, 38, 0.06);
  --mesh-bg-2: rgba(220, 38, 38, 0.04);
  --mobile-nav-bg: #f6f6f7;
  --section-card-bg: #ffffff;
  --ui-border: 1px solid var(--border-color);
  --ui-border-soft: 1px solid var(--border-soft);
  --ui-border-dashed: 1px dashed var(--border-color);
  --glass-bg-accent: rgba(15, 23, 42, 0.04);
  --header-bar-bg: var(--bg-secondary);
  --header-search-fill: var(--glass-bg);
  --header-search-border: var(--border-color);
  --header-pattern-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.94));
  --sidebar-pattern-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.94));
  --auth-bg: linear-gradient(160deg, var(--bg-secondary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 50%, var(--bg-primary) 100%);
}
.logo-light {
  display: block;
}
.logo-dark {
  display: none;
}
[data-theme="light"] .logo-light {
  display: none !important;
  transition: none !important;
}
[data-theme="light"] .logo-dark {
  display: block !important;
  transition: none !important;
}
[data-theme="dark"] .logo-light {
  display: block !important;
  transition: none !important;
}
[data-theme="dark"] .logo-dark {
  display: none !important;
  transition: none !important;
}
.disable-transitions,
.disable-transitions *:not(.theme-toggle-btn, .theme-toggle-btn *) {
  transition: none !important;
  animation: none !important;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: all var(--transition-base);
  font-family: inherit;
}
html {
  font-size: 15px;
  background-color: var(--preloader-bg);
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--bg-primary);
}
body {
  overflow-x: clip;
  width: 100%;
  font-family:
    "Outfit",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
.mt-30 {
  margin-top: 30px;
}
.mb-10 {
  margin-bottom: 10px;
}
.mb-15 {
  margin-bottom: 15px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mt-15 {
  margin-top: 15px;
}
.flex-center-y {
  display: flex;
  align-items: center;
}
.gap-8 {
  gap: 8px;
}
.gap-12 {
  gap: 12px;
}
.flex-wrap {
  flex-wrap: wrap;
}
.ml-8 {
  margin-left: 8px;
}
.p-0 {
  padding: 0 !important;
}
.item-extra-count {
  font-size: 0.85em;
  font-weight: 400;
  color: var(--text-dimmed);
}
.textarea-md {
  min-height: 150px;
}
.icon-lg {
  width: 48px !important;
  height: 48px !important;
}
.opacity-50 {
  opacity: 0.5;
}
.hide {
  display: none !important;
}
.empty-state-notice {
  padding: 20px 40px;
  text-align: center;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}
.click-ripple {
  position: fixed;
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  transform: translate(-50%, -50%);
  animation: ripple-animation 0.5s ease-out forwards;
}
@keyframes ripple-animation {
  0% {
    width: 0;
    height: 0;
    opacity: 0.8;
  }
  100% {
    width: 60px;
    height: 60px;
    opacity: 0;
  }
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 999px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-select: none;
  font-style: italic;
  shape-margin: 0.75rem;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.flex-center {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
.w-100 {
  width: 100%;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 45px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: all 0.3s ease;
}
.btn .btn-rank-hint {
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}
[data-theme="light"] .btn .btn-rank-hint {
  color: rgba(0, 0, 0, 0.70);
}
.sl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  margin: 10px 6px;
  transition: all 0.3s ease;
}
.sl-btn-primary {
  background: var(--accent);
  color: var(--white-fixed);
  box-shadow: 0 4px 15px var(--accent-alpha);
}
.sl-btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 25px var(--shadow-accent);
}
.sl-btn-secondary {
  background: var(--white-5);
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
}
.sl-btn-secondary:hover {
  background: var(--white-10);
}
.sl-btn-danger {
  background: var(--accent);
  color: #fff;
}
.swal2-actions {
  gap: 0 !important;
}
.swal2-popup {
  border-radius: 20px !important;
  border: 1px solid var(--border-color) !important;
  background: var(--bg-secondary) !important;
}
.tasks-toast-center.swal2-toast{
  text-align: center !important;
  align-items: center !important;
  justify-content: center !important;
}
.tasks-toast-center.swal2-toast .swal2-title,
.tasks-toast-center.swal2-toast .swal2-html-container{
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: var(--accent);
  color: var(--white-fixed);
  box-shadow: 0 4px 15px var(--accent-alpha);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 25px var(--shadow-accent);
}
.btn-download {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 15px 30px;
  background: var(--bg-primary);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, var(--stripe-color) 10px, var(--stripe-color) 20px);
  border: 1px dashed var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
}
.btn-download:hover {
  background: var(--bg-secondary);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, var(--stripe-color) 10px, var(--stripe-color) 20px);
  color: var(--white-fixed);
}
.btn-download svg {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}
.btn-secondary {
  background: var(--white-5);
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateZ(0);
  backface-visibility: hidden;
}
.btn-secondary:hover {
  background: var(--white-10);
}
.btn-secondary.active {
  background: var(--accent);
  color: var(--white-fixed);
  border-color: var(--accent);
  box-shadow: 0 4px 15px var(--accent-alpha);
}
.btn-glass {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-glass:hover {
  background: var(--glass-highlight);
}
.btn-square {
  width: 45px;
  height: 45px;
  padding: 0;
  border-radius: 12px;
  flex-shrink: 0;
}
.w-full {
  width: 100%;
}
.input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  width: 100%;
}
.input-wrapper label {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 14px;
  pointer-events: none;
  z-index: 5;
}
.stock-item-info {
  display: flex;
  align-items: center;
  gap: 15px;
}
.stock-item-icon {
  width: 45px;
  height: 45px;
  background: var(--glass-bg);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dimmed);
}
.stock-item-icon svg {
  width: 20px;
  height: 20px;
}
.stock-item-texts {
  display: flex;
  flex-direction: column;
}
.stock-item-name {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.stock-item-type {
  font-size: 12px;
  text-align: left;
  color: var(--text-dimmed);
}
.input-wrapper svg {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: var(--text-dimmed);
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 6;
}
.input-wrapper textarea ~ label {
  top: 20px;
  transform: none;
}
.input-wrapper:has(textarea) svg,
.input-wrapper:has(textarea) svg {
  top: 20px;
  transform: none;
}
.input-wrapper svg ~ input,
.input-wrapper svg ~ select,
.input-wrapper svg ~ textarea {
  padding-left: 50px;
}
.input-wrapper svg ~ input:focus + label,
.input-wrapper svg ~ input:not(:placeholder-shown) + label,
.input-wrapper svg ~ select:focus + label,
.input-wrapper svg ~ select:not(:placeholder-shown) + label,
.input-wrapper svg ~ textarea:focus + label,
.input-wrapper svg ~ textarea:not(:placeholder-shown) + label {
  left: 50px;
}
.input-wrapper svg ~ label {
  left: 50px;
}
.input-wrapper input:focus + label,
.input-wrapper input:not(:placeholder-shown) + label,
.input-wrapper textarea:focus + label,
.input-wrapper textarea:not(:placeholder-shown) + label,
.input-wrapper select:focus + label,
.input-wrapper select:not(:placeholder-shown) + label {
  top: 10px;
  font-size: 12px;
  color: var(--text-secondary);
  transform: translateY(0);
  font-weight: 500;
}
/* Select’te :placeholder-shown tarayıcıya göre tutarsız; etiket her zaman üstte */
.input-wrapper:has(> select + label) > label {
  top: 10px;
  font-size: 12px;
  color: var(--text-secondary);
  transform: translateY(0);
  font-weight: 500;
  left: 20px;
}
.input-wrapper:has(> i:first-child + select + label) > label,
.input-wrapper:has(> svg:first-child + select + label) > label {
  left: 50px;
}
input,
textarea,
select {
  width: 100%;
  background: var(--glass-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 26px 18px 10px 20px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  outline: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
  appearance: none;
}
input[type="password"] {
  padding-right: 50px;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
  padding-right: 45px;
}
input:focus,
textarea:focus,
select:focus {
  background: var(--bg-card);
}
.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-dimmed);
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.password-toggle svg {
  width: 18px;
  height: 18px;
  position: static;
  transform: none;
  left: auto;
}
.password-toggle:hover {
  color: var(--accent);
}
input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--border-color);
  background: var(--glass-bg);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
}
input[type="radio"] {
  border-radius: 50%;
}
input[type="checkbox"]:hover,
input[type="radio"]:hover {
  border-color: var(--white-40);
  background: var(--glass-highlight);
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
input[type="checkbox"]:checked::after {
  content: "";
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}
input[type="radio"]:checked::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--white-fixed);
  border-radius: 50%;
}
input[type="file"] {
  padding: 12px;
  height: auto;
  cursor: pointer;
}
input[type="file"]::file-selector-button {
  background: var(--accent);
  color: var(--white-fixed);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  margin-right: 15px;
  cursor: pointer;
}
input[type="file"]::file-selector-button:hover {
  background: var(--accent-soft);
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-primary) !important;
  -webkit-box-shadow: 0 0 0px 1000px var(--bg-card) inset !important;
  transition: background-color 5000s ease-in-out 0s;
  caret-color: var(--text-primary);
}
input::placeholder {
  color: var(--text-dimmed);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}
.form-row .input-group {
  margin: 0;
}
.input-group {
  display: flex;
  flex-direction: column;
  margin: 10px 0;
}
.input-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
}
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  width: 20px;
  height: 20px;
  background: var(--glass-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  position: relative;
}
.checkbox-container:hover .checkmark {
  border-color: var(--white-40);
  background: var(--glass-highlight);
}
.checkbox-container input:checked ~ .checkmark {
  background: var(--accent);
  border-color: var(--accent);
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6.5px;
  top: 2.5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 10px 0;
  color: var(--text-dimmed);
  font-size: 12px;
  font-weight: 600;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1.5px solid var(--border-color);
  opacity: 0.5;
}
.auth-divider::before {
  margin-right: 15px;
}
.auth-divider::after {
  margin-left: 15px;
}
.google-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: var(--white-fixed);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.google-auth-btn img {
  width: 22px;
  height: 22px;
}
.google-auth-btn:hover {
  background: #f8f8f8;
  border-color: var(--accent-alpha);
}
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 14px;
  box-sizing: border-box;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  background-color: var(--header-bar-bg);
  background-image: var(--header-pattern-overlay), var(--header-pattern-image);
  background-repeat: repeat, repeat;
  background-position: center top, center top;
  background-size: auto, auto;
  border-bottom: 1px solid var(--header-search-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.header.scrolled {
  background-color: var(--header-bar-bg);
  background-image: var(--header-pattern-overlay), var(--header-pattern-image);
  background-repeat: repeat, repeat;
  background-position: center top, center top;
  background-size: auto, auto;
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  transform: translateZ(0);
  backface-visibility: hidden;
  border-bottom-color: var(--header-search-border);
}
.header.hidden {
  transform: translateY(-100%);
}
.header-inner {
  --header-account-badge-width: 255px;
  --header-account-action-size: 45px;
  --header-account-action-gap: 8px;
  --header-account-actions-width: calc(var(--header-account-badge-width) + var(--header-account-action-size) + var(--header-account-action-gap));
  max-width: 1520px;
  margin: 0 auto;
  padding: 10px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.header-top {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
}
.header-search {
  flex: 0 1 var(--header-search-sync-width, clamp(18rem, 34vw, 35rem));
  width: var(--header-search-sync-width, clamp(18rem, 34vw, 35rem));
  max-width: 100%;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.header-search-row {
  display: flex;
  align-items: stretch;
  height: 44px;
  border-radius: 12px;
  background: var(--header-search-fill);
  border: 1px solid var(--header-search-border);
  overflow: hidden;
}
.header-search--mobile {
  width: 100%;
  flex: 0 0 auto;
  margin-bottom: 8px;
}
.header-search-leading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
  border-right: 1px solid var(--header-search-border);
  background: transparent;
  color: var(--text-secondary);
}
.header-search-leading svg {
  width: 18px;
  height: 18px;
}
.header-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 14px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}
.header-search-input::-webkit-search-decoration,
.header-search-input::-webkit-search-cancel-button,
.header-search-input::-webkit-search-results-button,
.header-search-input::-webkit-search-results-decoration {
  display: none;
}
.header-search-input::placeholder {
  color: var(--text-dimmed);
}
.header-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 80;
  max-height: min(70vh, 420px);
  overflow-y: auto;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  padding: 8px 0;
}
.header-search-dropdown[hidden] {
  display: none !important;
}
.header-search-dd-section {
  padding: 4px 0;
}
.header-search-dd-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dimmed);
  padding: 6px 12px 4px;
}
.header-search-dd-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s ease;
}
.header-search-dd-row:hover {
  background: var(--glass-bg);
}
.header-search-dd-thumb {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}
.header-search-dd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.header-search-dd-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  color: var(--accent);
}
.header-search-dd-ico svg {
  width: 20px;
  height: 20px;
}
.header-search-dd-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-search-dd-empty {
  padding: 14px 12px;
  font-size: 13px;
  color: var(--text-dimmed);
  text-align: center;
}
.header-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  width: auto;
  justify-content: flex-end;
  margin-left: auto;
}
@media (min-width: 1025px) {
  .header-top-actions,
  .header-nav-actions {
    min-width: max-content;
  }
}
.btn-header-register {
  height: 40px !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  border: none !important;
  background: var(--accent) !important;
  color: var(--white-fixed) !important;
  box-shadow: 0 4px 14px var(--shadow-accent);
}
.btn-header-register:hover {
  background: var(--accent-hover) !important;
  color: var(--white-fixed) !important;
}
.btn-header-login {
  height: 40px !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  background: var(--glass-bg) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: none;
}
.btn-header-login:hover {
  background: var(--glass-highlight) !important;
  color: var(--accent) !important;
  border-color: var(--accent-alpha) !important;
}
.btn-header-gold {
  height: 38px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  gap: 8px !important;
  border: none !important;
  background: var(--header-cta-gold) !important;
  color: #1a1a1a !important;
  box-shadow: 0 4px 14px rgba(255, 193, 7, 0.35);
}
.btn-header-gold:hover {
  background: var(--header-cta-gold-hover) !important;
  color: #1a1a1a !important;
}
.btn-header-balance {
  height: 38px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  gap: 8px !important;
  border: none !important;
  background: var(--accent) !important;
  color: var(--white-fixed) !important;
  box-shadow: 0 4px 14px var(--shadow-accent);
}
.btn-header-balance:hover {
  background: var(--accent-hover) !important;
  color: var(--white-fixed) !important;
}
.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding-top: 2px;
  border-top: 1px dashed var(--header-search-border);
  min-width: 0;
}
.header-pill-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 8px;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  flex: 0 1 auto;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  margin: 0 -2px;
  padding-left: 2px;
  padding-right: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.header-pill-nav::-webkit-scrollbar {
  display: none;
  height: 0;
}
.header-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px 5px 5px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 600;
  flex-shrink: 0;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.header-pill-link:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}
[data-theme="light"] .header-pill-link:hover {
  background: rgba(15, 23, 42, 0.06);
}
.header-pill-link.is-active,
.header-pill-link.active {
  color: var(--white-fixed);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 20px var(--accent-alpha);
}
.header-pill-link.is-active:hover,
.header-pill-link.active:hover {
  color: var(--white-fixed);
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 10px 24px var(--shadow-accent);
}
.header-pill-link.is-active .header-pill-ico,
.header-pill-link.active .header-pill-ico {
  background: var(--white-10);
  box-shadow: none;
}
.header-pill-link.is-active .header-pill-ico svg,
.header-pill-link.active .header-pill-ico svg {
  color: var(--white-fixed);
}
button.header-pill-link {
  font: inherit;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  text-align: left;
}
.header-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 var(--header-account-actions-width);
  width: var(--header-account-actions-width);
  justify-content: flex-end;
  margin-left: auto;
}
.header-nav-actions .header-nav-action {
  flex: 1 1 0;
  min-width: 0;
}
.header-nav-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 10px;
  border: 0;
  color: var(--white-fixed, #fff);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.header-nav-action svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.header-nav-action:hover {
  color: var(--white-fixed, #fff);
  transform: translateY(-1px);
}
.header-nav-action--panel {
  background: var(--accent, #dc2626);
  box-shadow: 0 6px 18px var(--accent-alpha);
}
.header-nav-action--panel:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 22px var(--shadow-accent);
}
.header-nav-action--balance {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: none;
}
.header-nav-action--balance:hover {
  background: linear-gradient(135deg, #15803d, #16a34a);
  box-shadow: none;
}
.header-nav-row--with-cat {
  position: relative;
  flex-wrap: wrap;
  align-items: center;
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .header-inner {
    --header-account-badge-width: clamp(12.75rem, 20vw, 15rem);
    --header-account-action-gap: 6px;
    padding: 9px 10px 7px;
    gap: 7px;
  }
  .header .logo img {
    height: 32px;
    max-width: clamp(7rem, 12vw, 9.25rem);
  }
  .header-search-row {
    height: 40px;
    border-radius: 10px;
  }
  .header-search-leading {
    width: 40px;
  }
  .header-search-input {
    padding: 0 10px;
    font-size: 12.5px;
  }
  .header-user-badge {
    width: var(--header-account-badge-width);
  }
  .user-info-badge {
    height: 42px;
  }
  .header-top-actions {
    gap: 6px;
  }
  .header-nav-actions {
    gap: var(--header-account-action-gap);
  }
  .header-nav-actions .header-nav-action {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
    gap: 6px;
  }
  .header-pill-nav {
    gap: 5px 6px;
  }
  .header-pill-link {
    gap: 6px;
    padding: 4px 8px 4px 4px;
    font-size: 12px;
  }
  .header-pill-ico {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }
}
.header-nav-categories-panel {
  flex: 1 1 100%;
  min-width: 0;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--header-search-border);
  background: var(--header-bar-bg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  max-height: min(52vh, 360px);
  overflow: auto;
  z-index: 2;
}
.header-nav-categories-panel[hidden] {
  display: none !important;
}
.header-nav-categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.header-nav-categories-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--header-search-border);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
[data-theme="light"] .header-nav-categories-link {
  background: rgba(15, 23, 42, 0.05);
}
.header-nav-categories-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.header-nav-categories-empty {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}
.header-pill-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-pill-ico svg {
  width: 15px;
  height: 15px;
  color: #fff;
}
.hp-ico--accent {
  background: linear-gradient(145deg, var(--accent-strong), var(--accent));
  box-shadow: 0 2px 10px var(--accent-alpha);
}
.hp-ico--tone1 {
  background: linear-gradient(145deg, #b91c1c, var(--accent));
}
.hp-ico--tone2 {
  background: linear-gradient(145deg, #7f1d1d, #dc2626);
}
.hp-ico--tone3 {
  background: linear-gradient(145deg, #7f1d1d, var(--accent));
}
.hp-ico--tone4 {
  background: linear-gradient(145deg, var(--accent-soft), var(--accent));
}
.hp-ico--tone5 {
  background: linear-gradient(145deg, #450a0a, #991b1b);
}
.hp-ico--tone6 {
  background: linear-gradient(145deg, #b91c1c, #7f1d1d);
}
.hp-ico--soft {
  background: linear-gradient(145deg, var(--mesh-bg-1), var(--accent-alpha));
}
.hp-ico--deep {
  background: linear-gradient(145deg, #1c1917, #450a0a);
}
.hp-ico--muted {
  background: linear-gradient(145deg, #3f3f46, #52525b);
}
.hp-ico--hue01,
.hn-swatch--hue01 {
  background: linear-gradient(145deg, #f97316, #ea580c);
}
.hp-ico--hue02,
.hn-swatch--hue02 {
  background: linear-gradient(145deg, #fb923c, #f97316);
}
.hp-ico--hue03,
.hn-swatch--hue03 {
  background: linear-gradient(145deg, #fbbf24, #d97706);
}
.hp-ico--hue04,
.hn-swatch--hue04 {
  background: linear-gradient(145deg, #facc15, #ca8a04);
}
.hp-ico--hue05,
.hn-swatch--hue05 {
  background: linear-gradient(145deg, #a3e635, #65a30d);
}
.hp-ico--hue06,
.hn-swatch--hue06 {
  background: linear-gradient(145deg, #4ade80, #16a34a);
}
.hp-ico--hue07,
.hn-swatch--hue07 {
  background: linear-gradient(145deg, #34d399, #059669);
}
.hp-ico--hue08,
.hn-swatch--hue08 {
  background: linear-gradient(145deg, #2dd4bf, #0d9488);
}
.hp-ico--hue09,
.hn-swatch--hue09 {
  background: linear-gradient(145deg, #22d3ee, #0891b2);
}
.hp-ico--hue10,
.hn-swatch--hue10 {
  background: linear-gradient(145deg, #38bdf8, #0284c7);
}
.hp-ico--hue11,
.hn-swatch--hue11 {
  background: linear-gradient(145deg, #60a5fa, #2563eb);
}
.hp-ico--hue12,
.hn-swatch--hue12 {
  background: linear-gradient(145deg, #818cf8, #4f46e5);
}
.hp-ico--hue13,
.hn-swatch--hue13 {
  background: linear-gradient(145deg, #a78bfa, #7c3aed);
}
.hp-ico--hue14,
.hn-swatch--hue14 {
  background: linear-gradient(145deg, #c084fc, #9333ea);
}
.hp-ico--hue15,
.hn-swatch--hue15 {
  background: linear-gradient(145deg, #e879f9, #c026d3);
}
.hp-ico--hue16,
.hn-swatch--hue16 {
  background: linear-gradient(145deg, #f472b6, #db2777);
}
.hp-ico--hue17,
.hn-swatch--hue17 {
  background: linear-gradient(145deg, #fb7185, #e11d48);
}
.hp-ico--hue18,
.hn-swatch--hue18 {
  background: linear-gradient(145deg, #f43f5e, #be123c);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo img {
  width: auto;
  max-width: 180px;
  height: 36px;
  object-fit: contain;
}
.mobile-auth-inline {
  margin-left: 4px;
}
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--mobile-nav-bg);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 20px;
  padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow: hidden;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.active {
  left: 0;
}
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--border-color);
}
.mobile-nav-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mobile-nav-content::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.mobile-links a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
}
.mobile-links-cat-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 10px 0;
  border: 0;
  border-bottom: 1px dashed var(--border-color);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.mobile-links-cat-toggle i,
.mobile-links-cat-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}
.mobile-nav-categories-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 14px 12px;
  margin-top: -4px;
  border-bottom: 1px dashed var(--border-color);
}
.mobile-nav-categories-panel[hidden] {
  display: none !important;
}
.mobile-nav-categories-panel a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 0;
}
.mobile-nav-categories-panel a:hover {
  color: var(--accent);
}
.mobile-nav-categories-empty {
  margin: 0;
  font-size: 1rem;
  color: var(--text-secondary);
}
.mobile-auth-btns {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Masaüstünde overlay DOM’da .active kalsa bile (mobilden resize vb.) içerik soluk kalmasın */
@media (min-width: 1025px) {
  .mobile-nav-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
.mobile-nav-overlay:not(.active) {
  pointer-events: none;
}
.main-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-top: 0;
  overflow: hidden;
  z-index: 1;
  background: var(--bg-secondary);
  transform: translateZ(0);
  -webkit-box-shadow: 0 0 20px 0px var(--shadow-dark);
  box-shadow: 0 0 20px 0px var(--shadow-dark);
}

/* --- Ana sayfa hero (sekme + 860×340 + 3×165×340 + kategori marquee) --- */
.home-hero {
  position: relative;
  width: 100%;
  /* Sabit header altında ince boşluk (offset zaten tam header yüksekliği) */
  padding-top: calc(var(--site-header-offset) + 0.35rem);
  padding-bottom: 1.25rem;
  padding-left: 0;
  padding-right: 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary, #0a0a0a) 100%);
  z-index: 1;
  border-bottom: 0;
}
@media (min-width: 1025px) {
  .home-hero {
    padding-top: calc(var(--site-header-offset) + 10px);
  }
}
/* Hero kapalı + market kapalı: sabit header altında ilk bölüm görünsün */
#ana-sayfa.home-hero-spacer {
  width: 100%;
  padding-top: calc(var(--site-header-offset) + 0.35rem);
  box-sizing: border-box;
}
@media (min-width: 1025px) {
  #ana-sayfa.home-hero-spacer {
    padding-top: calc(var(--site-header-offset) + 10px);
  }
}
.home-hero-inner {
  position: relative;
}
.home-hero-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 5px;
  margin-bottom: 0.65rem;
  max-width: 100%;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.home-hero-tab {
  appearance: none;
  margin: 0;
  border: none;
  background: var(--accent, #dc2626);
  color: var(--white-fixed, #fff);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  padding: 0.5rem 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-alpha);
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.home-hero-tab:hover {
  color: var(--white-fixed, #fff);
  background: var(--accent-hover);
  box-shadow: 0 8px 25px var(--shadow-accent);
}
.home-hero-tab:focus-visible {
  outline: 2px solid var(--accent, #dc2626);
  outline-offset: 2px;
}
.home-hero-tab.is-active {
  color: var(--white-fixed, #fff);
  background: var(--accent, #dc2626);
  box-shadow: 0 4px 15px var(--accent-alpha);
}
.home-hero-tab.is-active:hover {
  color: var(--white-fixed, #fff);
  background: var(--accent-hover);
  box-shadow: 0 8px 25px var(--shadow-accent);
}
[data-theme="light"] .home-hero-tabs {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
[data-theme="light"] .home-hero-tab {
  color: var(--white-fixed, #fff);
  background: var(--accent, #dc2626);
  box-shadow: 0 4px 15px var(--accent-alpha);
}
[data-theme="light"] .home-hero-tab:hover {
  color: var(--white-fixed, #fff);
  background: var(--accent-hover);
  box-shadow: 0 8px 25px var(--shadow-accent);
}
[data-theme="light"] .home-hero-tab.is-active {
  color: var(--white-fixed, #fff);
  background: var(--accent, #dc2626);
  box-shadow: 0 4px 15px var(--accent-alpha);
}
[data-theme="light"] .home-hero-tab.is-active:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 25px var(--shadow-accent);
}
@media (max-width: 768px) {
  .home-hero-tabs {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .home-hero-tabs::-webkit-scrollbar {
    display: none;
    height: 0;
  }
  .home-hero-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}
.home-hero-panels {
  position: relative;
}
.home-hero-panel[hidden] {
  display: none !important;
}
.home-hero-composite-wrap {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.home-hero-composite {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  align-content: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-tertiary, #141414);
  /* Yükseklik 301px; genişlik panelde inline (1200 / 1198 / 1197 / 1196) */
  aspect-ratio: 1200 / 301;
  min-height: 0;
}
.home-hero-tile {
  display: block;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
  text-decoration: none;
  color: inherit;
}
a.home-hero-tile {
  cursor: pointer;
}
.home-hero-tile--big {
  min-width: 0;
}
.home-hero-tile--sm {
  border-left: 1px solid rgba(0, 0, 0, 0.35);
}
.home-hero-tile img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: transform 0.45s ease, filter 0.35s ease;
}
.home-hero-tile:not(.home-hero-tile--empty):hover img {
  transform: scale(1.02);
  filter: brightness(1.06) saturate(1.05);
}
.home-hero-tile:not(.home-hero-tile--empty)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.14) 48%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.14) 52%,
    transparent 62%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: 100% 0;
  transition: opacity 0.25s ease;
}
.home-hero-tile:not(.home-hero-tile--empty):hover::after {
  opacity: 1;
  /* Fare üzerindeyken parıltı durmasın: ileri-geri sürekli */
  animation: home-hero-glimmer 2.4s ease-in-out infinite alternate;
}
@keyframes home-hero-glimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-tile:not(.home-hero-tile--empty)::after {
    animation: none;
  }
  .home-hero-tile:not(.home-hero-tile--empty):hover::after {
    opacity: 0.35;
    background-position: 50% 0;
  }
  .home-hero-tile:not(.home-hero-tile--empty):hover img {
    transform: none;
  }
}
.home-hero-tile--empty {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(220, 38, 38, 0.06));
}
/* Mobilde yalnızca büyük hero görseli (küçük sütunlar gizli) */
@media (max-width: 768px) {
  .home-hero-composite {
    aspect-ratio: var(--home-hero-mobile-aspect, 761 / 301) !important;
  }
  .home-hero-tile--sm {
    display: none !important;
  }
  .home-hero-tile--big {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
.home-hero-ph {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 12px,
    rgba(255, 255, 255, 0.06) 12px,
    rgba(255, 255, 255, 0.06) 24px
  );
}
.home-hero-marquee {
  position: relative;
  margin-top: 1rem;
  height: 52px;
  border-radius: 14px;
  --marquee-space: 1.125rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.38));
  background-color: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 10px 32px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(220, 38, 38, 0.07);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.home-hero-marquee-view {
  height: 100%;
  overflow: hidden;
  padding: 0 1.25rem;
  box-sizing: border-box;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.home-hero-marquee-fade {
  display: none;
}
.home-hero-marquee-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
  width: max-content;
  gap: 0;
  will-change: transform;
  animation: home-hero-marquee-x 42s linear infinite;
}
.home-hero-marquee-set {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
  gap: var(--marquee-space);
  /* İki kopya arasında da aynı ritim; genişlik her sette eşit kalsın diye sadece inline-end */
  padding-inline-end: var(--marquee-space);
}
.home-hero-marquee:hover .home-hero-marquee-track {
  animation-play-state: paused;
}
@keyframes home-hero-marquee-x {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-marquee-track {
    animation: none;
  }
}
.home-hero-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: var(--marquee-space);
  flex-shrink: 0;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}
.home-hero-marquee-item:hover {
  color: var(--white-fixed, #fff);
}
.home-hero-marquee-item:focus-visible {
  outline: 2px solid var(--accent, #dc2626);
  outline-offset: 3px;
  border-radius: 6px;
}
.home-hero-marquee-item:hover .home-hero-marquee-ico {
  background: var(--accent-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 6px 20px var(--shadow-accent);
  transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-marquee-item,
  .home-hero-marquee-item:hover .home-hero-marquee-ico {
    transition: color 0.2s ease;
    transform: none;
  }
}
.home-hero-marquee-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--white-fixed);
  box-shadow: 0 3px 12px var(--accent-alpha), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.home-hero-marquee-ico i,
.home-hero-marquee-ico svg {
  width: 17px;
  height: 17px;
}
[data-theme="light"] .home-hero-marquee {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.88));
  background-color: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 28px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(220, 38, 38, 0.06);
}
[data-theme="light"] .home-hero-marquee-item {
  color: rgba(15, 23, 42, 0.82);
}
[data-theme="light"] .home-hero-marquee-item:hover {
  color: var(--accent, #dc2626);
}
[data-theme="light"] .home-hero-marquee-ico {
  background: var(--accent);
  color: var(--white-fixed);
  box-shadow: 0 3px 12px var(--accent-alpha), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.main-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(var(--white-5) 1px, transparent 1px), linear-gradient(90deg, var(--white-5) 1px, transparent 1px);
  background-size: 150px 150px;
  pointer-events: none;
  z-index: 1;
}
.mb-1 {
  width: 600px;
  height: 600px;
  top: -100px;
  right: -100px;
  background: var(--mesh-bg-1);
  animation-duration: 25s;
}
.mb-2 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  left: -100px;
  background: var(--accent-alpha);
  opacity: 0.8;
  animation-duration: 30s;
  animation-delay: -5s;
}
.mb-3 {
  width: 400px;
  height: 400px;
  top: 30%;
  left: 30%;
  background: var(--accent-alpha);
  animation-duration: 20s;
}
@keyframes mesh-float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(100px, 100px) scale(1.2);
  }
}
.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.slider-item.active {
  opacity: 1;
}
.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}
.slider-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  box-sizing: border-box;
  padding-top: var(--site-header-offset);
}
.slider-content {
  flex: 1;
  z-index: 10;
  pointer-events: none;
}
.slider-content > * {
  pointer-events: auto;
}
@keyframes preloader-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}
@keyframes preloader-line {
  0% {
    width: 0;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
.mb-10 {
  margin-bottom: 10px !important;
}
.mb-15 {
  margin-bottom: 15px !important;
}
.mb-20 {
  margin-bottom: 20px !important;
}
.mb-25 {
  margin-bottom: 25px !important;
}
.mb-30 {
  margin-bottom: 30px !important;
}
.mt-10 {
  margin-top: 10px !important;
}
.mt-20 {
  margin-top: 20px !important;
}
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--preloader-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.6s;
  will-change: opacity, visibility;
}
#preloader.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
}
.preloader-content {
  text-align: center;
  width: 200px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
#preloader.hidden .preloader-content {
  transform: scale(0.9);
}
.preloader-logo {
  width: 180px;
  height: auto;
  margin-bottom: 30px;
  animation: preloader-pulse 2s infinite ease-in-out;
}
.preloader-line {
  width: 100%;
  height: 2px;
  background: var(--white-10);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.preloader-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--accent-strong);
  animation: preloader-line 1.5s infinite ease-in-out;
}
.slider-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--accent-alpha);
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
}
.slider-title {
  font-size: clamp(1.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 0.95;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(40px);
  letter-spacing: -0.04em;
}
.slider-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(30px);
  max-width: 600px;
}
.slider-visual {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  opacity: 0;
  transform: translateX(60px) scale(0.9);
  perspective: 1000px;
}
.slider-item.active .slider-visual {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.visual-bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  -webkit-filter: blur(5px);
  filter: blur(5px);
  opacity: 1;
  z-index: 0;
  animation: bg-pulse 10s infinite alternate ease-in-out;
}
.visual-orbit-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--border-color);
}
.ring-1 {
  width: 450px;
  height: 450px;
  animation: rotate-ring 30s linear infinite;
}
.ring-2 {
  width: 550px;
  height: 550px;
  animation: rotate-ring 45s linear infinite reverse;
  border-style: dotted;
  opacity: 0.5;
}
.visual-icon-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, var(--accent), var(--bg-primary));
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  z-index: 2;
  box-shadow:
    0 30px 60px var(--shadow-dark),
    inset 0 0 0 1px var(--border-color);
  -webkit-box-shadow:
    0 30px 60px var(--shadow-dark),
    inset 0 0 0 1px var(--border-color);
  animation: float-main 10s infinite ease-in-out;
  transform-style: preserve-3d;
}
.main-visual-icon {
  width: 150px;
  height: 150px;
  color: var(--text-primary);
  -webkit-filter: drop-shadow(0 15px 35px var(--shadow-strong));
  filter: drop-shadow(0 15px 35px var(--shadow-strong));
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.floating-icons {
  position: absolute;
  inset: -40px;
  pointer-events: none;
}
.float-icon {
  position: absolute;
  width: 90px;
  height: 90px;
  color: var(--text-primary);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 22px;
  border-radius: 24px;
  -webkit-box-shadow: 0 20px 40px var(--shadow-dark);
  box-shadow: 0 20px 40px var(--shadow-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fi-1 {
  top: 5%;
  right: -5%;
  animation: float-fi 6s infinite ease-in-out;
  color: var(--accent);
}
.fi-2 {
  bottom: 10%;
  left: -10%;
  animation: float-fi 7s infinite ease-in-out 1.5s;
  color: var(--accent);
}
.fi-3 {
  top: 35%;
  left: -20%;
  animation: float-fi 5.5s infinite ease-in-out 0.8s;
  color: var(--accent);
}
@keyframes float-main {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg) scale(1);
  }
  50% {
    transform: translateY(-20px) rotate(2deg) scale(1.01);
  }
}
@keyframes float-fi {
  0%,
  100% {
    transform: translate(0, 0) rotate(0);
  }
  50% {
    transform: translate(10px, -20px) rotate(5deg);
  }
}
@keyframes bg-pulse {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.2;
  }
  100% {
    transform: scale(1.2) translate(30px, -30px);
    opacity: 0.4;
  }
}
@keyframes rotate-ring {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse-glow {
  0% {
    transform: scale(1);
    opacity: 0.2;
  }
  100% {
    transform: scale(1.3);
    opacity: 0.5;
  }
}
.slider-btns {
  display: flex;
  gap: 15px;
  opacity: 0;
  transform: translateY(30px);
}
.click-fx {
  position: fixed;
  width: 10px;
  height: 10px;
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  animation: click-ripple 0.4s cubic-bezier(0, 0, 0.2, 1) forwards;
}
@keyframes click-ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    width: 60px;
    height: 60px;
    opacity: 0;
  }
}
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--white-fixed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  -webkit-box-shadow: 0 5px 15px var(--accent-alpha);
  box-shadow: 0 5px 15px var(--accent-alpha);
}
.back-to-top.active {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--accent-hover);
}
::selection {
  background: var(--accent);
  color: var(--text-primary);
}
.slider-item.active .slider-badge,
.slider-item.active .slider-title,
.slider-item.active .slider-desc,
.slider-item.active .slider-btns {
  opacity: 1;
  transform: translateY(0);
}
.slider-actions {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 20;
}
.slider-action-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  padding: 10px;
  background: var(--overlay-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  opacity: 0;
  visibility: hidden;
  align-items: center;
  justify-content: center;
}
.slider-action-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}
.slider-pagination {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  opacity: 0;
  visibility: hidden;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--white-5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.slider-pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: var(--white-25);
  cursor: pointer;
}
.slider-pagination-dot:hover {
  opacity: 0.8;
}
.slider-pagination-dot.active {
  width: 35px;
  background: var(--accent);
}
.main-slider {
  cursor: grab;
}
.main-slider:active {
  cursor: grabbing;
}
.main-slider:hover .slider-action-btn,
.main-slider:hover .slider-pagination {
  opacity: 1;
  visibility: visible;
}
section {
  padding: 60px 0;
}
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 85px auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  position: relative;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-dimmed);
  font-weight: 400;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}
.section-header::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -45px;
  height: 55px;
  width: 55px;
  border-radius: 15px;
  background: var(--section-card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  z-index: 1;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-header-icon {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  height: 55px;
  width: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--text-secondary);
}
.section-header-icon svg {
  width: 20px;
  height: 20px;
}
.section-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20px;
  height: 1px;
  width: 400px;
  background: linear-gradient(to right, transparent, var(--text-secondary), transparent);
  mask-image: linear-gradient(to right, #000 2px, transparent 2px);
  mask-size: 5px 100%;
  -webkit-mask-image: linear-gradient(to right, #000 2px, transparent 2px);
  -webkit-mask-size: 5px 100%;
  z-index: 0;
  opacity: 0.6;
  transform: translateX(-50%);
}
.products-section {
  background: var(--bg-primary);
  position: relative;
}
.home-market-cta {
  z-index: 5;
  position: relative;
  padding: 1.15rem 0 1rem;
  background: var(--bg-primary);
  border-bottom: 0;
}
.home-market-cta-inner {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.65rem);
  min-height: 0;
  padding: 0.85rem 1.4rem 0.85rem 0.7rem;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.12)), var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: visible;
}
.home-market-cta-art {
  flex-shrink: 0;
  width: clamp(80px, 13vw, 124px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -1.2rem 0;
  pointer-events: none;
}
.home-market-cta-art img {
  width: clamp(118px, 16vw, 158px);
  max-width: none;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.32));
  transform: translateY(1px);
}
.home-market-cta-copy {
  flex: 1;
  min-width: 0;
  padding: 0.18rem 0;
}
.home-market-cta-title {
  margin: 0 0 0.26rem;
  font-size: clamp(0.96rem, 1.35vw + 0.5rem, 1.2rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.32;
  letter-spacing: -0.01em;
}
.home-market-cta-lead {
  margin: 0;
  font-size: clamp(0.88rem, 0.85vw + 0.65rem, 1.02rem);
  line-height: 1.48;
  color: var(--text-secondary);
  opacity: 0.9;
}
.home-market-cta-action {
  flex-shrink: 0;
  padding-left: 0.45rem;
}
.home-market-cta .home-market-cta-btn.btn {
  height: 45px;
  min-height: 45px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.5rem;
}
.home-market-cta-btn i,
.home-market-cta-btn svg {
  width: 19px;
  height: 19px;
}
[data-theme="light"] .home-market-cta-inner {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.9));
  border-color: rgba(15, 23, 42, 0.09);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}
[data-theme="light"] .home-market-cta-art img {
  filter: drop-shadow(0 5px 12px rgba(15, 23, 42, 0.1));
}
.home-market-cta-showcase {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--white-5, rgba(255, 255, 255, 0.06));
}
.home-market-cta-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 18px;
}
.home-market-cta-grid .product-card {
  min-width: 0;
}
.home-market-cta-grid .product-card.product-card--market-v2 .pc-v2-info h3 {
  height: 40px;
  font-size: clamp(0.78rem, 0.28vw + 0.72rem, 0.86rem);
  font-weight: 760;
  line-height: 1.28;
  letter-spacing: -0.018em;
  word-break: normal;
  overflow-wrap: normal;
}
.home-market-cta-grid .product-card.product-card--market-v2 .pc-v2-price-row {
  height: 36px;
  min-height: 36px;
}
.home-market-cta-grid .product-card.product-card--market-v2 .price-details {
  justify-content: center;
}
.home-cta-card--hidden {
  display: none !important;
}
.home-market-cta-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
  padding-bottom: 0.15rem;
}
.home-market-cta-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}
.home-market-cta-more-btn i,
.home-market-cta-more-btn svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 1400px) {
  .home-market-cta-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 1100px) {
  .home-market-cta-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 820px) {
  .home-market-cta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px;
  }
}
@media (max-width: 560px) {
  .home-market-cta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }
}
.raffles-page-section {
  padding: calc(var(--site-header-offset) + 22px) 0 70px;
  background: var(--bg-primary);
}
.raffles-hero,
.raffles-filter-card {
  padding: 22px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}
.raffles-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.raffles-hero-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.raffles-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.1;
}
.raffles-hero p {
  margin: 6px 0 0;
  color: var(--text-secondary);
}
.raffles-hero-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.raffles-hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--glass-bg);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
}
.raffles-hero-stats strong {
  color: var(--text-primary);
}
.panel-raffles-header-stats {
  flex: 0 0 auto;
}
.raffles-filter-card {
  margin-bottom: 24px;
}
.raffles-search-wrap {
  margin-bottom: 14px;
}
.raffles-filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.raffle-filter-btn.active {
  background: var(--accent);
  color: var(--white-fixed);
}
.raffles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.raffle-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: 0 16px 40px var(--shadow-strong);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.raffle-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-color);
  box-shadow: 0 20px 44px var(--shadow-strong);
}
.raffle-card-cover {
  position: relative;
  aspect-ratio: 330 / 180;
  min-height: 0;
  overflow: hidden;
  background: var(--bg-secondary);
}
.raffle-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: auto;
}
.raffle-card-status {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.raffle-card-joined-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 7, 8, 0.72);
  color: var(--white-fixed);
  font-size: 0.72rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}
.raffle-card-joined-badge svg {
  width: 14px;
  height: 14px;
}
.raffle-card-status--completed {
  background: rgba(52, 211, 153, 0.22);
  color: var(--color-success);
}
.raffle-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
}
.raffle-card-body h2 {
  margin: 0 0 9px;
  font-size: clamp(0.82rem, 0.32vw + 0.74rem, 0.94rem);
  line-height: 1.3;
  min-height: 1.3em;
  font-weight: 750;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  letter-spacing: -0.018em;
}
.raffle-card-body p {
  min-height: 3.9em;
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.raffle-card-progress {
  margin-bottom: 14px;
}
.raffle-card-progress-head,
.raffle-admin-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 700;
}
.raffle-card-progress-head strong,
.raffle-admin-progress strong {
  color: var(--accent);
}
.raffle-card-progress-track,
.raffle-admin-progress-track {
  flex: 1 1 100%;
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--white-5);
}
.raffle-card-progress-track span,
.raffle-admin-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #ef4444);
}
.raffle-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.raffle-card-metrics.raffle-card-metrics--compact {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-self: stretch;
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}
.raffle-card-metrics div {
  min-width: 0;
  padding: 9px 8px;
  border-radius: 11px;
  border: 1px solid var(--border-color);
  background: var(--glass-bg);
}
.raffle-card-metrics.raffle-card-metrics--compact div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.raffle-card-metrics.raffle-card-metrics--compact div + div {
  border-left: 1px solid var(--border-color);
}
.raffle-card-metrics span {
  display: block;
  color: var(--text-dimmed);
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
  min-height: 2.3em;
}
.raffle-card-metrics.raffle-card-metrics--compact span {
  min-height: 0;
  font-size: 0.6rem;
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}
.raffle-card-metrics strong {
  display: block;
  margin-top: 5px;
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.raffle-card-metrics.raffle-card-metrics--compact strong {
  margin-top: 0;
  flex: 0 0 auto;
  min-width: 0;
  text-align: right;
  font-size: 0.86rem;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}
.raffle-progress-percent {
  color: var(--accent);
}
.raffle-buy-form {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: end;
}
.raffle-qty-control {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.raffle-qty-control label {
  color: var(--text-dimmed);
  font-size: 0.75rem;
  font-weight: 700;
}
.raffle-qty-control input {
  width: 100%;
  height: 38px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  text-align: center;
  font-weight: 850;
  appearance: textfield;
}
.raffle-qty-control input::-webkit-outer-spin-button,
.raffle-qty-control input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}
.raffle-stepper {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  overflow: hidden;
}
.raffle-stepper-btn {
  width: 34px;
  height: 40px;
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.raffle-stepper-btn:hover {
  background: rgba(220, 38, 38, 0.14);
  color: var(--white-fixed);
}
.raffle-total-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 750;
}
.raffle-total-preview strong {
  color: var(--accent);
}
.raffle-join-btn {
  grid-column: 1 / -1;
  margin-top: auto;
  align-self: end;
  width: 100%;
  min-height: 40px;
  white-space: nowrap;
  font-size: 0.82rem;
  padding-inline: 10px;
}
.raffle-join-form {
  margin-top: auto;
}
.raffle-join-form .raffle-join-btn {
  margin-top: 0;
}
.raffle-join-btn--winner {
  margin-top: auto;
  border-color: rgba(52, 211, 153, 0.42) !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.92)) !important;
  color: var(--white-fixed) !important;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.18);
  overflow: hidden;
}
.raffle-join-btn span,
.raffle-join-btn--winner span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.raffle-card-winners {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: var(--glass-bg);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 700;
}
.raffle-card-winners span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  line-height: 1.25;
}
.raffle-card-winners .raffle-winner-main {
  color: var(--color-success);
  border-color: rgba(52, 211, 153, 0.2);
  background: rgba(52, 211, 153, 0.08);
  font-size: 0.86rem;
  font-weight: 850;
}
.raffle-result-note {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 13px;
  border: 1px solid rgba(52, 211, 153, 0.2);
  background: rgba(52, 211, 153, 0.08);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 750;
}
.raffle-result-note svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  flex: 0 0 auto;
}
.raffle-admin-form,
.raffle-admin-item {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
}
.raffle-admin-form--new {
  margin-bottom: 18px;
}
.raffle-admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.raffle-admin-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.raffle-admin-file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-weight: 700;
  cursor: pointer;
}
.raffle-admin-file input {
  max-width: 230px;
}
.raffle-admin-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.raffle-admin-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
}
.raffle-admin-thumb {
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  min-height: 120px;
}
.raffle-admin-thumb img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  display: block;
}
.raffle-admin-progress {
  flex-wrap: wrap;
  margin: 8px 0 14px;
}
.raffle-admin-progress-track {
  margin-top: 0;
}
.raffle-admin-winners {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.raffle-admin-winners span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--glass-bg);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
}
.admin-raffle-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.admin-raffles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.admin-raffle-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}
.admin-raffle-cover,
.admin-raffle-detail-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
}
.admin-raffle-cover img,
.admin-raffle-detail-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.admin-raffle-body,
.admin-raffle-result-body {
  padding: 16px;
}
.admin-raffle-body h3,
.admin-raffle-result-body h3 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.2;
}
.admin-raffle-body p,
.admin-raffle-result-body p {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.admin-raffle-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}
.admin-raffle-mini-grid span {
  min-width: 0;
  padding: 9px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--glass-bg);
}
.admin-raffle-mini-grid small {
  display: block;
  color: var(--text-dimmed);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-raffle-mini-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--text-primary);
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-raffle-table-thumb {
  width: 54px;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
}
.admin-raffle-table-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.admin-raffle-table-progress {
  min-width: 150px;
}
.admin-raffle-table-progress > span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 750;
}
.admin-raffle-table-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
.admin-raffle-table-actions form {
  margin: 0;
  display: inline-flex;
}
.admin-raffle-table-actions .dash-btn-sm {
  min-width: 82px;
}
.raffle-admin-file--modal {
  width: 100%;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--glass-bg);
}
.admin-raffle-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
}
.admin-raffle-result-card,
.admin-raffle-winners-card {
  overflow: hidden;
}
.admin-winner-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}
.admin-winner-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--glass-bg);
}
.admin-winner-item--main {
  border-color: rgba(52, 211, 153, 0.24);
  background: rgba(52, 211, 153, 0.08);
}
.admin-winner-item > i,
.admin-winner-item > svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex: 0 0 auto;
}
.admin-winner-item--main > i,
.admin-winner-item--main > svg {
  color: var(--color-success);
}
.admin-winner-item span,
.admin-winner-item small {
  display: block;
  color: var(--text-dimmed);
  font-size: 0.76rem;
  font-weight: 750;
}
.admin-winner-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.2;
}
.admin-raffle-notice {
  margin: 0 16px 16px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(220, 38, 38, 0.16);
  background: rgba(220, 38, 38, 0.08);
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.45;
}
@media (max-width: 1100px) {
  .raffles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .raffle-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-raffle-stats,
  .admin-raffles-grid,
  .admin-raffle-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .raffles-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .panel-raffles-header-stats {
    width: 100%;
    justify-content: flex-start;
  }
  .raffles-grid,
  .raffle-admin-item {
    grid-template-columns: 1fr;
  }
  .raffle-admin-grid,
  .raffle-buy-form {
    grid-template-columns: 1fr;
  }
  .admin-raffle-stats,
  .admin-raffles-grid,
  .admin-raffle-detail-grid,
  .admin-raffle-mini-grid {
    grid-template-columns: 1fr;
  }
}
.dashboard-content--feature-page .panel-feature-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dashboard-content--feature-page .panel-feature-content--daily-deals {
  gap: 18px;
}
.dashboard-content--feature-page .raffles-hero,
.dashboard-content--feature-page .daily-deals-hero {
  margin-bottom: 0;
}
.dashboard-content--feature-page .daily-deals-countdown--panel {
  justify-content: center;
  max-width: 100%;
}
.dashboard-content--feature-page .raffles-filter-card {
  margin-bottom: 0;
}
.dashboard-content--feature-page .raffles-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dashboard-content--feature-page .daily-deals-market-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}
@media (max-width: 1200px) {
  .dashboard-content--feature-page .raffle-card-body h2 {
    font-size: clamp(0.76rem, 0.42vw + 0.66rem, 0.88rem);
    letter-spacing: -0.026em;
  }
  .dashboard-content--feature-page .raffles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-content--feature-page .daily-deals-market-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 720px) {
  .dashboard-content--feature-page .raffles-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-content--feature-page .daily-deals-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 480px) {
  .raffles-grid,
  .dashboard-content--feature-page .raffles-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-content--feature-page .daily-deals-market-grid {
    grid-template-columns: 1fr !important;
  }
}
/* --- Ana sayfa market kartı (v2 vitrin görünümü) --- */
#market .product-card.product-card--market-v2 {
  background:
    radial-gradient(180px 120px at 50% 0%, rgba(220, 38, 38, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    var(--bg-card) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24) !important;
}
[data-theme="light"] #market .product-card.product-card--market-v2 {
  background: var(--bg-card) !important;
  border-color: var(--border-color) !important;
  box-shadow: 0 12px 32px var(--shadow-medium) !important;
}
.product-card.product-card--market-v2 {
  border-radius: 18px;
  overflow: hidden;
}
.product-card.product-card--market-v2:hover {
  border-color: var(--border-color) !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34) !important;
}
.product-card.product-card--market-v2 .pc-v2-image {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 0;
  background: transparent;
}
.product-card.product-card--market-v2 .pc-v2-image img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
  transform: none;
}
.product-card.product-card--market-v2 .pc-v2-info {
  padding: 13px 13px 14px;
  background: var(--bg-card);
}
.product-card.product-card--market-v2 .pc-v2-info h3 {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.28;
  height: 42px;
  max-height: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-bottom: 10px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.product-card.product-card--market-v2 .pc-v2-price-row {
  margin-bottom: 10px;
  height: auto;
  min-height: 36px;
  padding: 7px 10px;
  align-items: center;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
}
.product-card.product-card--market-v2 .old-price {
  color: var(--text-dimmed);
  font-size: 0.63rem;
  font-weight: 650;
}
.product-card.product-card--market-v2 .pc-v2-price {
  color: var(--accent);
  font-size: clamp(0.88rem, 0.45vw + 0.72rem, 1.05rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-shadow: none;
}
.product-card.product-card--market-v2 .pc-v2-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-secondary) 65%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-success) 38%, transparent);
  font-size: 0.68rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--color-success) 88%, #fff);
  flex-shrink: 0;
}
.product-card.product-card--market-v2 .pc-v2-rating svg {
  width: 13px;
  height: 13px;
  color: var(--color-success);
}
.product-card.product-card--market-v2 .pc-v2-rating-count {
  font-weight: 500;
  color: var(--text-dimmed);
  font-size: 0.68rem;
}
.product-card.product-card--market-v2 .discount-badge {
  border-radius: 999px;
  height: 24px;
  padding: 0 7px;
  border: 1px solid color-mix(in srgb, var(--color-success) 38%, transparent);
  background: color-mix(in srgb, var(--color-success) 14%, transparent);
  color: var(--color-success);
}
.product-card.product-card--market-v2 .pc-v2-footer {
  margin-top: 4px;
  gap: 7px;
  align-items: stretch;
  flex-wrap: nowrap;
}
.product-card.product-card--market-v2 .pc-v2-basket {
  width: 36px;
  height: 36px;
  min-height: 36px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  flex-shrink: 0;
}
.product-card.product-card--market-v2 .pc-v2-basket svg {
  width: 18px;
  height: 18px;
}
.product-card.product-card--market-v2 .pc-v2-buy {
  flex: 0.92 1 auto;
  min-width: 0;
  height: 36px;
  min-height: 36px !important;
  padding: 0 10px !important;
  border-radius: 10px !important;
  font-size: 0.79rem !important;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.product-card.product-card--market-v2 .pc-v2-buy--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
[data-theme="light"] .product-card.product-card--market-v2 .pc-v2-info {
  background: var(--bg-card) !important;
}
[data-theme="light"] .product-card.product-card--market-v2 .pc-v2-info h3 {
  color: var(--text-primary);
}
.faq-section {
  background: var(--bg-primary);
  position: relative;
}
.contant-section {
  box-shadow: 0 0 20px 0px var(--shadow-dark);
  position: relative;
}
.products-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 50px;
}
.products-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 120px;
  align-self: flex-start;
  z-index: 10;
}
.sidebar-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}
.category-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cat-btn {
  display: flex;
  align-items: center;
  padding: 0;
  background: var(--bg-card);
  border: var(--ui-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  text-align: left;
  overflow: hidden;
}
.cat-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--glass-highlight);
  border-right: 1px dashed var(--white-10);
  flex-shrink: 0;
}
.cat-btn span {
  padding: 0 16px;
  flex: 1;
}
.cat-btn svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}
.cat-btn:hover {
  background: var(--glass-highlight);
  border-color: var(--white-10);
  color: var(--text-primary);
}
.cat-btn:hover .cat-icon-wrapper {
  background: var(--white-10);
}
.cat-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white-fixed);
  -webkit-box-shadow: 0 8px 20px var(--accent-alpha);
  box-shadow: 0 8px 20px var(--accent-alpha);
}
.cat-btn.active .cat-icon-wrapper {
  border-right-color: var(--white-10);
  background: var(--white-10);
}
.cat-btn.active svg {
  opacity: 1;
  transform: scale(1.1);
}
.products-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  position: relative;
  background: var(--bg-card);
  border: var(--ui-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  opacity: 1;
  transform: scale(1);
}
.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.discount-badge svg {
  width: 14px;
  height: 14px;
}
.product-info {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.2;
  height: 50px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}
.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 15px;
  height: 40px;
}
.price-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.old-price {
  font-size: 11px;
  color: var(--text-secondary);
  text-decoration: line-through;
  line-height: 1;
  margin-bottom: 2px;
}
.new-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.discount-badge {
  background: var(--color-success-bg);
  color: var(--color-success);
  padding: 0 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
  height: 100%;
}
.product-footer {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
/* Panel market: stok yok / kullanıldı — mat, parlak primary değil */
.product-footer .btn-store-cta-muted {
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
  background: var(--glass-bg);
  color: var(--text-secondary);
  border: 1px solid var(--border-soft);
  box-shadow: none;
  font-weight: 600;
}
.product-footer .btn-store-cta-locked {
  gap: 8px;
  background: rgba(18, 18, 20, 0.92);
  color: var(--text-dimmed);
  border-color: rgba(255, 255, 255, 0.06);
}
.product-footer .btn-store-cta-locked svg {
  width: 15px;
  height: 15px;
}
.product-footer .btn-store-cta-muted:hover {
  background: var(--glass-bg);
  color: var(--text-secondary);
  box-shadow: none;
}
[data-theme="light"] .product-footer .btn-store-cta-muted {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
  border-color: var(--border-color);
}
.orders-bundle-id-augment {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.slider-scroll-down {
  position: absolute;
  bottom: 75px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  color: var(--text-primary);
  font-size: 24px;
  animation: bounce 3s infinite;
  opacity: 0.5;
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}
.footer {
  background-color: var(--bg-secondary);
  background-image: var(--header-pattern-overlay), var(--header-pattern-image);
  background-repeat: repeat, repeat;
  background-position: center top, center top;
  background-size: auto, auto;
  position: relative;
  padding: 20px 0;
  -webkit-box-shadow: 0 0 20px 0px var(--shadow-dark);
  box-shadow: 0 0 20px 0px var(--shadow-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  padding: 60px 0px 40px 0px;
}
.footer-main {
  padding-right: 40px;
}
.footer-logo img {
  height: 50px;
  margin-bottom: 25px;
}
.footer-desc {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 1rem;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 45px;
  height: 45px;
  background: var(--bg-card);
  border: var(--ui-border);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}
.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white-fixed);
  -webkit-box-shadow: 0 8px 20px var(--accent-alpha);
  box-shadow: 0 8px 20px var(--accent-alpha);
}
.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: var(--white-65);
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-links a svg {
  width: 14px;
  height: 14px;
  opacity: 1;
  color: var(--text-secondary);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-links a:hover svg {
  color: var(--accent);
}
.footer-contact-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border-radius: 15px;
  border: 1px dashed var(--border-color);
  padding: 30px 40px;
  margin-bottom: 60px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}
.contact-icon {
  width: 55px;
  height: 55px;
  background: var(--bg-primary);
  border: var(--ui-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}
.contact-text span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.contact-text p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
}
.footer-bottom {
  padding: 30px 0;
  margin-bottom: 30px;
  border-bottom: 1px dashed var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.theme-toggle-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-alpha);
}
.theme-toggle-btn .theme-icon {
  width: 18px;
  height: 18px;
  position: absolute;
}
body.light-theme .theme-toggle-btn .dark-icon {
  opacity: 0;
  transform: translateY(20px) rotate(-90deg);
}
body.light-theme .theme-toggle-btn .light-icon {
  opacity: 1;
  transform: translateY(0) rotate(0);
}
body:not(.light-theme) .theme-toggle-btn .dark-icon {
  opacity: 1;
  transform: translateY(0) rotate(0);
}
body:not(.light-theme) .theme-toggle-btn .light-icon {
  opacity: 0;
  transform: translateY(-20px) rotate(90deg);
}
.footer-powered {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-powered p {
  color: var(--text-dimmed);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 3px;
  letter-spacing: 0.1px;
}
.footer-powered svg {
  color: var(--text-dimmed);
  fill: var(--text-dimmed);
  stroke-width: 0px;
  width: 15px;
  height: 15px;
}
.footer-powered a {
  color: var(--text-dimmed);
  font-weight: 500;
}
.footer-powered a:hover {
  color: var(--accent);
}
.copyright {
  color: var(--text-dimmed);
  font-size: 0.95rem;
}
.copyright strong {
  color: var(--text-primary);
}
.footer-bottom-links img {
  width: 100%;
  opacity: 0.6;
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}
.faq-grid {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.faq-item {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 10px 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: var(--ui-border-soft);
}
.faq-question {
  display: flex;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 1rem;
  letter-spacing: -0.5px;
  padding: 5px 0;
  justify-content: space-between;
  align-items: center;
}
.faq-item.faq-open .faq-question {
  font-weight: 600;
  color: var(--text-primary);
}
.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-dimmed);
  flex-shrink: 0;
  margin-left: 15px;
  transform: rotate(135deg);
}
.faq-item.faq-open .faq-question svg {
  transform: rotate(0deg);
  color: var(--text-primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--text-dimmed);
  line-height: 1.8;
  font-size: 0.95rem;
  opacity: 0;
  padding-top: 0;
  margin-top: 0;
  border-top: 1px dashed transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.faq-open .faq-answer {
  max-height: 1000px;
  padding-top: 20px;
  margin-top: 10px;
  border-top: 1px dashed var(--white-10);
  opacity: 1;
}
.faq-container-wrapper {
  position: relative;
}
.faq-wrapper-limited {
  position: relative;
  overflow: hidden;
  max-height: none;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75px;
  background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.3s ease;
  display: none;
}
.faq-item.hidden-faq {
  display: none !important;
}
.faq-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  position: relative;
  z-index: 10;
}
.products-show-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.footer-view-all a,
.footer-view-all svg {
  color: var(--accent) !important;
  font-weight: 500 !important;
}
.product-card.hidden-product {
  display: none !important;
}
.checkbox-container input {
  flex-shrink: 0;
}
.forgot-password,
.w-full {
  width: 100%;
}
.swal2-container {
  z-index: 9999;
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
}
.swal2-container.swal2-toast,
.tasks-toast-container{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: transparent !important;
}
.swal2-popup {
  background: var(--shadow-overlay) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  backdrop-filter: blur(25px) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 20px !important;
  color: var(--text-primary) !important;
  font-family: "Outfit", sans-serif !important;
}
.swal2-popup.swal2-toast{
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: rgba(0,0,0,0.86) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,0.45) !important;
}
.swal2-title {
  color: var(--text-primary) !important;
  font-weight: 700 !important;
}
.swal2-content,
.swal2-html-container {
  color: var(--text-secondary) !important;
}
.swal-pre {
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
}
.swal-section {
  margin-top: 12px;
}
.swal-sections {
  display: grid;
  gap: 12px;
}
.swal-section {
  margin-top: 0;
  background: var(--white-5);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 12px 14px;
}
.swal-section-title {
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.2px;
  opacity: 0.95;
}
.swal2-confirm.swal2-styled {
  background-color: var(--accent) !important;
  border-radius: 12px !important;
  padding: 12px 30px !important;
  font-weight: 600 !important;
}
.swal2-cancel.swal2-styled {
  background: var(--white-5) !important;
  color: var(--text-primary) !important;
  border-radius: 12px !important;
  padding: 12px 30px !important;
}
.swal2-deny.swal2-styled {
  background: var(--white-5) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  padding: 12px 30px !important;
  font-weight: 600 !important;
}
.swal2-icon.swal2-success {
  border-color: var(--color-success) !important;
}
.swal2-icon.swal2-success [class^="swal2-success-line"] {
  background-color: var(--color-success) !important;
}
.swal2-icon.swal2-success .swal2-success-ring {
  border: 0.25em solid rgba(40, 167, 69, 0.3) !important;
}
.swal2-icon.swal2-error {
  border-color: #ef4444 !important;
}
.swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
  background-color: #ef4444 !important;
}
body.auth-page-mode::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--auth-bg) !important;
  z-index: -1;
}
body.auth-page-mode {
  scrollbar-gutter: stable;
  overflow-x: clip;
}
.auth-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.auth-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}
.auth-card {
  width: 100%;
  background: var(--bg-card);
  border-radius: 24px;
  padding: 40px;
  border: 1px dashed var(--white-10);
  display: flex;
  flex-direction: column;
}
.auth-header {
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--auth-bg);
  position: relative;
  overflow: hidden;
}
.auth-footer {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}
.auth-footer a {
  font-size: 14px;
  font-weight: 500;
}
.auth-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.auth-container {
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 10px;
}
.auth-back-btn-global {
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
}
.auth-back-btn-global svg {
  width: 16px;
  height: 16px;
}
.auth-box {
  width: 100%;
  max-width: 700px;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: 24px;
  padding: 40px;
}
.auth-back-btn-global:hover {
  color: var(--accent);
}
.forgot-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}
.forgot-link:hover {
  color: var(--accent);
  text-decoration: underline;
}
.user-dropdown {
  position: relative;
  display: inline-block;
}
.header-user-badge {
  width: var(--header-account-badge-width, 255px);
}
.header-top-actions > .header-user-badge {
  flex: 1 1 auto;
  min-width: 0;
}
.user-info-badge {
  display: flex;
  min-width: 235px;
  height: 45px;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0 5px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.header-user-badge .user-info-badge {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.dflex-user {
  display: flex;
  gap: 10px;
}
.user-dropdown.active .user-info-badge {
  border-bottom: none;
  border-radius: 12px 12px 0 0;
}
.dropdown-balance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 5px;
}
.dropdown-balance-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dropdown-balance-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-alpha);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 5px 0px 15px 0px var(--accent-alpha);
}
.dropdown-balance-icon svg {
  width: 18px;
  height: 18px;
}
.dropdown-balance-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dropdown-balance-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-dimmed);
  font-weight: 600;
  margin-bottom: 2px;
}
.dropdown-balance-amount {
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.dropdown-balance-amount.dropdown-balance-unlimited {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2em;
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.15;
}
.dropdown-balance-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white-fixed);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px var(--shadow-accent);
}
.dropdown-balance-btn:hover {
  background: var(--accent-hover);
}
.dropdown-balance-btn svg {
  width: 16px;
  height: 16px;
}
.user-avatar,
.user-avatar-md,
.user-avatar-lg,
.user-avatar-large,
.review-avatar,
.ticket-avatar-box,
.ticket-message-row .ticket-avatar-box {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--white-5);
  border: 1px solid var(--border-soft);
}
.user-avatar img,
.user-avatar-md img,
.user-avatar-lg img,
.user-avatar-large img,
.review-avatar img,
.ticket-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}
.user-avatar {
  width: 32px;
  height: 32px;
}
.user-avatar-md {
  width: 40px;
  height: 40px;
}
.user-avatar-lg,
.user-avatar-large {
  width: 64px;
  height: 64px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 5px solid var(--glass-bg);
}
.review-avatar {
  width: 65px;
  height: 65px;
  border: 2px solid var(--white-10);
}
.ticket-avatar-box {
  width: 45px;
  height: 45px;
  border: 1px solid var(--border-color);
}
.ticket-avatar-box.support,
.ticket-message-row.support .ticket-avatar-box {
  background: var(--accent);
  color: var(--white-fixed);
  border-color: var(--accent);
}
.product-thumb {
  width: 55px;
  height: 55px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-5);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-thumb-empty svg {
  width: 16px;
  height: 16px;
  opacity: 0.35;
  color: var(--text-dimmed);
}
.user-profile {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 5px;
}
.user-profile-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.user-profile-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}
.user-profile-email {
  font-size: 11px;
  color: var(--text-dimmed);
}
.dropdown-arrow {
  width: 14px;
  height: 14px;
  color: var(--text-dimmed);
  transition: transform 0.3s ease;
}
.user-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: 255px;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: 0px 0px 12px 12px;
  padding: 2px;
  display: none;
  flex-direction: column;
  backdrop-filter: blur(20px);
  z-index: 1000;
  margin-top: -1px;
}
.header-user-badge .dropdown-menu {
  right: 0;
  width: 100%;
  min-width: 0;
  padding: 6px;
  box-sizing: border-box;
  gap: 2px;
}
.header-user-badge .dropdown-balance-card {
  margin: 0 0 4px;
}
.user-dropdown.active .dropdown-menu {
  display: flex;
  animation: dropdownFadeIn 0.3s ease forwards;
}
@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}
.dropdown-item svg {
  width: 18px;
  height: 18px;
}
.dropdown-item:hover {
  color: var(--text-primary);
}
.dropdown-item.logout-danger:hover {
  color: var(--accent);
}
.dropdown-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 2px 0;
}
.mobile-menu-user-badge {
  flex-direction: column;
  gap: 15px;
}
.mobile-menu-user-badge .user-info-badge {
  width: 100%;
  justify-content: space-between;
  padding: 6px;
  pointer-events: none;
}
.mobile-dropdown-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--white-5);
  border-radius: 14px;
  border: 1.5px solid var(--border-soft);
  font-weight: 600;
  font-size: 14px;
}
.mobile-dropdown-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.dashboard-section {
  width: 100%;
  padding-top: 20px;
  min-width: 0;
  box-sizing: border-box;
}
.dashboard-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  min-width: 0;
  width: 100%;
}
.dashboard-sidebar {
  flex: 0 1 280px;
  width: 280px;
  max-width: min(280px, 100%);
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-image: var(--sidebar-pattern-overlay), var(--sidebar-pattern-image);
  background-repeat: repeat, repeat;
  background-position: center top, center top;
  background-size: auto, auto;
  position: sticky;
  top: 20px;
  z-index: 10;
  /* Allow sidebar to scroll independently when tall */
  max-height: calc(100vh - 40px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
}
.dashboard-sidebar::-webkit-scrollbar{ width: 0; height: 0; } /* Chrome/Safari */
.dashboard-sidebar .mobile-nav-header {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
.dashboard-sidebar .user-profile-card,
.dashboard-sidebar .sidebar-balance-card {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.dashboard-sidebar .logo {
  width: 100%;
  background-color: var(--bg-card);
  background-image: var(--sidebar-pattern-overlay), var(--sidebar-pattern-image);
  background-repeat: repeat, repeat;
  background-position: center top, center top;
  background-size: auto, auto;
  border: var(--ui-border);
  border-radius: 16px;
  padding: 24px 48px;
}
.dashboard-sidebar .logo img {
  min-width: 100%;
}
.user-profile-card {
  background: var(--bg-card);
  border: var(--ui-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 10px 30px var(--shadow-soft);
}
.dashboard-sidebar .user-profile-card {
  background-color: var(--bg-card);
  background-image: var(--sidebar-pattern-overlay), var(--sidebar-pattern-image);
  background-repeat: repeat, repeat;
  background-position: center top, center top;
  background-size: auto, auto;
}
.user-profile-top {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}
.user-avatar-wrapper {
  position: relative;
  display: inline-block;
}
.edit-avatar-btn {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white-fixed);
  border: 2px solid var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 4px 10px var(--shadow-accent);
}
.edit-avatar-btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 16px var(--shadow-accent);
}
.edit-avatar-btn svg {
  width: 12px;
  height: 12px;
}
.delete-btn {
  background: var(--accent);
  color: var(--white-fixed);
}
.delete-btn:hover {
  background: var(--accent-hover);
}
.user-info {
  margin-bottom: 5px;
  width: 100%;
  min-width: 0;
}
.user-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-email {
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--text-dimmed) 78%, transparent);
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-rank-pill {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(148, 163, 184, 0.25);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.user-rank-pill svg {
  width: 15px;
  height: 15px;
}

.user-rank-pill.rank-member { background: rgba(148, 163, 184, 0.25); }
.user-rank-pill.rank-bronze { background: rgba(245, 158, 11, 0.25); }
.user-rank-pill.rank-silver { background: rgba(203, 213, 225, 0.22); }
.user-rank-pill.rank-gold { background: rgba(251, 191, 36, 0.22); }
.user-rank-pill.rank-platinum { background: rgba(167, 139, 250, 0.22); }
.user-rank-pill.rank-vip { background: rgba(220, 38, 38, 0.22); }

/* Mini "favicon" rank badge */
.rank-badge-wrap {
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Rank bar system */
.rank-bar {
  --rk1: #94a3b8;
  --rk2: #475569;
  --p: 0%;
  width: 100%;
  max-width: 320px;
  padding: 12px 12px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 14px 28px rgba(0,0,0,0.28);
  position: relative;
  overflow: hidden;
}

.rank-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 140% at 0% 0%, rgba(255,255,255,0.10), transparent 55%),
              linear-gradient(135deg, var(--rk1), var(--rk2));
  opacity: 0.22;
}

.rank-bar > * { position: relative; z-index: 1; }

.rank-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rank-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rank-bar-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: radial-gradient(90% 120% at 30% 18%, rgba(255,255,255,0.06), rgba(0,0,0,0.62) 75%);
  box-shadow:
    0 10px 18px rgba(0,0,0,0.28),
    inset 0 0 0 1px rgba(255,255,255,0.10);
}

.rank-bar-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 2px; /* ring thickness */
  background: linear-gradient(135deg, var(--rk1), var(--rk2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.95;
  pointer-events: none;
}

.rank-bar-icon svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

/* Image icon mode: no box/background/ring, just the image */
.rank-bar-icon--img {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  overflow: hidden !important;
}
.rank-bar-icon--img::before { display: none !important; }
.rank-bar-icon--img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Rank-specific animations (each rank different) */
.rank-bar-icon .rank-icon-art--vip .rank-icon-shine {
  transform: translateX(-90px);
  opacity: 0;
  animation: rkIconShine 2.6s ease-in-out infinite;
}
.rank-bar-icon .rank-icon-art--vip .rank-icon-sparkle { animation: rkIconTwinkle 2.4s ease-in-out infinite; }
.rank-bar-icon .rank-icon-art--vip .rank-icon-sparkle--a { animation-delay: 0.15s; }
.rank-bar-icon .rank-icon-art--vip .rank-icon-sparkle--b { animation-delay: 1.05s; }

.rank-bar-icon .rank-icon-art--gold .rank-icon-emblem--gold {
  transform-origin: 32px 34px;
  animation: rkIconBob 1.8s ease-in-out infinite;
}

.rank-bar-icon .rank-icon-art--platinum .rank-icon-emblem--platinum {
  transform-origin: 32px 32px;
  animation: rkIconTilt 2.2s ease-in-out infinite;
}
.rank-bar-icon .rank-icon-art--platinum .rank-icon-sparkle { animation: rkIconTwinkle 2.0s ease-in-out infinite; }
.rank-bar-icon .rank-icon-art--platinum .rank-icon-sparkle--a { animation-delay: 0.25s; }
.rank-bar-icon .rank-icon-art--platinum .rank-icon-sparkle--b { animation-delay: 0.95s; }

.rank-bar-icon .rank-icon-art--silver .rank-icon-emblem--silver {
  transform-origin: 32px 32px;
  animation: rkIconRotate 7.0s linear infinite;
}

.rank-bar-icon .rank-icon-art--bronze .rank-icon-emblem--bronze {
  transform-origin: 32px 40px;
  animation: rkIconFlicker 1.25s ease-in-out infinite;
}
.rank-bar-icon .rank-icon-art--bronze .rank-icon-ember { animation: rkIconEmber 2.1s ease-in-out infinite; }
.rank-bar-icon .rank-icon-art--bronze .rank-icon-ember--a { animation-delay: 0.0s; }
.rank-bar-icon .rank-icon-art--bronze .rank-icon-ember--b { animation-delay: 0.55s; }
.rank-bar-icon .rank-icon-art--bronze .rank-icon-ember--c { animation-delay: 1.05s; }

.rank-bar-icon .rank-icon-art--member .rank-icon-shine {
  transform: translateX(-90px);
  opacity: 0;
  animation: rkIconScan 3.4s ease-in-out infinite;
}

@keyframes rkIconShine {
  0%   { transform: translateX(-90px); opacity: 0; }
  18%  { opacity: 0.35; }
  45%  { transform: translateX(90px); opacity: 0; }
  100% { transform: translateX(90px); opacity: 0; }
}
@keyframes rkIconTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.85); }
  35% { opacity: 0.95; transform: scale(1.0); }
  60% { opacity: 0.15; transform: scale(0.9); }
}
@keyframes rkIconEmber {
  0%, 100% { opacity: 0; transform: translateY(2px) scale(0.85); }
  45% { opacity: 0.85; transform: translateY(-1px) scale(1.0); }
  75% { opacity: 0.05; transform: translateY(-4px) scale(0.95); }
}
@keyframes rkIconFlicker {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(-0.7px) scaleY(1.03); }
}
@keyframes rkIconRotate {
  to { transform: rotate(360deg); }
}

@keyframes rkIconBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.3px); }
}
@keyframes rkIconTilt {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}
@keyframes rkIconScan {
  0% { transform: translateX(-90px); opacity: 0; }
  20% { opacity: 0.32; }
  45% { transform: translateX(90px); opacity: 0; }
  100% { transform: translateX(90px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .rank-bar-icon .rank-icon-shine,
  .rank-bar-icon .rank-icon-sparkle,
  .rank-bar-icon .rank-icon-ember,
  .rank-bar-icon .rank-icon-emblem--bronze,
  .rank-bar-icon .rank-icon-emblem--silver,
  .rank-bar-icon .rank-icon-emblem--gold,
  .rank-bar-icon .rank-icon-emblem--platinum {
    animation: none !important;
  }
}

.rank-bar-titles { min-width: 0; }
.rank-bar-title {
  font-weight: 950;
  letter-spacing: 0.4px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
}
.rank-bar-sub {
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--text-dimmed);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-bar-chip {
  font-weight: 950;
  font-size: 0.78rem;
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.40);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.2px;
}

.rank-bar-track {
  margin-top: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
  position: relative;
}
.rank-bar-fill {
  height: 100%;
  width: var(--p);
  background: linear-gradient(90deg, var(--rk1), var(--rk2));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10) inset, 0 10px 18px rgba(0,0,0,0.22);
}

.rank-bar-track-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 2px rgba(0,0,0,0.55);
  -webkit-text-stroke: 0.4px rgba(0,0,0,0.35);
  pointer-events: none;
  mix-blend-mode: normal;
}

.rank-bar-scale {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-dimmed);
  font-weight: 900;
  letter-spacing: 0.2px;
}

.rank-bar-scale-left,
.rank-bar-scale-right {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 48%;
}

.rank-bar-scale-right {
  color: rgba(255,255,255,0.72);
}

.sidebar-rank-bar {
  margin-top: 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.sidebar-rank-bar .rank-bar { max-width: none; width: 100%; }

/* Sidebar'da strip rank bar alt metnini göster (tek satır, kesilmeden) */
.sidebar-rank-bar .rank-bar--strip { cursor: pointer; }
/* Sidebar: chip kaldırıldığı için sağ blok konumlandırmaya gerek yok */
.sidebar-rank-bar .rank-bar--strip .rank-bar-left {
  gap: 8px;
}
.sidebar-rank-bar .rank-bar--strip .rank-bar-top { gap: 8px; }
.sidebar-rank-bar .rank-bar--strip .rank-bar-sub {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  line-height: 1.15;
  letter-spacing: 0;
  font-size: clamp(0.68rem, 1.9vw, 0.82rem);
}
.sidebar-rank-bar .rank-bar--strip .rank-bar-chip {
  padding: 6px 8px;
  border-radius: 11px;
  font-size: 0.74rem;
}

.rank-bar--strip {
  padding: 10px 12px 10px;
  border-radius: 16px;
  box-shadow: 0 12px 22px rgba(0,0,0,0.22);
}
.rank-bar--strip .rank-bar-sub { display: none; }
.rank-bar--strip .rank-bar-scale { display: none; }
.rank-bar--strip .rank-bar-track { margin-top: 9px; height: 9px; }
.rank-bar--strip .rank-bar-icon { width: 38px; height: 38px; border-radius: 999px; }
.rank-bar--strip .rank-bar-icon svg { width: 100%; height: 100%; }
.rank-bar--strip .rank-bar-title { font-size: 0.9rem; }
.rank-bar--strip .rank-bar-chip { padding: 6px 9px; border-radius: 11px; }

/* Sidebar: bar içi % yazısı kesilmesin */
.sidebar-rank-bar .rank-bar--strip .rank-bar-track { height: 14px; }
.sidebar-rank-bar .rank-bar-track-label { font-size: 0.70rem; }

/* Rank bar triggers */
.rank-bar-trigger {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: block;
}
.rank-bar-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 16px;
}

/* Rank details modal */
.rank-help-dialog.tasks-help-dialog{
  max-height: min(88vh, 900px);
}
.rank-help-dialog .tasks-help-title{
  font-size: 1.28rem;
}
.rank-help-intro{
  margin: 0 auto 16px;
  max-width: 38em;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
  white-space: normal;
}
.rank-help-intro strong{
  color: var(--text-primary);
  font-weight: 900;
}
.rank-help-acc-list{
  text-align: left;
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rank-help-acc{
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  overflow: hidden;
}
[data-theme="light"] .rank-help-acc{
  background: var(--bg-secondary);
  border-color: var(--border-color);
}
.rank-help-acc-summary{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 900;
  font-size: 1rem;
  color: var(--text-primary);
}
.rank-help-acc-summary::-webkit-details-marker{ display: none; }
.rank-help-acc-icon{
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
}
.rank-help-acc-icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.rank-help-acc-icon svg{
  width: 24px;
  height: 24px;
  stroke-width: 2.1px;
  color: var(--accent);
}
.rank-help-acc-titles{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rank-help-acc-name{
  font-size: 1.05rem;
  letter-spacing: -0.2px;
  line-height: 1.25;
}
.rank-help-acc-pill{
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.3;
  color: rgba(245, 158, 11, 0.95);
}
.rank-help-acc-chev{
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.rank-help-acc-chev svg{
  width: 20px;
  height: 20px;
}
.rank-help-acc[open] .rank-help-acc-chev{
  transform: rotate(180deg);
}
.rank-help-acc-body{
  padding: 2px 14px 14px 68px;
  border-top: 1px solid var(--border-color);
}
.rank-help-acc-p{
  margin: 12px 0 0;
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--text-secondary);
}
.rank-help-acc-p strong{
  color: var(--text-primary);
  font-weight: 900;
}
.rank-help-acc-p--ex{
  color: var(--text-secondary);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.58;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.22);
}
[data-theme="light"] .rank-help-acc-p--ex{
  background: rgba(245, 158, 11, 0.1);
}
@media (max-width: 520px) {
  .rank-help-acc-body{
    padding-left: 14px;
    padding-right: 12px;
    padding-bottom: 14px;
  }
  .rank-help-intro{
    font-size: 0.92rem;
  }
  .rank-help-acc-name{
    font-size: 1rem;
  }
  .rank-help-acc-p{
    font-size: 0.9rem;
  }
  .rank-help-acc-pill{
    font-size: 0.84rem;
  }
}

body.rank-help-open{
  overflow: hidden;
}

.rank-details-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.rank-kpi {
  flex: 1 1 auto;
  min-width: 140px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.03);
}
.rank-kpi-title {
  font-size: 0.78rem;
  color: var(--text-dimmed);
  font-weight: 800;
  letter-spacing: 0.2px;
}
.rank-kpi-value {
  margin-top: 2px;
  font-weight: 950;
  color: rgba(255,255,255,0.95);
}
.rank-details-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rank-details-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rank-details-item .rank-bar {
  max-width: none;
  width: 100%;
}

/* Modal içinde strip bar'da alt metin görünsün */
.rank-details-item .rank-bar--strip .rank-bar-sub { display: block; }
.rank-details-item .rank-bar--strip .rank-bar-scale { display: none; }

.rank-details-item.is-current .rank-bar {
  border-color: var(--rk1a, rgba(255,255,255,0.18));
  outline: 2px solid var(--rk1a, rgba(255,255,255,0.22));
  outline-offset: 3px;
  box-shadow:
    0 14px 28px rgba(0,0,0,0.28),
    0 0 0 3px var(--rk1a, rgba(255,255,255,0.22)),
    0 0 40px var(--rk1a, rgba(255,255,255,0.18)),
    0 0 70px var(--rk2a, rgba(255,255,255,0.12));
  transform: translateY(0);
  will-change: transform, box-shadow;
  animation: rank-current-pulse 1.9s ease-in-out infinite;
}
.rank-details-item.is-current .rank-bar::before { opacity: 0.26; }
.rank-details-item.is-reached .rank-bar { opacity: 0.95; }

@keyframes rank-current-pulse {
  0%, 100% {
    transform: translateY(0) scale(1.0);
    box-shadow:
      0 14px 28px rgba(0,0,0,0.28),
      0 0 0 3px var(--rk1a, rgba(255,255,255,0.22)),
      0 0 36px var(--rk1a, rgba(255,255,255,0.18)),
      0 0 62px var(--rk2a, rgba(255,255,255,0.12));
  }
  50% {
    transform: translateY(-2px) scale(1.01);
    box-shadow:
      0 22px 40px rgba(0,0,0,0.34),
      0 0 0 3px var(--rk1a, rgba(255,255,255,0.22)),
      0 0 50px var(--rk1a, rgba(255,255,255,0.22)),
      0 0 88px var(--rk2a, rgba(255,255,255,0.14));
  }
}

@media (prefers-reduced-motion: reduce) {
  .rank-details-item.is-current .rank-bar { animation: none; }
}

.profile-rank-bar {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
}

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

.rank-preview-item {
  display: flex;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.user-details-list {
  width: 100%;
  border-top: 1px dashed var(--border-color);
  padding-top: 20px;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.user-detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}
.user-detail-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dimmed);
}
.user-detail-label svg {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
}
.user-detail-value {
  font-weight: 600;
  color: var(--text-primary);
}
.profile-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.action-cart-btn {
  position: relative;
}
.action-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dash-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  background-color: var(--bg-card);
  background-image: var(--sidebar-pattern-overlay), var(--sidebar-pattern-image);
  background-repeat: repeat, repeat;
  background-position: center top, center top;
  background-size: auto, auto;
  border: var(--ui-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  text-align: left;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}
.dash-nav-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--glass-highlight);
  border-right: 1px dashed var(--white-10);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.dash-nav-item span {
  padding: 0 16px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-nav-item svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition: all 0.3s ease;
}
.dash-nav-item:hover {
  background: var(--glass-highlight);
  border-color: var(--white-10);
  color: var(--text-primary);
}
.dash-nav-item:hover .dash-nav-icon-wrapper {
  background: var(--white-10);
}
.dash-nav-item.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white-fixed);
  box-shadow: 0 8px 20px var(--accent-alpha);
}
.dash-nav-item.active .dash-nav-icon-wrapper {
  border-right-color: var(--white-10);
  background: var(--white-10);
}
.dash-nav-item.active svg {
  opacity: 1;
  transform: scale(1.1);
  color: var(--white-fixed);
}
.dash-nav-item.text-danger {
  color: #ef4444;
}
.dash-nav-item.text-danger .dash-nav-icon-wrapper {
  background: rgba(239, 68, 68, 0.05);
  border-right-color: rgba(239, 68, 68, 0.2);
}
.dash-nav-item.text-danger svg {
  color: #ef4444;
}
.dash-nav-item.text-danger:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}
.dash-nav-item.text-danger:hover .dash-nav-icon-wrapper {
  background: rgba(239, 68, 68, 0.2);
}
.dashboard-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 0;
}
.dashboard-header {
  display: flex;
  gap: 15px;
}
.sidebar-balance-card {
  background-color: var(--bg-card);
  background-image: var(--sidebar-pattern-overlay), var(--sidebar-pattern-image);
  background-repeat: repeat, repeat;
  background-position: center top, center top;
  background-size: auto, auto;
  border: var(--ui-border);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px var(--shadow-soft);
}
.sidebar-balance-left {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.sidebar-balance-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-alpha);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 5px 0px 20px 0px var(--accent-alpha);
}
.sidebar-balance-icon svg {
  width: 22px;
  height: 22px;
}
.sidebar-balance-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  align-items: flex-start;
}
.sidebar-balance-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: color-mix(in srgb, var(--text-dimmed) 86%, transparent);
  font-weight: 850;
  margin-bottom: 4px;
  line-height: 1;
}
.sidebar-balance-amount.sidebar-balance-unlimited {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}
.sidebar-balance-amount {
  font-weight: 900;
  max-width: 154px;
  color: var(--text-primary);
  font-size: 1.08rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.sidebar-balance-unlimited-label {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 1em;
  color: inherit;
}
.sidebar-balance-unlimited-currency {
  font-weight: 600;
  font-size: 1.05em;
  letter-spacing: 0.02em;
  color: inherit;
  opacity: 1;
}
.sidebar-balance-btn {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--white-fixed);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px var(--shadow-accent);
}
.sidebar-balance-btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 16px var(--shadow-accent);
}
.sidebar-balance-btn svg {
  width: 22px;
  height: 22px;
}
.sidebar-feature-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.sidebar-feature-link {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 38px;
  padding: 8px 9px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  overflow: hidden;
  text-decoration: none;
  color: var(--white-fixed);
  text-align: left;
  box-shadow: none;
  transition: transform 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}
.sidebar-feature-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--sidebar-feature-angle),
    transparent 0 50%,
    rgba(220, 38, 38, 0.22) 60%,
    rgba(220, 38, 38, 0.78) 70%,
    #ff2f2f 77%,
    rgba(255, 255, 255, 0.92) 80%,
    #ff2f2f 83%,
    transparent 94% 100%
  );
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.72));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: sidebarFeatureTrace 2.35s linear infinite;
}
.sidebar-feature-link:hover {
  color: var(--white-fixed);
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.10);
  filter: brightness(1.04);
}
@property --sidebar-feature-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes sidebarFeatureTrace {
  to {
    --sidebar-feature-angle: 360deg;
  }
}
.sidebar-feature-link--raffles {
  background: transparent;
}
.sidebar-feature-link--assistant {
  background: transparent;
}
.sidebar-feature-link--deals {
  background: transparent;
}
.sidebar-feature-link--deals::after {
  animation-direction: reverse;
}
.sidebar-feature-ico {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--white-fixed);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.sidebar-feature-ico svg {
  width: 14px;
  height: 14px;
}
.sidebar-feature-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.sidebar-feature-copy strong {
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-feature-copy small {
  display: none;
}
.sidebar-feature-arrow {
  display: none;
}
.tr-assistant-shell {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 0%, rgba(220, 38, 38, 0.12), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(59, 130, 246, 0.10), transparent 34%),
    var(--bg-card);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}
.tr-assistant-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}
.tr-assistant-topbar-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white-fixed);
  background: linear-gradient(135deg, #dc2626, #7f1d1d);
  box-shadow: 0 12px 34px rgba(220, 38, 38, 0.22);
}
.tr-assistant-topbar-icon svg {
  width: 19px;
  height: 19px;
}
.tr-assistant-topbar strong {
  display: block;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 800;
}
.tr-assistant-topbar span {
  display: block;
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 13px;
}
.tr-assistant-chat {
  flex: 1;
  min-height: 420px;
  max-height: 58vh;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tr-assistant-message {
  display: flex;
  gap: 12px;
  max-width: min(860px, 94%);
}
.tr-assistant-message--user {
  align-self: flex-end;
  justify-content: flex-end;
}
.tr-assistant-message--bot {
  align-self: flex-start;
}
.tr-assistant-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.tr-assistant-avatar svg {
  width: 18px;
  height: 18px;
}
.tr-assistant-bubble {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}
.tr-assistant-message--user .tr-assistant-bubble {
  background: linear-gradient(135deg, var(--accent), #b91c1c);
  color: var(--white-fixed);
  border-color: var(--accent);
  border-bottom-right-radius: 8px;
}
.tr-assistant-bubble > strong,
.tr-assistant-name {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.tr-assistant-message--user .tr-assistant-bubble strong {
  color: var(--white-fixed);
}
.tr-assistant-bubble p {
  margin: 0;
}
.tr-assistant-section-title {
  margin: 14px 0 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.01em;
}
.tr-assistant-name + .tr-assistant-section-title {
  margin-top: 2px;
}
.tr-assistant-bubble p + p,
.tr-assistant-step + p,
.tr-assistant-point + p,
.tr-assistant-section-title + p,
.tr-assistant-step + .tr-assistant-section-title,
.tr-assistant-point + .tr-assistant-section-title,
.tr-assistant-bubble p + .tr-assistant-step,
.tr-assistant-bubble p + .tr-assistant-point {
  margin-top: 9px;
}
.tr-assistant-bubble p strong {
  display: inline;
  margin: 0;
  color: var(--text-primary);
  font-size: inherit;
}
.tr-assistant-inline-code {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
  font-size: 0.95em;
}
.tr-assistant-step,
.tr-assistant-point {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin-top: 8px;
  padding: 7px 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}
.tr-assistant-step span,
.tr-assistant-point span {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 800;
}
.tr-assistant-point span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}
.tr-assistant-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 24px 18px;
}
.tr-assistant-suggestions button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.tr-assistant-suggestions button:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-1px);
}
.tr-assistant-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 18px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.16);
}
.tr-assistant-input {
  min-height: 54px;
}
.tr-assistant-input textarea {
  min-height: 54px;
  resize: none;
  padding-top: 18px;
}
.tr-assistant-send {
  align-self: stretch;
  min-width: 120px;
  height: auto;
}
@media (max-width: 720px) {
  .tr-assistant-shell {
    min-height: 560px;
  }
  .tr-assistant-form {
    grid-template-columns: 1fr;
  }
  .tr-assistant-send {
    min-height: 44px;
  }
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--bg-card);
  border: var(--ui-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 10px 30px var(--shadow-soft);
}
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 5px 0 20px rgba(0, 0, 0, 0.08);
}
.stat-icon.b-purple {
  background: linear-gradient(135deg, #a855f7, #c084fc);
  color: #fff;
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.35);
}
.stat-icon.b-blue {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: #fff;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
}
.stat-icon.b-green {
  background: linear-gradient(135deg, #22c55e, #4ade80);
  color: #fff;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.35);
}
.stat-icon.b-orange {
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #fff;
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.35);
}
.stat-icon.b-yellow {
  background: linear-gradient(135deg, #facc15, #fde047);
  color: #fff;
  box-shadow: 0 8px 25px rgba(250, 204, 21, 0.35);
}
.stat-icon.b-cyan {
  background: linear-gradient(135deg, #06b6d4, #22d3ee);
  color: #fff;
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.35);
}
.stat-icon.b-red {
  background: linear-gradient(135deg, #ef4444, #f87171);
  color: #fff;
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.35);
}
.stat-icon.b-pink {
  background: linear-gradient(135deg, #ec4899, #f472b6);
  color: #fff;
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.35);
}
.stat-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-dimmed);
  font-weight: 500;
}
.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.ads-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.ads-grid--dashboard-band {
  margin-bottom: 18px;
}
.dash-dashboard-split + .ads-grid--dashboard-band {
  margin-top: 18px;
  margin-bottom: 18px;
}
.ads-item {
  position: relative;
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
  padding: 0;
  margin: 0;
}
.ads-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0;
}
.ads-item:hover .ads-close-btn {
  opacity: 1;
}
.ads-close-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}
.ads-close-btn svg {
  width: 12px;
  height: 12px;
}
.ads-link {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}
.ads-link img,
.ads-link iframe {
  width: 100%;
  height: 108px;
  display: block;
  border: none;
  padding: 0;
  margin: 0;
  object-fit: cover;
}
@media (max-width: 768px) {
  .ads-link img,
  .ads-link iframe {
    height: 100px;
  }
  .ads-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
}
.dash-card {
  height: fit-content;
  background: var(--bg-card);
  border: var(--ui-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-soft);
}
.dash-split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}
.dash-dashboard-split > .dash-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.dash-dashboard-split > .dash-card .table-responsive,
.dash-dashboard-split > .dash-card .announcements-list-wrapper {
  flex: 1;
}
.dash-dashboard-split > .dash-card .announcements-list-wrapper {
  padding: 20px 24px;
}
.dash-dashboard-split > .dash-card:last-child {
  overflow: visible;
}
.dash-dashboard-split .announcements-list-wrapper--compact .announcements-container {
  max-height: none;
  overflow-y: visible;
}
.dash-card--dashboard-recent-orders {
  margin-bottom: 18px;
}
.dash-card-header {
  padding: 20px 24px;
  border-bottom: 1px dashed var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dash-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}
.card-header-actions {
  display: flex;
  gap: 10px;
}
.dash-btn-sm {
  height: 36px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.btn-square.dash-btn-sm {
  width: 36px !important;
  padding: 0 !important;
}
.dash-card-body {
  padding: 25px;
}
.check-padding {
  padding: 25px;
}
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.dash-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}
.dash-table th {
  background: var(--glass-bg);
  padding: 16px 24px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dimmed);
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}
.dash-table td {
  padding: 10px 15px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-secondary);
  vertical-align: middle;
  text-align: center;
}
.dash-table tbody tr:last-child td {
  border-bottom: none;
}
.dash-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid transparent;
}
.badge-success {
  background: var(--color-success-bg);
  color: var(--color-success);
  border-color: rgba(52, 211, 153, 0.15);
}
.badge-success-soft,
.badge-replied,
.badge-info {
  background: rgba(34, 197, 94, 0.1) !important;
  color: rgb(34, 197, 94) !important;
  border-color: rgba(34, 197, 94, 0.2) !important;
}
.badge-complete {
  background: var(--color-info-bg);
  color: var(--color-info);
  border-color: rgba(96, 165, 250, 0.15);
}
.badge-pending,
.badge-warning {
  background: var(--color-warning-bg);
  color: var(--color-warning);
  border-color: rgba(251, 191, 36, 0.15);
}
.badge-warning-soft {
  background: rgba(234, 179, 8, 0.1);
  color: rgb(234, 179, 8);
}
.badge-danger,
.badge-cancelled {
  background: var(--color-danger-bg);
  color: var(--color-danger);
  border-color: rgba(248, 113, 113, 0.15);
}
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.custom-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.custom-modal-content {
  background: var(--bg-card);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  /* scale() + transform on ancestors breaks native <select> popup width/position on many mobile browsers */
  min-width: 0;
  transform: translateY(16px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
.custom-modal-overlay.active .custom-modal-content {
  transform: none;
}
.custom-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  position: sticky;
  top: 0;
  z-index: 10;
}
.custom-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.custom-modal-header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}
.rank-details-help-btn {
  background: transparent;
  border: none;
  color: var(--accent);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.rank-details-help-btn:hover {
  background: var(--accent-alpha);
  color: var(--accent-strong);
}
.rank-details-help-btn svg {
  width: 22px;
  height: 22px;
}
.close-modal-btn {
  background: transparent;
  border: none;
  color: var(--text-dimmed);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.close-modal-btn:hover {
  background: var(--white-5);
  color: var(--text-primary);
  transform: rotate(90deg);
}
.close-modal-btn svg {
  width: 20px;
  height: 20px;
}
.custom-modal-body {
  padding: 24px;
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 0;
}

/* Yeni destek talebi (ve benzeri modallar): yerel select listesi taşmasın — flex min-width + blok akış */
#new-ticket-modal .input-wrapper {
  display: block;
  min-width: 0;
  width: 100%;
}
#new-ticket-modal .input-wrapper select {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 15px;
}
.avatar-option {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  border: 4px solid transparent;
  overflow: hidden;
}
.avatar-option img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}
.avatar-option:hover {
  border-color: var(--accent-soft);
}
.avatar-option:hover img {
  transform: scale(1.2);
}
.avatar-option.active {
  border-color: var(--accent);
  box-shadow: 0 5px 15px var(--shadow-accent);
}
.avatar-option.active img {
  transform: scale(1.25);
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dimmed);
}
.input-icon svg {
  width: 18px;
  height: 18px;
}
.form-input {
  width: 100%;
  padding: 14px 15px 14px 45px;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: inherit;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--color-info-bg);
  background: var(--bg-card);
}
.form-input::placeholder {
  color: var(--text-dimmed);
}
textarea.form-input {
  resize: vertical;
  min-height: 120px;
  max-height: 300px;
  line-height: 1.5;
}
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%239ca3af%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 15px top 50%;
  background-size: 16px auto;
  padding-right: 40px;
  cursor: pointer;
}
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.custom-checkbox input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--bg-body);
  display: grid;
  place-content: center;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.custom-checkbox input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0);
  background-color: #fff;
  transition: transform 0.2s ease-in-out;
}
.custom-checkbox input[type="checkbox"]:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}
.custom-checkbox input[type="checkbox"]:checked::before {
  transform: scale(1);
}
.custom-checkbox .checkbox-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.dash-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 25px;
  gap: 15px;
}
.dash-page-header-right {
  flex: 1;
  max-width: 400px;
}
@media (max-width: 768px) {
  .dash-page-header-right {
    max-width: 100%;
  }
}
.dash-page-header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.page-header-icon {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.page-header-icon svg {
  color: var(--text-primary);
  width: 35px;
  height: 35px;
}
.dash-page-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-page-header h2 .breadcrumb-icon {
  color: var(--text-dimmed);
  width: 20px;
  height: 20px;
}
.dash-page-header h2 .breadcrumb-link {
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.dash-page-header h2 .breadcrumb-link:hover {
  color: var(--text-primary);
}
.dash-page-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}
.dash-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.dash-product-grid .product-card {
  margin-bottom: 0;
}
.dash-container {
  padding: 0 clamp(12px, 3vw, 20px);
  max-width: 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.dash-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px 20px 24px;
  flex-wrap: wrap;
  gap: 15px;
}
.dash-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-search-box .input-wrapper {
  width: 280px;
  flex: none;
}
.dash-search-box .input-wrapper input {
  padding-left: 50px;
}
.dash-list-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 15px;
}
.dash-list-info {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.store-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  position: relative;
}
.store-filters::-webkit-scrollbar {
  display: none;
}
.store-filters:active {
  cursor: grabbing;
}
.store-filters::-webkit-scrollbar {
  height: 6px;
}
.store-filters::-webkit-scrollbar-track {
  background: var(--bg-card);
  border-radius: 10px;
}
.store-filters::-webkit-scrollbar-thumb {
  background: var(--white-10);
  border-radius: 10px;
}
.store-filters::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
.store-filters-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  transition: all 0.3s ease;
}
.store-filters-container::before,
.store-filters-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 8px;
  width: 40px;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.store-filters-container::before {
  left: -1px;
  background: linear-gradient(to right, var(--bg-primary) 20%, transparent);
}
.store-filters-container::after {
  right: -1px;
  background: linear-gradient(to left, var(--bg-primary) 20%, transparent);
}
.store-filters-container.can-scroll-left::before {
  opacity: 1;
}
.store-filters-container.can-scroll-right::after {
  opacity: 1;
}
.store-filter-group {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.store-subs-wrapper {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  margin-top: 5px;
  min-height: 0;
  height: 0;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}
.store-filters-container.has-subs .store-subs-wrapper {
  height: 50px;
  min-height: 50px;
  opacity: 1;
  visibility: visible;
}
.store-filter-subs {
  display: none;
  gap: 8px;
  padding: 5px 0;
  z-index: 52;
  white-space: nowrap;
  animation: fadeIn 0.3s ease;
  align-items: center;
}
.store-filter-subs.active {
  display: flex;
}
.sub-filter-icon {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  background: none !important;
  border: none !important;
}
.sub-filter-icon svg {
  width: 14px !important;
  height: 14px !important;
}
.sub-btn {
  padding: 6px 14px !important;
  font-size: 0.85rem !important;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.store-filter-subs::-webkit-scrollbar {
  display: none;
}
.sub-btn {
  height: 28px !important;
  font-size: 10.5px !important;
  border-radius: 8px !important;
  background: var(--bg-secondary) !important;
  border: 1px dashed var(--border-color) !important;
  padding: 0 9px !important;
}
.sub-btn:hover {
  border-color: var(--accent) !important;
  background: var(--accent-alpha) !important;
}
.sub-btn.active {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--white-fixed) !important;
}
.store-filter-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: var(--bg-card);
  border: var(--ui-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.store-filter-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--glass-highlight);
  border-right: 1px dashed var(--white-10);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.store-filter-btn span {
  padding: 0 12px;
}
.store-filter-btn i,
.store-filter-btn svg {
  width: 15px;
  height: 15px;
  opacity: 0.7;
  transition: all 0.3s ease;
}
.store-filter-btn:hover {
  background: var(--glass-highlight);
  color: var(--text-primary);
  border-color: var(--white-10);
}
.store-filter-btn:hover .store-filter-icon {
  background: var(--white-10);
}
.store-filter-btn.active {
  background: var(--accent);
  color: var(--white-fixed);
  border-color: var(--accent);
  -webkit-box-shadow: 0 8px 20px var(--accent-alpha);
  box-shadow: 0 8px 20px var(--accent-alpha);
}
.store-filter-btn.active .store-filter-icon {
  background: var(--white-10);
  border-right: 1px dashed var(--white-10);
}
.store-filter-btn.active i,
.store-filter-btn.active svg {
  opacity: 1;
  transform: scale(1.1);
}
.store-products-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.product-card {
  cursor: pointer;
}
.store-products-grid .product-card {
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%), var(--bg-card);
  box-shadow: 0 14px 30px var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.store-products-grid .product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 1;
}
.store-products-grid .product-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-color);
  box-shadow: 0 18px 40px var(--shadow-medium);
}
.store-products-grid .product-card:active {
  transform: translateY(-1px);
}
.store-products-grid .product-image {
  aspect-ratio: 1 / 1;
  border-bottom: 0;
  background: transparent;
}
.store-products-grid .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  transition: none;
  will-change: auto;
}
.store-products-grid .product-card:hover .product-image img {
  transform: none;
}
/* Vitrin market-v2: grid genelindeki object-fit:contain + hover scale bu kartlarda kare kırpımı bozuyordu */
.store-products-grid .product-card.product-card--market-v2 .pc-v2-image {
  aspect-ratio: 1 / 1;
}
.store-products-grid .product-card.product-card--market-v2 .pc-v2-image img {
  object-fit: cover;
  object-position: center;
}
.store-products-grid .product-card.product-card--market-v2:hover .pc-v2-image img {
  transform: none;
}
.store-products-grid .product-info {
  padding: 16px;
}
.store-products-grid .product-info h3 {
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.2px;
  height: 44px;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  margin-bottom: 12px;
}
.store-products-grid .new-price {
  letter-spacing: -0.2px;
}
.store-products-grid .discount-badge {
  border: 1px solid color-mix(in srgb, var(--color-success) 32%, transparent);
}
#store-products-grid > .product-card:not(.product-card--market-v2) {
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(180px 120px at 50% 0%, rgba(220, 38, 38, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    var(--bg-card);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}
#store-products-grid > .product-card:not(.product-card--market-v2)::after {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
#store-products-grid > .product-card:not(.product-card--market-v2):hover {
  transform: translateY(-5px);
  border-color: var(--border-color);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}
#store-products-grid > .product-card:not(.product-card--market-v2) .product-image {
  aspect-ratio: 1 / 1;
  background: transparent;
}
#store-products-grid > .product-card:not(.product-card--market-v2) .product-image img {
  padding: 0;
  object-fit: cover;
}
#store-products-grid > .product-card:not(.product-card--market-v2):hover .product-image img {
  transform: none;
}
.panel-market-badges {
  position: absolute;
  inset: 10px 10px auto;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.panel-market-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  max-width: 100%;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 8, 9, 0.78);
  color: var(--white-fixed);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}
.panel-market-badge--free,
.panel-market-badge--popular {
  border-color: rgba(220, 38, 38, 0.34);
  background: rgba(127, 29, 29, 0.72);
}
#store-products-grid > .product-card:not(.product-card--market-v2) .product-info {
  padding: 13px 13px 14px;
  gap: 10px;
}
#store-products-grid > .product-card:not(.product-card--market-v2) .product-info h3 {
  height: 42px;
  margin: 0;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.01em;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
#store-products-grid > .product-card:not(.product-card--market-v2) .product-price-row {
  position: relative;
  min-height: 34px;
  height: 36px;
  margin: 0;
  padding: 5px 58px 5px 10px;
  align-items: center;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
}
#store-products-grid > .product-card:not(.product-card--market-v2) .price-details {
  min-width: 0;
  position: relative;
  height: 100%;
  justify-content: center;
}
#store-products-grid > .product-card:not(.product-card--market-v2) .old-price {
  position: absolute;
  top: -4px;
  left: 0;
  color: var(--text-dimmed);
  font-size: 0.63rem;
  font-weight: 650;
  margin: 0;
}
#store-products-grid > .product-card:not(.product-card--market-v2) .new-price {
  color: var(--accent);
  font-size: clamp(0.88rem, 0.45vw + 0.72rem, 1.05rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-shadow: none;
}
#store-products-grid > .product-card:not(.product-card--market-v2) .discount-badge {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  height: 24px;
  padding: 0 7px;
  border: 1px solid color-mix(in srgb, var(--color-success) 38%, transparent);
  background: color-mix(in srgb, var(--color-success) 14%, transparent);
  color: var(--color-success);
}
#store-products-grid > .product-card:not(.product-card--market-v2) .product-footer {
  gap: 7px;
}
#store-products-grid > .product-card:not(.product-card--market-v2) .product-footer .btn {
  height: 36px;
  min-height: 36px;
  border-radius: 10px;
  font-size: 0.79rem;
  font-weight: 800;
  padding-top: 0;
  padding-bottom: 0;
}
#store-products-grid > .product-card:not(.product-card--market-v2) .product-footer .btn-primary {
  flex: 0.92 1 auto;
}
#store-products-grid > .product-card:not(.product-card--market-v2) .store-buy-btn {
  width: 36px;
  height: 36px;
  min-height: 36px;
  flex: 0 0 36px;
  padding: 0;
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.08);
}
#store-products-grid > .product-card:not(.product-card--market-v2) .store-buy-btn svg {
  width: 18px;
  height: 18px;
}
#store-products-grid > .product-card:not(.product-card--market-v2) .store-buy-btn:hover {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.26);
}
.market-product-card {
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(180px 120px at 50% 0%, rgba(220, 38, 38, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    var(--bg-card);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}
.market-product-card:hover {
  border-color: var(--border-color) !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34) !important;
}
.market-product-card .product-image {
  aspect-ratio: 1 / 0.94;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 68%),
    #050505;
}
.market-product-card .product-image img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: cover;
  object-position: center;
}
.market-product-card:hover .product-image img {
  transform: scale(1.045);
}
#store-products-grid > .market-product-card .product-image {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.11), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    #101012;
}
#store-products-grid > .market-product-card .product-image img {
  padding: 10px;
  object-fit: contain;
}
#store-products-grid > .market-product-card:hover .product-image img {
  transform: scale(1.025);
}
.market-product-card .product-info {
  padding: 13px 13px 14px;
  gap: 10px;
}
.market-product-card .product-info h3 {
  height: 42px;
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.01em;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.market-product-card .product-price-row {
  position: relative;
  min-height: 34px;
  height: 36px;
  margin: 0 0 10px;
  padding: 5px 58px 5px 10px;
  align-items: center;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
}
.market-product-card .price-details {
  position: relative;
  height: 100%;
  justify-content: center;
}
.market-product-card .old-price {
  position: absolute;
  top: -4px;
  left: 0;
  color: var(--text-dimmed);
  font-size: 0.63rem;
  font-weight: 650;
  margin: 0;
}
.market-product-card .new-price {
  color: var(--accent);
  font-size: clamp(0.88rem, 0.45vw + 0.72rem, 1.05rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-shadow: none;
}
.market-product-card .discount-badge {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  height: 24px;
  padding: 0 7px;
  border: 1px solid color-mix(in srgb, var(--color-success) 38%, transparent);
  background: color-mix(in srgb, var(--color-success) 14%, transparent);
  color: var(--color-success);
}
.market-product-card .product-footer {
  gap: 7px;
  margin-top: auto;
}
.market-product-card .product-footer .btn,
.market-product-card .pc-v2-buy {
  height: 36px;
  min-height: 36px !important;
  border-radius: 10px !important;
  font-size: 0.79rem !important;
  font-weight: 800;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.market-product-card .product-footer .btn-primary,
.market-product-card .pc-v2-buy {
  flex: 0.92 1 auto;
}
.market-product-card .store-buy-btn,
.market-product-card .pc-v2-basket {
  width: 36px;
  height: 36px;
  min-height: 36px !important;
  flex: 0 0 36px;
  padding: 0 !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.08);
}
.market-product-card .store-buy-btn svg,
.market-product-card .pc-v2-basket svg {
  width: 18px;
  height: 18px;
}
.market-product-card .store-buy-btn:hover {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.26);
}
.store-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.store-load-more-wrap[hidden] {
  display: none !important;
}
.product-details-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  column-gap: clamp(14px, 2.8vw, 28px);
  row-gap: clamp(10px, 1.5vw, 18px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.product-gallery-col {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  min-height: 0;
}
.product-info-col {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(10px, 1.6vw, 20px);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
}
@media (max-width: 1024px) {
  .product-details-wrapper {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: clamp(12px, 2vw, 22px);
  }
}
@media (max-width: 420px) {
  .product-details-wrapper .product-meta-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.product-main-image {
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 30px var(--shadow-medium);
  flex: 0 0 auto;
  box-sizing: border-box;
}
.product-main-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  z-index: 1;
}
.product-image-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  border-radius: 16px;
  overflow: hidden;
}
.product-image-slider .slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.product-image-slider .slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.product-image-slider .slider-item.active {
  opacity: 1;
  z-index: 2;
}
.product-image-slider .slider-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
}
.product-image-slider:hover .slider-action-btn,
.product-image-slider:hover .slider-pagination {
  opacity: 1;
  visibility: visible;
}
.product-image-slider .slider-actions {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  z-index: 10;
  pointer-events: none;
}
.product-image-slider .slider-action-btn {
  pointer-events: auto;
}
.product-details-wrapper > .product-tabs-section {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}
.product-details-wrapper .product-header-info h1 {
  font-size: clamp(1.05rem, 1.1vw + 0.82rem, 2rem);
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
  min-width: 0;
}
.product-details-wrapper .product-short-desc {
  font-size: clamp(0.82rem, 0.45vw + 0.72rem, 1rem);
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  min-width: 0;
  max-height: min(9.6rem, 34vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.product-details-wrapper .product-short-desc p {
  margin: 0 0 0.45em;
}
.product-details-wrapper .product-short-desc p:last-child {
  margin-bottom: 0;
}
.product-details-wrapper .product-header-info {
  gap: clamp(7px, 1vw, 11px);
  min-width: 0;
  align-self: start;
  margin-bottom: 0;
}
.product-details-wrapper .product-title-row {
  margin-bottom: 0;
}
.product-details-wrapper .product-info-col {
  gap: 0;
  border-radius: 16px;
  overflow-x: visible;
  overflow-y: visible;
  background: var(--bg-card);
  box-shadow: 0 10px 30px var(--shadow-medium);
  align-self: stretch;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  box-sizing: border-box;
}
.product-details-wrapper .product-main-card {
  --pd-price-line-gap: clamp(12px, 1.7vw, 20px);
  padding: clamp(14px, 2.2vw, 28px);
  row-gap: var(--pd-price-line-gap);
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  box-sizing: border-box;
}
.product-details-wrapper .product-purchase-panel {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 18px);
  margin-top: 0;
  padding-top: var(--pd-price-line-gap);
  border-top: 1px solid var(--white-10);
  align-self: end;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.product-details-wrapper .pps-current-price {
  font-size: clamp(1.25rem, 2vw + 0.75rem, 2rem);
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.product-details-wrapper .pps-old-price {
  font-size: clamp(0.82rem, 0.5vw + 0.7rem, 1rem);
}
.product-details-wrapper .product-meta-label {
  font-size: clamp(0.58rem, 0.25vw + 0.52rem, 0.7rem);
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.product-details-wrapper .product-meta-value {
  font-size: clamp(0.78rem, 0.38vw + 0.7rem, 0.95rem);
  font-weight: 700;
  line-height: 1.35;
}
.product-details-wrapper .product-meta-grid {
  margin-top: 0;
  margin-bottom: 0;
  align-self: end;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  align-items: stretch;
}
.product-details-wrapper .product-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: clamp(64px, 8vw, 82px);
  padding: 10px 12px;
  border-radius: 10px;
  box-sizing: border-box;
  background-color: var(--white-5);
}
.product-details-wrapper .product-meta-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  flex-shrink: 0;
  align-self: center;
  background: var(--white-10);
  box-shadow: inset 0 0 0 1px var(--white-5);
}
.product-details-wrapper .product-meta-icon svg {
  width: 20px;
  height: 20px;
}
.product-details-wrapper .product-meta-details {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}
.product-details-wrapper .pps-top-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(8px, 1.2vw, 12px);
  width: 100%;
  min-width: 0;
}
.product-details-wrapper .pps-price-cluster {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 0 1 auto;
  align-items: flex-start;
}
.product-details-wrapper .pps-price-and-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.product-details-wrapper .pps-price-and-badge .pps-current-price {
  flex: 0 1 auto;
  min-width: 0;
}
.product-details-wrapper .pps-discount-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
  min-height: clamp(34px, 3.8vw, 42px);
  padding: clamp(5px, 0.85vw, 9px) clamp(8px, 1.3vw, 12px);
  font-size: clamp(0.7rem, 0.32vw + 0.62rem, 0.8rem);
  font-weight: 700;
  border-radius: 10px;
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px dashed var(--color-success-border);
}
.product-details-wrapper .pps-discount-slot svg {
  width: clamp(14px, 1.5vw, 17px);
  height: clamp(14px, 1.5vw, 17px);
  flex-shrink: 0;
}
.product-details-wrapper .pps-actions {
  --pps-action-h: 48px;
  --pps-action-radius: 12px;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: clamp(8px, 1.2vw, 14px);
  row-gap: 10px;
}
.product-details-wrapper .pps-actions .btn {
  border-radius: var(--pps-action-radius);
}
.product-details-wrapper .pps-actions .product-qty-wrapper {
  flex: 0 0 auto;
  max-width: 132px;
  min-height: var(--pps-action-h);
  height: var(--pps-action-h);
  box-sizing: border-box;
  align-self: center;
  border-radius: var(--pps-action-radius);
}
.product-details-wrapper .pps-actions .product-qty-btn svg {
  width: 18px;
  height: 18px;
}
.product-details-wrapper .pps-actions .product-buy-btn[data-type="basket"] {
  flex: 0 0 auto;
  width: var(--pps-action-h);
  min-width: var(--pps-action-h);
  min-height: var(--pps-action-h);
  height: var(--pps-action-h);
  padding: 0;
  box-sizing: border-box;
  align-self: center;
}
.product-details-wrapper .pps-actions .product-buy-btn--stretch {
  flex: 1 1 140px;
  min-width: 0;
  width: auto !important;
  min-height: var(--pps-action-h);
  height: var(--pps-action-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  padding-left: 14px;
  padding-right: 14px;
}
.product-details-wrapper .qty-limit-info {
  white-space: normal;
  text-align: left;
}
.product-details-wrapper .qty-limit-info-row {
  justify-content: flex-start;
}
.product-details-wrapper .product-tabs-body {
  padding: clamp(14px, 2.5vw, 32px);
  overflow-x: visible;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.product-details-wrapper .product-tabs-header {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  overflow-x: visible;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.018);
}
.product-details-wrapper .product-tab-content h3 {
  font-size: clamp(1.05rem, 0.9vw + 0.75rem, 1.4rem);
}
.product-details-wrapper .product-tabs-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
}
.product-details-wrapper .product-tab-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  min-width: 0;
}
.product-details-wrapper .product-tab-btn i,
.product-details-wrapper .product-tab-btn svg {
  width: 15px;
  height: 15px;
}
.product-details-wrapper .product-tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white-fixed);
}
.product-details-wrapper .product-tabs-header .product-assistant-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding-left: 14px;
  padding-right: 14px;
  white-space: nowrap;
  text-decoration: none;
}
.product-details-wrapper .product-tabs-header .product-assistant-btn i,
.product-details-wrapper .product-tabs-header .product-assistant-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .product-details-wrapper .product-tabs-header {
    align-items: stretch;
    flex-direction: column;
  }
  .product-details-wrapper .product-tabs-nav {
    width: 100%;
    overflow-x: auto;
  }
  .product-details-wrapper .product-tab-btn {
    flex: 1 0 auto;
  }
  .product-details-wrapper .product-tabs-header .product-assistant-btn {
    width: 100%;
    justify-content: center;
  }
}
.product-details-wrapper .product-description-content,
.product-details-wrapper .product-usage-content {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.product-details-wrapper .product-description-content img,
.product-details-wrapper .product-usage-content img {
  max-width: 100%;
  height: auto;
}
.product-main-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  box-shadow: 0 8px 30px var(--shadow-medium);
  flex: 0 0 auto;
}
.product-header-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-title-row {
  display: block;
  margin-bottom: 12px;
}
.product-header-info h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.product-short-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0;
}
.product-badge-stock {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px dashed var(--color-success-border);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: max-content;
}
.product-badge-stock.out-of-stock {
  background: var(--accent-alpha);
  color: var(--accent);
  border-color: var(--shadow-accent);
}
.product-badge-stock svg {
  width: 16px;
  height: 16px;
}
.product-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.product-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--white-5);
  padding: 10px 12px;
  border-radius: 10px;
}
.product-meta-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-5);
  border-radius: 8px;
  color: var(--text-primary);
  flex-shrink: 0;
}
.product-meta-icon svg {
  width: 22px;
  height: 22px;
}
.product-meta-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-meta-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1px;
}
.product-meta-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-word;
}
.product-price-section {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 8px 30px var(--shadow-medium);
  flex: 0 0 auto;
}
.product-action-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.product-action-top {
  display: flex;
  gap: 10px;
}
.badges-row {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}
.pps-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pps-price-left {
  display: flex;
  flex-direction: column;
}
.pps-old-price {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: line-through;
  opacity: 0.65;
}
.pps-current-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.pps-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--accent-alpha);
  color: var(--accent);
  border: 1px dashed var(--accent);
  border-radius: 10px;
  padding: 8px 14px;
  flex: 0 1 auto;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.pps-badge svg,
.pps-stock svg {
  width: 15px;
  height: 15px;
}
.pps-stock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  padding: 8px 14px;
  flex: 0 1 auto;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px dashed var(--border-color);
  transition: all 0.3s ease;
}
.pps-stock.is-in-stock {
  background: var(--color-success-bg);
  color: var(--color-success);
  border-color: var(--color-success-border);
}
.pps-stock.is-out-of-stock {
  background: var(--accent-alpha);
  color: var(--accent);
  border-color: var(--accent-soft);
}
.pps-progress-bar {
  height: 5px;
  background: var(--white-5);
  border-radius: 99px;
  overflow: hidden;
}
.pps-progress-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.6s ease;
}
.pps-progress-fill.safe {
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success-shadow);
}
.pps-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-qty-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--white-10);
  border-radius: 12px;
  padding: 4px;
  justify-content: space-between;
}
.qty-limit-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-limit-info {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--text-primary);
  margin: 0;
  padding: 0;
}
.qty-limit-info svg {
  margin-bottom: 1px;
  width: 18px;
  height: 18px;
  opacity: 0.7;
}
.product-qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-primary);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.product-qty-btn:hover {
  background: var(--white-10);
}
.product-qty-btn svg {
  width: 16px;
  height: 16px;
}
.product-qty-input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 10px;
  -moz-appearance: textfield;
  appearance: textfield;
  -webkit-appearance: textfield;
}
.product-qty-input::-webkit-outer-spin-button,
.product-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product-tabs-section {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
}
.product-tabs-header {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px dashed var(--border-color);
  scrollbar-width: none;
}
.product-tabs-header::-webkit-scrollbar {
  display: none;
}
.product-tab-btn {
  flex: 1;
  min-width: max-content;
  padding: 20px 24px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.product-tab-btn:hover {
  color: var(--text-primary);
  background: var(--white-5);
}
.product-tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.product-tabs-body {
  padding: 32px;
}
.product-tab-content {
  display: none;
  animation: tabFadeIn 0.4s ease forwards;
}
.product-tab-content.active {
  display: block;
}
@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.product-tab-content h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-weight: 600;
}
.purchase-confirm-premium {
  text-align: left;
  padding: 10px 5px;
}
.pc-product-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}
.pc-image img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--bg-secondary);
}
.pc-details .pc-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dimmed);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}
.pc-details .pc-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.pc-details .pc-short-desc {
  font-size: 0.8rem;
  color: var(--text-dimmed);
  margin-top: 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
  background: var(--bg-card);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}
.pc-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.pc-spec-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.pc-secure-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  color: var(--color-success);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 8px;
  width: fit-content;
  border: 1px solid var(--border-color);
}
.pc-stats-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.pc-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.pc-stat:not(:last-child) {
  border-bottom: 1px dashed var(--border-color);
}
.pc-stat.pc-total-row {
  background: var(--accent-alpha);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--accent);
}
.pc-total-left {
  display: flex;
  flex-direction: column;
}
.pc-total-left .pc-sub-label {
  font-size: 0.7rem;
  color: var(--text-dimmed);
}
.pc-stat .pc-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.pc-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.pc-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.pc-info-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.purchase-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.purchase-modal.active {
  display: flex;
}
.pm-container {
  background: var(--bg-secondary);
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: pm-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pm-slide-up {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.pm-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}
.pm-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}
.pm-close {
  background: var(--bg-card);
  border: none;
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.pm-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.pm-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}
.pm-product-preview {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}
.pm-img-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}
.pm-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pm-product-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--text-primary);
}
.pm-short-desc {
  font-size: 0.85rem;
  color: var(--text-dimmed);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pm-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.pm-new-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}
.pm-old-price {
  font-size: 0.9rem;
  color: var(--text-dimmed);
  text-decoration: line-through;
}
.pm-discount-badge {
  background: var(--accent-alpha);
  color: var(--accent);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}
.pm-specs-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 24px;
}
.pm-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pm-spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.pm-spec-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.pm-qty-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}
.pm-qty-label {
  font-weight: 600;
  color: var(--text-primary);
}
.pm-qty-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pm-qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.pm-qty-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.pm-qty-input {
  width: 50px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
}
.pm-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
}
.pm-summary-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pm-summary-label {
  font-size: 0.85rem;
  color: var(--text-dimmed);
}
.pm-total-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}
.pm-footer {
  padding: 24px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pm-balance-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.pm-balance-val {
  font-weight: 600;
}
.pm-confirm-btn {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.pm-confirm-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.pc-stat .pc-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.pc-stat .pc-val.highlight {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 800;
}
.pc-balance-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--bg-card);
  border-radius: 10px;
  font-size: 0.85rem;
}
.pc-balance-info .pc-label {
  color: var(--text-dimmed);
}
.pc-balance-info .pc-val {
  font-weight: 700;
}
.text-success {
  color: var(--color-success);
}
.text-warning {
  color: var(--color-warning);
}
.text-danger {
  color: var(--color-danger);
}
.text-info {
  color: var(--color-info);
}
.tr-type-clean {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9rem;
}
.tr-type-clean i,
.tr-type-clean svg {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}
.product-tab-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1rem;
}
.product-tab-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-tab-content ul li {
  position: relative;
  padding-left: 28px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.product-tab-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-alpha);
}
.product-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.product-review-item {
  background: var(--glass-bg);
  border: 1px dashed var(--border-color);
  border-radius: 12px;
  padding: 24px;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 16px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.author-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.05rem;
}
.review-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.review-rating {
  display: flex;
  gap: 2px;
  color: var(--color-star);
}
.review-rating svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--color-star);
}
.review-content {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}
.reviews-empty-state {
  text-align: center;
  padding: 40px 20px;
}
.reviews-empty-state i,
.reviews-empty-state svg {
  width: 48px;
  height: 48px;
  color: var(--text-dimmed);
  margin-bottom: 16px;
  opacity: 0.5;
}
.reviews-empty-state h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-weight: 600;
}
.reviews-empty-state p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}
.product-faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.product-faq-item:hover {
  border-color: var(--white-25);
}
.product-faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  user-select: none;
}
.product-faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}
.product-faq-item.active {
  background: var(--white-5);
  border-color: var(--border-color);
}
.product-faq-item.active .product-faq-question svg {
  transform: rotate(180deg);
  color: var(--accent);
}
.product-faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  line-height: 1.6;
}
.product-faq-item.active .product-faq-answer {
  padding-bottom: 20px;
  max-height: 200px;
}
.ticket-detail-header {
  justify-content: space-between;
}
.ticket-badge-spaced {
  margin-top: 5px;
  display: inline-block;
}
.ticket-detail-body {
  padding: 24px;
  background: var(--bg-body);
}
.ticket-message-row {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}
.ticket-message-row.support {
  flex-direction: row-reverse;
}
.ticket-message-content.support {
  background: var(--accent-alpha);
  border-color: var(--accent);
}
.ticket-message-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ticket-message-header.support {
  flex-direction: row-reverse;
}
.ticket-message-author {
  color: var(--text-primary);
}
.ticket-message-time {
  font-size: 0.8rem;
  color: var(--text-dimmed);
}
.ticket-message-text {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.ticket-detail-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
}
.ticket-form-group {
  margin-bottom: 15px;
}
.ticket-submit-row {
  display: flex;
  justify-content: flex-end;
}
.ticket-closed-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: var(--white-5);
  border-radius: 12px;
  border: 1px dashed var(--border-color);
  color: var(--text-dimmed);
  font-weight: 500;
  text-align: center;
}
.ticket-closed-alert svg {
  width: 20px;
  height: 20px;
  color: var(--text-dimmed);
  flex-shrink: 0;
}
.tickets-new-btn {
  white-space: nowrap;
}
.tickets-card-header {
  padding-bottom: 20px;
}
.tickets-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tickets-card-icon {
  color: var(--accent);
}
.tickets-card-title {
  margin: 0;
}
.dash-split-grid.order-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 360px);
  gap: 22px;
}
.order-items-col,
.order-info-col {
  min-width: 0;
}
.order-top-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.order-detail-body {
  padding: 0;
}
.order-status-body {
  padding: 24px;
}
.order-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.order-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}
.order-detail-item:last-child {
  border-bottom: none;
}
.order-detail-label {
  color: var(--text-secondary);
  font-weight: 500;
}
.order-detail-val {
  color: var(--text-primary);
  font-weight: 600;
}
.order-detail-val.highlight {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}
.order-detail-full {
  padding: 20px 24px;
}
.order-note-label {
  color: var(--text-secondary);
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}
.order-note-box {
  color: var(--text-primary);
  background: var(--glass-bg);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  line-height: 1.6;
}
.order-status-banner {
  padding: 18px 16px;
  text-align: center;
  background: var(--glass-bg-accent);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.order-status-banner > * {
  position: relative;
  z-index: 1;
}
.bank-selection-grid,
.crypto-selection-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
  margin-top: 20px;
}
.bank-select-card,
.crypto-select-card {
  background: var(--white-fixed);
  border: 1px dashed var(--border-color);
  border-radius: 16px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.bank-select-card:hover::before,
.crypto-select-card:hover::before {
  opacity: 1;
}
.bank-select-card.selected,
.crypto-select-card.selected {
  border: 1px dashed var(--accent);
}
.bank-select-card.selected::before,
.crypto-select-card.selected::before {
  opacity: 1;
}
.bank-select-card.selected img,
.crypto-select-card.selected img {
  filter: grayscale(0);
}
.hide {
  display: none !important;
}
.funds-step {
  transition: all 0.3s ease;
  display: none;
}
.funds-step.active {
  display: block;
  animation: slideLeft 0.3s ease forwards;
}
.bank-select-item,
.crypto-select-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.bank-select-logo,
.crypto-select-logo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  z-index: 1;
}
.bank-select-logo img,
.crypto-select-logo img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: all 0.4s ease;
}
.bank-select-name,
.crypto-select-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 8px;
  text-align: center;
}
.bank-select-card:hover .bank-select-logo img,
.crypto-select-card:hover .crypto-select-logo img {
  filter: grayscale(0);
  opacity: 1;
}
.selected-bank-details {
  animation: fadeIn 0.4s ease;
}
.btn-change-bank {
  background: var(--accent-alpha);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  transition: all 0.2s;
}
.btn-change-bank:hover {
  background: var(--accent);
  color: #fff;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.confirmation-bank-card {
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: 20px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.confirmation-info-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 15px;
  margin: 10px 0;
}
.havale-bank-logo {
  width: 90px;
  min-width: 90px;
  height: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px dashed var(--border-color);
  border-radius: 12px;
  padding: 12px;
  flex-shrink: 0;
}
.havale-bank-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.info-item {
  flex: 1;
  min-width: 0;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: var(--white-5);
  padding: 15px;
  border-radius: 12px;
  border: 1px dashed var(--border-soft);
}
.info-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dimmed);
  letter-spacing: 0.5px;
}
.info-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}
.info-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.bank-iban-minimal {
  font-size: 1rem;
  color: var(--text-primary);
  letter-spacing: 0.2px;
}
.btn-copy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
}
.btn-copy-icon svg {
  color: var(--text-secondary);
  width: 24px;
  height: 24px;
  transition: color 0.2s;
}
.btn-copy-icon:hover svg {
  color: var(--accent);
}
.payment-notice-minimal {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  background: var(--accent-alpha);
  color: var(--accent);
  border: 1px dashed var(--accent);
  border-radius: 10px;
  padding: 10px 15px;
  font-size: 0.9rem;
  font-weight: 400;
  white-space: normal;
  transition: all 0.3s ease;
  line-height: 1.4;
}
.payment-notice-minimal i,
.payment-notice-minimal svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.payment-notice-minimal strong {
  font-weight: 500;
  text-decoration: underline;
}
.sender-input-wrapper {
  margin-top: 30px !important;
}
.confirmation-summary {
  background: var(--bg-card);
  padding: 25px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  margin-top: 25px;
}
.confirmation-summary .summary-line {
  font-size: 1rem;
  margin-bottom: 5px;
}
.confirmation-summary .summary-line .label {
  color: var(--text-secondary);
}
.confirmation-summary .summary-line .value strong {
  font-size: 1.25rem;
}
.confirmation-summary .summary-line.total {
  margin-top: 15px;
  padding-top: 15px;
  border-top-style: dashed;
}
.confirmation-summary .summary-line.total .value strong {
  font-size: 1.75rem;
}
.bank-top {
  display: flex;
  flex-direction: column;
  margin-bottom: 4px;
}
.bank-top strong {
  font-size: 1rem;
  color: var(--text-primary);
}
.bank-account-name {
  font-size: 0.8rem;
  color: var(--text-dimmed);
}
.bank-iban {
  display: block;
  font-family: "Inter", monospace;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9rem;
}
.funds-info-icon-wrapper.purple {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
}
.btn-copy-small {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-dimmed);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-copy-small:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.tr-type-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
}
.tr-type-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px 12px !important;
  border-radius: 6px !important;
}
.tr-type-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.status-banner-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-dimmed);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-banner-value {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-primary);
}
.order-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border-color);
}
.order-details-grid.four-cols {
  grid-template-columns: repeat(4, 1fr);
}
.order-details-grid.four-cols .detail-tile {
  border-bottom: none !important;
}
.order-details-grid.four-cols .detail-tile:nth-child(2n) {
  border-right: 1px solid var(--border-color);
}
.order-details-grid.four-cols .detail-tile:last-child {
  border-right: none;
}
.detail-tile {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--bg-card);
}
.detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dimmed);
}
.detail-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}
.detail-value.highlight {
  color: var(--accent);
  font-size: 0.98rem;
}
.status-activity-log {
  padding: 20px 22px;
}
.activity-log-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.activity-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
}
.activity-item:last-child {
  margin-bottom: 0;
}
.activity-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 15px;
  width: 2px;
  height: calc(100% + 10px);
  background: var(--border-color);
  opacity: 0.3;
}
.activity-point {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  margin-top: 4px;
  flex-shrink: 0;
  background: var(--bg-card);
}
.activity-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.activity-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.activity-time {
  font-size: 0.73rem;
  color: var(--text-dimmed);
}
.activity-time--solo {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.activity-item.active .activity-time--solo {
  color: var(--accent);
  font-weight: 700;
}
.order-status-banner.badge-complete .status-banner-value {
  color: var(--color-success);
}
.order-status-banner.badge-pending .status-banner-value {
  color: var(--color-warning);
}
.order-status-banner.badge-cancelled .status-banner-value {
  color: var(--color-danger);
}
.activity-item.completed .activity-point {
  background: var(--color-success);
  border-color: var(--color-success);
}
.activity-item.completed .activity-title {
  color: var(--text-primary);
}
.activity-item.active .activity-point {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-alpha);
}
.activity-item.active .activity-title {
  color: var(--accent);
  font-weight: 700;
}
.activity-item.cancelled .activity-point {
  background: var(--color-danger);
  border-color: var(--color-danger);
}
.activity-item.cancelled .activity-title {
  color: var(--color-danger);
}
.dash-split-grid.settings-grid {
  grid-template-columns: 1fr 1fr;
}
.settings-card-body {
  padding: 30px;
}
.dash-split-grid.settings-form-row {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 20px;
}

.dash-split-grid.settings-form-row > .input-wrapper:only-child {
  grid-column: 1 / -1;
}

.acct-team-select-wrap {
  position: relative;
  min-width: 0;
}

.acct-team-select-wrap::before {
  content: "";
  position: absolute;
  left: 42px;
  right: 10px;
  top: 9px;
  bottom: 9px;
  border-radius: 10px;
  background: linear-gradient(
    118deg,
    var(--team1, #64748b) 0%,
    var(--team1, #64748b) 46%,
    var(--team2, #1e293b) 54%,
    var(--team2, #1e293b) 100%
  );
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.acct-team-select-wrap select.acct-team-native-select {
  position: relative;
  z-index: 1;
  background-color: var(--bg-input, var(--glass-bg));
}

[data-theme="light"] .acct-team-select-wrap::before {
  opacity: 0.14;
}

.settings-submit-btn {
  margin-top: 10px;
  padding: 12px 30px;
}
.settings-form-group {
  margin-bottom: 20px;
}
.settings-modern-tab {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.settings-section-card {
  position: relative;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#tab-home .settings-section-card + .settings-section-card,
#tab-deposit-bonus .settings-section-card + .settings-section-card {
  margin-top: 32px;
  padding-top: 4px;
}
.settings-section-card > * {
  position: relative;
  z-index: 1;
}
.settings-section-head {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 16px;
  padding-bottom: 0;
  border-bottom: 0;
}
.settings-section-icon {
  display: none;
}
.settings-section-head h4 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}
.settings-section-head p {
  display: none;
}
.settings-control-grid,
#tab-home.settings-modern-tab .tab-home-top-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  margin: 0;
}
.settings-control-grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 520px;
}
.settings-control-grid + .settings-control-grid {
  margin-top: 20px;
}
.settings-mini-panel {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
}
.settings-mini-panel .card-title {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
}
.settings-modern-tab .input-group {
  margin: 0;
}
.settings-admin-nested-card {
  margin: 0;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--bg-card);
  box-shadow: none;
}
.settings-admin-table-card {
  overflow-x: auto;
}
/* Hero içindeki nested card’da `overflow: visible` (settings.php) tek sınıfla gelir; tablo kartında kaydırmayı zorunlu kıl */
#tab-home .settings-admin-nested-card.settings-admin-table-card {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-width: 100%;
  min-width: 0;
}
#tab-home #hn-table {
  min-width: 820px;
}
#tab-home #home-header-nav-card .dash-table td {
  white-space: normal;
  word-break: break-word;
  vertical-align: middle;
}
#tab-home #home-header-nav-card .dash-table td:first-child {
  font-weight: 600;
}
.settings-sort-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.settings-sort-cell--wide {
  display: flex;
  width: 100%;
}
.settings-sort-handle {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  cursor: grab;
  touch-action: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.settings-sort-handle:hover {
  color: var(--accent);
  border-color: var(--accent-alpha);
  background: var(--accent-alpha);
}
.settings-sort-handle:active,
.settings-sort-active .settings-sort-handle:active {
  cursor: grabbing;
}
.settings-sort-handle svg,
.settings-sort-handle i {
  width: 16px;
  height: 16px;
}
.settings-sort-handle--disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.settings-sort-handle--disabled:hover {
  color: var(--text-secondary);
  border-color: var(--border-color);
  background: rgba(255, 255, 255, 0.04);
}
.settings-sort-dragging {
  opacity: 0.72;
  outline: 1px dashed var(--accent);
  outline-offset: -2px;
}
#tab-home #hn-table .settings-sort-cell--wide .hn-inp {
  flex: 1 1 auto;
  min-width: 0;
}
#tab-home #home-header-nav-card .hn-mock-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 40px;
}
#tab-home #home-header-nav-card .hn-url-fixed {
  display: flex;
  align-items: center;
  min-height: 40px;
}
#tab-home .home-vitrin-body {
  padding: 20px 24px 22px;
}
#tab-home .home-vitrin-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
#tab-home .home-vitrin-cell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#tab-home .home-vitrin-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dimmed);
}
#tab-home .home-vitrin-cell .input-group {
  margin: 0;
  width: 100%;
}
#tab-home .hn-actions-th {
  width: 52px;
}
.settings-admin-table-footer {
  padding: 12px 14px;
  border-top: 1px dashed var(--border-color);
}
.settings-admin-table-footer--compact {
  padding: 8px 10px;
  border-top-style: solid;
}
.settings-admin-table-footer .btn {
  min-height: 38px;
}
.hh-hero-edit-modal .custom-modal-content.hh-hero-edit-modal-content {
  width: min(1200px, 96vw);
  max-width: min(1200px, 96vw);
  max-height: min(92vh, 920px);
}
.hh-hero-edit-modal .hh-hero-modal-body.custom-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
}
.hh-hero-modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 16px;
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-card);
  flex-shrink: 0;
}
.hh-hero-modal-footer-hint {
  margin: 0;
  flex: 1 1 220px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.hh-hero-modal-footer .btn {
  flex-shrink: 0;
}
.max-w-900 {
  max-width: 900px !important;
}
#tab-home .hh-hero-table {
  min-width: 880px;
}
#tab-home .hh-summary-row td {
  vertical-align: middle;
}
#tab-home .hh-editor-pool {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}
#tab-home .hh-editor-pool .hh-file-overlay,
#tab-home .hh-editor-pool input,
#tab-home .hh-editor-pool select,
#tab-home .hh-editor-pool textarea,
#tab-home .hh-editor-pool button {
  pointer-events: auto;
}
#tab-home .hh-editor-panel .hh-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--bg-card);
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}
#tab-home .hh-block-top {
  display: grid !important;
  grid-template-columns: minmax(170px, 0.8fr) minmax(0, 3fr) !important;
  align-items: start !important;
  gap: 16px !important;
}
#tab-home .hh-editor-panel .hh-block-top {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: 14px 18px !important;
}
#tab-home .hh-editor-panel .hh-sekme {
  flex: 0 1 280px;
  width: min(280px, 100%);
  max-width: min(320px, 34vw);
  min-width: 180px;
}
#tab-home .hh-editor-panel .hh-slots {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  align-items: end !important;
}
#tab-home .hh-editor-panel .hh-sekme-lbl,
#tab-home .hh-editor-panel .hh-slot-lbl {
  display: block;
  margin-bottom: 2px;
}
#tab-home .hh-sekme,
#tab-home .hh-slot,
#tab-home .hh-url-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
#tab-home .hh-slot {
  overflow: hidden;
  max-width: 100%;
}
#tab-home .hh-slots {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  min-width: 0;
}
#tab-home .hh-slot-main {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 38px;
  min-width: 0;
  max-width: 100%;
}
#tab-home .hh-thumb {
  width: 46px !important;
  height: 38px !important;
  max-width: none !important;
  max-height: none !important;
}
#tab-home .hh-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
#tab-home .hh-file-btn-wrap,
#tab-home .hh-file-fake,
#tab-home .hn-inp {
  min-height: 38px;
}
#tab-home .hh-file-fake,
#tab-home .hn-inp {
  height: 38px;
  box-sizing: border-box;
}
#tab-home .hh-file-meta {
  min-height: 14px;
  line-height: 1.35;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
}
#tab-home .hh-file-btn-wrap {
  min-width: 0;
  max-width: 100%;
}
#tab-home .hh-file-fake {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#tab-home .hh-links-details {
  margin-top: 14px;
  padding-top: 12px;
}
#tab-home .hh-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
#tab-home .hh-url-cell .hn-inp {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
#tab-home .hh-file-fake,
#tab-home .hn-inp {
  border-radius: 11px;
}
#tab-home .hh-hero-type-badge {
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
}
#tab-home .home-hero-card-header {
  align-items: center;
  row-gap: 12px;
  flex-wrap: wrap;
}
#tab-home .home-hero-toolbar {
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}
#tab-home .home-hero-toolbar-enable {
  min-width: min(100%, 260px);
  max-width: 360px;
}
@media (max-width: 900px) {
  .settings-control-grid,
  #tab-home.settings-modern-tab .tab-home-top-row {
    grid-template-columns: 1fr;
  }
  .settings-section-card {
    padding: 16px;
    min-width: 0;
    max-width: 100%;
  }
  #tab-home .home-vitrin-row {
    grid-template-columns: 1fr;
  }
  #tab-home .hh-editor-panel .hh-block-top {
    flex-wrap: wrap !important;
  }
  #tab-home .hh-editor-panel .hh-sekme {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
  }
  #tab-home .hh-editor-panel .hh-slots {
    flex: 1 1 100%;
  }
  #tab-home .hh-block-top {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  #tab-home .hh-sekme,
  #tab-home .hh-slots {
    grid-column: 1 / -1;
  }
  #tab-home .hh-slots,
  #tab-home .hh-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  #tab-home .hh-block-top,
  #tab-home .hh-slots,
  #tab-home .hh-links-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Site üst menü — ayarlar (header_nav) */
#tab-home #home-header-nav-card .hn-inp {
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.9rem;
}
.hn-url-fixed {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-secondary);
  padding: 9px 10px;
  border: 1px dashed var(--border-color);
  border-radius: 10px;
  max-width: 100%;
  box-sizing: border-box;
}
.hn-url-fixed code {
  font-size: 11px;
}
.hn-del-placeholder {
  display: block;
  width: 40px;
  height: 40px;
}
.hn-mock-wrap {
  padding: 4px 0;
}
.hn-mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 220px;
}
.hn-rp-txt {
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
}
.hn-pick-color {
  min-width: 44px;
  padding: 4px 10px !important;
}
.hn-pick-color-swatch {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  box-sizing: border-box;
}
.hn-color-sheet {
  z-index: 12001;
}
.hn-color-sheet-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  overflow: auto;
  max-height: min(60vh, 480px);
  justify-content: flex-start;
  align-content: flex-start;
}
.hn-color-sheet-swatch {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}
.hn-color-sheet-swatch.is-on {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}
.hn-swatch {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  box-sizing: border-box;
}
.hn-swatch--accent {
  background: linear-gradient(145deg, var(--accent-strong), var(--accent));
}
.hn-swatch--tone1 {
  background: linear-gradient(145deg, #b91c1c, var(--accent));
}
.hn-swatch--tone2 {
  background: linear-gradient(145deg, #7f1d1d, #dc2626);
}
.hn-swatch--tone3 {
  background: linear-gradient(145deg, #7f1d1d, var(--accent));
}
.hn-swatch--tone4 {
  background: linear-gradient(145deg, var(--accent-soft), var(--accent));
}
.hn-swatch--tone5 {
  background: linear-gradient(145deg, #450a0a, #991b1b);
}
.hn-swatch--tone6 {
  background: linear-gradient(145deg, #b91c1c, #7f1d1d);
}
.hn-swatch--soft {
  background: linear-gradient(145deg, var(--mesh-bg-1), var(--accent-alpha));
}
.hn-swatch--deep {
  background: linear-gradient(145deg, #1c1917, #450a0a);
}
.hn-swatch--muted {
  background: linear-gradient(145deg, #3f3f46, #52525b);
}
.hn-icon-sheet {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.hn-icon-sheet[hidden] {
  display: none !important;
}
.hn-icon-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.hn-icon-sheet-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(72vh, 560px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hn-icon-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
}
.hn-icon-sheet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
  gap: 8px;
  padding: 12px;
  overflow: auto;
}
.hn-icon-sheet-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  padding: 0;
}
.hn-icon-sheet-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.hn-icon-sheet-item svg {
  width: 22px;
  height: 22px;
}
.hn-pick-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hn-pick-ico svg {
  width: 20px;
  height: 20px;
}

.add-funds-grid {
  width: 100%;
}
.add-funds-body {
  padding: 30px;
}
.add-funds-amount-input {
  margin-bottom: 25px;
}
.add-funds-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 0;
}
.add-funds-top-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: end;
  margin-top: 10px;
  margin-bottom: 10px;
}
.add-funds-top-col {
  display: flex;
  flex-direction: column;
}
.add-funds-top-col .add-funds-subtitle {
  margin-top: 0;
}
.add-funds-top-grid .add-funds-amount-input {
  margin-bottom: 0;
}
.add-funds-top-grid .payment-methods-minimal {
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
}
.add-funds-top-grid .pm-minimal-item {
  min-height: 68px;
}
.add-funds-top-grid .add-funds-amount-input input {
  height: 68px;
}
.pm-minimal-item.pm-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.pm-minimal-item.pm-disabled:hover {
  background: var(--white-5);
}
.pm-badge.disabled {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-tertiary);
}
.add-funds-subtitle {
  margin: 0 0 15px 0;
  color: var(--text-primary);
  font-size: 1.1rem;
}
.add-funds-quick-btns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 20px;
  gap: 10px;
  margin-bottom: 30px;
}
.add-funds-quick-btn {
  flex: 1;
  min-width: 80px;
}
.add-funds-quick-btn.is-active {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px var(--accent-alpha) !important;
}
.add-funds-quick-btn.is-active:hover {
  background: var(--accent-hover) !important;
}
.add-funds-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}
.payment-method-label {
  border: 1px dashed var(--border-color);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  background: var(--glass-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}
.payment-method-label.active {
  border-color: var(--accent);
  background: var(--accent-alpha);
}
.payment-icon {
  width: 32px;
  height: 32px;
  color: var(--text-dimmed);
  transition: all 0.3s ease;
}
.payment-method-label.active .payment-icon {
  color: var(--accent);
}
.payment-method-title {
  font-weight: 600;
  color: var(--text-primary);
}
.payment-method-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.add-funds-havale {
  margin-bottom: 30px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
}
.havale-title {
  margin-bottom: 15px;
  color: var(--text-primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.havale-title-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.havale-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.5;
}
.havale-bank-card {
  background: var(--glass-bg);
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}
.havale-bank-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.havale-bank-name {
  color: var(--text-primary);
  font-size: 1rem;
}
.havale-bank-receiver {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 5px;
}
.havale-iban-row {
  background: rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.havale-iban-text {
  color: var(--accent);
  font-family: monospace;
  font-size: 0.95rem;
  letter-spacing: 1px;
  word-break: break-all;
}
.havale-copy-btn {
  padding: 5px 10px;
  font-size: 0.8rem;
  border-radius: 6px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.havale-copy-btn svg {
  width: 14px;
  height: 14px;
}
.add-funds-submit {
  padding: 15px;
  font-size: 1.1rem;
}
.add-funds-info-card {
  height: fit-content;
}
.add-funds-info-body {
  padding: 24px;
}
.add-funds-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.add-funds-info-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.add-funds-info-icon {
  color: var(--accent);
  flex-shrink: 0;
}
.add-funds-info-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.add-funds-hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 20px 0;
}
.add-funds-secure {
  text-align: center;
}
.add-funds-secure-text {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-dimmed);
}
.dash-split-grid.cart-grid {
  grid-template-columns: 2fr 1fr;
}
.cart-body {
  padding: 0;
}
.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px dashed var(--border-color);
}
.cart-item-info {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cart-item-icon-box {
  width: 60px;
  height: 60px;
  background: var(--white-5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-icon {
  width: 24px;
  height: 24px;
}
.cart-item-title {
  margin: 0;
  font-size: 1.05rem;
}
.cart-item-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.cart-item-title a:hover {
  color: var(--accent);
}
.cart-item-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cart-item-actions .product-qty-wrapper {
  min-width: 130px;
  height: 45px;
  padding: 4px;
}
.cart-item-actions .product-qty-btn {
  width: 32px;
  height: 32px;
}
.cart-item-actions .product-qty-input {
  width: 85px;
  font-size: 0.95rem;
}
.product-qty-input {
  appearance: textfield;
  -moz-appearance: textfield;
}
.product-qty-input::-webkit-outer-spin-button,
.product-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-item-price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cart-item-old-price {
  font-size: 0.8rem;
  color: var(--text-dimmed);
  text-decoration: line-through;
  line-height: 1;
  margin-bottom: 2px;
}
.cart-item-price {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}
.cart-item-price-tax {
  font-size: 0.75rem;
  color: var(--text-dimmed);
}
.cart-summary-card {
  height: fit-content;
}
.cart-summary-body {
  padding: 24px;
}
.cart-summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.cart-summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cart-summary-label {
  color: var(--text-secondary);
}
.cart-summary-val {
  color: var(--text-primary);
  font-weight: 500;
}
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed var(--border-color);
}
.cart-summary-total-label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
}
.cart-summary-total-val {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.3rem;
}
.discount-item .cart-summary-val {
  color: var(--accent) !important;
  font-weight: 600;
}
.cart-submit-btn {
  padding: 15px;
  font-size: 1.1rem;
}
.sidebar-return-btn {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.sidebar-return-icon {
  width: 18px;
  height: 18px;
}
.auth-provider-icon {
  width: 20px;
  height: 20px;
}
.add-funds-card-body {
  padding: 30px;
}
.add-funds-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}
.payment-method-label {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.payment-method-label:hover {
  background: var(--white-5);
}
.payment-method-label.active {
  background: var(--accent-alpha);
  border-color: var(--accent);
}
.payment-method-label.active .payment-icon {
  color: var(--accent);
}
.payment-method-radio {
  display: none;
}
.funds-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: fit-content;
  margin: 0 auto;
  background: var(--white-5);
  padding: 5px;
  border-radius: 100px;
}
.step-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-tertiary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.step-indicator span {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  transition: all 0.4s ease;
}
.step-indicator.active {
  background: var(--white-5);
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.step-indicator.active span {
  display: flex;
  color: var(--white-fixed);
}
.step-separator {
  color: var(--text-tertiary);
  margin: 0 10px;
  opacity: 0.5;
  width: 18px;
  height: 18px;
}
.payment-methods-minimal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 30px 0;
}
.pm-minimal-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 15px;
  background: var(--white-5);
  border: 1px dashed var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.pm-minimal-item:hover {
  background: var(--white-10);
}
.pm-minimal-item.active {
  background: var(--accent-alpha);
  border-color: var(--accent);
}
.pm-minimal-item input {
  display: none;
}
.pm-minimal-icon {
  width: 32px;
  height: 32px;
  background: var(--white-5);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}
.pm-minimal-item.active .pm-minimal-icon {
  background: var(--accent);
  color: var(--white-fixed);
}
.pm-minimal-info {
  display: flex;
  flex-direction: column;
}
.pm-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.pm-badges {
  position: absolute;
  top: 6px;
  right: 12px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.pm-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  padding: 2px 0;
}
.pm-badge.recommended {
  color: var(--accent);
  background: var(--accent-alpha);
  padding: 2px 8px;
  border-radius: 4px;
}
.pm-badge.zero-fee {
  color: var(--color-success);
  background: var(--color-success-bg);
  padding: 2px 8px;
  border-radius: 4px;
}
.step-detail-box {
  background: var(--white-5);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px dashed var(--border-color);
}
.step-detail-box.hide {
  display: none;
}
.summary-box {
  background: var(--white-2);
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.summary-line .value {
  color: var(--text-primary);
  font-weight: 600;
}
.summary-line strong {
  font-weight: 700;
  font-size: 1.1rem;
}
.summary-line.total {
  padding-top: 12px;
  margin-top: 5px;
  border-top: 1px dashed var(--border-color);
  color: var(--text-primary);
  font-weight: 700;
}
.summary-line.total .value {
  color: var(--accent);
  font-size: 0.85rem;
}
.step-actions {
  display: flex;
  gap: 15px;
}
.bank-account-name {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}
.bank-details-row {
  display: flex;
  gap: 15px;
  border-top: 1px solid var(--border-soft);
  padding-top: 8px;
}
.bank-detail {
  font-size: 11px;
  color: var(--text-primary);
  font-weight: 600;
}
.bank-detail span {
  color: var(--text-dimmed);
  font-weight: 400;
  margin-right: 4px;
}
.bank-iban {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--accent);
  background: var(--accent-alpha);
  padding: 4px 8px;
  border-radius: 6px;
  width: fit-content;
  margin-top: 4px;
}
.havale-bank-info span {
  font-size: 12px;
  color: var(--text-secondary);
}
.btn-copy-small {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  width: 32px;
  height: 32px;
  background: var(--white-10);
  border: none;
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-copy-small:hover {
  background: var(--accent);
  color: var(--white-fixed);
}
.funds-info-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.dash-tab-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  background: var(--white-5);
  padding: 6px;
  border-radius: 12px;
  width: fit-content;
  border: 1px solid var(--border-color);
}
.dash-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-tertiary);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dash-tab-btn svg {
  width: 18px;
  height: 18px;
}
.dash-tab-btn:hover {
  background: var(--white-5);
  color: var(--text-secondary);
}
.dash-tab-btn.active {
  background: var(--accent);
  color: var(--white-fixed);
}
.dash-tab-pane {
  display: none;
}
.dash-tab-pane.active {
  display: block;
}
.history-sub-header {
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--border-color);
  margin-bottom: 25px !important;
}
.dash-tab-pane {
  display: none;
}
.dash-tab-pane.active {
  display: block;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.funds-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--white-5);
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
}
.funds-info-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.funds-info-icon-wrapper i,
.funds-info-icon-wrapper svg {
  width: 24px;
  height: 24px;
}
.funds-info-icon-wrapper.success {
  color: var(--color-success);
  background: var(--color-success-bg);
  box-shadow: 5px 0px 20px 0px rgba(34, 197, 94, 0.15);
}
.funds-info-icon-wrapper.warning {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  box-shadow: 5px 0px 20px 0px rgba(245, 158, 11, 0.15);
}
.funds-info-icon-wrapper.info {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 5px 0px 20px 0px rgba(59, 130, 246, 0.15);
}
.funds-info-icon-wrapper.purple {
  color: #a855f7;
  background: rgba(168, 85, 247, 0.1);
  box-shadow: 5px 0px 20px 0px rgba(168, 85, 247, 0.15);
}
.funds-info-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-primary);
}
.funds-info-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.add-funds-havale.hide {
  display: none;
}
.add-funds-havale.show {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.add-funds-sender-input {
  margin-top: 20px;
}
.add-funds-ssl-icon {
  height: 40px;
  opacity: 0.7;
  filter: grayscale(1);
  margin-bottom: 15px;
  display: none;
}
.orders-card-header {
  padding-bottom: 20px;
}
.orders-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.orders-card-icon {
  color: var(--accent);
}
.orders-card-title {
  margin: 0;
}
.pm-new-price-large {
  font-size: 2rem;
}
.pm-discount-badge-large {
  height: 40px;
  padding: 0 15px;
}
.pm-discount-text {
  font-size: 14px;
}
.pm-add-cart-btn {
  flex: 0 0 auto;
  min-height: 54px;
  width: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.pm-buy-now-btn {
  flex: 1;
  min-height: 54px;
  font-size: 1.1rem;
  border-radius: 10px;
}
.pm-review-avatar-fixed {
  color: var(--white-fixed);
}
.flex-between {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}
.btn[disabled],
.product-qty-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: none;
  filter: grayscale(0.5);
}
.product-qty-wrapper.disabled {
  opacity: 0.7;
  pointer-events: none;
}
.empty-cart-premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  text-align: center;
  margin: 20px 0;
  transition: var(--transition-base);
}
.empty-cart-icon-wrapper {
  width: 100px;
  height: 100px;
  background: var(--accent-alpha);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: var(--accent);
  position: relative;
}
.empty-cart-icon-wrapper::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  border: 1px dashed var(--accent-alpha);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}
.empty-cart-premium h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.empty-cart-premium p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 400px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.empty-cart-premium .btn {
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 12px;
}
.swal2-container .input-wrapper label {
  left: 55px !important;
  top: 22px !important;
  transition: all 0.2s ease;
}
.swal2-container .input-wrapper input:focus + label,
.swal2-container .input-wrapper input:not(:placeholder-shown) + label {
  left: 55px !important;
  top: 12px !important;
  font-size: 11px !important;
}
.file-slug-code {
  font-size: 12px;
  background: var(--bg-body);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  overflow-wrap: anywhere;
  word-break: break-all;
  font-family: monospace;
}
.order-item-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.order-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-item-thumb-banner {
  width: 100%;
  height: 125px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.order-item-thumb-banner img,
.order-item-thumb-banner iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}
.order-item-name {
  display: block;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.order-item-sub {
  font-size: 11px;
  color: var(--text-dimmed);
  display: block;
}
.order-item-name-link {
  text-decoration: none;
  display: block;
  margin-bottom: 2px;
}
.order-item-name-link:hover .order-item-name {
  color: var(--accent);
}
.order-item-details-sub {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.detail-sep {
  opacity: 0.3;
}
.order-notice-wrapper {
  padding: 20px;
  border-top: 1px solid var(--border-color);
}
.order-notice-box {
  background: var(--accent-alpha);
  border: 1px dashed var(--accent);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.order-notice-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-notice-text {
  font-size: 13px;
  color: var(--accent);
}
.swal-custom-notice {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 25px;
}
.swal-purchase-container {
  text-align: left;
  padding: 5px;
}
.swal-purchase-description {
  margin-bottom: 20px;
  color: var(--text-dimmed);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.swal-purchase-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: 20px;
  border: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}
.swal-purchase-item {
  font-size: 14px;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.swal-purchase-item strong {
  font-weight: 600;
  color: var(--text-secondary);
}
.swal-purchase-item span {
  font-weight: 700;
  color: var(--text-primary);
}
.swal-purchase-divider {
  height: 1px;
  border-top: 1px dashed var(--border-color);
  margin: 8px 0;
}
.swal-purchase-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}
.swal-purchase-total strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.swal-purchase-total .price {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.contact-page {
  padding: calc(var(--site-header-offset) + 36px) 0 80px;
  background: var(--bg-primary);
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-top: 60px;
}
.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}
.info-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-alpha);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.info-icon svg {
  width: 28px;
  height: 28px;
}
.info-content h3 {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 5px;
  font-weight: 500;
}
.info-content p {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.info-content span {
  font-size: 12px;
  color: var(--text-dimmed);
}
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 20px 40px var(--shadow-dark);
  height: fit-content;
}
.contact-form-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 75px;
}
.contact-form-header h1 {
  font-size: 35px;
  font-weight: 700;
  color: var(--text-primary);
}
.contact-form-header p {
  font-size: 16px;
  color: var(--text-secondary);
}
.premium-form .input-wrapper {
  margin-bottom: 20px;
}
.dynamic-page-section {
  padding: calc(var(--site-header-offset) + 36px) 0 80px;
  background: var(--bg-primary);
  min-height: 60vh;
}
.page-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 40px;
  margin-top: 40px;
  box-shadow: 0 20px 40px var(--shadow-dark);
}
.page-body {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.1rem;
}
.page-body h1,
.page-body h2,
.page-body h3,
.page-body h4,
.page-body h5,
.page-body h6 {
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}
.page-body h1 {
  font-size: 2.5rem;
}
.page-body h2 {
  font-size: 2rem;
  border-left: 4px solid var(--accent);
  padding-left: 15px;
}
.page-body h3 {
  font-size: 1.75rem;
}
.page-body p {
  margin-bottom: 1.5rem;
}
.page-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.2s ease;
}
.page-body a:hover {
  color: var(--accent-hover);
  text-decoration-thickness: 2px;
}
.page-body ul,
.page-body ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}
.page-body ul {
  list-style: none;
}
.page-body ul li {
  position: relative;
  margin-bottom: 0.75rem;
}
.page-body ul li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: -1.25rem;
}
.page-body ol {
  list-style: decimal;
}
.page-body ol li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}
.page-body blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  background: var(--accent-alpha);
  border-left: 4px solid var(--accent);
  border-radius: 0 15px 15px 0;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-primary);
}
.page-body img {
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow-dark);
  margin: 2rem 0;
}
.page-body hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 3rem 0;
}
.page-body code {
  background: var(--white-10);
  padding: 0.2em 0.4em;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.9em;
}
.error-container,
.maintenance-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}
.error-content,
.maintenance-content {
  text-align: center;
  z-index: 2;
  max-width: 500px;
}
.maintenance-content {
  max-width: 550px;
  background: var(--glass-bg);
  padding: 50px;
  border-radius: 30px;
  border: 1px dashed var(--border-color);
}
.error-icon,
.maintenance-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  background: var(--accent-alpha);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.maintenance-icon {
  width: 100px;
  height: 100px;
  border-radius: 25px;
}
.error-code {
  font-size: 15vw;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
  opacity: 0.05;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.error-title,
.maintenance-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 15px;
}
.error-desc,
.maintenance-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}
.maintenance-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--accent-alpha);
  color: var(--accent);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 30px;
}
.pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.mesh-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, var(--accent-alpha) 0%, transparent 40%), radial-gradient(circle at 90% 90%, var(--accent-alpha) 0%, transparent 40%);
  z-index: 1;
  opacity: 0.5;
}
.maintenance-social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}
.maintenance-social-btn {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: var(--white-5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}
.maintenance-social-btn:hover {
  background: var(--accent);
  color: white;
}
.dash-grid-equal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.dash-table td {
  white-space: nowrap;
}
#tab-home .hh-hero-table td {
  white-space: normal;
  word-break: break-word;
}
.flex-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  min-width: 0;
}
.dash-footer {
  padding: 30px 20px;
  text-align: center;
  width: 100%;
  clear: both;
}
.dash-footer p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: var(--text-dimmed);
}
.dash-footer p svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  fill: var(--accent);
}
.dash-footer a {
  color: var(--text-secondary);
  font-weight: 600;
  transition: all 0.3s ease;
}
.dash-footer a:hover {
  color: var(--accent);
}
.input-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-dimmed);
  margin: 4px 4px 0;
}
.input-hint a {
  color: var(--accent);
  text-decoration: underline;
}
.input-hint code {
  background: var(--white-5);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 11px;
}
.wiz-steps {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px 20px;
  overflow-x: auto;
}
.wiz-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.3s;
  cursor: pointer;
}
.wiz-step.active {
  opacity: 1;
}
.wiz-step.done {
  opacity: 0.25;
}
.wiz-step-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white-5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.wiz-step.active .wiz-step-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.wiz-step-icon svg {
  width: 20px;
  height: 20px;
}
.wiz-step-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  white-space: nowrap;
}
.wiz-step.active .wiz-step-label {
  color: var(--accent);
  font-weight: 600;
}
.wiz-step-line {
  flex: 1;
  min-width: 20px;
  height: 1px;
  background: var(--border-soft);
  margin: 0 6px;
  margin-bottom: 22px;
}
.wiz-form-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.wiz-form-row .input-group {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}
.wiz-form-row + .wiz-form-row {
  margin-top: 14px;
}
.wiz-form-row.wiz-form-row-nowrap {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
}
.wiz-form-row.wiz-form-row-nowrap .input-group {
  flex: 1 1 0;
  min-width: 0;
}
/* Hit Bot: paket alanı select görünümü + aynı satır ipucu */
.input-wrapper.hb-paket-wrap label {
  top: 10px;
  left: 50px;
  transform: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}
button.hb-paket-like-select {
  width: 100%;
  display: block;
  box-sizing: border-box;
  background-color: var(--glass-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 26px 45px 10px 50px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  outline: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
  text-align: left;
  font-family: inherit;
}
button.hb-paket-like-select:hover {
  background-color: var(--bg-card);
}
button.hb-paket-like-select:focus {
  background-color: var(--bg-card);
}
.custom-modal-body.hb-cookie-modal-body > .input-group {
  margin-top: 0;
  margin-bottom: 14px;
}
.custom-modal-body.hb-cookie-modal-body > .input-group:last-of-type {
  margin-bottom: 0;
}
.wiz-panel {
  display: none;
}
.wiz-panel.active {
  display: block;
  animation: slideInWiz 0.22s ease;
}
@keyframes slideInWiz {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.wiz-panel.back .wiz-panel.active {
  animation: slideBackWiz 0.22s ease;
}
@keyframes slideBackWiz {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.wiz-card-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px dashed var(--border-soft);
  background: var(--white-3);
  border-radius: 0 0 16px 16px;
}
.wiz-card-nav-center {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dimmed);
  white-space: nowrap;
}
.wiz-card-nav-right {
  display: flex;
  gap: 8px;
}
.req {
  color: var(--danger);
  font-size: 11px;
}
.hint-inline {
  color: var(--text-dimmed);
  font-size: 11px;
  font-weight: 400;
}
.mt-20 {
  margin-top: 20px;
}
.img-drop-zone {
  border: 2px dashed var(--border-color);
  border-radius: 14px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  background: var(--bg-secondary);
}
.wiz-card-header {
  padding: 14px 20px;
  border-bottom: 1px dashed var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wiz-card-header .card-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  color: var(--text-primary);
}
.img-drop-zone:hover,
.img-drop-zone.drag-over {
  border-color: var(--accent);
  background: var(--white-3);
}
.img-drop-icon {
  margin-bottom: 8px;
}
.img-drop-icon svg {
  width: 38px;
  height: 38px;
  color: var(--accent);
}
.img-drop-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
}
.img-drop-sub {
  font-size: 12px;
  color: var(--text-dimmed);
  margin: 0;
}
.upload-prog-bar {
  height: 4px;
  background: var(--border-soft);
  border-radius: 4px;
  overflow: hidden;
}
#upload-prog-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.3s;
  border-radius: 4px;
}
.img-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.img-prev-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  aspect-ratio: 1;
  background: var(--white-5);
  animation: slideInWiz 0.2s ease;
  cursor: grab;
  user-select: none;
}
.img-prev-item.is-dragging {
  opacity: 0.55;
  transform: scale(0.98);
}
.img-prev-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-prev-del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  background: rgba(0, 0, 0, 0.65);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.img-prev-item:hover .img-prev-del {
  opacity: 1;
}
.img-prev-del svg {
  width: 11px;
  height: 11px;
}
.img-prev-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
  pointer-events: none;
}
.fb-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.order-note-add-wrapper {
  margin-bottom: 10px;
}
.order-note-add-control {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 18px 10px 50px;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  background: var(--glass-bg);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}
.order-note-add-control:hover,
.order-note-add-control:focus {
  border-color: var(--accent);
  background: var(--glass-highlight);
  outline: none;
}
.order-note-fields-list {
  margin-top: 10px;
}
.fb-row {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--white-3);
  border: 1px dashed var(--border-soft);
  border-radius: 12px;
  padding: 10px 14px;
  animation: slideInWiz 0.18s ease;
}
.fb-fields {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
}
.fb-fields .input-group {
  flex: 1;
  min-width: 140px;
  margin-bottom: 0;
}
.fb-rm {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--danger, #ef4444);
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  transition:
    background 0.2s,
    transform 0.15s;
}
.fb-rm:hover {
  background: #dc2626;
  transform: scale(1.06);
}
.fb-rm:active {
  transform: scale(0.96);
}
.fb-rm svg {
  width: 15px;
  height: 15px;
}
.wiz-summary {
  display: flex;
  flex-direction: column;
}
.wiz-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  gap: 16px;
}
.wiz-sum-row:last-child {
  border-bottom: none;
}
.wiz-sum-key {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dimmed);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 130px;
  flex-shrink: 0;
}
.wiz-sum-val {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
  word-break: break-word;
}
.wiz-sum-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--white-5);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 12px;
  margin: 2px;
}
.wiz-sum-imgs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.wiz-sum-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-soft);
}
.quill-field {
  margin-bottom: 18px;
}
.quill-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}
.quill-label .hint-inline {
  text-transform: none;
  font-weight: 400;
}
.quill-editor {
  border-radius: 0 0 10px 10px;
  background: var(--bg-secondary);
  color: var(--text-primary);
}
.ql-toolbar.ql-snow {
  background: var(--white-5);
  border: 1px solid var(--border-color) !important;
  border-bottom: none !important;
  border-radius: 10px 10px 0 0;
}
.ql-container.ql-snow {
  border: 1px solid var(--border-color) !important;
  border-radius: 0 0 10px 10px;
  font-family: inherit;
  font-size: 14px;
}
.ql-editor {
  color: var(--text-primary);
  min-height: inherit;
}
.ql-editor.ql-blank::before {
  color: var(--text-dimmed);
  font-style: normal;
}
.ql-snow .ql-stroke {
  stroke: var(--text-secondary);
}
.ql-snow .ql-fill {
  fill: var(--text-secondary);
}
.ql-snow .ql-picker-label {
  color: var(--text-secondary);
}
.ql-snow .ql-picker-options {
  background: var(--bg-card);
  border: 1px solid var(--border-color) !important;
  border-radius: 8px;
}
.ql-snow .ql-picker-item {
  color: var(--text-primary);
}
.ql-snow button:hover .ql-stroke,
.ql-snow .ql-picker-label:hover .ql-stroke {
  stroke: var(--accent);
}
.ql-snow button:hover .ql-fill {
  fill: var(--accent);
}
.modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
  background: var(--white-2);
  padding: 15px;
  border-radius: 12px;
  border: 1px dashed var(--border-color);
}
.modal-info-section {
  display: flex;
  flex-direction: column;
}
.note-content-box {
  background: var(--white-2);
  padding: 15px;
  border-radius: 12px;
  border: 1px dashed var(--border-color);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
}
.btn-icon-pure {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-info);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.btn-icon-pure svg {
  width: 18px;
  height: 18px;
}
.btn-icon-pure:hover {
  color: var(--accent);
}
.product-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.4;
}
.product-stock-badge {
  font-size: 13px;
  color: var(--color-success);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  background: var(--color-success-bg);
  padding: 4px 8px;
  border-radius: 6px;
  width: fit-content;
  gap: 10px;
}
.product-stock-badge.low {
  color: var(--color-danger);
  background: var(--color-danger-bg);
}
.product-stock-badge.low i,
.product-stock-badge.low svg {
  color: var(--color-danger);
  width: 14px;
  height: 14px;
}
.stock-badge-icon {
  width: 14px;
  height: 14px;
}
.stock-detail-card {
  position: sticky;
  top: 20px;
  border: var(--ui-border);
  box-shadow: 0 2px 5px var(--shadow-soft);
  background: var(--bg-card);
}
.stock-upload-progress-wrapper {
  display: none;
  margin-top: 16px;
}
.stock-upload-progress-bar {
  height: 6px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--border-color);
}
.stock-upload-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width var(--transition-base);
}
.stock-upload-progress-label {
  font-size: 12px;
  color: var(--text-dimmed);
  margin-top: 8px;
  text-align: center;
  font-weight: 500;
}
.stock-tabs-header {
  padding-bottom: 0 !important;
}
.stock-tabs-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
  border-bottom: none;
}
.stock-tab-btn {
  display: flex !important;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: -1px;
  transition: all var(--transition-base);
  border-radius: 0;
}
.stock-tab-btn.active {
  border-bottom: 2px solid var(--accent) !important;
  color: var(--text-primary) !important;
}
.stock-tab-btn:not(.active) {
  border-bottom: 2px solid transparent !important;
  color: var(--text-dimmed) !important;
}
.stock-tab-btn:hover:not(.active) {
  color: var(--text-secondary) !important;
}
.stock-tab-icon {
  width: 18px;
  height: 18px;
}
.stock-tab-badge {
  font-size: 12px;
  margin-left: 6px;
  padding: 2px 6px;
}
.stock-tab-actions-wrapper {
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
  padding-right: 15px;
}
.stock-table-wrapper {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}
.stock-table-header {
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 10;
  box-shadow: 0 1px 0 var(--border-color);
}
.stock-table-checkbox-col {
  width: 40px;
  text-align: center;
}
.stock-file-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}
.stock-action-icon {
  width: 16px;
  height: 16px;
}
.stock-pagination-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-top: var(--ui-border);
  background: var(--bg-card);
}
.stock-pagination-info {
  font-size: 13px;
  color: var(--text-dimmed);
}
.stock-pagination-nav {
  display: flex;
  gap: 4px;
}
.stock-pagination-btn {
  padding: 4px 10px;
  border: var(--ui-border);
  background: var(--glass-bg);
  color: var(--text-primary);
  transition: all var(--transition-base);
}
.stock-pagination-btn:hover {
  background: var(--glass-highlight);
}
.btn-soft-danger {
  background: var(--color-danger-bg);
  color: var(--color-danger);
  border: none;
  transition: all var(--transition-base);
}
.btn-soft-danger:hover {
  background: var(--color-danger);
  color: var(--white-fixed);
}
.custom-checkbox {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0;
}
.custom-checkbox input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.custom-checkbox label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--glass-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-base);
}
.custom-checkbox input:checked + label {
  background-color: var(--accent);
  border-color: var(--accent);
}
.custom-checkbox label:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.custom-checkbox input:checked + label:after {
  display: block;
}
.custom-checkbox input:disabled + label {
  opacity: 0.5;
  cursor: not-allowed;
}
.unread-message {
  font-weight: 600;
}
.unread-bold {
  font-weight: 600;
}
.icon-sm {
  width: 14px;
  height: 14px;
}
.mr-4 {
  margin-right: 4px;
}
.display-inline-block {
  display: inline-block;
}
.action-badge-nav {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  color: #fff;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50px;
}
.ticket-info-bar {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px;
}
.ticket-messages-wrapper {
  padding: 20px;
  background: rgba(0, 0, 0, 0.1);
  min-height: 400px;
}
.message-bubble-admin {
  background: rgba(var(--primary-rgb), 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  border-radius: 12px;
  max-width: 80%;
}
.message-bubble-user {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  border-radius: 12px;
  max-width: 80%;
}
.message-meta-box {
  margin-bottom: 5px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.text-color {
  color: var(--text-color);
}
.line-height-15 {
  line-height: 1.5;
}
.ticket-reply-box {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.textarea-pd-15 {
  min-height: 150px;
  padding: 15px;
}
.btn-pd {
  padding: 10px 30px;
}
.icon-18 {
  width: 18px;
  margin-right: 8px;
}
.stock-table-wrapper {
  max-height: 50vh;
}
.py-40 {
  padding-top: 40px;
  padding-bottom: 40px;
}
.opacity-20 {
  opacity: 0.2;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.d-block {
  display: block;
}
.text-dimmed-icon {
  color: var(--text-dimmed);
}
.stock-sold-table-wrapper {
  max-height: 50vh;
}
.d-inline {
  display: inline;
}
.icon-20 {
  width: 20px;
  height: 20px;
}
.font-size-14 {
  font-size: 14px;
}
.mb-2 {
  margin-bottom: 2px;
}
.min-h-110 {
  min-height: 110px;
}
.min-h-140 {
  min-height: 140px;
}
.min-h-200 {
  min-height: 200px;
}
.mt-12-d-none {
  display: none;
  margin-top: 12px;
}
.mt-5-text-center {
  font-size: 12px;
  color: var(--text-dimmed);
  margin-top: 5px;
  text-align: center;
}
.text-center {
  text-align: center;
}
.text-end {
  text-align: right;
}
.d-flex {
  display: flex !important;
}
.align-items-center {
  align-items: center !important;
}
.d-block {
  display: block !important;
}
.gap-12 {
  gap: 12px !important;
}
.rounded {
  border-radius: 6px !important;
}
.bg-glass {
  background: var(--glass-bg);
  border: 1px solid var(--border-soft);
}
.cursor-pointer {
  cursor: pointer;
}
.justify-between {
  justify-content: space-between;
}
.flex-gap-15 {
  gap: 15px;
}
.max-w-600 {
  max-width: 600px !important;
}
.max-w-520 {
  max-width: 520px !important;
}
.visibility-hidden {
  visibility: hidden;
}
.hint-inline {
  font-size: 12px;
  color: var(--text-dimmed);
  margin-left: 5px;
}
.margin-bottom-14 {
  margin-bottom: 14px;
}
.icon-13 {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.max-w-160 {
  max-width: 160px;
}
.color-success {
  color: var(--accent);
}
.opacity-02 {
  opacity: 0.2;
}
.opacity-05 {
  opacity: 0.5;
}
.font-size-13 {
  font-size: 13px;
}
.min-h-365 {
  min-height: 365px;
}
.max-w-480 {
  max-width: 480px;
}
.font-size-08em {
  font-size: 0.8em;
}
.min-h-400 {
  min-height: 400px;
}
.max-w-70 {
  max-width: 70%;
}
.max-w-85 {
  max-width: 85%;
}
.unread-dot,
.unread-badge {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.unread-dot {
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 10px var(--accent);
}
.ticket-status-col {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.file-upload-wrapper {
  position: relative;
  display: flex;
  gap: 15px;
}
.file-upload-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
  width: fit-content;
}
.file-upload-label:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
}
.file-upload-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
.file-upload-label.premium {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: 12px;
  color: var(--text-primary);
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.file-upload-label.premium:hover {
  background: var(--bg-card);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.dash-split-grid {
  display: grid;
  gap: 24px;
  align-items: flex-start;
}
.order-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 360px);
  gap: 22px;
}
.order-details-grid {
  display: grid;
  gap: 1px;
  background: var(--border-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.order-details-grid.three-cols {
  grid-template-columns: repeat(3, 1fr);
}
.order-details-grid.four-cols {
  grid-template-columns: repeat(4, 1fr);
}
.detail-label {
  font-size: 11px;
  color: var(--text-dimmed);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.detail-value {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-word;
}
.detail-value.highlight {
  color: var(--accent);
}
.ticket-chat-container {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: 0 0 12px 12px;
}
.ticket-chat-wrapper {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scroll-behavior: smooth;
  min-height: 200px;
  background: var(--bg-secondary);
  max-height: none;
}
.ticket-message-row {
  display: flex;
  gap: 16px;
  width: 100%;
}
.ticket-message-row.support {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.ticket-avatar-box {
  flex-shrink: 0;
}
.ticket-message-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 80%;
}
.ticket-message-row.support .ticket-message-content {
  align-items: flex-end;
}
.ticket-message-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.ticket-message-row.support .ticket-message-header {
  flex-direction: row-reverse;
}
.ticket-message-bubble {
  background: var(--bg-card);
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text-primary);
  line-height: 1.5;
  font-size: 14px;
  border: 1.5px dashed var(--border-color);
  max-width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.ticket-attachment-box {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  text-decoration: none !important;
  color: inherit !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s;
}
.ticket-attachment-box:hover {
  background: rgba(0, 0, 0, 0.25);
}
.ticket-message-row.support .ticket-attachment-box {
  background: rgba(255, 255, 255, 0.15);
}
.ticket-attachment-image {
  margin-top: 12px;
  display: inline-block;
  position: relative;
  max-width: 320px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.15);
  text-decoration: none !important;
}
.ticket-attachment-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
}
.ticket-attachment-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 45%, rgba(0,0,0,0.45) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.ticket-attachment-image:hover::after {
  opacity: 1;
}
.ticket-attachment-image-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}
.ticket-message-row.support .ticket-attachment-image {
  background: rgba(255, 255, 255, 0.15);
}
.ticket-message-row.support .ticket-attachment-image-badge {
  background: rgba(255, 255, 255, 0.25);
}

.rank-badge-svg {
  display: block;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.28));
}

.profile-page-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
}

.profile-card {
  position: sticky;
  top: 18px;
}

.profile-card-top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.profile-avatar-xl {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  flex: 0 0 auto;
}

.profile-avatar-xl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-card-name {
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0;
}

.profile-card-sub {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: var(--text-dimmed);
}

.profile-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.profile-rank-pill {
  width: 100%;
  justify-content: center;
  margin-top: 0;
}

.rank-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rank-preview-grid .user-rank-pill {
  margin-top: 0;
}

.profile-meta-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.profile-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.profile-meta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.profile-meta-value {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: right;
  word-break: break-word;
}

.profile-forms-col .dash-card + .dash-card {
  margin-top: 18px;
}

.acct-profile-page {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.acct-top-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.acct-top-split--single {
  grid-template-columns: minmax(0, 1fr);
}

.acct-top-split--grid2 {
  grid-template-rows: auto auto;
  align-items: stretch;
}

.acct-top-split--grid2 > .acct-profile-overview-card {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.acct-top-split--grid2 > .acct-purchases-card {
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
  height: 100%;
  align-self: stretch;
}

.acct-top-split--grid2 > .acct-row2-split {
  grid-column: 1 / -1;
  grid-row: 2;
}

.acct-top-split--no-purchases > .acct-profile-overview-card {
  grid-column: 1 / -1;
}

.acct-top-split--no-purchases > .acct-row2-split {
  grid-column: 1 / -1;
}

.acct-row2-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}

.acct-row2-split > .dash-card {
  margin-top: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.acct-row2-split > .dash-card .dash-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.acct-row2-split .acct-profile-form {
  flex: 1;
}

.acct-row2-split .acct-password-card-body #password-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.acct-row2-split .acct-password-card-body .acct-password-stack {
  flex: 0 0 auto;
  gap: 20px;
}

.acct-row2-split .acct-password-card-body .settings-submit-btn {
  margin-top: 30px;
  flex: 0 0 auto;
}

.acct-top-split--grid2 > .dash-card.acct-purchases-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.acct-top-split--grid2 > .dash-card.acct-purchases-card .dash-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.acct-top-split--grid2 .acct-purchases-card .acct-purchases-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.acct-top-split--grid2 .acct-purchases-card .acct-purchase-grid,
.acct-top-split--grid2 .acct-purchase-grid.acct-purchase-grid--4x2 {
  grid-template-rows: repeat(2, minmax(0, 1fr));
  flex: 1;
  min-height: 0;
  align-content: stretch;
}

.acct-top-split--grid2 .acct-purchases-card .acct-purchase-tile {
  height: 100%;
  min-height: 0;
  gap: 0;
}

.acct-top-split--grid2 > .acct-profile-overview-card > .dash-card-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.acct-top-split--grid2 > .acct-profile-overview-card .acct-overview-body {
  flex: 1;
  min-height: 0;
}

.acct-profile-left-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  align-self: stretch;
  min-height: 100%;
  height: 100%;
}

.acct-forms-row-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}

.acct-forms-row-split > .dash-card {
  margin-top: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.acct-forms-row-split > .dash-card .dash-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.acct-forms-row-split .acct-profile-form,
.acct-forms-row-split .acct-password-stack {
  flex: 1;
}

.acct-profile-left-panel > .dash-card {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.acct-profile-left-panel > .dash-card .dash-card-body {
  flex: 1 0 auto;
  min-height: 0;
}

.acct-profile-left-panel > .dash-card.acct-profile-overview-card {
  flex: 1;
  min-height: 0;
}

.acct-profile-left-panel > .acct-forms-row-split {
  flex: 0 0 auto;
}

.acct-profile-left-panel .settings-card-body {
  padding: 18px 22px;
}

.acct-profile-left-panel .dash-split-grid.settings-form-row {
  margin-bottom: 12px;
}

.acct-top-split > .dash-card.acct-purchases-card {
  margin-top: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: 100%;
  min-height: 100%;
}

.acct-top-split > .dash-card.acct-purchases-card .dash-card-body {
  flex: 1 0 auto;
  min-height: 0;
}

.acct-purchases-card .acct-purchases-body {
  padding-top: 10px;
  overflow: visible;
  max-height: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.acct-purchases-card .acct-purchase-grid,
.acct-purchase-grid.acct-purchase-grid--4,
.acct-purchase-grid.acct-purchase-grid--4x2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 100%;
  flex: 1;
  min-height: 0;
  align-content: stretch;
}

.acct-purchases-card .acct-purchase-tile {
  padding: 6px;
  border-radius: 10px;
  min-width: 0;
  gap: 0;
  height: 100%;
  min-height: 0;
}

.acct-purchases-card .acct-purchase-img-wrap {
  border-radius: 8px;
  flex: 1;
  min-height: 0;
}

.acct-purchases-card .acct-purchase-name {
  font-size: 0.62rem;
  -webkit-line-clamp: 2;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.acct-top-split.acct-top-split--grid2 > .dash-card.acct-purchases-card .dash-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.acct-overview-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.acct-overview-top {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.acct-overview-rank-tasks {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  min-width: 0;
}

.acct-overview-rank-col,
.acct-overview-tasks-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.acct-overview-rank-tasks .acct-aside-section-title {
  margin: 0 0 8px;
}

.acct-overview-metric-surface {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;
  min-height: 108px;
  padding: 10px 12px;
  box-sizing: border-box;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.acct-overview-metric-surface .rank-bar-trigger,
.acct-overview-metric-surface .acct-rank-trigger {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.acct-overview-metric-surface--rank .rank-bar-trigger,
.acct-overview-metric-surface--rank .acct-rank-trigger {
  align-items: stretch;
}

.acct-overview-metric-surface--rank {
  padding: 10px 12px;
  min-height: 108px;
  flex: 1;
  justify-content: stretch;
}

.acct-overview-metric-surface--rank .rank-bar {
  width: 100%;
  max-width: none;
  min-width: 0;
  flex: 1 1 auto;
  min-height: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 16px;
  box-sizing: border-box;
}

.acct-overview-metric-surface > .acct-task-level-card--in-surface {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  align-self: stretch;
}

.acct-overview-metric-surface .acct-task-level-card--profile-split.acct-task-level-card--in-surface {
  grid-template-rows: 1fr auto;
  min-width: 0;
  max-width: 100%;
}

.acct-task-level-card--in-surface {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
  align-self: stretch;
}

.acct-profile-avatar-xl {
  width: 88px;
  height: 88px;
  border-radius: 22px;
}

/* Profil özeti: kare “squircle” çerçeve / köşe matı olmasın — sadece daire avatar */
.acct-profile-overview-card .acct-overview-top .profile-avatar-xl.acct-profile-avatar-xl {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  background: none !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none;
}

.acct-profile-overview-card .acct-overview-top .profile-avatar-xl.acct-profile-avatar-xl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
}

.acct-profile-hero-text {
  flex: 1;
  min-width: 0;
}

.acct-avatar-sync-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.acct-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.acct-mini-stat {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.acct-mini-stat-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.acct-mini-stat-value {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-primary);
  word-break: break-word;
}

.acct-mini-stat-value--unlimited {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2em;
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
}
.acct-mini-stat-value--unlimited .sidebar-balance-unlimited-label {
  font-size: 0.92em;
}
.acct-mini-stat-value--unlimited .sidebar-balance-unlimited-currency {
  font-size: 1em;
}

.acct-aside-section-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin: 18px 0 8px;
}

.acct-task-level-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.acct-task-level-card--profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(120px, 38%);
  gap: 14px 16px;
  align-items: center;
  padding: 14px 16px;
}

.acct-task-level-mid {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.acct-task-level-card--profile .acct-task-level-xp {
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.acct-task-level-card--profile .acct-task-claim-hint {
  margin-top: 0;
  font-size: 0.75rem;
}

.acct-task-level-bar-col {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: stretch;
}

.acct-task-bar--wide {
  width: 100%;
}

.acct-task-bar--wide .tasks-top-bar-track {
  min-height: 10px;
  border-radius: 999px;
}

/* Profil özeti: sabit 220px bar küçük sütunda taşmasın */
.acct-overview-metric-surface .tasks-top-bar.acct-task-bar--wide {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  align-items: stretch;
  box-sizing: border-box;
}

.acct-overview-metric-surface .tasks-top-bar.acct-task-bar--wide .tasks-top-bar-track {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.acct-task-level-badge {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  line-height: 1;
}

.acct-task-level-num {
  font-size: 1.25rem;
}

.acct-task-level-suf {
  font-size: 0.58rem;
  opacity: 0.9;
  letter-spacing: 0.06em;
}

.acct-task-level-card--profile .acct-task-level-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.acct-task-level-card--profile .acct-task-level-num {
  font-size: 1.45rem;
}

.acct-task-level-card--profile.acct-task-level-card--profile-split {
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 8px 10px;
  padding: 10px 12px;
}

.acct-task-level-card--profile-split .acct-task-level-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.acct-task-level-card--profile-split .acct-task-level-num {
  font-size: 1.2rem;
}

.acct-task-level-card--profile-split .acct-task-level-mid {
  grid-row: 1;
  grid-column: 2;
  align-self: center;
}

.acct-task-level-card--profile-split .acct-task-level-bar-col {
  grid-column: 1 / -1;
  grid-row: 2;
}

.acct-task-level-card--profile-split .acct-task-level-xp {
  font-size: 0.8rem;
}

.acct-task-level-body {
  flex: 1;
  min-width: 0;
}

.acct-task-level-xp {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.acct-task-bar {
  margin: 0;
}

.acct-task-claim-hint {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--color-success);
  font-weight: 600;
}

.acct-purchases-head h3 {
  margin: 0;
}

.acct-purchases-body {
  padding-top: 8px;
}

.acct-purchase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 12px;
}

.acct-purchase-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.acct-purchase-tile:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.acct-purchase-img-wrap {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.acct-purchase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.acct-purchase-name {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.acct-field-block {
  margin: 8px 0 22px;
}

.acct-field-label {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.acct-field-hint {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.acct-form-row-triple {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.acct-form-row-triple--dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.acct-form-row-triple--team-only {
  grid-template-columns: minmax(0, 1fr);
}

.acct-form-row-single .input-wrapper {
  width: 100%;
}

.acct-triple-cell {
  min-width: 0;
}

.acct-triple-cell .input-wrapper {
  width: 100%;
}

.acct-password-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dashboard-content select.acct-select,
.dashboard-content .settings-card-body select {
  color-scheme: dark;
  background-color: var(--bg-input, var(--glass-bg));
  color: var(--text-primary);
}

.dashboard-content select.acct-select option,
.dashboard-content .settings-card-body select option {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

[data-theme="light"] .dashboard-content select.acct-select,
[data-theme="light"] .dashboard-content .settings-card-body select {
  color-scheme: light;
}

[data-theme="light"] .dashboard-content select.acct-select option,
[data-theme="light"] .dashboard-content .settings-card-body select option {
  background-color: #ffffff;
  color: #0f172a;
}

.settings-card-body.acct-password-card-body .input-wrapper label,
.settings-card-body.acct-profile-form .input-wrapper label {
  color: rgba(255, 255, 255, 0.82);
}

.settings-card-body.acct-password-card-body .input-wrapper input:focus + label,
.settings-card-body.acct-password-card-body .input-wrapper input:not(:placeholder-shown) + label,
.settings-card-body.acct-profile-form .input-wrapper input:focus + label,
.settings-card-body.acct-profile-form .input-wrapper input:not(:placeholder-shown) + label,
.settings-card-body.acct-profile-form .input-wrapper select:focus + label,
.settings-card-body.acct-profile-form .input-wrapper select:not(:placeholder-shown) + label {
  color: rgba(255, 255, 255, 0.88);
}

[data-theme="light"] .settings-card-body.acct-password-card-body .input-wrapper label,
[data-theme="light"] .settings-card-body.acct-profile-form .input-wrapper label {
  color: rgba(15, 23, 42, 0.62);
}

[data-theme="light"] .settings-card-body.acct-password-card-body .input-wrapper input:focus + label,
[data-theme="light"] .settings-card-body.acct-password-card-body .input-wrapper input:not(:placeholder-shown) + label,
[data-theme="light"] .settings-card-body.acct-profile-form .input-wrapper input:focus + label,
[data-theme="light"] .settings-card-body.acct-profile-form .input-wrapper input:not(:placeholder-shown) + label,
[data-theme="light"] .settings-card-body.acct-profile-form .input-wrapper select:focus + label,
[data-theme="light"] .settings-card-body.acct-profile-form .input-wrapper select:not(:placeholder-shown) + label {
  color: rgba(15, 23, 42, 0.78);
}

.acct-loc-row .input-wrapper.is-select select.acct-select,
.acct-triple-cell .input-wrapper.is-select select.acct-select,
.acct-team-select-wrap select.acct-team-native-select {
  width: 100%;
  padding-left: 44px;
  min-height: 52px;
  border-radius: 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 600;
}

.acct-loc-row .input-wrapper.is-select label,
.acct-triple-cell .input-wrapper.is-select label,
.acct-team-select-wrap label {
  left: 44px;
}

@media (max-width: 1100px) {
  .profile-page-grid {
    grid-template-columns: 1fr;
  }
  .profile-card {
    position: static;
  }
  .acct-top-split {
    grid-template-columns: 1fr;
  }

  .acct-top-split--grid2 > .acct-profile-overview-card,
  .acct-top-split--grid2 > .acct-purchases-card,
  .acct-top-split--grid2 > .acct-row2-split {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .acct-overview-rank-tasks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .acct-forms-row-split,
  .acct-row2-split {
    grid-template-columns: 1fr;
  }

  .acct-form-row-triple:not(.acct-form-row-triple--dual) {
    grid-template-columns: 1fr;
  }
  .acct-form-row-triple--dual {
    grid-template-columns: 1fr;
  }

  .acct-task-level-card--profile {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .acct-task-level-card--profile .acct-task-level-badge {
    grid-row: 1;
    grid-column: 1;
  }

  .acct-task-level-card--profile .acct-task-level-mid {
    grid-row: 1;
    grid-column: 2;
  }

  .acct-task-level-card--profile .acct-task-level-bar-col {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
.attachment-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.ticket-message-row.support .attachment-icon {
  background: #fff;
  color: var(--accent);
}
.attachment-name {
  font-size: 13px;
  font-weight: 600;
  display: block;
}
.attachment-size {
  font-size: 11px;
}
.ticket-reply-box {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-card);
  flex-shrink: 0;
}
.ticket-reply-box textarea {
  min-height: 100px;
  resize: none;
}
.ticket-locked-notice {
  margin: 20px;
  padding: 40px;
  text-align: center;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  border-radius: 12px;
  color: var(--text-dimmed);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ticket-locked-notice svg {
  color: var(--text-secondary);
  opacity: 0.5;
  font-size: 32px;
  margin-bottom: 10px;
}
.ticket-locked-notice h4 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
}
.ticket-locked-notice p {
  margin: 0;
  font-size: 0.9rem;
}
.unified-chat-layout {
  display: flex;
  height: calc(100vh - 220px);
  min-height: 500px;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin: 0 20px 20px;
}
.dashboard-content-chat {
  height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
}
.chat-sidebar {
  width: 350px;
  flex-shrink: 0;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
}
.chat-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}
.chat-list-wrapper {
  flex: 1;
  overflow-y: auto;
}
.ticket-item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  gap: 12px;
  position: relative;
  text-decoration: none !important;
  color: inherit !important;
}
.ticket-item:hover {
  background: var(--white-5);
}
.ticket-item.active {
  background: var(--white-5);
  border-left: 4px solid var(--accent);
}
.ticket-item-content {
  flex: 1;
  min-width: 0;
}
.ticket-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.ticket-item-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticket-item-time {
  font-size: 0.75rem;
  color: var(--text-dimmed);
  flex-shrink: 0;
}
.ticket-item-subject {
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}
.ticket-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}
.chat-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
  z-index: 10;
}
.chat-header-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-header-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.chat-header-info p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-dimmed);
}
.chat-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.ticket-delete-form {
  margin: 0;
  display: inline-flex;
}
.ticket-delete-btn {
  height: 36px;
  padding: 0 12px;
  border-color: rgba(248, 113, 113, 0.28) !important;
  color: #f87171 !important;
  background: rgba(248, 113, 113, 0.08) !important;
}
.ticket-delete-btn:hover {
  border-color: rgba(248, 113, 113, 0.46) !important;
  background: rgba(248, 113, 113, 0.14) !important;
  color: #fecaca !important;
}
.dash-empty-row td {
  padding: 26px 18px;
  color: var(--text-dimmed);
  text-align: center;
}
.chat-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: var(--text-dimmed);
}
.chat-placeholder svg {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.2;
}
.chat-list-wrapper::-webkit-scrollbar {
  width: 5px;
}
.chat-list-wrapper::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 10px;
}
.chat-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}
.chat-drop-zone {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0;
  padding: 12px 15px;
  min-height: auto;
  border: 1px dashed var(--border-color);
  background: var(--bg-card);
  border-radius: 10px;
  transition: all 0.3s;
  cursor: pointer;
}
.chat-drop-zone:hover,
.chat-drop-zone.dragover {
  border-color: var(--primary-color);
  background: var(--bg-secondary);
}
.chat-drop-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  margin: 0;
}
.chat-drop-icon svg {
  width: 18px;
  height: 18px;
}
.chat-drop-text {
  text-align: left;
}
.chat-drop-title {
  margin: 0;
  font-weight: 500;
  font-size: 14px;
}
.chat-drop-sub {
  margin: 0;
  font-size: 12px;
  opacity: 0.7;
}
.chat-send-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: 62px;
  padding: 0 30px;
}
.chat-send-btn svg {
  width: 18px;
  height: 18px;
}
.chat-send-btn span {
  font-weight: 500;
}
.ticket-avatar-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
}
.ticket-avatar-icon-inner {
  width: 20px !important;
}
.ticket-subject-limit {
  max-width: 180px;
}
.settings-banks-wrapper {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.settings-banks-list {
  flex: 1 1 55%;
}
.settings-th-right {
  text-align: right;
}
.settings-bank-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.settings-bank-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 2px;
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.05));
}
.settings-bank-logo-empty {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.settings-bank-logo-icon {
  width: 16px;
  height: 16px;
  color: var(--text-dimmed);
}
.settings-bank-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-color);
}
.settings-bank-iban {
  font-size: 12px;
  color: var(--text-dimmed);
  margin-top: 2px;
  font-family: monospace;
  letter-spacing: 0.5px;
}
.settings-td-middle {
  vertical-align: middle;
}
.settings-td-right {
  text-align: right;
}
.settings-bank-recipient {
  font-weight: 500;
  font-size: 14px;
}
.settings-delete-form {
  display: inline-block;
}
.settings-add-bank-panel {
  flex: 1 1 40%;
  background: var(--bg-secondary, rgba(0, 0, 0, 0.02));
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.05));
  height: fit-content;
}
.settings-add-bank-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  margin-top: 0;
}
.settings-add-bank-icon-wrapper {
  background: var(--primary-color);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.settings-add-bank-icon-wrapper svg {
  width: 18px;
  height: 18px;
}
.settings-add-bank-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
}
.settings-add-bank-btn svg {
  width: 18px;
  height: 18px;
}
.object-fit-cover {
  object-fit: cover !important;
}
.w-32 {
  width: 32px !important;
}
.h-32 {
  height: 32px !important;
}
.rounded-6 {
  border-radius: 6px !important;
}
.overflow-hidden {
  overflow: hidden !important;
}
.flex-shrink-0 {
  flex-shrink: 0 !important;
}
.text-truncate {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.max-w-250 {
  max-width: 250px !important;
}
.justify-end {
  justify-content: flex-end !important;
}
.font-medium {
  font-weight: 500 !important;
}
.text-sm {
  font-size: 13px !important;
}
.text-xs {
  font-size: 12px !important;
}
.opacity-50 {
  opacity: 0.5 !important;
}
.m-0 {
  margin: 0 !important;
}
.mb-10 {
  margin-bottom: 10px !important;
}
.mb-20 {
  margin-bottom: 20px !important;
}
.mt-10 {
  margin-top: 10px !important;
}
.mt-20 {
  margin-top: 20px !important;
}
.min-h-120 {
  min-height: 120px !important;
}
.flex-gap-15 {
  gap: 15px !important;
}
.mr-4 {
  margin-right: 4px !important;
}
.w-full {
  width: 100% !important;
}
.h-full {
  height: 100% !important;
}
.m-auto {
  margin: 0 auto !important;
}
.p-20 {
  padding: 20px !important;
}
.text-color-primary {
  color: var(--text-primary) !important;
}
.text-color-muted {
  color: var(--text-secondary) !important;
}
.text-center {
  text-align: center !important;
}
.text-right {
  text-align: right !important;
}
.hide {
  display: none !important;
}
.rounded-inherit {
  border-radius: inherit !important;
}
.max-w-full {
  max-width: 100% !important;
}
.max-h-200 {
  max-height: 200px !important;
}
.object-fit-contain {
  object-fit: contain !important;
}
.rounded-8 {
  border-radius: 8px !important;
}
.mr-2 {
  margin-right: 8px !important;
}
.mr-8 {
  margin-right: 8px !important;
}
/* m-style.css yüklenmezse: mobil + masaüstü butonları üst üste binmesin */
.mobile-only {
  display: none !important;
}
.desktop-only {
  display: inline-flex !important;
}
@media (max-width: 1024px) {
  .mobile-only {
    display: inline-flex !important;
  }
  .desktop-only {
    display: none !important;
  }
}
.bank-confirmation-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 15px;
  margin: 10px 0;
}
.bank-logo-box {
  width: 90px;
  min-width: 90px;
  height: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px dashed var(--border-color);
  border-radius: 12px;
  padding: 12px;
  flex-shrink: 0;
}
.bank-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.bank-info-item {
  flex: 1;
  min-width: 0;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: var(--white-5);
  padding: 15px;
  border-radius: 12px;
  border: 1px dashed var(--border-soft);
}
.bank-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dimmed);
  letter-spacing: 0.5px;
}
.bank-info-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}
.bank-info-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.crypto-confirmation-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 15px;
  margin: 10px 0;
}
.crypto-qr-box {
  width: 90px;
  min-width: 90px;
  height: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-5);
  border: 1px dashed var(--border-soft);
  border-radius: 12px;
  padding: 12px;
  flex-shrink: 0;
}
.crypto-qr-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.qr-desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-primary);
  transition: color 0.3s ease;
  cursor: pointer;
}
.crypto-qr-box:hover .qr-desktop-icon {
  color: var(--accent);
}
.qr-desktop-icon svg,
.qr-desktop-icon svg {
  width: 40px;
  height: 40px;
}
.qr-mobile-img {
  display: none;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: pointer;
}
.crypto-info-item {
  flex: 1;
  min-width: 0;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: var(--white-5);
  padding: 15px;
  border-radius: 12px;
  border: 1px dashed var(--border-soft);
}
.crypto-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dimmed);
  letter-spacing: 0.5px;
}
.crypto-info-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
  word-break: break-all;
}
.crypto-info-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.announcements-list-wrapper {
  padding: 16px;
}
.announcements-list-wrapper--compact{
  padding: 12px;
}
.announcements-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.announcements-list-wrapper--compact .announcements-container{
  gap: 10px;
  max-height: 360px; /* ~5 items visible closed */
  overflow-y: auto;
  overscroll-behavior: contain;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-right: 6px;
}
.announcements-list-wrapper--compact .announcements-container::-webkit-scrollbar{ width:0; height:0; }
.announcements-list-wrapper--compact .announcements-container > *{
  flex: 0 0 auto;
}
.announcements-list-wrapper--compact .announcement-item{
  padding: 10px 12px;
  gap: 10px;
}
.announcements-list-wrapper--compact .ann-item-icon{
  width: 44px;
  height: 44px;
}
.announcements-list-wrapper--compact .ann-toggle-btn{
  width: 38px;
  height: 38px;
}
.announcements-list-wrapper--compact .ann-item-header strong{
  font-size: 0.98rem;
}
.announcements-list-wrapper--compact .ann-item-date{
  font-size: 0.78rem;
}
.announcements-list-wrapper--compact .announcement-item.ann-accordion{
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.announcements-list-wrapper--compact .announcement-item.ann-accordion:hover,
.announcements-list-wrapper--compact .announcement-item.ann-accordion.is-open{
  transform: translateY(-1px);
  border-color: rgba(220, 38, 38, 0.24);
  background:
    radial-gradient(180px 90px at 0% 0%, rgba(220, 38, 38, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}
.announcements-list-wrapper--compact .announcement-item.ann-accordion:hover .ann-toggle-btn,
.announcements-list-wrapper--compact .announcement-item.ann-accordion.is-open .ann-toggle-btn{
  border-color: rgba(220, 38, 38, 0.24);
  background: rgba(220, 38, 38, 0.1);
}
.announcement-item.ann-accordion {
  flex-direction: column;
}
.announcement-item.ann-accordion .ann-acc-header {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 100%;
}
.announcement-item.ann-accordion .ann-item-body {
  min-width: 0;
}
.announcement-item.ann-accordion .ann-item-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}
.ann-toggle-btn {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--white-5);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  flex-shrink: 0;
}
.ann-toggle-btn:hover {
  background: var(--white-10);
  border-color: var(--ann-border);
}
.ann-toggle-btn svg {
  width: 18px;
  height: 18px;
  color: var(--ann-color);
  transition: transform 0.2s ease;
}
.announcement-item.ann-accordion.is-open .ann-toggle-btn svg {
  transform: rotate(180deg);
}
.ann-acc-content {
  margin-left: 69px; /* icon(55) + gap(14) */
  padding-top: 10px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.22s ease;
}
.ann-acc-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: normal;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
@media (max-width: 520px) {
  .ann-acc-content {
    margin-left: 0;
  }
}

/* Admin duyuru ikonları */
.ann-admin-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white-5);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.ann-admin-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ann-admin-icon svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}
.ann-icon-upload {
  border: 1px solid var(--border-color);
  background: var(--white-5);
  border-radius: 14px;
  padding: 12px;
}
.ann-icon-upload-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.ann-icon-upload-title strong {
  display: block;
  font-weight: 800;
  color: var(--text-primary);
  font-size: 0.95rem;
  letter-spacing: -0.2px;
}
.ann-icon-upload-title span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 3px;
}
.ann-icon-preview {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ann-icon-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ann-icon-upload input[type="file"] {
  width: 100%;
}
.ann-icon-remove {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  user-select: none;
}

/* Tasks / XP / Level */
.task-level-card .dash-card-body {
  padding: 16px;
}
.task-level-kpi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.task-level-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.task-level-badge {
  min-width: 64px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: -0.4px;
  color: #fff;
  background: linear-gradient(135deg, rgba(220,38,38,0.92), rgba(220,38,38,0.55));
  box-shadow: 0 12px 26px rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(255,255,255,0.10);
}
.task-level-meta .task-level-xp {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 800;
}
.task-level-meta .task-level-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 3px;
}
.task-level-rewards {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.task-reward-chip {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  background: var(--white-5);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.task-level-bar {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.05);
}
.task-level-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(220,38,38,0.95), rgba(244,63,94,0.85));
  box-shadow: 0 10px 20px rgba(220,38,38,0.18);
}
.task-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.task-day-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--white-5);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.78rem;
}
.task-day-chip svg {
  width: 15px;
  height: 15px;
}
.task-summary-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.task-summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--white-5);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.8rem;
}
.task-summary-chip strong {
  color: var(--text-primary);
  font-weight: 900;
}
.task-summary-chip svg {
  width: 15px;
  height: 15px;
}
.task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.task-item {
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)), var(--bg-card);
  box-shadow: 0 12px 28px var(--shadow-soft);
  padding: 14px 16px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  overflow: hidden;
  position: relative;
}
.task-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(220,38,38,0.9), rgba(255,255,255,0));
  opacity: 0.9;
}
.task-item.is-complete::before { background: linear-gradient(180deg, rgba(16,185,129,0.95), rgba(255,255,255,0)); }
.task-item.is-claimed::before { background: linear-gradient(180deg, rgba(59,130,246,0.95), rgba(255,255,255,0)); }
.task-item.is-submitted::before { background: linear-gradient(180deg, rgba(245,158,11,0.95), rgba(255,255,255,0)); }
.task-item.is-rejected::before { background: linear-gradient(180deg, rgba(239,68,68,0.95), rgba(255,255,255,0)); }
.task-main {
  flex: 1;
  min-width: 0;
}
.task-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.task-title {
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.25px;
  line-height: 1.2;
  min-width: 0;
}
.task-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  opacity: 0.92;
  margin-bottom: 10px;
}
.task-xp-chip {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
  background: rgba(220, 38, 38, 0.92);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.task-tier-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  background: var(--white-5);
}
.task-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.task-progress {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}
.task-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), rgba(220,38,38,0.78));
}
.task-item.is-complete .task-progress-fill { background: linear-gradient(90deg, rgba(16,185,129,0.35), rgba(16,185,129,0.95)); }
.task-item.is-claimed .task-progress-fill { background: linear-gradient(90deg, rgba(59,130,246,0.35), rgba(59,130,246,0.95)); }
.task-progress-label {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-secondary);
  min-width: 70px;
  text-align: right;
}
.task-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}
.task-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--white-5);
  color: var(--text-secondary);
  font-weight: 800;
  font-size: 0.78rem;
  white-space: nowrap;
}
.task-status-chip svg {
  width: 15px;
  height: 15px;
}
@media (max-width: 640px) {
  .task-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .task-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .task-title-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Dashboard daily tasks (game-like) */
.task-media-archive{
  margin-top: 10px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--white-5);
  padding: 10px 12px;
}
.task-media-archive > summary{
  cursor: pointer;
  font-weight: 950;
  color: var(--text-primary);
  list-style: none;
}
.task-media-archive > summary::-webkit-details-marker{ display:none; }
.task-media-grid{
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 10px;
  max-height: 240px;
  overflow: auto;
  padding-right: 6px;
}
.task-media-item{
  display: block;
  cursor: pointer;
}
.task-media-item input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.task-media-thumb{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.task-media-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.task-media-item input:checked + .task-media-thumb{
  border-color: rgba(220,38,38,0.55);
  box-shadow: 0 12px 26px rgba(220,38,38,0.18);
  transform: translateY(-1px);
}
.task-media-current{
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.task-media-current img{
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.04);
}
.task-media-remove{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: var(--text-secondary);
}
/* Admin /admin/gorevler tablo önizlemesi */
.admin-task-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
}
.admin-task-thumb img {
  max-width: 34px;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  vertical-align: middle;
}
.tasks-card-header{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.dash-card-header.tasks-card-header{
  padding: 0;
  border-bottom: 0;
  gap: 0;
}
.tasks-mini-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tasks-mini-level {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--white-5);
}
.tasks-mini-level-badge {
  width: 50px;
  height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(220,38,38,0.95), rgba(244,63,94,0.72));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.20);
}
.tasks-mini-level-num{
  font-weight: 950;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: -0.4px;
}
.tasks-mini-level-suf{
  margin-top: 2px;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  opacity: 0.9;
}
.tasks-mini-level-text {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-secondary);
  white-space: nowrap;
}
.tasks-mini-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tasks-chest-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: auto;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  color: var(--text-primary);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.tasks-chest-img{
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
  image-rendering: auto;
  /* translateZ(0) + backface-visibility bazı tarayıcılarda alt piksel bulanıklığına yol açabiliyor */
}
.tasks-chest-btn:hover {
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}
.tasks-chest-btn.is-ready {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.16);
  animation: tasksChestPulse 1.05s ease-in-out infinite;
}
.tasks-chest-btn:active{
  opacity: 0.9;
}

@keyframes tasksChestPulse {
  0%, 100% {
    box-shadow: 0 10px 26px rgba(245, 158, 11, 0.16);
    border-color: rgba(245, 158, 11, 0.45);
  }
  50% {
    box-shadow: 0 14px 34px rgba(245, 158, 11, 0.32);
    border-color: rgba(251, 191, 36, 0.65);
  }
}
.tasks-chest-label {
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.2px;
  line-height: 1.05;
}
.tasks-chest-pill{
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.24);
  color: rgba(245, 158, 11, 0.98);
}
.tasks-chest-pill--dot{
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  text-indent: -99px;
  background: radial-gradient(circle at 35% 30%, #fde68a, #f59e0b 55%, #b45309);
  border: 1px solid rgba(251, 191, 36, 0.85);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2), 0 4px 12px rgba(245, 158, 11, 0.35);
}
.tasks-top-left{
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.tasks-top-title-row{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
  width: 100%;
}
.tasks-top-title-group{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 100%;
}
.tasks-help-trigger--strip{
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--accent);
  color: var(--white-fixed);
  cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-alpha);
  transition: transform 0.15s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.tasks-help-trigger--strip:hover{
  background: var(--accent-hover);
  box-shadow: 0 8px 25px var(--shadow-accent);
  transform: translateY(-1px);
}
.tasks-help-trigger--strip:active{
  transform: translateY(0);
}
.tasks-help-trigger--strip svg{
  width: 18px;
  height: 18px;
  stroke-width: 2.25px;
}
body.tasks-help-open{
  overflow: hidden;
}
.tasks-help-backdrop{
  position: fixed;
  inset: 0;
  z-index: 12040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: var(--overlay-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tasks-help-backdrop[hidden]{
  display: none !important;
}
.tasks-help-dialog{
  position: relative;
  box-sizing: border-box;
  width: fit-content;
  max-width: min(1520px, calc(100vw - 24px));
  max-height: min(88vh, 920px);
  overflow-y: auto;
  overflow-x: hidden;
  margin: auto;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: 0 24px 60px var(--shadow-strong), inset 0 1px 0 var(--glass-highlight);
  padding: 22px 24px 22px;
}
.tasks-help-main{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  box-sizing: border-box;
  width: min(720px, calc(100vw - 24px - 48px));
  max-width: 100%;
}
.tasks-help-table-zone{
  width: 100%;
  max-width: none;
  margin: 0;
}
.tasks-help-head--over-table{
  text-align: center;
  padding: 0 12px 2px;
}
.tasks-help-head--over-table .tasks-help-title{
  margin: 0 0 8px;
}
.tasks-help-head--over-table .tasks-help-lead{
  margin: 0 auto 14px;
  max-width: 38em;
}
.tasks-help-head--over-table .tasks-help-lead strong{
  color: rgba(245, 158, 11, 0.98);
  font-weight: 950;
}
[data-theme="light"] .tasks-help-head--over-table .tasks-help-lead strong{
  color: rgba(180, 83, 9, 0.98);
}
.tasks-help-col--rewards{
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  align-self: start;
}
.tasks-help-col--rewards .tasks-help-table-title{
  margin-top: 0;
}
.tasks-help-head:not(.tasks-help-head--over-table){
  text-align: center;
}
.tasks-help-head:not(.tasks-help-head--over-table) .tasks-help-lead{
  margin-left: auto;
  margin-right: auto;
  max-width: none;
}
.tasks-help-head:not(.tasks-help-head--over-table) .tasks-help-lead strong{
  color: rgba(245, 158, 11, 0.98);
  font-weight: 950;
}
[data-theme="light"] .tasks-help-head:not(.tasks-help-head--over-table) .tasks-help-lead strong{
  color: rgba(180, 83, 9, 0.98);
}
.tasks-help-reward-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
.tasks-help-reward-tile{
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 6px 10px;
  background: var(--glass-bg);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.tasks-help-reward-tile-num{
  font-size: 1.02rem;
  font-weight: 950;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.tasks-help-reward-tile-amt{
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(245, 158, 11, 0.95);
  line-height: 1.2;
  word-break: break-word;
}
[data-theme="light"] .tasks-help-reward-tile{
  background: var(--bg-secondary);
  border-color: var(--border-color);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.tasks-help-col--rewards .tasks-help-table-wrap{
  margin: 0;
  height: fit-content;
  max-height: none;
  overflow: visible;
  flex: 0 0 auto;
  align-self: start;
  width: 100%;
  display: block;
  min-height: 0;
}
.tasks-help-reward-intro{
  margin: 0 0 10px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-secondary);
  text-align: center;
}
.tasks-help-reward-intro strong{
  color: rgba(245, 158, 11, 0.95);
  font-weight: 900;
}
[data-theme="light"] .tasks-help-dialog{
  background: var(--bg-card);
  border-color: var(--border-color);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}
.tasks-help-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.tasks-help-close:hover{ color: var(--text-primary); }
.tasks-help-title{
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -0.4px;
  color: var(--text-primary);
}
.tasks-help-lead{
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
}
.tasks-help-dialog .tasks-help-lead{
  white-space: normal;
  max-width: 38em;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.62rem, 0.35rem + 1.85vw, 0.92rem);
  line-height: 1.45;
}
.tasks-help-table-wrap{
  border-radius: 14px;
  border: 1px solid var(--border-color);
  padding: 12px 14px 10px;
  background: var(--bg-secondary);
}
.tasks-help-table-wrap.tasks-help-table-wrap--rewards-split{
  padding: 11px 12px 8px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.tasks-help-table-wrap.tasks-help-table-wrap--rewards-split > *{
  flex: 0 0 auto;
}
[data-theme="light"] .tasks-help-table-wrap{
  background: var(--bg-secondary);
  border-color: var(--border-color);
}
.tasks-help-table-title{
  margin: 0 0 8px;
  font-size: 0.92rem;
  font-weight: 950;
  color: var(--text-primary);
  line-height: 1.2;
  text-align: center;
}
@media (max-width: 900px) {
  .tasks-help-main{
    gap: 14px;
    width: min(720px, calc(100vw - 16px - 24px));
  }
  .tasks-help-dialog{
    width: fit-content;
    max-width: min(1520px, calc(100vw - 16px));
    padding: 16px 12px 18px;
  }
  .tasks-help-head .tasks-help-title{
    font-size: 1.15rem;
    padding-right: 36px;
  }
  .tasks-help-dialog .tasks-help-lead{
    font-size: clamp(0.58rem, 0.28rem + 2.1vw, 0.88rem);
    margin-bottom: 12px;
  }
  .tasks-help-col--rewards .tasks-help-table-wrap{
    border-radius: 12px;
    padding: 10px 8px 8px;
  }
  .tasks-help-reward-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .tasks-help-reward-tile{
    padding: 7px 5px 9px;
    border-radius: 9px;
  }
  .tasks-help-reward-tile-num{
    font-size: 0.95rem;
  }
  .tasks-help-reward-tile-amt{
    font-size: 0.74rem;
  }
}
.admin-tasks-bottom-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 16px;
  align-items: stretch;
  margin-top: 4px;
}
.admin-tasks-bottom-card{
  min-width: 0;
}
@media (max-width: 1100px) {
  .admin-tasks-bottom-grid{
    grid-template-columns: 1fr;
  }
}
.admin-tasks-table-meta{
  padding: 10px 16px 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
}
.admin-tasks-pagination{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.admin-tasks-page-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.admin-tasks-page-link:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}
.admin-tasks-page-link.is-current{
  border-color: rgba(220,38,38,0.45);
  background: rgba(220,38,38,0.12);
  color: var(--text-primary);
}
.admin-tasks-chest-card .dash-card-header{
  padding-bottom: 8px;
}
.admin-tasks-chest-panel{
  padding: 0 16px 16px;
}
.admin-tasks-chest-toolbar{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.admin-tasks-chest-thumb{
  align-self: center;
  width: 88px;
  height: 88px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
}
.admin-tasks-chest-thumb img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.admin-tasks-chest-controls{
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-width: 0;
}
.admin-tasks-chest-formstack{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  width: 100%;
  align-items: stretch;
}
.admin-tasks-chest-input{
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 0.85rem;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}
.admin-tasks-chest-submit{
  width: 100%;
  justify-content: center;
}
.admin-tasks-chest-warn{
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.tasks-proof-swal.swal2-popup{
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  background: linear-gradient(165deg, rgba(26,28,36,0.98), rgba(12,14,20,0.98)) !important;
  box-shadow: 0 28px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06) !important;
  padding: 0 0 18px !important;
}
[data-theme="light"] .tasks-proof-swal.swal2-popup{
  background: linear-gradient(165deg, rgba(255,255,255,0.98), rgba(246,247,250,0.98)) !important;
  border-color: var(--border-color) !important;
  box-shadow: 0 24px 60px rgba(15,23,42,0.14) !important;
}
.tasks-proof-swal-title.swal2-title{
  padding: 18px 22px 10px !important;
  margin: 0 !important;
  font-size: 1.12rem !important;
  font-weight: 950 !important;
  letter-spacing: -0.2px !important;
  color: var(--text-primary) !important;
}
.tasks-proof-swal-html.swal2-html-container{
  margin: 0 !important;
  padding: 0 22px 4px !important;
  text-align: left !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}
.tasks-proof-swal-actions.swal2-actions{
  padding: 14px 22px 0 !important;
  margin: 0 !important;
  gap: 10px !important;
}
.tasks-proof-swal-confirm.swal2-confirm{
  border-radius: 12px !important;
  font-weight: 950 !important;
  padding: 10px 22px !important;
}
.tasks-proof-swal-cancel.swal2-cancel{
  border-radius: 12px !important;
  border: 1px solid var(--border-color) !important;
  background: rgba(255,255,255,0.05) !important;
  color: var(--text-primary) !important;
  font-weight: 900 !important;
}
.tasks-proof-shell{
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: manual;
  -webkit-hyphens: manual;
}
.tasks-proof-goto-wrap{
  margin: 0;
  flex-shrink: 0;
}
a.tasks-proof-goto-link{
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.38);
  background: rgba(56, 189, 248, 0.1);
  color: #e0f2fe;
  font-weight: 750;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
a.tasks-proof-goto-link:hover{
  border-color: rgba(125, 211, 252, 0.58);
  background: rgba(56, 189, 248, 0.18);
  color: #f8fafc;
  transform: translateY(-1px);
}
a.tasks-proof-goto-link:focus-visible{
  outline: 2px solid rgba(56, 189, 248, 0.75);
  outline-offset: 2px;
}
.tasks-proof-goto-ico{
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.tasks-proof-goto-ico svg{
  width: 18px;
  height: 18px;
}
.tasks-proof-goto-label{
  letter-spacing: 0.03em;
}
[data-theme="light"] a.tasks-proof-goto-link{
  border-color: rgba(2, 132, 199, 0.35);
  background: rgba(224, 242, 254, 0.75);
  color: #0c4a6e;
}
[data-theme="light"] a.tasks-proof-goto-link:hover{
  border-color: rgba(2, 132, 199, 0.5);
  background: rgba(186, 230, 253, 0.95);
  color: #082f49;
}
.tasks-proof-intro{
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
  word-break: normal;
  overflow-wrap: break-word;
}
[data-theme="light"] .tasks-proof-intro{
  border-color: var(--border-color);
  background: rgba(15, 23, 42, 0.04);
}
.tasks-proof-field{
  margin-bottom: 0;
}
.tasks-proof-file-label,
.tasks-proof-ta-label{
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.tasks-proof-optional{
  font-weight: 700;
  color: var(--text-secondary);
}
.tasks-proof-file-input{
  width: 100%;
  font-size: 0.84rem;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
}
.tasks-proof-textarea{
  width: 100%;
  min-height: 88px;
  resize: vertical;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.86rem;
  line-height: 1.45;
}
.tasks-top-strip{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin: 12px 16px 8px 16px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015)), var(--bg-card);
}
.tasks-top-strip--header{
  margin: 0;
  padding: 16px 16px 14px 16px;
  grid-template-columns: 1fr minmax(260px, 1fr) auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.tasks-top-mid{ min-width: 0; }
.tasks-top-mid{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.tasks-top-strip--header .tasks-top-bar{
  align-items: center;
  min-width: 260px;
  padding-top: 0;
}
.tasks-top-strip--header .tasks-top-bar-track{
  width: 260px;
}
.tasks-level-mini-row{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.tasks-level-mini-lines{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.05;
}
.tasks-level-mini-title{
  font-weight: 950;
  font-size: 0.88rem;
  letter-spacing: -0.2px;
  color: var(--text-primary);
  opacity: 0.95;
}
.tasks-level-mini-xp{
  margin-top: 4px;
  font-weight: 900;
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.tasks-top-right{
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.tasks-top-title{
  font-size: 1.12rem;
  font-weight: 950;
  letter-spacing: -0.4px;
  color: var(--text-primary);
  line-height: 1.1;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tasks-top-sub{
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}
.tasks-top-bar{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 220px;
}
.tasks-top-bar-track{
  width: 220px;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.05);
}
.tasks-top-bar-fill{
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(220,38,38,0.85), rgba(245,158,11,0.95));
  box-shadow: 0 10px 20px rgba(220,38,38,0.14);
}
.tasks-top-bar-text{
  font-size: 0.82rem;
  font-weight: 950;
  color: var(--text-secondary);
}

.tasks-tabs-wrap--header{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 16px 14px;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  min-width: 0;
}
.tasks-tabs.tasks-tabs--header{
  flex: 1 1 0%;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
}
.tasks-help-trigger--tab{
  flex: 0 0 42px;
  align-self: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: var(--accent);
  color: var(--white-fixed);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-alpha);
  transition: transform 0.15s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.tasks-help-trigger--tab:hover{
  background: var(--accent-hover);
  box-shadow: 0 8px 25px var(--shadow-accent);
  transform: translateY(-1px);
}
.tasks-help-trigger--tab:active{
  transform: translateY(0);
}
.tasks-help-trigger--tab svg{
  width: 20px;
  height: 20px;
  stroke-width: 2.25px;
}

.tasks-tabs{
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin: 6px 0 12px 0;
}
.tasks-tabs--header{
  padding: 0;
  margin: 0;
  gap: 8px;
  border: 0;
}
.tasks-tab-btn{
  appearance: none;
  border: 1px solid var(--border-color);
  background: var(--white-5);
  color: var(--text-primary);
  cursor: pointer;
  padding: 10px 10px;
  border-radius: 14px;
  font-weight: 950;
  font-size: 0.9rem;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.tasks-tabs--header .tasks-tab-btn{
  flex: 1 1 0;
  min-width: 0;
  padding: 9px 8px;
  border-radius: 12px;
  font-size: 0.88rem;
}
.tasks-card-header + .table-responsive{
  overflow-x: clip;
}

.daily-task-card.is-extra-hidden{ display:none; }
.tasks-tab-btn:hover{
  transform: translateY(-1px);
  background: var(--white-10);
}
.tasks-tab-btn.is-active{
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 12px 26px rgba(0,0,0,0.16);
}
.daily-tasks-list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tasks-scroll-list{
  /* show ~5-6 tasks then scroll */
  max-height: clamp(260px, 40vh, 340px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  -ms-overflow-style: none;
  scrollbar-width: none;
  min-height: 0;
  padding: 12px;
}
.tasks-scroll-list::-webkit-scrollbar{ width: 0; height: 0; }
.tasks-scroll-list > .daily-task-card,
.tasks-scroll-list > .empty-cart-premium{
  flex: 0 0 auto;
}
.tasks-scroll-list > .empty-cart-premium{
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  margin: 0;
}
.daily-task-card {
  order: 1;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.038), rgba(255,255,255,0.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035), 0 10px 24px rgba(0,0,0,0.14);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.daily-task-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(220,38,38,0.95), rgba(245,158,11,0.70));
  opacity: 0.85;
}
.daily-task-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  background: radial-gradient(160px 90px at 16% 20%, rgba(255,255,255,0.04), rgba(0,0,0,0) 65%);
  opacity:0.9;
}
.daily-task-card.is-ready::before {
  background: linear-gradient(180deg, rgba(59,130,246,0.95), rgba(147,51,234,0.55));
}
.daily-task-card.is-ready{
  order: 0;
  border-color: rgba(59,130,246,0.22);
  background: linear-gradient(180deg, rgba(59,130,246,0.08), rgba(255,255,255,0.018));
}
.daily-task-card.is-ready::after{
  background: radial-gradient(160px 90px at 16% 20%, rgba(59,130,246,0.08), rgba(0,0,0,0) 65%);
}
.daily-task-card.is-claimed::before {
  background: linear-gradient(180deg, rgba(16,185,129,0.95), rgba(34,197,94,0.60));
}
.daily-task-card.is-claimed{
  order: 3;
  opacity: 0.82;
}
.daily-task-card.is-claimed::after{
  background: radial-gradient(160px 90px at 16% 20%, rgba(16,185,129,0.08), rgba(0,0,0,0) 65%);
}
.daily-task-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}
.daily-task-ico {
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
}
.daily-task-ico svg {
  width: 24px;
  height: 24px;
  color: rgba(255,255,255,0.85);
}
.daily-task-ico img{
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}
.daily-task-body { min-width: 0; flex: 1 1 auto; }
.daily-task-title-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.daily-task-title {
  min-width: 0;
  font-weight: 950;
  letter-spacing: -0.25px;
  color: var(--text-primary);
  line-height: 1.2;
  font-size: 0.98rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.daily-task-progress-row {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.daily-task-progress {
  flex: 1 1 auto;
  width: auto;
  min-width: 160px;
  max-width: 520px;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.045);
}
.daily-task-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), rgba(220,38,38,0.78));
}
.daily-task-card.is-ready .daily-task-progress-fill {
  background: linear-gradient(90deg, rgba(59,130,246,0.35), rgba(59,130,246,0.95));
}
.daily-task-card.is-claimed .daily-task-progress-fill {
  background: linear-gradient(90deg, rgba(16,185,129,0.35), rgba(16,185,129,0.95));
}
.daily-task-progress-text {
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0.9;
}
.daily-task-reward-inline{
  margin-left: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 24px;
  font-size: 0.74rem;
  font-weight: 850;
  color: var(--text-secondary);
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  white-space: nowrap;
  letter-spacing: 0.1px;
  line-height: 1;
}
.daily-task-card.is-ready .daily-task-reward-inline{
  border-color: rgba(59,130,246,0.22);
  background: rgba(59,130,246,0.08);
  color: rgba(219,234,254,0.95);
}
.daily-task-card.is-claimed .daily-task-reward-inline{
  border-color: rgba(16,185,129,0.22);
  background: rgba(16,185,129,0.08);
  color: rgba(209,250,229,0.95);
}
.daily-task-reward {
  margin-top: 3px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.daily-task-reward strong {
  color: var(--text-primary);
  font-weight: 950;
}
.daily-task-right {
  flex-shrink: 0;
}
.daily-task-card{
  gap: 10px;
}
.daily-task-btn{
  min-width: 86px;
}
.daily-task-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 36px;
  padding: 0 14px;
  border-radius: 14px;
  font-weight: 950;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255,255,255,0.10);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
  user-select: none;
}
.daily-task-btn:active{
  transform: translateY(0) scale(0.98);
}

.task-details-toggle{
  width: 32px;
  height: 32px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  flex: 0 0 auto;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.task-details-toggle:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.06);
}
.daily-task-card.is-open .task-details-toggle{
  transform: rotate(180deg);
}
.task-details{
  width: 100%;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.10);
}
.task-details-title{
  font-weight: 950;
  color: var(--text-primary);
  letter-spacing: -0.25px;
}
.task-details-desc{
  margin-top: 6px;
  color: var(--text-secondary);
  line-height: 1.35;
  font-size: 0.9rem;
}

.daily-task-card.is-open{
  padding-bottom: 14px;
}

.daily-task-btn.is-go {
  background: var(--accent);
  color: var(--white-fixed);
  border-color: transparent;
  box-shadow: 0 4px 15px var(--accent-alpha);
}
.daily-task-btn.is-go:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 25px var(--shadow-accent);
  filter: none;
}
.daily-task-btn.is-collect {
  background: linear-gradient(135deg, rgba(16,185,129,0.60), rgba(16,185,129,0.92));
  color: #fff;
  border-color: rgba(16,185,129,0.35);
  box-shadow: 0 10px 22px rgba(16,185,129,0.14);
}
.daily-task-btn.is-disabled {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  color: rgba(255,255,255,0.72);
  border-color: rgba(255,255,255,0.10);
  cursor: not-allowed;
}
.daily-task-card.is-claimed .daily-task-btn.is-disabled{
  background: linear-gradient(135deg, rgba(16,185,129,0.14), rgba(16,185,129,0.08));
  color: rgba(209,250,229,0.92);
  border-color: rgba(16,185,129,0.22);
}
.daily-task-card.is-claimed .daily-task-btn.is-disabled::after{
  content: " ✓";
  font-weight: 950;
}
.daily-task-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.daily-task-btn.is-disabled:hover{
  transform: none;
  filter: none;
}
.task-fly-dot {
  position: fixed;
  z-index: 9999;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(0,0) scale(1);
  transition: transform 0.52s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.52s ease;
  pointer-events: none;
}
.task-fly-dot svg { width: 18px; height: 18px; color: rgba(255,255,255,0.9); }
.task-fly-dot img { width: 20px; height: 20px; object-fit: cover; border-radius: 8px; display:block; }
@media (max-width: 700px) {
  .tasks-top-strip { grid-template-columns: 1fr; }
  /* Header stays single-row on mobile */
  .tasks-top-strip--header{
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }
  .tasks-top-left{
    min-width: 0;
    max-width: 100%;
  }
  .tasks-top-title{
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15;
  }
  .tasks-top-sub{ display:none; }

  .tasks-top-mid{
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    overflow: hidden;
  }
  .tasks-level-mini-row{ justify-content: flex-start; gap: 8px; }
  .tasks-level-mini-title{ display:none; }
  .tasks-level-mini-xp{
    display: none !important;
  }

  .tasks-top-bar{
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }
  .tasks-top-bar-track{ width: 140px; height: 10px; }
  .tasks-top-strip--header .tasks-top-bar-track { width: 140px; }
  .tasks-top-strip--header .tasks-top-bar { min-width: 0; }

  .tasks-top-right{ justify-content: flex-end; flex-shrink: 0; }
  .tasks-chest-btn{
    flex-shrink: 0;
    max-width: 96px;
    padding: 6px 8px;
  }
  .tasks-chest-label{
    font-size: 0.68rem;
    line-height: 1.1;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
  }
  .daily-task-card{
    flex-direction: column;
    align-items: stretch;
    padding: 11px 12px;
    gap: 10px;
  }
  .daily-task-left{
    width: 100%;
  }
  .daily-task-progress-row{
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    row-gap: 6px;
  }
  .daily-task-progress{
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    width: 100%;
    order: 0;
  }
  .daily-task-progress-text{
    flex: 0 0 auto;
    font-size: 0.72rem;
  }
  .daily-task-reward-inline{
    flex: 0 1 auto;
    margin-left: 0;
    font-size: 0.68rem;
    height: auto;
    min-height: 22px;
    padding: 4px 8px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: none;
  }
  .daily-task-right{
    width: 100%;
    display: flex;
    justify-content: stretch;
    align-self: stretch;
  }
  .daily-task-btn{
    min-width: 0;
    width: 100%;
    max-width: none;
    height: 34px;
    padding: 0 12px;
    font-size: 0.78rem;
  }
  .daily-task-title{
    font-size: 0.88rem;
  }
  .daily-task-ico{
    width: 40px;
    height: 40px;
  }
  .daily-task-ico svg{
    width: 20px;
    height: 20px;
  }
  .daily-task-ico img{
    width: 36px;
    height: 36px;
  }
  .task-details-toggle{
    width: 28px;
    height: 28px;
  }
  .tasks-tabs-wrap--header{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px 12px;
  }
  .tasks-tabs.tasks-tabs--header{
    flex: 1 1 0%;
    min-width: 0;
    width: auto;
    max-width: none;
  }
  .tasks-help-trigger--tab{
    align-self: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }
  .tasks-tabs--header .tasks-tab-btn{
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 4px;
    font-size: clamp(0.68rem, 3.2vw, 0.8rem);
    line-height: 1.15;
  }
  .tasks-chest-img{ width: 40px; height: 40px; }
}
.announcement-item {
  --ann-color: var(--accent);
  --ann-tint: rgba(220, 38, 38, 0.06);
  --ann-border: rgba(220, 38, 38, 0.18);
  border-radius: 16px;
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.02) 100%), var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 28px var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.announcement-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ann-color), rgba(255, 255, 255, 0));
  opacity: 0.9;
}
.announcement-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.announcement-item:hover {
  transform: translateY(-2px);
  border-color: var(--ann-border);
  box-shadow: 0 18px 40px var(--shadow-medium);
}
.announcement-item:active {
  transform: translateY(-1px);
}
.ann-item-icon {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.announcement-item:hover .ann-item-icon {
  transform: scale(1.03);
}
.announcement-item svg {
  width: 24px;
  height: 24px;
  color: var(--ann-color);
}
.ann-item-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.ann-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
}
.ann-item-header strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.25px;
  line-height: 1.2;
}
.ann-item-date {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--white-5);
  border: 1px solid var(--border-color);
  padding: 6px 10px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.95;
}
.ann-item-content {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  opacity: 0.92;
  white-space: pre-line;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Duyurular: daha okunaklı sistem fontu */
.announcement-item .ann-item-body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}
.ann-page-item .ann-item-content {
  overflow: visible;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}
.announcement-item.ann-info {
  --ann-color: #3b82f6;
  --ann-tint: rgba(59, 130, 246, 0.08);
  --ann-border: rgba(59, 130, 246, 0.22);
}
.announcement-item.ann-success {
  --ann-color: #10b981;
  --ann-tint: rgba(16, 185, 129, 0.08);
  --ann-border: rgba(16, 185, 129, 0.22);
}
.announcement-item.ann-warning {
  --ann-color: #f59e0b;
  --ann-tint: rgba(245, 158, 11, 0.08);
  --ann-border: rgba(245, 158, 11, 0.22);
}
.announcement-item.ann-danger {
  --ann-color: #ef4444;
  --ann-tint: rgba(239, 68, 68, 0.08);
  --ann-border: rgba(239, 68, 68, 0.22);
}
.announcement-item.ann-info svg {
  color: #3b82f6;
}
.announcement-item.ann-success svg {
  color: #10b981;
}
.announcement-item.ann-warning svg {
  color: #f59e0b;
}
.announcement-item.ann-danger svg {
  color: #ef4444;
}
.ann-item-header svg {
  color: var(--ann-color);
}
@media (max-width: 520px) {
  .ann-item-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
.cf-turnstile {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 20px 0;
}
.market-section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}
.market-section.home-market-top {
  /* Sabit header; .home-hero ile aynı üst boşluk */
  padding-top: calc(var(--site-header-offset) + 0.35rem);
  overflow: hidden;
}
@media (min-width: 1025px) {
  .market-section.home-market-top {
    padding-top: calc(var(--site-header-offset) + 10px);
  }
}
.market-section.home-market-top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 280px;
  background:
    radial-gradient(900px 260px at 50% 10%, rgba(220, 38, 38, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.market-section.home-market-top > .container {
  position: relative;
  z-index: 1;
}
.market-section .section-header {
  text-align: center;
  margin-bottom: 22px;
  padding-bottom: 0;
}
.market-section .section-header::before,
.market-section .section-header::after {
  display: none;
}
.market-hero-icon {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: var(--section-card-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 26px var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px 0;
  color: var(--accent);
}
.market-hero-icon svg {
  width: 28px;
  height: 28px;
}
.market-hero-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
.mh-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}
.mh-chip svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  opacity: 0.95;
}
.market-section .store-filters-container {
  margin-bottom: 30px;
}
.home-market-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 20px;
}

/* Panel Market - SweetAlert purchase modal refinements */
.pm-store-sw-purchase.swal-purchase-container {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}
.pm-store-sw-purchase .swal-purchase-card {
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.pm-store-sw-purchase .swal-purchase-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 16px;
  align-items: start;
  max-width: 100%;
}
.pm-store-sw-purchase .swal-purchase-item strong {
  white-space: nowrap;
  padding-top: 2px;
}
.pm-store-sw-purchase .swal-purchase-item span {
  text-align: right;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.45;
  min-width: 0;
}
.pm-store-sw-purchase .pm-sw-qty-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.pm-store-sw-purchase .pm-sw-qty-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}
.pm-store-sw-purchase .pm-sw-qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.pm-store-sw-purchase .pm-sw-qty-btn:hover {
  background: rgba(var(--accent-rgb, 107, 70, 193), 0.1);
  border-color: rgba(var(--accent-rgb, 107, 70, 193), 0.25);
  transform: translateY(-1px);
}
.pm-store-sw-purchase .pm-sw-qty-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.pm-store-sw-purchase .pm-sw-qty-btn i {
  width: 16px;
  height: 16px;
}
.pm-store-sw-purchase .pm-sw-qty-input {
  width: 84px;
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--text-primary);
  text-align: center;
  outline: none;
}
.pm-store-sw-purchase .pm-sw-qty-input:focus {
  border-color: rgba(var(--accent-rgb, 107, 70, 193), 0.6);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 107, 70, 193), 0.18);
}
.pm-store-sw-purchase .pm-sw-qty-hint {
  font-size: 0.75rem;
  opacity: 0.7;
}
.store-products-grid .empty-cart-premium {
  grid-column: 1 / -1;
  background: var(--bg-card);
  border-radius: 20px;
  display: none;
}

/* Admin - Telafi Talepleri */
.btn-glass-success {
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
  color: #10b981 !important;
  backdrop-filter: blur(8px);
}
.btn-glass-success:hover {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}
.btn-glass-danger {
  background: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid rgba(239, 68, 68, 0.2) !important;
  color: #ef4444 !important;
  backdrop-filter: blur(8px);
}
.btn-glass-danger:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}
.btn-glass-primary {
  background: rgba(96, 165, 250, 0.1) !important;
  border: 1px solid rgba(96, 165, 250, 0.2) !important;
  color: #60a5fa !important;
  backdrop-filter: blur(8px);
}
.btn-glass-primary:hover {
  background: rgba(96, 165, 250, 0.2) !important;
  border-color: rgba(96, 165, 250, 0.4) !important;
  box-shadow: 0 0 15px rgba(96, 165, 250, 0.15);
}
.file-selected {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--color-success-bg);
  border: 1px solid var(--color-success);
  padding: 12px;
  border-radius: 10px;
  margin-top: 15px;
}
.file-selected.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}
.file-selected-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-success);
}
.comp-message-cell {
  max-width: 320px;
}
.comp-message-preview {
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.8;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.comp-mode-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.mode-option {
  cursor: pointer;
}
.mode-option input {
  display: none;
}
.mode-card {
  background: rgba(var(--accent-rgb, 107, 70, 193), 0.05);
  border: 1.5px solid rgba(var(--accent-rgb, 107, 70, 193), 0.1);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.mode-card i {
  width: 24px;
  height: 24px;
  opacity: 0.6;
}
.mode-card span {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
}
.mode-option input:checked + .mode-card {
  background: rgba(var(--accent-rgb, 107, 70, 193), 0.15);
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(var(--accent-rgb, 107, 70, 193), 0.2);
}
.mode-option input:checked + .mode-card i {
  opacity: 1;
  color: var(--accent);
}

/* Admin - Sipariş Detayı */
.uploaded-files-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}
.uploaded-file-tag {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color, #333);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.uploaded-file-tag span {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.remove-delivered-file {
  background: none;
  border: none;
  padding: 0;
  color: var(--danger);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.remove-delivered-file i {
  width: 12px;
  height: 12px;
}
.manual-upload-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.order-note-admin-box {
  min-width: 260px;
  max-width: 420px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color, #333);
  line-height: 1.55;
  text-align: center;
  margin: 0 auto;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.order-note-admin-box .text-dimmed,
.order-note-admin-box .text-success {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.order-table-head-center {
  text-align: center;
}
.order-table-center {
  text-align: center;
}
.order-table-center .order-item-name-link,
.order-table-center .order-item-details-sub {
  justify-content: center;
}
.order-table-actions {
  justify-content: center !important;
}
.admin-order-header-actions {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
  max-width: none;
  margin-left: auto;
}
.compensation-card {
  min-width: 280px;
  max-width: 550px;
  margin-right: 15px;
  border: 1px solid var(--accent-alpha) !important;
  background: var(--glass-bg);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  backdrop-filter: blur(10px);
}
.comp-card-header {
  background: var(--accent-alpha);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
}
.comp-card-body {
  padding: 14px;
}
.order-comp-message-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.order-comp-message-btn {
  height: 28px;
  padding: 0 10px;
  font-size: 0.75rem;
  white-space: nowrap;
}

/* Wizard validation helpers (admin) */
.wiz-field-error .input-wrapper,
.wiz-field-error.input-wrapper {
  border-color: rgba(239, 68, 68, 0.9) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18) !important;
}

.wiz-shake {
  animation: wizShake 0.45s ease-in-out;
}

@keyframes wizShake {
  0% { transform: translateX(0); }
  15% { transform: translateX(-6px); }
  30% { transform: translateX(6px); }
  45% { transform: translateX(-4px); }
  60% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}

/* Panel - Sipariş Detayı */
.custom-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  margin-top: 10px;
}
.custom-checkbox-wrapper input {
  display: none;
}
.checkbox-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color, #333);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  background: var(--bg-secondary);
}
.custom-checkbox-wrapper input:checked + .checkbox-box {
  background: var(--accent);
  border-color: var(--accent);
}
.custom-checkbox-wrapper input:checked + .checkbox-box::after {
  content: "\2713";
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.checkbox-label {
  font-size: 0.9rem;
  color: var(--text-primary);
}
.manual-downloads-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.manual-downloads-list .btn-download {
  width: auto;
  max-width: 320px;
  font-size: 0.8rem;
  padding: 6px 12px;
}
.order-items-col {
  min-width: 0;
}
.order-items-col .dash-table th,
.order-items-col .dash-table td {
  padding-left: 10px;
  padding-right: 10px;
}
.order-items-col .order-item-name-link {
  white-space: normal;
  word-break: break-word;
  line-height: 1.25;
}
.order-items-col .order-item-details-sub {
  white-space: normal;
}
.btn-download {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.btn-download-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-note-preview {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color, #333);
  font-size: 0.85rem;
  line-height: 1.5;
}
.order-note-template-text {
  color: #ffc63e;
  font-weight: 600;
}
.order-note-template-box {
  padding: 12px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px dashed var(--border-color, #333);
  margin-bottom: 14px;
  white-space: pre-wrap;
  color: #ffc63e;
  font-weight: 600;
}
#order-note-modal .custom-modal-content {
  max-width: 560px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 50% 0%, rgba(220, 38, 38, 0.12), transparent 38%),
    var(--bg-card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
#order-note-modal .custom-modal-header {
  padding: 22px 24px;
}
#order-note-modal .custom-modal-header h3 {
  font-size: 1.18rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}
#order-note-modal .custom-modal-body {
  padding: 22px 24px 24px;
}
.order-note-help {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(220, 38, 38, 0.16);
  background: rgba(220, 38, 38, 0.07);
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.45;
}
.order-note-help svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--accent);
}
#order-note-fields-box {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}
.order-note-field-wrap {
  margin: 0;
}
#order-note-modal .input-wrapper input,
#order-note-modal .input-wrapper textarea {
  min-height: 56px;
  border-radius: 13px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}
#order-note-modal .input-wrapper input:focus,
#order-note-modal .input-wrapper textarea:focus {
  border-color: rgba(220, 38, 38, 0.52);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
#order-note-modal .input-wrapper label {
  color: var(--text-dimmed);
  font-weight: 650;
}
.order-note-submit-btn {
  min-height: 46px;
  border-radius: 13px !important;
  font-weight: 850;
  box-shadow: none;
}
.order-table-product,
.order-table-actions {
  padding: 10px !important;
  text-align: center;
}
.order-table-product .order-item-thumb {
  margin: 0 auto;
}
.order-table-actions .flex-center {
  justify-content: center !important;
  flex-wrap: wrap;
  gap: 6px !important;
}
.order-table-actions .btn {
  min-height: 38px;
  padding-left: 10px;
  padding-right: 10px;
}
.order-table-actions .btn-compensation {
  min-width: 132px;
}

/* Utility */
.d-none {
  display: none !important;
}

/* Panel - Telafi modal extra fields */
#compensation-modal .custom-modal-body {
  padding: 20px 22px 24px;
}
#compensation-modal .comp-section-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dimmed);
}
#compensation-modal .comp-info-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
@media (max-width: 520px) {
  #compensation-modal .comp-info-selector {
    grid-template-columns: 1fr;
  }
}
.comp-info-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.comp-info-option {
  cursor: pointer;
  min-width: 0;
  display: block;
  position: relative;
}
.comp-info-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.comp-info-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 14px;
  min-height: 56px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.comp-info-card:hover {
  border-color: rgba(var(--accent-rgb, 107, 70, 193), 0.45);
  background: var(--bg-card);
}
.comp-info-card i,
.comp-info-card svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.9;
  color: var(--accent);
}
.comp-info-card svg {
  stroke: currentColor;
}
.comp-info-card span {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  text-align: left;
}
.comp-info-option input:focus-visible + .comp-info-card {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.comp-info-option input:checked + .comp-info-card {
  background: var(--bg-secondary);
  border-color: var(--accent);
  box-shadow: none;
}
.comp-file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.comp-file-name {
  font-size: 0.85rem;
  opacity: 0.8;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.comp-section-title {
  font-weight: 700;
}

/* Panel - Telafi iste button countdown */
.btn-compensation {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1.1;
  padding-top: 10px;
  padding-bottom: 10px;
}
.btn-compensation .btn-comp-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}
.btn-compensation.is-locked .btn-comp-main {
  display: none;
}
.btn-compensation .btn-comp-sub {
  font-size: 0.88rem;
  opacity: 0.95;
  font-weight: 800;
  display: block;
  text-align: center;
  line-height: 1.15;
}
.btn-compensation.is-locked {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Admin - Stok Tedarik (Stock Suppliers) */
.pm-stock-suppliers .dash-page-header-right {
  max-width: none;
  flex: 0 0 auto;
}
.pm-stock-suppliers .pm-ss-header-right {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
  min-width: 220px;
}
.pm-stock-suppliers .pm-ss-product-form {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: end;
  gap: 12px;
}
.pm-stock-suppliers .pm-ss-product-select {
  flex: 1;
  min-width: 320px;
}
.pm-stock-suppliers .pm-ss-product-submit {
  white-space: nowrap;
  height: 56px;
}
.pm-stock-suppliers .pm-ss-supplier-row {
  display: grid;
  grid-template-columns: 1fr minmax(160px, 240px) 36px;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.pm-stock-suppliers .pm-ss-col-remove {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.pm-stock-suppliers .pm-ss-remove-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pm-stock-suppliers .pm-ss-remove-btn svg,
.pm-stock-suppliers .pm-ss-remove-btn i {
  width: 18px;
  height: 18px;
}

/* Split grid fine-tune */
.pm-stock-suppliers .pm-ss-split-grid {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}
.pm-stock-suppliers .pm-ss-split-grid > .dash-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pm-stock-suppliers .pm-ss-split-grid .table-responsive {
  flex: 1;
}
.pm-stock-suppliers .pm-ss-table .empty-row td {
  padding: 26px 24px;
}

/* Tablo hizası ve boş durum */
.pm-stock-suppliers .pm-ss-table th,
.pm-stock-suppliers .pm-ss-table td {
  text-align: left;
}
.pm-stock-suppliers .pm-ss-table th:nth-child(2),
.pm-stock-suppliers .pm-ss-table td:nth-child(2),
.pm-stock-suppliers .pm-ss-table th:nth-child(3),
.pm-stock-suppliers .pm-ss-table td:nth-child(3) {
  text-align: center;
  white-space: nowrap;
}
.pm-stock-suppliers .pm-ss-table th:last-child,
.pm-stock-suppliers .pm-ss-table td:last-child {
  text-align: right;
}
.pm-stock-suppliers .pm-ss-table td:first-child a {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .pm-stock-suppliers .pm-ss-product-form {
    grid-template-columns: 1fr;
  }
  .pm-stock-suppliers .pm-ss-product-submit {
    width: 100%;
  }
}
@media (max-width: 640px) {
  .pm-stock-suppliers .pm-ss-product-select {
    min-width: 100%;
  }
  .pm-stock-suppliers .pm-ss-supplier-row {
    grid-template-columns: 1fr 36px;
  }
  .pm-stock-suppliers .pm-ss-col-addr,
  .pm-stock-suppliers .pm-ss-col-cost {
    grid-column: 1 / 2;
  }
  .pm-stock-suppliers .pm-ss-col-remove {
    grid-column: 2 / 3;
    grid-row: 1 / span 2;
  }
}

/* Günün Fırsatları */
.daily-deals-page-section {
  padding: calc(var(--site-header-offset, 110px) + 24px) 0 70px;
}
.daily-deals-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
  min-height: 92px;
  padding: 22px 24px;
  border: 1px solid var(--border-color) !important;
  background: var(--bg-card) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.daily-deals-hero::before {
  display: none;
}
.daily-deals-hero::after {
  display: none;
}
.daily-deals-hero > * {
  position: relative;
  z-index: 2;
}
.daily-deals-hero-title {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.daily-deals-hero-title h1 {
  margin: 0 0 6px;
  color: var(--text-primary);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.1;
}
.daily-deals-hero-title p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 760px;
  font-size: 0.94rem;
  line-height: 1.45;
}
.daily-deals-hero-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(145deg, #7f1d1d, var(--accent)) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 34px var(--accent-alpha), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: var(--white-fixed);
}
.daily-deals-hero-icon svg,
.daily-deals-hero-icon i {
  width: 25px;
  height: 25px;
}
.daily-deals-countdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 14px 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-left-color: rgba(220, 38, 38, 0.8) !important;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(18, 18, 20, 0.94), rgba(8, 8, 9, 0.96)) !important;
  color: var(--text-secondary);
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 26px rgba(0, 0, 0, 0.2);
}
.daily-deals-countdown::before {
  display: none;
}
.daily-deals-countdown svg,
.daily-deals-countdown i {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  padding: 7px;
  box-sizing: content-box;
  border-radius: 10px;
  color: var(--white-fixed);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.daily-deals-countdown span {
  position: relative;
  z-index: 1;
}
.daily-deals-market-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 18px;
  align-items: stretch;
}
.daily-deals-market-grid .product-card {
  height: 100%;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.daily-deals-market-grid .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.daily-deals-market-grid .product-card.product-card--market-v2 .pc-v2-info h3 {
  height: 42px;
  font-size: clamp(0.76rem, 0.22vw + 0.7rem, 0.84rem);
  font-weight: 760;
  line-height: 1.28;
  letter-spacing: -0.016em;
  word-break: normal;
  overflow-wrap: anywhere;
}
.daily-deals-market-grid .product-card.product-card--market-v2 .pc-v2-price-row {
  height: 36px;
  min-height: 36px;
}
.daily-deals-market-grid .product-card.product-card--market-v2 .price-details {
  justify-content: center;
}
.daily-deals-market-grid .product-footer {
  margin-top: auto;
}
.daily-deals-market-grid .product-card.product-card--market-v2 .pc-v2-image {
  aspect-ratio: 1 / 0.94;
}
.daily-deals-market-grid .product-card.product-card--market-v2 .pc-v2-image img {
  object-fit: cover;
  object-position: center;
}
@media (max-width: 768px) {
  .daily-deals-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .daily-deals-countdown {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
  .daily-deals-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 480px) {
  .daily-deals-market-grid {
    grid-template-columns: 1fr !important;
  }
}
