@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Anton&display=swap");
:root {
  --loc-primary: #6C4B53;
  --loc-primary-light: #FCF3EE;
  --loc-secondary: #D2BBAD;
  --loc-accent: #C7956D;
  --loc-accent-light: #F5E6D3;
  --loc-text-dark: #3A2A2E;
  --loc-text-muted: #8C7178;
}

body {
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(135deg, rgb(255, 251, 250) 0%, rgb(252, 243, 238) 50%, rgb(210, 187, 174) 100%);
  color: #3A2A2E;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Anton", sans-serif;
  color: #6C4B53;
  letter-spacing: 0.02em;
}

a {
  color: #6C4B53;
}

a:hover {
  color: rgb(187.9918032787, 158.5081967213, 165.6557377049);
}

.bg-primary {
  background-color: #6C4B53 !important;
  color: white;
}
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6,
.bg-primary p,
.bg-primary span,
.bg-primary a {
  color: white;
}

.text-primary {
  color: #6C4B53 !important;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
  color: white !important;
}

.loc-navbar-top {
  background: #6C4B53;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
  position: sticky;
  top: 0;
  z-index: 1030;
}
.loc-navbar-top .navbar-brand img {
  height: 44px;
}
.loc-navbar-top .nav-icon-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
}
.loc-navbar-top .nav-icon-link:hover, .loc-navbar-top .nav-icon-link.active {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}
.loc-navbar-top .nav-icon-link .nav-label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
}
.loc-navbar-top .loc-album-select {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 0.375rem;
  padding: 0.5rem 1.5rem 0.5rem 1rem;
  font-size: 0.9rem;
  min-width: 180px;
  transition: border-color 0.15s ease;
}
.loc-navbar-top .loc-album-select:focus {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
  outline: none;
}
.loc-navbar-top .loc-album-select option {
  color: #3A2A2E;
  background: white;
}

.loc-navbar-lower {
  background: transparent;
  padding: 1rem 0;
}
.loc-navbar-lower .nav-pills {
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.loc-navbar-lower .nav-link {
  background: white;
  color: #3A2A2E;
  border-radius: 0.75rem;
  padding: 0.5rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(108, 75, 83, 0.08);
  transition: all 0.25s ease;
  border: 1px solid transparent;
}
.loc-navbar-lower .nav-link i {
  margin-right: 0.25rem;
}
.loc-navbar-lower .nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 75, 83, 0.18);
  color: #6C4B53;
  border-color: rgba(108, 75, 83, 0.15);
}
.loc-navbar-lower .nav-link.active {
  background: #6C4B53;
  color: white;
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
}

.loc-mobile-nav {
  background: #6C4B53;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.loc-mobile-nav .navbar-brand img {
  height: 40px;
}
.loc-mobile-nav .loc-hamburger {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.5rem;
}
.loc-mobile-nav .loc-mobile-menu {
  padding-top: 1rem;
}
.loc-mobile-nav .loc-mobile-menu .loc-mobile-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
  text-decoration: none;
  padding: 1rem 0.5rem;
  font-size: 1.05rem;
  border-radius: 0.375rem;
  transition: background 0.15s ease;
}
.loc-mobile-nav .loc-mobile-menu .loc-mobile-link i {
  width: 24px;
  text-align: center;
  opacity: 0.8;
}
.loc-mobile-nav .loc-mobile-menu .loc-mobile-link:hover {
  background: rgba(255, 255, 255, 0.1);
}
.loc-mobile-nav .loc-mobile-menu .loc-mobile-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 1rem 0;
}
.loc-mobile-nav .loc-mobile-menu .loc-mobile-album-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  width: 100%;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}
.loc-mobile-nav .loc-mobile-menu .loc-mobile-album-select option {
  color: #3A2A2E;
  background: white;
}

.loc-page-container {
  padding: 2rem 1rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-grow: 1;
}

.loc-page-header {
  margin-bottom: 3rem;
}
.loc-page-header h1,
.loc-page-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 0.5rem;
}
.loc-page-header .loc-subtitle {
  color: #8C7178;
  font-size: 1rem;
}

.loc-section {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(108, 75, 83, 0.08);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(108, 75, 83, 0.06);
  transition: box-shadow 0.25s ease;
}
.loc-section:hover {
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
}
.loc-section .loc-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(108, 75, 83, 0.08);
}
.loc-section .loc-section-header h3,
.loc-section .loc-section-header h4 {
  margin: 0;
  font-size: 1.2rem;
}
.loc-section .loc-section-header .loc-section-badge {
  background: #FCF3EE;
  color: #6C4B53;
  font-size: 0.8rem;
  padding: 0.25rem 1rem;
  border-radius: 50%;
  font-weight: 600;
}

.btn {
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.25s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: #6C4B53;
  color: white;
}
.btn-primary:hover {
  background: rgb(83.9213114754, 58.2786885246, 64.4950819672);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
}

.btn-accent {
  background: #C7956D;
  color: white;
}
.btn-accent:hover {
  background: rgb(187.6891089109, 127.5900990099, 79.5108910891);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
}

.btn-outline-primary {
  background: transparent;
  color: #6C4B53;
  border: 2px solid #6C4B53;
}
.btn-outline-primary:hover {
  background: #6C4B53;
  color: white;
}

.btn-success {
  background: #5D8A66;
  color: white;
}
.btn-success:hover {
  background: rgb(76.574025974, 113.625974026, 83.9844155844);
  transform: translateY(-1px);
}

.btn-danger {
  background: #B85450;
  color: white;
}
.btn-danger:hover {
  background: rgb(158.7804878049, 68.0487804878, 64.4195121951);
}

.btn-ghost {
  background: transparent;
  color: #8C7178;
  padding: 0.5rem;
}
.btn-ghost:hover {
  color: #6C4B53;
  background: rgba(108, 75, 83, 0.06);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.form-control,
.form-select,
select {
  border: 1.5px solid rgba(108, 75, 83, 0.15);
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: white;
}
.form-control:focus,
.form-select:focus,
select:focus {
  border-color: #6C4B53;
  box-shadow: 0 0 0 3px rgba(108, 75, 83, 0.1);
}

.form-label {
  font-weight: 600;
  color: #3A2A2E;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.loc-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.loc-album-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(108, 75, 83, 0.08);
  border: 2px solid transparent;
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
}
.loc-album-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(108, 75, 83, 0.18);
  border-color: rgba(108, 75, 83, 0.2);
}
.loc-album-card.loc-album-card--active {
  border-color: #6C4B53;
  box-shadow: 0 0 0 3px rgba(108, 75, 83, 0.15), 0 4px 16px rgba(108, 75, 83, 0.12);
}
.loc-album-card .loc-album-card__banner {
  height: 8px;
  background: linear-gradient(90deg, #6C4B53, #C7956D);
}
.loc-album-card .loc-album-card__body {
  padding: 2rem 1.5rem;
}
.loc-album-card .loc-album-card__name {
  font-family: "Anton", sans-serif;
  font-size: 1.4rem;
  color: #6C4B53;
  margin-bottom: 0.5rem;
}
.loc-album-card .loc-album-card__meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  color: #8C7178;
  font-size: 0.85rem;
}
.loc-album-card .loc-album-card__meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.loc-album-card .loc-album-card__progress {
  height: 6px;
  background: rgba(108, 75, 83, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.loc-album-card .loc-album-card__progress .loc-album-card__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6C4B53, #C7956D);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.loc-album-card .loc-album-card__progress-label {
  font-size: 0.8rem;
  color: #8C7178;
  font-weight: 500;
}
.loc-album-card .loc-album-card__owner-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #F5E6D3;
  color: #C7956D;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}

.loc-album-card--create {
  border: 2px dashed rgba(108, 75, 83, 0.25);
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-decoration: none;
}
.loc-album-card--create:hover {
  border-color: #6C4B53;
  background: white;
}
.loc-album-card--create:hover .loc-create-icon {
  transform: scale(1.1);
}
.loc-album-card--create .loc-create-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FCF3EE;
  color: #6C4B53;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.25s ease;
}
.loc-album-card--create .loc-create-label {
  font-weight: 600;
  color: #6C4B53;
  font-size: 1rem;
}
.loc-album-card--create .loc-create-hint {
  font-size: 0.85rem;
  color: #8C7178;
  margin-top: 0.25rem;
}

.loc-empty-state {
  text-align: center;
  padding: 4rem 2rem;
}
.loc-empty-state .loc-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #FCF3EE;
  color: #6C4B53;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 2rem;
}
.loc-empty-state h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.loc-empty-state p {
  color: #8C7178;
  max-width: 400px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.loc-empty-state .loc-empty-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.loc-countdown-banner {
  background: linear-gradient(90deg, #6C4B53, rgb(77.9016393443, 54.0983606557, 59.868852459));
  color: white;
  text-align: center;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  font-weight: 500;
}
.loc-countdown-banner strong {
  font-weight: 700;
}

@keyframes loc-cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes loc-categorySlide {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes loc-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
@keyframes loc-rareGlow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(199, 149, 109, 0.15), 0 2px 8px rgba(108, 75, 83, 0.08);
  }
  50% {
    box-shadow: 0 0 20px rgba(199, 149, 109, 0.3), 0 4px 16px rgba(108, 75, 83, 0.12);
  }
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 3rem;
}

.card-grid .card {
  width: auto;
  padding: 0;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(108, 75, 83, 0.08);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
  background: white;
  overflow: hidden;
  border: 2px solid rgba(108, 75, 83, 0.08);
  position: relative;
  opacity: 0;
  animation: loc-cardFadeIn 0.5s ease both;
}
.card-grid .card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 24px rgba(108, 75, 83, 0.18);
}

.card-grid .rare {
  background: linear-gradient(135deg, #6C4B53, rgb(71.8819672131, 49.9180327869, 55.2426229508));
  color: white;
  border-color: #5c3f47;
  animation: loc-cardFadeIn 0.5s ease both;
}
.card-grid .rare:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 20px rgba(199, 149, 109, 0.3), 0 4px 16px rgba(108, 75, 83, 0.12);
}

.card-grid .rare::before {
  content: "★";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #D4A843;
  color: #5C4A00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(212, 168, 67, 0.4);
}

.rare .card-name,
.rare .card-description p {
  color: white;
}

.card-grid .common {
  background: rgb(228.1967213115, 216.4032786885, 219.262295082);
  border-color: rgba(108, 75, 83, 0.12);
}

.card-grid .card--owned .card-grid-img {
  position: relative;
}

.card-grid .card--unowned {
  background: linear-gradient(135deg, #f5f3f3, #ece8e8);
  border-color: rgba(108, 75, 83, 0.05);
}
.card-grid .card--unowned:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
}
.card-grid .card--unowned .card-name {
  color: #8C7178;
}

.card-grid .card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.card-grid .card--owned:hover img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: loc-shimmer 1.5s ease infinite;
}

.card-grid .card .card-info {
  padding: 0.5rem 1rem 1rem;
}

.card-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #6C4B53;
  margin-bottom: 0.25rem;
}

.card-description p {
  font-size: 0.82rem;
  color: #8C7178;
  margin-bottom: 0;
  line-height: 1.4;
}

.card-rarity-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 0.375rem;
  margin-bottom: 0.25rem;
}
.card-rarity-badge--rare {
  background: #D4A843;
  color: #5C4A00;
}
.card-rarity-badge--common {
  background: rgb(228.1967213115, 216.4032786885, 219.262295082);
  color: #6C4B53;
}
.card-rarity-badge--normal {
  background: #F5E6D3;
  color: #C7956D;
}

.card-owned-check {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #5D8A66;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(93, 138, 102, 0.35);
}

.inverted {
  background: linear-gradient(135deg, #6C4B53, rgb(83.9213114754, 58.2786885246, 64.4950819672));
  color: white;
  display: inline-block;
  padding: 0.5rem 2rem 0.5rem 1.5rem;
  border-radius: 0.375rem 1.5rem 1.5rem 0.375rem;
  font-size: 1rem;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 10px rgba(108, 75, 83, 0.2);
  position: relative;
  animation: loc-categorySlide 0.5s ease both;
}
.inverted::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #C7956D;
  box-shadow: 0 2px 4px rgba(199, 149, 109, 0.3);
}

.loc-category-progress {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  vertical-align: middle;
}
.loc-category-progress .loc-category-progress__bar {
  width: 80px;
  height: 6px;
  border-radius: 3px;
  background: rgba(108, 75, 83, 0.15);
  overflow: hidden;
}
.loc-category-progress .loc-category-progress__bar .loc-category-progress__fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #C7956D, #D4A843);
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.loc-category-progress .loc-category-progress__text {
  font-size: 0.75rem;
  color: #8C7178;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}

.loc-collection-progress {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(108, 75, 83, 0.08);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(108, 75, 83, 0.06);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.loc-collection-progress .loc-collection-progress__info {
  flex: 1;
  min-width: 200px;
}
.loc-collection-progress .loc-collection-progress__info h4 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}
.loc-collection-progress .loc-collection-progress__info p {
  margin: 0;
  font-size: 0.85rem;
  color: #8C7178;
}
.loc-collection-progress .loc-collection-progress__bar-wrap {
  flex: 2;
  min-width: 200px;
}
.loc-collection-progress .loc-collection-progress__bar-wrap .loc-collection-progress__bar {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: rgba(108, 75, 83, 0.1);
  overflow: hidden;
}
.loc-collection-progress .loc-collection-progress__bar-wrap .loc-collection-progress__bar .loc-collection-progress__fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, #C7956D, #D4A843, #5D8A66);
  background-size: 200% 100%;
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.loc-collection-progress .loc-collection-progress__bar-wrap .loc-collection-progress__text {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #8C7178;
  text-align: right;
  font-weight: 600;
}

.duplicates-sidebar {
  position: fixed;
  top: 100px;
  right: 2rem;
  width: 260px;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
  border: 1px solid rgba(108, 75, 83, 0.08);
  overflow: hidden;
  z-index: 1000;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}
.duplicates-sidebar .card-header {
  background: #6C4B53;
  border-bottom: none;
  padding: 1rem 1.5rem;
}
.duplicates-sidebar .card-header h5 {
  margin: 0;
  font-size: 1rem;
}
.duplicates-sidebar .card-body {
  padding: 1rem;
}
.duplicates-sidebar .list-group-item {
  border-color: rgba(108, 75, 83, 0.08);
  font-size: 0.9rem;
}

.loc-admin-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.loc-admin-nav .loc-admin-nav__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(108, 75, 83, 0.08);
  color: #3A2A2E;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}
.loc-admin-nav .loc-admin-nav__link i {
  font-size: 1.1rem;
  color: #8C7178;
  transition: color 0.15s ease;
}
.loc-admin-nav .loc-admin-nav__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
  border-color: rgba(108, 75, 83, 0.1);
}
.loc-admin-nav .loc-admin-nav__link:hover i {
  color: #6C4B53;
}
.loc-admin-nav .loc-admin-nav__link.active {
  background: #6C4B53;
  color: white;
  border-color: #6C4B53;
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
}
.loc-admin-nav .loc-admin-nav__link.active i {
  color: white;
}

@media (max-width: 767px) {
  .loc-admin-nav {
    flex-direction: column;
  }
  .loc-admin-nav .loc-admin-nav__link {
    width: 100%;
  }
}
.loc-admin-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(108, 75, 83, 0.08);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(108, 75, 83, 0.06);
}
.loc-admin-card .loc-admin-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.loc-admin-card .loc-admin-card__header .loc-admin-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  background: #FCF3EE;
  color: #6C4B53;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.loc-admin-card .loc-admin-card__header h4,
.loc-admin-card .loc-admin-card__header h5 {
  margin: 0;
  font-size: 1.1rem;
}
.loc-admin-card .loc-admin-card__header p {
  margin: 0;
  font-size: 0.85rem;
  color: #8C7178;
}

.loc-admin-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.loc-admin-card-item {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(108, 75, 83, 0.08);
  overflow: hidden;
  border: 1px solid rgba(108, 75, 83, 0.08);
  transition: all 0.25s ease;
}
.loc-admin-card-item:hover {
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
}
.loc-admin-card-item .loc-admin-card-item__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #FCF3EE;
}
.loc-admin-card-item .loc-admin-card-item__body {
  padding: 1rem;
}
.loc-admin-card-item .loc-admin-card-item__body h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.loc-admin-card-item .loc-admin-card-item__body p {
  font-size: 0.85rem;
  color: #8C7178;
  margin-bottom: 1rem;
}
.loc-admin-card-item .loc-admin-card-item__actions {
  display: flex;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
}
.loc-admin-card-item .loc-rarity-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 0.375rem;
  margin-bottom: 0.25rem;
}
.loc-admin-card-item .loc-rarity-badge--common {
  background: rgb(228.1967213115, 216.4032786885, 219.262295082);
  color: #6C4B53;
}
.loc-admin-card-item .loc-rarity-badge--normal {
  background: #F5E6D3;
  color: #C7956D;
}
.loc-admin-card-item .loc-rarity-badge--rare {
  background: #6C4B53;
  color: white;
}

.loc-user-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(108, 75, 83, 0.08);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(108, 75, 83, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  transition: box-shadow 0.25s ease;
}
.loc-user-card:hover {
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
}
.loc-user-card .loc-user-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FCF3EE;
  color: #6C4B53;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}
.loc-user-card .loc-user-card__info {
  flex: 1;
  min-width: 150px;
}
.loc-user-card .loc-user-card__info h5 {
  font-size: 1rem;
  margin-bottom: 0;
}
.loc-user-card .loc-user-card__info p {
  font-size: 0.85rem;
  color: #8C7178;
  margin-bottom: 0;
}
.loc-user-card .loc-user-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.loc-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.loc-table th {
  background: #FCF3EE;
  color: #6C4B53;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1rem 1.5rem;
  border-bottom: 2px solid rgba(108, 75, 83, 0.1);
}
.loc-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(108, 75, 83, 0.06);
  font-size: 0.95rem;
  vertical-align: middle;
}
.loc-table tr:last-child td {
  border-bottom: none;
}
.loc-table tr:hover td {
  background: rgba(108, 75, 83, 0.02);
}

.alert {
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.alert-info {
  background: #6C4B53;
  color: #f9f9f9;
}

.alert-success {
  background: rgb(204.1012987013, 220.6987012987, 207.4207792208);
  color: rgb(62.2012987013, 92.2987012987, 68.2207792208);
}

.alert-warning {
  background: rgb(245.2272727273, 235.2272727273, 212.2727272727);
  color: rgb(123.2987012987, 94.4415584416, 28.2012987013);
}

.alert-danger {
  background: rgb(231.1024390244, 197.443902439, 196.0975609756);
  color: rgb(133.3841463415, 57.1646341463, 54.1158536585);
}

.loc-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .loc-profile-grid {
    grid-template-columns: 1fr;
  }
}

.loc-card-preview {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
  padding: 2rem;
  text-align: center;
  position: sticky;
  top: 100px;
}
.loc-card-preview img {
  width: 100%;
  max-width: 250px;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.card-header:first-child {
  border-radius: 0.75rem 0.75rem 0 0;
}

.select2-results__option .badge,
.select2-selection__rendered .badge {
  margin-left: 10px;
  background-color: #D4A843;
  color: #212529;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.loc-trade-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.loc-trade-progress .loc-trade-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.loc-trade-progress .loc-trade-progress__step small {
  font-size: 0.75rem;
  color: #8C7178;
  font-weight: 600;
}
.loc-trade-progress .loc-trade-progress__step.active .loc-trade-progress__dot {
  background: #6C4B53;
  color: white;
  box-shadow: 0 0 0 4px rgba(108, 75, 83, 0.15);
}
.loc-trade-progress .loc-trade-progress__step.active small {
  color: #6C4B53;
}
.loc-trade-progress .loc-trade-progress__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FCF3EE;
  color: #8C7178;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.loc-trade-progress .loc-trade-progress__line {
  width: 48px;
  height: 2px;
  background: rgba(108, 75, 83, 0.15);
  margin: 0 0.5rem;
  margin-bottom: 18px;
}

.loc-trade-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(108, 75, 83, 0.08);
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(108, 75, 83, 0.06);
  transition: box-shadow 0.25s ease;
}
.loc-trade-card:hover {
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
}
.loc-trade-card .loc-trade-card__header {
  background: linear-gradient(135deg, #6C4B53, rgb(83.9213114754, 58.2786885246, 64.4950819672));
  color: white;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.loc-trade-card .loc-trade-card__header i {
  font-size: 1.3rem;
  opacity: 0.85;
}
.loc-trade-card .loc-trade-card__header h5 {
  margin: 0;
  color: white;
  font-size: 1rem;
}
.loc-trade-card .loc-trade-card__body {
  padding: 1.5rem;
}
.loc-trade-card .loc-trade-card__hint {
  font-size: 0.8rem;
  color: #8C7178;
  margin-top: 1rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.loc-trade-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.loc-trade-item {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(108, 75, 83, 0.08);
  overflow: hidden;
  border: 1px solid rgba(108, 75, 83, 0.06);
  transition: box-shadow 0.25s ease;
}
.loc-trade-item:hover {
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
}
.loc-trade-item .loc-trade-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(108, 75, 83, 0.06);
}
.loc-trade-item .loc-trade-item__user {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.loc-trade-item .loc-trade-item__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C4B53, rgb(83.9213114754, 58.2786885246, 64.4950819672));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.loc-trade-item .loc-trade-item__body {
  padding: 1.5rem;
}
.loc-trade-item .loc-trade-item__cards {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
@media (max-width: 576px) {
  .loc-trade-item .loc-trade-item__cards {
    flex-direction: column;
  }
}
.loc-trade-item .loc-trade-item__give,
.loc-trade-item .loc-trade-item__get {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.loc-trade-item .loc-trade-item__icon {
  color: #C7956D;
  font-size: 1.2rem;
}
@media (max-width: 576px) {
  .loc-trade-item .loc-trade-item__icon {
    transform: rotate(90deg);
  }
}
.loc-trade-item .loc-trade-item__actions {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem 1rem;
  justify-content: flex-end;
  border-top: 1px solid rgba(108, 75, 83, 0.04);
}

.loc-trade-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 1rem;
  border-radius: 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.loc-trade-chip--give {
  background: rgb(235.5182926829, 208.0792682927, 206.9817073171);
  color: rgb(151.5243902439, 64.9390243902, 61.4756097561);
}
.loc-trade-chip--get {
  background: rgb(204.1012987013, 220.6987012987, 207.4207792208);
  color: rgb(72.4675324675, 107.5324675325, 79.4805194805);
}

.modal-content {
  background: white;
  border-radius: 1rem;
  border: none;
  box-shadow: 0 8px 32px rgba(108, 75, 83, 0.16);
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid rgba(108, 75, 83, 0.08);
  padding: 1.5rem 2rem;
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  border-top: 1px solid rgba(108, 75, 83, 0.08);
  padding: 1rem 2rem;
}

#cropperModal .modal-dialog {
  max-width: 90%;
  margin: auto;
}

#cropperModal .modal-body {
  position: relative;
  padding: 0;
  height: 70vh;
  overflow: hidden;
}

#cropperModal .loc-cropper-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

#cropperModal #cropperImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#cropperModal .modal-header,
#cropperModal .modal-footer {
  position: relative;
  z-index: 2;
}

.loc-footer {
  background: #6C4B53;
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 0;
  margin-top: auto;
  font-size: 0.9rem;
}
.loc-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.15s ease;
}
.loc-footer a:hover {
  color: white;
}

.loc-set-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(108, 75, 83, 0.08);
  overflow: hidden;
  text-align: center;
  transition: all 0.25s ease;
  border: 1px solid rgba(108, 75, 83, 0.06);
  height: 100%;
}
.loc-set-card:hover {
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
  transform: translateY(-2px);
}
.loc-set-card .loc-set-card__header {
  padding: 1.5rem;
  color: white;
}
.loc-set-card .loc-set-card__header--premium {
  background: linear-gradient(135deg, #D4A843, rgb(185.5584415584, 142.1298701299, 42.4415584416));
}
.loc-set-card .loc-set-card__header--normal {
  background: linear-gradient(135deg, #D2BBAD, rgb(191.9291338583, 159.6929133858, 140.0708661417));
}
.loc-set-card .loc-set-card__header--earn {
  background: linear-gradient(135deg, #6C4B53, rgb(77.9016393443, 54.0983606557, 59.868852459));
}
.loc-set-card .loc-set-card__header h5 {
  color: white;
  margin: 0;
  font-size: 1.1rem;
}
.loc-set-card .loc-set-card__body {
  padding: 2rem;
}
.loc-set-card .loc-set-card__body p {
  color: #8C7178;
  margin-bottom: 1.5rem;
}

@keyframes loc-rowSlideIn {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.loc-leaderboard-table {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(108, 75, 83, 0.08);
  overflow: hidden;
}
.loc-leaderboard-table .loc-rank-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.loc-leaderboard-table .loc-rank-badge--1 {
  background: linear-gradient(135deg, #FFD700, #FFC107);
  color: #5C4A00;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.35);
}
.loc-leaderboard-table .loc-rank-badge--2 {
  background: linear-gradient(135deg, #E0E0E0, #C0C0C0);
  color: #444;
  box-shadow: 0 2px 8px rgba(192, 192, 192, 0.35);
}
.loc-leaderboard-table .loc-rank-badge--3 {
  background: linear-gradient(135deg, #D4956B, #CD7F32);
  color: #3A2100;
  box-shadow: 0 2px 8px rgba(205, 127, 50, 0.35);
}
.loc-leaderboard-table .loc-rank-badge--default {
  background: #FCF3EE;
  color: #6C4B53;
}

.loc-leaderboard-row {
  animation: loc-rowSlideIn 0.4s ease both;
  transition: background 0.15s ease;
}
.loc-leaderboard-row:hover {
  background: rgba(108, 75, 83, 0.03);
}
.loc-leaderboard-row--self {
  background: rgba(199, 149, 109, 0.08);
}
.loc-leaderboard-row--self:hover {
  background: rgba(199, 149, 109, 0.12);
}

.loc-leaderboard-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(108, 75, 83, 0.1);
}
.loc-leaderboard-avatar--placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FCF3EE;
  color: #8C7178;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 2px solid rgba(108, 75, 83, 0.08);
}

.loc-create-album {
  max-width: 500px;
  margin: 3rem auto;
  text-align: center;
}
.loc-create-album .loc-create-album__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #FCF3EE;
  color: #6C4B53;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 2rem;
}
.loc-create-album .loc-section {
  text-align: left;
}

.border-radius {
  border-radius: 0.75rem;
}

.loc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}
.loc-badge--primary {
  background: #FCF3EE;
  color: #6C4B53;
}
.loc-badge--accent {
  background: #F5E6D3;
  color: #C7956D;
}
.loc-badge--success {
  background: rgb(204.1012987013, 220.6987012987, 207.4207792208);
  color: #5D8A66;
}
.loc-badge--warning {
  background: rgb(245.2272727273, 235.2272727273, 212.2727272727);
  color: rgb(164.8051948052, 126.2337662338, 37.6948051948);
}

.loc-divider {
  height: 1px;
  background: rgba(108, 75, 83, 0.08);
  margin: 1.5rem 0;
}

.nav-tabs .nav-link {
  color: #3A2A2E;
}

.list-group-item.active,
.nav-tabs .nav-link.active {
  background-color: #6C4B53;
  color: #FCF3EE;
  border-color: #6C4B53;
}

.loc-theme-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.loc-theme-card {
  border: 2px solid rgba(108, 75, 83, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  background: white;
}
.loc-theme-card:hover {
  border-color: rgba(108, 75, 83, 0.3);
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
  transform: translateY(-2px);
}
.loc-theme-card--active {
  border-color: #6C4B53;
  box-shadow: 0 0 0 3px rgba(108, 75, 83, 0.15);
}
.loc-theme-card__preview {
  height: 120px;
  position: relative;
  overflow: hidden;
}
.loc-theme-card__preview--standard {
  background: linear-gradient(135deg, rgb(255, 251, 250), rgb(252, 243, 238), rgb(210, 187, 174));
}
.loc-theme-card__preview--standard .loc-theme-card__nav {
  background: #6C4B53;
}
.loc-theme-card__preview--standard .loc-theme-card__block {
  background: rgba(108, 75, 83, 0.25);
}
.loc-theme-card__preview--wedding {
  background: linear-gradient(135deg, #FFFBFC, #FFF0F3, #F2E4E0);
}
.loc-theme-card__preview--wedding .loc-theme-card__nav {
  background: #8C5E6B;
}
.loc-theme-card__preview--wedding .loc-theme-card__block {
  background: rgba(201, 168, 76, 0.3);
}
.loc-theme-card__preview--winter {
  background: linear-gradient(135deg, #F4F7FB, #E8EEF6, #C8D6E5);
}
.loc-theme-card__preview--winter .loc-theme-card__nav {
  background: #3B5998;
}
.loc-theme-card__preview--winter .loc-theme-card__block {
  background: rgba(112, 183, 217, 0.35);
}
.loc-theme-card__nav {
  height: 12px;
  width: 100%;
}
.loc-theme-card__content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.loc-theme-card__block {
  height: 24px;
  border-radius: 0.375rem;
}
.loc-theme-card__block--sm {
  width: 60%;
  height: 16px;
}
.loc-theme-card__info {
  padding: 1rem 1.5rem;
}
.loc-theme-card__info h6 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}
.loc-theme-card__info p {
  margin: 0;
  font-size: 0.8rem;
  color: #8C7178;
}
.loc-theme-card__badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #6C4B53;
  color: white;
  font-size: 0.7rem;
  padding: 2px 0.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
}

.loc-lazy {
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.card-grid .card-grid-img {
  background: linear-gradient(135deg, #FCF3EE, rgba(210, 187, 173, 0.2));
  min-height: 180px;
  overflow: hidden;
}

.loc-achievements {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(108, 75, 83, 0.08);
}
.loc-achievements__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.loc-achievements__header h4 {
  margin: 0;
  color: #6C4B53;
}
.loc-achievements__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.loc-achievement {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(108, 75, 83, 0.1);
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.loc-achievement--earned {
  background: linear-gradient(135deg, #F5E6D3, rgba(212, 168, 67, 0.12));
  border-color: rgba(199, 149, 109, 0.3);
}
.loc-achievement--earned .loc-achievement__icon {
  color: #C7956D;
}
.loc-achievement--locked {
  background: rgba(252, 243, 238, 0.5);
  opacity: 0.55;
}
.loc-achievement--locked .loc-achievement__icon {
  color: #8C7178;
}
.loc-achievement--earned:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
}
.loc-achievement__icon {
  font-size: 1.4rem;
  min-width: 28px;
  text-align: center;
}
.loc-achievement__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.loc-achievement__name {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #3A2A2E;
}
.loc-achievement__pts {
  font-size: 0.7rem;
  color: #8C7178;
}
.loc-achievement__lock {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  font-size: 0.65rem;
  color: #8C7178;
}

.loc-flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  justify-items: center;
  perspective: 1200px;
  padding: 1.5rem 0 2rem;
}

.loc-flip-card {
  width: 200px;
  height: 310px;
  cursor: pointer;
  perspective: 800px;
}
.loc-flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}
.loc-flip-card--flipped .loc-flip-card__inner {
  transform: rotateY(180deg);
}
.loc-flip-card__front, .loc-flip-card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(108, 75, 83, 0.12);
}
.loc-flip-card__front {
  background: linear-gradient(135deg, #6C4B53, rgb(91.8, 63.75, 70.55));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.loc-flip-card__back-design {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.04) 10px, rgba(255, 255, 255, 0.04) 20px);
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
}
.loc-flip-card__logo {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.loc-flip-card__tap-hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.loc-flip-card__back {
  transform: rotateY(180deg);
  background: white;
  display: flex;
  flex-direction: column;
}
.loc-flip-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.loc-flip-card__info {
  padding: 0.5rem 1rem;
  flex: 1;
}
.loc-flip-card__name {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  color: #3A2A2E;
}
.loc-flip-card__desc {
  font-size: 0.8rem;
  color: #8C7178;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.loc-flip-card__badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 2px 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 3;
}
.loc-flip-card__badge--dup {
  background: rgba(212, 168, 67, 0.9);
  color: white;
}
.loc-flip-card__badge--rare {
  background: rgba(255, 215, 0, 0.9);
  color: #3A2A2E;
  top: auto;
  bottom: 0.5rem;
  animation: loc-flipRareGlow 2s infinite alternate;
}
.loc-flip-card--rare .loc-flip-card__back {
  border: 2px solid gold;
}
.loc-flip-card--rare.loc-flip-card--flipped .loc-flip-card__back {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.2);
}

@keyframes loc-flipRareGlow {
  from {
    box-shadow: 0 0 4px rgba(255, 215, 0, 0.6);
  }
  to {
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.9);
  }
}
.loc-trade-tabs {
  gap: 0.25rem;
  flex-wrap: wrap;
}
.loc-trade-tabs .nav-link {
  color: #3A2A2E;
  background: rgba(252, 243, 238, 0.5);
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.15s ease;
}
.loc-trade-tabs .nav-link:hover {
  background: rgba(108, 75, 83, 0.08);
}
.loc-trade-tabs .nav-link.active {
  background: #6C4B53;
  color: white;
}
.loc-trade-tabs .nav-link .badge {
  font-size: 0.65rem;
  vertical-align: middle;
}

.loc-trade-chat {
  margin-top: 0.5rem;
  border-top: 1px solid rgba(108, 75, 83, 0.08);
  padding-top: 0.5rem;
}
.loc-trade-chat__toggle {
  background: none;
  border: none;
  color: #6C4B53;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  transition: background 0.15s ease;
}
.loc-trade-chat__toggle:hover {
  background: rgba(108, 75, 83, 0.06);
}
.loc-trade-chat__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #C7956D;
  color: white;
  font-size: 0.65rem;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  padding: 0 4px;
  margin-left: 4px;
}
.loc-trade-chat__count:empty {
  display: none;
}
.loc-trade-chat__body {
  margin-top: 0.5rem;
  background: rgba(252, 243, 238, 0.5);
  border-radius: 0.75rem;
  padding: 0.5rem;
}
.loc-trade-chat__messages {
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  padding-right: 0.25rem;
}
.loc-trade-chat__msg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  max-width: 80%;
}
.loc-trade-chat__msg--mine {
  align-self: flex-end;
  background: rgba(108, 75, 83, 0.08);
}
.loc-trade-chat__msg-sender {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6C4B53;
}
.loc-trade-chat__msg-text {
  font-size: 0.85rem;
  color: #3A2A2E;
  word-break: break-word;
}
.loc-trade-chat__msg-time {
  font-size: 0.65rem;
  color: #8C7178;
  align-self: flex-end;
}
.loc-trade-chat__input {
  display: flex;
  gap: 0.25rem;
}
.loc-trade-chat__input .form-control {
  border-radius: 0.375rem;
  font-size: 0.85rem;
}
.loc-trade-chat__input .btn {
  border-radius: 0.375rem;
}

.loc-notif-bell {
  position: relative;
  display: inline-flex;
}
.loc-notif-bell__badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #B85450;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.loc-notif-bell__badge--inline {
  position: static;
  margin-left: 0.5rem;
}

.loc-notif-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 340px;
  max-height: 420px;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 8px 32px rgba(108, 75, 83, 0.16);
  z-index: 9999;
  overflow: hidden;
}
.loc-notif-dropdown__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(108, 75, 83, 0.08);
}
.loc-notif-dropdown__header strong {
  font-size: 0.9rem;
}
.loc-notif-dropdown__header .btn-link {
  font-size: 0.75rem;
  text-decoration: none;
  color: #C7956D;
  padding: 0;
}
.loc-notif-dropdown__body {
  max-height: 360px;
  overflow-y: auto;
}

.loc-notif-item {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(108, 75, 83, 0.04);
  text-decoration: none;
  color: #3A2A2E;
  transition: background 0.15s ease;
}
.loc-notif-item:hover {
  background: rgba(252, 243, 238, 0.5);
}
.loc-notif-item--unread {
  background: rgba(245, 230, 211, 0.4);
}
.loc-notif-item--unread:hover {
  background: rgba(245, 230, 211, 0.7);
}
.loc-notif-item__icon {
  font-size: 1.1rem;
  color: #6C4B53;
  min-width: 24px;
  text-align: center;
  padding-top: 2px;
}
.loc-notif-item__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.loc-notif-item__content strong {
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.loc-notif-item__content small {
  font-size: 0.75rem;
  color: #8C7178;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.loc-notif-item__time {
  font-size: 0.65rem;
  color: #8C7178;
  margin-top: 2px;
}

@media (max-width: 576px) {
  .loc-page-container {
    padding: 1.5rem 1rem;
  }
  .loc-section {
    padding: 1.5rem;
  }
  .card-grid {
    gap: 1rem;
  }
  .loc-album-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 577px) and (max-width: 991px) {
  .loc-album-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
